/* Vyuha landing · vyuha.merdot.com */

:root {
  --navy: #16233F;
  --gold: #C4A45A;
  --ink: #0F172A;
  --slate: #475569;
  --line: #E2E8F0;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --blue: #1D4ED8;

  --bg: var(--surface);
  --bg-alt: var(--surface-2);
  --fg: var(--ink);
  --muted: var(--slate);
  --card: var(--surface);
  --border: var(--line);
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-glass: rgba(255, 255, 255, 0.72);
  --dark-bg: var(--navy);
  --dark-fg: #F1F5F9;
  --dark-muted: #B4BFD3;
  --dark-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -16px rgba(15, 23, 42, 0.25);
  --radius: 14px;
  --wrap: 1180px;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1226;
    --bg-alt: #101A33;
    --fg: #EEF2F8;
    --muted: #A7B3C9;
    --card: #142040;
    --border: rgba(255, 255, 255, 0.10);
    --header-bg: rgba(11, 18, 38, 0.92);
    --header-glass: rgba(11, 18, 38, 0.66);
    --dark-bg: #0F1A33;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -20px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  --bg: #0B1226;
  --bg-alt: #101A33;
  --fg: #EEF2F8;
  --muted: #A7B3C9;
  --card: #142040;
  --border: rgba(255, 255, 255, 0.10);
  --header-bg: rgba(11, 18, 38, 0.92);
  --header-glass: rgba(11, 18, 38, 0.66);
  --dark-bg: #0F1A33;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -20px rgba(0, 0, 0, 0.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip {
  position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff;
  padding: 8px 12px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D4B66C; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-light:hover { border-color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-primary { background: var(--gold); color: var(--navy); }
  :root:not([data-theme="light"]) .btn-primary:hover { background: #D4B66C; }
}
:root[data-theme="dark"] .btn-primary { background: var(--gold); color: var(--navy); }

/* Header (merdot.com pattern: menu buttons, flat full-width panel, drawer on mobile) */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.scrolled {
  background: var(--header-glass); border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -18px rgba(15, 23, 42, 0.35);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.wordmark { height: 26px; width: auto; }
.wordmark-white { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wordmark-navy { display: none; }
  :root:not([data-theme="light"]) .wordmark-white { display: block; }
}
:root[data-theme="dark"] .wordmark-navy { display: none; }
:root[data-theme="dark"] .wordmark-white { display: block; }

.nav { display: none; align-items: center; gap: 4px; margin-right: auto; margin-left: 24px; }
.menu-trigger {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; border: 0; background: none;
  font: inherit; font-size: 0.92rem; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap;
}
.menu-trigger:hover, .menu-trigger[aria-expanded="true"] { color: var(--fg); }
.chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.menu-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 48px -32px rgba(0,0,0,0.35);
}
.menu-panel[hidden] { display: none; }
.menu-panel-inner { padding-top: 32px; padding-bottom: 48px; }
.menu-title { font-size: 0.82rem; color: var(--muted); }
.menu-links { margin-top: 14px; display: grid; gap: 2px; }
.menu-links a { display: inline-block; padding: 6px 0; font-size: 1.7rem; font-weight: 500; letter-spacing: -0.02em; color: var(--fg); transition: color .15s; }
.menu-links a:hover, .menu-links a:focus-visible { color: var(--muted); }
.header-actions { display: none; align-items: center; gap: 10px; }
.nav-signin { padding: 8px 12px; font-size: 0.9rem; font-weight: 500; color: var(--fg); white-space: nowrap; }
.header-actions .btn { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .header-actions .btn, :root:not([data-theme="light"]) .header-actions .btn:hover { color: var(--navy); } }
:root[data-theme="dark"] .header-actions .btn, :root[data-theme="dark"] .header-actions .btn:hover { color: var(--navy); }

.menu-btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; background: none; border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer;
}
.menu-btn span { display: block; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer: lives inside the sticky header, scrolls on its own */
.drawer { max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--border); background: var(--bg); padding: 8px 0 32px; }
.drawer[hidden] { display: none; }
.drawer-group { border-bottom: 1px solid var(--border); }
.drawer-group summary {
  display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer;
  padding: 14px 4px; font-size: 1rem; font-weight: 600; color: var(--fg);
}
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group[open] summary .chev { transform: rotate(180deg); }
.drawer-group a { display: block; padding: 10px 4px 10px 16px; font-size: 0.98rem; font-weight: 500; color: var(--muted); }
.drawer-group a:last-child { padding-bottom: 16px; }
.drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.drawer-actions .btn { justify-content: center; }
.drawer-mail { text-align: center; font-size: 0.9rem; color: var(--muted); padding: 6px; }

@media (min-width: 1000px) {
  .nav, .header-actions { display: flex; }
  .menu-btn, .drawer { display: none !important; }
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow-gold { color: var(--gold); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); max-width: 760px; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin-top: 16px; }
.sub-light { color: var(--dark-muted); }
h3 { font-size: 1.1rem; }

.cols-3, .cols-4, .features { display: grid; gap: 20px; margin-top: 44px; }
@media (min-width: 720px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(2, 1fr); } .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cols-4 { grid-template-columns: repeat(4, 1fr); } .features { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card p, .feature p, .sec p, .plan-for { color: var(--muted); margin-top: 10px; font-size: 0.97rem; }
.card-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Scenes (three.js canvases; the CSS gradient underneath is the fallback) */
.hero-scene, .band-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.scene-canvas { display: block; width: 100% !important; height: 100% !important; }
.hero-shade, .band-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-shade {
  background:
    linear-gradient(180deg, rgba(22,35,63,0.55) 0%, rgba(22,35,63,0) 30%, rgba(15,23,42,0) 70%, rgba(15,23,42,0.75) 100%),
    linear-gradient(90deg, rgba(22,35,63,0.96) 0%, rgba(22,35,63,0.86) 34%, rgba(22,35,63,0.42) 58%, rgba(22,35,63,0.05) 100%);
}
@media (max-width: 899px) {
  .hero-shade { background: linear-gradient(180deg, rgba(22,35,63,0.92) 0%, rgba(22,35,63,0.82) 60%, rgba(15,23,42,0.6) 100%); }
}
.band-shade { background: linear-gradient(90deg, rgba(22,35,63,0.96) 0%, rgba(22,35,63,0.8) 45%, rgba(22,35,63,0.2) 100%); }
@media (max-width: 899px) { .band-shade { background: rgba(22,35,63,0.86); } }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  background: linear-gradient(170deg, var(--navy) 0%, var(--ink) 100%);
  color: #fff; padding: 88px 0 104px; overflow: hidden; min-height: 78vh; display: flex; align-items: center;
}
@media (min-width: 900px) { .hero { padding: 120px 0 140px; min-height: min(88vh, 860px); } }
.hero-grid { position: relative; z-index: 2; display: grid; width: 100%; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.hero-copy { max-width: 640px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.7rem, 1.5rem + 5vw, 5.5rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; text-shadow: 0 2px 30px rgba(11,18,38,0.6); }
.signal-line {
  display: block; height: 2px; width: 140px; margin-top: 26px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(196,164,90,0) 0%, var(--gold) 30%, #F0DFAE 50%, var(--gold) 70%, rgba(196,164,90,0) 100%);
  background-size: 200% 100%;
}
.hero .lede { margin-top: 24px; font-size: 1.16rem; color: var(--dark-fg); max-width: 540px; text-shadow: 0 1px 18px rgba(11,18,38,0.7); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.hero .btn-ghost:hover { border-color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; color: var(--dark-muted); font-size: 0.9rem; }
.hero-facts strong { color: #fff; font-weight: 600; }

/* Pipeline */
.pipeline-head {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(170deg, var(--navy) 0%, var(--ink) 100%); color: #fff;
  padding: 48px 28px; min-height: 260px;
}
@media (min-width: 768px) { .pipeline-head { padding: 64px 56px; } }
.pipeline-head-copy { position: relative; z-index: 2; max-width: 640px; }
.pipeline { display: grid; gap: 28px; margin-top: 40px; }
@media (min-width: 900px) { .pipeline { grid-template-columns: repeat(5, 1fr); gap: 24px; } }
.stage { position: relative; }
.stage-n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-weight: 700; font-size: 1rem; margin-bottom: 18px;
  box-shadow: 0 0 0 4px var(--bg-alt); position: relative; z-index: 1;
}
.stage h3 { font-size: 1.05rem; }
.stage p { color: var(--muted); margin-top: 8px; font-size: 0.93rem; }
.stage small { display: inline-block; margin-top: 12px; font-size: 0.72rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; }
.stage::before {
  content: ""; position: absolute; background: linear-gradient(90deg, var(--gold), rgba(196,164,90,0.25));
  transform-origin: left center; transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.7,.2,1) .2s;
}
@media (min-width: 900px) {
  .stage:not(:last-child)::before { left: 44px; right: -24px; top: 21px; height: 2px; }
}
@media (max-width: 899px) {
  .stage::before { transform-origin: top center; transform: scaleY(0); background: linear-gradient(180deg, var(--gold), rgba(196,164,90,0.25)); }
  .stage:not(:last-child)::before { left: 21px; top: 44px; bottom: -28px; width: 2px; }
}
.stage.in::before { transform: none; }
@media (prefers-reduced-motion: reduce) { .stage::before { transform: none !important; transition: none; } }

/* Outcomes */
.outcomes { display: grid; gap: 0; margin-top: 8px; }
@media (min-width: 720px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .outcomes { grid-template-columns: repeat(4, 1fr); } }
.outcome { padding: 36px 24px 36px 0; border-top: 1px solid var(--border); }
@media (min-width: 1000px) { .outcome { padding: 44px 28px 44px 0; } }
.outcome-n { display: block; color: var(--gold); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; margin-bottom: 16px; }
.outcome h3 { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem); line-height: 1.2; letter-spacing: -0.02em; }
.audience-note { margin-top: 28px; color: var(--muted); font-size: 0.97rem; }
.audience-note a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* Features */
.feature {
  padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(196,164,90,0.55); }
.feature h3 { font-size: 1.05rem; }
.feature p { font-size: 0.95rem; }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Honest by design */
.section-dark { background: var(--dark-bg); color: var(--dark-fg); }
.honest-band { background: linear-gradient(180deg, #0F1A33 0%, var(--navy) 100%); }
.honest-head { max-width: 720px; }
.honest-list { margin-top: 48px; display: grid; }
.honest-list li {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 30px 0; border-top: 1px solid var(--dark-line);
}
@media (min-width: 768px) { .honest-list li { grid-template-columns: 96px 1fr; padding: 40px 0; } }
.honest-list li:last-child { border-bottom: 1px solid var(--dark-line); }
.honest-n { color: var(--gold); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.1em; padding-top: 10px; }
.honest-list strong { display: block; color: #fff; font-weight: 600; font-size: clamp(1.35rem, 1rem + 1.6vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 820px; }
.honest-list p { margin-top: 12px; color: var(--dark-muted); font-size: 1.02rem; max-width: 640px; }

/* Trust tiles */
.trust-grid { display: grid; gap: 16px; margin-top: 44px; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-tile { padding: 26px 24px; border: 1px solid var(--dark-line); border-radius: var(--radius); background: rgba(255,255,255,0.04); }
.trust-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(196,164,90,0.14); color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.trust-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-tile h3 { font-size: 1.05rem; color: #fff; }
.trust-tile p { margin-top: 8px; color: var(--dark-muted); font-size: 0.95rem; }

/* Security */
.sec { padding: 24px 0 0; border-top: 2px solid var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sec { border-top-color: var(--gold); } }
:root[data-theme="dark"] .sec { border-top-color: var(--gold); }

/* Pricing */
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan-featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.plan h3 { font-size: 1.3rem; }
.plan ul { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { padding-left: 22px; position: relative; font-size: 0.95rem; color: var(--muted); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.plan .btn { width: 100%; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(170deg, var(--navy) 0%, var(--ink) 100%); color: #fff; text-align: center; }
.cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta-inner h2 { max-width: none; font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem); }
.cta-inner .cta-row { justify-content: center; }
.cta-inner .cta-mail { margin-top: 20px; color: var(--dark-muted); font-size: 0.95rem; }
.cta-inner .cta-mail a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { background: #0B1226; color: var(--dark-muted); padding: 56px 0 32px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer-brand img { height: 24px; width: auto; }
.footer-brand p { margin-top: 16px; font-size: 0.92rem; max-width: 360px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-brand .footer-mail { margin-top: 10px; font-size: 0.92rem; }
.footer-brand .footer-mail a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--dark-line); font-size: 0.82rem; color: #7F8CA8; }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* Scenarios */
.scenario-note { display: inline-block; margin-top: 18px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.scenarios { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 900px) { .scenarios { grid-template-columns: repeat(3, 1fr); } }
.scenario { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.scenario-tag { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.scenario h3 { margin-top: 10px; font-size: 1.15rem; }
.scenario dl { margin: 20px 0 0; display: grid; gap: 14px; }
.scenario dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.scenario dd { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }
.scenario dd ul { margin-top: 4px; display: grid; gap: 4px; }
.scenario dd li { padding-left: 16px; position: relative; }
.scenario dd li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Request access */
.access-grid { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 1000px) { .access-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }
.access-aside p { color: var(--muted); margin-top: 12px; }
.access-aside .access-mail { margin-top: 20px; font-weight: 600; }
.access-aside .access-mail a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.access-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
@media (min-width: 768px) { .access-form { padding: 36px; } }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 28px; }
.steps li { position: relative; font-size: 0.78rem; font-weight: 600; color: var(--muted); padding-top: 12px; border-top: 2px solid var(--border); transition: border-color .3s, color .3s; }
.steps li.active { color: var(--fg); border-top-color: var(--gold); }
.steps li.done { border-top-color: var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .steps li.done { border-top-color: var(--gold); opacity: .7; } }
:root[data-theme="dark"] .steps li.done { border-top-color: var(--gold); opacity: .7; }
.steps li span { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.panel[hidden] { display: none; }
.panel h3 { font-size: 1.25rem; }
.panel .hint { color: var(--muted); font-size: 0.93rem; margin-top: 8px; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 13px; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,164,90,0.25); }
.field textarea { min-height: 120px; resize: vertical; }
.field .err { display: none; margin-top: 6px; color: #B91C1C; font-size: 0.84rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field .err { color: #FCA5A5; } }
:root[data-theme="dark"] .field .err { color: #FCA5A5; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B91C1C; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.9rem; font-weight: 500; cursor: pointer; margin: 0; }
.checks input { width: auto; margin: 0; accent-color: var(--navy); }
.checks label.on { border-color: var(--gold); background: rgba(196,164,90,0.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.consent input { width: auto; margin-top: 4px; accent-color: var(--navy); }
.count { font-size: 0.8rem; color: var(--muted); margin-top: 6px; text-align: right; }
.count.ok { color: #15803D; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; padding: 8px 4px; }
.btn-link:disabled { cursor: default; opacity: .6; }
.btn-link:not(:disabled):hover { color: var(--fg); text-decoration: underline; }
.banner { display: none; margin-bottom: 20px; padding: 12px 14px; border-radius: 10px; font-size: 0.92rem; border: 1px solid; }
.banner.show { display: block; }
.banner-error { background: rgba(185,28,28,0.08); border-color: rgba(185,28,28,0.35); color: #991B1B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .banner-error { color: #FECACA; } }
:root[data-theme="dark"] .banner-error { color: #FECACA; }
.banner-info { background: rgba(29,78,216,0.08); border-color: rgba(29,78,216,0.3); color: var(--fg); }
.done-mark { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; color: var(--gold); margin-bottom: 18px; }
.done-mark svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.otp-input { letter-spacing: 0.35em; font-size: 1.2rem; font-variant-numeric: tabular-nums; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .signal-line { animation: signal 3.2s linear infinite; }
  @keyframes signal { from { background-position: 200% 0; } to { background-position: -200% 0; } }
}
