/* ─────────────────────────────────────────────────────────────
   FOLD · demo website
   The app's design system (web/src/styles/app.css), stretched into a long page:
   the same tokens, vibes, stickers, hard shadows and handwritten notes.
   ───────────────────────────────────────────────────────────── */

@font-face { font-family: 'Bricolage Grotesque Variable'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/bricolage.woff2) format('woff2-variations'); }
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter.woff2) format('woff2-variations'); }
@font-face { font-family: 'JetBrains Mono Variable'; font-style: normal; font-display: swap; font-weight: 100 800; src: url(fonts/jetbrains-mono.woff2) format('woff2-variations'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/caveat-600.woff2) format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/caveat-700.woff2) format('woff2'); }

:root {
  --ink: #0e0e0e;
  --paper: #f4f1e8;
  --white: #ffffff;
  --lime: #d4ff3f;
  --pink: #ff7ad9;
  --blaze: #ff5b22;
  --cobalt: #3e5bff;
  --grape: #a57bff;
  --sun: #ffd84d;
  --mint: #46f0b4;

  --font-display: 'Bricolage Grotesque Variable', 'Inter Variable', system-ui, sans-serif;
  --font-ui: 'Inter Variable', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono Variable', ui-monospace, Menlo, monospace;
  --font-hand: 'Caveat', 'Bradley Hand', cursive;

  --r-pill: 999px;
  --bw: 2px;

  --t-pdf: var(--blaze);
  --t-docx: var(--cobalt);
  --t-pages: var(--sun);
  --t-md: var(--lime);
  --t-mdx: var(--grape);
  --t-html: var(--pink);
  --t-json: var(--mint);
  --t-txt: var(--paper);
  --t-code: var(--ink);

  /* The app's springs (web/src/motion/spring.ts), sampled into linear(). */
  --ease-open: linear(0, 0.0125, 0.0459, 0.0947, 0.1541, 0.2204, 0.2903, 0.3614, 0.4316, 0.4996, 0.5641, 0.6245, 0.6801, 0.7308, 0.7764, 0.8171, 0.8529, 0.8841, 0.911, 0.9339, 0.9532, 0.9692, 0.9823, 0.9929, 1.0012, 1.0077, 1.0124, 1.0158, 1.0181, 1.0193, 1.0199, 1.0198, 1.0193, 1.0184, 1.0173, 1.016, 1.0147, 1.0132, 1.0118, 1.0105, 1.0092, 1.0079, 1.0068, 1.0057, 1.0048, 1.0039, 1.0032, 1.0025, 1);
  --ms-open: 657ms;
  --ease-close: linear(0, 0.0138, 0.0493, 0.0991, 0.1577, 0.2208, 0.2856, 0.3498, 0.4119, 0.4709, 0.5262, 0.5775, 0.6245, 0.6674, 0.7063, 0.7412, 0.7726, 0.8005, 0.8254, 0.8475, 0.8669, 0.8841, 0.8992, 0.9124, 0.924, 0.9342, 0.943, 0.9507, 0.9574, 0.9632, 0.9683, 0.9727, 0.9765, 0.9798, 0.9826, 0.985, 0.9871, 0.989, 0.9905, 0.9919, 0.993, 0.994, 0.9949, 0.9956, 0.9963, 0.9968, 0.9973, 0.9977, 1);
  --ms-close: 485ms;
  --ease-snappy: linear(0, 0.013, 0.0473, 0.097, 0.1571, 0.2236, 0.2932, 0.3636, 0.4328, 0.4993, 0.5621, 0.6207, 0.6745, 0.7233, 0.7672, 0.8063, 0.8408, 0.8708, 0.8968, 0.9191, 0.938, 0.9539, 0.967, 0.9779, 0.9866, 0.9936, 0.999, 1.0032, 1.0062, 1.0084, 1.0098, 1.0107, 1.0111, 1.0111, 1.0108, 1.0103, 1.0097, 1.009, 1.0083, 1.0075, 1.0067, 1.0059, 1.0052, 1.0045, 1.0039, 1.0033, 1.0028, 1.0024, 1);
  --ms-snappy: 438ms;
  --ease-settle: linear(0, 0.0139, 0.0495, 0.0995, 0.1582, 0.2215, 0.2864, 0.3507, 0.4129, 0.472, 0.5273, 0.5786, 0.6256, 0.6685, 0.7073, 0.7423, 0.7736, 0.8015, 0.8263, 0.8483, 0.8677, 0.8848, 0.8998, 0.913, 0.9246, 0.9347, 0.9435, 0.9511, 0.9578, 0.9636, 0.9686, 0.9729, 0.9767, 0.98, 0.9828, 0.9852, 0.9873, 0.9891, 0.9906, 0.992, 0.9931, 0.9941, 0.995, 0.9957, 0.9963, 0.9968, 0.9973, 0.9977, 1);
  --ms-settle: 540ms;
  --expo: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── vibes (same values as the app) ─────────────────────────── */

:root,
[data-theme='acid'] {
  --bg: #0e0e0e;
  --surface: #181818;
  --surface-2: #232323;
  --text: #f4f1e8;
  --muted: #8f8b82;
  --line: #2c2c2c;
  --accent: var(--lime);
  --on-accent: var(--ink);
  --accent-2: var(--pink);
  --accent-3: var(--blaze);
  --edge: var(--ink);
  --shadow-c: #f4f1e8;
  --dot: rgba(244, 241, 232, 0.13);
  --sel: rgba(212, 255, 63, 0.3);
  /* site-only */
  --stroke: #3a3a3a;
  --win-shadow: var(--lime);
  --note-bg: var(--pink);
  color-scheme: dark;
}

[data-theme='paper'] {
  --bg: #f4f1e8;
  --surface: #ffffff;
  --surface-2: #e9e4d6;
  --text: #0e0e0e;
  --muted: #6c685f;
  --line: #d8d2c2;
  --accent: var(--lime);
  --on-accent: var(--ink);
  --accent-2: var(--pink);
  --accent-3: var(--blaze);
  --edge: var(--ink);
  --shadow-c: var(--ink);
  --dot: rgba(14, 14, 14, 0.12);
  --sel: rgba(212, 255, 63, 0.75);
  --stroke: var(--ink);
  --win-shadow: var(--ink);
  --note-bg: var(--pink);
  color-scheme: light;
}

[data-theme='bubblegum'] {
  --bg: #ff7ad9;
  --surface: #ffb0ec;
  --surface-2: #ff9ae4;
  --text: #0e0e0e;
  --muted: rgba(14, 14, 14, 0.62);
  --line: rgba(14, 14, 14, 0.2);
  --accent: var(--lime);
  --on-accent: var(--ink);
  --accent-2: var(--ink);
  --accent-3: var(--blaze);
  --edge: var(--ink);
  --shadow-c: var(--ink);
  --dot: rgba(14, 14, 14, 0.14);
  --sel: rgba(212, 255, 63, 0.8);
  --stroke: var(--ink);
  --win-shadow: var(--ink);
  --note-bg: var(--lime);
  color-scheme: light;
}

[data-theme='blaze'] {
  --bg: #ff5b22;
  --surface: #ff8a5e;
  --surface-2: #ff7444;
  --text: #0e0e0e;
  --muted: rgba(14, 14, 14, 0.62);
  --line: rgba(14, 14, 14, 0.22);
  --accent: var(--lime);
  --on-accent: var(--ink);
  --accent-2: var(--ink);
  --accent-3: var(--sun);
  --edge: var(--ink);
  --shadow-c: var(--ink);
  --dot: rgba(14, 14, 14, 0.16);
  --sel: rgba(212, 255, 63, 0.8);
  --stroke: var(--ink);
  --win-shadow: var(--ink);
  --note-bg: var(--lime);
  color-scheme: light;
}

/* ── base ───────────────────────────────────────────────────── */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.5 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color var(--ms-settle) var(--ease-settle), color var(--ms-settle) var(--ease-settle);
}
::selection { background: var(--sel); color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
.hand { font-family: var(--font-hand); font-weight: 700; letter-spacing: 0; }
.spacer { flex: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-weight: 700; }
.skip:focus { top: 12px; }

/* ── buttons ────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  border: var(--bw) solid transparent;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  transition: transform var(--ms-snappy) var(--ease-snappy), box-shadow var(--ms-snappy) var(--ease-snappy), background-color 160ms;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--edge);
  box-shadow: 3px 3px 0 var(--shadow-c);
}
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow-c); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow-c); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-ink { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 17px; }

/* ── stickers ───────────────────────────────────────────────── */

.sticker {
  --fold: 14px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 10px;
  background: var(--c);
  color: var(--ink);
  border: var(--bw) solid var(--ink);
  border-radius: 9px;
  font: 800 13px/1.2 var(--font-display);
  letter-spacing: -0.01em;
  clip-path: polygon(0 0, calc(100% - var(--fold)) 0, 100% var(--fold), 100% 100%, 0 100%);
}
.sticker::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: var(--fold);
  height: var(--fold);
  background: linear-gradient(225deg, transparent 49%, rgba(14, 14, 14, 0.35) 50%, rgba(255, 255, 255, 0.55) 52%);
  border-bottom-left-radius: 4px;
}

