/* Hallmark · shape: the receipt, every section ends in a line that comes back · genre: modern-minimal · theme: custom (brand-locked: dunhand identity v1) · job: try · idea: "nothing on your screen moves; one line comes back" · vibe: "ink on paper, quiet, a pen ticking a list"
 * paper: oklch(96% 0.012 85) · accent: oklch(46% 0.24 268) · display: General Sans 600 · body: General Sans 400 · hero: split, head and actions left, the live ask-to-receipt stage right (stacked under the head on phones) · nav: wordmark left, GitHub and one action right · footer: a mast, lockup and maker over a short link row · imagery: the product's own moments built in HTML, no photographs · signature: the reply slip, "Done. 14 invoices saved to Invoices/2026-11.", rising under a ticking caret
 * axes: paper/sans/ballpoint · posture: stage · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H4 E4 S5 R4 V4 · weakest: H, eight sections on one page; every section ends on its own reply line so the eye always knows where the answer is */
/* waive 67: the identity's caps label style is not used; labels are sentence case per the Floor */
/* waive 64: mono is the product's material (reply lines, log lines, file names), never costume */
/* waive 58: the owner supplied the section copy (SITE-COPY.md); the FAQ answers sit collapsed, visible text per screen stays near 80 words */
/* waive 49: the example asks are cards that hold a full sentence by design, not button labels */
/* waive 42: nav is the brand lockup with two links, decided, not a reflex */

:root {
  /* brand colour (identity/tokens.css) */
  --ink: #0E0E0E;
  --paper: #F6F2EA;
  --paper-2: #EEE8DC;
  --white: #FFFFFF;
  --ballpoint: #2B3FE0;
  --ballpoint-dark: #2233C2;
  --ballpoint-lit: #6477FF;
  --on-ballpoint: #F6F2EA;
  --graphite: #5C5850;
  --ash: #A39E94;
  --rule: #D9D1C1;
  --rule-dark: #2A2926;
  --ask: #C49A2C;
  --stop: #B4442B;
  --shade: rgba(14, 14, 14, .06);
  --shade-2: rgba(14, 14, 14, .14);
  --shade-3: rgba(14, 14, 14, .22);
  --ink-wash: rgba(14, 14, 14, .04);
  --lit-wash: rgba(100, 119, 255, .16);

  /* Hallmark aliases */
  --color-paper: var(--paper);
  --color-ink: var(--ink);
  --color-accent: var(--ballpoint);
  --color-muted: var(--graphite);
  --color-focus: var(--ballpoint);
  --bg: var(--paper); --fg: var(--ink); --fg-2: var(--graphite); --accent: var(--ballpoint); --line: var(--rule);

  /* mark parts (used by the svg sprite through inline var()) */
  --mk-tile: var(--ink); --mk-tick: var(--paper); --mk-stop: var(--ballpoint-lit);

  /* type */
  --font-display: "General Sans", "General Sans Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: var(--font-display);
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --text-hero: clamp(2.5rem, 1.55rem + 4.2vw, 5.25rem);
  --text-section: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --text-h3: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
  --text-lede: clamp(1.125rem, 1.04rem + .4vw, 1.3125rem);
  --text-md: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  --text-reply: clamp(.9375rem, .9rem + .25vw, 1.0625rem);
  --text-sm: .875rem;
  --text-xs: .8125rem;

  /* space: 4px base */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --space-3xl: 88px;
  --gutter: clamp(20px, 5vw, 48px);
  --container: 1240px;
  --section-gap: clamp(88px, 6rem + 4vw, 168px);

  --r-xs: 4px; --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  --shadow-1: 0 1px 0 var(--shade), 0 1px 2px var(--shade);
  --shadow-2: 0 1px 0 var(--shade), 0 6px 16px -6px var(--shade-2);
  --shadow-3: 0 2px 0 var(--shade), 0 18px 40px -16px var(--shade-3);

  /* motion: the identity's named language */
  --dur-blink: 1060ms; --dur-handoff: 420ms; --dur-quiet: 1600ms;
  --dur-tick: 280ms; --dur-stop: 160ms; --dur-lineback: 320ms;
  --ease-hand: cubic-bezier(.2, .7, .2, 1);
  --ease-flick: cubic-bezier(.3, 1.45, .5, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@font-face { font-family: "General Sans Fallback"; src: local("Arial"); size-adjust: 101%; ascent-override: 96%; descent-override: 24%; }

/* base (Floor) */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--graphite) var(--paper); scroll-padding-top: var(--space-3xl); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--lit-wash); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ballpoint); outline-offset: 3px; transition: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
button { font: inherit; color: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--font-mono); font-weight: 500; }
.skip { position: absolute; left: var(--space-4); top: calc(-1 * var(--space-9)); z-index: 30; background: var(--ink); color: var(--paper); padding: var(--space-2) var(--space-4); border-radius: var(--r-sm); }
.skip:focus-visible { top: var(--space-4); }

