/* ==========================================================================
   EXORNET — Clean, Ordered, Breathable Swiss-Line Design System
   Desktop-friendly & Mobile-considerate
   ========================================================================== */

:root {
  --bg: #060a14;
  --bg-subtle: #0b1120;
  --surface: rgba(13, 19, 34, 0.78);
  --surface-hover: rgba(17, 25, 44, 0.94);
  --surface-input: rgba(6, 10, 20, 0.75);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --grid-line: rgba(255, 255, 255, 0.028);

  --text: #f8fafc;
  --text-2: #94a3b8;
  --text-3: #64748b;

  --accent: #10b981;
  --accent-soft: rgba(16, 185, 129, 0.12);
  --accent-border: rgba(16, 185, 129, 0.36);
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.12);
  --rose: #f43f5e;
  --rose-soft: rgba(244, 63, 94, 0.12);

  --radius: 14px;
  --radius-sm: 10px;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg: #f8fafc;
  --bg-subtle: #f1f5f9;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-hover: #ffffff;
  --surface-input: #ffffff;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.18);
  --grid-line: rgba(15, 23, 42, 0.035);

  --text: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;
  --accent: #059669;
  --accent-soft: rgba(5, 150, 105, 0.1);
  --accent-border: rgba(5, 150, 105, 0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a { color: inherit; text-decoration: none; }

/* ── 1.2-Second Decoy Intro Overlay ────────────────────────────────────────── */
.decoy-splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}

.decoy-splash.dismissed {
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  pointer-events: none;
}

.decoy-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.decoy-shield {
  width: 68px;
  height: 68px;
  animation: shieldRise 0.55s var(--ease) both;
}

.decoy-wordmark {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  color: var(--text);
  animation: shieldRise 0.65s var(--ease) 0.08s both;
}

.decoy-tagline {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  animation: shieldRise 0.7s var(--ease) 0.14s both;
}

.decoy-bar {
  width: 140px;
  height: 2px;
  border-radius: 99px;
  background: var(--border-strong);
  overflow: hidden;
  margin-top: 0.35rem;
}

.decoy-bar-fill {
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform-origin: left center;
  animation: barFill 1.2s linear forwards;
}

@keyframes shieldRise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes barFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .decoy-shield, .decoy-wordmark, .decoy-tagline { animation: none; }
}

/* ── Page Container & Sticky Top Navigation ────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 10, 20, 0.8);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.85);
}

.nav-bar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.18s ease;
  white-space: nowrap;
}

.nav-item:hover, .nav-item.active { color: var(--text); }
.nav-item.active { color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.icon-btn:hover { border-color: var(--accent-border); color: var(--accent); }
.icon-btn svg { width: 17px; height: 17px; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* 16 Official Zimbabwe Languages Globe Dropdown */
.lang-picker { position: relative; }

.lang-trigger {
  height: 40px;
  padding: 0 0.72rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-trigger:hover { border-color: var(--accent-border); color: var(--accent); }

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 268px;
  max-height: 360px;
  border-radius: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 250;
}

[data-theme="light"] .lang-menu {
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.lang-menu.open { display: flex; flex-direction: column; animation: fadeInUp 0.18s var(--ease) both; }

.lang-menu-head {
  padding: 0.7rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}

.lang-menu-list {
  overflow-y: auto;
  padding: 0.35rem;
  display: grid;
  gap: 2px;
}

.lang-opt {
  width: 100%;
  text-align: left;
  padding: 0.52rem 0.72rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: background-color 0.15s ease;
}

.lang-opt:hover { background: var(--accent-soft); }
.lang-opt.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.lang-opt-main { font-size: 0.84rem; }
.lang-opt-sub { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-3); }
.lang-opt.active .lang-opt-sub { color: var(--accent); }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #04100b;
}

.btn-primary:hover {
  background: #14cc8f;
  border-color: #14cc8f;
  color: #04100b;
}

