.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--electric); color: #fff; padding: 0.6rem 1.1rem;
  border-radius: 0 0 8px 0; font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 0; }
/* ── TOKENS ─────────────────────────────────── */
:root {
  --bg:        #FFFFFF;
  --bg-alt:    #F3F7FF;
  --bg-alt2:   #EBF2FF;
  --text:      #0B1036;
  --text-2:    #4A5280;
  --border:    rgba(9,38,118,0.10);
  --input-bg:  #FFFFFF;
  --midnight:  #050A34;
  --navy:      #092676;
  --electric:  #085CF0;
  --sky:       #AFE9FD;
  --sky-dim:   rgba(175,233,253,0.65);
  --sky-faint: rgba(175,233,253,0.15);
  --f-display: clamp(36px,5.5vw,64px);
  --f-h1:      clamp(28px,4vw,48px);
  --f-h2:      clamp(22px,3vw,36px);
  --f-h3:      clamp(16px,2vw,22px);
  --f-body:    16px;
  --f-sm:      14px;
  --max-w:     1180px;
  --sec-py:    clamp(64px,8vw,112px);
  --px:        clamp(1.25rem,5vw,2.5rem);
  --radius:    8px;
  --radius-lg: 16px;
  --nav-h:     70px;
  --shadow:    0 2px 16px rgba(9,38,118,0.08);
  --shadow-lg: 0 8px 40px rgba(9,38,118,0.13);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1240; --bg-alt: #0F1855; --bg-alt2: #0D1650;
    --text: #E4ECFF; --text-2: #8A9BD4;
    --border: rgba(175,233,253,0.10); --input-bg: #0F1855;
    --shadow: 0 2px 16px rgba(0,0,0,0.3); --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
  }
}
:root[data-theme="dark"] {
  --bg: #0C1240; --bg-alt: #0F1855; --bg-alt2: #0D1650;
  --text: #E4ECFF; --text-2: #8A9BD4;
  --border: rgba(175,233,253,0.10); --input-bg: #0F1855;
  --shadow: 0 2px 16px rgba(0,0,0,0.3); --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
}

