/* The North Watch family: one design system for thenorthwatch.eu, rabbit-hole.video and the personal site.
   Direction A, "Night Watch": dark first, light on request of the system. Each site sets <html data-site="…">
   and gets its accent and grey tint from the blocks below; everything else is shared. */

/* ── Fonts (OFL, self-hosted). Text uses Inter where installed, else the system face (the bible allows it). ── */
@font-face { font-family: "Space Grotesk"; font-weight: 300 700; font-display: swap; src: url(fonts/SpaceGrotesk_var_latin.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 300 700; font-display: swap; src: url(fonts/SpaceGrotesk_var_latin-ext.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(fonts/JetBrainsMono_500_latin.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(fonts/JetBrainsMono_500_latin-ext.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }

/* ── Tokens ── */
:root {
  --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --wrap: 1200px; --gutter: 16px;
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px;

  --dur-1: 160ms; --dur-2: 320ms; --dur-3: 640ms; --ease: cubic-bezier(.2, .7, .2, 1);

  /* The North Watch (default) */
  --bg: #0a0e14; --strip: #070a0f; --surface: #101722; --raised: #162030; --line: #1e2936;
  --ink: #edf2f7; --muted: #9aa8b8; --faint: #75859a;
  --accent: #79b4ff; --on-accent: #040c1c; --glow: rgba(121, 180, 255, .38);
  --accent-on-image: #9cc8ff;
  --brand-grad: linear-gradient(90deg, #ffffff, #bfe0ff 35%, #79b4ff 70%, #dbeeff);
  --night-bg: #0a0e14; --night-strip: #070a0f; --night-line: #1e2936; --night-ink: #edf2f7; --night-muted: #9aa8b8; --night-faint: #75859a; /* stays bright in light mode: it sits on dark pictures */
  --ok: #8affc1; --ok-bg: rgba(138, 255, 193, .1); --ok-line: rgba(138, 255, 193, .3);
  color-scheme: dark;
}
:root[data-site="rh"] {
  --bg: #0b0a10; --strip: #08070c; --surface: #13121b; --raised: #1c1a27; --line: #25232f;
  --ink: #f2f2f5; --muted: #a6a6b4; --faint: #7c7b8c;
  --accent: #ab9bff; --on-accent: #140f2e; --glow: rgba(171, 155, 255, .45);
  --accent-on-image: #c4b5fd;
  --brand-grad: linear-gradient(90deg, #c084fc, #8b5cf6 35%, #60a5fa 70%, #67e8f9);
  --night-bg: #0b0a10; --night-strip: #08070c; --night-line: #25232f; --night-ink: #f2f2f5; --night-muted: #a6a6b4; --night-faint: #7c7b8c;
}
:root[data-site="gj"] {
  --bg: #0e0e0e; --strip: #0a0a0a; --surface: #171717; --raised: #202020; --line: #282828;
  --ink: #f0f0ee; --muted: #a3a3a0; --faint: #7d7d7a;
  --accent: #f2b25c; --on-accent: #1d1405; --glow: rgba(242, 178, 92, .3);
  --accent-on-image: #ffd27a;
  --brand-grad: linear-gradient(90deg, #ffd27a, #ff9a5c 35%, #49c6c0 70%, #bfefe9);
  --night-bg: #0e0e0e; --night-strip: #0a0a0a; --night-line: #282828; --night-ink: #f0f0ee; --night-muted: #a3a3a0; --night-faint: #7d7d7a;
}
/* The North Watch apps: Northlight, Iceberg, Borealis, AirTouch (colours from the brand bible). */
:root[data-site="nl"] {
  --bg: #0b1020; --strip: #080c18; --surface: #111a30; --raised: #18233d; --line: #22304d;
  --ink: #eef3fb; --muted: #a3aec4; --faint: #7a869e;
  --accent: #5fd3b4; --on-accent: #04201a; --glow: rgba(95,211,180,.38);
  --accent-on-image: #8de88f;
  --brand-grad: linear-gradient(90deg, #5fd3b4, #8de88f 35%, #8b7cf6 70%, #e07bd1);
  --night-bg: #0b1020; --night-strip: #080c18; --night-line: #22304d; --night-ink: #eef3fb; --night-muted: #a3aec4; --night-faint: #7a869e;
}
:root[data-site="ib"] {
  --bg: #04121a; --strip: #030d13; --surface: #082030; --raised: #0c2a3c; --line: #123447;
  --ink: #ecfaff; --muted: #9fbac6; --faint: #76929f;
  --accent: #22d3ee; --on-accent: #022028; --glow: rgba(34,211,238,.38);
  --accent-on-image: #a5f3fc;
  --brand-grad: linear-gradient(90deg, #f0feff, #a5f3fc 35%, #22d3ee 70%, #0ea5c6);
  --night-bg: #04121a; --night-strip: #030d13; --night-line: #123447; --night-ink: #ecfaff; --night-muted: #9fbac6; --night-faint: #76929f;
}
:root[data-site="bo"] {
  --bg: #100815; --strip: #0b0510; --surface: #1a0f22; --raised: #24142e; --line: #33203d;
  --ink: #fbf0f8; --muted: #c4a9bd; --faint: #977f91;
  --accent: #ff7ad9; --on-accent: #2a0420; --glow: rgba(255,122,217,.38);
  --accent-on-image: #ffc46b;
  --brand-grad: linear-gradient(90deg, #ffd6f5, #ff7ad9 35%, #ff9f7a 70%, #ffc46b);
  --night-bg: #100815; --night-strip: #0b0510; --night-line: #33203d; --night-ink: #fbf0f8; --night-muted: #c4a9bd; --night-faint: #977f91;
}
:root[data-site="at"] {
  --bg: #081028; --strip: #060c1e; --surface: #0e1a3a; --raised: #14224a; --line: #1d2d5a;
  --ink: #eef4ff; --muted: #a6b4d2; --faint: #7c8bab;
  --accent: #7fd0ff; --on-accent: #03142c; --glow: rgba(127,208,255,.38);
  --accent-on-image: #bfe9ff;
  --brand-grad: linear-gradient(90deg, #dff6ff, #7fd0ff 35%, #3b8bff 70%, #eaf7ff);
  --night-bg: #081028; --night-strip: #060c1e; --night-line: #1d2d5a; --night-ink: #eef4ff; --night-muted: #a6b4d2; --night-faint: #7c8bab;
}

/* Light: follows the system unless a page or viewer pins data-theme="dark"; data-theme="light" pins it on. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f7fa; --strip: #eaeef3; --surface: #ffffff; --raised: #eef2f6; --line: #dce3ea;
    --ink: #0d141c; --muted: #4a5868; --faint: #5e6b7a;
    --accent: #1f5fc4; --on-accent: #ffffff; --glow: rgba(31, 95, 196, .22);
    --ok: #13643f; --ok-bg: #e3f4ea; --ok-line: #b8e0c8;
    color-scheme: light;
  }
  :root[data-site="rh"]:not([data-theme="dark"]) {
    --bg: #f7f6fb; --strip: #eeecf6; --surface: #ffffff; --raised: #efedf7; --line: #e1def0;
    --ink: #121018; --muted: #4d4a5e; --faint: #6a677c;
    --accent: #5b41e0; --on-accent: #ffffff; --glow: rgba(91, 65, 224, .25);
  }
  :root[data-site="gj"]:not([data-theme="dark"]) {
    --bg: #f6f6f5; --strip: #ececea; --surface: #ffffff; --raised: #f0f0ee; --line: #e2e2e0;
    --ink: #121212; --muted: #50504d; --faint: #62625f;
    --accent: #a0600f; --on-accent: #ffffff; --glow: rgba(160, 96, 15, .2);
  }
  :root[data-site="nl"]:not([data-theme="dark"]) {
    --bg: #f5f8fb; --strip: #e9eef4; --surface: #ffffff; --raised: #eef2f7; --line: #dbe3ec;
    --ink: #0d1420; --muted: #4a5666; --faint: #5d6979;
    --accent: #0f7f66; --on-accent: #ffffff; --glow: rgba(15,127,102,.22);
  }
  :root[data-site="ib"]:not([data-theme="dark"]) {
    --bg: #f3f9fb; --strip: #e5f0f4; --surface: #ffffff; --raised: #eaf4f7; --line: #d4e5ec;
    --ink: #071820; --muted: #41555e; --faint: #566a73;
    --accent: #0a7690; --on-accent: #ffffff; --glow: rgba(10,118,144,.22);
  }
  :root[data-site="bo"]:not([data-theme="dark"]) {
    --bg: #fbf6fa; --strip: #f3e9f1; --surface: #ffffff; --raised: #f6edf4; --line: #ead9e5;
    --ink: #1c0c18; --muted: #5d4858; --faint: #715b6b;
    --accent: #b8237f; --on-accent: #ffffff; --glow: rgba(184,35,127,.22);
  }
  :root[data-site="at"]:not([data-theme="dark"]) {
    --bg: #f4f7fd; --strip: #e7edf8; --surface: #ffffff; --raised: #edf2fb; --line: #d7e0f0;
    --ink: #0a1226; --muted: #47536b; --faint: #5a6680;
    --accent: #1f63d6; --on-accent: #ffffff; --glow: rgba(31,99,214,.22);
  }
}
:root[data-theme="light"] {
  --bg: #f5f7fa; --strip: #eaeef3; --surface: #ffffff; --raised: #eef2f6; --line: #dce3ea;
  --ink: #0d141c; --muted: #4a5868; --faint: #5e6b7a;
  --accent: #1f5fc4; --on-accent: #ffffff; --glow: rgba(31, 95, 196, .22);
  --ok: #13643f; --ok-bg: #e3f4ea; --ok-line: #b8e0c8;
  color-scheme: light;
}
:root[data-site="rh"][data-theme="light"] {
  --bg: #f7f6fb; --strip: #eeecf6; --surface: #ffffff; --raised: #efedf7; --line: #e1def0;
  --ink: #121018; --muted: #4d4a5e; --faint: #6a677c;
  --accent: #5b41e0; --on-accent: #ffffff; --glow: rgba(91, 65, 224, .25);
}
:root[data-site="gj"][data-theme="light"] {
  --bg: #f6f6f5; --strip: #ececea; --surface: #ffffff; --raised: #f0f0ee; --line: #e2e2e0;
  --ink: #121212; --muted: #50504d; --faint: #62625f;
  --accent: #a0600f; --on-accent: #ffffff; --glow: rgba(160, 96, 15, .2);
}

:root[data-site="nl"][data-theme="light"] {
  --bg: #f5f8fb; --strip: #e9eef4; --surface: #ffffff; --raised: #eef2f7; --line: #dbe3ec;
  --ink: #0d1420; --muted: #4a5666; --faint: #5d6979;
  --accent: #0f7f66; --on-accent: #ffffff; --glow: rgba(15,127,102,.22);
}
:root[data-site="ib"][data-theme="light"] {
  --bg: #f3f9fb; --strip: #e5f0f4; --surface: #ffffff; --raised: #eaf4f7; --line: #d4e5ec;
  --ink: #071820; --muted: #41555e; --faint: #566a73;
  --accent: #0a7690; --on-accent: #ffffff; --glow: rgba(10,118,144,.22);
}
:root[data-site="bo"][data-theme="light"] {
  --bg: #fbf6fa; --strip: #f3e9f1; --surface: #ffffff; --raised: #f6edf4; --line: #ead9e5;
  --ink: #1c0c18; --muted: #5d4858; --faint: #715b6b;
  --accent: #b8237f; --on-accent: #ffffff; --glow: rgba(184,35,127,.22);
}
:root[data-site="at"][data-theme="light"] {
  --bg: #f4f7fd; --strip: #e7edf8; --surface: #ffffff; --raised: #edf2fb; --line: #d7e0f0;
  --ink: #0a1226; --muted: #47536b; --faint: #5a6680;
  --accent: #1f63d6; --on-accent: #ffffff; --glow: rgba(31,99,214,.22);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 24px; } }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 14px; border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Type ── */
.eyebrow { font: 500 12px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.display { font: 700 clamp(40px, 6.6vw, 80px)/1.02 var(--font-display); letter-spacing: -.03em; }
.h2 { font: 700 clamp(30px, 4vw, 48px)/1.06 var(--font-display); letter-spacing: -.025em; }
.wordmark { font: 700 18px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h3 { font: 600 21px/1.3 var(--font-body); }
.lead { font-size: clamp(17px, 2vw, 19px); line-height: 1.55; color: var(--muted); max-width: 54ch; }
.muted { color: var(--muted); }
.mono { font: 500 13px/1.4 var(--font-mono); }

/* ── Night chrome: the strip, the site bar and the footer stay night in both themes, so the marks always sit
   on dark (the bible: every mark lives on night). ── */
.strip, .bar, .foot { --bg: var(--night-bg); --strip: var(--night-strip); --line: var(--night-line); --ink: var(--night-ink); --muted: var(--night-muted); --faint: var(--night-faint); --accent: var(--accent-on-image); color-scheme: dark; color: var(--ink); }
.foot { background: var(--night-bg); }

/* ── Family strip: on every page of all three sites ── */
.strip { background: var(--strip); border-bottom: 1px solid var(--line); }
.strip .wrap { min-height: 36px; display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.strip a { color: var(--muted); text-decoration: none; padding: 8px 0; }
.strip a:hover { color: var(--ink); }
.strip a[aria-current] { color: var(--ink); }
.strip .sep { color: var(--faint); }

/* ── Site bar ── */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); color: var(--ink); text-decoration: none; font: 700 19px/1 var(--font-display); letter-spacing: -.01em; }
.brand img { width: auto; height: 30px; }
.brand .logo-h { height: 52px; width: auto; }
@media (max-width: 480px) { .brand .logo-h { height: 44px; } }
.brand .app-icon { width: 34px; height: 34px; border-radius: 22.5%; box-shadow: 0 6px 18px -8px var(--glow); }
.nav { display: flex; align-items: center; gap: var(--s1); flex-wrap: wrap; font-size: 15px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; padding: 10px 10px; border-radius: var(--r-sm); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav .btn { margin-left: var(--s2); }
@media (max-width: 640px) { .nav .opt { display: none; } }

/* ── Buttons and pills ── */
.btn { display: inline-flex; align-items: center; gap: var(--s2); min-height: 48px; padding: 0 22px; border-radius: 10px; font: 650 16px/1 var(--font-body); text-decoration: none; transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px var(--glow); }
.btn--ghost { color: var(--ink); border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--on-image { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .25); }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--font-mono); padding: 7px 10px; border-radius: var(--r-sm); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.pill--accent { color: var(--accent); }
.pill--ok { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.pill--dev { color: var(--ink); border-style: dashed; border-color: var(--faint); }
.pill--on-image { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.chips { display: flex; gap: var(--s2); flex-wrap: wrap; }
.chip { font: 500 13px/1 var(--font-mono); padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); }

/* ── Hero: a full-bleed picture with the words on it ── */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: #05070b; color: #fff; }
.hero > picture, .hero > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 6, 10, .78) 0%, rgba(4, 6, 10, .35) 45%, rgba(4, 6, 10, 0) 70%), linear-gradient(0deg, rgba(4, 6, 10, .7) 0%, rgba(4, 6, 10, 0) 40%); }
.hero .wrap { width: 100%; padding-top: var(--s10); padding-bottom: var(--s8); display: flex; flex-direction: column; gap: var(--s5); }
.hero .display { max-width: 13ch; }
.hero .lead { color: rgba(255, 255, 255, .82); }
.hero .eyebrow, .tile .eyebrow { color: var(--accent-on-image); }
.hero .actions { display: flex; gap: var(--s3); flex-wrap: wrap; }
@media (max-width: 720px) {
  .hero { min-height: 78vh; }
  .hero > picture img { object-position: var(--hero-focus-mobile, 70% center); }
  .hero::after { background: linear-gradient(0deg, rgba(4, 6, 10, .88) 0%, rgba(4, 6, 10, .4) 55%, rgba(4, 6, 10, .1) 100%); }
}

/* ── Sections ── */
.section { padding: var(--s8) 0; }
@media (min-width: 720px) { .section { padding: var(--s9) 0; } }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s6); }
.section-head .lead { max-width: 46ch; }

/* ── Group headings inside a section ── */
.group-head { display: flex; gap: var(--s4); align-items: baseline; flex-wrap: wrap; margin: var(--s7) 0 var(--s4); }
.group-head .muted { font-size: 15px; }

/* ── Picture cards ── */
.cards { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); } }
@media (min-width: 1040px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
a.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); box-shadow: 0 24px 60px -30px var(--glow); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #05070b; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease); }
a.card:hover .card__media img { transform: scale(1.03); }
.card__media .pill { position: absolute; left: var(--s4); top: var(--s4); }
.card__body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); flex: 1 1 auto; }
.card__title { display: flex; align-items: center; gap: var(--s3); font: 700 24px/1.15 var(--font-display); letter-spacing: -.012em; }
.card__title img { width: 40px; height: 40px; border-radius: 22.5%; flex: none; box-shadow: 0 6px 18px -6px var(--glow); }
.card__body p { color: var(--muted); }
.card__body > .pill { align-self: flex-start; }
.card__foot { margin-top: auto; padding-top: var(--s2); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; font: 500 13px/1.3 var(--font-mono); color: var(--muted); }
.card__foot .go { color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.card--wide { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .card--wide { flex-direction: row; }
  .card--wide .card__media { flex: 1 1 62%; aspect-ratio: auto; min-height: 360px; }
  .card--wide .card__body { flex: 1 1 38%; padding: var(--s6); justify-content: center; }
}
.card--dashed { background: transparent; border-style: dashed; border-color: var(--faint); }

/* ── Feature mosaic: big pictures, one line each ── */
.mosaic { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s5); } .tile--6 { grid-column: span 6; } .tile--4 { grid-column: span 4; } .tile--3 { grid-column: span 3; } .tile--2 { grid-column: span 2; } }
.tile { position: relative; isolation: isolate; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; background: #05070b; color: #fff; border: 1px solid var(--line); }
.tile picture, .tile picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 4, 8, .82) 0%, rgba(4, 4, 8, .25) 45%, rgba(4, 4, 8, 0) 70%); }
.tile__body { padding: var(--s5); display: flex; flex-direction: column; gap: 6px; max-width: 46ch; }
.tile__body h3 { font: 700 26px/1.1 var(--font-display); letter-spacing: -.015em; }
.tile__body p { color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.5; }
.tile--6 { min-height: 440px; }
@media (min-width: 720px) { .tile--6::after { background: linear-gradient(90deg, rgba(4, 4, 8, .85) 0%, rgba(4, 4, 8, .45) 38%, rgba(4, 4, 8, 0) 62%), linear-gradient(0deg, rgba(4, 4, 8, .6) 0%, rgba(4, 4, 8, 0) 45%); } }
@media (min-width: 720px) { .tile--6 .tile__body { padding: var(--s7); } .tile--6 .tile__body h3 { font-size: 40px; } }

/* ── Split: picture beside words ── */
.split { display: grid; gap: var(--s6); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); } .split--flip > :first-child { order: 2; } }
.split__media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #05070b; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s3); }
.ticks li { display: flex; gap: var(--s3); align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.ticks b { font-weight: 600; }

/* ── Real screenshots, set into the app's own glow ── */
.shots { display: grid; gap: var(--s6); grid-template-columns: 1fr; }
@media (min-width: 900px) { .shots--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shot { position: relative; margin: 0; display: flex; flex-direction: column; gap: var(--s3); isolation: isolate; }
.shot::before { content: ""; position: absolute; inset: 8% 6% 18%; z-index: -1; background: var(--brand-grad); filter: blur(60px); opacity: .32; border-radius: 40px; }
.shot__frame { border-radius: 14px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); box-shadow: 0 40px 100px -40px var(--glow), 0 0 0 1px rgba(255, 255, 255, .04) inset; background: #0b0c10; }
.shot__frame img { width: 100%; height: auto; }
.shot figcaption { display: flex; gap: var(--s3); align-items: baseline; flex-wrap: wrap; }
.shot figcaption b { font: 700 18px/1.2 var(--font-display); letter-spacing: -.01em; }
.shot figcaption span { color: var(--muted); font-size: 15px; }
.shot--hero::before { inset: 4% 3% 12%; opacity: .42; filter: blur(80px); }
.shots--panels { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: 960px; margin-inline: auto; }
.shots--panels .shot__frame { border-radius: 18px; }

/* ── Steps: a process the reader follows in order ── */
.steps { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { padding: var(--s5); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.step::before { counter-increment: step; content: counter(step); font: 700 34px/1 var(--font-display); background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font: 700 19px/1.25 var(--font-display); }
.step p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ── Free and Pro ── */
.tiers { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tier { padding: var(--s6); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s3); }
.tier--pro { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 30px 80px -40px var(--glow); }
.tier h3 { font: 700 26px/1.1 var(--font-display); }
.tier--pro h3 { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tier li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--muted); font-size: 15px; }
.tier li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; margin-top: 8px; background: var(--accent); }

/* ── Small facts row ── */
.facts { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fact { padding: var(--s5); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.fact .k { font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact .v { font: 700 24px/1.2 var(--font-display); }
.fact p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ── Band: a quiet full-width row ── */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.band .wrap { padding-top: var(--s6); padding-bottom: var(--s6); display: flex; gap: var(--s5); align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* ── Footer ── */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { padding-top: var(--s6); padding-bottom: var(--s7); display: flex; gap: var(--s5); justify-content: space-between; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.foot .links { display: flex; gap: var(--s5); flex-wrap: wrap; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot .brandline { display: flex; align-items: center; gap: var(--s3); }
.foot .brandline img { height: 32px; width: auto; }
.byline { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.byline img { height: 24px; width: auto; }

/* ── Motion: sections rest visible; the ones you scroll to rise in once (nw.js adds .in) ── */
@keyframes nw-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal.in { animation: nw-rise var(--dur-3) var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
}