/* ── Home Hero & Ordered Sections ──────────────────────────────────────────── */
.section {
  padding: clamp(2.8rem, 6.5vw, 4.5rem) 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: gentlePulse 2.6s ease-in-out infinite;
}

@keyframes gentlePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* Top Reading Scroll Progress Hairline */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #34d399);
  z-index: 300;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* Subtle Scroll-Choreographed Entrances */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1), transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.reveal-left { transform: translateX(-24px); }
.reveal.reveal-right { transform: translateX(24px); }
.reveal.reveal-scale { transform: scale(0.94); }
.reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* Seamless Negative-Space EXORNET Brand Interlude (mix-blend-mode dissolve trick) */
.brand-interlude {
  position: relative;
  padding: clamp(2.2rem, 5vw, 3.8rem) 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border);
}

.brand-art-stage {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 8.5;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-composite: intersect;
}

.brand-cover-dark {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  mix-blend-mode: lighten;
  opacity: 0.92;
  will-change: transform;
}

.brand-cover-light {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

[data-theme="light"] .brand-cover-dark { display: none; }
[data-theme="light"] .brand-cover-light { display: flex; }

/* Ambient Parallax Background Emblem in Open Space */
.ambient-emblem {
  position: fixed;
  right: -70px;
  top: 42%;
  width: clamp(240px, 28vw, 390px);
  height: clamp(240px, 28vw, 390px);
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

[data-theme="light"] .ambient-emblem { opacity: 0.055; filter: invert(0.85); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
  .scroll-progress { display: none; }
}

/* Info, Beneficiaries & Video Showcase */
.info-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.info-tile {
  padding: 1.55rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.info-tile:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.info-tile h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.55rem 0 0.4rem;
}

.info-tile p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

.roadmap-note {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-2);
}

.video-shell {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-strong);
}

.video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #02050c;
}

.video-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #02050c;
}

.video-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.15rem;
  border-top: 1px solid var(--border);
}

.video-empty {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-poster-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: blur(2px);
}

.video-empty-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.play-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding-left: 3px;
}

.video-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* ── Full-Spread Borderless Hero Banner (Crisp Unblurred 2.5s Crossfade) ───── */
.hero-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: clamp(440px, 60vh, 560px);
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 4.8rem) 0 clamp(2.8rem, 5vw, 4rem);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-rotator {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 72%;
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 44%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 44%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.hero-skeleton {
  position: absolute;
  inset: 8% 4% 8% 18%;
  z-index: 4;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.6rem;
  padding: 1.75rem;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.hero-skeleton-line {
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-rotator.ready .hero-skeleton {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
  will-change: opacity;
}

.hero-rotator.ready .hero-slide.active {
  opacity: 0.78;
}

[data-theme="light"] .hero-rotator.ready .hero-slide.active {
  opacity: 0.65;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: none;
}

/* Readability Scrim — Keeps Hero Text 100% Crisp While Image Spreads Wide */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 30%, rgba(6, 10, 20, 0.82) 50%, rgba(6, 10, 20, 0.28) 76%, rgba(6, 10, 20, 0.45) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 12%, transparent 86%, var(--bg) 100%);
}

[data-theme="light"] .hero-scrim {
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 32%, rgba(248, 250, 252, 0.86) 54%, rgba(248, 250, 252, 0.34) 78%, rgba(248, 250, 252, 0.55) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 12%, transparent 86%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-copy {
  max-width: 570px;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.05rem;
}

.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--text-2);
  line-height: 1.68;
  margin-bottom: 1.85rem;
}

.cta-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.7rem;
}

.hero-caption-bar {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(6, 10, 20, 0.65);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.45s ease;
}

[data-theme="light"] .hero-caption-bar {
  background: rgba(255, 255, 255, 0.82);
}

.hero-caption-bar.ready { opacity: 1; }