[data-kind='pdf'] { --c: var(--t-pdf); }
[data-kind='docx'] { --c: var(--t-docx); }
[data-kind='pages'] { --c: var(--t-pages); }
[data-kind='md'] { --c: var(--t-md); }
[data-kind='mdx'] { --c: var(--t-mdx); }
[data-kind='html'] { --c: var(--t-html); }
[data-kind='json'] { --c: var(--t-json); }
[data-kind='txt'] { --c: var(--t-txt); }
[data-kind='code'] { --c: var(--t-code); }

/* ── mark + wordmark ────────────────────────────────────────── */

.mark { display: block; }
.wordmark {
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  font: 800 30px/0.9 var(--font-display);
  letter-spacing: -0.06em;
  color: var(--text);
  text-decoration: none;
}
.wordmark .mark { width: 18px; height: 18px; margin-top: -2px; transition: transform var(--ms-snappy) var(--ease-snappy); }
.wordmark:hover .mark { transform: rotate(-12deg) scale(1.1); }

/* ── nav ────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: background-color var(--ms-settle) var(--ease-settle);
}
.nav-row { display: flex; align-items: center; gap: 18px; height: 68px; }
.nav-links { display: flex; gap: 2px; margin-left: 18px; }
.nav-links a {
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-weight: 650;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms, background-color 160ms;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.vibes { display: flex; gap: 8px; align-items: center; }
.vibes .label { font: 700 19px/1 var(--font-hand); color: var(--muted); margin-right: 2px; }
.swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: var(--bw) solid var(--ink);
  padding: 0;
  transition: transform var(--ms-snappy) var(--ease-snappy), box-shadow 200ms;
}
.swatch:hover { transform: scale(1.12) rotate(-8deg); }
.swatch[aria-pressed='true'] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--text); }
.swatch.acid { background: conic-gradient(var(--lime) 0 50%, var(--ink) 0); }
.swatch.paper { background: conic-gradient(var(--paper) 0 50%, var(--ink) 0); }
.swatch.bubblegum { background: conic-gradient(var(--pink) 0 50%, var(--lime) 0); }
.swatch.blaze { background: conic-gradient(var(--blaze) 0 50%, var(--lime) 0); }
.nav-cta { height: 38px; padding: 0 16px; font-size: 14.5px; }

/* ── shared section bits ────────────────────────────────────── */

