/* ============================================================
   Nevamis AI design system
   Palette: deep signal navy, near-black, signal green, action orange
   ============================================================ */
:root {
  --navy: #06141D;
  --black: #02080D;
  --signal: #38E6A2;
  --signal-deep: #0E8F6A;
  --action: #FF7A3D;
  --frost: #F1F5F2;
  --ink: #10202A;
  --muted: #40525C;
  --muted-dark: #8FA6A0;      /* muted copy on dark, AA on navy */
  --card: #FFFFFF;
  --line: #D5DEDA;
  --line-dark: rgba(241,245,242,.14);
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--frost); color: var(--ink);
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .wordmark { font-family: "Bricolage Grotesque", sans-serif; }
.mono { font-family: "Spline Sans Mono", monospace; }
a { color: var(--signal-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--action); outline-offset: 3px; border-radius: 3px;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--action); color: #fff;
  padding: 10px 18px; font-weight: 700; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6,20,29,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.wordmark { font-size: 21px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; color: var(--frost); display: inline-flex; align-items: center; gap: 9px; }
.wordmark span { color: var(--signal); }
.main-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.main-nav a { color: var(--frost); text-decoration: none; font-size: 15px; font-weight: 700; opacity: .88; }
.main-nav a:hover { opacity: 1; color: var(--signal); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; text-align: center;
  border-radius: 10px; transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s;
  border: 0; cursor: pointer; font-family: inherit; font-size: 16px;
}
.btn-primary { background: var(--action); color: #221100; padding: 13px 24px; box-shadow: 0 8px 26px -12px rgba(255,122,61,.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -12px rgba(255,122,61,.7); }
.btn-ghost { background: transparent; color: var(--frost); padding: 12px 20px; border: 1px solid var(--line-dark); }
.btn-ghost:hover { border-color: var(--signal); color: var(--signal); }
.btn-light-ghost { background: transparent; color: var(--ink); padding: 12px 20px; border: 1px solid var(--ink); }
.btn-light-ghost:hover { border-color: var(--signal-deep); color: var(--signal-deep); }
.btn-lg { font-size: clamp(17px, 1.6vw, 19px); padding: 17px 32px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); border-bottom: 1px solid var(--line-dark);
    flex-direction: column; align-items: stretch; padding: 14px 24px 22px; gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 6px; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--line-dark); }
  .main-nav .btn { margin-top: 10px; min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; background: none; border: 1px solid var(--line-dark);
    color: var(--frost); border-radius: 8px; min-width: 44px; min-height: 44px; cursor: pointer; font-size: 20px;
  }
}

/* ================= DARK SECTIONS ================= */
.dark { background: linear-gradient(180deg, var(--black) 0%, var(--navy) 100%); color: var(--frost); position: relative; overflow: hidden; }
.dark .grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(241,245,242,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241,245,242,.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.dark .glow {
  position: absolute; pointer-events: none; border-radius: 50%;
  filter: blur(80px); opacity: .35;
  background: radial-gradient(ellipse at center, rgba(56,230,162,.55) 0%, rgba(14,143,106,.25) 45%, transparent 72%);
}
.eyebrow { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--signal); font-weight: 500; }
.dark .muted { color: var(--muted-dark); }

/* ================= HERO ================= */
.hero { position: relative; padding: 72px 0 64px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7vw, 96px); line-height: .98; letter-spacing: -.03em; font-weight: 800; margin: 16px 0 20px; }
.hero .lede { font-size: clamp(18px, 1.9vw, 22px); color: var(--muted-dark); max-width: 46ch; margin-bottom: 30px; }
.hero .lede strong { color: var(--frost); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 14px; }
.hero .proof { font-size: 14.5px; color: var(--muted-dark); }
.hero .proof .mono { color: var(--signal); }
#signalScene { width: 100%; height: auto; display: block; }
.scene-frame {
  border: 1px solid var(--line-dark); border-radius: 16px; overflow: hidden;
  background: rgba(2,8,13,.5); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}
.scene-caption { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--line-dark); font-size: 11.5px; color: var(--muted-dark); }
.scene-caption .live { color: var(--signal); }

/* ================= TRUST STRIP ================= */
.trust-strip { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: rgba(2,8,13,.55); position: relative; z-index: 1; }
.trust-strip ul { list-style: none; padding: 16px 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; }
.trust-strip li { font-size: 13.5px; color: var(--muted-dark); display: flex; align-items: center; gap: 8px; }
.trust-strip li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }

/* ================= GENERIC SECTIONS ================= */
section { padding: 76px 0; }
.section-head { max-width: 62ch; margin-bottom: 38px; }
h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.025em; margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 17.5px; }
.dark .section-head p { color: var(--muted-dark); }
.light { background: var(--frost); }
.light .eyebrow { color: var(--signal-deep); }

/* ================= CALL PROOF ================= */
.call-proof { position: relative; }
.call-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.call-card {
  background: var(--card); color: var(--ink); border-radius: 16px;
  padding: 22px 22px 18px; box-shadow: 0 30px 70px -30px rgba(2,8,13,.55);
}
.call-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.call-head .label { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.call-head .state { margin-left: auto; font-size: 11.5px; color: var(--signal-deep); display: flex; gap: 6px; align-items: center; }
.call-head .state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
#callWave { width: 100%; height: 46px; display: block; margin: 6px 0 4px; }
.player-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.play {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--signal-deep); color: #fff; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; min-height: 44px;
  transition: background .25s, transform .25s var(--ease);
}
.play:hover { background: #0A7353; transform: scale(1.02); }
.timer { font-size: 12.5px; color: var(--muted); }
.line { display: flex; gap: 10px; margin-bottom: 10px; border-radius: 10px; padding: 6px; margin-left: -6px; margin-right: -6px; transition: background .25s; }
.line.speaking { background: #E4EFE9; }
.line .who {
  flex-shrink: 0; font-size: 11px; font-weight: 500; letter-spacing: .08em;
  padding: 3px 8px; border-radius: 6px; height: fit-content; margin-top: 2px;
}
.line.caller .who { background: #E8EDF0; color: var(--muted); }
.line.agent .who { background: #DDF2E9; color: var(--signal-deep); }
.line.speaking .who { background: var(--signal-deep); color: #fff; }
.line p { font-size: 15px; }
.call-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tagchip { font-size: 11.5px; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; background: #E4EFE9; color: var(--signal-deep); font-family: "Spline Sans Mono", monospace; }
.tagchip.warm { background: #FFE9DD; color: #A3441A; }
.foot-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.owner-card {
  background: rgba(2,8,13,.55); border: 1px solid var(--line-dark); border-radius: 16px; padding: 22px;
}
.owner-card h3 { font-size: 18px; margin-bottom: 14px; color: var(--frost); }
.sms {
  background: var(--navy); border: 1px solid var(--line-dark); border-radius: 12px;
  padding: 14px 16px; font-size: 14.5px; color: var(--frost); line-height: 1.55; max-width: 40ch;
}
.sms .mono { color: var(--signal); font-size: 12px; display: block; margin-bottom: 6px; }
.owner-card .note { font-size: 12.5px; color: var(--muted-dark); margin-top: 12px; }
.midcta { margin-top: 34px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.midcta .mono { color: var(--muted-dark); font-size: 14px; }

/* ================= SIGNAL PATH ================= */
.path-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: pathstep; }
.pstep { position: relative; padding: 18px 14px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.pstep::before {
  counter-increment: pathstep; content: counter(pathstep, decimal-leading-zero);
  font-family: "Spline Sans Mono", monospace; font-size: 12px; color: var(--signal-deep);
}
.pstep h3 { font-size: 15.5px; margin: 6px 0 4px; }
.pstep p { font-size: 13.5px; color: var(--muted); }
.pstep.active { border-color: var(--signal-deep); box-shadow: 0 10px 30px -18px rgba(14,143,106,.5); }
@media (max-width: 1024px) { .path-steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .path-steps { grid-template-columns: 1fr 1fr; } }

/* ================= COVERAGE MODES ================= */
.modes [role="tablist"] { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.modes [role="tab"] {
  background: var(--card); color: var(--ink); border: 1px solid var(--line);
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  cursor: pointer; font-family: inherit; min-height: 44px;
}
.modes [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--frost); border-color: var(--ink); }
.mode-panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.mode-panel[hidden] { display: none; }
.mode-panel dl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 22px; margin-top: 8px; }
.mode-panel dt { font-weight: 700; font-size: 15px; }
.mode-panel dd { color: var(--muted); font-size: 15.5px; }
@media (max-width: 640px) { .mode-panel dl { grid-template-columns: 1fr; gap: 2px 0; } .mode-panel dd { margin-bottom: 10px; } }

/* ================= INDUSTRIES ================= */
.ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ind-card {
  position: relative; border-radius: 16px; padding: 26px; overflow: hidden;
  color: var(--frost); min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line-dark);
}
.ind-card .art { position: absolute; inset: 0; }
.ind-card h3 { font-size: 21px; margin-bottom: 6px; position: relative; }
.ind-card p { font-size: 14.5px; color: #C9D8D2; position: relative; max-width: 52ch; }
.ind-card .mono { position: absolute; top: 18px; left: 26px; font-size: 11px; letter-spacing: .14em; color: var(--signal); }
@media (max-width: 820px) { .ind-grid { grid-template-columns: 1fr; } }

/* ================= ROI CALC ================= */
.roi { }
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.roi form { display: grid; gap: 16px; }
.roi label { font-weight: 700; font-size: 15px; display: block; margin-bottom: 6px; }
.roi input {
  width: 100%; padding: 12px 14px; font-size: 16px; border: 1px solid var(--line);
  border-radius: 10px; font-family: inherit; background: var(--card); color: var(--ink);
  min-height: 44px;
}
.roi .hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.roi-out { background: var(--ink); color: var(--frost); border-radius: 16px; padding: 26px; }
.roi-out h3 { font-size: 17px; margin-bottom: 18px; color: var(--frost); }
.roi-out .big { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.02em; color: var(--signal); }
.roi-out .row { padding: 12px 0; border-bottom: 1px solid rgba(241,245,242,.14); }
.roi-out .row:last-of-type { border-bottom: 0; }
.roi-out .lbl { font-size: 13px; color: var(--muted-dark); letter-spacing: .04em; }
.roi-out .disclaimer { font-size: 12.5px; color: var(--muted-dark); margin-top: 14px; }
@media (max-width: 820px) { .roi-grid { grid-template-columns: 1fr; } }

/* ================= PROCESS / OFFERS / FOUNDER ================= */
.proc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: proc; }
.proc div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.proc div::before { counter-increment: proc; content: counter(proc); font-family: "Bricolage Grotesque", sans-serif; font-size: 30px; font-weight: 700; color: var(--signal-deep); display: block; margin-bottom: 8px; }
.proc h3 { font-size: 16.5px; margin-bottom: 4px; }
.proc p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 820px) { .proc { grid-template-columns: 1fr; } }
.assure { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; }
.assure p { color: var(--ink); font-size: 17px; max-width: 46ch; }
.assure .ok { color: var(--signal-deep); font-weight: 700; margin-right: 10px; }
.founder { display: flex; gap: 16px; align-items: center; }
.founder img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid #DDF2E9; flex-shrink: 0; }
.founder strong { color: var(--ink); }
@media (max-width: 820px) { .assure { grid-template-columns: 1fr; } }

/* ================= FAQ ================= */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 16.5px; padding: 18px 34px 18px 2px;
  list-style: none; position: relative; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font-size: 22px; color: var(--signal-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 2px 18px; color: var(--muted); max-width: 68ch; }

/* ================= FINAL CTA / FOOTER ================= */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(32px, 4.6vw, 52px); }
.final-cta p { color: var(--muted-dark); margin: 10px auto 30px; max-width: 52ch; }
.site-footer { background: var(--black); color: var(--muted-dark); font-size: 14px; padding: 40px 0 28px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line-dark); }
.site-footer h4 { color: var(--frost); font-size: 14px; margin-bottom: 10px; }
.site-footer a { color: var(--muted-dark); text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--signal); }
.site-footer .base { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 18px; }
.site-footer .base .right { margin-left: auto; }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ================= MOBILE CALL BAR ================= */
.callbar { display: none; }
@media (max-width: 820px) {
  .callbar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
    justify-content: center; background: var(--action); color: #221100;
    font-weight: 700; font-size: 16px; padding: 15px 10px; border-radius: 12px;
    text-decoration: none; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); min-height: 48px; align-items: center;
  }
  body { padding-bottom: 80px; }
  .hero .wrap, .call-grid { grid-template-columns: 1fr; }
}

