/* VOID STD — voidstd.io
   Mobile-first. One grid unit = 8px. Colours from the brand palette only;
   signal red is reserved for the dot. */

@font-face { font-family: "Barlow Condensed"; src: url("/fonts/BarlowCondensed-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/BarlowCondensed-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/BarlowCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ── tokens ─────────────────────────────────────────────── */
:root {
  --void: #0B0B0B;
  --graphite: #2A2926;
  --beton: #8F8C85;
  --paper: #F2F1ED;
  --signal: #E2231A;

  --bg: var(--paper);
  --ink: var(--void);
  --muted: #5B5852;
  --line: rgba(11, 11, 11, .16);
  --surface: #E7E5DF;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gutter: 20px;
  --max: 1200px;
  --header-h: 68px;
  --radius-icon: 22.5%;
  color-scheme: light;
}
/* Light is the default; dark only when the visitor picks it with the toggle. */
:root[data-theme="dark"] {
  --bg: var(--void);
  --ink: var(--paper);
  --muted: #A8A59E;
  --line: rgba(242, 241, 237, .16);
  --surface: #161513;
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 40px; --header-h: 84px; } }

/* ── base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: .95; letter-spacing: .005em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 8px; }

/* ── header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
@media (min-width: 720px) { .brand { gap: 16px; } }
.brand svg.symbol { width: 34px; height: 34px; }
@media (min-width: 720px) { .brand svg.symbol { width: 44px; height: 44px; } }
.brand .wordmark { font-family: var(--display); font-size: 31px; line-height: 1; letter-spacing: .04em; }
@media (min-width: 720px) { .brand .wordmark { font-size: 40px; } }
.brand .wordmark b { font-weight: 700; }
.brand .wordmark span { font-weight: 300; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.nav a:hover { text-decoration: underline; }
.nav a.cta { background: var(--ink); color: var(--bg); padding: 0 14px; margin-left: 6px; }
.nav a.cta:hover { text-decoration: none; opacity: .86; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: 2px;
  border: 0; background: none; cursor: pointer; border-radius: 0;
}
.theme-toggle svg { width: 20px; height: 20px; }
.nav a.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-btn { display: none; width: 44px; height: 44px; margin-left: 4px; border: 0; background: none; cursor: pointer; place-items: center; }
.menu-btn svg { width: 24px; height: 24px; }
/* phone menu: full-screen overlay */
.mobile-menu { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu[hidden] { display: none; }
.mm-bar { flex: none; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mm-close { width: 48px; height: 48px; margin-right: -10px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; }
.mm-close svg { width: 26px; height: 26px; }
.mm-links { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 24px; padding-bottom: 24px; }
.mm-links a { display: flex; align-items: center; min-height: 88px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: clamp(56px, 17vw, 88px); line-height: 1; }
.mm-links a:first-child { border-top: 1px solid var(--ink); }
.mm-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: .12em; }
.mm-foot { flex: none; padding-top: 8px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.mm-theme { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0; border: 0; border-top: 1px solid var(--line); background: none; cursor: pointer; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.mm-theme svg { width: 22px; height: 22px; }
body.menu-open { overflow: hidden; }
@media (max-width: 599px) {
  .nav a.nav-link, .nav .nav-theme { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (min-width: 600px) { .mobile-menu { display: none; } }

/* ── hero ───────────────────────────────────────────────── */
.hero { position: relative; border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; display: grid; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.hero-grid { /* the 3×3 construction grid of the symbol, drawn across the hero */
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 3) calc(100% / 3);
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  opacity: .7;
}
.hero-kicker { margin: 0 0 20px; }
.hero h1 { font-size: clamp(64px, 17vw, 184px); line-height: .86; letter-spacing: -.005em; }
.hero h1 .light { font-weight: 300; display: block; }
.hero-lede { max-width: 34ch; margin: 28px 0 0; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (min-width: 900px) {
  .hero .wrap { padding-top: 120px; padding-bottom: 104px; }
  .hero h1 { font-size: clamp(96px, 12vw, 200px); }
}

/* ── buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 1px solid var(--ink);
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; background: none; transition: background .15s, color .15s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid:hover { opacity: .86; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── section heads ──────────────────────────────────────── */
.section { padding: 64px 0; }
@media (min-width: 720px) { .section { padding: 96px 0; } }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); margin-bottom: 0; }
.section-head h2, .section-head .section-title { font-size: clamp(64px, 16vw, 168px); line-height: .86; padding-bottom: .16em; }
.section-head .count { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--muted); }

/* ── app catalogue (home) ───────────────────────────────── */
.catalogue { list-style: none; margin: 0; padding: 0; }
.catalogue li { border-bottom: 1px solid var(--line); }
.app-row {
  display: grid; grid-template-columns: 80px 1fr 24px; align-items: center; gap: 18px;
  padding: 20px 0; text-decoration: none; position: relative;
}
.app-row .idx { display: none; }
.app-row img { width: 80px; height: 80px; border-radius: var(--radius-icon); }
.app-row .name { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: .95; }
.app-row .sub { display: block; margin-top: 6px; font-size: 16px; color: var(--muted); line-height: 1.3; }
.app-row .go { width: 22px; height: 22px; transition: transform .2s; }
.app-row:hover .go, .app-row:focus-visible .go { transform: translateX(4px); }
.app-row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--surface); opacity: 0; transition: opacity .15s; z-index: -1; }
.app-row:hover::before { opacity: 1; }
.catalogue { position: relative; z-index: 0; }
@media (min-width: 720px) {
  .app-row { grid-template-columns: 56px 128px 1fr 28px; gap: 32px; padding: 28px 0; }
  .app-row .idx { display: block; font-family: var(--mono); font-size: 13px; color: var(--muted); }
  .app-row img { width: 128px; height: 128px; }
  .app-row .name { font-size: clamp(56px, 6vw, 80px); }
  .app-row .sub { margin-top: 10px; font-size: 20px; }
}

/* ── manifesto strip ────────────────────────────────────── */
.statement { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement .wrap { display: grid; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.statement p { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(30px, 6vw, 52px); line-height: 1.05; max-width: 22ch; }
.statement p b { font-weight: 700; }
@media (min-width: 900px) { .statement .wrap { grid-template-columns: 1fr 2fr; align-items: end; } }

/* ── contact (always the inverse of the page) ───────────── */
.contact { background: var(--ink); color: var(--bg); }
.contact ::selection { background: var(--bg); color: var(--ink); }
.contact .wrap { display: grid; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.contact-head, .contact .form, .contact-direct { width: 100%; max-width: 760px; }
.contact h2 { font-size: clamp(64px, 16vw, 168px); line-height: .86; }
.contact-intro { margin: 24px 0 0; max-width: 40ch; font-size: 19px; opacity: .78; }

/* under the form: email line, then the social links as one row */
.contact-direct { display: grid; gap: 32px; padding-top: 40px; border-top: 1px solid color-mix(in srgb, var(--bg) 24%, transparent); }
.contact-direct .label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .64; }
.contact-email { display: grid; gap: 6px; }
.contact-email a, .contact-social .value { font-family: var(--display); font-weight: 500; font-size: clamp(17px, 4.4vw, 24px); line-height: 1.1; overflow-wrap: anywhere; }
@media (min-width: 560px) { .contact-social { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; } }
.contact-email a { justify-self: start; text-decoration: none; }
.contact-email a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.contact-social { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; }
.contact-social a { display: grid; gap: 6px; min-height: 44px; padding-top: 14px; border-top: 1px solid currentColor; text-decoration: none; }
.contact-social a:hover .value { text-decoration: underline; text-decoration-thickness: 2px; }

.form { display: grid; gap: 20px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 0;
  background: transparent; border: 1px solid var(--line);
  font-size: 17px; outline: none; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 168px; resize: vertical; line-height: 1.5; }
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: var(--ink); background: var(--bg); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.contact .field input, .contact .field select, .contact .field textarea { border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
.contact .field input:focus, .contact .field select:focus, .contact .field textarea:focus { border-color: var(--bg); box-shadow: inset 0 0 0 1px var(--bg); }
.field input::placeholder, .field textarea::placeholder { color: inherit; opacity: .42; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.counter { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; opacity: .6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send {
  min-height: 60px; border: 0; background: var(--bg); color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
  font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.send:disabled { opacity: .35; cursor: not-allowed; }
.send svg { width: 20px; height: 20px; transition: transform .15s; }
.send:not(:disabled):hover svg { transform: translateX(4px); }
.form-status { min-height: 1.5em; margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .02em; }
.form-status.ok::before { content: ""; display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: var(--signal); margin-right: .6em; vertical-align: .05em; }
.form-status.err { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.form.sent .fields { display: none; }
.sent-note { display: none; }
.form.sent .sent-note { display: block; }
.sent-note h3 { font-size: clamp(40px, 9vw, 64px); margin-bottom: 16px; }
@media (min-width: 960px) {
  .contact .wrap { gap: 64px; padding-top: 120px; padding-bottom: 120px; }
  .contact-social { gap: 24px; }
}

/* ── footer ─────────────────────────────────────────────── */
.site-footer { padding: 48px 0 32px; }
.footer-top { display: grid; gap: 32px; padding-bottom: 40px; }
.footer-top .tagline { font-family: var(--display); font-size: 32px; font-weight: 300; line-height: 1; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.footer-links a { display: flex; align-items: center; min-height: 44px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--line); }
.footer-links a:hover { text-decoration: underline; }
.footer-wordmark { padding-top: 24px; border-top: 1px solid var(--ink); }
.footer-wordmark svg { width: 100%; height: auto; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 20px; }
@media (min-width: 720px) {
  .footer-top { grid-template-columns: 1fr 1fr; align-items: end; }
  .footer-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── app page ───────────────────────────────────────────── */
.crumbs { display: flex; gap: 8px; padding-top: 24px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.app-head { display: grid; gap: 28px; padding-top: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.app-head .icon { width: 104px; height: 104px; border-radius: var(--radius-icon); box-shadow: 0 0 0 1px var(--line); }
.app-head h1 { font-size: clamp(56px, 14vw, 128px); line-height: .86; }
.app-head .subtitle { margin: 12px 0 0; font-family: var(--display); font-weight: 300; font-size: clamp(26px, 5vw, 40px); line-height: 1.05; }
.app-head .desc { margin: 24px 0 0; font-size: 19px; max-width: 46ch; }
.app-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 15px; }
.soon { display: inline-flex; align-items: center; min-height: 52px; padding: 0 18px; border: 1px dashed var(--ink); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 900px) {
  .app-head { grid-template-columns: 160px 1fr; gap: 48px; padding-top: 56px; padding-bottom: 80px; }
  .app-head .icon { width: 160px; height: 160px; }
}

/* gallery */
.gallery-section { padding: 48px 0 0; }
.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.gallery-nav { display: none; gap: 8px; }
.gallery-nav button { width: 48px; height: 48px; border: 1px solid var(--ink); background: none; cursor: pointer; display: grid; place-items: center; }
.gallery-nav button:hover { background: var(--ink); color: var(--bg); }
.gallery-nav button:disabled { opacity: .25; cursor: default; background: none; color: inherit; }
.gallery-nav svg { width: 18px; height: 18px; }
@media (hover: hover) and (min-width: 720px) { .gallery-nav { display: flex; } }
/* Full-bleed strip: runs edge to edge of the viewport, first shot aligned with the content column. */
.gallery {
  --edge: max(var(--gutter), calc(50vw - var(--max) / 2 + var(--gutter)));
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(50% - 50vw); padding: 0 var(--edge) 16px; scroll-padding-inline: var(--edge);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent; -webkit-overflow-scrolling: touch;
}
.gallery::after { content: ""; flex: 0 0 1px; } /* keeps the right padding when scrolled to the end */
.gallery button { flex: none; padding: 0; border: 0; background: none; cursor: zoom-in; scroll-snap-align: start; }
.gallery img { width: 62vw; max-width: 272px; height: auto; aspect-ratio: var(--ar, 645 / 1398); object-fit: cover; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
@media (min-width: 720px) { .gallery { gap: 20px; } .gallery img { width: 264px; max-width: none; } }
@media (min-width: 1440px) { .gallery img { width: 300px; } }

.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(11, 11, 11, .94); color: var(--paper); }
.lightbox::backdrop { background: rgba(11, 11, 11, .94); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox .lb-top, .lightbox .lb-bottom { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); }
.lightbox img { justify-self: center; align-self: center; max-width: calc(100vw - 2 * var(--gutter)); max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 16px; }
.lightbox button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(242, 241, 237, .5); background: none; color: inherit; cursor: pointer; }
.lightbox button:hover { background: var(--paper); color: var(--void); }
.lightbox svg { width: 20px; height: 20px; }

/* features */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.features .n { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 4px; }
.features h3 { font-size: 26px; line-height: 1.05; }
.features p { grid-column: 2; margin: 6px 0 0; color: var(--muted); font-size: 16px; }
@media (min-width: 720px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
}
@media (min-width: 1100px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* what's new */
.whatsnew { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.whatsnew summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; cursor: pointer; list-style: none; }
.whatsnew summary::-webkit-details-marker { display: none; }
.whatsnew summary h2 { font-size: clamp(32px, 7vw, 48px); }
.whatsnew summary .plus { width: 28px; height: 28px; flex: none; transition: transform .2s; }
.whatsnew[open] summary .plus { transform: rotate(45deg); }
.whatsnew .notes { padding: 8px 0 32px; max-width: 70ch; white-space: pre-line; color: var(--muted); }
.whatsnew .ver { color: var(--ink); }

/* more apps */
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.more a { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; padding-right: 12px; }
.more img { width: 48px; height: 48px; border-radius: var(--radius-icon); }
.more .name { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; }
.more a:hover .name { text-decoration: underline; }
@media (min-width: 720px) { .more { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .more { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ── legal ──────────────────────────────────────────────── */
.legal { padding-top: 40px; padding-bottom: 80px; }
.legal header { padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--ink); }
.legal h1 { font-size: clamp(52px, 12vw, 104px); margin-top: 12px; }
.legal article { max-width: 70ch; }
.legal h2 { font-size: 30px; margin: 40px 0 12px; line-height: 1.05; }
.legal h3 { font-size: 22px; margin: 28px 0 8px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

/* ── 404 ────────────────────────────────────────────────── */
.void-404 { min-height: 60vh; display: grid; align-content: center; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
.void-404 h1 { font-size: clamp(96px, 30vw, 280px); line-height: .8; }

/* ── blog ───────────────────────────────────────────────── */
.posts { list-style: none; margin: 0; padding: 0; position: relative; z-index: 0; }
.posts li { border-bottom: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 1fr 24px; gap: 8px 16px; align-items: center; padding: 24px 0; text-decoration: none; position: relative; }
.post-row .date { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.post-row .title { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(32px, 8vw, 56px); line-height: .95; }
.post-row .excerpt { display: block; margin-top: 10px; max-width: 60ch; color: var(--muted); font-size: 17px; line-height: 1.45; }
.post-row .go { width: 22px; height: 22px; transition: transform .2s; }
.post-row:hover .go { transform: translateX(4px); }
.post-row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--surface); opacity: 0; transition: opacity .15s; z-index: -1; }
.post-row:hover::before { opacity: 1; }
@media (min-width: 900px) {
  .post-row { grid-template-columns: 200px 1fr 28px; gap: 32px; align-items: start; padding: 32px 0; }
  .post-row .date { grid-column: auto; padding-top: 10px; }
  .post-row .go { align-self: center; }
}
.empty { padding: 48px 0; border-bottom: 1px solid var(--line); }
.empty p:last-child { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 6vw, 44px); line-height: 1.05; max-width: 22ch; }

.post { padding-bottom: 64px; }
.post-head { padding: 32px 0 40px; border-bottom: 1px solid var(--ink); }
.post-head h1 { margin-top: 16px; font-size: clamp(52px, 12vw, 136px); line-height: .88; max-width: 14ch; }
.post-head .lede { margin: 24px 0 0; max-width: 40ch; font-family: var(--display); font-weight: 300; font-size: clamp(24px, 5vw, 34px); line-height: 1.15; }
.post-cover { margin: 40px 0 0; }
.post-cover img { width: 100%; height: auto; background: var(--surface); }

.prose { max-width: 68ch; padding-top: 40px; font-size: 19px; line-height: 1.6; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { margin-top: 2em; font-size: clamp(32px, 6vw, 44px); line-height: 1; }
.prose h3, .prose h4 { margin-top: 1.6em; font-size: 26px; line-height: 1.05; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.prose blockquote p { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 5vw, 36px); line-height: 1.15; }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; height: auto; background: var(--surface); }
.prose figcaption { margin-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.prose code { font-family: var(--mono); font-size: .85em; background: var(--surface); padding: .1em .35em; }
.prose pre { overflow-x: auto; padding: 16px; background: var(--surface); font-size: 14px; line-height: 1.5; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose a { text-decoration-thickness: 1px; }
.prose strong { font-weight: 500; }