section { position: relative; padding: 112px 0; }
.section-head { max-width: 760px; }
.kicker { display: inline-flex; margin-bottom: 18px; }
.kicker.hand { font-size: 26px; color: var(--accent-2); transform: rotate(-2deg); }
[data-theme='acid'] .kicker.hand { color: var(--pink); }
.h2 {
  margin: 0;
  font: 800 clamp(44px, 6.4vw, 92px)/0.9 var(--font-display);
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.lede {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 18.5px;
  line-height: 1.5;
  opacity: 0.86;
  text-wrap: pretty;
}

/* reveal on scroll: time-based, on the app's open spring (site.js adds .in) */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 520ms var(--expo) var(--d, 0ms), transform var(--ms-open) var(--ease-open) var(--d, 0ms);
}

/* ── hero ───────────────────────────────────────────────────── */

.hero { padding: 52px 0 40px; }
.hero-head { position: relative; }
.hero-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-deco .dots {
  position: absolute;
  right: -80px;
  top: 40px;
  width: 640px;
  height: 640px;
  background-image: radial-gradient(var(--dot) 1.6px, transparent 1.8px);
  background-size: 14px 14px;
  border-radius: 50%;
  mask-image: radial-gradient(circle, #000 35%, transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 32px;
  align-items: center;
  margin-top: 6px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: var(--bw) solid var(--stroke);
  border-radius: var(--r-pill);
  font: 650 11.5px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); border: 1.5px solid var(--ink); }
