/* Bowerbird site styles.
   Direction: a quiet, paper-toned page with one cobalt accent (the satin bowerbird
   collects blue things). Newsreader (OFL, self-hosted) carries display type; the
   platform sans carries everything else. Elevation is a border OR a shadow, never both. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* neutrals: warm paper, tinted, never pure grey */
  --bg: #F7F5F0;
  --bg-elev: #FFFEFB;
  --bg-sunk: #EFECE5;
  --ink: #1C1B18;
  --ink-2: #4A4740;
  --ink-3: #66625A;
  --line: #E3DFD6;
  --line-2: #CDC8BD;
  --accent: var(--accent-l);
  --on-accent: var(--on-accent-l);
  --accent-wash: color-mix(in srgb, var(--accent) 9%, var(--bg-elev));
  --accent-line: color-mix(in srgb, var(--accent) 32%, var(--bg-elev));
  --shadow: 0 1px 1px rgb(40 32 20 / .04), 0 12px 32px -12px rgb(40 32 20 / .18);
  --shadow-lg: 0 2px 4px rgb(40 32 20 / .04), 0 32px 64px -24px rgb(40 32 20 / .28);
  /* data colours for the eight shelves (used only inside product mockups) */
  --k-img: #D27C2C; --k-vid: #C2456A; --k-aud: #8357CF; --k-doc: #2E78C4;
  --k-zip: #9A7432; --k-app: #2B937A; --k-shot: #50708F; --k-pkg: #7D7266;
  --hl: #F3D36B;
  /* the logo's own palette: sky-to-periwinkle squircle, navy bird, wooden shelves.
     Used for brand moments only (hero stage, shelf rail, app-icon chrome), never for text. */
  --sky: #A8DCF6; --peri: #8E9CF2; --navy: #1F2A86; --wood: #DDAA6E; --wood-2: #B47E46;
  --stage: linear-gradient(160deg, color-mix(in oklab, var(--sky) 30%, var(--bg-elev)), color-mix(in oklab, var(--peri) 24%, var(--bg-elev)));
  --hi: inset 0 1px 0 rgb(255 255 255 / .7);

  /* type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --t-xs: .8125rem;   /* 13 */
  --t-sm: .9375rem;   /* 15 */
  --t-md: 1.0625rem;  /* 17, body */
  --t-lg: 1.25rem;    /* 20, lede */
  --t-h3: 1.5rem;     /* 24 */
  --t-h2: clamp(2rem, 1.35rem + 2.6vw, 3rem);
  --t-h1: clamp(2.6rem, 1.5rem + 4.6vw, 4.75rem);

  /* space: 4px base */
  --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-sm: 8px; --r: 12px; --r-lg: 16px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111319; --bg-elev: #191C24; --bg-sunk: #0C0E13;
    --ink: #EDEBE6; --ink-2: #C4C1B9; --ink-3: #9D9A92;
    --line: #272B35; --line-2: #383D4A;
    --sky: #3E6E93; --peri: #4C58A8; --wood: #B88752; --wood-2: #8A5F33;
    --stage: linear-gradient(160deg, color-mix(in oklab, var(--sky) 22%, var(--bg-sunk)), color-mix(in oklab, var(--peri) 22%, var(--bg-sunk)));
    --hi: inset 0 1px 0 rgb(255 255 255 / .05);
    --accent: var(--accent-d); --on-accent: var(--on-accent-d);
    --accent-wash: color-mix(in srgb, var(--accent) 12%, var(--bg-elev));
    --accent-line: color-mix(in srgb, var(--accent) 40%, var(--bg-elev));
    --shadow: 0 1px 1px rgb(0 0 0 / .3), 0 12px 32px -12px rgb(0 0 0 / .6);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 32px 64px -24px rgb(0 0 0 / .75);
    --k-img: #E6995A; --k-vid: #E07595; --k-aud: #A888E6; --k-doc: #6CA6E6;
    --k-zip: #C29F62; --k-app: #5CC1A3; --k-shot: #8BA4BD; --k-pkg: #A99E90;
    --hl: #6B5713;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111319; --bg-elev: #191C24; --bg-sunk: #0C0E13;
  --ink: #EDEBE6; --ink-2: #C4C1B9; --ink-3: #9D9A92;
  --line: #272B35; --line-2: #383D4A;
  --sky: #3E6E93; --peri: #4C58A8; --wood: #B88752; --wood-2: #8A5F33;
  --stage: linear-gradient(160deg, color-mix(in oklab, var(--sky) 22%, var(--bg-sunk)), color-mix(in oklab, var(--peri) 22%, var(--bg-sunk)));
  --hi: inset 0 1px 0 rgb(255 255 255 / .05);
  --accent: var(--accent-d); --on-accent: var(--on-accent-d);
  --accent-wash: color-mix(in srgb, var(--accent) 12%, var(--bg-elev));
  --accent-line: color-mix(in srgb, var(--accent) 40%, var(--bg-elev));
  --shadow: 0 1px 1px rgb(0 0 0 / .3), 0 12px 32px -12px rgb(0 0 0 / .6);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 32px 64px -24px rgb(0 0 0 / .75);
  --k-img: #E6995A; --k-vid: #E07595; --k-aud: #A888E6; --k-doc: #6CA6E6;
  --k-zip: #C29F62; --k-app: #5CC1A3; --k-shot: #8BA4BD; --k-pkg: #A99E90;
  --hl: #6B5713;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-md)/1.6 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; caret-color: var(--accent);
  scrollbar-color: var(--line-2) var(--bg);
}
::selection { background: color-mix(in srgb, var(--accent) 24%, transparent); color: inherit; }
h1, h2 { font-family: var(--font-display); font-weight: 450; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--t-h1); line-height: 1.02; }
h2 { font-size: var(--t-h2); line-height: 1.08; }
h3 { font-size: var(--t-h3); font-family: var(--font-display); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
kbd {
  display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .4em;
  font: 500 .8em/1 var(--font); color: var(--ink-2);
  background: var(--bg-elev); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px;
}
.muted { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--s-5); }
.wrap.narrow { max-width: 760px; }
@media (max-width: 600px) { .wrap { padding: 0 var(--s-4); } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 20px; border-radius: 10px;
  font: 600 var(--t-sm)/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 1px 2px rgb(20 24 60 / .18), 0 4px 12px -4px color-mix(in srgb, var(--accent) 55%, transparent);
}
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: var(--bg-elev); box-shadow: 0 1px 2px rgb(40 32 20 / .05); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn:focus-visible { outline-offset: 3px; border-radius: 10px; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 1rem; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: var(--t-xs); border-radius: 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 480px) { .cta-row .btn { flex: 1 1 100%; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--s-5); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.01em; }
.logo { display: block; flex: none; width: 32px; height: 32px; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: var(--t-sm); padding: 8px 12px; border-radius: 8px; }
.nav a { transition: color .15s ease, background-color .15s ease; }
.nav a:hover { color: var(--ink); background: var(--bg-sunk); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: transparent; border: 1px solid transparent; color: var(--ink-2); cursor: pointer;
  font: 650 var(--t-xs)/1 var(--font); text-decoration: none; letter-spacing: .04em;
}
.icon-btn:hover { color: var(--ink); background: var(--bg-sunk); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .ti { display: none; }
.theme-btn[data-choice="system"] .ti-system, .theme-btn:not([data-choice]) .ti-system,
.theme-btn[data-choice="light"] .ti-light, .theme-btn[data-choice="dark"] .ti-dark { display: block; }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 1100px) { .nav .nav-extra { display: none; } } /* 7th item: only when there's room; footer keeps the link */
@media (max-width: 360px) { .header-dl { display: none; } }