/* ── BASE ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: var(--f-body); line-height: 1.7; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.15; letter-spacing: -0.025em; }
p { max-width: 64ch; }

/* ── LAYOUT ─────────────────────────────────── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); }
.section { padding-block: var(--sec-py); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: 0.875rem;
  color: var(--electric);
}
.sec-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--electric); margin-bottom: 0.75rem; }

/* ── NAV ────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h); background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.nav.scrolled { box-shadow: 0 1px 20px rgba(9,38,118,0.10); }
.nav-inner {
  max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px);
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 700; color: var(--midnight);
  letter-spacing: -0.03em; cursor: pointer; flex-shrink: 0; user-select: none;
}
.nav-logo .logo-img { height: 24px; width: auto; display: block; }
.footer-brand .nav-logo .logo-img { height: 22px; filter: brightness(0) invert(1); opacity: 0.95; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color 0.15s; padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); border-bottom-color: var(--electric); }
.nav-cta {
  background: var(--electric); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 0.55rem 1.3rem; border-radius: var(--radius);
  transition: background 0.15s, transform 0.15s; white-space: nowrap;
  cursor: pointer; border: none; font-family: inherit; letter-spacing: -0.01em;
}
.nav-cta:hover { background: #0650d6; transform: translateY(-1px); }
.nav-toggle { display: none; color: var(--text); padding: 4px; cursor: pointer; }
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--bg); z-index: 190; padding: 1.25rem var(--px) 1.75rem;
  border-bottom: 1px solid var(--border); flex-direction: column; gap: 1rem;
  box-shadow: 0 8px 24px rgba(9,38,118,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 16px; font-weight: 500; color: var(--text-2); }

/* ── PAGES ──────────────────────────────────── */
.page { display: block; padding-top: var(--nav-h); } /* one page per URL now — always visible */
.page.active { display: block; }

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  padding: 0.75rem 1.6rem; border-radius: var(--radius);
  transition: all 0.15s; cursor: pointer; border: none; font-family: inherit;
}
.btn-primary { background: var(--electric); color: #fff; }
.btn-primary:hover { background: #0650d6; transform: translateY(-1px); }
.btn-secondary {
  background: #FFFFFF; color: var(--midnight);
  border: 1.5px solid rgba(9,38,118,0.20);
}
.btn-secondary:hover { border-color: var(--electric); color: var(--electric); transform: translateY(-1px); }
/* Dark mode: light text + sky-tinted border so the button stays visible on the navy background. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-secondary { background: transparent; color: var(--sky); border-color: var(--sky-dim); }
  :root:not([data-theme="light"]) .btn-secondary:hover { color: #fff; border-color: var(--sky); background: var(--sky-faint); }
}
:root[data-theme="dark"] .btn-secondary { background: transparent; color: var(--sky); border-color: var(--sky-dim); }
:root[data-theme="dark"] .btn-secondary:hover { color: #fff; border-color: var(--sky); background: var(--sky-faint); }
.btn-white { background: #fff; color: var(--electric); font-size: 15px; font-weight: 700; padding: 0.8rem 2rem; border-radius: var(--radius); border: none; cursor: pointer; font-family: inherit; transition: all 0.15s; }
.btn-white:hover { background: #F0F4FF; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--electric); border: 1.5px solid var(--electric); font-size: 15px; font-weight: 600; padding: 0.75rem 1.6rem; border-radius: var(--radius); cursor: pointer; font-family: inherit; transition: all 0.15s; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-outline:hover { background: rgba(8,92,240,0.05); transform: translateY(-1px); }

/* ── HERO ───────────────────────────────────── */
.hero {
  background: var(--bg);
  padding-block: clamp(56px,8vw,96px) clamp(40px,6vw,72px);
  overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 78%);
  pointer-events: none;
}
.hero-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 0;
  position: relative; z-index: 1;
}
.hero-eyebrow { color: var(--electric); margin-bottom: 1.25rem; }
.hero-headline {
  font-size: var(--f-display); font-weight: 700; line-height: 1.05;
  letter-spacing: -0.035em; color: var(--text); margin-bottom: 1.25rem; max-width: 20ch;
  margin-inline: auto; text-wrap: balance;
}
.hero-headline em { font-style: normal; color: var(--electric); }
.hero-sub {
  font-size: clamp(15px,1.8vw,18px); color: var(--text-2);
  line-height: 1.7; margin-bottom: 2rem; max-width: 56ch; margin-inline: auto;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: center; margin-bottom: 2.25rem; }