/* the mark */
.mark { width: 28px; height: 28px; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 52px; padding: 0 var(--space-5); border-radius: var(--r-sm); border: 1.5px solid transparent; font-weight: 500; font-size: 1.0625rem; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out); }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--ballpoint); color: var(--on-ballpoint); box-shadow: var(--shadow-2); }
.btn-primary:hover { background: var(--ballpoint-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 var(--space-4); font-size: 1rem; }
.btn:focus-visible { outline: 2px solid var(--ballpoint); outline-offset: 3px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; cursor: not-allowed; }

.link { font-weight: 500; text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1.5px; }
.link:hover { text-decoration-color: var(--ink); }

/* nav */
.nav { position: relative; z-index: 5; }
.nav .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--space-4); }
.lockup { display: inline-flex; align-items: center; text-decoration: none; border-radius: var(--r-xs); }
.lockup svg { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--space-5); }
.nav-links .link { font-size: 1rem; text-decoration: none; }
.nav-links .link:hover { text-decoration: underline; }
@media (max-width: 40rem) { .nav-gh { display: none; } .lockup svg { height: 26px; } }

/* ---------- hero ---------- */
.hero { padding-block: var(--space-5) var(--section-gap); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-items: center; }
.hero h1 { font-size: var(--text-hero); line-height: 1.02; letter-spacing: -.03em; }
.hero h1 span { display: block; }
.hero-lede { margin-top: var(--space-4); font-size: var(--text-lede); color: var(--fg-2); max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); }
.hero-note { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--fg-2); max-width: 36ch; }
.hero-text { display: contents; }
.hero-head { order: 1; }
.hero-stage { order: 2; }
.hero-foot { order: 3; }
@media (max-width: 40rem) {
  .hero-actions .btn-primary { flex: 1 1 100%; }
  .hero-grid { gap: var(--space-5); }
}
@media (min-width: 60rem) {
  .hero { min-height: calc(100svh - 72px); display: grid; align-content: center; padding-block: var(--space-5) var(--space-8); }
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: var(--space-8); }
  .hero-text { display: block; }
  .hero-stage { grid-column: 2; grid-row: 1; }
}

/* the stage: ask, background work, one line back */
.stage { position: relative; height: 344px; margin: 0; }

.stage-live { position: absolute; inset: 0; transition: opacity 400ms var(--ease-out); }
.stage.is-fading .stage-live { opacity: 0; }

.sheet { position: absolute; left: 0; right: 0; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.sheet-head { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); font-size: var(--text-sm); color: var(--fg-2); border-bottom: 1px solid var(--rule); }
.sheet-body { padding: var(--space-4); }