/* ================= MOTION ================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .motion-off .reveal { opacity: 1; transform: none; transition: none; }
.motion-toggle-btn {
  background: none; border: 1px solid var(--line-dark); color: var(--muted-dark);
  border-radius: 999px; font-family: "Spline Sans Mono", monospace; font-size: 11px;
  padding: 6px 12px; cursor: pointer; min-height: 32px;
}
.motion-toggle-btn:hover { color: var(--frost); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; }
}

/* ============================================================
   PHASE 2: motion system, Living Signal, simulator, sales
   ============================================================ */

/* -- header states -- */
.site-header { transition: box-shadow .3s var(--ease), background .3s; }
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(2,8,13,.85); background: rgba(2,8,13,.96); }
.main-nav a.active-section { color: var(--signal); opacity: 1; }
.wordmark .pulse-dot { animation: onepulse .9s var(--ease) 1; transform-origin: center; }
@keyframes onepulse { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* -- hero choreography (fast, line-level) -- */
.js .hero [data-stagger] { opacity: 0; transform: translateY(14px); animation: rise2 .55s var(--ease) forwards; }
.js .hero [data-stagger="1"] { animation-delay: .05s; }
.js .hero [data-stagger="2"] { animation-delay: .16s; }
.js .hero [data-stagger="3"] { animation-delay: .28s; }
.js .hero [data-stagger="4"] { animation-delay: .40s; }
@keyframes rise2 { to { opacity: 1; transform: none; } }
.motion-off .hero [data-stagger] { animation: none; opacity: 1; transform: none; }

/* -- hero media slot (video when available, canvas fallback) -- */
.hero-media { position: relative; }
.hero-media video { width: 100%; height: auto; display: block; }
.state-chips { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; }
.state-chip {
  font-family: "Spline Sans Mono", monospace; font-size: 10.5px; letter-spacing: .1em;
  color: var(--muted-dark); border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 4px 10px; background: rgba(2,8,13,.6); transition: color .3s, border-color .3s;
}
.state-chip.on { color: var(--signal); border-color: var(--signal); }
.state-chip.on.warm { color: var(--action); border-color: var(--action); }

/* -- capability rail -- */
.trust-strip { overflow: hidden; }
.js .rail-track { display: flex; gap: 26px; width: max-content; animation: rail 46s linear infinite; padding: 16px 0; }
.js .rail-track:hover, .js .rail-track:focus-within { animation-play-state: paused; }
.motion-off .rail-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
@keyframes rail { to { transform: translateX(-50%); } }
@media (max-width: 820px) { .js .rail-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 16px 24px; } }

