/* Sift — "Instrument" design system, showpiece edition */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --ground: #F4F2ED;
  --panel: #FFFFFF;
  --stone: #ECEAE4;
  --ink: #1A1A18;
  --muted: #4A4843;
  --faint: #6B6963;
  --line: #DDD9D0;
  --chip: #EFECE5;
  --accent: #E8590C;
  --accent-text: #B4440A;
  --on-accent: #121211;
  --night: #1A1A18;
  --radius: 14px;
  --gutter: 16px;
  --max: 1240px;
  --head: 60px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --doto: "Doto", var(--mono);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #121211;
    --panel: #1A1A18;
    --stone: #161614;
    --ink: #EDEBE5;
    --muted: #A29F96;
    --faint: #8C897F;
    --line: #2E2D2A;
    --chip: #24231F;
    --accent: #FF6A1F;
    --accent-text: #FF8A4C;
    --night: #0A0A09;
  }
}

/* Full-bleed ink sections: same tokens, inverted */
.night {
  --ground: var(--night);
  --panel: #22211E;
  --stone: #1F1E1B;
  --ink: #EDEBE5;
  --muted: #A29F96;
  --faint: #8C897F;
  --line: #34332F;
  --chip: #2A2925;
  --accent: #FF6A1F;
  --accent-text: #FF8A4C;
  background: var(--night);
  color: var(--ink);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  .night { --panel: #161614; --stone: #141412; --line: #2A2926; --chip: #1F1E1B; border-block: 1px solid #242320; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: var(--ground); padding: 8px 12px; border-radius: 8px; z-index: 20; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 900px) { :root { --gutter: 40px; } }

/* ---------- type helpers ---------- */
.label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}
.doto { font-family: var(--doto); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.gain { color: var(--accent); }
.gain-text { color: var(--accent-text); }
.muted { color: var(--muted); }

.chip {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; white-space: nowrap; color: var(--ink);
  background: var(--chip); border: 1px solid var(--line); border-radius: 6px;
}
.chip-ink { background: var(--ink); color: var(--ground); border-color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; font: 600 16px/1 var(--sans);
  text-decoration: none; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.btn > span { display: inline-flex; align-items: center; gap: 10px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-download { background: var(--accent); color: var(--on-accent); }
.btn-download:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { background: color-mix(in srgb, var(--ink) 86%, var(--ground)); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--panel); min-height: 38px; padding: 0 14px; font-size: 14px; gap: 8px; border-radius: 10px; }
.btn-line:hover { border-color: var(--faint); }
.btn-xl { min-height: 64px; padding: 0 34px; font-size: 18px; border-radius: 14px; }

.magnetic { transform: translate(var(--tx, 0px), var(--ty, 0px)); transition: transform .5s var(--ease), background-color .2s ease; will-change: transform; }
.magnetic > span { transform: translate(calc(var(--tx, 0px) * .35), calc(var(--ty, 0px) * .35)); transition: transform .5s var(--ease); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 10; background: var(--ground); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--head); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand svg { width: 24px; height: 24px; }
.m-track { stroke: var(--line); } .m-used, .m-needle { stroke: var(--ink); } .m-free { stroke: var(--accent); } .m-hub { fill: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: none; list-style: none; margin: 0; padding: 0; gap: 26px; }
.nav ul a { text-decoration: none; font-size: 14px; color: var(--muted); }
.nav ul a:hover { color: var(--ink); }
@media (min-width: 760px) { .nav ul { display: flex; } }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
@media (min-width: 900px) { section { padding: 148px 0; } }
section[id] { scroll-margin-top: var(--head); }
.sec-head { max-width: 860px; margin-bottom: 48px; }
@media (min-width: 900px) { .sec-head { margin-bottom: 72px; } }
.sec-head .label { display: block; margin-bottom: 18px; }
.sec-head h2, .morph-copy h2, .shelf-copy h2, .receipt-copy h2, .final-cta h2 { font-size: clamp(36px, 6.2vw, 84px); }
.sec-head p, .shelf-copy > p, .receipt-copy > p { margin-top: 20px; color: var(--muted); font-size: clamp(17px, 1.8vw, 21px); max-width: 46ch; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- spotlight on dark panels ---------- */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .06), transparent 65%);
  opacity: 0; transition: opacity .5s ease;
}
.spot:hover::after { opacity: 1; }

/* ---------- reveals ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(34px); clip-path: inset(0 0 30% 0);
  transition: opacity .9s var(--ease), transform 1s var(--ease), clip-path 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.js [data-reveal="mask"] { opacity: 1; transform: translateY(.4em); clip-path: inset(0 0 100% 0); }
.js [data-reveal="float"] { clip-path: none; transform: perspective(1400px) rotateX(24deg) translateY(90px) scale(.92); transform-origin: 50% 100%; }
.js [data-reveal].in { opacity: 1; transform: none; clip-path: inset(-10% -10% -10% -10%); }

@supports (animation-timeline: view()) {
  .js.sdt [data-reveal] {
    transition: none; animation: rv-up linear both; animation-timeline: view();
    animation-range: entry calc(var(--d, 0) * 4%) cover calc(26% + var(--d, 0) * 4%);
  }
  .js.sdt [data-reveal="mask"] { animation-name: rv-mask; }
  .js.sdt [data-reveal="float"] { animation-name: rv-float; animation-range: entry 0% cover 42%; }
  .js.sdt .progress { animation: grow linear both; animation-timeline: scroll(root); }
}
@keyframes rv-up { from { opacity: 0; transform: translateY(34px); clip-path: inset(0 0 30% 0); } to { opacity: 1; transform: none; clip-path: inset(-10%); } }
@keyframes rv-mask { from { transform: translateY(.4em); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(-10%); } }
@keyframes rv-float { from { opacity: 0; transform: perspective(1400px) rotateX(24deg) translateY(90px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; }
@media (min-width: 900px) { .hero { padding: 88px 0 120px; } }
.hero > .wrap > .label { display: block; margin-bottom: 26px; }
.hero-title { font-size: clamp(44px, 8.6vw, 132px); letter-spacing: -0.045em; line-height: .98; max-width: 15ch; }
.hero-title .soft { color: var(--faint); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
.js .hero-title .w > span { animation: rise 1.1s var(--ease) both; animation-delay: calc(80ms + var(--d, 0) * 70ms); }
.js .hero-title .soft .w > span { animation-delay: calc(420ms + var(--d, 0) * 70ms); }
@keyframes rise { from { transform: translateY(105%); } }
.js .intro { animation: fade-up 1s var(--ease) both; }
.js .intro-0 { animation-delay: 0ms; } .js .intro-1 { animation-delay: 600ms; } .js .intro-2 { animation-delay: 720ms; } .js .intro-3 { animation-delay: 380ms; }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } }

.hero-grid { display: grid; gap: 40px; margin-top: 44px; align-items: start; }
@media (min-width: 1080px) { .hero-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; margin-top: 64px; } }
.sub { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 32ch; }
.cta { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.req { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: 0.02em; line-height: 1.75; }
.req span { white-space: nowrap; }

/* instrument */
.instrument { display: grid; overflow: hidden; }
@media (min-width: 760px) { .instrument { grid-template-columns: 1.08fr 1fr; } }
.dial-area { padding: 22px 22px 26px; display: flex; flex-direction: column; }
@media (min-width: 760px) { .dial-area { border-right: 1px solid var(--line); padding: 26px 28px 30px; } }
.dial-head { display: flex; justify-content: space-between; }
.dial-btn { display: block; width: 100%; margin: 18px 0 0; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 12px; }
.dial-btn svg { width: 100%; height: auto; overflow: visible; }
.d-track { stroke: var(--stone); }
@media (prefers-color-scheme: dark) { .d-track { stroke: var(--chip); } }
.d-used { stroke: var(--ink); }
.d-free { stroke: var(--accent); }
.tk { stroke: var(--faint); stroke-width: 1.2; }
.tk.mj { stroke: var(--ink); stroke-width: 2.2; }
.d-needle { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.d-ghost { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 3 4; transition: opacity .4s ease; }
.d-hub { fill: var(--ink); }
.d-hub-in { fill: var(--panel); }
.readout { margin-top: 10px; text-align: center; }
.readout-num { display: inline-flex; align-items: baseline; gap: 10px; }
.readout-num .doto { font-size: clamp(64px, 9vw, 104px); }
.readout-num .unit { font-family: var(--doto); font-weight: 900; font-size: clamp(26px, 3vw, 36px); }
.readout .label { display: block; margin-top: 12px; }

.side { padding: 22px; display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .side { padding: 26px 26px 26px; border-top: 0; } }
.status { font-size: 15px; color: var(--muted); min-height: 1.55em; }
.clean-list { list-style: none; margin: 0 -22px; padding: 0; border-block: 1px solid var(--line); }
@media (min-width: 760px) { .clean-list { margin: 0 -26px; } }
.clean-row {
  display: grid; grid-template-columns: 18px 1fr auto auto; gap: 12px; align-items: center;
  padding: 11px 22px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.3;
  transition: background-color .3s ease;
}
@media (min-width: 760px) { .clean-row { padding: 11px 26px; } }
.clean-row:first-child { border-top: 0; }
.clean-row .nm small { display: block; font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.clean-row .sz { font-family: var(--mono); font-size: 13px; color: var(--muted); min-width: 56px; text-align: right; font-variant-numeric: tabular-nums; transition: color .3s; }
.tickbox { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: background-color .25s, border-color .25s; }
.tickbox::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid var(--ground); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.clean-row.busy { background: var(--stone); }
.clean-row.busy .tickbox { border-color: var(--line); border-top-color: var(--ink); animation: spin .7s linear infinite; }
.clean-row.done .tickbox { background: var(--ink); border-color: var(--ink); }
.clean-row.done .tickbox::after { transform: rotate(45deg) scale(1); }
.clean-row.done .sz { color: var(--accent-text); }
.clean-row.done .nm { color: var(--muted); }
.clean-row.skipped .tickbox { border-style: dashed; }
.clean-row.skipped .nm small { color: var(--ink); }
.clean-row.hl { background: var(--stone); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 420px) {
  .clean-row { grid-template-columns: 18px 1fr auto; }
  .clean-row .chip { grid-column: 2; grid-row: 2; justify-self: start; }
  .clean-row .sz { grid-column: 3; grid-row: 1; }
}

.loupe-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.loupe-bar { display: flex; gap: 3px; height: 10px; }
.loupe-bar i { display: block; height: 100%; background: var(--accent); border-radius: 2px; transform-origin: 100% 50%; }
.loupe-bar .s1 { flex: 5.7; } .loupe-bar .s2 { flex: 1.9; } .loupe-bar .s3 { flex: 3.6; } .loupe-bar .s4 { flex: 1.4; }
.loupe-bar::after { content: ""; flex: 1.8; height: 100%; border: 1px dashed var(--line); border-radius: 2px; }
.replay { align-self: flex-start; margin-top: auto; }
.js .replay { visibility: hidden; }
.js .replay.on { visibility: visible; }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--panel); overflow: hidden; padding: 16px 0; display: grid; gap: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-row { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ticker-row.rev { animation-direction: reverse; animation-duration: 90s; }
.ticker-row.rev li { color: var(--faint); }
.ticker:hover .ticker-row { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--ink); display: flex; align-items: center; }
.ticker li::after { content: ""; width: 5px; height: 5px; background: currentColor; opacity: .5; margin: 0 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sift canvas ---------- */
.sift-sec { padding-bottom: 0; overflow: hidden; }
.sift-canvas { width: 100%; height: clamp(340px, 46vw, 580px); }

/* ---------- morph (pinned) ---------- */
.morph { padding: 0; }
.morph-track { position: relative; height: 270vh; --q: clamp(0, (var(--p) - .28) * 2.4, 1); }
.sdt .morph-track { animation: pmorph linear both; animation-timeline: view(); animation-range: contain 0% contain 100%; }
@keyframes pmorph { from { --p: 0; } to { --p: 1; } }
.morph-stick { position: sticky; top: var(--head); height: calc(100vh - var(--head)); height: calc(100svh - var(--head)); display: flex; align-items: center; overflow: hidden; }
.morph-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 980px) { .morph-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; } }
.morph-copy .label { display: block; margin-bottom: 16px; }
.morph-copy h2 { font-size: clamp(30px, 4.6vw, 64px); }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 28px; padding: 3px; background: var(--chip); border: 1px solid var(--line); border-radius: 11px; }
.seg::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); background: var(--panel); border-radius: 8px; box-shadow: 0 1px 2px rgb(0 0 0 / .08); transform: translateX(calc(var(--q) * 100%)); }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 9px 20px; font-size: 15px; font-weight: 500; cursor: pointer; border-radius: 8px; }
.caps { display: grid; margin-top: 22px; font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); }
.caps > * { grid-area: 1 / 1; }
.caps strong { color: var(--ink); font-weight: 600; }
.cap-s { opacity: clamp(0, 1 - var(--q) * 2, 1); transform: translateY(calc(var(--q) * -14px)); }
.cap-d { opacity: clamp(0, var(--q) * 2 - 1, 1); transform: translateY(calc((1 - var(--q)) * 14px)); }
.rail { margin-top: 28px; height: 1px; background: var(--line); max-width: 260px; }
.rail i { display: block; height: 100%; background: var(--ink); transform: scaleX(var(--p)); transform-origin: 0 50%; }
.morph-win.tilt { transform: perspective(1600px) rotateX(calc((1 - var(--p)) * 7deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg)) scale(calc(.95 + var(--p) * .05)); }
.morph-win .shot img { position: absolute; inset: 0; }
.img-d { clip-path: inset(0 calc((1 - var(--q)) * 100%) 0 0); }
.scan { position: absolute; top: 0; bottom: 0; left: calc(var(--q) * 100%); width: 1px; background: var(--ink); z-index: 2; opacity: clamp(0, min(var(--q), 1 - var(--q)) * 30, 1); }
.scan .label { position: absolute; top: 14px; left: 8px; background: var(--ink); color: var(--ground); padding: 4px 7px; border-radius: 5px; font-size: 10px; }
@media (max-width: 979px) {
  .morph-track { height: 230vh; }
  .morph-copy h2 { font-size: clamp(28px, 7.4vw, 44px); }
  .seg { margin-top: 18px; } .caps { margin-top: 14px; } .rail { display: none; }
}