.ask { top: 18px; transform-origin: 50% 0; transition: transform var(--dur-handoff) var(--ease-hand), opacity var(--dur-handoff) var(--ease-hand); }
.ask-text { min-height: 3.1em; font-size: 1.0625rem; line-height: 1.5; }
.ask-row { display: flex; align-items: flex-end; gap: var(--space-3); }
.ask-row .ask-text { flex: 1; }
.send { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: transform 160ms var(--ease-out); }
.send svg { width: 18px; height: 18px; }
.caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: var(--ballpoint); }
.stage[data-state="ask"] .ask .caret, .mail .caret { animation: blink var(--dur-blink) steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask .caret { opacity: 0; }
.stage[data-state="ask"] .ask .caret { opacity: 1; }
.stage[data-state="send"] .send { transform: scale(.88); }

/* hand-off: the ask goes to the back */
.stage[data-state="work"] .ask, .stage[data-state="done"] .ask { transform: translateY(-8px) scale(.96); opacity: .55; }

.pill { position: absolute; z-index: 3; left: var(--space-4); top: 0; transform: translateY(6px); display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2); border-radius: 999px; background: var(--ink); color: var(--paper); font-size: var(--text-sm); white-space: nowrap; overflow: hidden; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.js .stage:not([data-state="work"]):not([data-state="done"]) .pill { opacity: 0; transform: translateY(6px); }
.pill .mark { width: 22px; height: 22px; --mk-tile: var(--paper); --mk-tick: var(--ink); }
.pill .count { color: var(--ash); font-variant-numeric: tabular-nums; }
.pill::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ballpoint-lit); transform: translateX(-100%); }
.stage[data-state="work"] .pill::after { animation: quiet var(--dur-quiet) linear infinite; }
@keyframes quiet { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.pill-done { display: none; }
.stage[data-state="done"] .pill-work { display: none; }
.stage[data-state="done"] .pill-done { display: inline; }

.mail { top: 150px; z-index: 2; transition: opacity 360ms var(--ease-out), transform 420ms var(--ease-hand); }
.js .stage:not([data-state="work"]):not([data-state="done"]) .mail { opacity: 0; transform: translateY(14px); }
.mail-to { display: flex; gap: var(--space-2); font-size: var(--text-sm); color: var(--fg-2); padding-bottom: var(--space-2); border-bottom: 1px solid var(--rule); margin-bottom: var(--space-3); }
.mail-text { font-size: 1rem; line-height: 1.55; min-height: 3.1em; }
.mail .caret { background: var(--ink); }
.stage[data-state="done"] .mail .caret { animation: none; opacity: 0; }

.receipt { position: absolute; z-index: 4; left: var(--space-3); right: var(--space-3); bottom: 0; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-3), 0 0 0 1px var(--shade); transition: opacity var(--dur-lineback) var(--ease-out), transform var(--dur-lineback) var(--ease-out); }
.receipt .reply { font-size: var(--text-reply); line-height: 1.45; }
@media (min-width: 60rem) { .stage { height: 372px; } .stage .ask-text { font-size: 1.3125rem; } .stage .mail-text { font-size: 1.125rem; } .stage .sheet-body { padding: var(--space-5); } .stage .sheet-head { padding-inline: var(--space-5); } .mail { top: 164px; } .receipt { left: var(--space-7); right: var(--space-7); padding: var(--space-4) var(--space-5); } }
.js .stage:not([data-state="done"]) .receipt { opacity: 0; transform: translateY(12px); }

/* the tick: caret foot draws out, then the full stop drops */
.tick { width: 40px; height: 40px; flex: none; }
.tick .t-tile { fill: var(--ink); }
.tick .t-path { fill: none; stroke: var(--paper); stroke-width: 8.5; stroke-linecap: square; stroke-linejoin: miter; stroke-dasharray: 70; stroke-dashoffset: 0; }
.tick .t-stop { fill: var(--ballpoint-lit); }
.js .stage:not([data-state="done"]) .tick .t-path { stroke-dashoffset: 70; }
.js .stage:not([data-state="done"]) .tick .t-stop { opacity: 0; transform: translateY(-4px); }
.stage[data-state="done"] .tick .t-path { transition: stroke-dashoffset var(--dur-tick) var(--ease-flick) 180ms; }
.stage[data-state="done"] .tick .t-stop { transition: opacity var(--dur-stop) var(--ease-out) 580ms, transform var(--dur-stop) var(--ease-out) 580ms; }

