/* Every rule sits in the "site" layer; only the reduced-motion overrides at the end stay outside it,
   so they win over any rule here by the cascade itself. */
@layer site {
/* Layout: a contained, fluid 12-column page. One real tape runs through it; white and ink carry the page, yellow is the tape. */
/* Instrument Sans and Geist Mono (SIL Open Font License), Latin, variable weight. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; src: url(fonts/instrument-sans.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/geist-mono.woff2) format("woff2"); }
:root {
  --bg: #f5f6f7; --surface: #ffffff; --surface-2: #eceef0; --ink: #12100d; --muted: #5d5a54; --line: #dcdee1;
  --yellow: #ffef00; --on-yellow: #12100d; --shadow: 0 1px 0 rgb(18 16 13 / .06), 0 30px 60px -40px rgb(18 16 13 / .35);
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  /* fluid scale: 360px → 1440px */
  --s-1: clamp(.82rem, .8rem + .1vw, .88rem); --s0: clamp(1rem, .96rem + .18vw, 1.125rem); --s1: clamp(1.2rem, 1.1rem + .45vw, 1.5rem);
  --s2: clamp(1.5rem, 1.25rem + 1.1vw, 2.25rem); --s3: clamp(2.2rem, 1.6rem + 2.6vw, 4rem); --s4: clamp(2.8rem, 1.8rem + 4.6vw, 6.25rem);
  --space: clamp(1.25rem, .9rem + 1.6vw, 2.25rem); --section: clamp(4rem, 2.5rem + 5vw, 8rem);
  --container: 1360px; --gutter: clamp(20px, 4vw, 56px); --radius: clamp(18px, 1rem + .6vw, 28px);
  --nav-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #12100d; --surface: #1b1915; --surface-2: #242119; --ink: #f5f6f7; --muted: #aaa69e; --line: #2f2c26;
  --shadow: 0 1px 0 rgb(0 0 0 / .4), 0 30px 60px -40px rgb(0 0 0 / .8); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #12100d; --surface: #1b1915; --surface-2: #242119; --ink: #f5f6f7; --muted: #aaa69e; --line: #2f2c26;
  --shadow: 0 1px 0 rgb(0 0 0 / .4), 0 30px 60px -40px rgb(0 0 0 / .8); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
/* clip on the content itself too: phones widen the layout viewport for anything sliding in from the side */
main, .site-footer { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: var(--s0); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color .6s var(--ease-io), color .6s var(--ease-io); }
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--yellow); color: var(--on-yellow); }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); font-size: var(--s-1); letter-spacing: .04em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 100; left: 16px; top: -160px; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); text-decoration: none; transition: top .3s; }
.skip:focus { top: calc(16px + env(safe-area-inset-top, 0px)); }