/* ---------- Sections ---------- */
.section { padding: var(--s-9) 0; }
.band + .section, .section + .band { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.band { background: var(--bg-sunk); }
.section-head { max-width: 680px; margin: 0 auto var(--s-8); text-align: center; }
.section-head p { color: var(--ink-2); font-size: var(--t-lg); line-height: 1.5; margin: var(--s-4) auto 0; max-width: 34em; }
@media (max-width: 700px) {
  .section { padding: var(--s-8) 0; }
  .section-head { margin-bottom: var(--s-6); }
  .section-head p { font-size: 1.125rem; }
}

/* ---------- Hero ---------- */
.hero { padding: var(--s-9) 0 var(--s-8); text-align: center; }
.hero h1 { max-width: 13em; margin: 0 auto; letter-spacing: -0.028em; font-weight: 420; }
.hero .lede { font-size: var(--t-lg); line-height: 1.5; color: var(--ink-2); max-width: 33em; margin: var(--s-5) auto 0; }
.hero .cta-row { justify-content: center; margin-top: var(--s-6); }
.facts { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; color: var(--ink-3); font-size: var(--t-sm); }
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.not-mac { margin: var(--s-4) auto 0; max-width: 30em; font-size: var(--t-sm); color: var(--ink-2); }
.not-mac { margin: var(--s-4) auto 0; }
/* the brand moment: the app window sits on the logo's sky, on a wooden shelf */
.hero-visual {
  position: relative; margin: var(--s-8) auto 0; max-width: 1200px;
  padding: clamp(20px, 4.5vw, 64px) clamp(12px, 4.5vw, 64px) clamp(20px, 3.5vw, 48px);
  border-radius: 28px; isolation: isolate;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background:
    radial-gradient(120% 90% at 18% 0%, color-mix(in srgb, var(--sky) 92%, white) 0%, transparent 60%),
    linear-gradient(160deg, var(--sky), var(--peri));
  opacity: .9;
}
.hero-visual::after {
  content: ""; display: block; height: 12px; margin: 0 calc(-1 * clamp(4px, 2vw, 28px));
  border-radius: 6px; position: relative; z-index: 1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--wood) 70%, white) 0, var(--wood) 35%, var(--wood-2) 100%);
  box-shadow: 0 10px 18px -8px rgb(70 40 10 / .45);
}
.hero-visual > .ui { position: relative; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }
:root[data-theme="dark"] .hero-visual::before { opacity: .55; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-visual::before { opacity: .55; } }
@media (max-width: 700px) {
  .hero { padding-top: var(--s-8); }
  .hero .lede { font-size: 1.125rem; }
  .hero-visual { margin-top: var(--s-7); border-radius: 20px; margin-left: calc(-1 * var(--s-2)); margin-right: calc(-1 * var(--s-2)); }
  .facts { gap: 6px 14px; font-size: var(--t-xs); }
}

/* Hero product video (src/partials/hero-video.html, on when heroVideo.enabled in the config).
   Sits in the same window frame as the mockup; the poster paints first, main.js starts playback. */