.stage-ctl { position: absolute; right: 0; top: calc(100% + var(--space-2)); display: none; align-items: center; gap: var(--space-2); min-height: 32px; padding: 0 var(--space-2); background: none; border: 0; border-radius: var(--r-xs); color: var(--fg-2); font-size: var(--text-xs); cursor: pointer; }
.stage-ctl svg { width: 14px; height: 14px; }
.stage-ctl:hover { color: var(--ink); }
.stage-ctl:focus-visible { outline: 2px solid var(--ballpoint); outline-offset: 2px; }
.js .stage-ctl { display: inline-flex; }
.stage.is-paused .caret, .stage.is-paused .pill::after { animation-play-state: paused; }

/* ---------- sections ---------- */
.section { padding-block: var(--section-gap) 0; }
.sec-head h2 { max-width: 18ch; font-size: var(--text-section); line-height: 1.08; letter-spacing: -.02em; }
.sec-lede { margin-top: var(--space-4); color: var(--fg-2); max-width: 44ch; }

/* how: three steps */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); margin-top: var(--space-8); counter-reset: step; }
.step { display: grid; gap: var(--space-4); }
.step-fig { position: relative; display: grid; align-items: center; }
@media (min-width: 60rem) { .step-fig { height: 168px; } }
.step h3 { font-size: var(--text-h3); line-height: 1.2; display: flex; align-items: baseline; gap: var(--space-3); }
.step h3::before { counter-increment: step; content: counter(step); font-size: var(--text-sm); font-weight: 500; color: var(--fg-2); min-width: 1ch; }
.step p { color: var(--fg-2); max-width: 34ch; padding-left: calc(1ch + var(--space-3)); }
@media (min-width: 60rem) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7); align-items: start; }
  .step:nth-child(2) { margin-top: var(--space-8); }
  .step:nth-child(3) { margin-top: var(--space-10); }
}
.bubble { justify-self: start; max-width: 300px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md) var(--r-md) var(--r-md) var(--r-xs); padding: var(--space-3) var(--space-4); box-shadow: var(--shadow-1); line-height: 1.45; }
.tabs { position: relative; height: 128px; max-width: 320px; }
.tab { position: absolute; left: 0; right: 0; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--white); }
.tab-back { top: 0; height: 84px; transform: scale(.94); transform-origin: 50% 0; background: var(--paper-2); display: flex; align-items: flex-start; gap: var(--space-2); padding: var(--space-3) var(--space-4); font-size: var(--text-sm); color: var(--fg-2); overflow: hidden; }
.tab-back .mark { width: 20px; height: 20px; }
.tab-back::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ballpoint); transform: translateX(-100%); }
.is-in .tab-back::after { animation: quiet var(--dur-quiet) linear infinite; }
.tab-front { top: 40px; height: 88px; box-shadow: var(--shadow-2); padding: var(--space-4); display: grid; gap: var(--space-2); align-content: start; }
.tab-front i { display: block; height: 8px; border-radius: 4px; background: var(--paper-2); }
.tab-front i:nth-child(1) { width: 70%; } .tab-front i:nth-child(2) { width: 88%; } .tab-front i:nth-child(3) { width: 46%; }

.slip { justify-self: start; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md); box-shadow: var(--shadow-2); max-width: 100%; }
.slip .mark { width: 26px; height: 26px; }
.slip .reply { font-size: var(--text-reply); line-height: 1.4; }
.slip-err .mark { --mk-stop: var(--stop); }

