@import url("https://fonts.googleapis.com/css2?family=Ek+Mukta:wght@200;300;400;500;700&display=swap");

:root {
  --bg: #060816;
  --bg-soft: #0a0f1f;
  --surface: rgba(12, 18, 35, 0.72);
  --surface-strong: rgba(13, 20, 40, 0.92);
  --surface-alt: rgba(9, 14, 30, 0.9);
  --text: #eef3ff;
  --text-soft: #b7c3de;
  --text-dim: #7d8ba9;
  --line: rgba(163, 180, 214, 0.16);
  --line-strong: rgba(180, 197, 228, 0.28);
  --accent: #66e3ff;
  --accent-2: #9f7cff;
  --accent-3: #1be39c;
  --approve: #29d17d;
  --refuse: #ff5a76;
  --defer: #ffbf48;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.28);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --container: 1240px;
  --angle: 0deg;
  --opacity: 0.5;
  --cubic: cubic-bezier(0.4, 0.01, 0.165, 0.99);
}

* { box-sizing: border-box; }
@property --opacity {
  syntax: "<number>";
  initial-value: 0.5;
  inherits: false;
}
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes opacityChange {
  to { --opacity: 1; }
}
@keyframes rotate {
  to { --angle: 360deg; }
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(102, 227, 255, 0.12), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(159, 124, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #050814 0%, #07101f 40%, #050912 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0; color: var(--text-soft); }
h1, h2, h3, strong, summary { margin: 0; color: var(--text); }
button { font: inherit; }
code, pre, .section-kicker, .eyebrow, .eyebrow-muted, .panel-heading, .mini-stat-label, .card-tag, .deeper-label {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}

.page-grid,
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.page-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.36), transparent 92%);
}
.page-glow-a {
  background: radial-gradient(circle at 18% 12%, rgba(102, 227, 255, 0.18), transparent 25%);
}
.page-glow-b {
  background: radial-gradient(circle at 85% 18%, rgba(159, 124, 255, 0.16), transparent 26%);
}
body > * { position: relative; z-index: 1; }

.container {
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto;
}
.narrow {
  width: min(900px, calc(100vw - 32px));
  margin: 0 auto;
}
.section { padding: 92px 0; }
.section-divider {
  height: 1px;
  background: var(--line);
  width: 100vw;
  margin-top: 6px;
  margin-left: calc(50% - 50vw);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #031019;
  font-weight: 700;
  z-index: 999;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5000;
  isolation: isolate;
  backdrop-filter: blur(22px);
  background: rgba(5, 9, 20, 0.68);
  border-bottom: 1px solid var(--line);
  transition: max-height 0.45s ease, background-color 0.45s ease, border-color 0.35s ease;
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #061019;
  background: linear-gradient(135deg, var(--accent), #7ff7ff 55%, #a2edff);
  box-shadow: 0 0 36px rgba(102, 227, 255, 0.34);
}
.brand-copy-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-copy {
  font-size: 1rem;
  font-weight: 700;
}
.brand-subcopy {
  font-size: 0.76rem;
  color: var(--text-dim);
}
.site-nav {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  padding: 11px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: 160ms ease;
}
.nav-links a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}
.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--accent), #9dedff);
  color: #03111b;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(102, 227, 255, 0.2);
}
.nav-links .nav-cta:hover { transform: translateY(-1px); }
.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s var(--cubic);
}
.nav-toggle .burger {
  width: 18px;
  height: 9px;
  display: block;
  position: relative;
  margin: 0 auto;
}
.nav-toggle .bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.38s var(--cubic), opacity 0.28s var(--cubic);
}
.nav-toggle .topBar {
  top: 0;
  transform: translateY(0) rotate(0deg);
}
.nav-toggle .btmBar {
  top: 6px;
  transform: translateY(0) rotate(0deg);
}

