/* =============================================
   DESIGN TOKENS — Deep Tropics
   ============================================= */
:root {
  --orange:         #f28731;
  --coral:          #e73957;
  --lime:           #75fa99;
  --teal-dark:      #01332b;
  --bg:             #07100d;
  --surface:        rgba(1, 51, 43, 0.6);
  --surface-solid:  #0d201a;
  --surface-hover:  rgba(1, 51, 43, 0.85);
  --text:           #ffffff;
  --text-muted:     rgba(255, 255, 255, 0.65);
  --text-dim:       rgba(255, 255, 255, 0.38);
  --gradient:       linear-gradient(135deg, #f28731 0%, #e73957 100%);
  --gradient-soft:  linear-gradient(135deg, rgba(242,135,49,0.12), rgba(231,57,87,0.12));
  --glow-orange:    0 0 24px rgba(242, 135, 49, 0.45);
  --glow-coral:     0 0 24px rgba(231, 57, 87, 0.45);
  --glow-lime:      0 0 24px rgba(117, 250, 153, 0.4);
  --glow-amber:     0 0 24px rgba(245, 200, 66, 0.4);
  --border:         rgba(255, 255, 255, 0.07);
  --border-accent:  rgba(242, 135, 49, 0.28);
  --radius:         12px;
  --radius-lg:      20px;
  --font-display:   'Syne', system-ui, sans-serif;
  --font-body:      'DM Sans', system-ui, sans-serif;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Fixed tropical background image */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('/assets/bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

/* background-attachment: fixed breaks on iOS — hide image on mobile, gradient overlay carries it */
@media (max-width: 768px) {
  body::before { display: none; }
}

/* Atmospheric gradient overlay — looks great even without bg.jpg */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 15% -5%,  rgba(242,135,49,0.11) 0%, transparent 65%),
    radial-gradient(ellipse 70% 45% at 85% 105%, rgba(231,57,87,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 50% 60%,  rgba(1,51,43,0.35)   0%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
}

/* =============================================
   NAVIGATION
   ============================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(135deg, rgba(242,135,49,0.97) 0%, rgba(231,57,87,0.97) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 2px 24px rgba(231,57,87,0.25), 0 1px 0 rgba(255,255,255,0.08) inset;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 6px var(--lime);
  animation: pulse-dot 2s ease-in-out infinite;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  transition: color 0.18s;
}
.nav-link:hover { color: #fff; text-decoration: none; }

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 5px 14px;
  transition: all 0.18s;
  white-space: nowrap;
}
.nav-btn:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
  text-decoration: none;
  border-color: rgba(255,255,255,0.5);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile[hidden] { display: none; }
.nav-mobile {
  background: rgba(0,0,0,0.18);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-mobile-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-mobile-link:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 600px) {
  .nav-center    { display: none; }
  .nav-link      { display: none; }
  .nav-hamburger { display: flex; }
}

/* =============================================
   SHARED LAYOUT UTILITIES
   ============================================= */
.container      { max-width: 860px;  margin: 0 auto; padding: 0 20px; }
.container--wide { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

a             { color: var(--lime); text-decoration: none; }
a:hover       { text-decoration: underline; }
strong        { font-weight: 600; }

/* =============================================
   KEYFRAMES
   ============================================= */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--glow-orange); }
  50%       { box-shadow: 0 0 40px rgba(242,135,49,0.65); }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:   0.01ms !important;
    transition-duration:  0.01ms !important;
    scroll-behavior:      auto   !important;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  padding: 40px 20px 36px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.04em;
}

.footer-disclaimer {
  color: var(--text-dim);
  font-size: 0.78rem;
  max-width: 480px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.18s;
}
.footer-links a:hover {
  color: var(--lime);
  text-decoration: none;
}

.footer-links span {
  color: var(--text-dim);
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.72rem;
  margin-top: 4px;
}

/* =============================================
   STATUS PAGE — Deep Tropics 2026
   ============================================= */

/* --- HERO ------------------------------------ */
.hero {
  min-height: 60dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 56px 20px 36px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(242,135,49,0.1) 0%, rgba(231,57,87,0.07) 40%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  animation: fade-up 0.6s ease both;
  backdrop-filter: blur(8px);
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  animation: fade-up 0.65s 0.1s ease both;
}

.hero-title-line1 {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-line2 {
  display: block;
  color: var(--text);
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 6px;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  max-width: 540px;
  margin: 14px auto 28px;
  line-height: 1.7;
  animation: fade-up 0.7s 0.2s ease both;
}

/* --- STATUS PILLS ---------------------------- */
.status-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  animation: fade-up 0.7s 0.3s ease both;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: box-shadow 0.25s;
}

.pill-label {
  font-weight: 400;
  opacity: 0.7;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 2px;
}

/* Status state variants */
.pill.status--low {
  background: rgba(117,250,153,0.12);
  border-color: rgba(117,250,153,0.3);
  color: var(--lime);
  box-shadow: 0 0 14px rgba(117,250,153,0.15);
}

.pill.status--medium {
  background: rgba(245,200,66,0.12);
  border-color: rgba(245,200,66,0.3);
  color: #f5c842;
  box-shadow: 0 0 14px rgba(245,200,66,0.15);
}

.pill.status--high {
  background: rgba(231,57,87,0.14);
  border-color: rgba(231,57,87,0.35);
  color: #ff6b87;
  box-shadow: 0 0 14px rgba(231,57,87,0.18);
}

.pill.status--canceled {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--text-muted);
}

