/* Kozorosa — kozorosa.com
   One stylesheet. Graphite and paper, hairline rules, one signal-orange accent used sparingly, and type that
   does the work: Inter Tight, heavy and tight, for display; Inter for reading; JetBrains Mono for labels.
   Every colour and size is a custom property on :root; the dark theme only redefines tokens. */

:root {
  --paper: #f5f3ef;
  --paper-2: #ece9e3;
  --surface: #ffffff;
  --ink: #111113;
  --ink-2: #3b3b41;
  --ink-3: #6c6c74;
  --line: #dedad2;
  --line-2: #cbc6bc;
  --accent: #e4570b;
  --accent-strong: #c94a06;
  --accent-ink: #ffffff;
  --accent-soft: #fbe6d9;
  --night: #0c0c0e;
  --night-2: #151518;
  --night-3: #1d1d21;
  --night-line: #2a2a30;
  --night-ink: #f3f1ec;
  --night-ink-2: #b4b2ad;
  --night-ink-3: #85848a;
  --ok: #2f7d4f;

  --f-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 136px;
  --r-1: 4px; --r-2: 8px; --r-3: 14px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header: 68px;
  --shadow: 0 1px 0 rgba(17, 17, 19, .04), 0 18px 50px -24px rgba(17, 17, 19, .28);
  --shadow-lg: 0 40px 120px -40px rgba(0, 0, 0, .55);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #0c0c0e;
  --paper-2: #121215;
  --surface: #151518;
  --ink: #f3f1ec;
  --ink-2: #c9c7c2;
  --ink-3: #8d8c92;
  --line: #26262b;
  --line-2: #34343a;
  --accent: #ff6a1a;
  --accent-strong: #ff7f3a;
  --accent-ink: #120a05;
  --accent-soft: #2b170c;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 50px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c0c0e;
    --paper-2: #121215;
    --surface: #151518;
    --ink: #f3f1ec;
    --ink-2: #c9c7c2;
    --ink-3: #8d8c92;
    --line: #26262b;
    --line-2: #34343a;
    --accent: #ff6a1a;
    --accent-strong: #ff7f3a;
    --accent-ink: #120a05;
    --accent-soft: #2b170c;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 50px -24px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

/* ── base ─────────────────────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a, li a, .muted a { color: var(--ink); text-decoration-color: var(--accent); }
p a:hover, li a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
kbd, code { font: 500 .86em var(--f-mono); }
kbd { display: inline-block; padding: 1px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: var(--r-1); background: var(--surface); }
code { padding: 1px 5px; border-radius: var(--r-1); background: var(--paper-2); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--ink); color: var(--paper); border-radius: var(--r-1); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(860px + 2 * var(--gutter)); }
section { padding: var(--s-10) 0; position: relative; }
section.tight { padding: var(--s-8) 0; }
section + section.ruled { border-top: 1px solid var(--line); }
.muted { color: var(--ink-3); }

/* ── type ─────────────────────────────────────────────────────────────────────────────────────────── */
.display { font-size: clamp(3.1rem, 8.4vw, 7.4rem); font-weight: 800; letter-spacing: -0.044em; line-height: .92; }
.display-2 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 800; letter-spacing: -0.042em; line-height: .96; }
.display-3 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 800; letter-spacing: -0.042em; line-height: .98; }
.h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 800; letter-spacing: -0.04em; }
.h3 { font-size: clamp(1.45rem, 2.1vw, 1.9rem); letter-spacing: -0.03em; }
.h4 { font-size: 1.2rem; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 44rem; }
.eyebrow { font: 500 12px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow.mark::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--accent); vertical-align: 0; }
.accent { color: var(--accent); }
.num { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }

/* ── buttons ──────────────────────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-1);
  font: 600 16px/1 var(--f-body); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn svg { transition: transform .15s; }
.btn:hover svg { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-strong); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { height: 58px; padding: 0 28px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; }
.link-arrow::after { content: "→"; color: var(--accent); transition: transform .15s; }
.link-arrow svg { display: none; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ── header & mega menus ──────────────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
/* A page that opens on an ink band gets an ink bar, so the top of the page reads as one piece. */
.site-header[data-tone="dark"] { background: color-mix(in oklab, var(--night) 92%, transparent); border-bottom-color: var(--night-line); }
.site-header[data-tone="dark"] .bar {
  --paper: var(--night); --paper-2: var(--night-3); --ink: var(--night-ink); --ink-2: var(--night-ink-2); --ink-3: var(--night-ink-3);
  --line: var(--night-line); --line-2: #3a3a41; --accent: #ff6a1a; --accent-strong: #ff7f3a; --accent-ink: #120a05;
  color: var(--ink);
}
/* The mega menus and the language list live inside the bar and take its ink, so they take its surface too, or light text lands on white. */
.site-header[data-tone="dark"] .mega, .site-header[data-tone="dark"] .lang-menu { --surface: var(--night-2); }
.site-header .bar { display: flex; align-items: center; gap: var(--s-5); height: var(--header); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px/1 var(--f-display); letter-spacing: -0.04em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: var(--s-4); }
.nav-group { position: static; }
.nav-item {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border: 0; border-radius: var(--r-1); background: none; color: var(--ink);
  font: 500 15.5px/1 var(--f-body); text-decoration: none; cursor: pointer;
}
.nav-item:hover, .nav-item[aria-expanded="true"] { background: var(--paper-2); }
.nav-item.is-current { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-item .chev { transition: transform .2s; opacity: .7; }
.nav-item[aria-expanded="true"] .chev { transform: rotate(180deg); }
.bar-end { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }

.mega { position: absolute; left: 0; right: 0; top: var(--header); background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.mega[hidden] { display: none; }
.mega-inner { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: var(--s-7); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s-7) var(--gutter) var(--s-7); }
.mega-lead { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); padding-right: var(--s-7); border-right: 1px solid var(--line); }
.mega-title { font: 800 1.9rem/1.02 var(--f-display); letter-spacing: -0.04em; }
.mega-text { color: var(--ink-3); font-size: 15px; margin-bottom: var(--s-2); }
.mega-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-6); }
.mega-group { display: flex; flex-direction: column; gap: 4px; }
.mega-group .eyebrow { margin-bottom: var(--s-2); }
.mega-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px; margin: 0 -10px; border-radius: var(--r-2); text-decoration: none; }
.mega-item:hover { background: var(--paper-2); }
.mega-item:hover .mega-icon { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.mega-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-2); color: var(--ink); transition: .15s; }
.mega-copy { display: flex; flex-direction: column; gap: 2px; }
.mega-copy b { font-weight: 600; font-size: 15.5px; }
.mega-copy small { color: var(--ink-3); font-size: 13.5px; }

.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 10px; border-radius: var(--r-1); cursor: pointer; font: 500 13px/1 var(--f-mono); letter-spacing: .08em; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { background: var(--paper-2); }
.lang-menu ul { position: absolute; right: 0; top: 46px; min-width: 170px; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--shadow); }
.lang-menu a { display: block; padding: 8px 12px; border-radius: var(--r-1); text-decoration: none; font-size: 15px; }
.lang-menu a:hover { background: var(--paper-2); }
.lang-menu a[aria-current="true"] { font-weight: 600; box-shadow: inset 2px 0 0 var(--accent); }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--r-1); background: none; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { background: var(--paper-2); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--r-1); background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger i { display: block; width: 18px; height: 1.6px; background: var(--ink); transition: transform .2s; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.8px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.8px) rotate(-45deg); }
.sheet { position: fixed; inset: var(--header) 0 0; z-index: 49; overflow-y: auto; overscroll-behavior: contain; padding: var(--s-5) var(--gutter) var(--s-8); background: var(--paper); border-top: 1px solid var(--line); }
@media (min-width: 1181px) { .sheet { display: none; } }
.sheet[hidden] { display: none; }
.sheet .eyebrow { margin: var(--s-5) 0 var(--s-2); }
.sheet a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 1.25rem/1.2 var(--f-display); letter-spacing: -0.02em; }

/* ── bands ────────────────────────────────────────────────────────────────────────────────────────── */
.ink {
  --paper: var(--night); --paper-2: var(--night-2); --surface: var(--night-2);
  --ink: var(--night-ink); --ink-2: var(--night-ink-2); --ink-3: var(--night-ink-3);
  --line: var(--night-line); --line-2: #3a3a41;
  --accent-ink: #120a05; --accent: #ff6a1a; --accent-strong: #ff7f3a;
  background: var(--paper); color: var(--ink);
}
.paper-2 { background: var(--paper-2); }
.grid-bg {
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}