/* versus */
.vs { margin-top: var(--space-8); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
@media (min-width: 60rem) { .vs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; } .vs-col + .vs-col { border-left: 1px solid var(--rule); padding-left: var(--space-8); } .vs-col:first-child { padding-right: var(--space-8); } }
.vs-col h3 { font-size: var(--text-h3); margin-bottom: var(--space-4); }
.vs-col.is-them h3 { color: var(--fg-2); }
.screen { position: relative; height: 236px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--rule); overflow: hidden; }
.screen-row { position: absolute; left: var(--space-4); right: var(--space-4); height: 30px; border-radius: var(--r-xs); background: var(--white); border: 1px solid var(--rule); }
.screen-row.r1 { top: 56px; } .screen-row.r2 { top: 96px; } .screen-row.r3 { top: 136px; }
.shot-count { z-index: 2; }
.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; color: var(--ink); transform: translate(220px, 150px); }
.cursor path { fill: var(--ink); stroke: var(--white); stroke-width: 1.5; }
.flash { position: absolute; inset: 0; background: var(--white); opacity: 0; pointer-events: none; }
.shot-count { position: absolute; top: var(--space-3); left: var(--space-3); padding: var(--space-1) var(--space-3); border-radius: 999px; background: var(--white); border: 1px solid var(--rule); font-size: var(--text-xs); font-variant-numeric: tabular-nums; color: var(--ink); }
.banner { position: absolute; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--r-sm); background: var(--ink); color: var(--paper); font-size: var(--text-sm); text-align: center; }
.screen-us .mail-lines { position: absolute; left: var(--space-4); right: var(--space-4); top: 60px; display: grid; gap: var(--space-3); padding: var(--space-4); background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-sm); }
.mail-lines i { display: block; height: 8px; border-radius: 4px; background: var(--paper-2); transform-origin: 0 50%; }
.mail-lines i:nth-child(1) { width: 82%; } .mail-lines i:nth-child(2) { width: 64%; } .mail-lines i:nth-child(3) { width: 74%; }
.screen-us .pill-static { font-variant-numeric: tabular-nums; position: absolute; top: var(--space-3); left: var(--space-3); display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-3) var(--space-1) var(--space-1); border-radius: 999px; background: var(--ink); color: var(--paper); font-size: var(--text-xs); overflow: hidden; }
.pill-static .mark { width: 18px; height: 18px; --mk-tile: var(--paper); --mk-tick: var(--ink); }
.screen-us .slip { position: absolute; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); box-shadow: var(--shadow-3); }
.screen-us .slip .reply { font-size: var(--text-xs); }
.usage { margin-top: var(--space-4); display: grid; gap: var(--space-2); }
.usage-label { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--fg-2); }
.usage-track { height: 8px; border-radius: 4px; background: var(--paper-2); border: 1px solid var(--rule); overflow: hidden; }
.usage-fill { height: 100%; background: var(--ink); transform-origin: 0 50%; }
.is-them .usage-fill { transform: scaleX(.24); background: var(--stop); }
.is-us .usage-fill { transform: scaleX(.93); background: var(--ballpoint); }
.vs-list { margin-top: var(--space-5); display: grid; gap: var(--space-3); }
.vs-list li { display: flex; gap: var(--space-3); align-items: baseline; padding-bottom: var(--space-3); border-bottom: 1px solid var(--rule); }
.vs-list li:last-child { border-bottom: 0; }
.is-them .vs-list li { color: var(--fg-2); }
.vs-list svg { width: 16px; height: 16px; flex: none; transform: translateY(2px); }
.is-them .vs-list svg { color: var(--stop); }
.is-us .vs-list svg { color: var(--ballpoint); }
.vs-foot { margin-top: var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; }
.vs-foot p { font-size: var(--text-sm); color: var(--fg-2); max-width: 62ch; }
.replay { display: none; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4); border: 1.5px solid var(--rule); border-radius: var(--r-sm); background: transparent; font-size: var(--text-sm); font-weight: 500; cursor: pointer; transition: border-color 160ms var(--ease-out); }
.replay:hover { border-color: var(--ink); }
.replay:active { transform: translateY(1px); }
.replay svg { width: 16px; height: 16px; }
.js .replay { display: inline-flex; }

