/* Leike website — v2 (2026-11-06)
   Structure after screen.studio: centred hero with the product, "made with" gallery,
   feature chapters (label, big centred heading, one sentence, a stage, three facts),
   privacy in two columns, a feature grid, Mac, price, questions, closing call.
   Style stays Leike's own: app colours (pink → indigo), Funnel Display + Instrument Sans,
   light and dark, no animations or transitions (hover is a direct colour change), no JavaScript. */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --paper: #FBF9FD;
  --surface: #FFFFFF;
  --tint: #F1EEFF;
  --ink: #1B1640;
  --muted: #5B5677;
  --line: #E2DCF2;
  --indigo: #33299E;
  --violet: #6A42F0;
  --pink: #FA5C8C;
  --on-pink: #1B1640;
  --night: #120E2E;
  --on-night: #FFFFFF;
  --on-night-muted: #C7C0EC;
  --silence: #0B7A7A;
  --filler: #B4530A;
  --speaker-1: #2F6FE4;
  --speaker-2: #E8730C;
  --gradient: linear-gradient(135deg, #FA5C8C 0%, #734DFA 52%, #33299E 100%);
  --glass: rgba(255, 255, 255, 0.82);
  --glass-line: rgba(255, 255, 255, 0.7);
  --shadow: 0 24px 60px -30px rgba(27, 22, 64, 0.55);

  --font-display: "Funnel Display", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-data: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 18px;
  --radius-l: 28px;
  --radius-s: 10px;
  --wrap: 1200px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --space: clamp(80px, 11vw, 152px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E0B24; --surface: #151033; --tint: #1D1747; --ink: #F3F0FF; --muted: #B9B2DD;
    --line: #2D2660; --indigo: #ADA2FF; --violet: #B49CFF; --pink: #FF6F9B; --on-pink: #150F33;
    --night: #08061A; --silence: #4FD1C5; --filler: #FFA45C; --speaker-1: #7AA7FF; --speaker-2: #FFA45C;
    --glass: rgba(21, 16, 51, 0.78); --glass-line: rgba(255, 255, 255, 0.14);
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E0B24; --surface: #151033; --tint: #1D1747; --ink: #F3F0FF; --muted: #B9B2DD;
  --line: #2D2660; --indigo: #ADA2FF; --violet: #B49CFF; --pink: #FF6F9B; --on-pink: #150F33;
  --night: #08061A; --silence: #4FD1C5; --filler: #FFA45C; --speaker-1: #7AA7FF; --speaker-2: #FFA45C;
  --glass: rgba(21, 16, 51, 0.78); --glass-line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--violet); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-weight: 800; font-size: clamp(42px, 7vw, 92px); line-height: 1; letter-spacing: -0.03em; }
h2 { font-weight: 800; font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.025em; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.3; }
p { margin: 0; }
.mono { font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 30; }
.icon { font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; font-feature-settings: "liga"; display: inline-block; overflow: hidden; width: 1em; height: 1em; }

/* 3. Header (sticky, glass) ------------------------------------------------ */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.brand span { font: 800 21px/1 var(--font-display); letter-spacing: -0.02em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--tint); color: var(--indigo); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.lang a, .lang span { padding: 6px 11px; font: 600 13px/1 var(--font-body); text-decoration: none; color: var(--muted); }
.lang [aria-current="true"] { background: var(--ink); color: var(--surface); }
.lang a:hover { color: var(--indigo); background: var(--tint); }
.top .button { min-height: 38px; padding: 8px 16px; font-size: 15px; flex: none; }

/* 4. Buttons --------------------------------------------------------------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 26px; border-radius: 999px; font: 600 17px/1.1 var(--font-body); text-decoration: none; border: 2px solid transparent; }
.button--primary { background: var(--pink); color: var(--on-pink); }
.button--primary:hover { background: var(--ink); color: var(--surface); }
.button--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.button--ghost:hover { border-color: var(--indigo); color: var(--indigo); }
.fineprint { font-size: 14px; color: var(--muted); }

/* 5. Hero ------------------------------------------------------------------ */
.hero { background: radial-gradient(120% 70% at 50% 0%, var(--tint) 0%, var(--paper) 55%, var(--surface) 100%); padding-block: clamp(48px, 7vw, 96px) 0; text-align: center; overflow: hidden; }
.hero__text { display: grid; justify-items: center; gap: 24px; max-width: 900px; margin: 0 auto; }
.hero__icon { width: 104px; height: 104px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.badge:hover { border-color: var(--violet); color: var(--indigo); }
.badge__tag { padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--violet); font: 600 13px/1.2 var(--font-body); }
.hero .lede { max-width: 40ch; }
.hero__cta { display: grid; justify-items: center; gap: 12px; }
.hero__stage { margin-top: clamp(48px, 6vw, 80px); }