/* -- living signal spine -- */
.spine { position: absolute; left: 50%; top: 0; width: 2px; height: 100%; pointer-events: none; transform: translateX(-50%); }
.spine i {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, var(--signal-deep) 30%, var(--signal-deep) 70%, transparent);
  opacity: .18; transform: scaleY(0); transform-origin: top;
  transition: transform .8s var(--ease);
}
.spine.in i { transform: scaleY(1); }
.motion-off .spine i { transform: scaleY(1); }
section { position: relative; }

/* -- call proof phase 2 -- */
.summary-arrive { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.summary-arrive.in { opacity: 1; transform: none; }
.motion-off .summary-arrive, .no-js .summary-arrive { opacity: 1; transform: none; }
.tagchip { opacity: .35; transition: opacity .35s, background .35s; }
.tagchip.lit { opacity: 1; }
.no-js .tagchip, .motion-off .tagchip { opacity: 1; }

/* -- simulator -- */
.sim { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.sim-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.sim-head .mono { font-size: 11.5px; color: var(--muted); letter-spacing: .1em; }
.sim-scenarios { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.sim-scenarios button {
  font-family: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer;
  border: 1px solid var(--line); background: var(--frost); color: var(--ink);
  border-radius: 999px; padding: 8px 14px; min-height: 40px;
}
.sim-scenarios button[aria-pressed="true"] { background: var(--ink); color: var(--frost); border-color: var(--ink); }
.sim-body { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 0; min-height: 380px; }
.sim-col { padding: 18px; }
.sim-col + .sim-col { border-left: 1px solid var(--line); }
.sim-col h3 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-family: "Spline Sans Mono", monospace; font-weight: 500; }
.sim-log { display: grid; gap: 8px; }
.sim-line { font-size: 14px; padding: 8px 10px; border-radius: 9px; background: var(--frost); border: 1px solid var(--line); opacity: .35; transition: opacity .3s; }
.sim-line.on { opacity: 1; }
.sim-line .who { font-family: "Spline Sans Mono", monospace; font-size: 10.5px; color: var(--signal-deep); display: block; margin-bottom: 2px; }
.sim-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sim-chip {
  font-family: "Spline Sans Mono", monospace; font-size: 11px; padding: 5px 10px; border-radius: 999px;
  background: #E4EFE9; color: var(--signal-deep); opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.sim-chip.on { opacity: 1; transform: none; }
.sim-chip.amber { background: #FBEFD8; color: #8A6210; }
.sim-rules { display: grid; gap: 6px; }
.sim-rule { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); padding: 7px 10px; border-radius: 8px; border: 1px solid transparent; }
.sim-rule::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex-shrink: 0; transition: background .3s; }
.sim-rule.pass { color: var(--ink); border-color: #CBE8DB; } .sim-rule.pass::before { background: var(--signal-deep); }
.sim-rule.block { opacity: .55; } .sim-rule.block::before { background: #9AA7A2; }
.sim-rule.urgent { color: #A3441A; border-color: #F6D9C6; } .sim-rule.urgent::before { background: var(--action); }
.sim-rule.amber { color: #8A6210; border-color: #EFDDB0; } .sim-rule.amber::before { background: #D9A514; }
.sim-outcome { display: grid; gap: 10px; }
.sim-out-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 13.5px; color: var(--muted); opacity: .35; transition: opacity .3s, border-color .3s; }
.sim-out-card.on { opacity: 1; border-color: var(--signal-deep); color: var(--ink); }
.sim-out-card.on.warm { border-color: var(--action); }
.sim-out-card .mono { font-size: 10.5px; letter-spacing: .1em; color: var(--signal-deep); display: block; margin-bottom: 4px; }
.sim-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); }
.sim-controls button {
  font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  border: 1px solid var(--line); background: var(--frost); color: var(--ink);
  border-radius: 9px; padding: 9px 16px; min-height: 42px;
}
.sim-controls button.primary { background: var(--signal-deep); border-color: var(--signal-deep); color: #fff; }
.sim-progress { flex: 1; min-width: 140px; height: 6px; background: var(--frost); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.sim-progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--signal-deep), var(--signal)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.sim-elapsed { font-family: "Spline Sans Mono", monospace; font-size: 12px; color: var(--muted); min-width: 78px; text-align: right; }
.sim-static { margin-top: 16px; }
.sim-static summary { cursor: pointer; font-weight: 700; }
@media (max-width: 900px) {
  .sim-body { grid-template-columns: 1fr; }
  .sim-col + .sim-col { border-left: 0; border-top: 1px solid var(--line); }
}

/* -- comparison -- */
.compare { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 14px; overflow: hidden; }
.compare th, .compare td { border: 1px solid var(--line); padding: 12px 14px; font-size: 14.5px; text-align: left; }
.compare thead th { background: var(--ink); color: var(--frost); font-family: "Bricolage Grotesque", sans-serif; }
.compare thead th:last-child { background: var(--signal-deep); }
.compare td.yes { color: var(--signal-deep); font-weight: 700; }
.compare td.no { color: #9AA7A2; }
.compare td.part { color: #8A6210; }
.compare-wrap { overflow-x: auto; }

/* -- build stack -- */
.stack { display: grid; gap: 8px; max-width: 560px; }
.stack .layer {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 16px 12px 34px; font-size: 15px; position: relative;
  opacity: 0; transform: translateX(-14px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.stack .layer::before {
  content: ""; position: absolute; left: 14px; top: 20px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--signal-deep);
}
.stack.in .layer { opacity: 1; transform: none; }
.no-js .stack .layer, .motion-off .stack .layer { opacity: 1; transform: none; }
.stack .layer strong { display: block; font-size: 15.5px; }
.stack .layer span { color: var(--muted); font-size: 13.5px; }

/* -- first week timeline -- */
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: none; }
.week div { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.week .mono { font-size: 10.5px; letter-spacing: .12em; color: var(--signal-deep); }
.week h3 { font-size: 15px; margin: 6px 0 4px; }
.week p { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .week { grid-template-columns: 1fr; } }

/* -- roi value tween -- */
.roi-out .big { transition: transform .2s var(--ease); }
.roi-out .big.tick { transform: scale(1.04); }

/* -- final CTA one-shot ring -- */
.ring-once { animation: ringpulse 1s var(--ease) 1; }
@keyframes ringpulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,61,.55); } 100% { box-shadow: 0 0 0 26px rgba(255,122,61,0); } }

/* -- faq transitions -- */
.faq details p { transition: opacity .22s var(--ease); }
.faq summary::after { transition: transform .22s var(--ease); }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }

.js .hidden-until-js { display: block; }
.no-js .js-only { display: none; }

/* ============================================================
   HERO CALL THEATRE (replaces the rejected signal graph)
   ============================================================ */
.theatre { padding: 22px 22px 16px; min-height: 340px; display: flex; flex-direction: column; color: var(--frost); }
.th-top { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .1em; color: var(--muted-dark); }
.th-biz { margin-left: auto; font-size: 10px; opacity: .75; }
.th-ring-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); flex-shrink: 0; }
.theatre[data-state="0"] .th-ring-dot { animation: thring 1.1s ease-in-out infinite; }
@keyframes thring { 0%,100% { box-shadow: 0 0 0 0 rgba(56,230,162,.6); } 60% { box-shadow: 0 0 0 12px rgba(56,230,162,0); } }
.th-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 18px 4px; }
.th-context { font-size: 14px; color: var(--muted-dark); transition: opacity .4s var(--ease); }
.th-quote {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 600;
  font-size: clamp(19px, 2vw, 24px); line-height: 1.3; letter-spacing: -.01em;
  border-left: 2px solid var(--signal-deep); padding-left: 14px; margin: 0;
  opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.th-quote.on { opacity: 1; transform: none; }
.th-quote.agent { border-left-color: var(--signal); color: var(--frost); }
.th-cards { display: flex; flex-wrap: wrap; gap: 10px; min-height: 62px; }
.th-card {
  background: rgba(2,8,13,.65); border: 1px solid var(--line-dark); border-radius: 11px;
  padding: 10px 14px; display: flex; align-items: center; gap: 9px; font-size: 13.5px;
  opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.th-card.on { opacity: 1; transform: none; }
.th-card .mono { font-size: 9.5px; letter-spacing: .12em; color: var(--signal); }
.th-card.th-book { border-color: rgba(255,122,61,.55); }
.th-card.th-book .mono { color: var(--action); }
.th-chip { font-size: 12px; background: rgba(56,230,162,.12); color: var(--signal); border-radius: 999px; padding: 3px 9px; }
.th-chip.warm { background: rgba(255,122,61,.14); color: var(--action); }
.th-rail { list-style: none; display: flex; gap: 6px; padding: 12px 0 0; margin: 0; border-top: 1px solid var(--line-dark); }
.th-rail li {
  flex: 1; text-align: center; font-family: "Spline Sans Mono", monospace;
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark);
  padding-top: 8px; position: relative;
}
.th-rail li::before { content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 2px; background: var(--line-dark); transition: background .4s; }
.th-rail li.on { color: var(--frost); }
.th-rail li.on::before { background: var(--signal-deep); }
.th-rail li.on.warm::before { background: var(--action); }
@media (max-width: 480px) { .th-biz { display: none; } .theatre { min-height: 300px; } }

/* ============================================================
   FRONT DESK v2: stage rail + idle state
   ============================================================ */
.stage-rail { display: flex; gap: 4px; padding: 12px 18px 0; flex-wrap: wrap; }
.stage-pill {
  font-family: "Spline Sans Mono", monospace; font-size: 10px; letter-spacing: .1em;
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
  background: var(--frost); transition: background .3s, color .3s, border-color .3s;
}
.stage-pill.active { background: var(--ink); color: var(--frost); border-color: var(--ink); }
.stage-pill.done { border-color: var(--signal-deep); color: var(--signal-deep); }
.sim-idle { padding: 26px 18px; text-align: center; }
.sim-idle p { color: var(--muted); max-width: 52ch; margin: 0 auto 16px; }
.sim-idle .ghost-rail { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; opacity: .55; }
.sim-idle .ghost-rail span { font-family: "Spline Sans Mono", monospace; font-size: 10.5px; letter-spacing: .1em; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 6px 12px; }
.pulse-once { animation: onepulse .9s var(--ease) 1; }
.sim-line .who { color: var(--signal-deep); }
.sim-empty-hint { font-size: 12.5px; color: var(--muted); border: 1px dashed var(--line); border-radius: 9px; padding: 10px 12px; }