.hero-trust { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-video {
  width: 100%; max-width: 920px; margin-top: clamp(2.5rem,5vw,4rem); margin-inline: auto;
  background: var(--midnight); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.hero-video-frame iframe, .hero-video-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
  object-fit: contain; background: var(--midnight);
}
/* Blocks the Drive "open in new window" button (top-right of the fallback embed) */
.hero-video-shield {
  position: absolute; top: 0; right: 0;
  width: 64px; height: 64px;
  background: transparent; z-index: 2;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 13px; color: var(--text-2); font-weight: 500;
}
.hero-trust-item svg { color: #10B981; flex-shrink: 0; }
.hero-visual { position: relative; }

/* Dashboard mockup */
.dash-mockup {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dash-top-bar {
  background: var(--midnight); padding: 0.6rem 1rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.dash-dot { width: 9px; height: 9px; border-radius: 50%; }
.dash-title { font-size: 11px; color: rgba(175,233,253,0.5); margin-left: 0.5rem; font-weight: 500; }
.dash-body { display: flex; height: 340px; }
.dash-sidebar {
  width: 140px; flex-shrink: 0; background: #070E40;
  padding: 0.75rem 0; border-right: 1px solid rgba(175,233,253,0.07);
}
.dash-nav-item {
  padding: 0.5rem 1rem; font-size: 11px; color: rgba(175,233,253,0.45);
  font-weight: 500; display: flex; align-items: center; gap: 0.5rem;
}
.dash-nav-item.active { background: rgba(8,92,240,0.25); color: var(--sky); border-left: 2px solid var(--electric); }
.dash-nav-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.dash-content { flex: 1; padding: 1rem; background: var(--bg-alt); overflow: hidden; }
.dash-section-title { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 0.5rem; }
.dash-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.4rem; margin-bottom: 0.6rem; }
.dash-stat-tile {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 7px; padding: 0.55rem 0.65rem;
}
.dash-stat-n { font-size: 20px; font-weight: 700; line-height: 1; margin-bottom: 2px; }
.dash-stat-l { font-size: 9px; color: var(--text-2); }
.dash-list-item {
  background: var(--bg); border: 1px solid var(--border); border-radius: 6px;
  padding: 0.4rem 0.6rem; margin-bottom: 0.3rem;
  display: flex; align-items: center; gap: 0.5rem; font-size: 10px; color: var(--text);
}
.dash-list-item:last-child { margin-bottom: 0; }
.dash-status { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dash-badge {
  font-size: 9px; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 99px;
  margin-left: auto; white-space: nowrap;
}
.dash-badge-green { background: rgba(16,185,129,0.12); color: #047857; }
.dash-badge-amber { background: rgba(245,158,11,0.12); color: #92400E; }
.dash-badge-blue  { background: rgba(8,92,240,0.12); color: var(--electric); }

/* ── FEATURE MARQUEE ────────────────────────── */
.feature-marquee {
  background: var(--electric);
  padding-block: 1rem;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex; align-items: center;
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
}
.marquee-group { display: flex; align-items: center; gap: 3rem; padding-right: 3rem; }
.feature-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: #fff; font-size: 14px; font-weight: 600;
  white-space: nowrap; letter-spacing: 0.01em;
}
.marquee-item svg { flex-shrink: 0; opacity: 0.9; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee-group { flex-wrap: wrap; justify-content: center; padding-inline: var(--px); }
  .marquee-track > .marquee-dup { display: none; }
}

/* ── PURPOSE BUILT (two-col) ────────────────── */
.purpose-section { background: var(--bg); }
.purpose-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem,6vw,6rem); align-items: center;
}
.purpose-visual {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow);
  position: relative;
}
.purpose-visual-layers {
  background: none; border: none; box-shadow: none; padding: 0;
  position: relative;
}
.pv-glow-img {
  position: absolute; inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 118%; max-width: none; height: auto;
  pointer-events: none;
}
.pv-scene {
  position: relative; z-index: 1;
  display: block; width: 100%; height: auto;
}
.purpose-feat-list { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; }
.purpose-feat-list li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 15px; color: var(--text-2); line-height: 1.55;
}
.purpose-feat-list li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--electric); flex-shrink: 0; margin-top: 0.55em;
}
.purpose-cta-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 14px; font-weight: 600; color: var(--electric);
  margin-top: 1.75rem; transition: gap 0.15s;
}
.purpose-cta-link:hover { gap: 0.65rem; }
.purpose-text h2 { font-size: var(--f-h1); color: var(--text); margin-bottom: 0.875rem; }
.purpose-text p.desc { font-size: 16px; color: var(--text-2); line-height: 1.75; }