/* 6. Sections and chapters ------------------------------------------------ */
.band { padding-block: var(--space); }
.band--paper { background: var(--paper); }
.band--tint { background: var(--tint); }
.band--night { background: var(--night); color: var(--on-night); }
.head { display: grid; justify-items: center; gap: 18px; text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 64px); }
.eyebrow { font: 600 15px/1.2 var(--font-body); color: var(--violet); }
.lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.band--night h2, .band--night h3 { color: var(--on-night); }
.band--night .lede { color: var(--on-night-muted); }
.band--night .eyebrow { color: #B49CFF; }

/* The stage: the app's gradient as a surface, with glass cards on it. */
.stage { position: relative; border-radius: var(--radius-l); background: var(--gradient); padding: clamp(16px, 4vw, 56px); overflow: hidden; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 20% 10%, rgba(255, 255, 255, 0.28), transparent 60%), radial-gradient(50% 70% at 90% 100%, rgba(18, 14, 46, 0.35), transparent 70%); }
.glass { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: var(--shadow); }

.facts { list-style: none; margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px clamp(24px, 4vw, 56px); }
.facts li { color: var(--muted); font-size: 16px; min-width: 0; }
.facts b { color: var(--ink); font-weight: 600; }

/* 7. Mac window mock (an illustration of the editor, not a screenshot) ---- */
.mac { max-width: 1080px; margin: 0 auto; text-align: left; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--glass-line); box-shadow: 0 40px 90px -40px rgba(18, 14, 46, 0.75); font-size: 14px; }
.mac__bar { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mac__dots { display: flex; gap: 7px; }
.mac__dots i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.mac__dots i:nth-child(2) { background: #FEBC2E; }
.mac__dots i:nth-child(3) { background: #28C840; }
.mac__title { font-weight: 600; }
.segmented { display: flex; margin: 0 auto; padding: 3px; border-radius: 999px; background: var(--tint); }
.segmented span { padding: 4px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; }
.segmented .on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(27, 22, 64, 0.18); }
.mac__body { display: grid; grid-template-columns: 190px 1fr 230px; min-height: 360px; }
.mac__side { border-right: 1px solid var(--line); padding: 12px 8px; display: grid; align-content: start; gap: 2px; background: var(--paper); }
.mac__side p { padding: 6px 10px; border-radius: 8px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.mac__side p.on { background: var(--tint); color: var(--ink); font-weight: 600; }
.mac__side small { font: 500 12px/1.6 var(--font-data); color: var(--muted); }
.mac__label { font: 600 11px/1.4 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 4px 10px 6px; }
.mac__main { padding: 20px 24px; display: grid; align-content: start; gap: 16px; min-width: 0; }
.turn { display: grid; gap: 4px; }
.turn__who { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; }
.turn__who::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--speaker-1); }
.turn--2 .turn__who::before { background: var(--speaker-2); }
.turn__who .mono { color: var(--muted); font-weight: 400; font-size: 12px; }
.turn p { font-size: 16px; line-height: 1.6; }
.sel { background: color-mix(in srgb, var(--violet) 18%, transparent); border-radius: 3px; }
.playhead-word { background: var(--ink); color: var(--surface); border-radius: 4px; padding: 0 3px; }
.w-filler { color: var(--filler); text-decoration: line-through; text-decoration-thickness: 2px; }
.w-silence { display: inline-block; padding: 0 7px; margin: 0 2px; border-radius: 6px; font: 500 12px/1.8 var(--font-data); color: var(--silence); background: color-mix(in srgb, var(--silence) 14%, transparent); vertical-align: 1px; }
.mac__inspector { border-left: 1px solid var(--line); padding: 14px; display: grid; align-content: start; gap: 10px; background: var(--paper); }
.group { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.group__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.group__name { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.group small { color: var(--muted); font-size: 12px; }
.switch { width: 32px; height: 19px; border-radius: 999px; background: var(--line); position: relative; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.switch.on { background: #34C759; }
.switch.on::after { left: 15px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dot--silence { background: var(--silence); }
.dot--filler { background: var(--filler); }
.dot--manual { background: var(--pink); }
.mac__timeline { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 12px 16px 14px; display: grid; gap: 8px; background: var(--paper); }
.transport { display: flex; align-items: center; gap: 12px; font: 500 13px/1 var(--font-data); color: var(--muted); }
.transport .play { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); position: relative; flex: none; }
.transport .play::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 9px solid var(--surface); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.transport b { color: var(--ink); font-weight: 500; }

/* Timeline to scale: the CC 02 test recording, 16:35 raw, kept 01:03–16:29. */
.track { position: relative; height: 36px; border-radius: 8px; background: color-mix(in srgb, var(--muted) 16%, transparent); overflow: hidden; }
.track__wave { position: absolute; inset: 9px 0; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--muted) 45%, transparent) 0 2px, transparent 2px 5px); opacity: 0.5; }
.track__kept { position: absolute; top: 0; bottom: 0; left: 6.33%; right: 0.58%; background: var(--gradient); }
.track__kept::after { content: ""; position: absolute; inset: 9px 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0 2px, transparent 2px 5px); }
.track__handle { position: absolute; top: -3px; bottom: -3px; width: 4px; border-radius: 2px; background: var(--ink); z-index: 2; }
.track__playhead { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--pink); z-index: 3; left: 21.5%; }