.hero-caption-text {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.04em;
  color: var(--text-2);
  white-space: nowrap;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.hero-dot {
  width: 14px;
  height: 4px;
  border-radius: 99px;
  border: none;
  background: var(--border-strong);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s var(--ease), background-color 0.25s ease;
}

.hero-dot.active {
  width: 28px;
  background: var(--accent);
}

/* Evidence Band (Crisp unblurred, soft edge feather) */
.evidence-band {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-card {
  padding: 1.25rem 1.1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.45;
}

.evidence-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
  align-items: center;
}

.evidence-shot {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
}

.evidence-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.evidence-shot.loaded img { opacity: 0.92; }

/* Mobile Flutter-Style Bottom Navigation Dock (Mobile Only <= 680px) */
.mobile-dock {
  display: none;
}

/* Ordered 2x2 Hub Grid */
.section-head {
  margin-bottom: 1.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.hub-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.25s ease;
}

.hub-card:hover {
  border-color: var(--accent-border);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hub-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.hub-arrow {
  color: var(--text-3);
  font-size: 1.05rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.hub-card:hover .hub-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.hub-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.hub-desc {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* Ordered 4-Member Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.team-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.team-card.lead {
  border-color: var(--accent-border);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}

.team-card.lead .avatar {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.team-role {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.team-card.lead .team-role {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-border);
}

/* ── Demo Workspace Controls ───────────────────────────────────────────────── */
.seg-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.seg-btn {
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.seg-btn:hover { color: var(--text); }
.seg-btn.active { background: var(--accent); color: #04100b; }

.demo-pane { display: none; }
.demo-pane.active { display: block; }

.demo-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}

.card {
  padding: 1.65rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.card-sub {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-bottom: 1.2rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.chip {
  min-height: 36px;
  padding: 0.4rem 0.78rem;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.chip:hover { border-color: var(--accent); color: var(--accent); }

.field-group { margin-bottom: 1rem; }
.field-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-bottom: 1rem; }

.field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 0.4rem;
}

.field-input, .field-select, .field-textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-input);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.18s ease;
}

.field-textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.55;
}

.field-input:focus, .field-select:focus, .field-textarea:focus {
  border-color: var(--accent);
}

/* Verdict Display */
.verdict-card {
  padding: 1.65rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.verdict-card.high { border-color: rgba(244, 63, 94, 0.5); }
.verdict-card.mid  { border-color: rgba(245, 158, 11, 0.5); }
.verdict-card.low  { border-color: var(--accent-border); }

.v-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.v-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.verdict-card.high .v-pill { background: var(--rose-soft); color: #fda4af; }
.verdict-card.mid  .v-pill { background: var(--amber-soft); color: #fcd34d; }
.verdict-card.low  .v-pill { background: var(--accent-soft); color: var(--accent); }
[data-theme="light"] .verdict-card.high .v-pill { color: #be123c; }
[data-theme="light"] .verdict-card.mid  .v-pill { color: #b45309; }

.v-score {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
}

.v-meter {
  height: 5px;
  border-radius: 99px;
  background: var(--border);
  overflow: hidden;
  margin-bottom: 1.15rem;
}

.v-meter-fill { height: 100%; border-radius: 99px; transition: width 0.35s var(--ease); }

.v-privacy {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: var(--accent-soft);
  margin-bottom: 1rem;
}

.v-reasons {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.v-reasons li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 1rem;
  position: relative;
}

.v-reasons li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.lang-box {
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.lang-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.lang-pills { display: flex; gap: 0.35rem; }

.lang-pill {
  padding: 0.28rem 0.65rem;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-pill.active {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.ai-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-3);
}

.ai-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
}

/* USSD & WhatsApp */
.ussd-lcd {
  background: #071711;
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  padding: 1.1rem;
  min-height: 175px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #a7f3d0;
  white-space: pre-wrap;
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

.wa-log {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  height: 235px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.wa-bubble {
  max-width: 88%;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  font-size: 0.85rem;
  white-space: pre-wrap;
  line-height: 1.5;
}

.wa-bubble.user { align-self: flex-end; background: var(--accent-soft); border: 1px solid var(--accent-border); }
.wa-bubble.bot  { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); }

/* Private Auth Page */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 360px;
  padding: 2.2rem 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  text-align: center;
}

.auth-title { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.35rem; }
.auth-sub { font-size: 0.86rem; color: var(--text-2); margin-bottom: 1.4rem; }
.auth-input { text-align: center; letter-spacing: 0.22em; font-family: var(--font-mono); }
.auth-err { font-family: var(--font-mono); font-size: 0.78rem; color: #fda4af; background: var(--rose-soft); padding: 0.5rem; border-radius: 8px; margin-bottom: 0.85rem; }
.auth-back { display: inline-block; margin-top: 1.25rem; font-size: 0.82rem; color: var(--text-3); }
.auth-back:hover { color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  margin-top: 2rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-3);
}

.secret-dot { color: inherit; cursor: default; }

/* ── ChatGPT-Style Demo Flow (Welcome → Chooser → Chat) ────────────────────── */
.demo-stage { display: none; position: relative; }
.demo-stage.active { display: block; animation: fadeInUp 0.28s var(--ease) both; }

/* Clean Centered EXORNET Shield Below the Two Chooser Cards */
.chooser-brand-footer {
  margin: 2rem auto 0;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-composite: intersect;
}

.chooser-brand-footer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  mix-blend-mode: lighten;
  opacity: 0.85;
}

[data-theme="light"] .chooser-brand-footer img {
  mix-blend-mode: multiply;
  opacity: 0.22;
  filter: invert(1);
}

.welcome-wrap, .chooser-wrap, .chat-shell {
  position: relative;
  z-index: 2;
}

.welcome-card, .choice-card {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Animated Thinking / Scanning Status Inside Bot Bubble */
.thinking-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-2);
  font-size: 0.88rem;
}

.think-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.think-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 1.2s ease-in-out infinite;
}

.think-dots span:nth-child(2) { animation-delay: 0.2s; }
.think-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.25; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.15); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.welcome-wrap {
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.welcome-card {
  width: 100%;
  max-width: 440px;
  padding: clamp(1.8rem, 5vw, 2.6rem);
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.welcome-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.05rem);
  font-weight: 700;
  margin: 0.9rem 0 0.5rem;
}

.welcome-card p {
  font-size: 0.94rem;
  color: var(--text-2);
  margin-bottom: 1.6rem;
}

.chooser-wrap {
  min-height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 0;
}

.chooser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.75rem;
}

.choice-card {
  text-align: left;
  padding: 1.9rem 1.75rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), background-color 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.choice-card:hover {
  border-color: var(--accent-border);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.choice-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.choice-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.choice-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* Chat Shell */
.chat-shell {
  max-width: 760px;
  margin: 0 auto;
  min-height: calc(100vh - 82px);
  display: flex;
  flex-direction: column;
  padding: 1rem 0 1.25rem;
}

.chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.chat-mode-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.mode-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.chat-actions { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }

.chat-stream {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.25rem 0 1.25rem;
  overflow-y: auto;
}

.msg-row { display: flex; flex-direction: column; max-width: 88%; }
.msg-row.user { align-self: flex-end; align-items: flex-end; }
.msg-row.bot  { align-self: flex-start; align-items: flex-start; width: 100%; max-width: 560px; }

.user-bubble {
  padding: 0.8rem 1.05rem;
  border-radius: 16px 16px 4px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  font-size: 0.93rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.user-img-preview {
  display: block;
  max-width: 220px;
  max-height: 180px;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}

.bot-bubble {
  width: 100%;
  padding: 1.05rem 1.15rem;
  border-radius: 16px 16px 16px 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* 5-Band Color Risk Index Card inside Bot Bubble */
.idx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.idx-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
}

.idx-pill.emerald { background: rgba(16, 185, 129, 0.14); color: #34d399; }
.idx-pill.teal    { background: rgba(20, 184, 166, 0.14); color: #2dd4bf; }
.idx-pill.amber   { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.idx-pill.orange  { background: rgba(249, 115, 22, 0.15); color: #fb923c; }
.idx-pill.rose    { background: rgba(244, 63, 94, 0.16);  color: #fb7185; }

[data-theme="light"] .idx-pill.emerald { color: #047857; }
[data-theme="light"] .idx-pill.teal    { color: #0f766e; }
[data-theme="light"] .idx-pill.amber   { color: #b45309; }
[data-theme="light"] .idx-pill.orange  { color: #c2410c; }
[data-theme="light"] .idx-pill.rose    { color: #be123c; }

.idx-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-2);
}

.spectrum-bar {
  height: 6px;
  width: 100%;
  border-radius: 99px;
  background: var(--border);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.spectrum-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.45s var(--ease);
}

.spectrum-fill.emerald { background: #10b981; }
.spectrum-fill.teal    { background: #14b8a6; }
.spectrum-fill.amber   { background: #f59e0b; }
.spectrum-fill.orange  { background: #f97316; }
.spectrum-fill.rose    { background: #f43f5e; }

.bot-signals {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.bot-signals li {
  font-size: 0.87rem;
  color: var(--text-2);
  padding-left: 0.9rem;
  position: relative;
}

.bot-signals li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-3);
}

.bot-advice {
  font-size: 0.9rem;
  color: var(--text);
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
}

.bot-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}

/* Sticky ChatGPT-Like Composer */
.composer-dock {
  position: sticky;
  bottom: 0;
  padding-top: 0.65rem;
  background: linear-gradient(to top, var(--bg) 78%, transparent);
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.composer-box {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 0.55rem 0.65rem;
  transition: border-color 0.2s ease;
}

.composer-box:focus-within { border-color: var(--accent); }

.attach-preview {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.5rem 0.65rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.45rem;
}

.attach-preview.show { display: flex; }
.attach-thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; border: 1px solid var(--border); }

.composer-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.attach-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.attach-btn:hover { border-color: var(--accent); color: var(--accent); }

.composer-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.5;
  max-height: 130px;
  min-height: 40px;
  padding: 0.45rem 0.25rem;
  resize: none;
  outline: none;
}

.send-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #04100b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.send-btn:hover { opacity: 0.92; transform: translateY(-1px); }
.send-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.composer-hint {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-3);
  text-align: center;
  margin-top: 0.45rem;
}

/* Mobile Considerations */
/* Shimmer Skeleton Keyframes */
@keyframes exrShimmer {
  0%   { background-position: -220% 0; }
  100% { background-position: 220% 0; }
}

.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 20%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(255, 255, 255, 0.03) 80%
  );
  background-size: 220% 100%;
  animation: exrShimmer 1.6s ease-in-out infinite;
}

[data-theme="light"] .skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.04) 20%,
    rgba(15, 23, 42, 0.1) 50%,
    rgba(15, 23, 42, 0.04) 80%
  );
  background-size: 220% 100%;
}

/* Mobile Flutter-Style Material-3 Inspired Experience */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-grid, .info-grid-3, .video-highlights, .evidence-band { grid-template-columns: 1fr; }
  .hero-rotator { width: 100%; }
  .cta-row { flex-wrap: wrap; }
}

@media (max-width: 680px) {
  body { padding-bottom: 78px; }
  .wrap { padding: 0 1.25rem; }
  .nav-bar { min-height: 60px; flex-wrap: nowrap; }
  .nav-links { display: none; }

  /* Full-width breathable Flutter-style Hero on Mobile */
  .hero-stage {
    min-height: 0;
    padding: 0 0 2.25rem;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-bg-layer {
    position: relative;
    height: 230px;
    width: 100%;
  }

  .hero-rotator {
    position: absolute;
    inset: 0;
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  }

  .hero-rotator.ready .hero-slide.active { opacity: 0.92; }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(6, 10, 20, 0.15) 0%, rgba(6, 10, 20, 0.12) 48%, var(--bg) 100%);
  }

  [data-theme="light"] .hero-scrim {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.12) 0%, rgba(248, 250, 252, 0.1) 48%, var(--bg) 100%);
  }

  .hero-content { margin-top: -1.4rem; }
  .hero-copy { max-width: 100%; }
  .hero-h1 { font-size: 2.05rem; margin-bottom: 0.85rem; }
  .hero-lead { font-size: 0.98rem; margin-bottom: 1.5rem; }

  /* Flutter-Style Tactile Elevated Cards & Pill Buttons */
  .section { padding: 2.5rem 0; }
  .hub-grid, .team-grid, .field-row-2, .chooser-grid, .who-grid, .stat-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hub-card, .info-tile, .team-card, .choice-card, .stat-card {
    border-radius: 20px;
    padding: 1.45rem 1.35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  }

  .hub-card:active, .choice-card:active, .btn:active {
    transform: scale(0.985);
  }

  .cta-row {
    flex-direction: column;
    gap: 0.65rem;
  }

  .cta-row .btn {
    width: 100%;
    min-height: 50px;
    border-radius: 14px;
    font-size: 0.95rem;
  }

  .hero-caption-bar {
    width: 100%;
    justify-content: space-between;
    margin-top: 1.25rem;
  }

  .hero-caption-text {
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .seg-tabs { display: grid; grid-template-columns: 1fr; width: 100%; }
  .msg-row { max-width: 96%; }

  /* Native-Feeling Flutter Bottom Navigation Bar */
  .mobile-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 200;
    height: 62px;
    border-radius: 20px;
    background: rgba(11, 17, 32, 0.92);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 0 6px;
  }

  [data-theme="light"] .mobile-dock {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  }

  .dock-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 48px;
    border-radius: 14px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-3);
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .dock-link.active {
    background: var(--accent-soft);
    color: var(--accent);
  }
}

/* ── Quota Pills, Product Follow-Up Chips, Auth Modal & Premium Plans ──────── */
.nav-auth-chip {
  min-height: 36px;
  padding: 0.3rem 0.72rem;
  font-size: 0.78rem;
  border-radius: 10px;
}

.quota-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.quota-pill:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.quota-pill.low {
  border-color: rgba(245, 158, 11, 0.45);
  background: var(--amber-soft);
  color: #fbbf24;
}

[data-theme="light"] .quota-pill.low { color: #b45309; }

.prod-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.75rem;
}

.prod-act-chip {
  min-height: 32px;
  font-size: 0.76rem;
  padding: 0.28rem 0.68rem;
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--text);
}

.prod-act-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Pricing / Plans Page */
.pricing-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.quota-status-card {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-strong);
}

.quota-status-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.28rem;
}

.quota-status-val {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
}

.quota-status-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-2);
  margin-top: 0.2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.5rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.plan-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.plan-card.featured {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, var(--surface) 45%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.plan-badge {
  position: absolute;
  top: -11px;
  right: 1.25rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: var(--accent);
  color: #04100b;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.plan-tier {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.plan-price span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-3);
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-bottom: 1.15rem;
}

.plan-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.plan-list li {
  font-size: 0.86rem;
  color: var(--text-2);
  padding-left: 1.2rem;
  position: relative;
}

.plan-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.plan-foot { margin-top: auto; }

.plan-toast {
  display: none;
  margin-top: 1.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--text);
  font-size: 0.88rem;
}

.plan-toast.show { display: block; animation: fadeInUp 0.2s var(--ease) both; }
.plan-toast.err { background: var(--rose-soft); border-color: rgba(244, 63, 94, 0.4); }

/* Clean Auth / Upgrade Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(3, 6, 14, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.open { display: flex; }

.modal-card {
  width: 100%;
  max-width: 430px;
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.22s var(--ease) both;
}

[data-theme="light"] .modal-card { background: #ffffff; }

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.28rem;
  border-radius: 10px;
  background: var(--surface-input);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.auth-tab {
  min-height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.auth-tab.active {
  background: var(--accent);
  color: #04100b;
}

@media (max-width: 900px) {
  .pricing-head, .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-auth-chip { display: none; }
  .plan-card { border-radius: 20px; padding: 1.45rem 1.3rem; }
}