/* ── WHY CARDS ──────────────────────────────── */
.why-section { background: var(--bg-alt); }
.why-section .sec-head { text-align: center; margin-bottom: clamp(36px,5vw,60px); }
.why-section .sec-head h2 { font-size: var(--f-h1); color: var(--text); margin-bottom: 0.75rem; }
.why-section .sec-head p { font-size: 17px; color: var(--text-2); max-width: 52ch; margin-inline: auto; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.flip-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.flip-card { perspective: 1200px; cursor: pointer; outline-offset: 3px; min-height: 240px; }
.flip-inner {
  position: relative; width: 100%; height: 100%; min-height: 240px;
  transform-style: preserve-3d; transition: transform 0.6s;
}
.flip-card:hover .flip-inner, .flip-card.flipped .flip-inner, .flip-card:focus-visible .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg); padding: 1.75rem;
  display: flex; flex-direction: column; justify-content: center;
}
.flip-front { background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.flip-kicker { font-size: 13px; font-weight: 600; color: var(--electric); margin-bottom: 0.5rem; }
.flip-front h3 { font-size: 20px; font-weight: 700; color: var(--text); line-height: 1.3; }
.flip-back { background: var(--electric); color: #fff; transform: rotateY(180deg); }
.flip-back h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 0.6rem; }
.flip-back p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.95); }
@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; }
}
.qa-slider { perspective: 1400px; max-width: 980px; margin-inline: auto; }
.qa-slider { display: flex; flex-direction: column; gap: 1.5rem; }
.qa-pair { display: none; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.qa-pair.active { display: grid; animation: qa-flip 0.65s ease; }
@keyframes qa-flip {
  from { transform: rotateY(14deg); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.qa-card {
  border-radius: var(--radius-lg); padding: 2rem 2.25rem;
  display: flex; flex-direction: column; justify-content: center; min-height: 175px;
}
.qa-q { background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.qa-q h3 { font-size: clamp(20px,2.4vw,26px); font-weight: 700; color: var(--text); line-height: 1.3; }
.qa-a { background: var(--electric); color: #fff; }
.qa-a h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 0.6rem; }
.qa-a p { font-size: 15px; line-height: 1.7; color: #fff; }
@media (prefers-reduced-motion: reduce) { .qa-pair.active { animation: none; } }
@media (max-width: 760px) { .qa-pair { grid-template-columns: 1fr; } }
.why-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.why-icon {
  width: 52px; height: 52px; border-radius: 12px; background: rgba(8,92,240,0.09);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.why-icon svg { width: 24px; height: 24px; color: var(--electric); }
.why-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 0.6rem; }
.why-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.why-card-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 13px; font-weight: 600; color: var(--electric); margin-top: 1.25rem;
  transition: gap 0.15s;
}
.why-card-link:hover { gap: 0.6rem; }

/* ── FEATURES GRID ──────────────────────────── */
.features-section { background: var(--bg); }
.features-section .sec-head { margin-bottom: clamp(32px,4vw,52px); }
.features-section .sec-head h2 { font-size: var(--f-h1); color: var(--text); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.mod-slider { position: relative; }
.mod-slide {
  display: none;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(2rem,4vw,4rem); align-items: center;
}
.mod-slide.active { display: grid; animation: mod-fade 0.5s ease; }
@keyframes mod-fade { from { opacity: 0; } to { opacity: 1; } }
.mod-slide-text h3 { font-size: clamp(22px,2.6vw,30px); font-weight: 700; color: var(--text); margin-bottom: 0.9rem; }
.mod-desc { font-size: 16px; color: var(--text-2); line-height: 1.75; }
.form-privacy { margin-top: 0.85rem; font-size: 12.5px; color: var(--text-2); text-align: center; }
.form-sent { text-align: center; padding: 2.5rem 1rem; }
.form-sent-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1.1rem;
  background: #1a9e5c; color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
}
.form-sent h3 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 0.6rem; }
.form-sent p { font-size: 15.5px; color: var(--text-2); line-height: 1.7; max-width: 34ch; margin: 0 auto; }
.mod-arrows { display: flex; gap: 0.6rem; justify-content: center; margin-top: 1.75rem; }
.mod-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(8,92,240,0.35); background: var(--bg);
  color: var(--electric); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.mod-arrow:hover { background: var(--electric); border-color: var(--electric); color: #fff; }
.mod-slide-img { position: relative; }
.mod-slide-img::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 92%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,92,240,0.4) 0%, rgba(8,92,240,0.18) 55%, transparent 75%);
  filter: blur(38px);
  pointer-events: none;
}
.mod-slide-img img { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .mod-slide.active { animation: none; } }
@media (max-width: 960px) {
  .mod-slide { grid-template-columns: 1fr; gap: 1.5rem; }
  .mod-slide-text { text-align: center; }
}
.feature-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--electric);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.feature-icon svg { width: 22px; height: 22px; color: #fff; }
.feature-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 0.45rem; }
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.features-more { text-align: center; margin-top: 2.5rem; }