.pulse::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--lime);
  animation: ping 1.8s var(--expo) infinite;
}
@keyframes ping { from { transform: scale(1); opacity: 0.7; } to { transform: scale(2.8); opacity: 0; } }
.hero-title {
  margin: 24px 0 0;
  font: 800 clamp(52px, 9.4vw, 142px)/0.86 var(--font-display);
  letter-spacing: -0.06em;
  text-wrap: balance;
}
/* the year, stuck on like a sticker */
.hero-title .yr {
  display: inline-block;
  padding: 0 0.07em 0.02em;
  border: 0.03em solid var(--ink);
  border-radius: 0.14em;
  background: var(--note-bg);
  color: var(--ink);
  transform: rotate(-3deg) translateY(-0.02em);
  box-shadow: 0.05em 0.05em 0 var(--shadow-c);
}
.hero-title .line { display: block; }
.hero-title .dot { display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.03em; vertical-align: baseline; }
.hero-note {
  display: inline-block;
  margin: 14px 0 0 6px;
  font: 700 clamp(24px, 2.4vw, 31px)/1 var(--font-hand);
  color: var(--accent-2);
  transform: rotate(-2.5deg);
  position: relative;
}
[data-theme='acid'] .hero-note { color: var(--pink); }
.hero-note svg { position: absolute; left: -4px; bottom: -12px; width: calc(100% + 12px); height: 14px; }
.hero-sub { max-width: 520px; margin: 28px 0 28px; font-size: 19px; line-height: 1.5; opacity: 0.86; text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* the pile: tilted file cards, straight out of the app's home screen */
.pile { position: relative; width: 480px; height: 480px; justify-self: center; }
.file-card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 180px;
  height: 136px;
  color: var(--ink);
  transform: rotate(var(--tilt));
  filter: drop-shadow(5px 5px 0 var(--shadow-c));
  transition: transform var(--ms-snappy) var(--ease-snappy), filter var(--ms-snappy) var(--ease-snappy);
}
.file-card .face {
  position: absolute;
  inset: 0;
  padding: 14px 14px 12px;
  border: var(--bw) solid var(--ink);
  border-radius: 16px;
  background: var(--c);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
.file-card .face::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 26px;
  height: 26px;
  background: linear-gradient(225deg, transparent 49%, rgba(14, 14, 14, 0.4) 50%, rgba(255, 255, 255, 0.6) 52%);
  border-bottom-left-radius: 7px;
}
.file-card:hover { transform: rotate(0deg) translateY(-6px); filter: drop-shadow(7px 8px 0 var(--shadow-c)); z-index: 2; }
.file-card .ext { font: 800 32px/0.9 var(--font-display); letter-spacing: -0.05em; }
.file-card .name { font: 650 13px/1.25 var(--font-ui); }
.file-card .when { font: 700 18px/1 var(--font-hand); opacity: 0.75; }
.file-card[data-kind='docx'] .face { color: var(--white); }
.pile { pointer-events: none; }
.pile .file-card { pointer-events: auto; }
/* the pile is a toy: drag the files about, or click one to open it in the live demo */
.pile .file-card {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: grab;
  touch-action: none;
  translate: var(--dx, 0px) var(--dy, 0px);
}
.pile .file-card.dragging {
  z-index: 6;
  cursor: grabbing;
  transform: rotate(var(--lean, 0deg)) scale(1.07);
  filter: drop-shadow(12px 14px 0 var(--shadow-c));
}
.pile .file-card.top { z-index: 4; }
.pile-note small { display: block; margin-top: 8px; font-size: 19px; color: var(--accent-2); }
[data-theme='acid'] .pile-note small { color: var(--pink); }
.hero-title .yr + .dot { margin-left: 0.09em; }
.pile-note {
  position: absolute;
  right: -4px;
  bottom: -26px;
  width: 190px;
  font: 700 26px/1 var(--font-hand);
  color: var(--muted);
  transform: rotate(-5deg);
  text-align: right;
}
.pile-note svg { display: block; width: 74px; height: 56px; margin: 6px 0 0 auto; transform: scaleX(-1) rotate(-30deg); }

/* platforms: the Mac is here; the rest are being built */
.platforms { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px 0 10px;
  border: var(--bw) dashed var(--muted);
  border-radius: var(--r-pill);
  color: var(--text);
  text-decoration: none;
  font: 750 13px/1 var(--font-ui);
  transition: transform var(--ms-snappy) var(--ease-snappy), border-color 160ms;
}
.platforms a:hover { transform: translateY(-2px); border-color: var(--text); }
.platforms span { font: 650 10px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.platforms i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px dashed var(--muted); animation: turn 3.2s linear infinite; }
.platforms .ready a { border-style: solid; border-color: var(--stroke); background: var(--surface); }
.platforms .ready i { position: relative; border: 1.5px solid var(--ink); background: var(--lime); animation: none; }
.platforms .ready i::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; background: var(--lime); animation: ping 1.8s var(--expo) infinite; }
@keyframes turn { to { transform: rotate(1turn); } }

/* ── live demo ──────────────────────────────────────────────── */

.demo { padding-top: 84px; }
.tour { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 40px 0 0; }
.tour-label { font-size: 23px; color: var(--muted); margin-right: 4px; transform: rotate(-2deg); }
.tour button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px 0 6px;
  border-radius: var(--r-pill);
  border: var(--bw) solid var(--stroke);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 14.5px;
  transition: transform var(--ms-snappy) var(--ease-snappy), box-shadow var(--ms-snappy) var(--ease-snappy), background-color 160ms, color 160ms;
}
.tour button:hover { transform: translateY(-2px); }
.tour button:active { transform: translateY(1px); }
.tour .n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: var(--bw) solid var(--ink);
  background: var(--c);
  color: var(--ink);
  font: 800 13px/1 var(--font-display);
}
.tour [data-step='word'] .n, .tour [data-step='edit'] .n { color: var(--white); }
.tour button[aria-pressed='true'] {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--edge);
  box-shadow: 3px 3px 0 var(--shadow-c);
}
.tour .tour-home { width: 42px; padding: 0; justify-content: center; font-size: 18px; }