/* ---------- windows / tilt ---------- */
.window { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgb(0 0 0 / .02), 0 30px 80px -40px rgb(26 26 24 / .35); }
.night .window { box-shadow: 0 40px 100px -40px rgb(0 0 0 / .8); }
.window-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--stone); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); }
.window-bar span { margin: 0 auto; padding-right: 51px; }
.shot { position: relative; background: var(--ground); aspect-ratio: 2560 / 1640; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.tilt-zone { perspective: 1600px; }
.tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); transform-style: preserve-3d; }

/* ---------- safe ---------- */
.proofs { display: grid; gap: 16px; }
@media (min-width: 820px) { .proofs { grid-template-columns: 1fr 1fr; gap: 20px; } }
.proof { position: relative; padding: 32px 28px 30px; display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .5s var(--ease); }
@media (min-width: 900px) { .proof { padding: 44px 40px 40px; } }
.proof:hover { border-color: var(--faint); }
.proof .num { font-size: 44px; color: var(--line); margin-bottom: 8px; }
.proof h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.025em; }
.proof p { color: var(--muted); max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.js .stamp .chip { transform: scale(1.35); opacity: 0; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }
.js .in .stamp .chip, .js.sdt .stamp .chip { transform: none; opacity: 1; }
.js .stamp .chip:nth-child(2) { transition-delay: .12s; } .js .stamp .chip:nth-child(3) { transition-delay: .24s; } .js .stamp .chip:nth-child(4) { transition-delay: .36s; }
.verdicts { margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 14px; }
.verdicts div { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.verdicts div:first-child { border-top: 0; background: var(--stone); }
.verdicts .label { font-size: 10.5px; }
.verdicts em { font-style: normal; color: var(--muted); font-size: 13px; display: block; }
.math { margin-top: 8px; font-family: var(--mono); font-size: 13px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 6px; }
.math div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.math div:last-child { border-top: 1px solid var(--line); padding-top: 8px; color: var(--ink); font-weight: 600; }
.inuse { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.inuse em { font-style: normal; }

/* ---------- shelf ---------- */
.shelf-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .shelf-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.shelf-copy > .label { display: block; margin-bottom: 18px; }
.shelf-demo { margin-top: 36px; padding: 20px; }
.days-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.days { display: flex; gap: 5px; }
.days i { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line); background: transparent; transition: background-color .35s, border-color .35s, transform .35s var(--ease); }
.days i.on { background: var(--ink); border-color: var(--ink); }
.days i.last { background: var(--accent); border-color: var(--accent); transform: scale(1.12); }
.days-label { font-size: 14.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.days-label.gain-text { color: var(--accent-text); }
.pb-list { list-style: none; margin: 0; padding: 0; }
.pb-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 0; font-size: 14.5px; }
.pb-row .nm small { display: block; font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 2px; transition: color .3s; }
.pb { position: relative; overflow: hidden; min-width: 96px; transition: border-color .3s, background-color .3s, transform .15s; }
.pb:active { transform: scale(.96); }
.pb > span { transition: transform .45s var(--ease), opacity .3s; }
.pb .pb-b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; transform: translateY(110%); opacity: 0; }
.pb .pb-b svg { width: 14px; height: 14px; }
.pb-row.restored .pb { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.pb-row.restored .pb-a { transform: translateY(-110%); opacity: 0; }
.pb-row.restored .pb-b { transform: none; opacity: 1; }
.pb-row.restored .nm small { color: var(--ink); }

/* ---------- receipt ---------- */
.receipt-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .receipt-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.receipt-copy > .label { display: block; margin-bottom: 18px; }
.printer { width: 100%; max-width: 440px; justify-self: center; }
.slot { position: relative; z-index: 2; height: 30px; background: #141413; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -14px rgb(0 0 0 / .5); }
.slot .label { color: var(--faint); font-size: 10px; letter-spacing: .3em; }
.slot::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 7px; height: 3px; border-radius: 2px; background: #000; opacity: .6; }
.paper { margin: -8px 7% 0; overflow: hidden; padding-bottom: 30px; perspective: 900px; }
.paper img { width: 100%; height: auto; margin-top: -5.9%; transform-origin: 50% 0; clip-path: inset(4.4% 5.9% 0 5.9%); }
.js .printer .paper img { transform: translateY(-101%); }
.js .printer.in .paper img { animation: print 3.2s cubic-bezier(.45, .05, .25, 1) forwards; }
@keyframes print {
  0% { transform: translateY(-101%) rotateX(0); }
  18% { transform: translateY(-78%) rotateX(-4deg); }
  24% { transform: translateY(-76%) rotateX(-4deg); }
  46% { transform: translateY(-46%) rotateX(-9deg); }
  52% { transform: translateY(-44%) rotateX(-9deg); }
  80% { transform: translateY(-6%) rotateX(-12deg); }
  92% { transform: translateY(1%) rotateX(3deg); }
  100% { transform: translateY(0) rotateX(0); }
}

/* ---------- features ---------- */
.features {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features li { background: var(--panel); padding: 28px 26px 30px; transition: background-color .3s ease; }
@media (min-width: 900px) { .features li { padding: 36px 34px 38px; } }
.features li:hover { background: var(--stone); }
.features li .label { display: block; margin-bottom: 18px; font-size: 10.5px; }
.features h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.25; }
.features p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.features li.fill { display: none; background: var(--stone); }
@media (min-width: 980px) { .features li.fill { display: block; } }
.js .features [data-reveal] { clip-path: none; transform: translateY(20px); }

/* ---------- privacy ---------- */
.privacy {
  background-image: radial-gradient(circle, rgb(255 255 255 / .09) 1.2px, transparent 1.6px);
  background-size: 18px 18px; background-color: var(--night);
}
.privacy .label { display: block; margin-bottom: 28px; }
.privacy .big { font-size: clamp(42px, 8.4vw, 128px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.privacy .big span { display: block; }
.privacy .big span:not(:first-child) { color: var(--faint); }

/* ---------- pricing ---------- */
.price-card { max-width: 560px; margin: 0 auto; padding: 40px 26px 26px; text-align: center; }
@media (min-width: 640px) { .price-card { padding: 48px 40px 30px; } }
.price-card > .label { display: block; }
.price { display: flex; justify-content: center; align-items: baseline; gap: 14px; margin-top: 20px; }
.price-num { font-size: clamp(96px, 18vw, 156px); display: inline-flex; perspective: 400px; }
.price-num span { display: inline-block; }
.price-num .flip { animation: flip .55s var(--ease); }
@keyframes flip { 0% { transform: rotateX(90deg); opacity: .3; } 100% { transform: none; opacity: 1; } }
.price .once { font-family: var(--doto); font-weight: 900; font-size: clamp(26px, 4vw, 36px); color: var(--muted); }
.price-terms { margin-top: 16px; font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.price-try { margin: 28px auto 0; max-width: 36ch; padding-top: 26px; border-top: 1px solid var(--line); }
.buy-zone { position: relative; margin: 24px -10px 0; padding: 22px 16px 16px; border-radius: 14px; border: 1px solid transparent; transition: border-color .4s ease, box-shadow .5s ease; }
.buy-zone:hover, .buy-zone:focus-within {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 9%, transparent), 0 24px 60px -24px color-mix(in srgb, var(--accent) 60%, transparent);
}
.buy-zone .btn { width: 100%; max-width: 300px; }
.pay { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* ---------- faq ---------- */
.faq-grid { display: grid; gap: 8px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } .faq-grid .sec-head { position: sticky; top: calc(var(--head) + 40px); } }
.faq-grid .sec-head h2 { font-size: clamp(36px, 5vw, 64px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0; font-size: clamp(18px, 1.8vw, 21px); font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); max-width: 60ch; }
.js .faq details[open] p { animation: fade-up .5s var(--ease); }

/* ---------- final + footer ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(42px, 8vw, 120px); letter-spacing: -0.045em; max-width: 14ch; margin: 0 auto; }
.final-cta .cta { align-items: center; margin-top: 44px; }
.site-foot { padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 760px) { .site-foot .wrap { flex-direction: row; justify-content: space-between; align-items: center; } }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-foot a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- reduced motion: everything instant and still ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .stamp .chip { opacity: 1 !important; transform: none !important; clip-path: none !important; animation: none !important; }
  .js .hero-title .w > span, .js .intro { animation: none !important; }
  .ticker-row { animation: none !important; flex-wrap: wrap; width: auto; }
  .ticker-row ul[aria-hidden], .ticker-row.rev { display: none; }
  .ticker ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding: 0 var(--gutter); }
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .morph-track { height: auto; animation: none !important; }
  .morph-stick { position: static; height: auto; padding: 88px 0; }
  .morph-win, .tilt { transform: none !important; }
  .js .printer .paper img { transform: none; animation: none !important; }
  .magnetic, .magnetic > span { transform: none !important; }
  .spot::after { display: none; }
}