/* ── TESTIMONIALS ───────────────────────────── */
.testimonials-section { background: var(--bg-alt); }
.testimonials-section .sec-head { margin-bottom: clamp(36px,4vw,56px); }
.testimonials-section .sec-head h2 { font-size: var(--f-h1); color: var(--text); }
.t-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.t-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow);
}
.t-stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.t-star { width: 16px; height: 16px; color: #F59E0B; }
.t-card blockquote {
  font-size: clamp(15px,1.5vw,17px); color: var(--text); line-height: 1.7;
  margin-bottom: 1.5rem; font-weight: 400;
}
.t-card blockquote::before { content: '\201C'; display: block; font-size: 40px; line-height: 1; color: var(--electric); margin-bottom: 0.5rem; font-weight: 700; }
.t-author { display: flex; align-items: center; gap: 0.75rem; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--electric); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.t-name { font-size: 14px; font-weight: 700; color: var(--text); }
.t-org  { font-size: 12px; color: var(--text-2); margin-top: 1px; }

/* ── CTA FINAL ──────────────────────────────── */
.cta-final {
  background: var(--midnight); padding-block: clamp(64px,9vw,112px); text-align: center;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; pointer-events: none;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(8,92,240,0.22) 0%, transparent 65%);
  top: -250px; right: -150px;
}
.cta-final::after {
  content: ''; position: absolute; pointer-events: none;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(175,233,253,0.07) 0%, transparent 65%);
  bottom: -180px; left: -100px;
}
.cta-final h2 {
  font-size: var(--f-h1); color: #fff; margin-bottom: 1rem;
  margin-inline: auto; max-width: 18ch; position: relative; z-index: 1;
}
.cta-final p {
  font-size: clamp(15px,1.7vw,18px); color: var(--sky-dim);
  margin-bottom: 2rem; margin-inline: auto; max-width: 48ch; position: relative; z-index: 1;
}
.cta-final .actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-ghost-white {
  background: transparent; color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.2);
  font-size: 15px; font-weight: 600; padding: 0.8rem 1.6rem; border-radius: var(--radius);
  cursor: pointer; font-family: inherit; transition: all 0.15s; display: inline-flex; align-items: center;
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.5); color: #fff; transform: translateY(-1px); }

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: #040930;
  border-top: 1px solid rgba(175,233,253,0.06);
  padding-block: clamp(52px,7vw,80px) 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; color: #fff; }