.window { position: relative; margin-top: 30px; }
.window-frame {
  border: var(--bw) solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 12px 12px 0 var(--win-shadow);
  transition: box-shadow var(--ms-settle) var(--ease-settle);
}
.titlebar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding: 0 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.3); }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.titlebar .title { position: absolute; left: 50%; transform: translateX(-50%); font: 650 13px/1 var(--font-ui); color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); border: 1px solid var(--ink); }
.live i::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; background: var(--lime); animation: ping 1.8s var(--expo) infinite; }
.viewport { position: relative; height: 720px; overflow: hidden; background: var(--bg); }
#app-frame {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  transform-origin: 0 0;
  background: transparent;
  opacity: 0;
  transition: opacity 360ms var(--expo);
}
.window.ready #app-frame { opacity: 1; }
.booting {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: var(--muted);
  transition: opacity 300ms, visibility 0s 300ms;
}
.booting .mark { width: 56px; height: 56px; }
.booting .page { fill: var(--accent); }
.booting .flap { fill: var(--pink); transform-origin: 66% 34%; animation: flap 900ms ease-in-out infinite alternate; }
@keyframes flap { to { transform: rotate(-14deg) scale(0.92); } }
.booting .hand { font-size: 23px; }
.window.ready .booting { opacity: 0; visibility: hidden; }
.caption {
  position: absolute;
  top: -22px;
  right: 26px;
  z-index: 2;
  max-width: min(380px, 72%);
  margin: 0;
  padding: 8px 15px 9px;
  border: var(--bw) solid var(--ink);
  border-radius: 14px;
  background: var(--note-bg);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font: 700 22px/1.08 var(--font-hand);
  transform: rotate(-2deg);
}
.demo-small { display: none; margin: 26px 0 0; font: 700 21px/1.1 var(--font-hand); color: var(--muted); }

/* ── problems → fixes ───────────────────────────────────────── */

.pf-list { list-style: none; margin: 64px 0 0; padding: 0; display: grid; gap: 26px; }
.pf { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; }
.pf .p { padding: 22px 26px 24px; border: var(--bw) dashed var(--muted); border-radius: 22px; color: var(--muted); }
.pf .num { font: 700 12px/1 var(--font-mono); letter-spacing: 0.12em; }
.pf h3 { margin: 10px 0 8px; font: 800 clamp(22px, 2.3vw, 28px)/1.04 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
.pf .p h3 { color: var(--text); }
.pf p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.strike {
  background: linear-gradient(var(--accent-3), var(--accent-3)) no-repeat 0 58% / 0% 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 700ms var(--expo) 350ms;
}
.pf.in .strike, html:not(.js) .strike { background-size: 100% 4px; }
.pf-arrow { width: 72px; height: 36px; justify-self: center; color: var(--text); }
.pf .f { filter: drop-shadow(6px 6px 0 var(--shadow-c)); transform: rotate(var(--tilt, 0.8deg)); transition: transform var(--ms-snappy) var(--ease-snappy); }
.pf .f:hover, .pf:hover .f { transform: rotate(0deg) translateY(-4px); }
.pf-arrow { transition: transform var(--ms-snappy) var(--ease-snappy); }
.pf:hover .pf-arrow { transform: translateX(8px); }
.pf:hover .strike { background-size: 100% 4px; }
.pf .face {
  position: relative;
  display: block;
  padding: 22px 26px 24px;
  background: var(--c);
  color: var(--ink);
  border: var(--bw) solid var(--ink);
  border-radius: 22px;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}
.pf .face::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 32px;
  height: 32px;
  background: linear-gradient(225deg, transparent 49%, rgba(14, 14, 14, 0.4) 50%, rgba(255, 255, 255, 0.6) 52%);
  border-bottom-left-radius: 8px;
}
.pf .tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--c);
  font: 800 12px/1.2 var(--font-display);
  letter-spacing: -0.01em;
}

/* ── save dialog ────────────────────────────────────────────── */