/* versus, played once in view */
.vs.is-playing .is-them .usage-fill { animation: drain 5.6s var(--ease-hand) both; }
.vs.is-playing .is-us .usage-fill { animation: sip 5.6s var(--ease-hand) both; }
.vs.is-playing .cursor { animation: jump 5.6s steps(1) both; }
.vs.is-playing .flash { animation: snap .8s ease-out 7; }
.vs.is-playing .mail-lines i { animation: grow 1.8s var(--ease-out) both; }
.vs.is-playing .mail-lines i:nth-child(2) { animation-delay: 1.2s; } .vs.is-playing .mail-lines i:nth-child(3) { animation-delay: 2.4s; }
.vs.is-playing .screen-us .slip { animation: lineback var(--dur-lineback) var(--ease-out) 4.8s both; }
.vs.is-playing .pill-static::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ballpoint-lit); animation: quiet var(--dur-quiet) linear 3; }
@keyframes drain { from { transform: scaleX(1); } to { transform: scaleX(.24); } }
@keyframes sip { from { transform: scaleX(1); } to { transform: scaleX(.93); } }
@keyframes snap { 0% { opacity: .85; } 100% { opacity: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lineback { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes jump {
  0% { transform: translate(40px, 70px); } 14% { transform: translate(250px, 110px); } 28% { transform: translate(90px, 150px); }
  42% { transform: translate(200px, 70px); } 57% { transform: translate(60px, 110px); } 71% { transform: translate(230px, 150px); }
  85%, 100% { transform: translate(220px, 150px); }
}

/* examples */
.jobs-wrap { margin-top: var(--space-8); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
@media (min-width: 60rem) { .jobs-wrap { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-8); } }
.jobs-group h3 { font-size: var(--text-h3); margin-bottom: var(--space-4); }
.jobs { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
@media (min-width: 40rem) { .jobs-wrap > .jobs-group:first-child .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.job { position: relative; display: grid; width: 100%; min-height: 96px; padding: 0; text-align: left; background: none; border: 0; cursor: pointer; border-radius: var(--r-md); }
.job > span { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: var(--space-2); padding: var(--space-4); border-radius: var(--r-md); border: 1px solid var(--rule); transition: opacity 240ms var(--ease-out), transform 320ms var(--ease-hand); }
.job-ask { background: var(--white); box-shadow: var(--shadow-1); line-height: 1.45; }
.job-reply { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.job-reply .r { display: flex; gap: var(--space-3); align-items: center; font-family: var(--font-mono); font-weight: 500; font-size: var(--text-reply); line-height: 1.4; }
.job-reply .mark { width: 24px; height: 24px; --mk-tile: var(--paper); --mk-tick: var(--ink); }
.job-hint { font-size: var(--text-xs); color: var(--fg-2); }
.job-reply .job-hint { color: var(--ash); }
.job:hover .job-ask { border-color: var(--ink); }
.job:active > span { transform: scale(.99); }
.job:focus-visible { outline: 2px solid var(--ballpoint); outline-offset: 3px; }
/* no script: both sides show, stacked */
html:not(.js) .job > span { grid-area: auto; }
html:not(.js) .job { gap: var(--space-2); }
.js .job-reply { opacity: 0; transform: translateY(6px); pointer-events: none; }
.js .job[aria-pressed="true"] .job-reply { opacity: 1; transform: none; }
.js .job[aria-pressed="true"] .job-ask { opacity: 0; transform: translateY(-6px); }
.js-only { display: none; }
.js .js-only { display: block; }
.jobs-tip { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--fg-2); }

/* safety */
.safe { margin-top: var(--space-8); display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--rule); }
.safe-item { display: grid; gap: var(--space-4); padding-block: var(--space-7); border-bottom: 1px solid var(--rule); }
.safe-item h3 { font-size: var(--text-h3); line-height: 1.2; }
.safe-item p { color: var(--fg-2); max-width: 48ch; }
.safe-fig { min-height: 132px; display: grid; align-items: center; }
@media (min-width: 60rem) {
  .safe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safe-item { padding: var(--space-8) var(--space-8) var(--space-8) 0; grid-template-columns: minmax(0, 1fr); }
  .safe-item:nth-child(even) { padding-left: var(--space-8); padding-right: 0; border-left: 1px solid var(--rule); }
  .safe-item:nth-child(n+3) { border-bottom: 0; }
}
.allow { max-width: 320px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: var(--space-4); display: grid; gap: var(--space-3); }
.chip-ask { justify-self: start; white-space: nowrap; padding: var(--space-1) var(--space-3); border-radius: var(--r-xs); background: var(--ask); color: var(--ink); font-size: var(--text-xs); font-weight: 500; }
.allow-q { font-family: var(--font-mono); font-weight: 500; font-size: var(--text-reply); }
.allow-btns { display: flex; gap: var(--space-2); }
.fake-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-4); border-radius: var(--r-sm); font-size: var(--text-sm); font-weight: 500; border: 1.5px solid var(--rule); }
.fake-btn.is-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stopper { display: flex; align-items: center; gap: var(--space-4); }
.stop-btn { display: grid; place-items: center; width: 96px; height: 96px; border-radius: var(--r-lg); background: var(--stop); color: var(--paper); font-weight: 600; font-size: 1.125rem; box-shadow: var(--shadow-2); }
.stop-btn i { display: block; width: 22px; height: 22px; background: var(--paper); margin-bottom: var(--space-1); }
.stopper .mono { font-size: var(--text-reply); color: var(--fg-2); max-width: 20ch; }
.log { max-width: 380px; display: grid; gap: var(--space-1); font-family: var(--font-mono); font-weight: 500; font-size: var(--text-xs); line-height: 1.6; }
.log li { display: grid; grid-template-columns: 9ch minmax(0, 1fr); gap: var(--space-2); padding-block: var(--space-1); border-bottom: 1px dashed var(--rule); }
.log time { color: var(--fg-2); }
.log .is-ask { color: var(--ink); }
.log .is-ask span { justify-self: start; background: var(--ask); padding: 0 var(--space-1); border-radius: 2px; }
.local { display: flex; align-items: center; gap: var(--space-4); }
.local svg { width: 64px; height: 64px; color: var(--ink); flex: none; }
.local .mono { font-size: var(--text-reply); }

/* free: the dark band */
.free { margin-top: var(--section-gap); background: var(--ink); color: var(--paper); padding-block: var(--section-gap); --bg: var(--ink); --fg: var(--paper); --fg-2: var(--ash); --line: var(--rule-dark); }
.free ::selection { color: var(--paper); }
.free-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); align-items: center; }
@media (min-width: 60rem) { .free-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.hands { position: relative; display: flex; align-items: flex-end; gap: var(--space-4); padding-bottom: var(--space-8); }
.hands svg { display: block; flex: none; }
.hand-main { width: clamp(150px, 40vw, 220px); height: auto; aspect-ratio: 1; }
.hand-main .t-path { fill: var(--paper); }
.hand-main .t-stop { fill: var(--ballpoint-lit); }
.hand-ghost { width: clamp(72px, 18vw, 104px); height: auto; aspect-ratio: 1; }
.hand-ghost path, .hand-ghost rect { fill: none; stroke: var(--ash); stroke-opacity: .45; stroke-width: 1; }
.hand-ghost.g1 { margin-bottom: var(--space-8); }
.hand-ghost.g2 { width: clamp(56px, 14vw, 80px); }
.tag { position: absolute; left: 0; bottom: 0; padding: var(--space-2) var(--space-4); background: var(--paper); color: var(--ink); border-radius: var(--r-xs); font-weight: 500; font-size: var(--text-sm); transform: rotate(-3deg); box-shadow: var(--shadow-2); }
.free .sec-head h2 { max-width: 12ch; }
.free .sec-lede { color: var(--ash); }
.tiers { margin-top: var(--space-7); display: grid; border-top: 1px solid var(--rule-dark); }
.tier { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); padding-block: var(--space-5); border-bottom: 1px solid var(--rule-dark); }
@media (min-width: 40rem) { .tier { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-5); } }
.tier h3 { font-size: var(--text-h3); }
.tier p { color: var(--ash); }
.tier.is-now h3 { color: var(--paper); }
.tier.is-later h3 { color: var(--ash); }