.hero-video-stage { position: relative; background: var(--bg-sunk); }
.hero-video video { display: block; width: 100%; height: auto; background: var(--bg-sunk); }
.hero-video-btn {
  position: absolute; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 0; border-radius: 50%; color: var(--ink);
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent); box-shadow: var(--shadow);
}
.hero-video-btn[hidden] { display: none; }
.hero-video-btn svg { width: 45%; height: 45%; fill: currentColor; }
.hero-video-btn .i-pause, .hero-video-btn[data-state="playing"] .i-play { display: none; }
.hero-video-btn[data-state="playing"] .i-pause { display: block; }
/* paused: one large play button in the middle of the poster */
.hero-video-btn[data-state="paused"] { width: 72px; height: 72px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hero-video-btn[data-state="paused"] svg { margin-left: 4px; }
/* playing: a small pause control in the corner (WCAG 2.2.2), fully shown on hover/focus */
.hero-video-btn[data-state="playing"] { width: 36px; height: 36px; right: 12px; bottom: 12px; opacity: .55; }
.hero-video:hover .hero-video-btn, .hero-video-btn:focus-visible { opacity: 1; }
@media (max-width: 560px) {
  .hero-video-btn[data-state="paused"] { width: 56px; height: 56px; }
  .hero-video-btn[data-state="playing"] { width: 32px; height: 32px; right: 8px; bottom: 8px; }
}

/* ---------- Product mockup kit (shared by every visual) ---------- */
.ui {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink); font: 400 13px/1.35 var(--font); text-align: left; overflow: hidden;
}
.ui-lift { border-color: transparent; box-shadow: var(--hi), var(--shadow-lg), 0 0 0 1px var(--line); }
.ui-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.ui-bar .dots { display: flex; gap: 7px; }
.ui-bar { background: color-mix(in srgb, var(--bg-sunk) 45%, var(--bg-elev)); }
.ui-bar .dots i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .14); }
.ui-bar .dots i:nth-child(2) { background: #FEBC2E; } .ui-bar .dots i:nth-child(3) { background: #28C840; }
.ui-bar .nav-arrows { display: inline-flex; gap: 10px; margin-left: 10px; color: var(--ink-3); }
.ui-bar .nav-arrows svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ui-bar .nav-arrows svg + svg { opacity: .45; }
.ui-bar.has-nav .ui-title { margin-right: 98px; }
@media (max-width: 560px) { .ui-bar .nav-arrows { display: none; } .ui-bar.has-nav .ui-title { margin-right: 45px; } }
.ui-bar .ui-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; font-weight: 600; color: var(--ink-3); font-size: 12px; margin-right: 45px; }
.ui-label { font-size: 11px; font-weight: 600; color: var(--ink-3); margin: 0 0 6px; }
.sw { width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--k, var(--ink-3)); }
.k-img { --k: var(--k-img); } .k-vid { --k: var(--k-vid); } .k-aud { --k: var(--k-aud); } .k-doc { --k: var(--k-doc); }
.k-zip { --k: var(--k-zip); } .k-app { --k: var(--k-app); } .k-shot { --k: var(--k-shot); } .k-pkg { --k: var(--k-pkg); }
.chip {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px;
  background: var(--accent-wash); border: 1px solid var(--accent-line); font-size: 12px; white-space: nowrap; color: var(--ink);
}
.chip b { font-weight: 500; color: var(--ink-3); }
.chip-add { background: transparent; border-style: dashed; border-color: var(--line-2); color: var(--ink-3); }
.field {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-elev); font-size: 14px;
}
.field svg { width: 15px; height: 15px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; flex: none; }
.field .q { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.field.is-active { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); min-width: 0; }
.rows li:first-child { border-top: 0; }
.rows .name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rows .meta { margin-left: auto; color: var(--ink-3); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ficon {
  width: 24px; height: 30px; flex: none; position: relative; border-radius: 3px 2px 3px 3px;
  background: linear-gradient(var(--bg-elev), color-mix(in srgb, var(--bg-sunk) 60%, var(--bg-elev)));
  border: 1px solid var(--line-2); box-shadow: 0 1px 2px rgb(40 32 20 / .07);
}
.ficon::before { content: ""; position: absolute; top: -1px; right: -1px; width: 9px; height: 9px; border-bottom-left-radius: 2px;
  background: linear-gradient(225deg, var(--bg-elev) 0 50%, var(--line-2) 50% 100%); }
.ficon::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 4px; height: 6px; border-radius: 2px; background: var(--k, var(--ink-3)); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--k, var(--accent)); }