/* the dialog copy already reserves its open height, so the section needs less padding below */
.save { padding-bottom: 40px; }
.save-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.choices { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.choices li { display: flex; gap: 14px; align-items: baseline; font-size: 16.5px; }
.choices b {
  flex: none;
  min-width: 148px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: var(--bw) solid var(--stroke);
  font: 700 14px/1.2 var(--font-ui);
  text-align: center;
}
.choices li:last-child b { background: var(--accent); color: var(--on-accent); border-color: var(--edge); }
.choices span { opacity: 0.86; }

.replica-stage { position: relative; padding: 34px 0 40px 18px; }
.replica {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border: var(--bw) solid var(--ink);
  border-radius: 26px;
  box-shadow: 10px 10px 0 var(--accent);
  padding: 28px 28px 22px;
  transform-origin: 50% 0;
}
[data-theme='paper'] .replica { box-shadow: 10px 10px 0 var(--ink); }
.replica h3 { margin: 0 0 16px; font: 800 30px/1 var(--font-display); letter-spacing: -0.035em; }
.replica h3 code { font: inherit; background: var(--lime); padding: 0 6px; border-radius: 8px; border: 2px solid var(--ink); }
.replica .lede { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: #4a4740; opacity: 1; }
.loss-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.loss-list li { display: flex; align-items: center; gap: 12px; font: 600 15px/1.3 var(--font-ui); }
.loss-list .count {
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 2px solid var(--ink);
  background: var(--pink);
  font: 800 15px/1 var(--font-display);
}
.loss-list li:nth-child(3n + 2) .count { background: var(--sun); }
.loss-list li:nth-child(3n + 3) .count { background: var(--mint); }
.loss-list li .count.dash { background: var(--paper); }
.dialog-actions { display: flex; align-items: center; gap: 10px; }
.dialog-actions .btn { height: 42px; color: var(--ink); }
.replica .btn-ghost:hover { background: rgba(14, 14, 14, 0.08); }
.replica .btn-primary { background: var(--lime); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.info-btn {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 800 16px/1 var(--font-display);
  font-style: italic;
  transition: background-color 160ms, transform var(--ms-snappy) var(--ease-snappy);
}
.info-btn:hover { transform: rotate(-12deg); }
.info-btn[aria-expanded='true'] { background: var(--ink); color: var(--paper); }
.explain {
  margin: 4px 0 20px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 2px dashed var(--ink);
  display: grid;
  gap: 10px;
  font: 500 14.5px/1.45 var(--font-ui);
}
.explain[hidden] { display: none; }
.explain p { margin: 0; }
.explain b { font-weight: 800; }
.explain .hand { font-size: 21px; color: #6c685f; }
.replica-wrap { position: relative; width: min(560px, 100%); }
.replica-stage .note { position: absolute; font-size: 24px; color: var(--muted); }
.note-counted { left: 300px; top: -4px; transform: rotate(-3deg); }
/* sits under the card while it's closed; gone once the (i) has been tapped */
.note-info { left: 8px; top: calc(100% + 8px); display: flex; align-items: center; gap: 4px; transform: rotate(-4deg); }
.replica-stage.tapped .note-info { display: none; }
.note-info svg { width: 50px; height: 38px; transform: rotate(-110deg) scaleX(-1); }

/* ── formats ────────────────────────────────────────────────── */

.format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; margin-top: 60px; }
.fcard { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; filter: drop-shadow(6px 6px 0 var(--shadow-c)); }
.fcard .try {
  position: absolute;
  right: 16px;
  bottom: -14px;
  padding: 7px 11px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--lime);
  font: 700 11.5px/1 var(--font-mono);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 160ms, transform var(--ms-snappy) var(--ease-snappy);
}
.fcard:hover .try, .fcard:focus-visible .try { opacity: 1; transform: none; }
@media (hover: none) { .fcard .try { opacity: 1; transform: none; } }
.fcard .face {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 212px;
  padding: 20px 20px 18px;
  background: var(--c);
  color: var(--ink);
  border: var(--bw) solid var(--ink);
  border-radius: 20px;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  transform: rotate(var(--tilt));
  transition: transform var(--ms-snappy) var(--ease-snappy);
}
.fcard .face::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 34px;
  height: 34px;
  background: linear-gradient(225deg, transparent 49%, rgba(14, 14, 14, 0.4) 50%, rgba(255, 255, 255, 0.6) 52%);
  border-bottom-left-radius: 9px;
}
.fcard:hover .face { transform: rotate(0deg) translateY(-6px); }
.fcard .ext { font: 800 46px/0.9 var(--font-display); letter-spacing: -0.05em; }
.fcard .what { font: 650 16px/1.35 var(--font-ui); flex: 1; }
.fcard .verbs { font: 700 11px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.fcard .to { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fcard .to::before { content: 'turns into'; font: 700 17px/1 var(--font-hand); margin-right: 2px; opacity: 0.75; }
.fcard .to span { padding: 3px 8px; border-radius: 7px; background: rgba(14, 14, 14, 0.13); font: 700 12px/1.2 var(--font-mono); }
.fcard[data-kind='docx'] .face { color: var(--white); }
.fcard[data-kind='docx'] .to span { background: rgba(255, 255, 255, 0.2); }
.fcard[data-kind='code'] .face { color: var(--lime); border-color: var(--ink); }
[data-theme='acid'] .fcard[data-kind='code'] .face { border-color: var(--stroke); }
.fcard[data-kind='code'] .ext { font-size: 34px; }
.fcard[data-kind='code'] .to span { background: rgba(212, 255, 63, 0.16); }

/* ── privacy ────────────────────────────────────────────────── */

.privacy-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 560px; }
.ticks li { position: relative; padding-left: 40px; font-size: 16.5px; line-height: 1.45; }
.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: var(--bw) solid var(--ink);
  background: var(--accent);
  color: var(--ink);
  font: 800 14px/1 var(--font-display);
}
.receipt-wrap { justify-self: center; transform: rotate(2deg); filter: drop-shadow(8px 8px 0 var(--win-shadow)); }
.receipt {
  --z: 14px;
  width: min(420px, calc(100vw - 64px));
  padding: 32px 28px 40px;
  background: #fffdf6;
  color: var(--ink);
  font: 500 13.5px/1.7 var(--font-mono);
  mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--z) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--z) 51% repeat-x;
}
.r-head, .r-sub, .r-row, .r-total { display: flex; align-items: baseline; gap: 8px; }
.r-head { justify-content: space-between; font-size: 15px; }
.r-sub { justify-content: space-between; color: #6c685f; }
.r-rule { margin: 12px 0; border-top: 2px dashed var(--ink); }
.r-row i { flex: 1; border-bottom: 2px dotted rgba(14, 14, 14, 0.4); transform: translateY(-4px); }
.r-total { justify-content: space-between; font: 800 22px/1.2 var(--font-display); letter-spacing: -0.02em; }
.r-thanks { margin-top: 14px; text-align: center; font-size: 22px; color: #4a4740; }

/* ── pricing ────────────────────────────────────────────────── */

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 56px; }
.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px 32px 32px;
  border-radius: 26px;
  border: var(--bw) solid var(--stroke);
}
.price-card.you { background: var(--accent); color: var(--ink); border-color: var(--ink); box-shadow: 8px 8px 0 var(--shadow-c); transform: rotate(-1deg); }
.price-card.team { background: var(--surface); }
.price-card .who { font-size: 28px; }
.price-card .amount { margin-top: 6px; font: 800 clamp(64px, 8vw, 104px)/0.9 var(--font-display); letter-spacing: -0.06em; }
.price-card .per { margin-top: 8px; font: 650 12px/1.3 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.price-card ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.price-card li { position: relative; padding-left: 26px; font-size: 16.5px; font-weight: 550; }
.price-card li::before { content: '✶'; position: absolute; left: 0; top: 0; font-size: 15px; }
.price-card.team li::before { color: var(--accent-3); }
[data-theme='bubblegum'] .price-card.team li::before { color: var(--ink); }
.text-link { margin-top: auto; padding-top: 26px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: var(--accent-3); }

/* ── early access ───────────────────────────────────────────── */

.early-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: 30px;
  border: var(--bw) solid var(--stroke);
  background: var(--surface);
}
.early-copy .h2 { font-size: clamp(56px, 7vw, 104px); }
.early-form { display: grid; gap: 18px; }
.field-row { display: flex; gap: 10px; }
.field-row input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: var(--bw) solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: 600 17px/1 var(--font-ui);
}
.field-row input::placeholder { color: #8f8b82; }
.field-row input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.field-row input[aria-invalid='true'] { border-color: var(--blaze); }
.field-row .btn { height: 56px; padding: 0 24px; font-size: 17px; box-shadow: 3px 3px 0 var(--accent); }
.field-row .btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--accent); }
[data-theme='acid'] .field-row .btn { background: var(--lime); color: var(--ink); box-shadow: 3px 3px 0 var(--paper); }
[data-theme='acid'] .field-row .btn:hover { box-shadow: 4px 4px 0 var(--paper); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips legend { float: left; margin-right: 6px; font-size: 22px; color: var(--muted); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: var(--bw) solid var(--stroke);
  font: 700 14px/1 var(--font-ui);
  cursor: pointer;
  transition: background-color 160ms, color 160ms, transform var(--ms-snappy) var(--ease-snappy);
}
.chips span:hover { transform: translateY(-1px); }
.chips span[data-kind] { font-family: var(--font-mono); font-size: 13px; }
.chips input:checked + span { background: var(--accent); color: var(--ink); border-color: var(--ink); }
.chips input:checked + span[data-kind] { background: var(--c); }
.chips input:checked + span[data-kind='docx'] { color: var(--white); }
.chips input:checked + span[data-kind='code'] { color: var(--lime); }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-msg { margin: 0; min-height: 1.4em; font: 700 22px/1.2 var(--font-hand); }
.form-msg.error { color: var(--accent-3); }
[data-theme='blaze'] .form-msg.error { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { margin: -8px 0 0; font: 600 12px/1.4 var(--font-mono); letter-spacing: 0.04em; color: var(--muted); }

/* ── faq ────────────────────────────────────────────────────── */

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq-list details { border-top: var(--bw) solid var(--stroke); }
.faq-list details:last-child { border-bottom: var(--bw) solid var(--stroke); }
.faq-list summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  list-style: none;
  cursor: pointer;
  font: 750 clamp(20px, 2vw, 24px)/1.15 var(--font-display);
  letter-spacing: -0.02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  margin-left: auto;
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: var(--bw) solid var(--stroke);
  font: 700 20px/1 var(--font-ui);
  transition: transform var(--ms-snappy) var(--ease-snappy), background-color 160ms;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--ink); border-color: var(--ink); }
