:root {
  color-scheme: dark;
  --bg: #12172A;
  --panel: #141B2E;
  --panel-2: #1B2440;
  --line: rgba(244,246,251,0.10);
  --text: #F4F6FB;
  --muted: #A3ABC2;
  --cyan: #33D9EA;
  --cyan-ink: #06222A;
  --gold: #F2B84B;
  --good: #4FD08B;
  --warn: #F2B84B;
  --low: #F07A6A;
  --display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
html, body { min-height: 100%; }
[hidden] { display: none !important; }
.stack { display: flex; flex-direction: column; gap: 20px; }
body {
  background:
    radial-gradient(ellipse 900px 700px at 18% 0%, #2C3A72 0%, transparent 60%),
    radial-gradient(ellipse 900px 800px at 10% 100%, #1E6A62 0%, transparent 58%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
.topbar {
  border-bottom: 1px solid var(--line);
  background: #0E1220;
  padding-block: 10px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.topbar-inner { max-width: 640px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { font-family: var(--display); font-weight: 700; font-size: 16px; }
.brand .c { color: var(--cyan); }
.pill { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(242,184,75,0.4); border-radius: 999px; padding: 4px 10px; }
.wrap {
  max-width: 640px; margin: 0 auto;
  padding-block: 28px 64px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; flex-direction: column; gap: 20px;
}
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
.intro { text-align: center; padding-top: 24px; }
.intro h1 { font-size: 36px; font-weight: 800; line-height: 1.15; }
.intro p { color: #C7CEDE; font-size: 16px; line-height: 1.6; max-width: 46ch; margin: 0 auto; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 520px; margin: 8px auto 0; width: 100%; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px 8px; color: var(--cyan); font-weight: 600; font-size: 14px; cursor: pointer; }
@media (hover: hover) { .tile:hover { border-color: var(--cyan); color: var(--text); } }
.tracker { display: flex; align-items: center; gap: 14px; }
.tracker .label { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dots { display: flex; gap: 10px; flex: 1; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--panel-2); border: 1.5px solid var(--line); }
.dot.done { background: var(--cyan); border-color: var(--cyan); }
.dot.now { background: var(--gold); border-color: var(--gold); width: 10px; height: 10px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.card h2 { font-size: 22px; font-weight: 600; line-height: 1.3; }
.card .sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.choices { display: flex; flex-direction: column; gap: 10px; }
button { font-family: var(--body); }
.choice { text-align: left; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 13px 16px; color: var(--text); font-size: 15px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; }
.choice .d { font-size: 12.5px; color: var(--muted); }
@media (hover: hover) { .choice:hover { border-color: var(--cyan); } }
.choice:focus-visible, .btn:focus-visible, input:focus-visible, a:focus-visible, .tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.speed-entry { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.speed-entry label { font-size: 13.5px; color: var(--muted); flex-basis: 100%; }
.speed-entry input { width: 110px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; color: var(--text); padding: 10px 12px; font-size: 15px; font-family: var(--mono); }
.btn { border: none; border-radius: 8px; padding: 11px 18px; font-size: 14px; font-weight: 600; cursor: pointer; background: var(--cyan); color: var(--cyan-ink); text-decoration: none; display: inline-block; }
.btn.ghost { background: none; border: 1px solid var(--line); color: var(--text); }
.btn.disabled { background: var(--panel-2); color: var(--muted); cursor: default; }
.back { background: none; border: none; color: var(--muted); text-decoration: underline; font-size: 13px; cursor: pointer; padding: 0; align-self: flex-start; }

/* Results */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.summary { display: flex; flex-direction: column; gap: 12px; }
.summary h1 { font-size: 28px; line-height: 1.2; }
.lede { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; color: var(--text); }
.chip b { color: var(--cyan); font-weight: 600; }
.conf { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; }
.conf .level { font-family: var(--display); font-size: 20px; font-weight: 700; }
.conf .num { font-family: var(--mono); color: var(--muted); font-size: 13px; }
.meter { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; }
.conf ul { grid-column: 1 / -1; margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.pick { display: flex; flex-direction: column; gap: 14px; }
.pick-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.pick-head > div { min-width: 0; }
.rank { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 4px; text-transform: none; letter-spacing: 0; }
.tag.budget { color: var(--gold); background: rgba(242,184,75,0.12); }
.tag.equal { color: var(--cyan); background: rgba(51,217,234,0.12); }
.pick h3 { font-size: 19px; font-weight: 600; margin-top: 4px; }
.pick .meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.score { text-align: right; flex-shrink: 0; }
.score .n { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--cyan); line-height: 1; font-variant-numeric: tabular-nums; }
.score .l { font-size: 11.5px; color: var(--muted); }
.fits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.fit { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--muted); }
.fit .row { display: flex; justify-content: space-between; gap: 8px; }
.fit .row span:last-child { font-family: var(--mono); color: var(--text); }
.bar { height: 5px; background: var(--panel-2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--cyan); border-radius: 99px; }
.why { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; gap: 3px; }
.build { background: var(--panel-2); border-radius: 8px; padding: 12px 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.build div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.build .k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.build .v { font-size: 14px; font-weight: 600; }
.pick-foot { display: flex; justify-content: flex-start; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn.buy { background: var(--gold); color: #2A1A00; font-size: 15px; padding: 13px 22px; transition: transform .15s, box-shadow .15s; }
.btn.buy:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(242,184,75,.3); }
.btn.buy.top { font-size: 16px; padding: 15px 26px; }
.buy-at { font-size: 12.5px; color: var(--muted); }
@media (max-width: 480px) { .pick-foot { flex-direction: column; align-items: stretch; text-align: center; gap: 6px; } .btn.buy { text-align: center; } }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.note { font-size: 12.5px; color: var(--muted); line-height: 1.6; border-top: 1px solid var(--line); padding-top: 16px; margin: 0; }
.empty { color: var(--muted); margin: 0; }
@media (max-width: 480px) {
  .fits { grid-template-columns: 1fr; }
  .build { grid-template-columns: 1fr 1fr; }
  .summary h1 { font-size: 24px; }
  .intro h1 { font-size: 30px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .bar i, .meter i { transition: width 0.5s ease; }
}

/* Site shell: header, hero with the quiz embedded, guide content, FAQ, footer. Same dark look as the quiz. */
body { margin: 0; }
a { color: var(--cyan); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 8px; background: var(--panel); padding: 8px 12px; z-index: 9; }
.topbar-inner { max-width: 1240px; }
.brand { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.brand .mark { width: 34px; height: 34px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px #F2B84B; }
.brand .g { color: #F2B84B; }
.nav { display: flex; gap: 4px 16px; flex-wrap: wrap; font-size: 13.5px; }
.nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.nav a[aria-current] { color: var(--text); }
@media (hover: hover) { .nav a:hover { color: var(--text); } }
.page { max-width: 1240px; margin: 0 auto; padding: 24px max(16px, env(safe-area-inset-right, 0px)) 64px max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 48px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); }
/* Quiz pages: one centered column. The quiz is the page; the buying guide sits below it. */
.hero { width: 100%; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.hero-copy { text-align: center; }
.hero-copy .crumbs { text-align: left; }
.hero-copy h1 { font-size: 44px; font-weight: 800; line-height: 1.1; }
.hero-copy .kicker { font-family: var(--display); color: var(--gold); font-weight: 600; font-size: 15px; margin: 0 0 8px; }
.hero-copy p.lead { color: #C7CEDE; font-size: 16.5px; line-height: 1.6; margin: 12px auto 0; max-width: 58ch; }
#app .card { box-shadow: 0 30px 80px rgba(0,0,0,.35); border-color: rgba(51,217,234,.25); }
.trust { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 13.5px; color: var(--muted); }
.guide-head { max-width: 720px; margin: 24px auto 0; width: 100%; border-top: 1px solid var(--line); padding-top: 40px; display: flex; flex-direction: column; gap: 6px; }
.guide-head .kicker { font-family: var(--display); color: var(--gold); font-weight: 600; font-size: 14px; margin: 0; text-transform: uppercase; letter-spacing: .06em; }
.guide-head p { margin: 0; color: var(--muted); }
.guide, .faq { margin-left: auto; margin-right: auto; width: 100%; }
.trust li::before { content: "✓"; color: var(--good); margin-right: 8px; font-weight: 700; }
#app { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 16px; min-width: 0; }
.fit-head { font-size: 26px; line-height: 1.2; }
.guide { max-width: 720px; display: flex; flex-direction: column; gap: 36px; }
.guide section { display: flex; flex-direction: column; gap: 10px; }
.guide h2, .faq h2, .home-sec h2 { font-size: 26px; font-weight: 700; line-height: 1.25; }
.guide p, .guide li, .prose p, .prose li { color: #C7CEDE; font-size: 16px; line-height: 1.65; margin: 0; }
.guide ul, .prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.guide strong { color: var(--text); }
.small { font-size: 13.5px !important; color: var(--muted) !important; }
.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; background: var(--panel-2); }
tr:last-child td { border-bottom: none; }
.models { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-direction: column; gap: 0 !important; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.models li { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.models li:last-child { border-bottom: none; }
.models .m { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.models .m b { color: var(--text); font-weight: 600; font-size: 15px; }
.models .m span { color: var(--muted); font-size: 13px; }
.models .p { white-space: nowrap; text-align: right; }
.buy-link { display: inline-block; background: var(--gold); color: #2A1A00 !important; font-weight: 600; font-size: 13.5px; padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.buy-link:hover { filter: brightness(1.08); }
.faq { max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; }
.faq details p { color: #C7CEDE; line-height: 1.65; margin: 10px 0 0; }
.cta { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 720px; }
.cta p { margin: 0; color: #C7CEDE; }
.more { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.qcard { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 6px; }
.qcard b { font-family: var(--display); font-size: 18px; color: var(--cyan); }
.qcard span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.qcard i { font-style: normal; font-size: 13px; color: var(--gold); margin-top: auto; padding-top: 6px; }
@media (hover: hover) { .qcard:hover { border-color: var(--cyan); } }
.home-hero { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; padding-top: 24px; }
.home-hero h1 { font-size: 44px; font-weight: 800; line-height: 1.1; max-width: 18ch; }
.home-hero p { color: #C7CEDE; font-size: 17px; line-height: 1.6; max-width: 54ch; margin: 0; }
.home-sec { display: flex; flex-direction: column; gap: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.steps div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.steps b { display: block; font-family: var(--display); margin-bottom: 6px; }
.steps b::before { counter-increment: s; content: counter(s) ". "; color: var(--gold); }
.steps p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14.5px; }
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.prose h1 { font-size: 36px; font-weight: 800; }
.prose h2 { font-size: 22px; margin-top: 12px; }
footer { border-top: 1px solid var(--line); background: #0E1220; }
.foot { max-width: 1240px; box-sizing: border-box; margin: 0 auto; padding: 28px 16px 40px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.foot nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.foot p { margin: 0; max-width: 80ch; }
@media (max-width: 860px) {
  .hero { gap: 18px; }
  .hero-copy h1 { font-size: 32px; }
  .hero-copy p.lead { display: none; }
  .trust { display: none; }
  .steps { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: 34px; }
}
@media (max-width: 480px) { .nav { display: none; } .models li { flex-direction: column; align-items: flex-start; } .models .p { text-align: left; } }

/* ---------- Homepage: "Launch Monitor" design ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home { display: block; background: var(--bg); }
.hm-wrap { max-width: 1272px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); box-sizing: border-box; }
.hm-hero { position: relative; overflow: hidden;
  background-image: linear-gradient(rgba(51,217,234,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(51,217,234,.06) 1px, transparent 1px),
    radial-gradient(ellipse 60% 70% at 18% 0%, #2C3A72 0%, transparent 65%), radial-gradient(ellipse 50% 60% at 5% 100%, #1E6A62 0%, transparent 62%);
  background-size: 48px 48px, 48px 48px, 100% 100%, 100% 100%; }
.hm-scan { position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(transparent, rgba(51,217,234,.08), transparent); pointer-events: none; animation: hmScan 5s linear infinite; }
@keyframes hmScan { from { transform: translateY(-120px); } to { transform: translateY(820px); } }
.hm-hero-in { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.hm-copy { flex: 1 1 500px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hm-eyebrow { margin: 0; font-family: var(--mono); color: var(--gold); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.hm-copy h1 { font-family: var(--display); font-weight: 800; font-size: 74px; line-height: 1; letter-spacing: -0.03em; }
.hm-lede { margin: 0; font-size: 19px; line-height: 1.6; color: #C7CEDE; max-width: 50ch; }
.hm-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hm-cta { background: var(--cyan); color: var(--cyan-ink); font-weight: 600; font-size: 16px; padding: 16px 26px; border-radius: 10px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.hm-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(51,217,234,.35); color: var(--cyan-ink); }
.hm-ghost { color: var(--text); font-weight: 600; font-size: 16px; padding: 15px 22px; border-radius: 10px; border: 1px solid rgba(244,246,251,.2); text-decoration: none; }
.hm-ghost:hover { border-color: var(--cyan); color: var(--text); }
.hm-demo-col { flex: 0 1 460px; width: 100%; margin: 0 auto; }
.hm-demo { position: relative; display: block; height: 420px; box-sizing: border-box; padding: 22px; color: var(--text); text-decoration: none;
  background: var(--panel); border: 1px solid rgba(244,246,251,.12); border-radius: 16px; box-shadow: 0 0 0 1px rgba(51,217,234,.08), 0 40px 100px rgba(0,0,0,.5); transition: border-color .3s; }
.hm-demo:hover { border-color: rgba(51,217,234,.5); color: var(--text); }
.hm-demo-bar { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding-bottom: 14px; border-bottom: 1px solid rgba(244,246,251,.1); }
.hm-live { color: var(--good); }
.hm-stageA, .hm-stageB { position: absolute; left: 22px; right: 22px; top: 70px; display: flex; flex-direction: column; }
.hm-stageA { gap: 12px; animation: hmA 9s infinite; }
.hm-stageB { gap: 16px; animation: hmB 9s infinite; }
@keyframes hmA { 0%,40% { opacity: 1; transform: none; } 46%,96% { opacity: 0; transform: translateY(-12px); } 100% { opacity: 1; transform: none; } }
@keyframes hmB { 0%,42% { opacity: 0; transform: translateY(12px); } 48%,94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.hm-mono { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.hm-gold { color: var(--gold); } .hm-cyan { color: var(--cyan); }
.hm-q { font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.3; }
.hm-opt { display: block; border: 1px solid rgba(244,246,251,.1); background: var(--panel-2); border-radius: 8px; padding: 13px 14px; font-size: 15px; }
.hm-pick { animation: hmPick 9s infinite; }
@keyframes hmPick { 0%,14% { background: #1B2440; border-color: rgba(244,246,251,.1); } 20%,42% { background: rgba(51,217,234,.16); border-color: #33D9EA; } 100% { background: #1B2440; } }
.hm-cursor { position: absolute; left: 0; top: 70px; animation: hmCursor 9s infinite; }
@keyframes hmCursor { 0% { transform: translate(220px,180px); opacity: 0; } 6% { opacity: 1; } 16% { transform: translate(170px,22px); } 19% { transform: translate(170px,22px) scale(.85); } 22%,40% { transform: translate(170px,22px); opacity: 1; } 46%,100% { opacity: 0; } }
.hm-row { display: flex; flex-direction: column; gap: 6px; }
.hm-rl { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.hm-track { display: block; height: 8px; background: var(--panel-2); border-radius: 99px; overflow: hidden; }
.hm-bar { display: block; height: 100%; background: var(--cyan); border-radius: 99px; transform-origin: left; animation: hmBar 9s infinite; }
.hm-b2 { animation-delay: .15s; } .hm-b3 { animation-delay: .3s; }
@keyframes hmBar { 0%,46% { transform: scaleX(0); } 62%,94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.hm-chips { display: flex; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; }
.hm-chips span { border: 1px solid rgba(244,246,251,.14); border-radius: 6px; padding: 5px 8px; }
.hm-chips .hm-good { border-color: rgba(79,208,139,.5); color: var(--good); }
.hm-up { opacity: 0; transform: translateY(18px); animation: hmUp .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hm-u1 { animation-delay: .1s; } .hm-u2 { animation-delay: .25s; } .hm-u3 { animation-delay: .4s; }
@keyframes hmUp { to { opacity: 1; transform: none; } }
.hm-blink { animation: hmBlink 1.2s steps(2) infinite; }
@keyframes hmBlink { 50% { opacity: 0; } }
.hm-stats { background: #0E1220; border-top: 1px solid rgba(244,246,251,.1); border-bottom: 1px solid rgba(244,246,251,.1); }
.hm-stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-stats-in div { padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid rgba(244,246,251,.1); }
.hm-stats-in div:last-child { border-right: none; }
.hm-stats-in b { font-family: var(--display); font-size: 44px; font-weight: 800; color: var(--cyan); line-height: 1.1; }
.hm-stats-in span { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.hm-marquee { overflow: hidden; padding: 22px 0; border-bottom: 1px solid rgba(244,246,251,.1); }
.hm-marquee-in { display: flex; gap: 48px; width: max-content; font-family: var(--display); font-size: 26px; font-weight: 600; color: #3A4670; white-space: nowrap; animation: hmMarquee 45s linear infinite; }
.hm-marquee-in .sep { color: var(--gold); }
@keyframes hmMarquee { to { transform: translateX(-50%); } }
.hm-sec { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 28px; }
.hm-sec h2, .hm-work h2 { font-family: var(--display); font-size: 46px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.hm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.htile { position: relative; background: var(--panel); padding: 30px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 14px; min-height: 200px; box-sizing: border-box;
  border: 1px solid rgba(244,246,251,.1); border-radius: 14px; transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s; }
.htile:hover { transform: translateY(-4px); border-color: var(--cyan); background: #18213D; color: var(--text); }
.htile-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--gold); }
.htile .arrow { color: var(--cyan); font-size: 18px; transition: transform .3s; }
.htile:hover .arrow { transform: translate(4px,-4px); }
.htile b { font-family: var(--display); font-size: 28px; font-weight: 700; }
.htile-d { color: var(--muted); line-height: 1.55; }
.hm-band { background: #0E1220; border-top: 1px solid rgba(244,246,251,.1); border-bottom: 1px solid rgba(244,246,251,.1); }
.hm-work { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.hm-points { display: flex; flex-direction: column; gap: 22px; }
.hm-points p { margin: 0; display: flex; gap: 16px; color: #C7CEDE; line-height: 1.65; font-size: 16px; }
.hm-points p > span:first-child { font-family: var(--mono); color: var(--cyan); }
.hm-points b { color: var(--text); }
.hm-faq { padding-top: 88px; padding-bottom: 88px; }
@media (max-width: 860px) {
  .hm-hero-in { padding-top: 40px; padding-bottom: 56px; gap: 36px; }
  .hm-copy h1 { font-size: 46px; }
  .hm-lede { font-size: 17px; }
  .hm-stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-stats-in div:nth-child(2) { border-right: none; }
  .hm-stats-in div:nth-child(-n+2) { border-bottom: 1px solid rgba(244,246,251,.1); }
  .hm-stats-in b { font-size: 34px; }
  .hm-sec, .hm-work, .hm-faq { padding-top: 56px; padding-bottom: 56px; }
  .hm-sec h2, .hm-work h2 { font-size: 34px; }
  .hm-marquee-in { font-size: 20px; }
}
@media (max-width: 400px) { .hm-tiles { grid-template-columns: 1fr; } .hm-demo { height: 440px; } }
/* Reduced motion: no looping or sliding. The demo shows its finished result. */
@media (prefers-reduced-motion: reduce) {
  .hm-scan, .hm-cursor, .hm-stageA { display: none; }
  .hm-stageB, .hm-up, .hm-bar { animation: none; opacity: 1; transform: none; }
  .hm-pick, .hm-blink, .hm-marquee-in { animation: none; }
  .htile, .hm-cta { transition: none; }
}
