/* EB public site: landing page, Terms and Privacy. Builds on eb.css tokens. */

.site { background: var(--bg); overflow-x: clip; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-dark { background: #121110; color: #f4f1ec; }
.section-dark .lede { color: #a9a39c; }
.section-dark .kicker { color: var(--orange); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange-ink); }
.kicker::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.display {
  font-family: var(--display); font-optical-sizing: auto; font-weight: 400;
  letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance;
}
.display em { font-style: italic; font-weight: 400; }
.h-xl { font-size: clamp(44px, 7.4vw, 92px); }
.h-lg { font-size: clamp(34px, 4.8vw, 60px); }
.h-md { font-size: clamp(26px, 3vw, 36px); }
.section-head { max-width: 760px; }
.section-head .display { margin-top: 18px; }
.section-head .lede { font-size: 17px; }
.section-dark .display em { color: var(--orange); }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 60; transition: background-color 200ms ease, box-shadow 200ms ease, border-color 200ms ease; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(247, 246, 243, 0.85); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line); }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.site-logo { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.site-logo .brand-mark { font-size: 30px; color: var(--ink); }
.site-logo small { font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.site-links { display: flex; align-items: center; gap: 4px; }
.site-links a { padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: background-color 150ms ease, color 150ms ease; }
.site-actions { display: flex; align-items: center; gap: 8px; }
.site-menu-btn { display: none; }
@media (max-width: 900px) {
  .site-links { display: none; }
  .site-menu-btn { display: inline-flex; }
  .site-actions .btn-signin { display: none; }
}
.mobile-menu { position: fixed; inset: 72px 0 auto 0; z-index: 59; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: alert-in 220ms var(--ease-out) both; }
.mobile-menu a { display: block; padding: 14px 8px; font-size: 16px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-2); }
@media (hover: hover) and (pointer: fine) { .site-links a:hover { background: rgba(22, 21, 20, 0.05); color: var(--ink); } }

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 120px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1; z-index: -1;
  background: radial-gradient(closest-side, rgba(252, 76, 0, 0.12), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.hero-pill b { padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { margin-top: 26px; }
.hero h1 em { color: var(--orange-ink); }
.hero .lede { margin-top: 24px; font-size: clamp(16px, 1.4vw, 18px); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 12px; font-weight: 600; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--orange-ink); }

/* Hero entrance (once) */
.hero-in > * { animation: hero-rise 900ms var(--ease-out) both; }
.hero-in > *:nth-child(2) { animation-delay: 80ms; }
.hero-in > *:nth-child(3) { animation-delay: 160ms; }
.hero-in > *:nth-child(4) { animation-delay: 240ms; }
.hero-in > *:nth-child(5) { animation-delay: 320ms; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero-visual { animation: hero-rise 1100ms var(--ease-out) 200ms both; }

/* ---------- Board demo (hero visual) ---------- */

.demo { position: relative; border-radius: 26px; padding: 22px; background: #141312; color: #fff; box-shadow: 0 40px 80px -20px rgba(22, 21, 20, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset; overflow: hidden; }
.demo::after { content: ""; position: absolute; inset: auto -30% -50% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(252, 76, 0, 0.25), transparent); pointer-events: none; }
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: #8f8983; }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2e2b28; }
.demo-status { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); }
.demo-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.demo[data-phase="thinking"] .demo-status i { animation: pulse 1.1s ease-in-out infinite; }
.demo[data-phase="done"] .demo-status { color: #4ade80; }
.demo-q { position: relative; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #1d1b19; border: 1px solid rgba(255, 255, 255, 0.06); font-size: 13px; line-height: 1.6; color: #e9e5df; min-height: 70px; }
.demo-q small { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: #7a746e; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--orange); animation: blink 1s steps(1) infinite; }
.demo-seats { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.seat2 { padding: 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.07); background: #1a1816; transition: border-color 300ms ease, background-color 300ms ease, opacity 300ms ease; opacity: 0.55; }
.seat2 b { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 26px; padding: 0 8px; border-radius: 8px; background: rgba(252, 76, 0, 0.12); color: #fd7033; font-size: 11px; letter-spacing: 0.04em; }
.seat2 p { margin-top: 8px; font-size: 11px; line-height: 1.45; color: #9f9993; min-height: 32px; }
.seat2 .meter { margin-top: 8px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.seat2 .meter i { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 1400ms var(--ease-in-out); }
.seat2.on { opacity: 1; border-color: rgba(252, 76, 0, 0.35); background: #211c18; }
.seat2.on .meter i { transform: scaleX(1); }
.seat2.idle { opacity: 0.35; }
.demo-brief { position: relative; margin-top: 14px; padding: 16px; border-radius: 16px; background: #f7f6f3; color: var(--ink); opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.demo[data-phase="done"] .demo-brief { opacity: 1; transform: none; }
.demo-brief header { display: flex; align-items: center; gap: 10px; }
.demo-brief header span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--orange); }
.demo-brief h4 { margin: 0; font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.demo-brief p { margin-top: 10px; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.demo-brief ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.demo-brief li { display: flex; gap: 8px; }
.demo-brief li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 7px; border-radius: 50%; background: var(--orange); }
.demo-note { margin-top: 12px; text-align: center; font-size: 10px; color: #6f6a64; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Problem ---------- */

.problem-grid { display: grid; gap: 14px; margin-top: 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.problem { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.problem .num { font-family: var(--display); font-size: 44px; font-style: italic; color: var(--orange); line-height: 1; }
.problem h3 { margin-top: 20px; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.problem p { margin-top: 10px; color: var(--muted); line-height: 1.7; }

/* ---------- Board ---------- */

.board-grid { display: grid; gap: 14px; margin-top: 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.exec { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 20px; background: #1a1816; border: 1px solid rgba(255, 255, 255, 0.07); overflow: hidden; }
.exec .role { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(252, 76, 0, 0.12); color: #fd7033; font-weight: 800; letter-spacing: 0.02em; }
.exec h3 { margin-top: 22px; font-family: var(--display); font-size: 24px; font-weight: 400; letter-spacing: -0.02em; color: #fff; }
.exec .focus { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--orange); }
.exec p { margin-top: 14px; font-size: 13px; line-height: 1.7; color: #a9a39c; }
.exec blockquote { margin: auto 0 0; padding-top: 22px; font-family: var(--display); font-style: italic; font-size: 15px; line-height: 1.5; color: #e7e2db; }
.exec blockquote::before { content: "“"; color: var(--orange); }
.exec blockquote::after { content: "”"; color: var(--orange); }
.crown-card { grid-column: 1 / -1; display: grid; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: linear-gradient(135deg, #24180f, #161412 60%); border: 1px solid rgba(252, 76, 0, 0.25); }
@media (min-width: 860px) { .crown-card { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); } }
.crown-orb { display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(252, 76, 0, 0.5); background: #201812; color: var(--orange); animation: breathe 3.2s ease-in-out infinite; }
.crown-card h3 { font-family: var(--display); font-size: clamp(28px, 3vw, 38px); font-weight: 400; letter-spacing: -0.02em; color: #fff; }
.crown-card h3 em { color: var(--orange); }
.crown-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 13px; color: #cfc9c2; }
.crown-card li { display: flex; gap: 10px; }
.crown-card li svg { flex: none; margin-top: 2px; color: var(--orange); }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 30px rgba(252, 76, 0, 0.15); } 50% { box-shadow: 0 0 60px rgba(252, 76, 0, 0.42); } }
@media (hover: hover) and (pointer: fine) {
  .exec { transition: transform 260ms var(--ease-out), border-color 260ms ease; }
  .exec:hover { transform: translateY(-4px); border-color: rgba(252, 76, 0, 0.35); }
}

/* ---------- Steps ---------- */

.steps { position: relative; display: grid; gap: 0; margin-top: 56px; }
.steps::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 1.5px; background: var(--line); }
.steps .fill { position: absolute; left: 23px; top: 10px; width: 1.5px; height: calc(100% - 20px); background: var(--orange); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 22px; padding: 18px 0; }
.step .badge { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); font-weight: 800; font-size: 13px; color: var(--muted); transition: border-color 400ms ease, color 400ms ease, background-color 400ms ease; }
.step.lit .badge { border-color: var(--orange); color: #1a0d05; background: var(--orange); }
.step h3 { margin-top: 12px; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.step p { margin-top: 6px; max-width: 620px; color: var(--muted); line-height: 1.7; }
.step .tag2 { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--surface-3); font-size: 11px; font-weight: 700; color: var(--ink-2); }

/* ---------- Features ---------- */

.feature-grid { display: grid; gap: 1px; margin-top: 56px; border-radius: 22px; overflow: hidden; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature { padding: 30px; background: #fff; }
.feature .ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-ink); }
.feature h3 { margin-top: 18px; font-size: 16px; font-weight: 700; }
.feature p { margin-top: 8px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.feature .soon { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--surface-3); font-size: 10px; font-weight: 700; color: var(--muted); vertical-align: 2px; }
@media (hover: hover) and (pointer: fine) { .feature { transition: background-color 200ms ease; } .feature:hover { background: #fdfcfa; } }

/* ---------- Trust ---------- */

.trust-grid { display: grid; gap: 14px; margin-top: 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.trust { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 24px; border-radius: 18px; background: #1a1816; border: 1px solid rgba(255, 255, 255, 0.07); }
.trust .ico { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(252, 76, 0, 0.12); color: var(--orange); }
.trust h3 { font-size: 15px; font-weight: 700; color: #fff; }
.trust p { margin-top: 6px; font-size: 13px; line-height: 1.7; color: #a9a39c; }

/* ---------- Marquee ---------- */

.marquee { position: relative; margin-top: 48px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row + .marquee-row { margin-top: 14px; }
.marquee-row:nth-child(2) .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.q-card { flex: none; width: min(78vw, 380px); padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.q-card p { font-family: var(--display); font-size: 17px; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }
.q-card span { display: inline-flex; gap: 6px; margin-top: 14px; }
.q-card span b { padding: 3px 8px; border-radius: 6px; background: var(--orange-soft); color: var(--orange-ink); font-size: 10px; letter-spacing: 0.04em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */

.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; list-style: none; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); transition: transform 240ms var(--ease-out), background-color 200ms ease, border-color 200ms ease; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); }
.faq .answer { padding: 0 4px 24px; max-width: 760px; color: var(--muted); line-height: 1.8; animation: alert-in 260ms var(--ease-out) both; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover .plus { border-color: var(--orange); } }

/* ---------- CTA ---------- */

.cta { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px); border-radius: 28px; background: #141312; color: #fff; text-align: center; }
.cta::before { content: ""; position: absolute; left: 50%; top: -60%; width: 900px; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(252, 76, 0, 0.28), transparent); pointer-events: none; }
.cta > * { position: relative; }
.cta .display em { color: var(--orange); }
.cta .lede { margin: 18px auto 0; color: #a9a39c; }
.cta .hero-ctas { justify-content: center; }
.cta .btn:not(.btn-primary) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.2); }

/* ---------- Footer ---------- */

.site-footer { padding: 72px 0 36px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.footer-grid h4 { margin: 0 0 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-grid a { font-size: 13px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.footer-about { max-width: 360px; margin-top: 16px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer-bottom p { max-width: 620px; line-height: 1.6; }
.footer-word { margin-top: 48px; font-family: var(--display); font-size: clamp(64px, 16vw, 220px); font-weight: 400; line-height: 0.85; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px #dcd7d0; user-select: none; }
.footer-word em { font-style: italic; -webkit-text-stroke: 1px var(--orange); }
@media (hover: hover) and (pointer: fine) { .footer-grid a:hover { color: var(--orange-ink); } }

/* ---------- Legal pages ---------- */

.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 40px) 96px; }
.legal .display { margin-top: 16px; }
.legal .meta { margin-top: 16px; font-size: 13px; color: var(--muted); }
.legal .notice { margin-top: 28px; padding: 16px 18px; border-radius: 14px; background: var(--amber-soft); border: 1px solid #f2d6bf; color: var(--amber); font-size: 13px; line-height: 1.6; }
.legal nav.toc { margin-top: 32px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.legal nav.toc ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13px; }
.legal nav.toc a { color: var(--ink-2); text-decoration: none; }
.legal h2 { margin-top: 48px; scroll-margin-top: 96px; font-family: var(--display); font-size: 26px; font-weight: 500; letter-spacing: -0.015em; }
.legal h3 { margin-top: 24px; font-size: 15px; font-weight: 700; }
.legal p, .legal li { font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--orange-ink); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  .site-nav { height: 64px; }
  .site-logo small { display: none; }
  .site-actions .btn-dark { padding: 9px 13px; font-size: 12px; border-radius: 10px; }
  .site-actions .site-menu-btn { padding: 9px; }
  .mobile-menu { top: 64px; }
  .hero-ctas .btn { width: 100%; }
  .demo { padding: 16px; border-radius: 20px; }
  .demo-seats { gap: 8px; }
  .footer-word { -webkit-text-stroke-width: 0.8px; }
}

/* ---------- Crown scene: the Crown takes reports one at a time ---------- */
.crown-scene { grid-column: 1 / -1; max-width: 640px; width: 100%; margin: 0 auto 4px; }
@media (min-width: 860px) { .crown-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.crown-scene svg { display: block; overflow: visible; }
.cs-wires path { stroke: rgba(255, 255, 255, 0.12); stroke-width: 1.5; stroke-dasharray: 4 6; transition: stroke 300ms ease; }
.cs-wires path.on { stroke: rgba(255, 255, 255, 0.4); }
.cs-node rect { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.12); transition: fill 300ms ease, stroke 300ms ease; }
.cs-node text { fill: #94a3b8; font: 600 13px var(--sans); text-anchor: middle; dominant-baseline: central; transition: fill 300ms ease; }
.cs-node.on rect { fill: rgba(255, 255, 255, 0.09); stroke: rgba(255, 255, 255, 0.45); }
.cs-node.on text { fill: #fff; }
.cs-man { stroke: #e2e8f0; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.cs-face { fill: var(--dark-2); }
.cs-eyes circle { fill: #e2e8f0; stroke: none; }
.cs-mouth { stroke-width: 2; }
.cs-crown { fill: var(--orange); stroke: var(--orange); stroke-width: 1.5; }
.cs-tie { fill: var(--orange); stroke: none; }
.cs-head, .cs-eyes { transition: transform 450ms var(--ease-in-out); transform-box: view-box; }
.cs-man.got .cs-crown { animation: cs-glint 420ms var(--ease-out); transform-box: fill-box; transform-origin: center bottom; }
@keyframes cs-glint { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
.cs-packet circle { fill: var(--orange); }
.cs-packet text { fill: #e2e8f0; font: 500 11px var(--mono); text-anchor: middle; }

/* Crown figure: suited silhouette (replaces the stick figure) */
.cs-man { stroke: none; fill: none; }
.cs-desk { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.5; stroke-linecap: round; }
.cs-jacket { fill: #1e293b; stroke: #475569; stroke-width: 1.2; }
.cs-shirt { fill: #e2e8f0; }
.cs-lapel { stroke: #475569; stroke-width: 1.2; fill: none; }
.cs-tie { fill: var(--orange); }
.cs-neck { fill: #94a3b8; }
.cs-face { fill: #cbd5e1; stroke: none; }
.cs-crown { fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linejoin: round; }
.cs-man .cs-head { transform-box: fill-box; transform-origin: 50% 100%; }

/* Crown figure: glasses */
.cs-man .cs-eyes circle, .cs-man .cs-eyes path { fill: none; stroke: #1e293b; stroke-width: 1.4; stroke-linecap: round; }
.cs-man .cs-eyes circle { fill: rgba(148, 163, 184, 0.25); }

/* ---------- Hero demo: mini boardroom (same flow as the app) ---------- */
.dm-stage { position: relative; display: grid; grid-template-columns: 1fr 112px 1fr; grid-template-rows: auto auto; gap: 10px 14px; margin-top: 14px; }
.dm-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.dm-wire { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 1.3; stroke-dasharray: 3 5; transition: stroke 250ms ease; }
.dm-wire.on { stroke: rgba(252, 76, 0, 0.6); animation: bc-flow 900ms linear infinite; }
@keyframes bc-flow { to { stroke-dashoffset: -16; } }
.dm-dot { fill: var(--orange); }
.dm-glyph { fill: #cbd5e1; font: 500 9px var(--mono, monospace); text-anchor: middle; }
.dm-seat { position: relative; z-index: 2; min-height: 78px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; background: rgba(255, 255, 255, 0.035); transition: border-color 250ms ease, background-color 250ms ease; }
.dm-seat b { display: inline-block; padding: 2px 7px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); color: #e2e8f0; font-size: 10.5px; letter-spacing: 0.04em; }
.dm-find { margin: 6px 0 0; color: #cbd5e1; font-size: 11px; line-height: 1.4; min-height: 2.8em; }
.dm-seat.on { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.08); }
.dm-seat.done { border-color: rgba(52, 211, 153, 0.35); }
.dm-seat.done b { color: #6ee7b7; }
.dm-seat[data-i="0"] { grid-column: 1; grid-row: 1; }
.dm-seat[data-i="1"] { grid-column: 3; grid-row: 1; }
.dm-seat[data-i="2"] { grid-column: 1; grid-row: 2; }
.dm-seat[data-i="3"] { grid-column: 3; grid-row: 2; }
.dm-crown { position: relative; z-index: 2; grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 6px 4px 8px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; background: rgba(255, 255, 255, 0.03); text-align: center; transition: border-color 400ms ease, box-shadow 500ms ease, background-color 400ms ease; }
.dm-crown svg { display: block; width: 78px; margin: 0 auto; overflow: visible; }
.dm-crown strong { display: block; margin-top: 2px; color: #fff; font-size: 9px; letter-spacing: 0.14em; }
.dm-crown.lit { border-color: rgba(252, 76, 0, 0.7); background: rgba(252, 76, 0, 0.08); box-shadow: 0 0 0 1px rgba(252, 76, 0, 0.25), 0 0 28px rgba(252, 76, 0, 0.3); }
.dm-crown.lit .cs-crown { filter: drop-shadow(0 0 5px rgba(253, 112, 51, 0.9)); }
.dm-crown .cs-head { transition: transform 380ms cubic-bezier(0.77, 0, 0.175, 1); }
.dm-brief p { min-height: 4.2em; }
.demo[data-phase="thinking"] .dm-brief { opacity: 0.45; }
@media (prefers-reduced-motion: reduce) { .dm-wire.on { animation: none; } }

/* Hero demo brief: dark like the app's answer box */
.demo .dm-brief { margin-top: 14px; padding: 14px 16px; border: 1px solid rgba(252, 76, 0, 0.35); border-radius: 10px; background: rgba(255, 255, 255, 0.04); color: #f1f5f9; opacity: 1; transform: none; }
.demo .dm-brief header { display: flex; align-items: center; gap: 8px; }
.demo .dm-brief header span { color: var(--orange); }
.demo .dm-brief h4 { margin: 0; color: #fff; font-size: 13px; font-weight: 600; }
.demo .dm-brief p { margin: 8px 0 0; color: #e2e8f0; font-size: 12.5px; line-height: 1.55; }
.demo[data-phase="typing"] .dm-brief, .demo[data-phase="thinking"] .dm-brief { opacity: 0.4; }
.dm-stage { grid-template-columns: 1fr 124px 1fr; }
.dm-crown svg { width: 92px; }
/* Hero: less empty space at the top; demo starts level with the headline */
.hero { padding-top: clamp(20px, 3vw, 40px); }
@media (min-width: 1000px) { .hero-grid { align-items: start; } .hero-visual { margin-top: 8px; } }