/* photo stand-ins: simple geometric landscapes */
.photo { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 6px; }
.photo .sky { fill: var(--p-sky, #CFDDEB); } .photo .hill { fill: var(--p-hill, #7FA37A); } .photo .sun { fill: var(--p-sun, #F2C86B); } .photo .near { fill: var(--p-near, #4E7A5A); }
.photo.p2 { --p-sky: #F1D3B8; --p-hill: #C98D6B; --p-sun: #FFF1D0; --p-near: #8C5A44; }
.photo.p3 { --p-sky: #C8D3E6; --p-hill: #6E7FA6; --p-sun: #EEF1F8; --p-near: #3F4B6E; }

/* hero app window */
.app { display: grid; grid-template-columns: 208px minmax(0, 1fr); min-height: 440px; }
.app-side { border-right: 1px solid var(--line); padding: 14px 10px; background: color-mix(in srgb, var(--bg-sunk) 55%, var(--bg-elev)); }
.app-side .sg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--k); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.app-side ul { list-style: none; margin: 0 0 14px; padding: 0; }
.app-side li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 6px; color: var(--ink-2); white-space: nowrap; min-width: 0; }
.app-side li em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.app-side li.on { background: color-mix(in srgb, var(--accent) 14%, var(--bg-elev)); color: var(--ink); font-weight: 600; }
.app-side .ui-label { margin: 0 8px 6px; }
.glyph { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-main { padding: 20px 22px; min-width: 0; display: grid; gap: 20px; align-content: start; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-head .app-title { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.app-head .field { width: 260px; height: 32px; font-size: 13px; color: var(--ink-3); }
.storage .bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; background: var(--bg-sunk); }
.storage .bar i { display: block; height: 100%; background: var(--k); transform-origin: left center; flex: 1 1 0; }
.storage .bar .k-vid { flex-grow: 46; } .storage .bar .k-img { flex-grow: 38; } .storage .bar .k-zip { flex-grow: 14; } .storage .bar .k-aud { flex-grow: 12; }
.storage .bar .k-app { flex-grow: 11; } .storage .bar .k-doc { flex-grow: 9; } .storage .bar .k-pkg { flex-grow: 8; } .storage .bar .k-shot { flex-grow: 4; }
.storage .legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: 12px; color: var(--ink-2); }
.storage .legend span { display: inline-flex; align-items: center; gap: 6px; }
.storage .legend em { font-style: normal; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.storage-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.storage-top strong { font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.storage-top span { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.shelves { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.shelf-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 9px; display: grid; gap: 1px; min-width: 0; position: relative; background: var(--bg-elev); }
.shelf-card .sw { margin-bottom: 8px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--k) 16%, var(--bg-elev)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k) 30%, transparent); }
.shelf-card .sw svg { width: 16px; height: 16px; fill: none; stroke: var(--k); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.shelf-card strong { font-size: 13px; font-weight: 600; }
.shelf-card span { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.recent-row figure { margin: 0; min-width: 0; }
.recent-row figcaption { font-size: 11px; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.doc-thumb { aspect-ratio: 4 / 3; border-radius: 6px; border: 1px solid var(--line); background: var(--bg-elev); padding: 14% 16% 0; display: grid; align-content: start; gap: 5px; }
.doc-thumb::before { content: ""; height: 5px; width: 45%; border-radius: 2px; background: var(--k, var(--k-doc)); margin-bottom: 3px; }
.doc-thumb i { height: 3px; border-radius: 2px; background: var(--line-2); }
.doc-thumb i:nth-child(2n) { width: 70%; }
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app-side { display: none; }
  .recent-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recent-row figure:nth-child(n+4) { display: none; }
}
@media (max-width: 560px) {
  .app-main { padding: 16px 14px; gap: 16px; }
  .app-head .field { display: none; }
  .shelves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelves .shelf-card:nth-child(n+5) { display: none; }
  .storage .legend span:nth-child(n+5) { display: none; }
}

/* the one authored moment: the storage bar fills in, shelf by shelf */
@media (prefers-reduced-motion: no-preference) {
  .storage .bar i { animation: fill .9s var(--ease-out) both; }
  .storage .bar i:nth-child(2) { animation-delay: .06s; } .storage .bar i:nth-child(3) { animation-delay: .12s; }
  .storage .bar i:nth-child(4) { animation-delay: .18s; } .storage .bar i:nth-child(5) { animation-delay: .24s; }
  .storage .bar i:nth-child(6) { animation-delay: .30s; } .storage .bar i:nth-child(7) { animation-delay: .36s; }
  .storage .bar i:nth-child(8) { animation-delay: .42s; }
}
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Search showcase ---------- */
.search-demo { max-width: 760px; margin: 0 auto; }
.search-demo .ui { padding: 18px; }
.understood { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 6px; font-size: 12px; color: var(--ink-3); }
.understood > span:first-child { margin-right: 4px; }
.result-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin: 14px 0 4px; }
.examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--s-5); }
.examples button {
  font: 400 var(--t-sm)/1 var(--font); color: var(--ink-2); cursor: pointer;
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-elev);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.examples button:hover { border-color: var(--ink-3); color: var(--ink); }
.examples button[aria-pressed="true"] { background: var(--accent-wash); border-color: var(--accent); color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); }
.examples-note { text-align: center; color: var(--ink-3); font-size: var(--t-sm); margin-top: var(--s-4); }
.demo-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .demo-panel { animation: swap .25s var(--ease-out); } }
@keyframes swap { from { opacity: 0; transform: translateY(4px); } }

/* ---------- Compare table ---------- */
.compare { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: collapse; font-size: var(--t-sm); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: var(--s-4) var(--s-4) var(--s-4) 0; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-size: var(--t-xs); font-weight: 600; color: var(--ink-3); padding-bottom: var(--s-3); }
.compare tbody th { font-weight: 600; width: 24%; color: var(--ink); }
.compare td { color: var(--ink-2); width: 38%; }
.compare td.us { position: relative; color: var(--ink); background: var(--bg-elev); padding-left: 44px; }
.compare thead th:nth-child(2) { color: var(--accent); padding-left: 44px; background: var(--bg-elev); border-radius: 12px 12px 0 0; padding-top: var(--s-4); }
.compare tbody tr:last-child td.us { border-radius: 0 0 12px 12px; }
.compare thead th:first-child, .compare tbody th { padding-left: 0; }
.compare td.us::before { content: ""; position: absolute; left: 18px; top: calc(var(--s-4) + .3em); width: 15px; height: 15px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.compare td:not(.us) { padding-left: var(--s-5); }

.compare-note { max-width: 900px; margin: var(--s-4) auto 0; font-size: var(--t-xs); color: var(--ink-3); }
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { border-top: 1px solid var(--line); padding: var(--s-4) 0; }
  .compare th, .compare td { border: 0; padding: 2px 0; }
  .compare tbody th { margin-bottom: var(--s-2); width: auto; }
  .compare td { width: auto; }
  .compare td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink-3); }
  .compare td.us { background: none; padding: 2px 0; }
  .compare td.us::before { content: attr(data-label) ": "; position: static; display: inline; width: auto; height: auto; margin: 0; background: none; -webkit-mask: none; mask: none; color: var(--accent); }
  .compare td:not(.us) { padding-left: 0; }
}

/* ---------- Feature blocks ---------- */
.features { display: grid; gap: var(--s-10); }
.feature { display: grid; gap: var(--s-6); }
.feature-text { max-width: 640px; margin: 0 auto; text-align: center; }
.feature-text h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); line-height: 1.15; }
.feature-text > p { color: var(--ink-2); margin: var(--s-4) auto 0; max-width: 34em; }
.keys { display: inline-flex; gap: 4px; align-items: center; margin-top: var(--s-4); font-size: var(--t-sm); color: var(--ink-3); }
.keys span { margin-right: 6px; }
.points { list-style: none; padding: 0; margin: var(--s-6) auto 0; max-width: 900px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2) var(--s-5); text-align: left; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.5; }
.points li { border-top: 1px solid var(--line-2); padding-top: var(--s-3); }