.pill.status--neutral {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-muted);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
  flex-shrink: 0;
}

.pill-timestamp {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-dim);
  font-weight: 400;
  font-size: 0.75rem;
}

/* --- PRIMARY STATEMENT ----------------------- */
.statement-section {
  padding: 0 0 32px;
}

.statement-card {
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--glow-orange), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: glow-pulse 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.statement-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(242,135,49,0.07), transparent 70%);
  pointer-events: none;
}

.statement-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.statement-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.statement-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.statement-text strong {
  color: var(--text);
}

.statement-note {
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  opacity: 0.8;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px;
}

.statement-note strong {
  color: var(--text);
}

/* --- SIGNAL GRID ----------------------------- */
.signals-section {
  padding: 0 0 36px;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .signal-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Always 2x2 — used when grid is inside a narrow column */
.signal-grid--2col {
  grid-template-columns: repeat(2, 1fr) !important;
}

.signal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  cursor: default;
}

.signal-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  box-shadow: var(--glow-orange);
}

.signal-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.signal-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.signal-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.signal-value.status--low      { color: var(--lime); }
.signal-value.status--medium   { color: #f5c842; }
.signal-value.status--high     { color: #ff6b87; }
.signal-value.status--canceled { color: var(--text-dim); }
.signal-value.status--neutral  { color: var(--text-muted); }

/* --- TWO-COLUMN ROWS ------------------------- */
.two-col-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.two-col-row--60-40 {
  grid-template-columns: 3fr 2fr;
}

@media (max-width: 640px) {
  .two-col-row,
  .two-col-row--60-40 { grid-template-columns: 1fr; }
}

/* --- ABOUT DEEP TROPICS ---------------------- */
.about-section {
  padding: 0;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-card .section-heading { margin-bottom: 18px; }

.about-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- HOW THIS WORKS -------------------------- */
.how-section {
  padding: 0;
}

.how-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.how-card::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,135,49,0.06), transparent 70%);
  pointer-events: none;
}

.how-card .section-heading { margin-bottom: 18px; }

.how-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.how-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.how-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  color: #fff;
  margin-top: 1px;
}

