/* Syrn (kollidelabs.com/syrn), 2026-10-28.
   Same family as Revok and noteframe: Instrument Sans, cool paper, one ink, the shared light/black switch.
   Syrn's own note: a drawn curve. The ink is a deep slate-teal, the accent a quiet sea blue, and the signal orange appears in exactly
   two places, the playhead and the launch price, the way the plug-in itself uses it. The loud moment is the strip that lets you scrub a
   bar of music across four effects and read their mix; everything around it stays calm. */
@font-face { font-family: "Instrument"; src: url("/assets/syrn/instrument-sans-2062754e5cd6.woff") format("woff"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }

:root {
  --paper: #e7ebea;
  --paper-2: #dce2e1;
  --paper-3: #cfd7d6;
  --raise: #f2f5f4;
  --ink: #12262b;
  --ink-2: #485f64;
  --ink-3: #7b9095;
  --line: rgba(18, 38, 43, .14);
  --line-2: rgba(18, 38, 43, .3);
  --accent: #1b7f8c;
  --signal: #d9622b;
  --night: #0b1519;
  --night-2: #13222a;
  --btn-hover: #1d4a52;
  --sans: "Instrument", "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --pad: clamp(18px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ok: #1f7a55; --err: #b3261e;
  --l1: #3b9ea8; --l2: #8271cf; --l3: #d89a3d; --l4: #5b84d4;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #060b0d; --paper-2: #0f181b; --paper-3: #172327; --raise: #0c1316;
  --ink: #e6eef0; --ink-2: #a3b5b8; --ink-3: #6b7f83;
  --line: rgba(230, 238, 240, .12); --line-2: rgba(230, 238, 240, .28);
  --accent: #7fd0d9; --signal: #f08a55; --night: #000; --night-2: #0b1316; --btn-hover: #fff;
  --ok: #83d4b4; --err: #ff8f87;
  --l1: #6fcad3; --l2: #a898ee; --l3: #f0b968; --l4: #86a8f0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); overflow-x: clip; text-size-adjust: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; min-width: 300px; overflow-x: clip; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.03em; word-spacing: .05em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; padding: 8px 12px; background: var(--paper); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }
.fine { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.center { text-align: center; }
s { color: var(--ink-3); text-decoration-thickness: 1.5px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 8px; background: var(--ink); color: var(--paper); font: 600 16px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; transition: background .15s, transform .1s, opacity .15s; }
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; border-radius: 7px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.btn-quiet { background: var(--paper-2); color: var(--ink); }
.btn-quiet:hover { background: var(--paper-3); }
.btn-danger { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-danger:hover { background: var(--paper-2); }
.btn-google { background: #fff; color: #1d2224; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); height: 50px; }
.btn-google:hover { background: #f4f6f6; }
.btn-google .ic { stroke: none; width: 18px; height: 18px; }
.btn .was { font-weight: 500; opacity: .6; text-decoration: line-through; margin-left: 2px; }
.link { color: var(--ink); border-bottom: 1.5px solid var(--line-2); padding-bottom: 2px; font-weight: 500; transition: border-color .15s; }
.link:hover { border-color: var(--ink); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled, .nav.menu-open { border-color: var(--line); }
.nav-in { height: var(--nav-h); max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 10px; flex: none; }
.brand-word { font-weight: 700; font-size: 25px; letter-spacing: -.045em; }
.brand-prod { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.nav-links { display: none; align-items: center; gap: 22px; margin-left: 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a { padding: 8px 0; transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-sep { width: 1px; height: 18px; background: var(--line-2); }
.nav-act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.theme { display: none; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.theme:hover { background: var(--paper-2); color: var(--ink); }
.theme-dot { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px var(--ink); }
.nav-acc { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 7px; font-size: 14.5px; font-weight: 500; }
.nav-acc:hover { background: var(--paper-2); }
.avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; }
.nav-bag { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; }
.nav-bag:hover { background: var(--paper-2); }
.bag-count { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; }
.nav-buy { display: none; }
.nav-menu { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; }
.nav-menu:hover { background: var(--paper-2); }
.nav-menu .ic-x, .nav.menu-open .nav-menu .ic-burger { display: none; }
.nav.menu-open .nav-menu .ic-x { display: block; }
.menu { border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; }
.menu-in { max-width: var(--max); margin: 0 auto; padding: 10px var(--pad) 24px; display: grid; }
.menu a, .menu button.mi { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 19px; font-weight: 500; letter-spacing: -.02em; border-bottom: 1px solid var(--line); text-align: left; }
.menu .mi-sub { font-size: 12.5px; color: var(--ink-3); font-weight: 500; letter-spacing: 0; text-transform: none; }
.menu-cta { margin-top: 18px; }
@media (min-width: 560px) { .nav-buy { display: inline-flex; } }
@media (min-width: 760px) { .theme { display: inline-flex; } }
@media (min-width: 1060px) { .nav-links { display: flex; } .nav-menu, .menu { display: none !important; } }
@media (max-width: 420px) { .brand-prod { display: none; } .nav-in { gap: 10px; } .nav-acc .avatar + span { display: none; } .nav-act { gap: 4px; } }

/* hero */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(34px, 6vw, 84px) var(--pad) 0; }
.hero-h { font-size: clamp(42px, 7.2vw, 108px); line-height: .98; letter-spacing: -.042em; word-spacing: .07em; max-width: 14ch; font-weight: 650; text-wrap: balance; }
.hero-row { display: grid; gap: 28px; margin-top: clamp(22px, 3vw, 40px); align-items: end; }
.lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hero-price b { font-size: 30px; letter-spacing: -.04em; font-weight: 650; }
.hero-price s { font-size: 19px; }
.sale-tag { font-size: 13px; font-weight: 650; color: var(--signal); letter-spacing: -.005em; }
.hero-fine { margin-top: 14px; }
@media (min-width: 900px) { .hero-row { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; } .hero-act { justify-self: end; } }
.hero-act { display: grid; gap: 14px; }

.stage { margin-top: clamp(34px, 5vw, 64px); background: var(--night); }
.stage-in { max-width: var(--max); margin: 0 auto; padding: clamp(18px, 3.4vw, 44px) var(--pad); }
.shot img { width: 100%; height: auto; border-radius: clamp(8px, 1.2vw, 14px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 70px -20px rgba(0, 0, 0, .65); background: #0e1a1f; aspect-ratio: 1290 / 774; }
.shot figcaption { margin-top: 14px; font-size: 13.5px; color: #8ea3a8; max-width: 70ch; }
:root[data-theme="dark"] .stage { background: var(--paper-2); }

/* sections */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(60px, 9vw, 132px) var(--pad) 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(26px, 4vw, 52px); max-width: 62ch; }
.sec-head h2 { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.035em; word-spacing: .06em; text-wrap: balance; }
.sec-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); text-wrap: pretty; }

/* the strip: four effects, one bar */
.strip { background: var(--raise); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; user-select: none; -webkit-user-select: none; }
.strip-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px clamp(14px, 2vw, 22px); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.strip-top b { color: var(--ink); font-weight: 600; }
.strip-play { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 17px; background: var(--ink); color: var(--paper); font-size: 13.5px; font-weight: 600; }
.strip-play .ic { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.strip-play .ic-p { display: none; }
.strip-play[aria-pressed="true"] .ic-p { display: block; }
.strip-play[aria-pressed="true"] .ic-g { display: none; }
.strip-hint { margin-left: auto; }
.lanes { position: relative; }
.lane { display: grid; grid-template-columns: minmax(96px, 168px) 1fr; align-items: center; min-height: 96px; border-bottom: 1px solid var(--line); }
.lane:last-child { border-bottom: 0; }
.lane-meta { padding: 10px 6px 10px clamp(14px, 2vw, 22px); display: grid; gap: 2px; }
.lane-name { font-size: 15.5px; font-weight: 600; letter-spacing: -.015em; display: flex; align-items: center; gap: 8px; }
.lane-name::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--c); flex: none; }
.lane-val { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lane-val b { color: var(--ink); font-weight: 600; font-size: 15px; display: inline-block; min-width: 3.2ch; }
.lane svg { width: 100%; height: 96px; touch-action: pan-y; }
.lane .fill { fill: var(--c); opacity: .14; }
.lane .ln { fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lane .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lane .dot { fill: var(--c); stroke: var(--raise); stroke-width: 2.5; }
.playhead { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--signal); pointer-events: none; will-change: transform; }
.playhead::before { content: ""; position: absolute; top: 0; left: -4px; width: 10px; height: 8px; background: var(--signal); border-radius: 0 0 5px 5px; }
.lanes-axis { position: absolute; left: clamp(96px, 16%, 168px); right: 0; top: 0; bottom: 0; pointer-events: auto; cursor: ew-resize; touch-action: pan-y; }
.strip-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px clamp(14px, 2vw, 22px); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 560px) { .lane { grid-template-columns: 1fr; min-height: 0; } .lane-meta { grid-auto-flow: column; justify-content: space-between; align-items: center; padding: 10px 14px 0; } .lane svg { height: 72px; } .lanes-axis { left: 0; } .strip-hint { display: none; } }
.trio { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 52px); }
.trio h3 { font-size: 20px; letter-spacing: -.025em; margin-bottom: 8px; }
.trio p { color: var(--ink-2); max-width: 40ch; }
@media (min-width: 820px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* inside */
.inside { display: grid; gap: clamp(30px, 5vw, 56px); }
.row { display: grid; gap: 22px; align-items: center; }
.row picture img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -24px rgba(8, 24, 28, .5); background: #0e1a1f; aspect-ratio: 1290 / 774; }
.row h3 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 12px; }
.row p { color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }
.row p + p { margin-top: 12px; }
@media (min-width: 900px) { .row { grid-template-columns: 1.35fr 1fr; gap: 56px; } .row.flip { grid-template-columns: 1fr 1.35fr; } .row.flip picture { order: 2; } }

.spec { display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec > div { display: grid; gap: 4px 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 600; letter-spacing: -.015em; }
.spec dd { color: var(--ink-2); max-width: 64ch; }
@media (min-width: 760px) { .spec > div { grid-template-columns: 220px 1fr; } }

/* price */
.price-card { display: grid; gap: 30px; padding: clamp(24px, 4vw, 52px); background: var(--night); color: #e6eef0; border-radius: 18px; }
:root[data-theme="dark"] .price-card { background: var(--paper-2); }
.price-card .p-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.price-card .p-big b { font-size: clamp(54px, 8vw, 96px); letter-spacing: -.055em; line-height: 1; font-weight: 650; }
.price-card .p-big s { font-size: 26px; color: #7f9499; }
.price-card .p-sale { color: #f08a55; font-weight: 650; font-size: 15px; }
.price-card h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.035em; line-height: 1.05; margin: 16px 0 10px; }
.price-card .p-sub { color: #a3b5b8; max-width: 46ch; }
.price-card ul { display: grid; gap: 12px; align-content: start; }
.price-card li { display: flex; gap: 12px; color: #cddadc; }
.price-card li .ic { color: #7fd0d9; margin-top: 2px; width: 18px; height: 18px; }
.price-card .btn { background: #e6eef0; color: #0b1519; }
.price-card .btn:hover { background: #fff; }
.price-card .fine { color: #8ea3a8; }
.price-card a.link { color: #e6eef0; border-color: rgba(255, 255, 255, .35); }
@media (min-width: 900px) { .price-card { grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; } }

/* faq */
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 20px 36px 20px 0; font-size: 19px; font-weight: 550; letter-spacing: -.02em; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }
.faq-list details p + p { margin-top: -8px; }

/* footer */
.foot { width: calc(100% - 2 * var(--pad)); max-width: calc(var(--max) - 2 * var(--pad)); margin: clamp(70px, 10vw, 130px) auto 0; padding: 28px 0 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a:hover { color: var(--ink); }
body.has-buybar .foot { padding-bottom: 96px; }

/* mobile buy bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s var(--ease); }
.buybar.on { transform: none; }
.buybar b { font-size: 20px; letter-spacing: -.03em; }
.buybar s { font-size: 14px; margin-left: 6px; }
@media (min-width: 760px) { .buybar { display: none; } }

/* cart + scrim */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(6, 14, 17, .5); opacity: 0; transition: opacity .2s; }
.scrim.on { opacity: 1; }
.cart { position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(104%); transition: transform .28s var(--ease); box-shadow: -20px 0 60px rgba(0, 0, 0, .2); visibility: hidden; }
.cart.on { transform: none; visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 22px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; }
.icon-btn:hover { background: var(--paper-2); }
.cart-body { flex: 1; overflow-y: auto; padding: 22px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: start; }
.cart-item img { width: 96px; height: auto; border-radius: 6px; aspect-ratio: 240 / 154; background: #0e1a1f; }
.ci-text { display: grid; gap: 3px; font-size: 14px; color: var(--ink-2); }
.ci-text strong { font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.ci-text .link { justify-self: start; font-size: 13.5px; margin-top: 6px; }
.ci-price { text-align: right; display: grid; font-size: 17px; }
.cart-empty { display: grid; gap: 16px; justify-items: start; color: var(--ink-2); }
.cart-foot { padding: 20px 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.sum { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 15px; }
.sum.save span:last-child { color: var(--signal); font-weight: 600; }
.sum.total { color: var(--ink); font-size: 20px; font-weight: 650; letter-spacing: -.02em; padding-top: 6px; border-top: 1px solid var(--line); }

/* checkout sheet */
dialog.sheet { border: 0; padding: 0; background: var(--paper); color: var(--ink); width: min(560px, 100%); max-width: 100%; max-height: min(100dvh, 880px); border-radius: 16px; box-shadow: 0 40px 100px rgba(0, 0, 0, .35); overflow: hidden; margin: auto; }
dialog.sheet::backdrop { background: rgba(6, 14, 17, .55); }
.sheet-in { display: flex; flex-direction: column; max-height: min(100dvh, 880px); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); flex: none; }
.sheet-steps { display: flex; gap: 6px; font-size: 13.5px; color: var(--ink-3); font-weight: 500; flex-wrap: wrap; }
.sheet-steps li { display: flex; align-items: center; gap: 6px; }
.sheet-steps li + li::before { content: ""; width: 14px; height: 1.5px; background: var(--line-2); margin-right: 2px; }
.sheet-steps li.is-current { color: var(--ink); font-weight: 650; }
.sheet-steps li.is-done { color: var(--ink-2); }
.panes { overflow-y: auto; overscroll-behavior: contain; padding: 26px 24px calc(26px + env(safe-area-inset-bottom)); }
.pane { display: grid; gap: 14px; }
.sheet-title { font-size: clamp(24px, 4vw, 30px); letter-spacing: -.035em; line-height: 1.08; }
.sheet-sub { color: var(--ink-2); }
@media (max-width: 600px) { dialog.sheet { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; } .sheet-in { max-height: 100dvh; height: 100dvh; } .panes { flex: 1; } }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 10px; background: var(--paper-2); gap: 4px; }
.auth-switch button { height: 40px; border-radius: 7px; font-size: 15px; font-weight: 550; color: var(--ink-2); }
.auth-switch button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.or { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; position: relative; }
.field > span { font-size: 13.5px; font-weight: 550; color: var(--ink-2); }
.field input, .field select { width: 100%; height: 48px; padding: 0 14px; border-radius: 8px; border: 1.5px solid var(--line-2); background: var(--raise); color: var(--ink); font: 400 16px var(--sans); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--err); }
.field-pw input { padding-right: 48px; }
.pw-eye { position: absolute; right: 4px; bottom: 4px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px; color: var(--ink-2); }
.two { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 400px) { .two { grid-template-columns: 1fr; } }
.hint { font-size: 13px; color: var(--ink-3); margin-top: -6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check.terms { padding: 14px; border-radius: 10px; background: var(--paper-2); }
.check.terms[data-bad="true"] { box-shadow: inset 0 0 0 1.5px var(--err); }
.check a { border-bottom: 1.5px solid var(--line-2); font-weight: 500; color: var(--ink); }
.form-error, .form-ok { font-size: 14.5px; line-height: 1.45; padding: 12px 14px; border-radius: 8px; }
.form-error { background: color-mix(in srgb, var(--err) 11%, transparent); color: var(--err); }
.form-ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.center-link { justify-self: center; font-size: 14.5px; }
[data-mode="login"] [data-only="signup"], [data-mode="signup"] [data-only="login"] { display: none; }
.done-mark { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); }
.done-mark .ic { width: 26px; height: 26px; stroke-width: 2.2; }
.done-mark.spin .ic { display: none; }
.done-mark.spin { background: transparent; box-shadow: inset 0 0 0 3px var(--line-2); border-top: 3px solid var(--ink); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .done-mark.spin { animation-duration: 3s; } }

/* order summary + payment method */
.order { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 12px; background: var(--paper-2); }
.order img { width: 84px; height: auto; border-radius: 6px; aspect-ratio: 240 / 154; background: #0e1a1f; }
.order strong { display: block; letter-spacing: -.02em; font-size: 17px; }
.order span { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; display: block; }
.order b { font-size: 18px; text-align: right; display: grid; letter-spacing: -.02em; }
.order b s { font-size: 13px; font-weight: 500; }
.methods { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.methods legend { font-size: 13.5px; font-weight: 550; color: var(--ink-2); padding: 0; margin-bottom: 8px; }
.method { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 64px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--raise); cursor: pointer; transition: border-color .15s, background .15s; }
.method input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.method .radio { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); flex: none; transition: box-shadow .15s; }
.method:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.method:has(input:checked) .radio { box-shadow: inset 0 0 0 6px var(--ink); }
.method:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.method strong { display: block; font-size: 16px; letter-spacing: -.015em; }
.method small { display: block; font-size: 13px; color: var(--ink-2); }
.method .brands { margin-left: auto; font-size: 12.5px; color: var(--ink-3); text-align: right; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 13px; color: var(--ink-2); }

/* serial */
.serial-box { display: grid; gap: 10px; padding: 18px; border-radius: 12px; background: var(--night); color: #e6eef0; }
:root[data-theme="dark"] .serial-box { background: var(--paper-2); }
.serial-box .lab { font-size: 13px; color: #8ea3a8; }
.serial-box code { font: 500 clamp(15px, 4.4vw, 21px)/1.3 var(--mono); letter-spacing: .05em; word-break: break-all; color: #e6eef0; }
.serial-box .row-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.serial-box .btn-quiet { background: rgba(255, 255, 255, .1); color: #e6eef0; height: 38px; font-size: 14px; }
.serial-box .btn-quiet:hover { background: rgba(255, 255, 255, .18); }
.steps { display: grid; gap: 10px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: var(--ink-2); font-size: 15px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-weight: 650; font-size: 13px; margin-top: 1px; }
.steps b { color: var(--ink); font-weight: 600; }
.files { display: grid; gap: 8px; }
.files a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--paper-2); }
.files a:hover { background: var(--paper-3); }
.files strong { font-size: 15px; display: block; letter-spacing: -.01em; }
.files small { display: block; font-size: 12.5px; color: var(--ink-2); }
.files em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--ink-3); white-space: nowrap; }

/* dashboard page */
.page { max-width: 1100px; margin: 0 auto; padding: clamp(34px, 6vw, 80px) var(--pad) 0; }
.page-h { font-size: clamp(34px, 5.4vw, 66px); line-height: 1; letter-spacing: -.045em; margin-bottom: 10px; text-wrap: balance; }
.page-sub { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); max-width: 56ch; margin-bottom: clamp(26px, 4vw, 44px); }
.dash { display: grid; gap: 18px; }
.panel { padding: clamp(18px, 3vw, 30px); border-radius: 14px; background: var(--raise); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.panel h2 { font-size: 20px; letter-spacing: -.025em; }
.panel.dark { background: var(--night); color: #e6eef0; border-color: transparent; }
:root[data-theme="dark"] .panel.dark { background: var(--paper-2); }
.panel.dark .fine, .panel.dark .kv dt { color: #8ea3a8; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.status.on::before { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }
.status.off::before { background: var(--l3); }
.status.bad::before { background: var(--err); }
.kv { display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv > div:last-child { border-bottom: 0; }
.panel.dark .kv > div { border-color: rgba(255, 255, 255, .12); }
.kv dt { color: var(--ink-2); }
.kv dd { text-align: right; font-weight: 550; word-break: break-word; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .dash { grid-template-columns: 1.25fr 1fr; } .dash .span2 { grid-column: 1 / -1; } }
.empty-state { display: grid; gap: 16px; justify-items: start; }

/* offline activation + prose + receipt */
.tool { display: grid; gap: 18px; max-width: 640px; }
.tool .out { font: 500 14px/1.5 var(--mono); padding: 14px; border-radius: 10px; background: var(--night); color: #e6eef0; word-break: break-all; user-select: all; -webkit-user-select: all; }
.prose { max-width: 70ch; display: grid; gap: 16px; color: var(--ink-2); }
.prose h2 { font-size: 24px; color: var(--ink); margin-top: 18px; letter-spacing: -.03em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); border-bottom: 1.5px solid var(--line-2); }
.prose ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.callout { padding: 18px 20px; border-radius: 12px; background: var(--paper-2); color: var(--ink); }
.receipt { max-width: 640px; background: #fff; color: #12262b; border-radius: 14px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 18px; }
:root[data-theme="dark"] .receipt { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.receipt h2 { font-size: 26px; letter-spacing: -.035em; }
.receipt .kv > div { border-color: rgba(18, 38, 43, .14); }
.receipt .kv dt { color: #485f64; }
.receipt .total { font-size: 20px; }
@media print { .nav, .foot, .buybar, .no-print, .skip { display: none !important; } body, html { background: #fff !important; } .page { padding: 0; } .receipt { box-shadow: none; padding: 0; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 80; max-width: min(92vw, 420px); padding: 12px 18px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 15px; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); opacity: 0; transition: opacity .2s, transform .2s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
body.has-buybar .toast { bottom: 84px; }

/* strip plots (lane svg is stretched, so the moving dot is HTML) */
.lane .plot { position: relative; height: 96px; }
.lane .plot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lane .dot { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--raise); left: 0; top: 0; pointer-events: none; }
@media (max-width: 560px) { .lane .plot { height: 72px; } }
.field .hint { margin: 0; font-style: normal; font-weight: 400; }
.files svg { color: var(--ink-2); }
.lane .grid { fill: none; }
@media (prefers-reduced-motion: reduce) { .buybar, .cart, .scrim, .toast { transition: none; } }

@media (min-width: 900px) { .sec.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 56px; align-items: start; } .sec.faq .sec-head { position: sticky; top: calc(var(--nav-h) + 28px); margin: 0; } .sec.faq .faq-list { max-width: none; } }

@media (max-width: 560px) {
  .lane-name, .lane-val { position: relative; z-index: 2; background: var(--raise); padding: 1px 6px; border-radius: 4px; margin-left: -6px; }
  .lane-val { margin-left: 0; margin-right: -6px; }
  .strip-foot { flex-direction: column; gap: 2px; }
}

.stack { display: grid; gap: 18px; align-content: start; }

/* closing call to action */
.closer-in { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 56px; padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line-2); }
.closer-in h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; max-width: 18ch; }
.closer-in p { color: var(--ink-2); max-width: 46ch; margin-top: 12px; }
.closer-act { display: grid; gap: 12px; justify-items: start; }
.closer-act .fine { margin: 0; }
@media (max-width: 640px) { .closer-act, .closer-act .btn { width: 100%; } }