/* Layers: section backgrounds (0) · tape behind (1) · content (2) · tape in front of the hero word (3) · header (10) · loader (50). */
.gl { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#tape-back { z-index: 1; } #tape-front { z-index: 3; }
.layer { position: relative; z-index: 2; }

/* ============ loader ============ */
/* if the scripts never arrive, the loader steps aside on its own */
.loader { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: var(--bg); animation: loader-giveup 0s 9s forwards; }
.loader .reel { width: min(560px, 78vw); display: grid; gap: 14px; }
.loader .gauge { position: relative; height: 34px; overflow: hidden; border-radius: 3px; }
.loader .gauge i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background-color: var(--yellow);
  background-image: repeating-linear-gradient(90deg, #12100d 0 1px, transparent 1px 3.78px), repeating-linear-gradient(90deg, #12100d 0 1.5px, transparent 1.5px 37.8px);
  background-size: 100% 9px, 100% 15px; background-repeat: no-repeat; box-shadow: inset 0 -1px 0 rgb(0 0 0 / .15); }
.loader .loader-word { margin: 0 0 6px; text-align: center; font-weight: 700; font-stretch: 75%; font-size: clamp(3rem, 1.4rem + 7vw, 7.5rem); line-height: .8; letter-spacing: -.035em; text-transform: uppercase; color: var(--ink); transition: opacity .5s var(--ease-out); }
/* the name waits for its typeface, so it never jumps from a fallback font */
html.js:not(.fonts) .loader .loader-word { opacity: 0; }
.loader .row { display: flex; justify-content: space-between; color: var(--muted); }
.loader .count { color: var(--ink); font-variant-numeric: tabular-nums; }
html:not(.js) .loader { display: none; }
@keyframes loader-giveup { to { visibility: hidden; } }
[tabindex="-1"]:focus { outline: none; }

/* ============ header: a tape across the top ============ */
.site-header { position: fixed; z-index: 45; left: 0; right: 0; top: calc(12px + env(safe-area-inset-top, 0px)); transition: transform .7s var(--ease-out); }
.site-header.away { transform: translateY(calc(-100% - 24px)); }
.navbar { position: relative; display: flex; align-items: center; gap: 18px; height: var(--nav-h); padding: 0 8px 0 22px; border-radius: 14px;
  background: #12100d; color: #f5f6f7; box-shadow: 0 18px 40px -22px rgb(18 16 13 / .7); overflow: hidden; }
/* printed millimetre scale along both edges; it moves with the page */
.navbar::before, .navbar::after { content: ""; position: absolute; left: 0; right: 0; height: 11px; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, #f5f6f7 0 1px, transparent 1px 3.78px) 0 0 / 37.8px 5px repeat-x,
    linear-gradient(90deg, #f5f6f7 0 1px, transparent 1px) 18.9px 0 / 37.8px 8px repeat-x,
    linear-gradient(90deg, #f5f6f7 0 1.5px, transparent 1.5px) 0 0 / 37.8px 11px repeat-x;
  background-position-x: var(--tick, 0px); }
.navbar::before { top: 0; } .navbar::after { bottom: 0; transform: scaleY(-1); }
.brand { position: relative; display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }
.brand svg { width: 30px; height: 30px; }
.nav-links { position: relative; display: flex; gap: clamp(14px, 2vw, 30px); margin: 0 auto; padding: 0; list-style: none; }
.nav-links a { position: relative; white-space: nowrap; text-decoration: none; font-size: .95rem; color: #d9d6d0; transition: color .3s; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; transform: scaleX(0); transform-origin: left;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 1px, transparent 1px 4px); transition: transform .5s var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.icon-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: #f5f6f7; cursor: pointer; transition: background .3s; }
.icon-btn:hover { background: rgb(255 255 255 / .08); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; } :root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .sun { display: none; } :root:not([data-theme="light"]) .theme-btn .moon { display: block; } }
/* the tape's metal end: the link to Shopify */
/* the header's call to action: the same yellow pill as the page's buttons */
.hook { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 99px; background: var(--yellow); color: var(--on-yellow); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; transition: transform .5s var(--ease-out); }
.hook:hover { transform: translateY(-2px); }
.menu-btn { display: none; }
@media (max-width: 900px) { .nav-links { display: none; } .menu-btn { display: grid; } .navbar { padding-left: 16px; } .brand { margin-right: auto; } }
/* Wider screens whose links don't fit in one row (long words in some languages): the same phone menu.
   lang.js sets data-compact by measuring, so it holds for every language and font. */
.navbar[data-compact] .nav-links { display: none; } .navbar[data-compact] .menu-btn { display: grid; }
.navbar[data-compact] { padding-left: 16px; } .navbar[data-compact] .brand { margin-right: auto; }
.brand svg, .icon-btn, .hook { flex: none; }
/* Phones: logo, name and two buttons; the call to action moves into the menu. */
@media (max-width: 560px) { .navbar { gap: 4px; padding: 0 6px 0 12px; } .hook { display: none; } .icon-btn { width: 44px; height: 44px; } }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 40; display: grid; align-content: center; align-content: safe center; background: var(--bg); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io), visibility 0s .8s;
  padding-block: calc(var(--nav-h) + 36px + env(safe-area-inset-top, 0px)) 24px; overflow-y: auto; }
.menu[data-open="true"] { visibility: visible; clip-path: inset(0); transition: clip-path .8s var(--ease-io); }
.menu ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.menu li { border-top: 1px solid var(--line); }
.menu ol a { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0; text-decoration: none; font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 600; font-stretch: 85%; letter-spacing: -.03em; line-height: 1.1; }
.menu .menu-foot { margin-top: 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }

/* ============ common blocks ============ */
.section { position: relative; padding-block: var(--section); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.eyebrow::before { content: ""; width: 28px; height: 10px; border-radius: 2px; background: var(--yellow);
  background-image: repeating-linear-gradient(90deg, rgb(18 16 13 / .7) 0 1px, transparent 1px 4px); background-size: 100% 5px; background-repeat: no-repeat; }
h2.title { margin: 18px 0 0; max-width: 16ch; font-size: var(--s4); font-weight: 600; font-stretch: 85%; line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.intro { margin: 22px 0 0; max-width: 46ch; color: var(--muted); font-size: var(--s1); line-height: 1.5; text-wrap: pretty; }
.head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space); align-items: end; }
.head-grid .intro { margin: 0; }
@media (max-width: 900px) { .head-grid { grid-template-columns: 1fr; row-gap: 28px; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px; border-radius: 99px; border: 0; cursor: pointer;
  text-decoration: none; font-weight: 600; font-size: 1rem; transition: transform .5s var(--ease-out), background-color .3s, color .3s, box-shadow .3s; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-yellow { background: var(--yellow); color: var(--on-yellow); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn:hover { transform: translateY(-2px); }
.btn[aria-disabled="true"] { cursor: default; text-align: center; background-image: repeating-linear-gradient(-45deg, transparent 0 7px, rgb(128 128 128 / .16) 7px 9px); }
.btn[aria-disabled="true"]:hover { transform: none; }
.btn .arr { display: inline-block; transition: transform .5s var(--ease-out); }
.btn:hover .arr { transform: translate(3px, -3px); }

/* ============ hero ============ */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-block: calc(var(--nav-h) + 56px) clamp(28px, 4vw, 48px); }
.hero-word { align-self: center; justify-self: center; margin: 0; text-align: center; }
.hero-word .big { display: block; font-weight: 700; font-stretch: 75%; font-size: clamp(4.4rem, 1rem + 17.2vw, 19.5rem); line-height: .8; letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap; }
.hero-word .big span { display: inline-block; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space); align-items: end; }
.hero-foot .lede { margin: 0; max-width: 40ch; font-size: var(--s1); line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.hero-foot .lede strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: grid; justify-items: end; gap: 16px; }
.hero-cta .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.hero-cta .small { margin: 0; max-width: 34ch; text-align: right; color: var(--muted); font-size: var(--s-1); line-height: 1.5; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-end; color: var(--muted); }
@media (max-width: 400px) { .hero-foot .lede { font-size: 1.04rem; } }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
@media (max-width: 760px) { .hero { row-gap: 28px; padding-top: calc(var(--nav-h) + 32px); } .hero-cta .small { text-align: left; } .hero-foot { grid-template-columns: 1fr; } .hero-cta, .hero-cta .actions, .facts { justify-items: start; justify-content: flex-start; } }

/* ============ problem: a pinned sequence ============ */
/* own block context: the list's top margin stays inside whether pinned or not */
.problem .beats { display: flow-root; }
.problem .stack { display: grid; gap: clamp(28px, 4vw, 56px); margin: clamp(48px, 7vw, 96px) 0 0; padding: 0; list-style: none; }
.problem .beat { display: grid; gap: 12px; max-width: 100%; }
.problem .beat .say { font-size: clamp(2.2rem, .9rem + 5.2vw, 6.6rem); font-weight: 600; font-stretch: 80%; line-height: .95; letter-spacing: -.04em; text-wrap: balance; }
.problem .beat .why { max-width: 36ch; color: var(--muted); font-size: var(--s1); line-height: 1.4; }
.problem .beat:nth-child(2) { justify-self: end; text-align: right; } .problem .beat:nth-child(2) .why { justify-self: end; }
.problem .answer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space); margin-top: clamp(48px, 7vw, 96px); padding-top: 28px; border-top: 1.5px solid var(--ink); }
.problem .answer p { grid-column: 2; margin: 0; font-size: var(--s2); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; text-wrap: balance; }
.problem .answer mark { background: var(--yellow); color: #12100d; padding: 0 .12em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (max-width: 760px) { .problem .answer { grid-template-columns: 1fr; } .problem .answer p { grid-column: 1; } .problem .beat:nth-child(n) { justify-self: start; text-align: left; } .problem .beat:nth-child(n) .why { justify-self: start; } }

/* ============ features: sticky index + list ============ */
.features { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(48px, 7vw, 96px); }
.f-index { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; display: grid; gap: 18px; }
.f-index .num { font-size: clamp(5rem, 3rem + 7vw, 11rem); font-weight: 700; font-stretch: 75%; line-height: .8; letter-spacing: -.05em; font-variant-numeric: tabular-nums; overflow: hidden; height: .82em; }
.f-index .num span { display: block; }
.f-index .bar { height: 10px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.f-index .bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background-color: var(--yellow);
  background-image: repeating-linear-gradient(90deg, rgb(18 16 13 / .7) 0 1px, transparent 1px 4px); background-size: 100% 5px; background-repeat: no-repeat; }
.f-list { display: grid; gap: clamp(18px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.f-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space); align-items: center; padding: clamp(22px, 2.6vw, 36px); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.f-card h3 { margin: 0 0 10px; font-size: var(--s2); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
.f-card p { margin: 0; color: var(--muted); }
.f-card .spec { margin-top: 16px; display: inline-flex; padding: 6px 10px; border-radius: 99px; background: var(--surface-2); color: var(--ink); }
.vis { position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--radius) * .7); background: var(--surface-2); overflow: hidden; display: grid; place-items: center; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } .f-index { position: static; grid-template-columns: auto 1fr; align-items: end; } .f-index .num { font-size: 4.5rem; } }
@media (max-width: 640px) { .f-card { grid-template-columns: 1fr; } }
/* feature vignettes */
.v-theme { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 82%; }
.v-theme div { aspect-ratio: 3/4; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); display: grid; align-content: end; padding: 8px; gap: 5px; }
.v-theme i { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.v-theme b { display: block; height: 16px; border-radius: var(--r, 4px); background: var(--c, var(--ink)); }
.v-fit { width: 78%; display: grid; gap: 10px; }
.v-fit .tape { height: 22px; border-radius: 3px; background-color: var(--yellow); background-image: repeating-linear-gradient(90deg, rgb(18 16 13 / .75) 0 1px, transparent 1px 5px), repeating-linear-gradient(90deg, rgb(18 16 13 / .9) 0 1.5px, transparent 1.5px 50px); background-size: 100% 7px, 100% 12px; background-repeat: no-repeat; position: relative; }
.v-fit .tape::after { content: ""; position: absolute; top: -4px; bottom: -4px; left: var(--at, 50%); width: 2px; background: var(--ink); }
.v-fit .out { justify-self: start; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 600; }
.v-units { display: inline-flex; padding: 5px; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow); font-family: var(--mono); }
.v-units span { padding: 8px 16px; border-radius: 99px; } .v-units span.on { background: var(--ink); color: var(--bg); }
.v-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; width: 84%; }
.v-grid i { aspect-ratio: 1; border-radius: 7px; background: var(--surface); box-shadow: var(--shadow); }
.v-grid i:nth-child(3n) { background: var(--yellow); }
.v-lang { display: flex; flex-wrap: wrap; gap: 7px; width: 84%; justify-content: center; }
.v-lang span { padding: 7px 12px; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow); font-family: var(--mono); font-size: .8rem; }
.v-measure { width: 70%; overflow: visible; }
.v-measure .body { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.v-measure .m path { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 4 4; }
.v-measure .n circle { fill: var(--yellow); stroke: #12100d; stroke-width: 1.2; }
.v-measure .n text { font: 600 11px var(--mono); text-anchor: middle; fill: #12100d; }
/* A product page, ready at once; the size chart button waits for its tap. */
.v-fast { display: grid; justify-items: center; gap: 14px; width: 62%; }
.v-fast .pg { display: grid; gap: 8px; width: 100%; padding: 14px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.v-fast i { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.v-fast i:nth-child(1) { width: 70%; height: 12px; background: var(--ink); } .v-fast i:nth-child(3) { width: 55%; }
.v-fast b { justify-self: start; margin-top: 4px; padding: 6px 12px; border-radius: 99px; background: var(--yellow); color: #12100d; font-size: .8rem; box-shadow: 0 0 0 5px rgb(255 239 0 / .28); }
.v-fast span { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

/* ============ tape strip ============ */
.strip { position: relative; z-index: 2; padding-block: clamp(28px, 4vw, 52px); overflow: clip; }
.strip .roll { position: relative; padding-block: 18px 14px; background-color: var(--yellow); color: #12100d; transform: rotate(-1.4deg) scale(1.02);
  background-image: linear-gradient(180deg, rgb(255 255 255 / .35), transparent 30%, transparent 70%, rgb(0 0 0 / .08)),
    repeating-linear-gradient(90deg, #12100d 0 1px, transparent 1px 3.78px), repeating-linear-gradient(90deg, #12100d 0 1.5px, transparent 1.5px 37.8px);
  background-size: 100% 100%, 100% 8px, 100% 13px; background-repeat: no-repeat; box-shadow: 0 16px 30px -20px rgb(18 16 13 / .5); }
.strip .run { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.strip .run span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(1.3rem, 1rem + 1.6vw, 2.4rem); font-weight: 600; font-stretch: 80%; text-transform: uppercase; letter-spacing: -.01em; }
.strip .run span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }

/* ============ customize ============ */
.custom { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); margin-top: clamp(48px, 7vw, 96px); align-items: start; }
.controls { display: grid; gap: 26px; }
.control { display: grid; gap: 10px; }
.control > span { color: var(--muted); }
/* a <fieldset>: its default border, margins and min-content floor are reset so it lays out like a plain box */
.seg { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 5px; border: 0; min-inline-size: auto; border-radius: 16px; background: var(--surface-2); justify-self: start; }
.seg button { position: relative; z-index: 1; min-height: 42px; padding: 0 16px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; font-size: .95rem; transition: color .35s; }
.seg button[aria-pressed="true"] { color: var(--bg); }
/* Choices that don't fit in one row: an even grid (site.js sets data-wrap), never one choice alone
   below. Phones and tablets have their own grid further down. */
@media (min-width: 901px) {
  .seg[data-wrap] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-self: stretch; }
  .seg[data-wrap][data-set="layout"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seg[data-wrap] button { padding: 6px 10px; line-height: 1.15; text-wrap: balance; }
}
.seg .pro { margin-left: 4px; padding: 1px 6px; border-radius: 99px; font: 600 .68rem var(--mono); letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; background: var(--yellow); color: #12100d; }
.seg .pill { position: absolute; top: 0; left: 0; z-index: 0; border-radius: 12px; background: var(--ink); transition: transform .6s var(--ease-out), width .6s var(--ease-out), height .6s var(--ease-out); }
.also { margin: 4px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.also li { display: flex; gap: 10px; align-items: baseline; color: var(--muted); }
.also li::before { content: ""; flex: none; width: 14px; height: 6px; border-radius: 1px; background: var(--yellow); transform: translateY(-2px); }
.stage { position: relative; min-height: 500px; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.shop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; padding: 26px; }
.shop .ph { aspect-ratio: 4 / 5; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; }
.shop .ph svg { width: 54%; fill: var(--ink); }
.shop .info { display: grid; align-content: start; gap: 10px; font-size: .95rem; }
.shop .info b { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.shop .sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.shop .sizes span { min-width: 42px; padding: 7px 8px; text-align: center; border: 1px solid var(--line); border-radius: 8px; font-size: .85rem; }
.shop .sizes span.on { border-color: var(--ink); }
.chart { --c-accent: var(--ink); --c-on: var(--bg); --c-r: 16px; --c-font: var(--sans);
  position: absolute; z-index: 2; display: grid; gap: 12px; align-content: start; padding: 20px; background: var(--surface); color: var(--ink);
  border-radius: var(--c-r); font-family: var(--c-font); box-shadow: 0 30px 70px -30px rgb(18 16 13 / .5), 0 0 0 1px var(--line); }
.chart .ch { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chart .ch b { font-size: 1.05rem; font-weight: 600; }
.chart .u { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--surface-2); font-size: .75rem; }
.chart .u span { padding: 3px 10px; border-radius: 99px; } .chart .u span.on { background: var(--c-accent); color: var(--c-on); }
.chart table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.chart th, .chart td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.chart thead th { background: var(--c-accent); color: var(--c-on); font-weight: 600; }
.chart thead th:first-child { border-radius: calc(var(--c-r) * .5) 0 0 calc(var(--c-r) * .5); }
.chart thead th:last-child { border-radius: 0 calc(var(--c-r) * .5) calc(var(--c-r) * .5) 0; }
.chart .fit-line { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: .9rem; font-weight: 600; }
.chart .fit-line .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1.5px #12100d; }
.chart tr.fit > * { background: color-mix(in srgb, var(--yellow) 60%, transparent); color: #12100d; }
.stage[data-layout="drawer"] .chart { top: 0; right: 0; bottom: 0; width: min(390px, 88%); border-radius: var(--c-r) 0 0 var(--c-r); }
.stage[data-layout="popup"] .chart { inset: 0; margin: auto; width: min(430px, 90%); height: fit-content; }
.stage[data-layout="inline"] .chart { left: 26px; right: 26px; bottom: 26px; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgb(18 16 13 / .25); opacity: 0; transition: opacity .5s; pointer-events: none; }
.stage[data-layout="popup"]::after { opacity: 1; }
.stage[data-style="bold"] .chart { --c-font: var(--sans); } .stage[data-style="bold"] .chart .ch b { font-weight: 700; font-stretch: 80%; font-size: 1.3rem; text-transform: uppercase; }
.stage[data-style="soft"] .chart { --c-accent: color-mix(in srgb, var(--ink) 70%, var(--bg)); }
.stage[data-style="editorial"] .chart { --c-font: Georgia, "Times New Roman", serif; --c-accent: transparent; --c-on: var(--ink); }
.stage[data-style="editorial"] .chart thead th { border-bottom: 1.5px solid var(--ink); }
.stage[data-corners="square"] .chart { --c-r: 3px; }
@media (max-width: 900px) { .custom { grid-template-columns: 1fr; } .stage { min-height: 560px; } .shop { grid-template-columns: 1fr; } .shop .ph { aspect-ratio: 16 / 9; } }

/* ============ setup (dark band) ============ */
.band { position: relative; color: #f5f6f7; padding-block: var(--section); }
.band::before { content: ""; position: absolute; inset: 0 max(0px, calc((100vw - var(--container) - var(--gutter) * 2) / 2 + 0px)); z-index: 0; border-radius: 0; background: #12100d; }
@media (min-width: 1500px) { .band::before { border-radius: 36px; } }
:root[data-theme="dark"] .band::before { background: #1b1915; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band::before { background: #1b1915; } }
.band .eyebrow, .band .intro { color: #aaa69e; }
.facts4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid #34302a; }
.facts4 div { padding: 26px 20px 26px 0; border-bottom: 1px solid #34302a; }
.facts4 b { display: block; font-size: clamp(1.75rem, 1.3rem + 1.1vw, 2.5rem); font-weight: 600; font-stretch: 85%; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.facts4 span { display: block; margin-top: 10px; color: #aaa69e; font-size: .95rem; }
.steps { position: relative; list-style: none; margin: clamp(56px, 8vw, 110px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); counter-reset: s; }
.steps li { position: relative; display: grid; gap: 12px; align-content: start; min-height: 240px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius); background: #1f1d18; box-shadow: inset 0 0 0 1px #34302a; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--mono); color: var(--yellow); }
.steps li b { font-size: var(--s2); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.steps li span { color: #aaa69e; }
@media (max-width: 900px) { .facts4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps { grid-template-columns: 1fr; } .steps li { min-height: 0; } }
@media (max-width: 560px) { .facts4 { grid-template-columns: 1fr; } .facts4 div { padding: 22px 0; } }

/* ============ pricing ============ */
.billing { display: inline-flex; position: relative; margin-top: 28px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(36px, 5vw, 64px); align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding: clamp(24px, 2.4vw, 34px); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.plan.star { background: #12100d; color: #f5f6f7; }
.plan.star .muted, .plan.star li { color: #c9c5bd; }
.plan .name { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.2rem; }
.plan .tag { padding: 5px 10px; border-radius: 99px; background: var(--yellow); color: var(--on-yellow); }
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.plan .price b { font-size: var(--s4); font-weight: 600; font-stretch: 80%; letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan .muted { color: var(--muted); font-size: .95rem; min-height: 1.6em; }
.plan ul { margin: 6px 0 0; padding: 18px 0 0; list-style: none; display: grid; gap: 10px; border-top: 1px solid var(--line); align-content: start; }
.plan.star ul { border-color: #34302a; }
.plan li { display: flex; gap: 10px; color: var(--muted); }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: radial-gradient(circle, var(--ink) 0 2.5px, transparent 3px), var(--surface-2); }
.plan.star li::before { background: radial-gradient(circle, #12100d 0 2.5px, transparent 3px), var(--yellow); }
.plan .btn { width: 100%; }
.plan.star .btn-yellow { box-shadow: none; }
.compare { margin-top: 26px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.compare summary { display: flex; justify-content: space-between; align-items: center; padding: 22px clamp(20px, 2.4vw, 32px); cursor: pointer; list-style: none; font-weight: 600; }
.compare summary::-webkit-details-marker { display: none; }
.compare .scroll { overflow-x: auto; padding: 0 clamp(20px, 2.4vw, 32px) 24px; }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 12px 10px; text-align: left; border-top: 1px solid var(--line); }
.compare thead th { color: var(--muted); font-weight: 500; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.yes { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 5px var(--yellow), inset 0 0 0 9px #12100d; }
.no { color: var(--muted); }
.plan .price .cur { font-size: .5em; font-stretch: 100%; letter-spacing: 0; }
.plan .per { color: var(--muted); white-space: nowrap; }
.plan.star .per { color: #aaa69e; }
.notes { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; color: var(--muted); font-size: .95rem; }
.notes li { display: flex; gap: 10px; } .notes li::before { content: ""; flex: none; width: 14px; height: 6px; margin-top: .6em; border-radius: 1px; background: var(--yellow); }
@media (max-width: 760px) { .notes { grid-template-columns: 1fr; } }
.compare .plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); transition: transform .6s var(--ease-out); }
.compare .plus::before, .compare .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.compare .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.compare[open] .plus { transform: rotate(45deg); background: var(--yellow); color: #12100d; }
.compare td.no { font-size: 0; } .compare td.no::before { content: "–"; font-size: .95rem; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

/* ============ faq ============ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); }
.faq-aside { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
/* The title's longest word must fit the narrow column in every language. */
.faq-aside { container-type: inline-size; }
.faq-aside h2.title { font-size: min(var(--s4), 19cqi); overflow-wrap: break-word; }
.faq-aside .help { margin-top: 32px; padding: 22px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); display: grid; gap: 8px; }
.faq-aside .help b { font-size: 1.1rem; }
.faq-aside .help span { color: var(--muted); }
.qa { margin: 0; padding: 0; list-style: none; border-bottom: 1.5px solid var(--ink); }
.qa li { border-top: 1.5px solid var(--ink); }
.qa h3 { margin: 0; }
@media (max-width: 759px) { .qa { margin-right: 24px; } }
.qa button { display: grid; grid-template-columns: 56px minmax(0, 1fr) 36px; align-items: center; gap: 8px; width: 100%; padding: 26px 0; border: 0; background: none; cursor: pointer; text-align: left; font-size: var(--s1); font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.qa button .n { font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.qa .x { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); transition: background .4s, transform .6s var(--ease-out); }
.qa .x::before, .qa .x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .6s var(--ease-out); }
.qa .x::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa button[aria-expanded="true"] .x { background: var(--yellow); color: #12100d; transform: rotate(180deg); }
.qa button[aria-expanded="true"] .x::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa .a { overflow: hidden; height: 0; }
.qa .a p { margin: 0; padding: 0 44px 28px 64px; max-width: 62ch; color: var(--muted); }
html:not(.js) .qa .a { height: auto; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-aside { position: static; } }
@media (max-width: 560px) { .qa button { grid-template-columns: 36px minmax(0, 1fr) 36px; } .qa .a p { padding: 0 0 24px 44px; } }

/* ============ final call ============ */
.final { position: relative; min-height: 100svh; display: grid; align-items: center; padding-block: var(--section); }
.final h2 { margin: 0; max-width: 12ch; font-size: clamp(3rem, 1rem + 6.4vw, 8.6rem); font-weight: 700; font-stretch: 75%; line-height: .84; letter-spacing: -.04em; text-transform: uppercase; }
/* Capitals with accents and dots (Ü, İ, É, Ç) need room above them in the other languages. */
html:not([lang="en"]) .final h2 { line-height: .96; }
.final p { margin: 28px 0 34px; max-width: 42ch; color: var(--muted); font-size: var(--s1); }
.final .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============ footer ============ */
.site-footer { position: relative; z-index: 2; padding-block: clamp(56px, 7vw, 96px) calc(28px + env(safe-area-inset-bottom, 0px)); background: #12100d; color: #f5f6f7; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)) ; gap: 28px; }
.foot-top p { margin: 12px 0 0; max-width: 34ch; color: #aaa69e; }
.foot-top nav { display: grid; gap: 10px; align-content: start; }
.foot-top nav .mono { color: #9a958c; margin-bottom: 6px; }
.foot-top nav a { width: fit-content; text-decoration: none; color: #dcd8d1; transition: color .3s; }
.foot-top nav a:hover { color: var(--yellow); }
.foot-top nav > span:not(.mono) { color: #aaa69e; }
.foot-name { font-size: 1.25rem; }
.legal a { color: inherit; text-decoration: none; } .legal a:hover { color: var(--yellow); }
.faq-aside .help a { color: var(--ink); text-underline-offset: 3px; }
.menu-foot a { text-decoration: none; text-transform: none; letter-spacing: 0; color: var(--ink); overflow-wrap: anywhere; }
.menu-cta { margin-top: 28px; width: 100%; padding: 0 16px; font-size: .92rem; }
.menu-btn path { transition: transform .5s var(--ease-out); transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(4px) rotate(45deg); } .menu-btn[aria-expanded="true"] .l2 { transform: translateY(-4px) rotate(-45deg); }
.wordmark { display: block; width: 100%; height: auto; margin-top: clamp(56px, 8vw, 110px); user-select: none; }
.wordmark text { font-family: var(--sans); font-weight: 700; font-stretch: 75%; font-size: 248px; letter-spacing: -6px; fill: #211e19; }
.ruler { position: relative; min-height: 46px; margin-top: 18px; border-top: 1px solid #34302a; }
.ruler i { position: absolute; inset: 0 0 auto; height: 14px; background: repeating-linear-gradient(90deg, #9a958c 0 1px, transparent 1px 3.78px) 0 0 / 100% 7px no-repeat, repeating-linear-gradient(90deg, #aaa69e 0 1.5px, transparent 1.5px 37.8px) 0 0 / 100% 14px no-repeat; }
.ruler .read { position: relative; display: block; padding-top: 26px; color: #aaa69e; }
.ruler .read b { color: var(--yellow); font-weight: 500; }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; color: #9a958c; font-size: .9rem; }
@media (max-width: 900px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-top > div:first-child { grid-column: 1 / -1; } }

/* ============ scroll scenes (only with motion; without it the page stays a plain, readable column) ============ */
.scrolly .hero-word { will-change: transform; }
/* problem: the three lines take turns in one place while the stack is pinned */
.scrolly .problem .stack { grid-template-areas: "beat"; align-items: center; }
.scrolly .problem .beat { grid-area: beat; }
/* features: a horizontal track that moves with the scroll */
.scrolly .features { display: block; }
.scrolly .f-index { position: static; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: clamp(16px, 3vw, 40px); margin-bottom: clamp(24px, 3vw, 40px); }
.scrolly .f-index .num { font-size: clamp(3.4rem, 2rem + 4vw, 7.5rem); }
.scrolly .f-index .bar { align-self: center; }
.scrolly .f-list { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; }
.scrolly .f-card { flex: none; width: min(760px, 84vw); }
@media (max-width: 640px) { .scrolly .vis { aspect-ratio: 16 / 9; } .scrolly .f-card { gap: 16px; } }
/* customize: the preview tilts up into place */
.scrolly .custom { perspective: 1400px; }
.scrolly .stage { transform-origin: 50% 100%; }
/* setup: the step being read lights up */
.scrolly .steps li { transition: box-shadow .6s var(--ease-out); }
.scrolly .steps li.on { box-shadow: inset 0 0 0 1.5px var(--yellow); }

/* reveal: everything is readable without scripts; with them, things wait offstage */
html.motion [data-reveal] { opacity: 0; }

/* ============ text pages (privacy, support) ============ */
.prose-page { padding-block: calc(var(--nav-h) + 96px) var(--section); }
.prose { max-width: calc(68ch + var(--gutter) * 2); }
.prose h1 { margin: 0; font-size: var(--s4); font-weight: 600; font-stretch: 85%; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.prose .lead { margin: 24px 0 40px; color: var(--muted); font-size: var(--s1); line-height: 1.5; }
.prose h2 { margin: 48px 0 12px; font-size: var(--s2); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.prose p, .prose li { color: var(--ink); line-height: 1.65; }
.prose ul { padding-left: 1.2em; }
.prose a { text-underline-offset: 3px; }

/* ============ customize on phones: a phone-sized product page, the chart as a bottom sheet ============ */
@media (max-width: 640px) {
  .stage { min-height: 540px; }
  .shop { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 14px; padding: 16px; align-items: start; }
  .shop .ph { aspect-ratio: 4 / 5; }
  .shop .info { font-size: .85rem; gap: 6px; }
  .shop .info b { font-size: 1.15rem; }
  .shop .sizes span { min-width: 34px; padding: 5px 4px; font-size: .78rem; }
  .chart { padding: 14px; gap: 10px; }
  .chart table { font-size: .8rem; }
  .chart th, .chart td { padding: 7px 6px; }
  .stage[data-layout="drawer"] .chart { top: auto; left: 0; right: 0; bottom: 0; width: auto; border-radius: var(--c-r) var(--c-r) 0 0; }
  .stage[data-layout="popup"] .chart { width: 92%; }
  .stage[data-layout="inline"] { min-height: 0; }
  .stage[data-layout="inline"] .chart { position: relative; left: auto; right: auto; bottom: auto; margin: 0 16px 16px; }
}

/* ============ customize controls on phones and tablets: a compact panel ============ */
/* Every choice in one tidy grid: equal cells instead of wrapped pills, Units and Corners side by side,
   Pro shown as a dot (the key sits by the first label), the extras as chips. */
.pro-key { display: none; }
@media (max-width: 900px) {
  .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; padding: 16px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
  .control { position: relative; gap: 8px; min-width: 0; }
  .control.wide { grid-column: 1 / -1; }
  .control > .mono { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
  .seg { display: grid; justify-self: stretch; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; padding: 4px; border-radius: 14px; }
  .seg[data-set="style"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .seg[data-set="layout"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seg button { min-height: 40px; padding: 6px; border-radius: 10px; font-size: .88rem; line-height: 1.15; text-wrap: balance; }
  .seg .pill { border-radius: 10px; }
  .seg .pro { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; margin: 0; padding: 0; border-radius: 50%; font-size: 0; }
  .pro-key { display: flex; align-items: center; gap: 6px; position: absolute; top: 0; right: 0; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
  .pro-key::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1px rgb(18 16 13 / .15); }
  .also { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
  .also li { padding: 8px 11px; border-radius: 10px; background: var(--surface-2); color: var(--ink); font-size: .82rem; line-height: 1.3; }
  .also li::before { display: none; }
}
@media (max-width: 560px) {
  /* Units and Corners each get the full row: their words run long in some languages. */
  .control { grid-column: 1 / -1; }
  .seg[data-set="style"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .also { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  .seg button { font-size: .84rem; }
  .also li { padding: 8px 9px; font-size: .78rem; }
  .seg .pro { top: 5px; right: 5px; width: 6px; height: 6px; }
}

/* ============ compare on phones: the whole table on screen, no sideways scrolling ============ */
@media (max-width: 640px) {
  .compare .scroll { overflow: visible; padding: 0 14px 18px; }
  .compare table { min-width: 0; table-layout: fixed; font-size: .84rem; }
  .compare thead th:first-child { width: auto; }
  .compare thead th:not(:first-child) { width: 64px; }
  .compare th, .compare td { padding: 11px 4px; line-height: 1.3; overflow-wrap: break-word; hyphens: auto; }
  .compare tbody th { padding-right: 10px; font-weight: 500; hyphens: auto; overflow-wrap: break-word; }
  .compare td { font-size: .78rem; }
  .compare td.no::before { font-size: .84rem; }
  /* "Unlimited" is a long word in some languages (Unbegrenzt): the sign on screen, the word for screen readers. */
  .compare td.unl { font-size: 0; }
  .compare td.unl::before { content: "∞"; content: "∞" / ""; font-size: 1.15rem; line-height: 1; }
}
/* Narrow phones: each feature's name gets the full width, its three values sit below it under
   Free, Pro and Plus. The ARIA roles in the markup keep it a table for screen readers. */
@media (max-width: 480px) {
  .compare table, .compare thead, .compare tbody { display: block; }
  .compare tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare thead th:first-child { display: none; }
  .compare thead th:not(:first-child) { width: auto; }
  .compare tbody th { grid-column: 1 / -1; padding: 12px 4px 2px; }
  .compare tbody td { border-top: 0; padding: 4px 4px 12px; }
}
}

@media (prefers-reduced-motion: reduce) {
  html.motion [data-reveal] { opacity: 1; }
  *, *::before, *::after { transition-duration: .01ms; animation-duration: .01ms; }
}

/* ---------------- languages ---------------- */
/* The picker sits in the navbar, which clips what overflows it (the printed scale): the list is fixed and
   placed under its button by lang.js, with a sensible spot before that runs. */
.lang-picker { flex: none; }
.lang-picker > summary { list-style: none; display: inline-grid; grid-auto-flow: column; gap: 6px; width: auto; padding: 0 10px; }
.lang-picker > summary::-webkit-details-marker { display: none; }
.lang-picker > summary span { font-size: .78rem; letter-spacing: .06em; }
.lang-picker > summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.lang-picker ul { position: fixed; z-index: 60; top: calc(12px + var(--nav-h) + 8px); right: var(--gutter); min-width: 210px; margin: 0; padding: 6px; list-style: none;
  background: #12100d; color: #f5f6f7; border: 1px solid rgb(255 255 255 / .1); border-radius: 14px; box-shadow: 0 24px 50px -20px rgb(0 0 0 / .6); }
.lang-picker li a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 9px; color: #d9d6d0; text-decoration: none; font-size: .95rem; }
.lang-picker li a:hover, .lang-picker li a:focus-visible { background: rgb(255 255 255 / .08); color: #fff; outline: none; }
.lang-picker li a[aria-current="true"] { color: var(--yellow); }
.lang-picker li a[aria-current="true"]::after { content: "✓"; }
@media (max-width: 560px) { .lang-picker > summary { padding: 0; width: 44px; } .lang-picker > summary span { display: none; } }

.menu-langs { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.menu-langs li { border: 0; }
.menu-langs a { color: var(--muted); text-decoration: none; text-transform: none; letter-spacing: 0; }
.menu-langs a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.foot-langs { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: .85rem; }
.foot-langs a { color: #9a958c; text-decoration: none; text-transform: none; letter-spacing: 0; }
.foot-langs a:hover { color: var(--yellow); }
.foot-langs a[aria-current="true"] { color: #f5f6f7; }