/* 8. Gallery (real exports) ----------------------------------------------- */
.gallery { display: grid; grid-template-columns: 9fr 10fr 16fr 9fr; gap: 16px; align-items: end; }
.gallery figure, .formats figure { margin: 0; display: grid; gap: 10px; min-width: 0; }
.gallery img, .formats img { border-radius: var(--radius-s); width: 100%; box-shadow: var(--shadow); }
figcaption { font: 500 13px/1.3 var(--font-data); color: var(--muted); }
.stage figcaption { color: rgba(255, 255, 255, 0.85); }

/* 9. Chapter stages -------------------------------------------------------- */
.trim { display: grid; gap: 14px; padding: clamp(18px, 3vw, 32px); }
.trim .track { height: 64px; border-radius: 12px; }
.trim .track__wave, .trim .track__kept::after { inset: 16px 0; }
.trim__legend { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; font: 500 14px/1.4 var(--font-data); color: var(--muted); }
.trim__legend b { display: block; color: var(--ink); font-size: 22px; font-weight: 500; }
.trim__legend :nth-child(2) { text-align: center; }
.trim__legend :nth-child(3) { text-align: right; }
.approval { display: grid; gap: 14px; padding: clamp(18px, 3vw, 32px); max-width: 760px; margin: 0 auto; }
.approval .turn p { font-size: clamp(17px, 1.8vw, 21px); }

.edit-stage { display: grid; grid-template-columns: 1fr 260px; gap: 16px; align-items: start; }
.edit-stage > * { min-width: 0; }
.edit-stage .glass { padding: clamp(18px, 2.5vw, 28px); display: grid; gap: 14px; }
.edit-stage .turn p { font-size: clamp(17px, 1.8vw, 21px); }
.keys { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); align-items: center; }
kbd { font: 500 13px/1 var(--font-data); padding: 4px 7px; border-radius: 6px; border: 1px solid var(--line); border-bottom-width: 2px; background: var(--surface); color: var(--ink); }

.formats { display: grid; grid-template-columns: 9fr 16fr 10fr; gap: clamp(12px, 2vw, 24px); align-items: end; }

.sound { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sound .glass { padding: 24px; display: grid; gap: 6px; }
.sound .mono { font-size: clamp(34px, 4vw, 52px); line-height: 1; color: var(--ink); }
.sound p { color: var(--muted); }
.meter { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 18%, transparent); overflow: hidden; margin-top: 10px; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--gradient); }

.files { padding: 8px; display: grid; }
.files div { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 10px; }
.files div:nth-child(odd) { background: color-mix(in srgb, var(--tint) 60%, transparent); }
.files .icon { color: var(--violet); }
.files span { overflow-wrap: anywhere; min-width: 0; }
.files small { font: 500 13px/1 var(--font-data); color: var(--muted); }

/* 10. Privacy columns ----------------------------------------------------- */
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.column { border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); display: grid; gap: 16px; align-content: start; }
.column h3 { display: flex; align-items: center; gap: 10px; }
.column ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.column li { color: var(--on-night-muted); }
.column b { color: var(--on-night); font-weight: 600; }
.band--night .fineprint { color: var(--on-night-muted); text-align: center; margin-top: 28px; }
.band--night a { color: var(--on-night); }

/* 11. Feature grid --------------------------------------------------------- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid li { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; min-width: 0; }
.grid .icon { color: var(--violet); font-size: 26px; margin-bottom: 4px; }
.grid b { font-weight: 600; }
.grid span { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* 12. Mac section ---------------------------------------------------------- */
.mac-stage { display: grid; justify-items: center; padding-block: clamp(32px, 6vw, 72px); }
.mac-stage img { width: clamp(140px, 22vw, 240px); filter: drop-shadow(0 30px 40px rgba(18, 14, 46, 0.45)); }
.facts--icons li { display: grid; gap: 8px; }
.facts--icons .icon { color: var(--violet); font-size: 28px; }

/* 13. Price ---------------------------------------------------------------- */
.price { max-width: 520px; margin: 0 auto; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 16px; text-align: center; justify-items: center; }
.price__tag { padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--violet); font-weight: 600; font-size: 14px; }
.price__amount { font: 800 clamp(48px, 6vw, 72px)/1 var(--font-display); letter-spacing: -0.03em; }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.price li::before { content: "✓"; color: var(--violet); font-weight: 700; margin-right: 8px; }