/* ── hero ─────────────────────────────────────────────────────────────────────────────────────────── */
.hero { padding: var(--s-9) 0 0; overflow: hidden; }
.hero .wrap { position: relative; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--s-7); align-items: end; }
.hero-top .lead { margin-top: var(--s-5); }
.hero-aside { display: flex; flex-direction: column; gap: var(--s-5); padding-bottom: 10px; }
.tag { display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 5px 14px 5px 6px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--ink-2); margin-bottom: var(--s-5); text-decoration: none; }
.tag b { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 11.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.hero-shot { margin-top: var(--s-8); position: relative; }
.hero-shot .shot { border-radius: var(--r-3) var(--r-3) 0 0; border-bottom: 0; box-shadow: var(--shadow-lg); }
.hero-note { font-size: 14px; color: var(--ink-3); }

.page-hero { padding: var(--s-9) 0 var(--s-8); border-bottom: 1px solid var(--line); }
.page-hero.compact { padding: var(--s-8) 0 var(--s-6); }
.page-hero .eyebrow { margin-bottom: var(--s-4); }
.page-hero .lead { margin-top: var(--s-5); }
.page-hero .btn-row { margin-top: var(--s-6); }
.page-hero.ink { border-bottom: 0; }
.page-hero.with-shot { padding-bottom: 0; }
.page-hero.with-shot .hero-top .eyebrow { margin-bottom: var(--s-4); }
.page-hero.with-shot .hero-aside .lead { margin-top: 0; }
.page-hero.with-shot .hero-aside .btn-row { margin-top: 0; }
.split-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }

/* ── screenshots ──────────────────────────────────────────────────────────────────────────────────── */
.shot { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-2); background: var(--surface); box-shadow: var(--shadow); }
.shot img, .shot video { width: 100%; height: auto; }
.shot-bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.shot figcaption { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); background: var(--surface); }
.shot.plain { box-shadow: none; }
.bleed-right { margin-right: calc(-1 * var(--gutter)); }

/* ── grids & blocks ───────────────────────────────────────────────────────────────────────────────── */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: end; margin-bottom: var(--s-8); }
.section-head.stack { grid-template-columns: 1fr; gap: var(--s-4); max-width: 54rem; }
.section-head .eyebrow { margin-bottom: var(--s-4); }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip > :first-child { order: 2; }
.split + .split { margin-top: var(--s-10); }
.split-copy { display: flex; flex-direction: column; gap: var(--s-4); }
.split-copy .h2, .split-copy .h3 { margin-bottom: var(--s-2); }
.split-copy p { color: var(--ink-2); }

.ticks { list-style: none; display: grid; gap: 10px; margin-top: var(--s-2); }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--accent); }
.ticks b, .ticks strong { color: var(--ink); font-weight: 600; }

/* The numbered cell: a hairline, a mono index, a heading and text. Bold by its rules, not by its colour. */
.cell { padding-top: var(--s-5); border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: var(--s-3); }
.cell .eyebrow { color: var(--ink-3); }
.cell h3 { font-size: 1.45rem; letter-spacing: -0.03em; }
.cell p { color: var(--ink-2); font-size: 16px; }
.cell .link-arrow { margin-top: auto; padding-top: var(--s-2); }

.card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); text-decoration: none; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--ink); }
.card .i { color: var(--accent); }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .link-arrow { margin-top: auto; }

.tile { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); text-decoration: none; transition: border-color .15s; }
a.tile:hover { border-color: var(--ink); }
a.tile:hover .tile-img img { transform: scale(1.025); }
.tile-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile-img picture { display: contents; }
.tile-body { display: flex; flex-direction: column; gap: 8px; padding: var(--s-5); flex: 1; }
.tile-body h3 { font-size: 1.3rem; }
.tile-body p { color: var(--ink-2); font-size: 15.5px; }
.tile-body .link-arrow { margin-top: auto; padding-top: var(--s-2); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: var(--s-6) var(--s-5) var(--s-6) 0; }
.stat + .stat { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.stat .num { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; }
.stat p { margin-top: var(--s-3); font-size: 15px; color: var(--ink-3); max-width: 18rem; }

.statement { font: 800 clamp(2rem, 4.6vw, 4rem)/1.02 var(--f-display); letter-spacing: -0.045em; max-width: 22ch; }
.statement .dim { color: var(--ink-3); }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; color: var(--ink-2); background: var(--surface); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.logo-row { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); align-items: center; color: var(--ink-3); font: 500 14px var(--f-mono); letter-spacing: .04em; }

.callout { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-5); align-items: center; padding: var(--s-6); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-2); background: var(--surface); }
.callout p { color: var(--ink-2); }