/* install */
.install-steps { margin-top: var(--space-8); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); counter-reset: inst; }
@media (min-width: 60rem) { .install-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); } }
.inst { position: relative; display: grid; grid-template-rows: auto 1fr; gap: var(--space-5); padding: var(--space-5); background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); min-height: 280px; }
.inst-n { font-size: 3.5rem; line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--rule); }
.inst h3 { font-size: var(--text-h3); line-height: 1.25; }
.inst-fig { align-self: end; display: grid; gap: var(--space-3); }
.file { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: var(--r-sm); background: var(--paper); }
.file .mark { width: 36px; height: 36px; }
.file .mono { font-size: var(--text-sm); }
.file svg.dl { width: 20px; height: 20px; margin-left: auto; color: var(--ballpoint); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3); border-radius: var(--r-sm); background: var(--paper); font-size: var(--text-sm); }
.toggle { width: 40px; height: 24px; border-radius: 12px; background: var(--ballpoint); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); top: 3px; left: 19px; }
.inst .small { font-size: var(--text-sm); color: var(--fg-2); }
.inst .bubble { box-shadow: none; background: var(--paper); border-color: transparent; font-size: var(--text-sm); }
.inst .ask-line { display: flex; gap: var(--space-2); align-items: center; font-size: var(--text-sm); }
.install-cta { margin-top: var(--space-7); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.install-notes { margin-top: var(--space-5); display: grid; gap: var(--space-2); font-size: var(--text-sm); color: var(--fg-2); }
@media (max-width: 40rem) { .install-cta .btn { flex: 1 1 100%; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
@media (min-width: 60rem) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-8); } }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 64px; padding-block: var(--space-4); font-size: var(--text-h3); font-weight: 500; line-height: 1.3; cursor: pointer; border-radius: var(--r-xs); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--ballpoint); outline-offset: 2px; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform 240ms var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--space-5); color: var(--fg-2); max-width: 60ch; }