/* 14. Questions ------------------------------------------------------------ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; font: 700 clamp(18px, 1.8vw, 21px)/1.3 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/1 var(--font-body); color: var(--violet); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--indigo); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 66ch; }

/* 15. Closing call --------------------------------------------------------- */
.closing { text-align: center; }
.closing .wrap { display: grid; justify-items: center; gap: 22px; }
.closing img { width: 96px; height: 96px; }

/* 16. Text pages (release notes, privacy, licenses) ----------------------- */
.page-head { background: radial-gradient(120% 90% at 50% 0%, var(--tint) 0%, var(--paper) 60%); padding-block: clamp(48px, 7vw, 88px) 40px; border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: 18px; }
.page-head .meta { font: 500 14px/1.4 var(--font-data); color: var(--muted); }
.label { font: 600 14px/1.4 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.kinds li { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
.release { display: grid; grid-template-columns: 3fr 9fr; gap: 16px clamp(24px, 4vw, 64px); padding-block: 48px; border-top: 1px solid var(--line); }
.release:first-of-type { border-top: 0; }
.release > * { min-width: 0; }
.release:target { background: var(--tint); box-shadow: 0 0 0 100vmax var(--tint); clip-path: inset(0 -100vmax); }
.release__side { display: grid; gap: 8px; align-content: start; }
.release__side h2 { font-size: clamp(30px, 3.6vw, 44px); }
.release__side h2 a { color: inherit; text-decoration: none; }
.release__side h2 a:hover { color: var(--violet); }
.release__date { font: 500 15px/1.3 var(--font-data); color: var(--muted); }
.release__kind { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--indigo); font-size: 14px; font-weight: 600; }
.release__permalink { font: 500 13px/1.3 var(--font-data); color: var(--muted); overflow-wrap: anywhere; }
.release__body { display: grid; gap: 24px; max-width: 68ch; }
.release__body h3 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; color: var(--violet); }
.release__body ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.release__body li::marker { color: var(--violet); }
.release__body ul ul { margin-top: 8px; gap: 4px; }
.doc { display: grid; grid-template-columns: 3fr 9fr; gap: 16px clamp(24px, 4vw, 64px); padding-block: 40px; border-top: 1px solid var(--line); }
.doc:first-child { border-top: 0; }
.doc > * { min-width: 0; }
.doc h2 { font-size: clamp(24px, 2.6vw, 32px); }
.doc__body { display: grid; gap: 16px; max-width: 68ch; }
.doc__body h3 { font-size: 18px; margin-top: 8px; }
.doc__body ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.doc__body li::marker { color: var(--violet); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-s); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: var(--tint); color: var(--indigo); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .mono, td.mono { font-size: 14px; white-space: nowrap; }
/* Kept for the "latest version" card the generator writes on older pages. */
.latest { display: grid; gap: 12px; }
.version-tag { font: 500 15px/1 var(--font-data); color: var(--violet); }

/* 17. Footer --------------------------------------------------------------- */
.footer { background: var(--night); color: var(--on-night-muted); padding-block: 56px 40px; font-size: 15px; }
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h3 { color: var(--on-night); font: 600 14px/1.4 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--on-night); text-decoration: none; }
.footer a:hover { color: var(--pink); }
.footer .brand { color: var(--on-night); margin-bottom: 12px; }
.footer__base { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; font-size: 14px; }

/* 18. Responsive (keep last) ---------------------------------------------- */
@media (max-width: 1099px) {
  .mac__body { grid-template-columns: 1fr 220px; }
  .mac__side { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 899px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .mac__body { grid-template-columns: 1fr; }
  .mac__inspector { display: none; }
  .segmented span:not(.on) { display: none; }
  .facts { grid-template-columns: 1fr; gap: 14px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .edit-stage { grid-template-columns: 1fr; }
  .formats { grid-template-columns: 1fr 1fr; }
  .formats figure:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .sound { grid-template-columns: 1fr; }
  .columns { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .release, .doc { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 559px) {
  body { font-size: 16px; }
  .top .button { display: none; }
  .grid { grid-template-columns: 1fr; }
  .trim__legend { grid-template-columns: 1fr 1fr; }
  .trim__legend :nth-child(2) { display: none; }
}

/* Cookie consent ----------------------------------------------------------- */
.consent { position: fixed; inset: auto 16px 16px auto; z-index: 50; max-width: 440px; padding: 18px 20px 16px; border-radius: var(--radius); background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 15px; line-height: 1.5; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; }
.consent b { font-weight: 600; }
.consent a { color: var(--indigo); }
.consent__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent .button { min-height: 44px; padding: 10px 18px; font-size: 15px; cursor: pointer; }
@media (max-width: 720px) { .consent { inset: auto 16px 16px 16px; max-width: none; } }