.footer-tagline { font-size: 14px; color: #9FB0CE; max-width: 26ch; line-height: 1.65; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(175,233,253,0.12);
  display: flex; align-items: center; justify-content: center; color: rgba(175,233,253,0.4);
  transition: color 0.15s, border-color 0.15s;
}
.footer-social a:hover { color: var(--sky); border-color: rgba(175,233,253,0.35); }
.footer-col .footer-col-h {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #8FA6CE; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 14px; color: #AFC4E8; transition: color 0.15s; }
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid rgba(175,233,253,0.06);
}
.footer-bottom p { font-size: 13px; color: #9FB0CE; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 14px; color: #AFC4E8; transition: color 0.15s; }
.footer-bottom-links a:hover { color: #DCE9FF; }

/* ── LEGAL PAGES ────────────────────────────── */
.legal-section { padding-block: clamp(40px,6vw,72px); }
.legal-body { max-width: 760px; margin-inline: auto; }
.legal-body .updated { font-size: 13.5px; color: var(--text-2); margin-bottom: 2rem; }
.legal-body h2 { font-size: clamp(19px,2.2vw,24px); font-weight: 700; color: var(--text); margin: 2.25rem 0 0.75rem; }
.legal-body p { font-size: 15.5px; color: var(--text-2); line-height: 1.8; margin-bottom: 1rem; }
.legal-body ul { margin: 0 0 1rem 1.25rem; }
.legal-body li { font-size: 15.5px; color: var(--text-2); line-height: 1.8; margin-bottom: 0.4rem; }
.legal-body a { color: var(--electric); text-decoration: underline; }
/* ── PAGE HERO (inner pages) ────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--midnight) 0%, #0D1A50 100%);
  padding-block: clamp(52px,8vw,88px);
}
.page-hero .eyebrow { color: var(--sky-dim); margin-bottom: 1rem; }
.page-hero h1 { font-size: var(--f-h1); color: #fff; margin-bottom: 1rem; max-width: 22ch; }
.page-hero .sub { font-size: clamp(15px,1.7vw,17px); color: var(--sky-dim); max-width: 54ch; }

/* ── MODULE SECTIONS (Platform) ─────────────── */
.module-section { padding-block: var(--sec-py); border-bottom: 1px solid var(--border); }
.module-section:nth-child(even) { background: var(--bg-alt); }
.module-section:nth-child(odd)  { background: var(--bg); }
.module-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem,5vw,5rem); align-items: start;
}
.module-grid.flip { direction: rtl; }
.module-grid.flip > * { direction: ltr; }
.module-label { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--electric); margin-bottom: 0.6rem; }
.module-section h2 { font-size: var(--f-h2); color: var(--text); margin-bottom: 0.75rem; }
.module-body { font-size: 16px; color: var(--text-2); line-height: 1.75; margin-bottom: 1.5rem; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.feat-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 15px; color: var(--text-2); line-height: 1.55; }
.feat-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--electric); flex-shrink: 0; margin-top: 0.55em; }