.faq-list .a { padding: 0 60px 24px 4px; font-size: 17px; line-height: 1.55; opacity: 0.86; }
.faq-list .a p { margin: 0; }
.faq-list details[open] .a { animation: answer-in 420ms var(--expo); }
@keyframes answer-in { from { opacity: 0; transform: translateY(-6px); } }

/* ── footer ─────────────────────────────────────────────────── */

.foot { padding: 40px 0 36px; overflow: hidden; }
.giant {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.02em;
  font: 800 clamp(120px, 27vw, 380px)/0.8 var(--font-display);
  letter-spacing: -0.07em;
  text-decoration: none;
  margin-left: -0.04em;
}
.giant .mark { width: 0.17em; height: 0.17em; margin-top: 0.02em; transition: transform var(--ms-open) var(--ease-open); }
.giant:hover .mark { transform: rotate(-14deg) scale(1.1); }
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 28px;
  font: 600 11.5px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── toast (the app's) ──────────────────────────────────────── */

.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--ink);
  border: var(--bw) solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 700;
  transform: translateX(-50%);
}
.toast[hidden] { display: none; }
.toast .mark { width: 22px; height: 22px; --mark-page: var(--ink); --mark-flap: var(--pink); }
.toast .hand { font-size: 20px; opacity: 0.8; }

