/* Layout: paper-white bands with one reading column; device scenes sit beside the copy from tablet width up and under it on phones. Teal means "the automatic part" and nothing else. */
:root {
  --paper: #F6F8FA;
  --panel: #EBF1F6;
  --surface: #FFFFFF;
  --ink: #16365C;
  --ink-2: #4A6380;
  --line: #D3DEE8;
  --auto: #12A594;
  --auto-text: #0A7769;
  --auto-wash: #DCF2EE;
  --wait: #3E5F86;
  --wait-wash: #E3EBF4;
  --warn: #9A4A06;
  --warn-wash: #FBEADB;
  --device: #13202F;
  --device-edge: #13202F;
  --printer: #E4EBF1;
  --printer-edge: #B9C8D6;
  --printer-dark: #13202F;
  --note: #7446BD;
  --note-wash: #F1EAFB;

  --f-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C1828; --panel: #112237; --surface: #152A42; --ink: #E4ECF5; --ink-2: #9FB2C7;
    --line: #26405A; --auto: #2FD1BD; --auto-text: #5BE0CE; --auto-wash: #0F3836;
    --wait: #A9C3E2; --wait-wash: #1A2E46; --warn: #F2A766; --warn-wash: #3A2614;
    --device: #050B13; --device-edge: #2E4660; --printer: #1C3048; --printer-edge: #35506E;
    --printer-dark: #050B13; --note: #C4A5F5; --note-wash: #2A1F40;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0C1828; --panel: #112237; --surface: #152A42; --ink: #E4ECF5; --ink-2: #9FB2C7;
  --line: #26405A; --auto: #2FD1BD; --auto-text: #5BE0CE; --auto-wash: #0F3836;
  --wait: #A9C3E2; --wait-wash: #1A2E46; --warn: #F2A766; --warn-wash: #3A2614;
  --device: #050B13; --device-edge: #2E4660; --printer: #1C3048; --printer-edge: #35506E;
  --printer-dark: #050B13; --note: #C4A5F5; --note-wash: #2A1F40;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--auto); outline-offset: 3px; border-radius: 6px;
}
.mono { font-family: var(--f-mono); }
.wrap {
  max-width: 1180px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 750; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }
.lede { color: var(--ink-2); max-width: 36em; font-size: 18px; }

/* header */
.top { position: relative; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.logo { height: 30px; width: auto; display: block; }
.lg-s-ink { stroke: var(--ink); } .lg-s-auto { stroke: var(--auto); }
.lg-f-ink { fill: var(--ink); font-family: var(--f-body); } .lg-f-auto { fill: var(--auto); }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav-toggle {
  display: none; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.top.nav-open .nav-toggle { border-color: var(--auto); color: var(--auto-text); background: var(--auto-wash); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 600 15px/1 var(--f-body); border-radius: 999px; padding: 13px 20px; border: 0;
  background: var(--ink); color: var(--paper);
}
.nav a.btn { color: var(--paper); }
.btn:hover { filter: brightness(1.12); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.small { padding: 10px 16px; font-size: 14px; }

/* hero */
.hero .wrap { display: grid; gap: 36px; padding-block: 24px 56px; }
.hero-main { display: grid; gap: 28px; align-items: center; }
.hero-main > * { min-width: 0; }
@media (min-width: 720px) { .hero-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; } }
@media (min-width: 1000px) { .hero-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; } }
.hero-copy { display: grid; gap: 20px; }
.eyebrow { font: 600 13px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--auto-text); }
h1 { font-size: clamp(38px, 5.3vw, 66px); line-height: 1; letter-spacing: -0.032em; font-weight: 800; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 14px; color: var(--ink-2); max-width: 44em; }
.play-badge svg { width: 18px; height: 18px; }