/* ── code ─────────────────────────────────────────────────────────────────────────────────────────── */
.code { margin: 0; padding: var(--s-5); overflow-x: auto; border-radius: var(--r-2); background: var(--night); color: #e8e6e1; border: 1px solid var(--night-line); font: 13.5px/1.65 var(--f-mono); }
.code .c { color: #8a8990; }
.code .k { color: #ff9b5e; }
.code .s { color: #b7d99c; }

/* ── pricing ──────────────────────────────────────────────────────────────────────────────────────── */
.billing { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.billing button { height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 600 14.5px var(--f-body); cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-7); }
.plan { position: relative; display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-3); background: var(--surface); }
.plan.featured { border: 2px solid var(--ink); }
.plan .flag { position: absolute; top: -13px; left: var(--s-6); height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 11.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.plan h3 { font-size: 1.5rem; }
.plan .for { color: var(--ink-3); font-size: 15px; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price .num { font-size: 3.6rem; line-height: 1; }
.price .per { color: var(--ink-3); font-size: 15px; }
.price-note { font-size: 14px; color: var(--ink-3); min-height: 2.6em; }
.plan .ticks { margin: var(--s-2) 0 var(--s-4); font-size: 15.5px; }
.plan .btn { margin-top: auto; justify-content: center; }
[data-price][hidden] { display: none !important; }

.module-table { width: 100%; border-collapse: collapse; }
.module-table th, .module-table td { padding: 18px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.module-table th { font: 500 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.module-table td:first-child { width: 34%; }
.module-table td b { font: 700 1.15rem var(--f-display); letter-spacing: -0.02em; }
.module-table td small { display: block; color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.module-table .price-cell { font: 800 1.6rem var(--f-display); letter-spacing: -0.03em; white-space: nowrap; text-align: right; }
.module-table tr.bundle td { background: var(--accent-soft); }
.module-table a { text-decoration: none; }

.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font: 700 1.05rem var(--f-display); }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare .y { color: var(--ok); font-weight: 700; }
.compare .n { color: var(--ink-3); }
.table-scroll { overflow-x: auto; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: var(--s-5); padding: var(--s-5) 0; cursor: pointer; font: 700 1.2rem/1.3 var(--f-display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--f-body); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 var(--s-5); color: var(--ink-2); max-width: 52rem; display: grid; gap: var(--s-3); }

/* ── download ─────────────────────────────────────────────────────────────────────────────────────── */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.platform { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-3); background: var(--surface); }
.platform.ready { border: 2px solid var(--ink); }
.platform h3 { font-size: 1.6rem; }
.platform p { color: var(--ink-3); font-size: 15px; }
.platform .btn { margin-top: auto; justify-content: center; }
.status-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.status-pill.ok { color: var(--ok); border-color: currentColor; }
.status-pill.ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ── help ─────────────────────────────────────────────────────────────────────────────────────────── */
.help-search { display: block; margin-top: var(--s-6); max-width: 560px; }
.help-search input { width: 100%; height: 56px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: var(--r-2); background: var(--surface); color: var(--ink); font: 400 17px var(--f-body); }
.help-search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.help-group h2 { margin-bottom: var(--s-5); }
.help-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: var(--s-4); }
.help-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); text-decoration: none; transition: border-color .15s; }
.help-card:hover { border-color: var(--ink); }
.help-card[hidden] { display: none; }
.help-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.help-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.help-thumb img.cropped { height: auto; max-width: none; object-fit: fill; }
.help-card-body { display: flex; flex-direction: column; gap: 6px; padding: var(--s-4) var(--s-5) var(--s-5); }
.help-card-body b { font: 700 1.12rem/1.25 var(--f-display); letter-spacing: -0.02em; }
.help-card-body small { color: var(--ink-3); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.help-cards.compact .help-thumb { display: none; }
.crumbs { display: flex; gap: 10px; margin-bottom: var(--s-4); font: 500 13px var(--f-mono); letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.help-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-5); }
/* Tool icons: the application's own, drawn on a 24-unit grid with the rail's stroke. */
.tool-i { flex: none; width: 20px; height: 20px; color: var(--ink); }
.tool-icons { display: inline-flex; gap: 6px; align-items: center; }
.help-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.help-card-meta .tool-i { width: 22px; height: 22px; color: var(--accent); }
.help-meta .chip .tool-i { width: 18px; height: 18px; color: var(--accent); }
.help-meta .chip .tool-icons + span { margin-left: 2px; }
/* The catalogue at the end of the help centre. */
.help-features .lead { margin-bottom: var(--s-6); }
.feature-group { margin-top: var(--s-7); }
.feature-group[hidden] { display: none; }
.feature-group h3 { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s-3); }
.chip-module { height: 24px; font-size: 12.5px; text-decoration: none; border-color: var(--accent); color: var(--accent-strong); background: var(--accent-soft); }
.feature-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.feature-table th, .feature-table td { padding: 12px 12px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.feature-table thead th { font: 500 12px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.feature-table tbody th { width: 30%; font-weight: 400; }
.feature-table td:last-child { width: 22%; color: var(--ink-2); }
.feature-table td:last-child small { color: var(--ink-3); font-size: 13px; }
.feature-table tbody td:nth-child(2) { color: var(--ink-2); }
.feature-table tr[hidden] { display: none; }
.ft-name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ft-name .tool-i { width: 24px; height: 24px; padding: 6px; box-sizing: content-box; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); }
.ft-name b { font-weight: 600; }
.ft-name a { color: var(--ink); text-decoration-color: var(--accent); }
.ft-name kbd { font: 500 12px var(--f-mono); color: var(--ink-3); }
.feature-new th .tool-i { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.help-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.help-aside { position: sticky; top: calc(var(--header) + 24px); display: flex; flex-direction: column; gap: var(--s-3); }
.help-aside nav { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.help-aside nav a { padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; font-size: 15px; color: var(--ink-2); }
.help-aside nav a:hover { color: var(--ink); }
.help-aside nav a[aria-current="page"] { border-left-color: var(--accent); color: var(--ink); font-weight: 600; }
.steps { list-style: none; display: grid; gap: var(--s-8); }
.step { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: var(--s-4); }
.step-n { font: 800 2.8rem/1 var(--f-display); letter-spacing: -0.05em; color: var(--accent); }
.step-copy { display: flex; flex-direction: column; gap: var(--s-4); }
.step-copy > p { font-size: 1.15rem; line-height: 1.55; padding-top: 6px; max-width: 46rem; }
.tips { margin-top: var(--s-8); padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); }
.tips ul { list-style: none; display: grid; gap: 10px; margin-top: var(--s-4); }
.tips li { position: relative; padding-left: 24px; color: var(--ink-2); }
.tips li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--accent); }
.related { margin-top: var(--s-7); }
.related h2 { margin-bottom: var(--s-4); }
.recorded { margin-top: var(--s-7); font-size: 14px; }

/* ── closing band ─────────────────────────────────────────────────────────────────────────────────── */
.closer { text-align: left; }
.closer .display-2 { max-width: 16ch; }
.closer .btn-row { margin-top: var(--s-6); }
.closer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-8); align-items: end; }
.closer-grid .lead { margin-bottom: var(--s-5); }

