/* MeanFast site: one flat beige theme with red keycap buttons. No gradients (the hero grid is drawn with thin lines). */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/newsreader-5.3.0-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/newsreader-5.3.0-latin-wght-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/hanken-grotesk-5.3.0-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --font: "Hanken Grotesk", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Newsreader", Georgia, Cambria, "Times New Roman", serif;
  --mono: ui-monospace, "Cascadia Mono", "Cascadia Code", Consolas, Menlo, monospace;
  --paper: #f3ecdd;
  --paper-2: #ebe2cf;
  --card: #faf6eb;
  --card-hi: #fffdf7;
  --ink: #1f1a14;
  --muted: #5a5143;
  --faint: #6b6151;
  --line: #d9cfb8;
  --line-2: #bfb195;
  --edge: #8c7f66;
  --red: #ba1510;
  --red-hover: #a0110d;
  --red-edge: #6f0b08;
  --red-text: #a8130e;
  --red-soft: #f2d9cd;
  --sel: rgba(186, 21, 16, 0.16);
  --grid: rgba(31, 26, 20, 0.12);
  --ok: #2f6b3a;
  --danger: #a4281c;
  --shadow: 0 30px 50px -36px rgba(31, 26, 20, 0.55);
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; }
img, svg, video { max-width: 100%; }
picture { display: block; }
p { margin: 0; }
ul, ol { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--red-text); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
::selection { background: var(--sel); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.wrap.narrow > * { max-width: 820px; }
.wrap.center-narrow > * { margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* type */
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -0.03em; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 560; }
.eyebrow { margin: 0 0 14px; color: var(--red-text); font: 650 12.5px/1.2 var(--font); letter-spacing: 0.12em; text-transform: uppercase; }
.sub { margin-top: 14px; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); text-wrap: pretty; }
.lead { max-width: 34em; color: var(--muted); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; text-wrap: pretty; }
.fine { margin-top: 14px; color: var(--muted); font-size: 14.5px; text-wrap: pretty; }
.note { margin-top: 12px; color: var(--muted); font-size: 15px; text-wrap: pretty; }
.accent { color: var(--red); font-style: italic; font-weight: 450; }
code { font-family: var(--mono); }
mark { padding: 1px 4px; border-radius: 4px; background: var(--sel); color: inherit; }

/* keycaps */
kbd { display: inline-grid; place-items: center; min-width: 2.15em; height: 2.05em; padding: 0 0.6em; border: 1px solid var(--edge); border-radius: 0.55em; background: var(--card-hi); color: var(--ink); font: 600 0.82em/1 var(--font); box-shadow: 0 3px 0 var(--edge); vertical-align: 0.06em; transition: transform 0.09s, box-shadow 0.09s, color 0.12s, background-color 0.12s, border-color 0.12s; }
kbd.down { transform: translateY(2px); border-color: var(--red-edge); background: var(--red-soft); color: var(--red-text); box-shadow: 0 1px 0 var(--red-edge); }
.keys { display: inline-flex; align-items: center; gap: 7px; flex: none; }
.keys kbd { font-size: 14px; }