/* footer */
.foot { margin-top: var(--section-gap); padding-block: var(--space-8) var(--space-9); border-top: 1px solid var(--rule); }
.foot-top { display: grid; gap: var(--space-5); }
.foot-top .lockup svg { height: 34px; }
.foot-made { font-size: var(--text-lede); }
.foot-links { margin-top: var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); font-size: var(--text-sm); }
.foot-links a { text-decoration: none; color: var(--ink); }
.foot-links a:hover { text-decoration: underline; }
.foot-quiet { margin-top: var(--space-5); display: grid; gap: var(--space-2); font-size: var(--text-sm); color: var(--fg-2); }
.foot-quiet strong { color: var(--ink); font-weight: 500; }
@media (min-width: 60rem) { .foot-top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }

/* the dock: thumb-reach action on phones */
.dock { display: none; }
@media (max-width: 40rem) {
  .js .dock { display: flex; position: fixed; z-index: 20; left: var(--space-3); right: var(--space-3); bottom: calc(var(--space-3) + env(safe-area-inset-bottom)); padding: var(--space-2); gap: var(--space-2); align-items: center; background: var(--ink); color: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow-3); transform: translateY(calc(100% + var(--space-6))); transition: transform 320ms var(--ease-hand); }
  .js .dock.is-shown { transform: none; }
  .dock .mark { width: 32px; height: 32px; margin-left: var(--space-1); --mk-tile: var(--paper); --mk-tick: var(--ink); }
  .dock span { flex: 1; font-size: var(--text-sm); color: var(--ash); line-height: 1.3; }
  .dock .btn { min-height: 44px; padding: 0 var(--space-4); font-size: 1rem; }
  .dock .btn:focus-visible { outline-color: var(--ballpoint-lit); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .pill::after, .tab-back::after { animation: none !important; transform: translateX(-100%); }
}
.stage-ctl[hidden] { display: none !important; }
.hero-stage { margin-bottom: var(--space-5); }
.ask .sheet-head { transition: color 200ms var(--ease-out); }
.stage[data-state="work"] .ask .sheet-head, .stage[data-state="done"] .ask .sheet-head { color: transparent; }
.safe-fig { height: 150px; min-height: 0; }