.feature-visual { max-width: 900px; width: 100%; margin: 0 auto; }
@media (max-width: 760px) {
  .features { gap: var(--s-9); }
  .points { grid-template-columns: minmax(0, 1fr); }
  .points li { border-top: 0; padding: 0 0 0 18px; position: relative; }
  .points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
}

/* stage: the neutral surface every feature visual sits on */
.stage { background: var(--stage); border-radius: 20px; padding: clamp(16px, 4vw, 56px); display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent); }
.stage { box-shadow: none; }
.stage > .ui { width: 100%; }

/* shelves visual */
.viz-shelves .ui { max-width: 680px; padding: 18px; }
.shelf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* OCR visual */
.viz-ocr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; width: 100%; max-width: 720px; align-items: center; }
.shot { padding: 0; }
.shot-body { padding: 18px 20px 22px; display: grid; gap: 9px; }
.shot-body i { display: block; height: 7px; border-radius: 3px; background: var(--line-2); }
.shot-body i.w60 { width: 60%; } .shot-body i.w80 { width: 80%; } .shot-body i.w45 { width: 45%; }
.shot-body .hit { height: auto; background: none; font-size: 13px; font-weight: 600; font-style: normal; }
.shot-body .hit mark { background: var(--hl); color: var(--ink); border-radius: 3px; padding: 1px 3px; }
.ocr-side { padding: 16px; display: grid; gap: 10px; }
.ocr-side .copied { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); background: var(--bg-sunk); border-radius: 8px; padding: 10px; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 640px) { .viz-ocr { grid-template-columns: minmax(0, 1fr); } }

/* sources visual */
.viz-sources { width: 100%; max-width: 720px; padding: 18px; }
.src-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.src-grid li { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.src-grid strong { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.src-grid strong::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--k); flex: none; }
.src-grid span { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.browsers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--ink-3); }
.browsers b { font-weight: 500; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
@media (max-width: 640px) { .src-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* duplicates visual */
.viz-dupes { width: 100%; max-width: 720px; padding: 18px; display: grid; gap: 16px; }
.dupe-group header { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin-bottom: 8px; }
.dupe-group header strong { font-weight: 600; font-size: 13px; }
.dupe-group header span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dupe-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dupe-row figure { margin: 0; position: relative; min-width: 0; }
.dupe-row figcaption { font-size: 11px; color: var(--ink-3); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dupe-row .keep .photo { outline: 2px solid var(--accent); outline-offset: 2px; }
.keep-badge { position: absolute; top: 6px; left: 6px; background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; }

/* free-up block */
.free-up { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.free-up h2 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.25rem); line-height: 1; }
.free-up h2 .num { color: var(--accent); }
.free-up-copy > p { color: var(--ink-2); font-size: var(--t-lg); line-height: 1.5; margin-top: var(--s-5); max-width: 28em; }
.free-up-copy .small { font-size: var(--t-sm); color: var(--ink-3); }
.cleanup .ui-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.cleanup .ui-top strong { color: var(--ink); font-size: 14px; font-weight: 650; }
.cleanup .rows { padding: 4px 18px; }
.cleanup .rows li { padding: 11px 0; font-size: 13.5px; }
.cleanup .rows .meta { font-size: 13px; color: var(--ink); font-weight: 500; }
.cleanup .ui-foot { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 18px; border-top: 1px solid var(--line); }
.cleanup .ui-foot span { font-size: 12px; height: 30px; padding: 0 12px; border-radius: 7px; display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.cleanup .ui-foot span.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.example-note { font-size: var(--t-xs); color: var(--ink-3); margin-top: var(--s-3); text-align: right; }
@media (max-width: 860px) { .free-up { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); } }

/* two looks */
.looks-toggle { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg-sunk); border: 1px solid var(--line); margin: 0 auto var(--s-6); }
.looks-toggle button { font: 500 var(--t-sm)/1 var(--font); min-height: 36px; padding: 0 16px; border-radius: 7px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.looks-toggle button[aria-pressed="true"] { background: var(--bg-elev); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 0 0 1px var(--line); }
.looks-center { text-align: center; }
.looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); max-width: 900px; margin: 0 auto; }
.look figure { margin: 0; }
.look figcaption { font-size: var(--t-sm); color: var(--ink-3); margin-top: var(--s-3); text-align: center; }
/* a mini window drawn in its own fixed palette, so it previews a mode independent of the page theme */
.mini { --m-bg: #FFFFFF; --m-side: #F4F2EE; --m-ink: #1C1B18; --m-ink3: #77736B; --m-line: #E6E2DA; --m-acc: #2B49C2;
  border-radius: 10px; overflow: hidden; background: var(--m-bg); border: 1px solid var(--line); display: grid; grid-template-columns: 30% 1fr; aspect-ratio: 16 / 10; }