/* buttons: flat keycaps with a hard bottom edge */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 12px; background: var(--card-hi); color: var(--ink); font: 650 15.5px/1 var(--font); text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 var(--ink); transition: transform 0.08s, box-shadow 0.08s, background-color 0.15s; }
.btn:hover { background: #fff; text-decoration: none; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn .ico { width: 18px; height: 18px; }
.btn.primary { border-color: var(--red-edge); background: var(--red); color: #fff; box-shadow: 0 3px 0 var(--red-edge); }
.btn.primary:hover { background: var(--red-hover); }
.btn.primary:active { box-shadow: 0 1px 0 var(--red-edge); }
.btn.lg { min-height: 56px; padding: 0 30px; border-radius: 14px; font-size: 17px; }
.btn.xl { min-height: 66px; padding: 0 38px; border-radius: 16px; font-size: 19px; gap: 12px; }
.btn.xl .ico { width: 22px; height: 22px; }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.linkish { padding: 0; border: 0; background: none; color: var(--red-text); font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.center-row { justify-content: center; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: var(--paper); transition: border-color 0.2s; }
.site-header.scrolled { border-bottom-color: var(--line-2); }
.bar { display: flex; align-items: center; gap: 10px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; color: var(--ink); font: 600 24px/1 var(--serif); letter-spacing: -0.02em; text-decoration: none; }
.nav { display: flex; gap: 4px; margin-right: 10px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--ink); font-size: 15.5px; font-weight: 500; text-decoration: none; text-decoration-color: var(--red); text-underline-offset: 0.45em; text-decoration-thickness: 2px; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { text-decoration: underline; }
.menu { position: relative; display: none; }
.menu summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 12px; background: var(--card-hi); color: var(--ink); list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu .shut, .menu[open] .open { display: none; }
.menu[open] .shut { display: block; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 12px); z-index: 5; display: grid; min-width: 230px; padding: 8px; border: 1px solid var(--ink); border-radius: 14px; background: var(--card); box-shadow: 0 6px 0 var(--ink); }
.menu-panel a { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 8px; color: var(--ink); font-weight: 500; text-decoration: none; }
.menu-panel a:hover { background: var(--paper-2); }

/* sections */
.section { position: relative; padding: clamp(72px, 9vw, 124px) 0; border-top: 1px solid var(--line-2); }
.section.alt { background: var(--paper-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px 64px; align-items: end; margin: 0 0 clamp(36px, 5vw, 60px); }
.sec-head .eyebrow { grid-column: 1 / -1; margin: 0; }
.sec-head h2 { grid-column: 1; max-width: 14em; }
.sec-head .sub { grid-column: 2; max-width: 30em; margin: 0; }
.sec-head.center { display: block; max-width: 760px; margin-inline: auto; text-align: center; }
.sec-head.center .sub { margin: 14px auto 0; }

/* hero: the grid is the only pattern */
.hero { position: relative; isolation: isolate; padding: clamp(36px, 5vw, 72px) 0 clamp(64px, 8vw, 112px); }
.grid-bg { position: absolute; z-index: -1; inset: -100px 0 auto; height: 900px; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent 80%); mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent 80%); opacity: 0.8; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.hero-copy { min-width: 0; }
.entry { color: var(--muted); font-size: 15.5px; }
.entry b { color: var(--ink); font: italic 600 19px var(--serif); }
.entry .ipa { margin: 0 2px; color: var(--ink); }
.entry i { font-family: var(--serif); }
.hero h1 { margin: 22px 0 24px; font-size: clamp(44px, 5.9vw, 86px); line-height: 0.98; letter-spacing: -0.04em; }
.hero h1 span { display: block; }
.hero .lead { margin-bottom: 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 34px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.facts li { display: inline-flex; align-items: center; }
.facts li + li::before { content: ""; width: 1px; height: 14px; margin: 0 16px; background: var(--line-2); }

/* hero stage: the reading card the demo plays on */
.stage-col { min-width: 0; }
.stage { position: relative; min-height: 540px; padding-top: 26px; }
.stage-still img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 0; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); }
@media (max-width: 700px) { .stage-still img { width: min(100%, 380px); aspect-ratio: 432 / 559; margin-inline: auto; object-fit: contain; border: 0; box-shadow: none; } }
.hotkey { position: absolute; top: 0; left: 24px; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 7px 12px 9px 14px; border: 1px solid var(--edge); border-radius: 12px; background: var(--card); }
.hk-label { margin-right: 4px; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hotkey kbd { font-size: 13px; }
.reader { position: relative; padding: 24px 30px 24px; border: 1px solid var(--edge); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.reader-top { display: flex; align-items: center; justify-content: space-between; min-height: 36px; margin-bottom: 8px; }
.reader-label { color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.reader-text { font: 400 clamp(19px, 1.6vw, 22px)/1.8 var(--serif); }
.reader-cap { margin-top: 16px; color: var(--faint); font-size: 14px; }
.stage-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin: -6px -10px -6px 0; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; }
.stage-toggle:hover { color: var(--ink); background: var(--paper-2); }
.stage-toggle .on-play, .stage-toggle.paused .on-pause { display: none; }
.stage-toggle.paused .on-play { display: block; }

/* the words that open the popup */
.w { position: relative; margin: 0; padding: 1px 3px; border: 0; border-radius: 4px; background: none; color: inherit; font: inherit; line-height: inherit; text-decoration: underline dotted; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 0.3em; cursor: pointer; -webkit-user-select: text; user-select: text; transition: background-color 0.15s; }
.w::after { content: ""; position: absolute; inset: -9px -3px; }
.w:hover { background: var(--red-soft); }
.w.sel { background: var(--sel); text-decoration-color: transparent; }
.w:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* try it */
.try-card { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--edge); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.try-main { padding: clamp(24px, 4vw, 44px); }
.try-side { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 36px); border-left: 1px solid var(--line-2); background: var(--paper-2); }
.try-side h3 { font-size: 24px; }
.try-text { margin-top: 10px; font: 400 clamp(20px, 2vw, 24px)/1.95 var(--serif); }
.try-sentence { margin-top: 26px; padding: 14px 22px; border-left: 3px solid var(--red); border-radius: 4px 12px 12px 4px; background: var(--paper-2); font: italic 400 clamp(19px, 1.8vw, 22px)/1.7 var(--serif); }
.try-sentence.sel { background: var(--red-soft); }
.try-hint { color: var(--muted); font-size: 15.5px; }
.hint-mouse { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hint-touch { display: none; }
.try-actions { display: grid; gap: 12px; margin-top: auto; }
.try-actions .btn { justify-content: flex-start; }
.try-still { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.try-still img { display: block; width: min(432px, 100%); height: auto; }

/* how it works */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.how-step { padding-top: 22px; border-top: 2px solid var(--ink); }
.how-vis { position: relative; display: grid; place-items: center; height: 184px; margin-bottom: 24px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); }
.how-select p { padding: 0 18px; font: 400 20px/1.5 var(--serif); text-align: center; color: var(--muted); }
.how-select mark { color: var(--ink); }
.how-keys kbd { min-width: 62px; height: 56px; font-size: 20px; }
.how-popup { align-items: start; justify-items: center; background: var(--paper-2); }
.how-popup img { width: 250px; height: auto; margin-top: 10px; }
.num { display: block; margin-bottom: 8px; color: var(--red); font: italic 500 44px/1 var(--serif); }
.how-step h3 { margin: 0 0 6px; }
.how-step p { color: var(--muted); }
.keys.loop kbd { animation: press 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * 0.16s); }
@keyframes press { 0%, 48%, 100% { transform: none; box-shadow: 0 3px 0 var(--edge); color: var(--ink); } 56%, 72% { transform: translateY(2px); box-shadow: 0 1px 0 var(--red-edge); color: var(--red-text); background: var(--red-soft); border-color: var(--red-edge); } }

/* without / with */
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cmp-col { padding: 28px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--paper); }
.cmp-with { border: 1.5px solid var(--ink); background: var(--card); box-shadow: 0 6px 0 var(--ink); }
.cmp-badge { display: inline-block; padding: 6px 14px; border: 1px solid var(--edge); border-radius: 6px; color: var(--muted); font: 650 13px var(--font); letter-spacing: 0.04em; text-transform: uppercase; }
.cmp-with .cmp-badge { border-color: var(--red-edge); background: var(--red); color: #fff; }
.cmp-list { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.cmp-list li { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.cmp-with .cmp-list li { background: var(--paper); }
.cmp-list .n { display: grid; flex: none; place-items: center; width: 24px; height: 24px; border: 1px solid var(--edge); border-radius: 50%; color: var(--muted); font: 700 12px var(--font); }
.cmp-with .n { border-color: var(--red); color: var(--red-text); }
.cmp-list .keys { margin-left: 2px; }
.cmp-list kbd { font-size: 12px; }
.cmp-foot { margin-top: 16px; color: var(--faint); font-size: 14.5px; }
.cmp-result { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 600; }
.cmp-result .ico { flex: none; }
.cmp-shot { height: 190px; margin-top: 16px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper-2); }
.cmp-shot img { display: block; width: min(300px, 80%); height: auto; margin: 14px auto 0; }

/* features: a balanced masonry of flat cards, each as tall as its own content */
.bento { column-count: 3; column-gap: 18px; }
.tile { display: flex; flex-direction: column; gap: 20px; margin: 0 0 18px; padding: 26px; overflow: hidden; break-inside: avoid; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); transition: border-color 0.2s; }
.tile:hover { border-color: var(--ink); }
.tile h3 { margin: 0 0 8px; }
.tile p { color: var(--muted); font-size: 16px; }
.ico-badge { display: inline-flex; color: var(--red); }
.tile-media { padding: 16px 14px 0; overflow: hidden; border-radius: 10px; background: var(--paper-2); }
.tile-media img { display: block; width: 100%; height: auto; }
.t-custom .tile-media { max-height: 440px; }
.chips-demo { padding: 16px 18px 18px; border-radius: 10px; background: var(--paper-2); }
.cd-k { margin: 0 0 8px; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.cd-k:not(:first-child) { margin-top: 14px; }
.cd-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-chip { padding: 5px 13px; border: 1px solid var(--edge); border-radius: 999px; background: var(--card-hi); color: var(--ink); font-size: 14.5px; }
.hear { display: grid; justify-items: start; gap: 4px; padding: 20px 22px 22px; border-radius: 10px; background: var(--paper-2); }
.tile .hear-word { color: var(--ink); font: 500 38px/1.1 var(--serif); letter-spacing: -0.02em; }
.tile .hear-ipa { color: var(--muted); font: 18px var(--font); }
.hear-btn { margin-top: 12px; }
.hear-btn.speaking { border-color: var(--red-edge); color: var(--red-text); }
.split { position: relative; height: 210px; overflow: hidden; border-radius: 10px; background: var(--paper-2); }
.split img { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.split-d { clip-path: inset(0 50% 0 0); }
.split-l { clip-path: inset(0 0 0 50%); }
.split::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--red); }

/* private by design */
.pv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0 0 34px; padding: 0; list-style: none; }
.pv-grid li { padding-top: 22px; border-top: 2px solid var(--ink); }
.pv-grid .ico { width: 28px; height: 28px; margin-bottom: 16px; color: var(--red); }
.pv-grid h3 { margin-bottom: 8px; font-size: 21px; }
.pv-grid p { color: var(--muted); font-size: 16px; }

/* pricing */
.price-card { overflow: hidden; border: 1.5px solid var(--ink); border-radius: 20px; background: var(--card); box-shadow: 0 7px 0 var(--ink); }
.price-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.price-left { padding: clamp(26px, 4.5vw, 52px); border-right: 1px solid var(--line-2); }
.price-right { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 4.5vw, 52px); background: var(--paper); }
.tag-early { display: inline-block; padding: 7px 12px; border-radius: 6px; background: var(--red); color: #fff; font: 700 13px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; }
.price-name { margin: 0 0 6px; color: var(--muted); font-size: 16px; font-weight: 600; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 18px 0 0; }
.amount { font: 500 clamp(80px, 10vw, 120px)/0.95 var(--serif); letter-spacing: -0.05em; }
.was { color: var(--faint); font: 400 clamp(32px, 4vw, 44px)/1 var(--serif); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.per { color: var(--muted); font-size: 16px; line-height: 1.35; }
.soon { align-self: center; padding: 4px 10px; border: 1px solid var(--edge); border-radius: 6px; color: var(--muted); font: 700 12px var(--font); letter-spacing: 0.1em; text-transform: uppercase; }
.left-box { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.left-line { font-size: 17px; }
.left-line strong { font: 500 30px/1 var(--serif); letter-spacing: -0.02em; }
.meter { height: 10px; margin: 12px 0 0; overflow: hidden; border: 1px solid var(--edge); border-radius: 999px; background: var(--paper); }
.meter i { display: block; height: 100%; background: var(--red); }
.ticks { display: grid; gap: 13px; margin: 0 0 30px; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 7px; top: 0.32em; width: 7px; height: 12px; border: solid var(--red); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.price-right .note a { font-weight: 600; }
.price-foot { margin-top: 24px; }

/* release strip */
.relstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 24px 0 0; padding: 14px 20px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--muted); font-size: 15px; }
.page-hero .relstrip { max-width: 760px; }
.relstrip .ico { width: 18px; height: 18px; color: var(--red); }
.rs-k { color: var(--faint); }
.rs-v { color: var(--ink); font-weight: 650; }
.rs-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.rs-msg { color: var(--muted); }
.relstrip.loading .rs-v { display: inline-block; min-width: 5.5em; border-radius: 6px; background: var(--line); color: transparent; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }

/* waitlist */
.wl-card { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--edge); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.wl-card > p:first-child { margin-top: 0; }
.wl-card > p:last-child { margin-bottom: 0; }
.wl-card p + p { margin-top: 14px; }
.wl-row { display: flex; flex-wrap: wrap; gap: 12px; }
.input { flex: 1 1 240px; min-width: 0; min-height: 54px; padding: 0 16px; border: 1px solid var(--edge); border-radius: 12px; background: var(--card-hi); color: var(--ink); font: 17px var(--font); }
.input::placeholder { color: var(--faint); }
.input:focus-visible { outline-offset: 1px; border-color: var(--red); }
.wl .btn { min-height: 54px; }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; border: 0; }
.platforms legend { margin: 0 0 10px; padding: 0; font-size: 15.5px; font-weight: 600; }
.opt { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px 0 14px; border: 1px solid var(--edge); border-radius: 12px; background: var(--card-hi); cursor: pointer; }
.opt:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.opt input { margin: 0; accent-color: var(--red); width: 18px; height: 18px; }
.hp { display: none !important; }
.wl-msg { min-height: 1.5em; margin: 14px 0 0; font-weight: 600; }
.wl-msg:empty { margin: 0; min-height: 0; }
.wl-msg.ok { color: var(--ok); }
.wl-msg.err { color: var(--danger); }
.center-narrow .wl-card { max-width: 660px; margin-inline: auto; }

/* faq */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; padding: 16px 4px; font: 500 22px/1.3 var(--serif); letter-spacing: -0.01em; list-style: none; cursor: pointer; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border: 1px solid var(--edge); border-radius: 50%; color: var(--ink); font: 400 20px/25px var(--font); text-align: center; transition: transform 0.2s, background-color 0.2s; }
.faq details[open] summary::after { content: "\2212"; background: var(--red); border-color: var(--red-edge); color: #fff; }
.faq summary:hover { color: var(--red-text); }
.faq .ans { max-width: 66ch; padding: 0 4px 26px; color: var(--muted); }
.faq .ans p + p, .faq .ans ul, .faq .ans ol { margin-top: 10px; }
.faq .ans ul, .faq .ans ol { padding-left: 22px; }
.faq .ans li + li { margin-top: 4px; }
.faq + .fine { margin-top: 26px; }

/* final call to action: one flat red block */
.cta-band { padding: 0 0 clamp(72px, 9vw, 124px); }
.cta-card { padding: clamp(44px, 6vw, 84px) clamp(22px, 5vw, 72px); border-radius: 20px; background: var(--red); color: #fff; text-align: center; }
.cta-card h2 { color: #fff; }
.cta-card p { max-width: 32em; margin: 16px auto 32px; color: #fff; font-size: 19px; }
.cta-card .btn.primary { border-color: var(--ink); background: var(--paper); color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.cta-card .btn.primary:hover { background: #fff; }
.cta-card .btn:not(.primary) { border-color: #fff; background: transparent; color: #fff; box-shadow: 0 3px 0 rgba(255, 255, 255, 0.55); }
.cta-card .btn:not(.primary):hover { background: rgba(255, 255, 255, 0.12); }
.cta-card :focus-visible { outline-color: #fff; }

/* footer, consent, toast */
.site-footer { margin-top: auto; padding: 60px 0 40px; border-top: 1px solid var(--line-2); background: var(--paper-2); color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; margin-bottom: 38px; }
.foot-brand p { max-width: 24em; margin-top: 14px; }
.foot-h { margin: 0 0 10px; color: var(--ink); font-weight: 700; }
.foot-grid ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.foot-grid li a { display: inline-flex; align-items: center; min-height: 40px; margin-left: -10px; padding: 0 10px; color: var(--muted); text-decoration: none; }
.foot-grid li a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.credits { max-width: 52em; margin: 0 0 14px; font-size: 14px; }
.credits a { color: var(--muted); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.foot-bottom .linkish { min-height: 44px; color: var(--muted); }
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; width: min(460px, calc(100% - 32px)); padding: 16px 18px; border: 1px solid var(--ink); border-radius: 14px; background: var(--card); box-shadow: 0 5px 0 var(--ink); }
.consent p { flex: 1 1 220px; font-size: 14.5px; line-height: 1.5; }
.consent-actions { display: flex; gap: 10px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; max-width: calc(100% - 32px); padding: 13px 20px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 15.5px; font-weight: 500; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity 0.2s, transform 0.2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* the hint next to a selection, and the tip in the footer */
.sel-hint { position: absolute; z-index: 55; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 14px; line-height: 1; white-space: nowrap; box-shadow: 0 12px 26px -14px rgba(31, 26, 20, 0.7); animation: hint-in 0.15s ease-out; }
.sel-hint .sh-keys { display: inline-flex; align-items: center; gap: 5px; }
.sel-hint kbd { min-width: 0; height: 1.9em; padding: 0 0.5em; border-color: rgba(243, 236, 221, 0.55); background: transparent; color: var(--paper); box-shadow: 0 2px 0 rgba(243, 236, 221, 0.55); font-size: 12px; }
.sel-hint .sh-tap { display: none; min-height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--red); color: #fff; font: 650 14px var(--font); cursor: pointer; }
@keyframes hint-in { from { opacity: 0; transform: translateY(4px); } }
@media (hover: none) { .sel-hint .sh-keys { display: none; } .sel-hint .sh-tap { display: inline-block; } }
.tip { margin: 0 0 14px; color: var(--ink); font-size: 15px; }
.tip .keys { margin: 0 2px; vertical-align: middle; }
.tip kbd { font-size: 12px; }

/* inner pages */
.page-hero { position: relative; isolation: isolate; padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); }
.page-hero .grid-bg { height: 640px; }
.page-hero h1 { margin: 0 0 18px; font-size: clamp(40px, 5.4vw, 72px); }
.page-hero .lead { margin: 0 0 32px; }
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin: 48px 0 0; font-size: clamp(27px, 3vw, 34px); letter-spacing: -0.025em; scroll-margin-top: 92px; }
.prose h2 + * { margin-top: 12px; }
.prose h3 { margin-top: 28px; font-size: 21px; }
.prose p, .prose li { line-height: 1.7; text-wrap: pretty; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose code { padding: 1px 7px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--card); font-size: 0.92em; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border: 1px solid var(--line-2); border-left: 4px solid var(--red); border-radius: 4px 12px 12px 4px; background: var(--card); }
.notice .ico { width: 24px; height: 24px; margin-top: 2px; color: var(--red); }
.notice p + p { margin-top: 8px; }
.steps-n { display: grid; gap: 0; margin: 0; padding: 0 !important; list-style: none; counter-reset: s; border-top: 2px solid var(--ink); }
.steps-n > li { position: relative; margin: 0 !important; padding: 22px 8px 22px 64px; border-bottom: 1px solid var(--line-2); counter-increment: s; }
.steps-n > li::before { content: counter(s); position: absolute; left: 6px; top: 16px; color: var(--red); font: italic 500 38px/1.1 var(--serif); }
.steps-n h3 { margin: 0 0 4px; font-size: 21px; }
.steps-n p { color: var(--muted); }
.steps-n p + p { margin-top: 8px; }
.dl-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.dl-meta li { padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); }
.dl-meta strong { display: block; margin-bottom: 2px; color: var(--ink); }
.dl-meta span { color: var(--muted); font-size: 15.5px; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--card); }
.contact .card-title { margin-top: 12px; font: 500 24px/1.25 var(--serif); letter-spacing: -0.02em; }
.contact p { color: var(--muted); font-size: 16px; }
.contact .btn { margin-top: auto; }
.contact p:last-of-type { margin-bottom: 16px; }
.rel-list { display: grid; gap: 18px; }
.rel { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line-2); border-radius: var(--r); background: var(--card); }
.rel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; }
.rel-head h2 { font-size: 30px; }
.rel-tag { padding: 4px 10px; border-radius: 6px; background: var(--red); color: #fff; font: 700 12px var(--font); letter-spacing: 0.08em; text-transform: uppercase; }
.rel-date { margin-left: auto; color: var(--muted); font-size: 15px; }
.rel-notes { color: var(--ink); }
.rel-notes > * + * { margin-top: 10px; }
.rel-notes ul { padding-left: 22px; }
.rel-notes li + li { margin-top: 5px; }
.rel-notes code { padding: 1px 7px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--paper); font-size: 0.88em; overflow-wrap: anywhere; }
.rel-foot { margin-top: 16px; font-size: 15px; }
.rel-state { padding: 28px; border: 1px dashed var(--edge); border-radius: var(--r); color: var(--muted); text-align: center; }
.rel-skel { height: 150px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--card); animation: pulse 1.4s ease-in-out infinite; }

.wl-pad { margin-top: 56px; }
.wl-pad .sub { margin-bottom: 28px; }
.dl-body, .cl-body, .sup-body { padding-top: clamp(8px, 2vw, 24px); border-top: 0; }
.dl-body .notice { margin-bottom: 8px; }
.dl-body .prose { margin-top: 8px; }
.dl-body .prose > h2:first-child { margin-top: 36px; }
.prose .dl-meta { padding-left: 0; }

/* thanks */
.thanks-sec { overflow: hidden; isolation: isolate; border-top: 0; }
.thanks-sec .grid-bg { height: 620px; }
.thanks { max-width: 720px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); border: 1.5px solid var(--ink); border-radius: 20px; background: var(--card); box-shadow: 0 7px 0 var(--ink); }
.badge-ok { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 0 22px; border-radius: 50%; background: var(--red); color: #fff; }
.badge-ok .ico { width: 32px; height: 32px; stroke-width: 2.4; }
.thanks h1 { font-size: clamp(36px, 4.6vw, 56px); }
.thanks .lead { margin-top: 12px; }
.thanks .h3 { margin: 32px 0 10px; font: 500 24px/1.3 var(--serif); }
.key { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; padding: 12px 14px 12px 18px; border: 1px solid var(--edge); border-radius: 12px; background: var(--card-hi); }
.key code { flex: 1; min-width: 0; color: var(--red-text); font: 700 18px/1.4 var(--mono); letter-spacing: 0.03em; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
#keys { margin-top: 8px; }
.thanks .steps-n { margin-top: 8px; }
.thanks-dl { margin-top: 12px; }
.thanks-help { margin-top: 24px; }

/* legal pages */
.legal-head { padding: clamp(40px, 6vw, 80px) 0 clamp(8px, 2vw, 20px); }
.legal-head h1 { font-size: clamp(40px, 5vw, 64px); }
.legal-head .meta { margin-top: 14px; color: var(--muted); font-size: 15px; }
.legal-head .lead { margin-top: 16px; max-width: 46em; }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; padding-bottom: clamp(56px, 8vw, 110px); }
.toc { position: sticky; top: 96px; font-size: 15px; }
.toc summary { padding: 0 0 10px; color: var(--faint); font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; list-style: none; pointer-events: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { margin: 0; padding: 0; border-left: 1px solid var(--line-2); list-style: none; }
.toc a { display: flex; align-items: center; min-height: 44px; margin-left: -1px; padding: 4px 0 4px 16px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.on { border-left-color: var(--red); color: var(--ink); }

/* 404 */
.nf { padding: clamp(56px, 9vw, 128px) 0; text-align: center; }
.nf-code { color: var(--red); font: italic 500 clamp(120px, 24vw, 230px)/0.95 var(--serif); letter-spacing: -0.05em; }
.nf h1 { margin: 6px 0 12px; font-size: clamp(32px, 4vw, 46px); }
.nf .lead { margin: 0 auto 34px; }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; max-width: 680px; margin: 0 auto; padding: 0; list-style: none; }
.quick a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 12px; background: var(--card); color: var(--ink); font-weight: 600; text-decoration: none; box-shadow: 0 3px 0 var(--ink); transition: transform 0.08s, box-shadow 0.08s; }
.quick a:hover { background: var(--card-hi); }
.quick a:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.quick .ico { color: var(--red); }

/* scroll reveal (only when motion is welcome and the script is running) */
@media (prefers-reduced-motion: no-preference) {
  .rv [data-reveal]:not(.in) { opacity: 0; transform: translateY(18px); transition: none; }
  [data-reveal].in { transform: none; transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .rv .cmp:not(.in) li, .rv .cmp:not(.in) .cmp-result, .rv .cmp:not(.in) .cmp-shot { opacity: 0; transform: translateX(-10px); transition: none; }
  .cmp.in li, .cmp.in .cmp-result, .cmp.in .cmp-shot { transition: opacity 0.45s ease, transform 0.45s ease; transition-delay: calc(var(--i, 0) * 0.15s); }
}

@media (max-width: 1100px) {
  .bento { column-count: 2; }
  .pv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .try-card { grid-template-columns: minmax(0, 1fr); }
  .try-side { border-left: 0; border-top: 1px solid var(--line-2); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .stage-col { max-width: 620px; width: 100%; margin-inline: auto; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .toc { position: static; margin-bottom: 8px; padding: 6px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); }
  .toc summary { padding: 12px 0; pointer-events: auto; cursor: pointer; }
  .toc ol { margin-bottom: 10px; }
}
@media (max-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head h2, .sec-head .sub { grid-column: 1; }
  .how-keys kbd { min-width: 50px; height: 50px; font-size: 17px; }
}
@media (max-width: 880px) {
  .nav { display: none; }
  .menu { display: block; }
  .support-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .how, .cmp { grid-template-columns: minmax(0, 1fr); }
  .price-body { grid-template-columns: minmax(0, 1fr); }
  .price-left { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .bar-cta { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding-inline: 18px; }
  .bento { column-count: 1; }
  .pv-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn.lg { flex: 1 1 100%; }
  .btn.xl { width: 100%; padding: 0 20px; }
  .wl .btn { flex: 1 1 100%; }
  .reader { padding: 20px 20px 20px; }
  .hotkey { left: 14px; }
  .facts { gap: 4px 20px; }
  .facts li + li::before { display: none; }
  .consent { left: 12px; bottom: 12px; width: calc(100% - 24px); }
  .rel-date { margin-left: 0; width: 100%; }
  .key { flex-wrap: wrap; }
  .key code { flex: 1 1 100%; font-size: 16px; }
  .thanks .btn.lg { width: 100%; padding: 0 14px; font-size: 15px; white-space: nowrap; }
  .steps-n > li { padding-left: 52px; }
  .nf .lead { margin-bottom: 24px; }
  .faq summary { font-size: 20px; }
}
@media (hover: none) {
  .hint-mouse { display: none; }
  .hint-touch { display: block; }
}
@media (pointer: coarse) {
  .foot-grid li a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