/* ── sign-up burst: a handful of file stickers fly out of the button ── */
.burst { position: fixed; z-index: 70; pointer-events: none; }

/* ── the intro: the logo animation plays over the page, then flies into the nav ── */
.intro { display: none; position: fixed; inset: 0; z-index: 100; overflow: hidden; cursor: pointer; }
html.intro-on .intro { display: block; }
html.intro-on { overflow: hidden; }
html.intro-on .nav .wordmark { visibility: hidden; }
.intro-bg { position: absolute; inset: 0; background: #0e0e0e; }
.intro-fly { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; }
.intro .fi-stage { background: transparent; }
.intro-skip {
  position: absolute;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  height: 34px;
  padding: 0 14px;
  border: 1px solid #2c2c2c;
  border-radius: 999px;
  background: #181818;
  color: #8f8b82;
  font: 650 13px/1 var(--font-ui);
}
.intro-skip:hover { color: #f4f1e8; }

/* ── vibe switch: a circle that grows from the swatch (site.js) ─ */

::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ── smaller screens ────────────────────────────────────────── */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .pile { transform: scale(0.86); margin: -20px 0 -40px; }
  .hero-grid { margin-top: 0; }
  .save-grid, .privacy-grid, .faq-grid, .early-card { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  section { padding: 80px 0; }
  .nav-row { height: 60px; gap: 10px; }
  .vibes .label { display: none; }
  .vibes { gap: 6px; }
  .swatch { width: 22px; height: 22px; }
  .nav-cta { display: none; }
  .hero { padding-top: 40px; }
  .hero-sub { font-size: 17px; }
  .pile { display: none; }
  .platforms a { height: 32px; }
  .platforms li:not(.ready) span { display: none; } /* the spinning dot (and the eyebrow) already say it */
  .pf { grid-template-columns: 1fr; gap: 10px; }
  .pf-arrow { transform: rotate(90deg); height: 40px; }
  .pf .f { transform: none; }
  .tour button { height: 38px; font-size: 13.5px; }
  .caption { font-size: 19px; top: -26px; right: 10px; max-width: 86%; }
  .demo-small { display: block; }
  .replica-stage { padding-left: 0; }
  .replica { padding: 22px 20px 18px; }
  .replica h3 { font-size: 24px; }
  .dialog-actions { flex-wrap: wrap; }
  .dialog-actions .spacer { flex-basis: 0; }
  .note-counted { display: none; }
  .price-grid { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr; }
  .early-card { padding: 28px 22px; }
  .field-row { flex-direction: column; }
  .chips legend { float: none; width: 100%; }
  .faq-list .a { padding-right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .platforms i, .platforms .ready i::after { animation: none; }
}