.sv-device { fill: var(--device); stroke: var(--device-edge); stroke-width: 1.5; }
@keyframes ripple { 0% { opacity: .55; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes blink { 0% { opacity: 1; } 100% { opacity: .35; } }

.ctl {
  justify-self: end; display: inline-flex; align-items: center; gap: 6px;
  font: 500 13px/1 var(--f-body); color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; cursor: pointer;
}
.ctl:hover { color: var(--ink); }

/* what the browser does: four jobs, in the first view */
.jobs { display: grid; gap: 14px; }
.jobs-label { font: 600 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.jobs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 28px; }
@media (min-width: 520px) { .jobs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .jobs ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.job { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding-block: 16px; border-top: 1.5px solid var(--line); text-decoration: none; height: 100%; align-content: start; }
.job.main { border-top-color: var(--auto); }
.job > span { display: block; min-width: 0; }
.job svg { width: 28px; height: 28px; color: var(--ink); margin-top: 2px; }
.job svg .a { color: var(--auto); }
.job b { display: block; font: 700 16.5px/1.3 var(--f-display); letter-spacing: -0.005em; }
.job span.d { display: block; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; margin-top: 3px; }
.job:hover b { text-decoration: underline; text-underline-offset: 3px; }

.tag { font: 600 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 7px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.tag.beta { color: var(--auto-text); border-color: var(--auto); }

/* bands */
.band { padding-block: 84px; border-top: 1px dashed var(--line); }
.band.alt { background: var(--panel); border-top-color: transparent; }
@media (max-width: 700px) { .band { padding-block: 60px; } }
.head { display: grid; gap: 16px; margin-bottom: 40px; max-width: 780px; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 740px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
@media (min-width: 1000px) { .split { gap: 72px; } }
.split > * { min-width: 0; }

/* the comparison: two phones doing the same job */
.race { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .race { gap: 20px; } }
.lane { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 12px 16px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.lane.us { border-color: var(--auto); box-shadow: 0 0 0 1px var(--auto) inset; }
@media (min-width: 700px) { .lane { padding: 24px 26px 26px; gap: 20px; } }
.lane-head h3 { font-size: 17px; }
.lane-head p { font-size: 13px; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
@media (min-width: 700px) { .lane-head h3 { font-size: 20px; } .lane-head p { font-size: 14px; } }
.lane-body { display: grid; gap: 16px; align-items: start; }
.lane-body > * { min-width: 0; }
@media (min-width: 1000px) { .lane-body { grid-template-columns: 190px minmax(0, 1fr); gap: 30px; } }
.rphone { width: 100%; max-width: 190px; height: auto; display: block; margin: 0 auto; }
.rphone text { font-family: var(--f-body); }
.scr { opacity: 0; transition: opacity .18s ease; }
.scr.on { opacity: 1; }
.tapdot { fill: #12A594; opacity: 0; transform-box: fill-box; transform-origin: center; }
.scr.tapping .tapdot { animation: ripple .5s ease-out; }
.lane-info { display: grid; gap: 14px; }
.score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.score .n { font: 800 38px/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.score .u { font-weight: 600; }
.score .clock { font: 500 13.5px/1 var(--f-mono); color: var(--ink-2); font-variant-numeric: tabular-nums; margin-left: auto; }
.lane.us .score .n { color: var(--auto-text); }
@media (min-width: 700px) { .score .n { font-size: 52px; } .score .clock { font-size: 15px; } }
.rsteps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.4; }
@media (min-width: 700px) { .rsteps { font-size: 15.5px; gap: 10px; } }
.rsteps li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 4px; transition: opacity .25s; }
.rsteps li::before { content: attr(data-n); font: 600 12px/1.7 var(--f-mono); color: var(--ink-2); }
.rsteps li.end { font-weight: 650; }
.rsteps li.end::before { content: "→"; color: var(--auto-text); }
.lane.playing .rsteps li:not(.hit) { opacity: .3; }
.ptick { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.3); transition: opacity .2s ease, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.lane.done .ptick { opacity: 1; transform: none; }
.done-chip { opacity: 0; transition: opacity .25s ease; align-self: center; }
.lane.done .done-chip { opacity: 1; }
.lane.us { transition: box-shadow .3s ease; }
.lane.us.done { box-shadow: 0 0 0 1px var(--auto) inset, 0 0 0 5px var(--auto-wash); }
.race-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; margin-top: 16px; }
.race-foot .ctl { flex: none; margin-left: auto; }

.also { margin-top: 44px; display: grid; gap: 28px; }
@media (min-width: 800px) { .also { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; } }
.also > * { min-width: 0; }
.also p { color: var(--ink-2); }
.dash { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dash li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; color: var(--ink-2); }
.dash li::before { content: "+"; font: 600 15px/1.6 var(--f-mono); color: var(--ink-2); }

/* feature illustrations & shared cards */
.figbox { width: 100%; max-width: 380px; display: grid; gap: 14px; }

.mini-page { background: #FFFFFF; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; color: #13202F; }
.mp-bar { font: 500 12px/1 var(--f-mono); color: #33475E; background: #F1F4F7; margin: 10px; border-radius: 999px; padding: 9px 12px; }
.mp-head { background: #1F4E8A; color: #FFFFFF; font: 700 14px/1 var(--f-body); padding: 12px 14px; }
.mp-body { padding: 14px; display: grid; gap: 10px; }
.mp-btn { background: #1F4E8A; color: #FFFFFF; text-align: center; border-radius: 10px; padding: 11px; font: 700 14px/1 var(--f-body); position: relative; }
.mp-btn::after { content: ""; position: absolute; right: 7%; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: rgba(255,255,255,.35); box-shadow: 0 0 0 6px rgba(255,255,255,.15); }
.fld { display: grid; gap: 5px; font: 600 12px/1.2 var(--f-body); color: #5B6B7D; }
.fld-in { border: 2px solid #1F4E8A; border-radius: 8px; padding: 9px 12px; font: 600 18px/1.2 var(--f-body); color: #13202F; font-variant-numeric: tabular-nums; }
.fld-in::after { content: ""; display: inline-block; width: 2px; height: 18px; background: #1F4E8A; margin-left: 3px; vertical-align: -3px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--f-body); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.ok { color: var(--auto-text); background: var(--auto-wash); }
.chip.wait { color: var(--wait); background: var(--wait-wash); }
.chip.warn { color: var(--warn); background: var(--warn-wash); }

@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: baseline; color: var(--ink-2); }
.ticks li::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--auto); transform: translateY(1px); }

/* history */
.history { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.hrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 18px 20px; border-top: 1px solid var(--line); align-items: center; }
.hrow:first-child { border-top: 0; }
.hrow .fname { font: 500 14px/1.3 var(--f-mono); overflow-wrap: anywhere; }
.hrow .meta { font-size: 13.5px; color: var(--ink-2); grid-column: 1 / -1; font-variant-numeric: tabular-nums; }
.hrow .said { grid-column: 1 / -1; font-size: 15px; }
.hrow.attn { background: linear-gradient(90deg, var(--warn-wash), transparent 70%); }

/* the beta features, one row each */
.betas { display: grid; gap: 18px; }
@media (min-width: 860px) { .betas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bfeat { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; gap: 22px; align-content: start; }
.bfeat > * { min-width: 0; }
@media (min-width: 720px) { .bfeat { padding: 22px; } }
.beta-copy { display: grid; gap: 14px; padding: 0 4px 6px; }
.beta-copy h3 { font-size: 22px; }
.beta-copy > p { color: var(--ink-2); max-width: 34em; }
.beta-copy .ticks { font-size: 15px; }
@media (min-width: 860px) { .beta-fig { min-height: 272px; } }
.beta-fig { order: -1; background: var(--panel); border-radius: 14px; padding: 20px 18px; display: grid; place-items: center; }
.weigh { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 10px 18px 10px 14px; justify-self: start; }
.weigh svg { width: 22px; height: 22px; flex: none; }
.weigh b { font: 700 19px/1 var(--f-body); font-variant-numeric: tabular-nums; }
.weigh span { font-size: 13px; opacity: .8; }
.code { font: 500 12.5px/1.6 var(--f-mono); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-width: 0; flex: 1; overflow-wrap: anywhere; }
.code i { font-style: normal; color: var(--ink-2); }
.hook { display: grid; gap: 10px; }
.hook dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 14px; font: 500 12.5px/1.5 var(--f-mono); }
.hook dt { color: var(--ink-2); }
.hook dd { margin: 0; overflow-wrap: anywhere; }
.hook .post { font: 600 12.5px/1.4 var(--f-mono); overflow-wrap: anywhere; }
.hook .res { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 13px; color: var(--ink-2); }

.askrow { margin-top: 18px; border: 1.5px dashed var(--line); border-radius: 20px; padding: 24px 22px; display: grid; gap: 18px; align-items: center; }
.askrow > * { min-width: 0; }
.askrow p { color: var(--ink-2); }
@media (min-width: 720px) { .askrow { grid-template-columns: minmax(0, 1fr) auto; padding: 28px 32px; } }
.askact { display: grid; gap: 8px; justify-items: start; }
@media (min-width: 720px) { .askact { justify-items: end; } }
.askact .addr { color: var(--ink-2); font-size: 13px; }

/* trust */
.trust-top { display: grid; gap: 32px; align-items: center; margin-bottom: 44px; }
@media (min-width: 760px) { .trust-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; } }
@media (min-width: 1000px) { .trust-top { gap: 64px; } }
.trust-top > * { min-width: 0; }
.flow { width: 100%; height: auto; display: block; max-width: 640px; margin: 0 auto; }
.flow text { font-family: var(--f-body); }
.fl-node { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.fl-phone { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.fl-us { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 5 5; opacity: .8; }
.fl-t { fill: var(--ink); font-weight: 700; font-size: 16px; }
.fl-s { fill: var(--ink-2); font-size: 12.5px; }
.fl-line { stroke: var(--auto); stroke-width: 2.5; fill: none; }
.fl-line.opt { stroke-dasharray: 7 6; }
.fl-check { stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 2 4; stroke-linecap: round; fill: none; }
.fl-arrow { fill: var(--auto); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px 36px; }
@media (min-width: 600px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts li { padding-top: 14px; border-top: 1.5px solid var(--line); }
.facts b { display: block; font-weight: 650; margin-bottom: 2px; }
.facts span { color: var(--ink-2); font-size: 15.5px; }
.link { font-weight: 600; color: var(--auto-text); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* price */
.price-wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 680px) { .price-wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
@media (min-width: 1000px) { .price-wrap { gap: 88px; } }
.price-tag {
  width: 240px; aspect-ratio: 2 / 3; max-width: 100%; background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 22px 20px; display: grid; align-content: space-between; justify-self: center;
  box-shadow: 0 20px 40px -30px rgba(10, 30, 60, .45); position: relative;
}
.price-tag::before { content: ""; position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line); }
.pt-top { font: 600 11px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding-top: 22px; border-bottom: 1.5px solid var(--ink); padding-bottom: 8px; }
.pt-big { font: 800 40px/1 var(--f-display); letter-spacing: -0.03em; }
.pt-sub { font-size: 13px; color: var(--ink-2); }
.pt-rows { display: grid; gap: 6px; font: 500 12px/1.3 var(--f-mono); border-top: 1.5px solid var(--ink); padding-top: 10px; }
.pt-rows div { display: flex; justify-content: space-between; gap: 8px; }

/* limits & faq */
.limits { display: grid; gap: 48px; }
@media (min-width: 760px) { .limits { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; } }
@media (min-width: 1000px) { .limits { gap: 72px; } }
.limits > * { min-width: 0; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font: 650 17px/1.35 var(--f-body); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 24px/1 var(--f-body); color: var(--ink-2); }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 20px; color: var(--ink-2); max-width: 38em; }

/* footer */
footer { background: var(--panel); padding-block: 64px 40px; }
.foot { display: grid; gap: 36px; }
@media (min-width: 560px) { .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot > :first-child { grid-column: 1 / -1; } }
@media (min-width: 900px) { .foot { grid-template-columns: 1.3fr repeat(3, 1fr); } .foot > :first-child { grid-column: auto; } }
.foot h4 { margin: 0 0 12px; font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot ul a { text-decoration: none; }
.foot ul a:hover { text-decoration: underline; }
.foot-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 13px; color: var(--ink-2); }
.addr { font: 500 14px/1.4 var(--f-mono); user-select: all; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
}

/* Source-backed setup guides. */
.guide-body{padding:30px clamp(18px,4vw,48px) 48px;font-size:15px;line-height:1.7}
.guide-body h2{font-size:30px;line-height:1.15;margin-bottom:20px}
.guide-body h3{font-size:23px;margin:32px 0 14px}
.guide-body h4{font-size:18px;margin:22px 0 12px}
.guide-body p,.guide-body ul,.guide-body ol{margin:0 0 16px}
.guide-body li{margin-bottom:8px}
.guide-body a{color:var(--auto-text);overflow-wrap:anywhere}
.guide-body code{font:12px/1.5 var(--f-mono);background:var(--panel);padding:2px 4px;border-radius:3px;overflow-wrap:anywhere}
.guide-body pre{background:var(--panel);padding:16px;border-radius:10px;overflow:auto;font-size:12px}
.guide-body pre code{padding:0;white-space:pre}
.guide-table{overflow:auto;margin:20px 0 28px}
.guide-table table{border-collapse:collapse;width:100%;font-size:13px;min-width:550px}
.guide-table th,.guide-table td{border:1px solid var(--line);padding:10px 12px;vertical-align:top;text-align:left}
.guide-table th{background:var(--panel)}
@media(max-width:500px){.guide-body{font-size:14px}}

/* ---------- shared across pages ---------- */
@media (max-width: 920px) {
  .nav { gap: 10px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; }
  .top.nav-open .nav-links {
    display: grid; gap: 2px; position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 10px max(20px, env(safe-area-inset-left, 0px)) 16px;
    box-shadow: 0 18px 36px -22px rgba(10, 30, 60, .4);
  }
  .nav-links a { padding: 10px 4px; font-size: 16px; }
}
@media (max-width: 420px) {
  .logo { height: 26px; }
  .btn.small { padding: 9px 13px; font-size: 13.5px; }
}
.nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }

/* hero: printers strip under the jobs */
.printers { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; margin-top: 4px; }
@media (min-width: 900px) { .printers { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 36px; align-items: center; padding: 26px 30px; } }
.printers > * { min-width: 0; }
.printers h3 { font-size: 22px; }
.printers p { color: var(--ink-2); font-size: 15.5px; margin-top: 6px; }
.printers .link { display: inline-block; margin-top: 10px; font-size: 15px; }
.ptypes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 560px) { .ptypes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ptypes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ptypes li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 0 0; border-top: 1.5px solid var(--line); }
@media (min-width: 560px) { .ptypes li { grid-template-columns: 1fr; gap: 8px; } }
.ptypes svg { width: 40px; height: 40px; color: var(--ink); }
.ptypes svg .a { color: var(--auto); }
.ptypes b { display: block; font: 700 16px/1.3 var(--f-display); }
.ptypes small { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }

/* ---------- interactive demos ---------- */
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.demo-tabs button {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: 600 15px/1 var(--f-body); padding: 11px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2);
}
.demo-tabs button svg { width: 18px; height: 18px; }
.demo-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.demo-pair { display: grid; gap: 20px; }
@media (min-width: 960px) { .demo-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px 14px 18px; display: grid; gap: 12px; min-width: 0; align-content: start; }
.demo.after { border-color: var(--auto); box-shadow: 0 0 0 1px var(--auto) inset; }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 4px; }
.demo-when { font: 600 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.demo.after .demo-when { color: var(--auto-text); }
.demo-top .ctl { padding: 7px 11px; }
.demo-stage { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }
.demo-cap { min-height: 4.2em; font-size: 15px; line-height: 1.45; text-align: center; color: var(--ink); max-width: 30em; justify-self: center; padding: 0 6px; }
.demo-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: baseline; margin-top: 16px; }

/* the phone. The website inside is always light, like a real web page. */
.phone { width: 272px; flex: none; background: var(--device); border: 1.5px solid var(--device-edge); border-radius: 36px; padding: 9px; box-shadow: 0 24px 44px -30px rgba(10, 30, 60, .55); }
.screen { position: relative; height: 520px; border-radius: 28px; overflow: hidden; background: #FFFFFF; color: #13202F; font: 400 13px/1.35 var(--f-body); display: flex; flex-direction: column; }
.screen button { font-family: var(--f-body); }
.sb { display: flex; justify-content: space-between; padding: 9px 20px 0; font: 600 11px/1 var(--f-body); color: #13202F; }
.sb i { font-style: normal; letter-spacing: 2px; opacity: .7; }
.addr { margin: 8px 10px 8px; background: #F1F4F7; border-radius: 999px; padding: 8px 12px; font: 500 11px/1.1 var(--f-mono); color: #33475E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.addr.app { background: none; font: 700 14px/1.1 var(--f-body); color: #13202F; padding: 6px 6px 4px; }
.view { flex: 1; overflow: hidden; position: relative; }

/* the pretend website */
.s-head { background: #1F4E8A; color: #FFFFFF; font: 700 12.5px/1 var(--f-body); padding: 10px 14px; }
.s-body { padding: 10px 12px; display: grid; gap: 9px; }
.s-title { font: 800 16px/1.2 var(--f-body); }
.s-sub { font-size: 11px; color: #5B6B7D; display: flex; gap: 8px; align-items: center; margin-top: 2px; }
.s-pill { background: #E3F4E8; color: #1F6B3A; border-radius: 999px; padding: 2px 8px; font-weight: 600; font-size: 10px; }
.s-card { border: 1px solid #E2E8EE; border-radius: 10px; overflow: hidden; }
.s-row { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-top: 1px solid #EDF1F5; font-size: 11.5px; }
.s-row:first-child, .s-line:first-child { border-top: 0; }
.s-row span:last-child { color: #5B6B7D; white-space: nowrap; }
.s-cap { font: 700 9.5px/1 var(--f-body); letter-spacing: .06em; color: #6A7A8C; margin-top: 2px; }
.s-btn { appearance: none; border: 0; background: #1F4E8A; color: #FFFFFF; border-radius: 10px; padding: 11px; font: 700 12.5px/1 var(--f-body); cursor: pointer; width: 100%; transition: transform .12s; }
.s-btn.ghost { background: #FFFFFF; color: #1F4E8A; box-shadow: inset 0 0 0 1.5px #1F4E8A; }
.s-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 10px; border-top: 1px solid #EDF1F5; transition: background .3s, box-shadow .3s; }
.s-line b { display: block; font-size: 12px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-line small { display: block; font: 500 9.5px/1.3 var(--f-mono); color: #6A7A8C; margin-top: 1px; }
.s-qty { font-size: 10.5px; color: #5B6B7D; white-space: nowrap; }
.s-pick { border: 1.5px solid #1F4E8A; color: #1F4E8A; background: #FFFFFF; border-radius: 8px; padding: 6px 8px; font: 700 11px/1 var(--f-body); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, transform .12s; }
.s-pick.done { background: #1F6B3A; border-color: #1F6B3A; color: #FFFFFF; }
.s-pick.done::before { content: "✓ "; }
.s-line.hl { background: #FFF4CC; box-shadow: inset 3px 0 0 #D99A00; }
.s-field { display: grid; gap: 5px; font: 600 11px/1.2 var(--f-body); color: #5B6B7D; }
.s-input { appearance: none; text-align: left; border: 1.5px solid #B9C6D4; border-radius: 8px; padding: 9px 12px; font: 600 16px/1.2 var(--f-body); color: #13202F; min-height: 40px; background: #FFFFFF; cursor: text; font-variant-numeric: tabular-nums; }
.s-input.focus { border-color: #1F4E8A; box-shadow: 0 0 0 3px rgba(31, 78, 138, .18); }
.s-input.focus::after { content: ""; display: inline-block; width: 2px; height: 17px; background: #1F4E8A; margin-left: 2px; vertical-align: -3px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.press { transform: scale(.95); }

/* the app's own screens */
.app-body { padding: 6px 14px 14px; display: grid; gap: 12px; align-content: start; }
.app-note { font-size: 12px; color: #4A5B6E; line-height: 1.45; }
.app-h { font: 700 10.5px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #6A7A8C; margin-top: 4px; }
.app-btn { appearance: none; border: 0; background: #16365C; color: #FFFFFF; border-radius: 999px; padding: 11px 16px; font: 700 13px/1 var(--f-body); cursor: pointer; justify-self: start; }
.app-btn.ghost { background: none; color: #16365C; box-shadow: inset 0 0 0 1.5px #C9D2DC; }
.app-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.app-item { appearance: none; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 10px; align-items: center; text-align: left; border: 1px solid #D3DEE8; border-radius: 12px; padding: 11px 12px; background: #FFFFFF; cursor: pointer; color: #13202F; font: 600 13px/1.3 var(--f-body); }
.app-item small { grid-column: 2; font: 500 11px/1.2 var(--f-mono); color: #5B6B7D; }
.app-item svg { grid-row: span 2; width: 26px; height: 26px; color: #16365C; }
.app-field { display: grid; gap: 3px; font-size: 10.5px; color: #5B6B7D; }
.app-field div { border-bottom: 1.5px solid #C9D2DC; font-size: 13px; color: #13202F; padding: 3px 0 5px; overflow-wrap: anywhere; }
.app-field div.mono { font-size: 11.5px; }
.app-switch { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; }
.app-live { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border: 1px solid #D3DEE8; border-radius: 12px; padding: 12px; }
.app-live b { font: 700 24px/1 var(--f-body); font-variant-numeric: tabular-nums; }
.app-result { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: #4A5B6E; border-top: 1px solid #E3E8EE; padding-top: 10px; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #D3DEE8; border-top-color: #16365C; animation: spin .8s linear infinite; flex: none; }
.app-wait { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: #4A5B6E; }
@keyframes spin { to { transform: rotate(360deg); } }
.sw { width: 34px; height: 20px; border-radius: 999px; background: #C9D2DC; position: relative; flex: none; transition: background .2s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #FFFFFF; transition: transform .2s; }
.sw.on, [aria-pressed="true"] .sw { background: #12A594; }
.sw.on::after, [aria-pressed="true"] .sw::after { transform: translateX(14px); }
.mchip { display: inline-flex; align-items: center; gap: 5px; font: 600 10.5px/1 var(--f-body); border-radius: 999px; padding: 5px 8px; color: #0A7769; background: #DCF2EE; white-space: nowrap; }

/* Browsermatic's own layers over the page */
.panel {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; background: #FFFFFF; color: #13202F;
  border-radius: 18px 18px 0 0; box-shadow: 0 -12px 30px -12px rgba(10, 30, 60, .45); border-top: 1px solid #E3E8EE;
  padding: 14px 14px 10px; display: grid; gap: 9px; max-height: 80%; overflow: auto;
  transform: translateY(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.panel.on { transform: none; }
.panel h4 { margin: 0; font: 650 15px/1.25 var(--f-body); }
.panel p { font-size: 11.5px; line-height: 1.45; color: #4A5B6E; white-space: pre-line; }
.p-menu { display: flex; flex-wrap: wrap; gap: 6px; }
.p-menu button { text-align: left; border: 1px solid #C9D2DC; background: #FFFFFF; border-radius: 999px; padding: 8px 11px; font: 600 11.5px/1.15 var(--f-body); color: #13202F; cursor: pointer; }
.p-acts { display: flex; justify-content: flex-end; gap: 2px; flex-wrap: wrap; border-top: 1px solid #E3E8EE; padding-top: 8px; }
.p-acts button { background: none; border: 0; font: 600 12px/1 var(--f-body); color: #4A5B6E; padding: 9px 8px; border-radius: 999px; cursor: pointer; }
.p-acts button.primary { background: #16365C; color: #FFFFFF; padding: 9px 13px; }
.p-doc { display: flex; gap: 12px; align-items: center; font: 500 11px/1.4 var(--f-mono); color: #4A5B6E; overflow-wrap: anywhere; }
.p-doc b { color: #13202F; font-weight: 600; }
.p-doc svg { width: 44px; height: auto; flex: none; border: 1px solid #D3DEE8; display: block; }
.p-radios { display: grid; gap: 4px; }
.p-radios .h { font-size: 11px; color: #5B6B7D; }
.p-radio { display: flex; align-items: center; gap: 9px; font-size: 12.5px; cursor: pointer; }
.p-radio input { accent-color: #16365C; width: 16px; height: 16px; margin: 0; }
.p-radio small { color: #5B6B7D; font-size: 11px; }
.p-toggle { appearance: none; display: flex; align-items: center; gap: 10px; text-align: left; width: 100%; border: 1px solid #D3DEE8; border-radius: 12px; padding: 9px 11px; background: #FFFFFF; cursor: pointer; font: 600 12.5px/1.25 var(--f-body); color: #13202F; }
.p-toggle small { display: block; font-weight: 500; font-size: 10.5px; color: #5B6B7D; }
.p-adv { border-top: 1px solid #E3E8EE; padding-top: 7px; }
.p-adv summary { cursor: pointer; font: 600 12px/1.3 var(--f-body); padding: 0; color: #13202F; }
.p-adv summary::after { content: none; }
.p-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.p-opts label { display: grid; gap: 3px; font-size: 10px; color: #5B6B7D; min-width: 0; }
.p-opts select, .p-opts input { font: 400 11px/1.3 var(--f-body); width: 100%; min-width: 0; border: 1px solid #C9D2DC; border-radius: 6px; padding: 5px; background: #FFFFFF; color: #13202F; }

.strip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: #1B2533; color: #FFFFFF;
  padding: 11px 12px 12px; display: grid; grid-template-columns: 9px minmax(0, 1fr); gap: 5px 9px; align-items: start;
  font-size: 11.5px; line-height: 1.4; transform: translateY(105%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.strip.on { transform: none; }
.strip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8FA3B8; margin-top: 4px; }
.strip.ok::before { background: #2FD1BD; }
.strip.stop::before { background: #F2A766; }
.strip b { font-weight: 600; display: block; }
.strip small { color: #B9C6D4; font-size: 11px; display: block; }
.strip .st-b { grid-column: 2; display: flex; justify-content: flex-end; gap: 6px; margin-top: 4px; }
.strip .st-b button { border: 0; background: none; color: #DCE6F0; font: 600 12px/1 var(--f-body); padding: 8px 10px; border-radius: 999px; cursor: pointer; }
.strip .st-b button.primary { background: #2FD1BD; color: #06302B; }
.strip.kb { bottom: 0; }

.kbd { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: #D3D9E0; transform: translateY(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.kbd.on { transform: none; }
.kbd-bar { background: #EEF1F4; padding: 8px; display: flex; justify-content: center; border-bottom: 1px solid #C2CAD3; min-height: 52px; align-items: center; }
.wchip { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 9px 16px; font: 700 15px/1 var(--f-body); background: #FFFFFF; color: #4A5B6E; cursor: pointer; font-variant-numeric: tabular-nums; box-shadow: 0 1px 0 #B5C0CB; transition: background .2s, color .2s; }
.wchip svg { width: 18px; height: 18px; }
.wchip.settling { color: #6A7A8C; font-weight: 600; }
.wchip.steady { background: #12A594; color: #FFFFFF; box-shadow: none; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px 8px 12px; }
.keys span { background: #FFFFFF; border-radius: 6px; text-align: center; padding: 10px 0; font: 500 16px/1 var(--f-body); color: #13202F; box-shadow: 0 1px 0 #96A3B0; }
.keys span.k2 { background: #BCC5CF; }

/* the pulse that says "tap here" */
.demo .pulse { animation: pulse 1.5s ease-out infinite; }
@keyframes pulse { 0% { outline: 3px solid rgba(18, 165, 148, .75); outline-offset: 0; } 80%, 100% { outline: 3px solid rgba(18, 165, 148, 0); outline-offset: 9px; } }
.demo .nudge { animation: nudge .4s; }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* things beside the phone */
.acc { display: grid; gap: 16px; justify-items: center; align-content: center; width: 176px; }
.acc-name { font: 600 12.5px/1.3 var(--f-body); color: var(--ink-2); text-align: center; }
.prn { display: grid; justify-items: center; }
.prn-body { width: 150px; height: 64px; background: var(--printer); border: 1.5px solid var(--printer-edge); border-radius: 16px; position: relative; margin-top: 6px; z-index: 1; }
.prn-body::before { content: ""; position: absolute; left: 14px; top: 12px; width: 52px; height: 12px; border-radius: 6px; border: 1.5px solid var(--printer-edge); }
.prn-light { position: absolute; right: 14px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--printer-edge); }
.prn.busy .prn-light { background: var(--auto); animation: blink .5s steps(2) 4; }
.prn-slot { position: absolute; left: 24px; right: 24px; bottom: 9px; height: 6px; border-radius: 3px; background: var(--printer-dark); }
.prn-out { width: 104px; height: 126px; overflow: hidden; margin-top: -12px; position: relative; }
.paper { position: absolute; left: 12px; top: 0; width: 80px; transform: translateY(-104%); transition: transform 1.5s cubic-bezier(.45, .05, .55, .95); }
.paper.out { transform: none; }
.paper svg { width: 100%; height: auto; display: block; border: 1px solid var(--printer-edge); background: #FFFFFF; }
.prn-count { font: 500 11.5px/1 var(--f-mono); color: var(--ink-2); min-height: 1em; }

.scanbtn { display: grid; justify-items: center; gap: 8px; width: 168px; padding: 14px 10px 12px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; font: inherit; text-align: center; }
.scanbtn:hover { border-color: var(--ink-2); }
.scanbtn svg { width: 84px; height: 70px; }
.scanbtn .laser { stroke: #E5484D; stroke-width: 2.5; opacity: 0; }
.scanbtn.zap .laser { animation: zap .45s ease-out; }
@keyframes zap { 0%, 60% { opacity: 1; } 100% { opacity: 0; } }
.scanbtn b { font: 700 15px/1.2 var(--f-display); }
.scanbtn small { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.scanbtn .mono { font-size: 11px; }
.scanbtn[disabled] { opacity: .55; cursor: default; }

.scl { display: grid; justify-items: center; width: 168px; }
.scl-disp { display: flex; align-items: baseline; gap: 5px; background: #1B2533; color: #7CF0D9; border-radius: 8px; padding: 8px 12px; min-width: 124px; justify-content: flex-end; position: relative; }
.scl-disp b { font: 600 24px/1 var(--f-mono); font-variant-numeric: tabular-nums; }
.scl-disp small { font: 500 12px/1 var(--f-mono); }
.scl-disp i { position: absolute; left: 9px; top: 7px; font: 600 8px/1 var(--f-mono); font-style: normal; letter-spacing: .06em; color: #7CF0D9; opacity: 0; }
.scl.steady .scl-disp i { opacity: 1; }
.scl-stem { width: 12px; height: 16px; background: var(--printer-edge); }
.scl-box { width: 92px; height: 58px; border-radius: 4px; background: #D9B98A; border: 1.5px solid #B48E5C; position: relative; transform: translateY(-50px); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), opacity .2s; margin-bottom: -2px; }
.scl-box::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 14px; margin-left: -7px; background: rgba(255, 255, 255, .35); }
.scl.loaded .scl-box { transform: none; opacity: 1; }
.scl-plat { width: 150px; height: 12px; border-radius: 4px; background: var(--printer); border: 1.5px solid var(--printer-edge); }
.scl-base { width: 132px; height: 22px; border-radius: 0 0 12px 12px; background: var(--printer); border: 1.5px solid var(--printer-edge); border-top: 0; margin-bottom: 8px; }

.hk { width: 176px; background: var(--panel); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 8px; }
.hk-head b { display: block; font: 700 14px/1.2 var(--f-display); }
.hk-head small { font-size: 12px; color: var(--ink-2); }
.hk-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hk-log li { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; font: 500 10.5px/1.35 var(--f-mono); overflow-wrap: anywhere; animation: pop .35s ease-out; }
.hk-log li.empty { background: none; border-style: dashed; color: var(--ink-2); font-family: var(--f-body); font-size: 12px; animation: none; }
.hk-log .chip { justify-self: start; font-size: 10.5px; padding: 4px 7px; }

/* feature pages */
.fhero .wrap { padding-block: 28px 64px; display: grid; gap: 22px; max-width: 980px; margin-left: auto; margin-right: auto; }
.fhero h1 { font-size: clamp(34px, 4.8vw, 58px); }
.fhero .lede { font-size: 19px; max-width: 38em; }
.fhero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ficon { width: 52px; height: 52px; color: var(--ink); }
.ficon .a { color: var(--auto); }
.cols { display: grid; gap: 40px; }
@media (min-width: 800px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; } }
.cols > * { min-width: 0; display: grid; gap: 16px; align-content: start; }
.cols .ticks li span b { color: var(--ink); }
.race.mini .lane { gap: 14px; }
.race.mini .rsteps li { transition: opacity .3s; }
.race.mini.playing .rsteps li:not(.hit) { opacity: .28; }
.others { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .others { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.others a { display: grid; gap: 8px; height: 100%; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; align-content: start; }
.others a:hover { border-color: var(--ink-2); }
.others svg { width: 32px; height: 32px; }
.others svg .a { color: var(--auto); }
.others b { font: 700 17px/1.25 var(--f-display); }
.others span { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }

/* the opening: a headline whose ending changes with the picture */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero h1 { font-size: clamp(36px, 4.7vw, 60px); }
.tick { display: block; position: relative; height: 2.1em; }
.tick-line { position: absolute; left: 0; top: 0; width: 100%; color: var(--auto-text); opacity: 0; transform: translateY(.4em); transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .35s ease; }
.tick-line.on { opacity: 1; transform: none; }
.tick-line.gone { opacity: 0; transform: translateY(-.4em); }
.hero-show { display: grid; gap: 8px; min-width: 0; }
.hero-show .ctl { justify-self: end; }
.hero-demo { justify-self: center; }
.hero-demo .demo-stage { flex-wrap: nowrap; }
.hero-demo .phone { box-shadow: 0 30px 50px -34px rgba(10, 30, 60, .6); }
.hero-demo .s-btn, .hero-demo .s-input, .hero-demo .wchip { position: relative; overflow: visible; }
.hero-demo .tapping::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(18, 165, 148, .5); animation: ripple .65s ease-out forwards; pointer-events: none; }

/* the scanner over a product: dips, beams, beeps */
.scanbtn { width: 172px; padding: 10px 8px 12px; gap: 4px; }
.scanbtn svg { width: 150px; height: 160px; color: var(--ink); overflow: visible; }
.sc-gun { transform-box: view-box; }
.scanbtn.zap .sc-gun { animation: sc-aim .95s ease-in-out; }
@keyframes sc-aim { 0% { transform: none; } 28%, 66% { transform: translateY(12px); } 100% { transform: none; } }
.sc-beam { fill: #E5484D; opacity: 0; }
.scanbtn.zap .sc-beam { animation: sc-beam .95s; }
@keyframes sc-beam { 0%, 24% { opacity: 0; } 32%, 60% { opacity: .26; } 70%, 100% { opacity: 0; } }
.sc-line { stroke: #E5484D; stroke-width: 2.2; opacity: 0; }
.scanbtn.zap .sc-line { animation: sc-line .95s; }
@keyframes sc-line { 0%, 26% { opacity: 0; } 32% { opacity: 1; } 40% { opacity: .35; } 48%, 58% { opacity: 1; } 68%, 100% { opacity: 0; } }
.sc-flash { opacity: 0; }
.scanbtn.zap .sc-flash { animation: sc-flash .95s; }
@keyframes sc-flash { 0%, 55% { opacity: 0; } 60% { opacity: .35; } 85%, 100% { opacity: 0; } }
.sc-led { fill: #8FA3B8; }
.scanbtn.zap .sc-led { animation: sc-led 1.6s; }
@keyframes sc-led { 0%, 34% { fill: #8FA3B8; } 36%, 85% { fill: #2FD1BD; } 100% { fill: #8FA3B8; } }
.sc-ok { opacity: 0; transform-box: fill-box; transform-origin: center; }
.scanbtn.zap .sc-ok { animation: sc-ok 1.6s; }
@keyframes sc-ok { 0%, 34% { opacity: 0; transform: scale(.3); } 42% { opacity: 1; transform: scale(1.15); } 48%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.scanbtn[disabled] .sc-bars, .scanbtn[disabled] .sc-digits { opacity: .25; }
.hero-demo .scanbtn b { display: none; }

.hero-ctls { display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between; align-items: center; }
.hero-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-pick button { font: 600 13px/1 var(--f-body); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.hero-pick button:hover { color: var(--ink); border-color: var(--ink-2); }
.hero-pick button[aria-pressed="true"] { border-color: var(--auto); color: var(--auto-text); background: var(--auto-wash); }

/* See it in action: the choice on the left, one example on the right */
.see { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .see { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px; } .see-copy { position: sticky; top: 24px; } }
.see > * { min-width: 0; }
.see-copy { display: grid; gap: 18px; align-content: start; }
.see-copy .demo-tabs { margin: 4px 0 0; }
.mode { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); }
.mode button { border: 0; background: none; cursor: pointer; font: 600 14.5px/1 var(--f-body); color: var(--ink-2); padding: 10px 16px; border-radius: 999px; }
.mode button[aria-pressed="true"] { background: var(--auto); color: #FFFFFF; }

/* What it saves: one row per job, linking to each page's comparison */
.savings { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.savings a { display: grid; gap: 16px; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.savings a:hover { border-color: var(--ink-2); }
@media (min-width: 860px) { .savings a { grid-template-columns: 250px minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 20px 26px; } }
.sv-job { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; align-items: center; }
.sv-job svg { width: 32px; height: 32px; grid-row: span 2; }
.sv-job svg .a { color: var(--auto); }
.sv-job b { font: 700 18px/1.2 var(--f-display); }
.sv-job small { color: var(--ink-2); font-size: 14px; line-height: 1.35; }
.sv-bars { display: grid; gap: 8px; min-width: 0; }
.sv-bar { display: grid; grid-template-columns: 100px minmax(0, 1fr) 54px; align-items: center; gap: 10px; font-size: 14px; }
.sv-lbl { color: var(--ink-2); }
.sv-track { height: 12px; border-radius: 999px; background: var(--panel); overflow: hidden; }
.sv-track i { display: block; height: 100%; width: calc(var(--n) * 100% / 6); min-width: 6px; border-radius: 999px; background: var(--ink-2); }
.sv-bar.us .sv-lbl { color: var(--ink); font-weight: 600; }
.sv-bar.us .sv-track i { background: var(--auto); }
.sv-n { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.sv-bar.us .sv-n { color: var(--auto-text); }
.sv-go { justify-self: start; text-decoration: underline; }

/* Help, guide and legal pages */
.doc-band { padding-block: 44px 84px; }
.crumbs { margin: 0 0 14px; font: 600 13px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.crumbs a { color: var(--auto-text); text-decoration: none; }
.doc { padding: 0; max-width: 46em; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; margin-bottom: 18px; }
.doc h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.015em; margin: 44px 0 14px; }
.doc h3 { font-size: 18px; margin: 26px 0 10px; }
.doc-lede { font-size: 18px; color: var(--ink-2); }
.doc-meta { font: 500 13px/1.4 var(--f-mono); color: var(--ink-2); }
.doc summary { font-size: 16px; }
.doc details p { padding-bottom: 20px; margin: 0; }
.guide-list { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.guide-list li { margin: 0; }
.guide-list a { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; }
.guide-list a:hover { border-color: var(--auto); }
.guide-list b { font-size: 16px; }
.guide-list small { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.contact-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 28px 0 8px; }
.contact-cards > div { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; background: var(--surface); }
.contact-cards h2 { margin-top: 0; font-size: 20px; }
.contact-cards p { margin-bottom: 8px; }

/* Beta form */
.beta-steps { margin: 24px 0 28px; padding-left: 22px; display: grid; gap: 6px; }
.beta-form { display: grid; gap: 18px; max-width: 34em; margin-top: 8px; }
.beta-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.beta-form small { font-weight: 400; color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.beta-form .opt { font-weight: 400; color: var(--ink-2); font-size: 13px; }
.beta-form input:not([type=checkbox]), .beta-form select, .beta-form textarea { font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
.beta-form input:focus-visible, .beta-form select:focus-visible, .beta-form textarea:focus-visible { outline: 2px solid var(--auto); outline-offset: 1px; }
.beta-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.beta-form legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.beta-form label.check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.beta-form label.check input { width: 18px; height: 18px; accent-color: var(--auto); }
.beta-form .btn { justify-self: start; }
.beta-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { border: 1px solid var(--line); border-left: 4px solid var(--auto); border-radius: 10px; padding: 14px 16px; margin: 0 0 20px; background: var(--surface); }
.form-note.warn { border-left-color: #E0A030; }
.form-note[hidden], .beta-form[hidden] { display: none; }