/* UI Mockup */
.ui-mock {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem; overflow: hidden; box-shadow: var(--shadow);
}
.ui-mock-bar { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.875rem; }
.ui-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ui-mock-title { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); margin-left: 0.25rem; }
.ui-row {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.7rem; background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; margin-bottom: 0.35rem;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.ui-row-label { font-size: 12px; font-weight: 600; color: var(--text); flex: 1; min-width: 0; }
.ui-row-sub { font-size: 10px; color: var(--text-2); }
.ui-badge { font-size: 9px; font-weight: 700; padding: 0.1rem 0.45rem; border-radius: 99px; white-space: nowrap; }
.badge-green { background: rgba(16,185,129,0.12); color: #047857; }
.badge-amber { background: rgba(245,158,11,0.12); color: #92400E; }
.badge-blue  { background: rgba(8,92,240,0.12); color: var(--electric); }
.ui-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-bottom: 0.65rem; }
.ui-stat-card { background: var(--bg); border: 1px solid var(--border); border-radius: 7px; padding: 0.65rem; }
.ui-stat-n { font-size: 22px; font-weight: 700; line-height: 1; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.ui-stat-l { font-size: 9px; color: var(--text-2); }
.ui-ask-input { background: var(--bg); border: 1.5px solid var(--electric); border-radius: 6px; padding: 0.5rem 0.65rem; font-size: 11px; color: var(--text); margin-bottom: 0.5rem; }
.ui-ask-result { background: rgba(8,92,240,0.06); border-radius: 6px; padding: 0.65rem; }
.ui-ask-n { font-size: 26px; font-weight: 700; color: var(--electric); line-height: 1; }
.ui-ask-l { font-size: 9px; color: var(--text-2); margin-top: 2px; line-height: 1.5; }
.ui-doc-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0; border-bottom: 1px solid var(--border); font-size: 11px; color: var(--text); }
.ui-doc-row:last-child { border-bottom: none; }
.check-circle { width: 13px; height: 13px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Role table */
.role-section { background: var(--bg-alt2, #EBF2FF); padding-block: var(--sec-py); }
.role-section .eyebrow { color: var(--electric); }
.role-section h2 { font-size: var(--f-h2); color: var(--text); margin-bottom: 2.5rem; }
.role-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.role-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--bg); }
.role-table th { text-align: left; padding: 0.75rem 1rem; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.role-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: middle; }
.role-table td:first-child { font-weight: 600; color: var(--text); }
.r-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 99px; }
.r-full    { background: rgba(8,92,240,0.1); color: var(--electric); }
.r-limited { background: rgba(245,158,11,0.1); color: #B45309; }
.r-none    { background: var(--bg-alt); color: var(--text-2); }

/* About page */
.about-story { background: var(--bg); }
.about-story .story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,6vw,6rem); align-items: start; }
.about-story h2 { font-size: var(--f-h2); color: var(--text); margin-bottom: 1.5rem; }
.prose { font-size: 17px; color: var(--text-2); line-height: 1.8; margin-bottom: 1.25rem; }
.about-stat-col { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 1rem; }
.about-stat-tile { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.about-stat-num { font-size: clamp(40px,6vw,64px); font-weight: 700; color: var(--electric); line-height: 1; letter-spacing: -0.04em; margin-bottom: 0.35rem; }
.about-stat-label { font-size: 14px; color: var(--text-2); }

.mv-section { background: var(--midnight); padding-block: var(--sec-py); }
.mv-section .eyebrow { color: var(--sky-dim); }
.mv-section h2 { font-size: var(--f-h2); color: #fff; margin-bottom: 2.5rem; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.mv-card h3 { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); margin-bottom: 0.75rem; }
.mv-card p  { font-size: clamp(16px,2vw,21px); font-weight: 600; color: #fff; line-height: 1.45; letter-spacing: -0.02em; }

.values-section { background: var(--bg-alt); }
.values-section h2 { font-size: var(--f-h2); color: var(--text); margin-bottom: clamp(36px,4vw,52px); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.value-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); }
.value-glyph { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(8,92,240,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.value-glyph svg { width: 18px; height: 18px; color: var(--electric); }
.value-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.value-card p  { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* Demo page */
.demo-layout { background: var(--bg); }
.demo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem,5vw,5rem); align-items: start; }
.demo-info h2 { font-size: var(--f-h2); color: var(--text); margin-bottom: 1rem; }
.demo-info .desc { font-size: 16px; color: var(--text-2); line-height: 1.75; margin-bottom: 2rem; }
.expect-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.expect-item { display: flex; gap: 1rem; align-items: flex-start; }
.expect-num { width: 30px; height: 30px; border-radius: 50%; background: rgba(8,92,240,0.09); color: var(--electric); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.expect-item p { font-size: 15px; color: var(--text-2); line-height: 1.6; }
.form-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 18px; padding: 2.5rem; box-shadow: var(--shadow); }
.form-card h3 { font-size: 21px; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; letter-spacing: -0.02em; }
.form-card .form-sub { font-size: 14px; color: var(--text-2); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--input-bg); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 0.65rem 0.9rem; outline: none; transition: border-color 0.15s; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--electric); }
.form-group textarea { resize: vertical; min-height: 96px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; font-family: inherit; font-size: 16px; font-weight: 700; background: var(--electric); color: #fff; padding: 0.875rem; border-radius: var(--radius); border: none; cursor: pointer; transition: background 0.15s, transform 0.15s; letter-spacing: -0.01em; margin-top: 0.5rem; }
.form-submit:hover { background: #0650d6; transform: translateY(-1px); }
.form-submit.success { background: #10B981; cursor: default; transform: none; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .purpose-grid, .about-story .story-grid { grid-template-columns: 1fr; }
  .why-grid, .flip-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .module-grid, .module-grid.flip { grid-template-columns: 1fr; direction: ltr; }
  .ui-mock { display: none; }
  .mv-grid { grid-template-columns: 1fr; gap: 2rem; }
  .demo-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .why-grid, .flip-grid, .features-grid, .values-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
