/* QuoteSay website. Same palette and fonts as the app (docs/architecture-quotesay.md 3a).
   Light theme only. Spacing on a 4/8 grid. Motion: transform + opacity only, short, and
   switched to plain fades under prefers-reduced-motion. */

@font-face { font-family: 'Archivo Black'; src: url('../fonts/archivo-black-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-600.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-700.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #151515;
  --ink-pressed: #2B2B29;
  --paper: #F6F4EC;
  --card: #FFFDF8;
  --desk: #E6E2D6;
  --divider: #E7E3D6;
  --border: #D6D1C2;
  --muted: #5C5A52;
  --faint: #A3A196;
  --yellow: #FFCC00;
  --yellow-flash: #FFF1B8;
  --needs: #A8440B;
  --needs-fill: #FCEBDD;
  --live: #C42121;
  --success: #0B6B34;

  --display: 'Archivo Black', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: 16px;
  --max: 1160px;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(60, 50, 20, .06), 0 12px 32px -12px rgba(60, 50, 20, .22);
  --shadow-lg: 0 2px 4px rgba(60, 50, 20, .06), 0 32px 64px -24px rgba(60, 50, 20, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; }
h3 { font-family: var(--text); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: 8px; top: -64px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 236, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 200ms ease;
}
.site-header.scrolled { border-bottom-color: var(--divider); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; min-height: 44px; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand .arc { transform-origin: 106px 106px; }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; color: var(--muted); transition: color 150ms ease, background-color 150ms ease; }
.nav a:hover { color: var(--ink); background: rgba(21, 21, 21, .05); }
@media (min-width: 880px) { .nav { display: flex; } }
.lang {
  margin-left: auto; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--border); font: 700 13px/1 var(--text); letter-spacing: .04em;
}
@media (min-width: 880px) { .lang { margin-left: 8px; } }
.lang a, .lang span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 38px; padding: 0 10px; border-radius: 999px; text-decoration: none; }
.lang [aria-current] { background: var(--ink); color: var(--paper); }
.lang a { color: var(--muted); transition: color 150ms ease; }
.lang a:hover { color: var(--ink); }