.panel {
  background: linear-gradient(180deg, rgba(18, 26, 49, 0.78), rgba(10, 16, 31, 0.82));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.page-panel {
  position: relative;
  overflow: hidden;
}
.hero-copy.page-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(18, 26, 49, 0.78), rgba(10, 16, 31, 0.82)) padding-box,
    conic-gradient(
      from var(--angle),
      rgba(102, 227, 255, 0) 0deg,
      rgba(102, 227, 255, var(--opacity)) 60deg,
      rgba(159, 124, 255, var(--opacity)) 130deg,
      rgba(102, 227, 255, 0) 220deg,
      rgba(102, 227, 255, 0) 360deg
    ) border-box;
  pointer-events: none;
  z-index: 0;
  animation: rotate 4s linear infinite, opacityChange 3s infinite alternate;
}
.hero-copy.page-panel::before {
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  background: linear-gradient(180deg, rgba(18, 26, 49, 0.96), rgba(10, 16, 31, 0.96));
  z-index: 1;
}
.hero-copy.page-panel > * {
  position: relative;
  z-index: 2;
}
.page-panel::before,
.summary-panel::before,
.coming-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 227, 255, 0.08), transparent 34%, transparent 65%, rgba(159, 124, 255, 0.08));
  pointer-events: none;
}
.panel-heading,
.card-tag,
.deeper-label,
.mini-stat-label,
.section-kicker,
.eyebrow,
.eyebrow-muted {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
}
.panel-heading,
.mini-stat-label,
.eyebrow-muted { color: var(--text-dim); }
.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.eyebrow {
  color: var(--accent);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(102, 227, 255, 0.22);
  background: rgba(102, 227, 255, 0.08);
}

.hero { padding-top: 54px; }
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 15px;
  align-items: stretch;
}
.hero-copy {
  padding: 34px;
  min-height: 100%;
}
.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 9ch;
}
.hero-lead {
  font-size: clamp(1.18rem, 2vw, 1.46rem);
  color: var(--text);
  max-width: 100%;
  margin-top: 18px;
}
.hero-body {
  margin-top: 14px;
  font-size: 1.02rem;
  max-width: 80ch;
}
.hero-proofline {
  margin-top: 14px;
  color: var(--accent);
  font-weight: 700;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-actions .button {
  text-align: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 11px;
}
.hero-actions .button-primary,
.hero-actions .button-secondary {
  color: #05111b;
  border: 1px solid rgba(102, 227, 255, 0.48);
  background: linear-gradient(135deg, var(--accent), #a2edff);
  box-shadow: 0 10px 26px rgba(102, 227, 255, 0.22);
}
.button {
  min-height: 50px;
  padding: 13px 18px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  color: #05111b;
  background: linear-gradient(135deg, var(--accent), #a2edff);
  box-shadow: 0 12px 30px rgba(102, 227, 255, 0.24);
}
.button-secondary {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
}
.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.mini-stat {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.mini-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 0.97rem;
  line-height: 1.4;
}
.hero-origin {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-small-trust-line {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.hero-small-trust-subline {
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--text-dim);
  text-align: center;
}
.hero-origin-line { font-size: 0.94rem; }
.hero-origin-line-muted { color: var(--text-dim); }
.summary-panel {
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  overflow: hidden;
}
.short-model-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.short-model-line {
  color: var(--text);
  font-weight: 600;
  line-height: 1.45;
}
.hero-flow,
.mech-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-flow {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.flow-node,
.mech-node {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}
.flow-arrow,
.mech-arrow {
  color: var(--text-dim);
  font-weight: 700;
}
.node-gate {
  color: var(--accent);
  border-color: rgba(102, 227, 255, 0.24);
  background: rgba(102, 227, 255, 0.08);
}
.node-safe {
  color: var(--approve);
  border-color: rgba(41, 209, 125, 0.24);
  background: rgba(41, 209, 125, 0.08);
}
.node-danger {
  color: var(--refuse);
  border-color: rgba(255, 90, 118, 0.22);
  background: rgba(255, 90, 118, 0.08);
}
.signal-card { display: flex; flex-direction: column; gap: 10px; }
.signal-label { color: var(--text-dim); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }
.signal-value { font-size: 0.98rem; }
.signal-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.signal-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}
.signal-bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(102, 227, 255, 0.3);
}
.decision-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.decision-card {
  padding: 14px 10px;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid;
}
.approve { color: var(--approve); border-color: rgba(41, 209, 125, 0.24); background: rgba(41, 209, 125, 0.08); }
.refuse { color: var(--refuse); border-color: rgba(255, 90, 118, 0.22); background: rgba(255, 90, 118, 0.08); }
.defer { color: var(--defer); border-color: rgba(255, 191, 72, 0.22); background: rgba(255, 191, 72, 0.08); }

.section-header { margin-bottom: 30px; }
.section-header.compact { margin-bottom: 22px; }
.section-header.center { text-align: center; }
.section-header.center p { margin-inline: auto; }
.section-header h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  max-width: 13ch;
}
.section-header h2.overview-title {
  max-width: none;
  white-space: nowrap;
}
.section-header p {
  margin-top: 14px;
  max-width: 58ch;
  font-size: 1.02rem;
}
.overview-subcopy-card {
  margin-top: 14px;
  text-align: center;
  padding: 20px;
}
.overview-subcopy-card p {
  text-align: left;
}
.overview-subcopy-card p + p {
  margin-top: 10px;
}
.section-header-split {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
}
.section-header-split p { max-width: 45ch; }
.section-kicker {
  display: inline-block;
  color: var(--accent);
  margin-bottom: 10px;
}
.card-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  color: var(--accent);
  border: 1px solid rgba(102, 227, 255, 0.2);
  background: rgba(102, 227, 255, 0.08);
  margin-bottom: 16px;
}

.feature-grid {
  display: grid;
  gap: 18px;
}
.feature-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card {
  padding: 24px;
  min-height: 100%;
}
.feature-card h3,
.proof-card h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  margin-bottom: 10px;
}