.how-note {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(117,250,153,0.06);
  border: 1px solid rgba(117,250,153,0.15);
  border-radius: var(--radius);
  color: rgba(117,250,153,0.8);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* --- STATUS LEVELS --------------------------- */
.levels-section {
  padding: 0;
}

.levels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.level-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.level-indicator {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 5px;
  box-shadow: 0 0 8px currentColor;
}

.level-indicator.ind--low      { background: var(--lime);  color: var(--lime);  }
.level-indicator.ind--medium   { background: #f5c842;      color: #f5c842;      }
.level-indicator.ind--high     { background: #ff6b87;      color: #ff6b87;      }
.level-indicator.ind--canceled { background: #666;         color: #666; box-shadow: none; }

.level-body {}

.level-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.level-name.ind--low      { color: var(--lime); }
.level-name.ind--medium   { color: #f5c842; }
.level-name.ind--high     { color: #ff6b87; }
.level-name.ind--canceled { color: var(--text-muted); }

.level-desc {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

/* --- FAQ ------------------------------------- */
.faq-section {
  padding: 0 0 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

details.faq-item[open] {
  border-color: var(--border-accent);
  box-shadow: 0 0 16px rgba(242,135,49,0.1);
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.18s;
}

details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item[open] summary { color: var(--orange); }

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, background 0.2s;
}

.faq-toggle svg {
  width: 12px;
  height: 12px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s;
}

details.faq-item[open] .faq-toggle svg {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding-top: 18px;
}

/* --- DISCLAIMER ------------------------------ */
.disclaimer-section {
  padding: 0 0 40px;
}

.disclaimer-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.disclaimer-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.disclaimer-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-dim);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.disclaimer-text {
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.75;
}

.disclaimer-text a {
  color: var(--text-muted);
}

/* --- SECTION SPACING ------------------------- */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 32px;
}

/* =============================================
   LEGAL FILINGS PAGE
   ============================================= */

/* Hero variant — shorter than status hero */
.lf-hero {
  min-height: 45dvh;
  padding-top: 60px;
  padding-bottom: 40px;
}

/* Stats row — 3-column variant of signal-grid */
.lf-stats-section {
  padding: 0 0 56px;
}

.lf-stats-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 480px) {
  .lf-stats-grid { grid-template-columns: 1fr !important; }
}

/* Case grid */
.lf-cases-section {
  padding: 0 0 60px;
}

.lf-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .lf-case-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Case card */
.lf-case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 24px 24px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.2s;
}

.lf-case-card:hover {
  border-color: var(--border-accent);
  border-top-color: var(--orange);
  box-shadow: 0 4px 32px rgba(242,135,49,0.12);
  transform: translateY(-2px);
}

/* Header row: badge + type */
.lf-case-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lf-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(117,250,153,0.1);
  border: 1px solid rgba(117,250,153,0.25);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
}

.lf-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

.lf-case-type {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

/* Case title */
.lf-case-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.5vw, 1.08rem);
  line-height: 1.3;
  color: var(--text);
}

/* Metadata table */
.lf-case-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lf-meta-row {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.lf-meta-row dt {
  flex-shrink: 0;
  width: 80px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
  color: var(--text-dim);
  padding-top: 2px;
}

.lf-meta-row dd {
  color: var(--text-muted);
}

.lf-docket {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.lf-claim {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
}

/* Case summary */
.lf-case-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

/* Helper text */
.lf-case-helper {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* CTA button */
.lf-case-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 9px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  align-self: flex-start;
  margin-top: auto;
}

.lf-case-btn:hover {
  background: rgba(242,135,49,0.18);
  border-color: rgba(242,135,49,0.5);
  color: var(--text);
  text-decoration: none;
}

/* =============================================
   ERROR PAGES (403 / 404)
   ============================================= */
.error-section {
  min-height: 75dvh;
  display: flex;
  align-items: center;
  padding: 80px 20px 60px;
}

.error-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  animation: fade-up 0.6s ease both;
}

.error-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 20vw, 9rem);
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 40px rgba(242,135,49,0.3));
}

.error-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.error-message {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.error-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient);
  border-radius: 30px;
  padding: 11px 26px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--glow-orange);
  transition: opacity 0.2s, transform 0.2s;
}

.error-btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

.error-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: 30px;
  padding: 11px 26px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.error-btn-secondary:hover {
  border-color: rgba(242,135,49,0.5);
  color: var(--text);
  transform: translateY(-1px);
  text-decoration: none;
}

/* --- HERO COUNTDOWN -------------------------- */
.hero-countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.cd-num {
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cd-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-right: 6px;
}

.cd-away {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-left: 4px;
}