/* ── footer ───────────────────────────────────────────────────────────────────────────────────────── */
.site-footer {
  --paper: var(--night); --paper-2: var(--night-2); --surface: var(--night-2);
  --ink: var(--night-ink); --ink-2: var(--night-ink-2); --ink-3: var(--night-ink-3); --line: var(--night-line);
  --accent: #ff6a1a; --accent-strong: #ff7f3a; --accent-ink: #120a05;
  background: var(--paper); color: var(--ink); padding: var(--s-9) 0 var(--s-6);
}
.footer-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: var(--s-6); padding-bottom: var(--s-8); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); }
.footer-brand p { color: var(--ink-3); font-size: 15px; max-width: 26rem; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .eyebrow { margin-bottom: 6px; }
.footer-col a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.footer-col a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; gap: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }

/* ── reveal ───────────────────────────────────────────────────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ── narrow windows ───────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav, .lang-menu, .cta-desktop { display: none; }
  .burger { display: inline-flex; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  section { padding: var(--s-9) 0; }
  .hero-top, .split, .split.flip, .split-hero, .section-head, .closer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .split.flip > :first-child { order: 0; }
  .cols-3, .cols-4, .plans, .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .help-layout { grid-template-columns: 1fr; }
  .help-aside { position: static; display: none; }
  .callout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: var(--s-8) 0; }
  section.tight { padding: var(--s-7) 0; }
  .cols-2, .cols-3, .cols-4, .plans, .platforms { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: var(--s-5) 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-base { flex-direction: column; }
  .step { grid-template-columns: 1fr; gap: var(--s-2); }
  .step-n { font-size: 2rem; }
  .btn-lg { height: 54px; padding: 0 22px; }
  .bleed-right { margin-right: 0; }
  .module-table td:first-child { width: auto; }
  .module-table thead { display: none; }
  .module-table tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
  .module-table td { border: 0; padding: 12px 0; }
  .module-table td.desc { grid-column: 1 / -1; padding-top: 0; }
  .feature-table thead { display: none; }
  .feature-table tr { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .feature-table th, .feature-table td, .feature-table tbody th, .feature-table td:last-child { width: auto; padding: 0; border: 0; }
  .feature-table td:last-child { font-size: 13.5px; }
}

/* ── legal pages ──────────────────────────────────────────────────────────────────────────────────── */
.legal-head { display: flex; flex-direction: column; gap: var(--s-4); }
.legal-body { display: flex; flex-direction: column; gap: var(--s-4); max-width: 46rem; }
.legal-body h3 { margin-top: var(--s-4); }
.legal-body ul { padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-2); }
.legal-body p { color: var(--ink-2); }
.legal .cols-2 { margin-bottom: var(--s-4); }
.small { font-size: 15px; color: var(--ink-3); }
.tiny { font-size: 13.5px; color: var(--ink-3); }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ── support ──────────────────────────────────────────────────────────────────────────────────────── */
.support-block { display: flex; flex-direction: column; gap: var(--s-4); }
.lead-sm { color: var(--ink-2); max-width: 44rem; }
.support-aside { margin-top: var(--s-6); color: var(--ink-2); }
.support-form { display: flex; flex-direction: column; gap: var(--s-4); margin-top: var(--s-2); }
.support-form.inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-2); min-height: 180px; padding: var(--s-6); border: 1.5px dashed var(--line-2); border-radius: var(--r-2); background: var(--surface); color: var(--ink-2); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.is-over, .drop:focus-within { border-color: var(--accent); background: var(--accent-soft); }
.drop .i { color: var(--accent); }
.drop-title { font-weight: 600; color: var(--ink); }
.drop-name { font: 500 13px var(--f-mono); color: var(--ink-3); overflow-wrap: anywhere; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 6px; font: 500 12px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.field.grow { flex: 1 1 18rem; }
.field input { height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-2); background: var(--surface); color: var(--ink); font: 400 16px var(--f-body); letter-spacing: 0; text-transform: none; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.support-form .btn { height: 50px; }
.support-result { flex-basis: 100%; min-height: 1.6em; color: var(--ink-2); overflow-wrap: anywhere; }
.support-result:empty { display: none; }
.support-result[data-tone="ok"] { padding: var(--s-4); border-left: 3px solid var(--ok); background: var(--surface); }
.support-result[data-tone="warn"] { padding: var(--s-4); border-left: 3px solid var(--accent); background: var(--surface); }
.support-result code { font: 500 13px var(--f-mono); user-select: all; }
.report-reply { display: block; margin-top: var(--s-2); color: var(--ink); }
.report-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.report-rows li { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; gap: var(--s-4); align-items: baseline; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.report-rows strong { font: 600 14px var(--f-mono); }
.report-state { color: var(--ink-2); }
.linkish { border: 0; padding: 0; background: none; color: var(--ink-3); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.linkish:hover { color: var(--ink); }
@media (max-width: 640px) { .report-rows li { grid-template-columns: 1fr auto; } .report-state { grid-column: 1 / -1; grid-row: 2; } }

/* ── feature inventory ────────────────────────────────────────────────────────────────────────────── */
.feature-nav a { text-decoration: none; }
.feature-nav a:hover { border-color: var(--ink); color: var(--ink); }
.feature-block { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-7); }
.feature-block .ticks { margin: 0; }
@media (max-width: 960px) { .feature-block { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ── long words ───────────────────────────────────────────────────────────────────────────────────── */
/* German and Dutch compounds are wider than a phone: grid tracks may shrink below them, headings break. */
.split > *, .split-hero > *, .hero-top > *, .section-head > *, .closer-grid > *, .cols-2 > *, .cols-3 > *, .cols-4 > *, .help-layout > * { min-width: 0; }
h1, h2, h3, h4, .statement, .mega-title { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 640px) {
  .btn { white-space: normal; height: auto; min-height: 50px; padding-block: 12px; text-align: center; line-height: 1.25; }
  .btn-sm { min-height: 40px; }
}