.accent-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.upgraded-mechanism-grid,
.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.mechanism-card {
  padding: 24px;
}
.mechanism-card-accent {
  border-color: rgba(102, 227, 255, 0.2);
  box-shadow: 0 20px 50px rgba(102, 227, 255, 0.08);
}
.flow-block {
  margin: 18px 0 0;
  padding: 20px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.18);
  overflow-x: auto;
  color: var(--text);
}
.mechanism-copy { margin-top: 14px; }
.mechanism-bottom-line { margin-top: 30px; margin-left: 18px; }

.fit-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}
.fit-card {
  padding: 24px;
  min-height: 100%;
}
.fit-card-center {
  min-width: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(102, 227, 255, 0.12), rgba(159, 124, 255, 0.12));
}
.fit-gate-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.stack-list span,
.signal-strip span,
.ancestry-chips span {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.section-page-shell {
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 14, 27, 0.82), rgba(11, 17, 30, 0.82));
  box-shadow: var(--shadow);
}
.page-header {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}
.demo-page-header {
  display: block;
}
.demo-page-header p {
  max-width: 92ch !important;
}
.page-header h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 13ch;
}
.page-header p {
  max-width: 48ch;
}
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.demo-grid .demo-full { grid-column: 1 / -1; }
.demo-small-note {
  margin: 4px 0 0 15px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.demo-small-link-label {
  margin: 8px 0 0 15px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.demo-small-link {
  margin-left: 15px;
}
.page-stack { display: grid; gap: 18px; }
.quick-steps,
.code-shell,
.media-card,
.checklist,
.coming-panel,
.confidence-card {
  padding: 22px;
}
.step-list { display: grid; gap: 14px; margin-top: 16px; }
.step-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
}
.step-item strong {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #061019;
  background: linear-gradient(135deg, var(--accent), #9dedff);
}
.code-header-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.code-label,
.media-card-header {
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.copy-button {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text-soft);
}
.copy-button:hover { background: rgba(255,255,255,0.07); color: var(--text); }
.code-shell pre,
.terminal-shot pre {
  margin: 0;
  overflow-x: auto;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.8;
}
.terminal-shot {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(2, 6, 14, 0.92);
}
.terminal-topbar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.terminal-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-topbar span:nth-child(1) { background: #ff5f57; }
.terminal-topbar span:nth-child(2) { background: #febc2e; }
.terminal-topbar span:nth-child(3) { background: #28c840; }
.terminal-shot pre { padding: 16px; }
.media-caption { margin-top: 14px; }
.confidence-card .signal-strip { margin-top: 14px; }
.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checklist { display: grid; gap: 8px; }
.check-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.check-row span:last-child { color: var(--text); font-weight: 700; }

.proof-grid,
.deeper-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.proof-card,
.deeper-link {
  padding: 24px;
  min-height: 100%;
}
.deeper-link {
  position: relative;
  overflow: hidden;
  transition: 180ms ease;
}
.deeper-link::after {
  content: "→";
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-size: 1.2rem;
  color: var(--accent);
}
.deeper-link:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 227, 255, 0.24);
  box-shadow: 0 20px 44px rgba(102, 227, 255, 0.08);
}
.deeper-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--accent);
}
.deeper-link strong {
  display: block;
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.download-subnav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.text-link {
  color: var(--accent);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.04rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.1rem;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 10px; }

.coming-panel { padding: 30px; }
.ancestry-copy { max-width: 58ch; margin-inline: auto; }
.ancestry-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.site-footer {
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  background: rgba(5, 9, 18, 0.72);
  margin-top: auto;
}
.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
}
.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.footer-subnote,
.footer-note { margin-top: 10px; }
.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--text-soft); }
.footer-links a:hover,
.text-link:hover { color: var(--text); }

