/* SiftMac — "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], details[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: 48px 0 104px; } }
.hero > .wrap > .label { display: block; margin-bottom: 18px; }
/* Sized by height as well as width, so the Download button and the app preview stay above the fold at 100% zoom. */
.hero-title { font-size: clamp(40px, min(6.4vw, 10.5vh), 104px); 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: 40px; } }
.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; }
/* <picture> only picks WebP or PNG; the image lays out as if it weren't there. */
.shot picture, .paper picture { display: contents; }
.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 ---------- */
/* Three packages side by side: Founding first, lit up while it lasts; then Personal and Family. */
.plans { display: grid; gap: 16px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 900px) { .plans { grid-template-columns: 1.25fr 1fr 1fr; align-items: stretch; } }
.plan { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px 24px 24px; text-align: left; }
@media (min-width: 640px) { .plan { padding: 34px 30px 28px; } }
.plan-now {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 8%, transparent), 0 24px 60px -30px color-mix(in srgb, var(--accent) 60%, transparent);
}
.plan-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.plan-now .plan-tag { color: var(--accent-text); }
.plan-name { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 12px; margin-top: 2px; }
.price-num { font-size: clamp(76px, 10vw, 112px); 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; } }
.plan-num { font-family: var(--doto); font-weight: 900; font-size: clamp(56px, 7vw, 78px); line-height: 1.1; }
.price .once { font-family: var(--doto); font-weight: 900; font-size: clamp(20px, 2.6vw, 28px); color: var(--muted); }
.plan-macs { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.plan-note { color: var(--muted); font-size: 15px; max-width: 32ch; margin-bottom: 18px; }
.price-founding { font-weight: 600; color: var(--accent-text); margin-bottom: 18px; }
.price-founding s { color: var(--faint); font-weight: 400; }
/* The founding counter (main.js): real licences from Dodo, shown from 10 claimed. */
.founding-bar { display: block; width: min(240px, 100%); height: 6px; margin-top: 8px; border-radius: 99px; background: var(--chip); overflow: hidden; }
.founding-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.plan-buy { width: 100%; margin-top: auto; }
.plan-buy[aria-disabled="true"] { pointer-events: none; opacity: .55; }
.pricing .price-terms { margin-top: 28px; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.pricing .price-try { margin: 22px auto 0; max-width: 46ch; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; }
/* Under each Buy button: who to write to when a payment won't go through. Under a closed button it's hidden
   (keeping its space side by side, so the buttons stay in line) and shows once main.js opens that button. */
.plan-help { margin-top: 2px; text-wrap: pretty; }
.plan-buy[aria-disabled="true"] + .plan-help { display: none; }
@media (min-width: 900px) { .plan-buy[aria-disabled="true"] + .plan-help { display: block; visibility: hidden; } }
/* The Patron pass (23 Nov 2026): one wide card under the three plans, for people who want to back the maker. */
.patron { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; max-width: 1040px; margin: 28px auto 0; padding: 26px 24px; text-align: left; }
@media (min-width: 640px) { .patron { padding: 28px 30px; } }
.patron-text { flex: 1 1 420px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.patron-text .plan-note { max-width: 60ch; margin-bottom: 0; }
.patron-buy { flex: 1 1 240px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.patron-buy .plan-buy { margin-top: 8px; }
/* The dated Black Friday line under the cards; worker.js takes it off when the deal is over. */
.pricing .price-deal { margin: 28px auto 0; max-width: 60ch; text-align: center; font-size: 15px; color: var(--muted); }
.pricing .price-deal strong { font-weight: 600; color: var(--accent-text); }
.pricing .price-deal + .price-terms { margin-top: 10px; }

/* ---------- /pricing and /download: the home page's look, with the page title as the h1 ---------- */
.page-top { padding-top: 56px; }
@media (min-width: 900px) { .page-top { padding-top: 96px; } }
.sec-head h1 { font-size: clamp(40px, 7vw, 96px); }
.sec-head.center p { margin-left: auto; margin-right: auto; }
.nav ul a[aria-current="page"] { color: var(--ink); }
.nav .btn[aria-current="page"] { border-color: var(--faint); }
.steps-sec { padding-top: 0; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 760px; }
.steps li { counter-increment: step; position: relative; padding: 22px 24px 22px 68px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }
.steps li::before {
  content: counter(step); position: absolute; left: 22px; top: 21px; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 99px; background: var(--chip); color: var(--ink); font-family: var(--mono); font-size: 13px;
}
.steps li strong { color: var(--ink); font-weight: 600; }
.steps-note { margin-top: 28px; color: var(--muted); max-width: 60ch; }

/* ---------- /open: the first-open guide, with the real dialog and a drawn copy of Settings ---------- */
.open-steps figure { margin: 20px 0 4px; }
@media (max-width: 600px) { .open-steps figure { margin-left: -44px; } }
.open-frame { position: relative; display: inline-block; max-width: 100%; vertical-align: top; }
.open-shot img { display: block; max-width: 100%; height: auto; border-radius: 16px; box-shadow: 0 1px 0 rgb(0 0 0 / .04), 0 24px 60px -30px rgb(26 26 24 / .5); }
/* Around the Done button: 34–254 × 379–435 in the 524 × 470 screenshot. */
.open-ring {
  position: absolute; left: calc(6.49% - 5px); top: calc(80.64% - 5px); width: calc(41.98% + 10px); height: calc(11.91% + 10px);
  border: 2px solid var(--accent); border-radius: 12px; animation: open-pulse 2.4s var(--ease) infinite;
}
.open-steps figcaption { margin-top: 12px; font-size: 14.5px; }
.open-steps b { color: var(--ink); font-weight: 600; }
.open-settings { display: flex; width: fit-content; max-width: 100%; margin-top: 18px; }
@media (max-width: 600px) { .open-settings { width: 100%; padding: 0 16px; font-size: 16px; } }
.open-note { display: block; margin-top: 14px; font-size: 14.5px; max-width: 60ch; }
.open-started { margin: 0 0 18px; max-width: 760px; padding: 16px 20px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--panel); color: var(--muted); }
.open-started b { color: var(--ink); font-weight: 600; }
.mock-settings {
  max-width: 520px; overflow: hidden; color: var(--ink); background: var(--stone);
  border: 1px solid var(--line); border-radius: 12px; font: 13px/1.35 -apple-system, BlinkMacSystemFont, var(--sans);
  box-shadow: 0 1px 0 rgb(0 0 0 / .02), 0 24px 60px -34px rgb(26 26 24 / .45);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.mock-bar i:nth-child(2) { background: #FEBC2E; }
.mock-bar i:nth-child(3) { background: #28C840; }
.mock-bar b { margin-left: 12px; font-weight: 700; }
.mock-body { padding: 16px 14px 18px; }
.mock-section { margin: 0 0 8px 4px; font-weight: 700; }
.mock-group { background: var(--panel); border: 1px solid var(--line); border-radius: 9px; }
.mock-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 12px; }
.mock-row + .mock-row { border-top: 1px solid var(--line); }
.mock-select { color: var(--muted); }
.mock-select::after { content: "\2195"; margin-left: 6px; font-size: 11px; }
.mock-button {
  flex: none; padding: 4px 12px; border-radius: 6px; font-weight: 500; background: var(--chip); border: 1px solid var(--line);
  box-shadow: 0 1px 1px rgb(0 0 0 / .06); outline: 2px solid var(--accent); outline-offset: 3px; animation: open-pulse 2.4s var(--ease) infinite;
}
@keyframes open-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 40%, transparent); }
  60% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 0%, transparent); }
}
/* ---------- the one-line Terminal install (install.sh), on /download and /open ---------- */
.install-line { margin-top: 28px; max-width: 640px; color: var(--muted); }
.install-line strong { color: var(--ink); font-weight: 600; }
.open-steps .install-line { padding-top: 26px; border-top: 1px solid var(--line); }
.cmd { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 6px 6px 6px 16px; background: var(--night); border: 1px solid var(--line); border-radius: 12px; }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; padding: 9px 0; font: 500 14px/1.5 var(--mono); color: #EDEBE5; -webkit-user-select: all; user-select: all; scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd-copy { display: none; flex: none; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid #34332F; background: #2A2925; color: #EDEBE5; font: 600 13.5px/1 var(--sans); cursor: pointer; }
.js .cmd-copy { display: inline-flex; }
.cmd-copy:hover { background: #34332F; }
.cmd-note { margin-top: 10px; font-size: 14.5px; }
.open-faq code { padding: 1px 6px; font: 500 13.5px/1.7 var(--mono); color: var(--ink); background: var(--chip); border: 1px solid var(--line); border-radius: 6px; overflow-wrap: anywhere; }

/* ---------- the Black Friday reminder on /pricing, /download, /check and /open (main.js sends it; worker.js
   takes it off when the deal starts). The launch list's form, back for one more email. ---------- */
.bf-remind { max-width: 640px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.bf-ask { margin-bottom: 14px; max-width: 46ch; font-weight: 500; color: var(--ink); }
.waitlist { display: flex; gap: 8px; flex-wrap: wrap; max-width: 460px; }
.waitlist input { flex: 1 1 180px; min-width: 0; font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.waitlist input::placeholder { color: var(--faint); }
.waitlist input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.waitlist .btn { flex: 0 0 auto; }
.waitlist[aria-busy="true"] .btn { opacity: .6; pointer-events: none; }
.waitlist.done { display: none; }
.waitlist-msg { margin-top: 10px; }
.sendlink { margin: 2px 0 14px; max-width: 460px; }
.sendlink-ask { margin: 0 0 10px; color: var(--ink); }
.not-mac .cta > .btn-download { display: none; }
.waitlist-msg.is-error { color: var(--accent-text); }
.waitlist.done + .waitlist-msg { margin-top: 0; font: 500 16px/1.55 var(--sans); letter-spacing: 0; color: var(--ink); }
.pricing .bf-remind { margin: 36px auto 0; padding-top: 0; border-top: 0; text-align: center; }
.pricing .bf-ask, .pricing .waitlist { margin-left: auto; margin-right: auto; }
.pricing .waitlist { justify-content: center; }

/* ---------- 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; }
.site-foot .foot-links { align-items: flex-start; justify-content: flex-start; gap: 22px 72px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.foot-links .label { display: block; margin-bottom: 12px; }
.foot-links ul { flex-direction: column; gap: 8px; }
.foot-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot-badges .badge-chip { background: #fff; border-radius: 10px; padding: 2px 6px; line-height: 0; }

/* ---------- 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; }
}

/* ---------- check: does it come back? (check.html) ---------- */
.check-top { padding-bottom: 0; }
.check-top .sec-head { margin-bottom: 28px; }
.check-sec { padding-top: 0; padding-bottom: 96px; }
.check-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px; }
.check-form input { flex: 1 1 280px; min-width: 0; min-height: 52px; padding: 0 16px; font: 500 16px/1.2 var(--mono); color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.check-form input::placeholder { color: var(--faint); }
.check-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check-form .btn { min-height: 52px; }
.check-tip { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.check-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 760px; margin-top: 22px; }
.check-chips .label { margin-right: 4px; }
.check-chips button { font: 500 13px/1.2 var(--mono); padding: 8px 10px; color: var(--ink); background: var(--chip); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; max-width: 100%; overflow-wrap: anywhere; text-align: left; }
.check-chips button:hover { border-color: var(--faint); }
.check-result { max-width: 760px; margin-top: 28px; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.check-result h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; margin: 14px 0 8px; }
.check-result p { margin: 0; max-width: 62ch; color: var(--muted); }
.check-result .check-answer { margin-top: 14px; color: var(--ink); }
.check-result .check-match { margin-top: 14px; font: 500 12.5px/1.4 var(--mono); color: var(--faint); overflow-wrap: anywhere; }
.check-note { max-width: 66ch; margin-top: 32px; color: var(--muted); }
.check-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }

/* Home: one clear action. The nav's Download is the orange button; the demo is a quiet line under the hero. */
.nav .btn-nav { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.demo-note { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.demo-note .demo-link { color: var(--ink); text-underline-offset: 3px; }

/* Home: the 47-second tour, right under the hero. */
.tour { padding: 8px 0 72px; }
.tour .wrap { max-width: 1000px; }
.tour-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-bottom: 20px; }
.tour-head h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.02em; margin: 0; }
.tour-frame { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.tour-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tour-frame { position: relative; }
.tour-poster { position: absolute; inset: 0; margin: 0; padding: 0; border: 0; background: #000; cursor: pointer; display: block; }
.tour-poster[hidden] { display: none; }
.tour-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tour-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: rgba(10, 10, 9, .62); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); transition: transform .2s ease, background .2s ease; }
.tour-play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #fff; }
.tour-poster:hover .tour-play, .tour-poster:focus-visible .tour-play { transform: scale(1.06); background: rgba(232, 89, 12, .9); }
.tour-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin: 20px 0 0; color: var(--muted); font-size: 14px; }

/* Home: the menu bar panel. */
.menubar-sec { padding: 72px 0; }
.menubar-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .menubar-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 64px; } }
.menubar-copy h2 { margin: 10px 0 14px; }
.menubar-copy p { color: var(--muted); max-width: 52ch; }
.menubar-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--ink); font-size: 15px; }
.menubar-points li::before { content: "·"; color: var(--accent); font-weight: 700; margin-right: 10px; }
.menubar-shot { margin: 0; justify-self: center; max-width: 360px; width: 100%; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.menubar-shot img { display: block; width: 100%; height: auto; }

/* Patron pass bar, Black Friday week 2026 (index.html; hidden by main.js after 1 Dec 08:00 UTC). */
.patron-bar { background: #121211; color: #EDEBE5; border-bottom: 1px solid #2E2D2A; }
.patron-bar a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; padding: 10px 16px; color: inherit; text-decoration: none; font: 500 14px/1.35 "Geist", -apple-system, sans-serif; }
.patron-bar .pb-tag { font: 600 11px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: #121211; background: #FF6A1F; padding: 5px 8px; border-radius: 5px; }
.patron-bar .pb-price b { font-size: 22px; color: #FF6A1F; margin-right: 4px; vertical-align: -2px; }
.patron-bar .pb-what { color: #A29F96; }
.patron-bar .pb-clock { font: 600 13px "Geist Mono", ui-monospace, monospace; color: #EDEBE5; background: #24231F; padding: 4px 8px; border-radius: 6px; }
.patron-bar .pb-clock:empty { display: none; }
.patron-bar .pb-cta { font-weight: 700; color: #FF8A4C; }
.patron-bar a:hover .pb-cta { text-decoration: underline; }
.patron-bar[hidden] { display: none; }
@media (max-width: 640px) { .patron-bar .pb-what { display: none; } .patron-bar a { gap: 6px 12px; font-size: 13px; } }

/* Price in the first screen (28 Nov): PostHog showed "Pricing" as the most-clicked thing on the home page. */
.hero-price { margin: 14px 0 4px; font-size: 15px; color: var(--muted); }
.hero-price strong { color: var(--ink); font-weight: 600; }
.hero-price s { color: var(--faint); }