/* ---------- Buttons and badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 16px; border: 0;
  background: var(--ink); color: var(--paper); font: 700 17px/1 var(--text); text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform 160ms var(--ease-out), background-color 150ms ease;
}
.btn:hover { background: var(--ink-pressed); }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: rgba(21, 21, 21, .05); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 18px 8px 14px;
  border-radius: 16px; background: var(--ink); color: var(--paper); user-select: none;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font: 600 11px/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; opacity: .72; }
.store b { display: block; font: 700 17px/1.2 var(--text); }
.store.light { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--border); }

/* ---------- Marker (the app's yellow highlight on heard words) ---------- */
/* Background (not a pseudo-element) so the marker follows the words when the line wraps. */
.mark {
  padding: 0 0.06em; margin: 0 -0.06em; border-radius: 0.08em;
  background-image: linear-gradient(transparent 14%, var(--yellow) 14%, var(--yellow) 96%, transparent 96%);
  background-repeat: no-repeat; background-size: 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.js .mark.sweep { background-size: 0% 100%; animation: sweep 560ms var(--ease-in-out) 280ms forwards; }
@keyframes sweep { to { background-size: 100% 100%; } }

/* ---------- Hero ---------- */
.hero { padding: 32px 0 56px; position: relative; }
.hero .wrap { display: grid; gap: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.js .eyebrow .dot { animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: .25; } }
.hero h1 { font-size: clamp(38px, 11.4vw, 100px); margin: 16px 0 20px; overflow-wrap: break-word; }
.hero h1:lang(es) { font-size: clamp(34px, 10vw, 88px); }
.hero h1 .line { display: block; }
.hero .lede { font-size: 19px; line-height: 1.5; color: #2c2b27; max-width: 34ch; }
.hero .lede strong { color: var(--ink); }
.hero .cta { margin-top: 28px; display: grid; gap: 16px; }
.hero .soon { font-weight: 600; color: var(--muted); font-size: 15px; }
@media (min-width: 960px) {
  .hero { padding: 56px 0 96px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .hero h1 { font-size: clamp(52px, 5.4vw, 78px); }
  .hero h1:lang(es) { font-size: clamp(46px, 4.7vw, 68px); }
  .promise h2, .bilingual h2 { font-size: clamp(44px, 4.6vw, 62px); }
  .hero .lede { font-size: 21px; }
}

/* Hero stage: the live recording screen in a phone, the PDF behind it */
.stage { position: relative; height: 560px; max-width: 460px; width: 100%; margin: 0 auto; }
.phone {
  position: absolute; width: 264px; aspect-ratio: 390 / 844; border-radius: 40px; padding: 8px;
  background: var(--ink); box-shadow: var(--shadow-lg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; background: var(--card); }
.stage .phone { right: 0; top: 0; z-index: 2; }
.sheet {
  position: absolute; background: #fff; border-radius: 6px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.sheet img { width: 100%; }
.stage .sheet { left: 0; top: 64px; width: 250px; rotate: -5deg; z-index: 1; }
.stage .chip {
  position: absolute; z-index: 3; left: 4px; bottom: 28px; display: flex; align-items: center; gap: 10px;
  background: var(--card); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-weight: 600; font-size: 15px;
}
.stage .chip b { font: 400 22px/1 var(--display); }
.stage .chip .ok { width: 28px; height: 28px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; flex: none; }
.stage .chip .ok svg { width: 16px; height: 16px; }
@media (max-width: 380px) {
  .stage { height: 500px; }
  .phone { width: 232px; border-radius: 36px; }
  .phone img { border-radius: 28px; }
  .stage .sheet { width: 212px; top: 56px; }
}
@media (min-width: 960px) {
  .stage { height: 640px; max-width: 540px; }
  .phone { width: 300px; border-radius: 46px; padding: 9px; }
  .phone img { border-radius: 37px; }
  .stage .sheet { width: 300px; top: 72px; }
}

/* Entrances (JS adds .js to <html>; without JS everything is simply visible) */
.d1 { --d: 70ms; } .d2 { --d: 140ms; } .d3 { --d: 320ms; } .d4 { --d: 420ms; }
.js [data-in] { opacity: 0; transform: translateY(16px); transition: opacity 480ms var(--ease-out), transform 560ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-in].in { opacity: 1; transform: none; }
.js .stage .phone[data-in] { transform: translateY(32px); }
.js .stage .sheet[data-in] { transform: translate(-24px, 24px) rotate(-4deg); }
.js .stage .chip[data-in] { transform: translateY(12px) scale(.96); }

/* ---------- Facts strip ---------- */
.facts { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--yellow); overflow: hidden; }
.facts ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.facts li { display: flex; align-items: center; gap: 40px; padding: 16px 0; font: 400 20px/1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.facts li::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }
.facts:hover ul { animation-play-state: paused; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 80px 0; }
@media (min-width: 960px) { .section { padding: 128px 0; } }
.kicker { font: 700 13px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.section h2 { font-size: clamp(36px, 9.6vw, 72px); max-width: 16ch; }
.section .intro { margin-top: 20px; font-size: 19px; color: #2c2b27; max-width: 52ch; }

/* How it works */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 56px; counter-reset: step; }
.step { display: grid; gap: 24px; align-items: center; }
.step .num { font: 400 72px/0.9 var(--display); color: var(--yellow); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.step h3 { font: 400 32px/1.05 var(--display); letter-spacing: -0.02em; margin: 12px 0 12px; }
.step p { color: #2c2b27; max-width: 42ch; }
.step .shot { position: relative; justify-self: center; }
.step .phone { position: relative; width: 248px; }
@media (min-width: 880px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { align-content: start; }
  .step .shot { order: -1; }
  .step .phone { width: 100%; max-width: 280px; }
}

/* Price promise: asphalt band */
.dark { background: var(--ink); color: var(--paper); }
.dark .kicker { color: var(--faint); }
.dark .intro { color: #d9d6cb; }
.promise .wrap { display: grid; gap: 48px; }
.sources { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.sources li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 16px; background: #1f1f1d; }
.sources .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; }
.sources .ic svg { width: 22px; height: 22px; }
.sources b { display: block; font-size: 18px; }
.sources span { color: #c9c6bb; font-size: 16px; }
.demo-card { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 8px 0; box-shadow: 0 32px 64px -24px rgba(0, 0, 0, .6); max-width: 440px; width: 100%; justify-self: center; }
.demo-total { padding: 20px 24px 12px; }
.demo-total small { display: block; color: var(--muted); font-weight: 600; font-size: 15px; }
.demo-total b { font: 400 clamp(40px, 12vw, 56px)/1 var(--display); letter-spacing: -0.02em; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--divider); }
.row .name { font-weight: 600; font-size: 18px; }
.row .src { display: block; color: var(--muted); font-size: 15px; }
.row .amt { font: 700 19px/1 var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.row.arrive { background: var(--yellow-flash); }
.needs { display: inline-flex; align-items: center; justify-content: center; min-width: 108px; min-height: 44px; padding: 0 12px; border: 2px dashed var(--needs); background: var(--needs-fill); color: var(--needs); border-radius: 12px; font-weight: 700; font-size: 15px; }
.js .demo-card .row { opacity: 0; transform: translateY(8px); transition: opacity 360ms var(--ease-out), transform 420ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .demo-card.in .row { opacity: 1; transform: none; }
.demo-card .row:nth-child(3) { --d: 90ms; } .demo-card .row:nth-child(4) { --d: 200ms; } .demo-card .row:nth-child(5) { --d: 340ms; }
@media (min-width: 960px) { .promise .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; } }

/* Spanish */
.bilingual .wrap { display: grid; gap: 48px; }
.say { margin-top: 32px; display: grid; gap: 12px; max-width: 520px; }
.bubble { background: var(--card); border-radius: 20px; padding: 16px 20px; font-size: 18px; box-shadow: var(--shadow); }
.bubble .hl { background: var(--yellow); border-radius: 4px; padding: 0 3px; }
.bubble small { display: block; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.arrow { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--text); background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; }
.bilingual .pair { position: relative; height: 520px; max-width: 460px; width: 100%; margin: 0 auto; }
.bilingual .pair .phone { width: 232px; left: 0; top: 24px; rotate: -3deg; z-index: 2; }
.bilingual .pair .sheet { width: 220px; right: 0; top: 0; rotate: 4deg; z-index: 1; }
@media (max-width: 380px) { .bilingual .pair { height: 470px; } .bilingual .pair .phone { width: 204px; } .bilingual .pair .sheet { width: 190px; } }
@media (min-width: 960px) { .bilingual .wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; } .bilingual .pair { height: 600px; } .bilingual .pair .phone { width: 264px; } .bilingual .pair .sheet { width: 270px; } }

/* Who it's for */
.trades { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trades li { padding: 12px 18px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--ink); font-weight: 700; font-size: 16px; }
.notlist { margin-top: 40px; display: grid; gap: 16px; }
@media (min-width: 720px) { .notlist { grid-template-columns: 1fr 1fr; } }
.box { border-radius: var(--radius); padding: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--divider); }
.box h3 { font-size: 19px; margin-bottom: 12px; }
.box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.box li { display: flex; gap: 10px; align-items: flex-start; }
.box li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }

/* Pricing */
.plans { margin-top: 48px; display: grid; gap: 16px; }
@media (min-width: 880px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { border-radius: var(--radius); padding: 28px 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--divider); display: flex; flex-direction: column; gap: 8px; }
.plan .label { font: 700 13px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan .price { font: 400 56px/1 var(--display); letter-spacing: -0.03em; margin-top: 8px; }
.plan .price small { font: 600 17px/1 var(--text); letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan p { color: #2c2b27; }
.plan.pro { background: var(--ink); color: var(--paper); box-shadow: none; }
.plan.pro .label, .plan.pro .price small { color: var(--faint); }
.plan.pro p { color: #d9d6cb; }
.plan .tag { align-self: flex-start; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 6px 10px; font: 700 12px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; }
.fine { margin-top: 24px; color: var(--muted); font-size: 15px; max-width: 70ch; }

/* FAQ */
.faq { margin-top: 40px; border-top: 2px solid var(--ink); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; min-height: 64px; font-weight: 700; font-size: 18px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); position: relative; transition: transform 200ms var(--ease-out), background-color 150ms ease; }
.faq summary .pm::before, .faq summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; }
.faq summary .pm::after { transform: rotate(90deg); transition: transform 200ms var(--ease-out); }
.faq details[open] summary .pm { background: var(--yellow); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq summary:active .pm { transform: scale(.92); }
.faq .answer { padding: 0 0 24px; color: #2c2b27; max-width: 64ch; }
.faq .answer p + p { margin-top: 12px; }

/* Download */
.download { text-align: left; }
.download .panel { background: var(--yellow); border-radius: 28px; padding: 40px 24px; display: grid; gap: 32px; overflow: hidden; position: relative; box-shadow: inset 0 0 0 2px var(--ink); }
.download h2 { font-size: clamp(40px, 11vw, 80px); max-width: 12ch; }
.download p { font-size: 19px; max-width: 40ch; }
.download .icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: inset 0 0 0 2px var(--ink); }
.download .big-mark { position: absolute; right: -60px; bottom: -70px; width: 300px; opacity: .1; pointer-events: none; }
@media (min-width: 880px) { .download .panel { padding: 64px; grid-template-columns: 1fr auto; align-items: end; } .download .big-mark { width: 440px; right: -40px; bottom: -120px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--divider); margin-top: 80px; }
.site-footer .wrap { display: grid; gap: 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.site-footer nav a { text-decoration: none; font-weight: 600; color: var(--muted); padding: 10px 8px; margin-left: -8px; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer .legal { color: var(--muted); font-size: 14px; }
@media (min-width: 880px) { .site-footer .wrap { grid-template-columns: auto 1fr; align-items: start; } .site-footer nav { justify-content: flex-end; } .site-footer .legal { grid-column: 1 / -1; } }
.download + .site-footer { margin-top: 0; }

/* ---------- Document pages (legal, support, delete) ---------- */
.doc-hero { padding: 48px 0 32px; border-bottom: 2px solid var(--ink); }
.doc-hero h1 { font-size: clamp(40px, 11vw, 80px); }
.doc-hero p { margin-top: 16px; color: var(--muted); font-weight: 600; }
.doc { padding: 40px 0 0; }
.doc .wrap { display: grid; gap: 40px; }
@media (min-width: 1000px) { .doc .wrap { grid-template-columns: 240px minmax(0, 720px); gap: 64px; } }
.toc { display: none; }
@media (min-width: 1000px) {
  .toc { display: block; position: sticky; top: 96px; align-self: start; font-size: 14px; }
  .toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .toc a { display: block; text-decoration: none; color: var(--muted); padding: 6px 10px; border-radius: 8px; line-height: 1.35; }
  .toc a:hover { color: var(--ink); background: rgba(21, 21, 21, .05); }
}
.prose { max-width: 720px; min-width: 0; }
.prose h2 { font-size: 28px; margin: 48px 0 16px; scroll-margin-top: 88px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; color: #2c2b27; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--muted); }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--yellow); font-weight: 600; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { color: var(--ink); }
.callout { border-radius: 16px; padding: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--divider); margin: 0 0 24px; }
.callout.yellow { background: var(--yellow-flash); box-shadow: inset 0 0 0 1px #f0d97a; }
.callout p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 24px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--divider); -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; background: var(--card); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--divider); }
.prose th { font-weight: 700; background: #f0ede2; }
.prose tr:last-child td { border-bottom: 0; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.steps-list li { counter-increment: s; position: relative; min-height: 64px; background: var(--card); padding: 18px 16px 16px 64px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--divider); margin: 0; }
.steps-list li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font: 400 16px/1 var(--display); box-shadow: inset 0 0 0 1.5px var(--ink); }
.contact-card { display: grid; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--ink); color: var(--paper); margin: 0 0 32px; }
.contact-card p { color: #d9d6cb !important; margin: 0 !important; }
.contact-card a.mail { color: var(--paper); font: 400 clamp(22px, 6.4vw, 30px)/1.15 var(--display); text-decoration: none; overflow-wrap: anywhere; }
.contact-card a.mail:hover { color: var(--yellow); }
.contact-card .btn { background: var(--yellow); color: var(--ink); justify-self: start; }
.contact-card .btn:hover { background: #ffd633; }

/* 404 */
.notfound { padding: 96px 0; }
.notfound h1 { font-size: clamp(48px, 14vw, 120px); }
.notfound p { margin: 16px 0 32px; font-size: 19px; color: var(--muted); }

/* ---------- Reduced motion: no movement, quick fades only ---------- */
@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 [data-in], .js .demo-card .row { transform: none !important; transition: opacity 200ms ease !important; }
  .facts ul { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--gutter); gap: 0 32px; }
  .facts li[aria-hidden] { display: none; }
  .js .eyebrow .dot { animation: none; }
}