.is-disabled,
.is-disabled:hover {
  opacity: 0.42;
  pointer-events: none;
  cursor: not-allowed;
}
.pending-note {
  display: block;
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 0.84rem;
}

@media (max-width: 1100px) {
  .hero-shell,
  .two-col,
  .mechanism-grid,
  .proof-grid,
  .deeper-links,
  .feature-grid-three,
  .fit-layout {
    grid-template-columns: 1fr;
  }
  .section-header-split,
  .page-header,
  .footer-shell {
    flex-direction: column;
    align-items: start;
  }
  .hero-meta-grid,
  .decision-row {
    grid-template-columns: 1fr;
  }
  .fit-card-center { min-width: 0; }
}

@media (max-width: 820px) {
  body.nav-menu-open {
    overflow: hidden;
  }
  .site-header {
    max-height: 80px;
    overflow: hidden;
  }
  body.nav-menu-open .site-header {
    max-height: 100dvh;
    background: rgba(0, 0, 0, 0.96);
    border-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
  }
  .nav-shell {
    min-height: 80px;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5600;
  }
  .nav-toggle[aria-expanded="true"] {
    transform: rotate(90deg);
  }
  .nav-toggle[aria-expanded="true"] .topBar {
    transform: translateY(4px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .btmBar {
    transform: translateY(1px) rotate(-45deg);
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 6px 48px 36px;
    border-radius: 0;
    background: #000;
    border: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.36s ease;
    z-index: 5500;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links li {
    width: 100%;
    margin-top: 4px;
    border-bottom: 1px solid #252525;
    transform: scale(1.12) translateY(-24px);
    opacity: 0;
    transition: transform 0.45s var(--cubic), opacity 0.5s var(--cubic);
  }
  .nav-links.open li {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  .nav-links.open li:nth-child(1) { transition-delay: 0.2s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.27s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.34s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.41s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.48s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.55s; }
  .nav-links.open li:nth-child(7) { transition-delay: 0.62s; }
  .nav-links a {
    width: 100%;
    padding: 10px 0;
    border-radius: 0;
    font-family: "Ek Mukta", sans-serif;
    font-size: 1.5rem;
    line-height: 1.75;
    font-weight: 300;
    color: #fff;
    background: transparent;
  }
  .nav-links a:hover {
    background: transparent;
  }
  .nav-links .nav-cta {
    color: #fff;
    box-shadow: none;
    background: transparent;
    font-weight: 300;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
  }
  .hero-copy,
  .summary-panel,
  .section-page-shell,
  .coming-panel,
  .feature-card,
  .proof-card,
  .deeper-link,
  .mechanism-card,
  .fit-card,
  .quick-steps,
  .code-shell,
  .media-card,
  .checklist,
  .confidence-card { padding: 20px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .container,
  .narrow { width: min(var(--container), calc(100vw - 20px)); }
  .hero { padding-top: 30px; }
  .page-header h2,
  .section-header h2 { max-width: none; }
  .section-header h2.overview-title {
    white-space: normal;
  }
  .brand-copy {
    font-size: 0.9rem;
  }
  .nav-links {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nav-links a {
    font-size: 1.24rem;
  }
  .check-row {
    flex-direction: column;
    align-items: start;
  }
}