.mini { position: relative; box-shadow: var(--shadow); }
.mini::before { content: ""; position: absolute; top: 9px; left: 10px; width: 34px; height: 8px;
  background: radial-gradient(circle at 4px 4px, #FF5F57 3.5px, transparent 4px), radial-gradient(circle at 17px 4px, #FEBC2E 3.5px, transparent 4px), radial-gradient(circle at 30px 4px, #28C840 3.5px, transparent 4px); }
.mini.dark { --m-bg: #1D1F23; --m-side: #16171A; --m-ink: #EDEBE6; --m-ink3: #8F8C85; --m-line: #2E3036; --m-acc: #93A8FF; }
.mini-side { background: var(--m-side); border-right: 1px solid var(--m-line); padding: 30px 8% 8%; display: grid; gap: 7%; align-content: start; }
.mini-side i { display: flex; align-items: center; gap: 6%; height: 8px; }
.mini-side i::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--k); flex: none; }
.mini-side i::after { content: ""; height: 4px; flex: 1; border-radius: 2px; background: var(--m-line); }
.mini-main { padding: 7%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6%; align-content: start; }
.mini-main b { aspect-ratio: 1; border-radius: 6px; background: color-mix(in srgb, var(--k) 22%, var(--m-bg)); border: 1.5px solid var(--k); }
.mini-main .bar { grid-column: 1 / -1; aspect-ratio: auto; height: 8px; border-radius: 4px; border: 0; background: var(--m-acc); opacity: .85; }
/* Minimal: monochrome swatches, square-ish, no colour */
[data-look="minimal"] .mini .k-img, [data-look="minimal"] .mini .k-vid, [data-look="minimal"] .mini .k-aud,
[data-look="minimal"] .mini .k-doc, [data-look="minimal"] .mini .k-zip, [data-look="minimal"] .mini .k-app { --k: var(--m-ink3); }
[data-look="minimal"] .mini-main b { background: transparent; border-width: 1px; border-radius: 3px; }
[data-look="minimal"] .mini-main .bar { background: var(--m-ink); opacity: .7; }
@media (max-width: 560px) { .looks { grid-template-columns: minmax(0, 1fr); } }

/* paired features (quick search / menu bar) */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.pair-item { display: grid; gap: var(--s-5); align-content: start; }
@supports (grid-template-rows: subgrid) {
  .pair { grid-template-rows: auto auto; }
  .pair-item { grid-row: span 2; grid-template-rows: subgrid; }
}
.pair-item h3 { font-size: var(--t-h3); }
.pair-item > div > p { color: var(--ink-2); margin: var(--s-3) 0 0; }
.pair-item .points { grid-template-columns: minmax(0, 1fr); margin-top: var(--s-4); gap: var(--s-2); }
.pair-item .points li { border-top: 0; padding: 0 0 0 18px; position: relative; }
.pair-item .points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pair .stage { min-height: 280px; }
.qs { max-width: 420px; padding: 12px; }
.qs .rows { margin-top: 8px; }
.qs .rows li { padding: 7px 8px; border: 0; border-radius: 7px; }
.qs .rows li.sel { background: var(--accent-wash); }
.menubar-wrap { width: 100%; max-width: 360px; }
.menubar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; height: 26px; padding: 0 10px; font-size: 12px; color: var(--ink-2);
  background: color-mix(in srgb, var(--bg-elev) 80%, var(--bg-sunk)); border-radius: 8px; border: 1px solid var(--line); margin-bottom: 6px; }
.menubar .mb-sys { width: 15px; height: 15px; fill: none; color: var(--ink-3); stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menubar .mb-icon { width: 24px; height: 20px; border-radius: 5px; background: color-mix(in srgb, var(--ink) 12%, transparent); display: grid; place-items: center; }
.menubar .mb-icon svg { width: 12px; height: 12px; fill: var(--ink); }
.mb-panel { border-radius: 12px; padding: 10px 12px; }
.mb-panel .rows li { padding: 6px 0; }
.mb-panel .rows .name { font-size: 12.5px; }
@media (max-width: 860px) { .pair { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); } }

/* player bar */
.player { display: flex; align-items: center; gap: 12px; padding: 10px 14px; max-width: 520px; }
.player .art { width: 34px; height: 34px; border-radius: 6px; background: color-mix(in srgb, var(--k-aud) 30%, var(--bg-elev)); border: 1.5px solid var(--k-aud); flex: none; }
.player .ctl { display: flex; gap: 10px; color: var(--ink-2); }
.player .ctl svg { width: 16px; height: 16px; fill: currentColor; }
.player .track { min-width: 0; flex: 1; }
.player .track strong { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .prog { height: 3px; border-radius: 2px; background: var(--line); margin-top: 6px; position: relative; overflow: hidden; }
.player .prog::after { content: ""; position: absolute; inset: 0 62% 0 0; background: var(--accent); }

/* ---------- Everything else (list) ---------- */
.more { list-style: none; padding: 0; margin: 0 auto; max-width: 960px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); }
.more li { border-top: 1px solid var(--line); padding: var(--s-5) 0; }
.more h3 { font: 600 var(--t-md)/1.3 var(--font); letter-spacing: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.more h3 .k { display: inline-flex; gap: 3px; font-size: var(--t-sm); }
.more p { color: var(--ink-2); margin: var(--s-2) 0 0; font-size: var(--t-sm); line-height: 1.55; }
@media (max-width: 700px) { .more { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Keyboard reference ---------- */
.kbd-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7); max-width: 1000px; margin: 0 auto; }
.kbd-groups h3 { font: 600 var(--t-sm)/1.3 var(--font); color: var(--ink-3); letter-spacing: 0; margin-bottom: var(--s-2); }
.kbd-groups dl { margin: 0; }
.kbd-groups dl > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--t-sm); }
.kbd-groups dt { color: var(--ink); }
.kbd-groups dd { margin: 0; display: inline-flex; gap: 3px; flex: none; }
@media (max-width: 860px) { .kbd-groups { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } }

/* ---------- Privacy ---------- */
.privacy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.privacy h2 { margin-bottom: var(--s-5); }
.privacy-copy p { color: var(--ink-2); max-width: 34em; }
.privacy-copy strong { color: var(--ink); font-weight: 600; }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: var(--s-4); padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.specs dt { color: var(--ink-3); }
.specs dd { margin: 0; color: var(--ink); }
@media (max-width: 860px) { .privacy { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } }
@media (max-width: 400px) { .specs div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- Pricing ---------- */
.price-card {
  position: relative; max-width: 480px; margin: 0 auto; background: var(--bg-elev); border-radius: 22px;
  box-shadow: var(--hi), var(--shadow-lg), 0 0 0 1px var(--line); padding: clamp(24px, 5vw, 40px); overflow: hidden;
}
/* a thin strip of the icon's sky across the top of the card */
.price-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--sky), var(--peri)); }
.price-card .pc-name { display: flex; align-items: center; gap: 12px; }
.price-card .pc-name .logo { width: 40px; height: 40px; }
.price-card .pc-name strong { display: block; font-size: var(--t-md); font-weight: 650; }
.price-card .pc-name span { font-size: var(--t-sm); color: var(--ink-3); }
.seats { border: 0; padding: 0; margin: var(--s-6) 0 0; }
.seats legend { font-size: var(--t-xs); font-weight: 600; color: var(--ink-3); margin-bottom: var(--s-2); padding: 0; }
.seats-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; border-radius: 10px; background: var(--bg-sunk); border: 1px solid var(--line); }
.seats input { position: absolute; opacity: 0; pointer-events: none; }
.seats label { display: grid; place-items: center; min-height: 38px; border-radius: 7px; font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); cursor: pointer; transition: color .15s ease, background-color .15s ease; }
.seats label:hover { color: var(--ink); }
.seats input:checked + label { background: var(--bg-elev); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 0 0 1px var(--line); }
.seats input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.price { margin: var(--s-6) 0 0; }
.price .amount { margin: 0; display: none; font: 430 clamp(3rem, 2.2rem + 3.4vw, 4.25rem)/1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.price .amount.tbd { font-size: 2rem; color: var(--ink-2); }
.price-card:not(:has(input:checked)) .amount.a1,
.price-card:has(#seat-1:checked) .amount.a1,
.price-card:has(#seat-3:checked) .amount.a3,
.price-card:has(#seat-5:checked) .amount.a5 { display: block; }
/* 3/5 Macs during launch: the struck-through regular price sits beside the big price */
.price .amount .was { margin-left: var(--s-3); font: 400 var(--t-sm)/1.2 var(--font); letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
.price .amount .was s { text-decoration-thickness: 1.5px; }
.price .seat-sub { display: none; margin: var(--s-3) 0 0; font-size: var(--t-sm); color: var(--ink-2); }
.price-card .buy { display: none; }
.price-card:not(:has(input:checked)) .seat-sub.s1, .price-card:has(#seat-1:checked) .seat-sub.s1,
.price-card:has(#seat-3:checked) .seat-sub.s3, .price-card:has(#seat-5:checked) .seat-sub.s5 { display: block; }
.price-card:not(:has(input:checked)) .buy.b1, .price-card:has(#seat-1:checked) .buy.b1,
.price-card:has(#seat-3:checked) .buy.b3, .price-card:has(#seat-5:checked) .buy.b5 { display: inline-flex; }
.price .per { color: var(--ink-3); font-size: var(--t-sm); margin: var(--s-2) 0 0; }
/* Launch tiers (1 Mac only): a quiet price ladder, the current step tinted, past steps struck through */
/* 1-Mac launch ladder above the card; it never changes with the seat selector */
.tiers { max-width: 480px; margin: 0 auto var(--s-6); }
.tiers-label { margin: 0 0 var(--s-2); font-size: var(--t-xs); font-weight: 600; color: var(--ink-3); }
.tier-ladder { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.tier-ladder li { position: relative; flex: 1 1 0; display: grid; gap: 2px; padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); }
.tier-ladder li + li::before { content: "→" / ""; position: absolute; left: -16px; top: 50%; transform: translateY(-50%); font-size: var(--t-sm); color: var(--ink-3); }
.tier-ladder .tl-price { font-size: var(--t-md); font-weight: 600; color: var(--ink-2); font-variant-numeric: lining-nums tabular-nums; }
.tier-ladder .tl-name { font-size: var(--t-xs); color: var(--ink-3); white-space: nowrap; }
.tier-ladder .is-now { background: var(--accent-wash); box-shadow: inset 0 0 0 1.5px var(--accent); }
.tier-ladder .is-now .tl-price { color: var(--ink); }
.tier-ladder .is-now .tl-name { color: var(--accent); font-weight: 600; }
.tier-ladder .is-past .tl-price { color: var(--ink-3); font-weight: 450; }
.tier-ladder .is-past s { text-decoration-thickness: 1.5px; }
@media (max-width: 480px) {
  .tier-ladder { gap: 14px; }
  .tier-ladder li { padding: 6px var(--s-2); }
  .tier-ladder li + li::before { left: -12px; }
}
.tier-note { margin: var(--s-3) 0 0; font-size: var(--t-sm); color: var(--ink-2); }
.tier-count { margin: var(--s-3) 0 0; display: grid; gap: var(--s-2); font-size: var(--t-xs); color: var(--ink-3); }
.tier-count progress { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 4px; border: 0; border-radius: 2px; background: var(--line); overflow: hidden; }
.tier-count progress::-webkit-progress-bar { background: var(--line); border-radius: 2px; }
.tier-count progress::-webkit-progress-value { background: var(--accent); border-radius: 2px; }
.tier-count progress::-moz-progress-bar { background: var(--accent); border-radius: 2px; }
.includes { list-style: none; padding: var(--s-5) 0 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-3); font-size: var(--t-sm); border-top: 1px solid var(--line); }
.includes li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.includes svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.price-card .cta-row { margin-top: var(--s-6); flex-direction: column; }
.price-card .cta-row .btn { width: 100%; }
.price-card .fine { font-size: var(--t-xs); color: var(--ink-3); margin: var(--s-4) 0 0; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s-5) 40px var(--s-5) 0; position: relative;
  font-weight: 600; font-size: var(--t-md); border-radius: 4px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  color: var(--ink-3); transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary { transition: color .15s ease; }
.faq summary:hover { color: var(--accent); }
.faq summary:hover::after { color: var(--accent); }
.faq details[open] summary::after { color: var(--accent); }
.faq summary:focus-visible { outline-offset: 4px; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease-out), content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
.faq details > div { padding: 0 40px var(--s-5) 0; color: var(--ink-2); }
.faq details > div p { margin: 0 0 .8em; max-width: 62ch; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final h2 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.75rem); max-width: 12em; margin: 0 auto; }
.final > .wrap > p:not(.fine):not(.not-mac) { color: var(--ink-2); font-size: var(--t-lg); margin: var(--s-4) auto 0; max-width: 30em; }
.final-icon { display: block; width: 88px; height: 88px; margin: 0 auto var(--s-6); filter: drop-shadow(0 14px 22px rgb(40 50 120 / .28)); }
.final-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; margin: var(--s-7) auto 0; border-top: 1px solid var(--line); text-align: left; }
.final-paths > div { padding: var(--s-5) var(--s-5) 0 0; }
.final-paths > div + div { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.final-paths h3 { font: 600 var(--t-sm)/1.3 var(--font); color: var(--ink-3); letter-spacing: 0; }
.final-paths p { margin: var(--s-2) 0 var(--s-4); color: var(--ink-2); font-size: var(--t-sm); }
.final .fine { margin: var(--s-6) auto 0; font-size: var(--t-sm); color: var(--ink-3); letter-spacing: .01em; }
@media (max-width: 560px) {
  .final-paths { grid-template-columns: minmax(0, 1fr); }
  .final-paths > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: var(--s-5); }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: var(--s-8) 0 var(--s-6); }
.footer-brand .brand { font-size: 1.125rem; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: var(--s-7); }
.footer-brand p { margin-top: var(--s-3); max-width: 26em; font-size: var(--t-sm); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.footer-h { font: 600 var(--t-xs)/1.3 var(--font); color: var(--ink-3); margin: 4px 0 var(--s-3); letter-spacing: 0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer-nav a { color: var(--ink-2); text-decoration: none; font-size: var(--t-sm); overflow-wrap: anywhere; }
.footer-nav a { transition: color .15s ease; }
@media (max-width: 480px) { .footer-nav > div:last-child { grid-column: 1 / -1; } }
.footer-nav a:hover { color: var(--accent); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--t-xs); }
.footer-base { border-top: 0; background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--s-5)) 1px no-repeat; }
@media (max-width: 600px) { .footer-base { background-size: calc(100% - 2 * var(--s-4)) 1px; } }
.footer-base p { margin: 0; }
.footer-base a { color: var(--ink-2); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Prose pages (license / privacy / terms / changelog / 404) ---------- */
.page-head { padding: var(--s-9) 0 var(--s-6); }
@media (max-width: 700px) { .page-head { padding-top: var(--s-8); } }
.page-head .kicker { display: none; } /* section labels above headings are redundant: the h1 names the page */
.page-head h1 { font-size: clamp(2.3rem, 1.6rem + 2.8vw, 3.5rem); line-height: 1.06; }
.page-head p { color: var(--ink-2); font-size: var(--t-lg); line-height: 1.5; margin-top: var(--s-4); max-width: 34em; }
.prose { padding-bottom: var(--s-9); }
.prose h2 { font-size: 1.75rem; line-height: 1.2; margin: 2.2em 0 .6em; }
.prose h3 { font: 600 var(--t-md)/1.35 var(--font); letter-spacing: 0; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--ink-2); max-width: 68ch; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--ink-3); }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--bg-sunk); padding: 1px 5px; border-radius: 5px; }
/* license page: the three license sizes as quiet rows with a buy button */
.prose .buy-list { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: var(--s-3); max-width: none; }
.prose .buy-list li {
  position: relative; margin: 0; max-width: none; padding: var(--s-4) 190px var(--s-4) var(--s-5);
  background: var(--bg-elev); border-radius: var(--r); box-shadow: var(--hi), 0 0 0 1px var(--line), 0 1px 2px rgb(40 32 20 / .05);
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.prose .buy-list strong { font: 500 1.25rem/1.3 var(--font-display); letter-spacing: -0.01em; }
.prose .buy-list .muted { font-size: var(--t-sm); }
.prose .buy-list a {
  position: absolute; right: var(--s-4); top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: var(--t-sm); text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 1px 2px rgb(20 24 60 / .18);
}
.prose .buy-list a:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
@media (max-width: 560px) {
  .prose .buy-list li { padding: var(--s-4) var(--s-4) 72px; }
  .prose .buy-list a { left: var(--s-4); right: var(--s-4); top: auto; bottom: var(--s-4); transform: none; justify-content: center; }
}
.callout { background: var(--accent-wash); border-radius: var(--r); padding: var(--s-4) var(--s-5); color: var(--ink); }
.callout p { color: var(--ink); margin: 0; }
/* cashback page (/reel/): numbered steps + copyable example post */
.prose .steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--s-4); }
.prose .steps li { counter-increment: step; position: relative; padding-left: 48px; margin: 0; }
.prose .steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-wash); color: var(--accent); font: 650 var(--t-sm)/1 var(--font);
}
.prose .steps strong { display: block; margin-bottom: 2px; }
.prose .selectable { user-select: all; -webkit-user-select: all; }
.example-post { margin: var(--s-4) 0; padding: var(--s-4) var(--s-5); background: var(--bg-sunk); border-left: 3px solid var(--accent); border-radius: var(--r-sm); }
.example-post p { color: var(--ink); margin: 0; user-select: all; -webkit-user-select: all; }
.release { border-top: 1px solid var(--line); padding: var(--s-6) 0 var(--s-2); display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: var(--s-5); }
.release:first-of-type { border-top: 0; padding-top: 0; }
.release h2 { margin: 0; font-size: 1.75rem; }
.release time { display: block; color: var(--ink-3); font-size: var(--t-sm); margin-top: 4px; }
.release .tag { margin-top: var(--s-2); }
.release h3 { margin: 0 0 var(--s-2); }
.release ul { margin: 0 0 var(--s-5); }
@media (max-width: 640px) { .release { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); } }
.notfound { text-align: center; padding: var(--s-10) 0; }
.notfound .big { font: 400 clamp(5rem, 18vw, 8.5rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--accent); margin: 0 0 var(--s-3); }
.notfound h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); margin-bottom: var(--s-4); }
.notfound .cta-row { justify-content: center; margin-top: var(--s-6); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
