/* @font-face declarations — self-hosted (no Google Fonts CDN).
   .woff2 files in marketing/assets/fonts/.
   Latin + latin-ext only (Cyrillic / Vietnamese subsets dropped).
   To regenerate: see marketing/assets/fonts/README.md. */

/* DM Sans · 500 · italic · latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/dmsans-500-italic-latin-ext.woff2') format('woff2');
  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;
}

/* DM Sans · 500 · italic · latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/dmsans-500-italic-latin.woff2') format('woff2');
  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;
}

/* DM Sans · 400 · normal · latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/dmsans-400-normal-latin-ext.woff2') format('woff2');
  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;
}

/* DM Sans · 400 · normal · latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/dmsans-400-normal-latin.woff2') format('woff2');
  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;
}

/* DM Sans · 500 · normal · latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/dmsans-500-normal-latin-ext.woff2') format('woff2');
  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;
}

/* DM Sans · 500 · normal · latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/dmsans-500-normal-latin.woff2') format('woff2');
  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;
}

/* DM Sans · 600 · normal · latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/dmsans-600-normal-latin-ext.woff2') format('woff2');
  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;
}

/* DM Sans · 600 · normal · latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/dmsans-600-normal-latin.woff2') format('woff2');
  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;
}

/* IBM Plex Mono · 400 · normal · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/ibmplexmono-400-normal-latin-ext.woff2') format('woff2');
  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;
}

/* IBM Plex Mono · 400 · normal · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/ibmplexmono-400-normal-latin.woff2') format('woff2');
  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;
}

/* IBM Plex Mono · 500 · normal · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/ibmplexmono-500-normal-latin-ext.woff2') format('woff2');
  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;
}

/* IBM Plex Mono · 500 · normal · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/ibmplexmono-500-normal-latin.woff2') format('woff2');
  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;
}

/* IBM Plex Mono · 600 · normal · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/ibmplexmono-600-normal-latin-ext.woff2') format('woff2');
  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;
}

/* IBM Plex Mono · 600 · normal · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/ibmplexmono-600-normal-latin.woff2') format('woff2');
  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;
}

/* Space Grotesk · 400 · normal · latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/spacegrotesk-400-normal-latin-ext.woff2') format('woff2');
  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;
}

/* Space Grotesk · 400 · normal · latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/spacegrotesk-400-normal-latin.woff2') format('woff2');
  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;
}

/* Space Grotesk · 500 · normal · latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/spacegrotesk-500-normal-latin-ext.woff2') format('woff2');
  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;
}

/* Space Grotesk · 500 · normal · latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/spacegrotesk-500-normal-latin.woff2') format('woff2');
  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;
}

/* Space Grotesk · 600 · normal · latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/spacegrotesk-600-normal-latin-ext.woff2') format('woff2');
  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;
}

/* Space Grotesk · 600 · normal · latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/spacegrotesk-600-normal-latin.woff2') format('woff2');
  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;
}

/* Space Grotesk · 700 · normal · latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/spacegrotesk-700-normal-latin-ext.woff2') format('woff2');
  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;
}

/* Space Grotesk · 700 · normal · latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/spacegrotesk-700-normal-latin.woff2') format('woff2');
  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;
}

/* GudDash marketing site — reshaped.
   Direction: operator's logbook + cockpit telemetry.
   Brand accent #0F8A4F (sampled from assets/brand/guddash-icon.svg).
   Type pairing: Space Grotesk (display) · DM Sans (body) · IBM Plex Mono (operator UI).
   Light default · dark equal. */

:root,
[data-theme='light'] {
  --accent: #0f8a4f;
  --accent-hover: #0c6f40;
  --accent-soft: #e6f4ec;
  --accent-line: #0f8a4f;
  --accent-fg: #ffffff;

  --bg: #ffffff;
  --bg-2: #fafaf9;
  --paper: #f4f4f1;
  --rule: #1a1a17;
  --rule-soft: #e3e3df;
  --rule-dashed: #c9c9c2;
  --ink: #111110;
  --ink-2: #2a2a26;
  --muted: #6b6b63;
  --muted-2: #9a9a91;

  --shadow-card: 0 1px 0 rgba(17, 17, 16, 0.04), 0 24px 48px -24px rgba(17, 17, 16, 0.18);
  --shadow-inner-card: 0 1px 0 rgba(17, 17, 16, 0.03), 0 8px 24px -12px rgba(17, 17, 16, 0.12);
}

[data-theme='dark'] {
  --accent: #2ec47b;
  --accent-hover: #3dd687;
  --accent-soft: #0e2419;
  --accent-line: #2ec47b;
  --accent-fg: #07120c;

  --bg: #0b0c0a;
  --bg-2: #111210;
  --paper: #161714;
  --rule: #f3f3ef;
  --rule-soft: #23241f;
  --rule-dashed: #2d2e28;
  --ink: #f1f1ec;
  --ink-2: #d4d4ce;
  --muted: #8d8d84;
  --muted-2: #5e5e57;

  --shadow-card: 0 1px 0 rgba(0, 0, 0, 0.5), 0 24px 48px -24px rgba(0, 0, 0, 0.6);
  --shadow-inner-card: 0 1px 0 rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { color-scheme: light dark; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
}

img { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--accent-fg); }

/* ============================================================
   Type system
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(3rem, 8.2vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 500;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
}
h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
em { font-style: italic; font-family: 'Space Grotesk', sans-serif; }
strong { font-weight: 600; }

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.mono.accent { color: var(--accent); }
.mono.ink { color: var(--ink); }

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-hover); }

/* ============================================================
   Layout
   ============================================================ */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ============================================================
   Cockpit strip (top utility bar above nav)
   ============================================================ */
.cockpit-strip {
  background: var(--ink);
  color: var(--bg);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
[data-theme='dark'] .cockpit-strip { background: var(--paper); color: var(--ink); }
.cockpit-strip-inner {
  display: flex;
  align-items: center;
  gap: 0;
  height: 34px;
  white-space: nowrap;
}
.cockpit-strip span {
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid color-mix(in srgb, var(--bg) 20%, transparent);
  height: 100%;
}
[data-theme='dark'] .cockpit-strip span {
  border-right: 1px solid color-mix(in srgb, var(--ink) 15%, transparent);
}
.cockpit-strip span:last-child { border-right: none; margin-left: auto; }
.cockpit-strip .signal {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); }
  70%  { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
}

@media (max-width: 720px) {
  .cockpit-strip-inner { height: 30px; font-size: 0.66rem; }
  .cockpit-strip span { padding: 0 10px; }
  .cockpit-strip .hide-sm { display: none; }
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand { display: inline-flex; align-items: center; gap: 10px; }
.nav-brand img { height: 22px; }
.nav-brand .nav-icon {
  height: 28px;
  width: 28px;
  border-radius: 7px;
  display: block;
}
.nav-brand .wordmark-dark { display: none; }
[data-theme='dark'] .nav-brand .wordmark-light { display: none; }
[data-theme='dark'] .nav-brand .wordmark-dark { display: block; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  color: var(--ink-2);
  font-size: 0.94rem;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover { color: var(--ink); background: var(--bg-2); }

.theme-toggle {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--rule-soft);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.theme-toggle:hover { background: var(--bg-2); border-color: var(--ink-2); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.08s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); color: var(--accent-fg); }
.btn-primary .arrow { transition: transform 0.18s; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.btn-sm { min-height: 36px; padding: 0 14px; font-size: 0.86rem; }

/* ============================================================
   Eyebrow (section coordinate)
   ============================================================ */
.coord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.coord::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.coord .sep {
  width: 24px; height: 1px; background: var(--muted-2);
  display: inline-block;
}

/* ============================================================
   Section frame
   ============================================================ */
.section {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--rule-soft);
  position: relative;
}
.section.flush { border-top: none; padding-top: clamp(40px, 6vw, 80px); }
.section-head { max-width: 880px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .coord { margin-bottom: 24px; }
.section-head h2 + p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  margin-top: 18px;
  max-width: 680px;
}

/* ============================================================
   HERO — editorial split, big type + live cockpit panel
   ============================================================ */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: clamp(32px, 4vw, 80px);
  align-items: end;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; align-items: stretch; gap: 48px; }
}

.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
}

/* Dictionary-entry frame above the hero headline */
.definition {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  max-width: 640px;
}
.definition .d-word {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.definition .d-phon {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.86rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.definition .d-pos {
  font-family: 'Space Grotesk', sans-serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--accent);
  font-weight: 500;
}
.definition .d-def {
  grid-column: 1 / -1;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 580px;
}
.definition .d-def em {
  font-family: 'Space Grotesk', sans-serif;
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
@media (max-width: 520px) {
  .definition { grid-template-columns: 1fr; row-gap: 4px; }
}
.hero-headline .line { display: block; }
.hero-headline .line-1 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--muted);
}
.hero-headline .line-2 {
  font-size: clamp(3rem, 9.6vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-weight: 500;
  margin-top: 0.04em;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.2em;
}
.hero-headline .agent {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  position: relative;
}
.hero-headline .agent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.06em;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-in 0.9s 0.4s cubic-bezier(0.7,0,0.2,1) forwards;
}
@keyframes underline-in { to { transform: scaleX(1); } }

.hero-headline .period { color: var(--accent); }

.hero-sub {
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 580px;
}
.hero-sub em { color: var(--accent); font-style: italic; }

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-meta span::before {
  content: '';
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  flex: 0 0 6px;
}

/* hero-side: a small live cockpit panel */
.hero-side {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.cockpit-panel {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.cockpit-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
.cockpit-panel-ask {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.cockpit-panel-ask .prompt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}
.cockpit-panel-ask .typed {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.86rem;
  color: var(--ink);
  letter-spacing: 0.01em;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  vertical-align: bottom;
  animation: type 1.8s steps(29, end) 0.6s forwards;
}
.cockpit-panel-ask .caret {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.86rem;
  color: var(--accent);
  margin-left: -2px;
  animation: blink 1s steps(2) infinite;
  flex: 0 0 auto;
  opacity: 0;
  animation: caretIn 0.1s linear 0.5s forwards, blink 1s steps(2) 0.6s infinite;
}
@keyframes type {
  to { width: 30ch; }
}
@keyframes caretIn {
  to { opacity: 1; }
}
.cockpit-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
}
.cockpit-panel-head .title {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cockpit-panel-head .title::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: pulse 2s ease-out infinite;
}
.cockpit-panel-head .stamp {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
}
.cockpit-panel-now {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 12px;
  border-bottom: 1px dashed var(--rule-dashed);
}
.cockpit-panel-now .when {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.cockpit-panel-now .what {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.cockpit-panel-list { padding-top: 12px; }
.cockpit-panel-list .row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule-dashed);
  font-size: 0.92rem;
}
.cockpit-panel-list .row:last-child { border-bottom: none; }
.cockpit-panel-list .row .t {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
}
.cockpit-panel-list .row .who {
  color: var(--muted-2);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cockpit-panel-tight {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--accent);
  font-size: 0.94rem;
  color: var(--ink);
}
.cockpit-panel-tight .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

/* ============================================================
   THREE LAYERS — diagrammatic, with connecting rules
   ============================================================ */
.layers-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
@media (max-width: 900px) { .layers-stage { grid-template-columns: 1fr; } }

.layer {
  padding: 36px 28px;
  border-right: 1px solid var(--rule-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 360px;
  background: var(--bg);
  transition: background 0.2s;
  overflow: hidden;
}
.layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0;
  transform: translateX(-100%);
  animation: layerFlow 7s ease-in-out infinite;
  pointer-events: none;
}
.layers-stage > .layer:nth-child(1)::before { animation-delay: 0s; }
.layers-stage > .layer:nth-child(2)::before { animation-delay: 1.4s; }
.layers-stage > .layer:nth-child(3)::before { animation-delay: 2.8s; }
@keyframes layerFlow {
  0%   { transform: translateX(-100%); opacity: 0; }
  6%   { opacity: 1; }
  20%  { transform: translateX(200%); opacity: 1; }
  21%  { opacity: 0; }
  100% { transform: translateX(200%); opacity: 0; }
}
.layer:last-child { border-right: none; }
@media (max-width: 900px) {
  .layer { border-right: none; border-bottom: 1px solid var(--rule-soft); }
  .layer:last-child { border-bottom: none; }
}
.layer:hover { background: var(--bg-2); }

.layer-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.layer-id .num { color: var(--accent); font-weight: 600; }
.layer-id .arrow {
  width: 18px; height: 1px; background: var(--muted-2);
  position: relative;
}
.layer-id .arrow::after {
  content: '';
  position: absolute; right: 0; top: -3px;
  width: 6px; height: 6px;
  border-top: 1px solid var(--muted-2);
  border-right: 1px solid var(--muted-2);
  transform: rotate(45deg);
}
.layer:last-child .layer-id .arrow { display: none; }

.layer h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.layer p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: -8px 0 0;
}
.layer ul {
  list-style: none; padding: 0; margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.layer ul li {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed var(--rule-dashed);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.layer ul li::before {
  content: '+';
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   BRIEF SHOWCASE — editorial memo
   ============================================================ */
.brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 980px) { .brief { grid-template-columns: 1fr; } }

.brief-copy h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
  font-weight: 500;
}
.brief-copy h2 em {
  font-style: italic; color: var(--accent);
}
.brief-copy h2 .qm {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent);
}
.brief-copy .lede {
  margin-top: 28px;
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 480px;
}
.brief-pull {
  margin: 32px 0;
  padding: 24px 0 24px 24px;
  border-left: 3px solid var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 480px;
}
.brief-copy .small {
  color: var(--muted); font-size: 0.95rem; max-width: 480px;
}

/* memo card — feels like a document not a UI tile */
.memo {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  font-size: 0.95rem;
}
.memo::before {
  content: '';
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 4px;
  background: var(--accent);
  border-radius: 0 0 2px 2px;
}
.memo-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
  gap: 12px;
}
.memo-head .who {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}
.memo-head .who span { color: var(--muted); font-weight: 400; }
.memo-head .stamp {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.memo-head .stamp b { color: var(--ink); font-weight: 500; }

.memo-section { padding: 14px 0; border-bottom: 1px dashed var(--rule-dashed); }
.memo-section:last-child { border-bottom: none; }
.memo-section .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.memo-section .label::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--rule-soft);
}
.memo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 6px 0;
  align-items: baseline;
  font-size: 0.95rem;
}
.memo-row + .memo-row { border-top: 1px dotted var(--rule-dashed); }
.memo-row .meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: lowercase;
  white-space: nowrap;
}
.memo-row .pill {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.memo-row .pill.warn {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.memo-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.memo-footer .blink {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  animation: blink 1.4s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0.2; } }

/* ============================================================
   FEATURES — module cards in a 12-col asymmetric grid
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.feature {
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.feature:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.feature .module-id {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.feature .glyph {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 500;
  color: var(--accent);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: var(--accent-soft);
  border-radius: 10px;
}
.feature h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 6px 0 0;
}
.feature p { color: var(--muted); font-size: 0.97rem; line-height: 1.5; margin: 0; }
.feature .caption {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--rule-dashed);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.feature.span-7 { grid-column: span 7; }
.feature.span-6 { grid-column: span 6; }
.feature.span-5 { grid-column: span 5; }
.feature.span-4 { grid-column: span 4; }
.feature.span-12 { grid-column: span 12; }
.feature.span-12 h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); max-width: 22ch; }
.feature.span-12 p { max-width: 64ch; }
@media (max-width: 980px) {
  .feature.span-7, .feature.span-6, .feature.span-5, .feature.span-4, .feature.span-12 { grid-column: span 6; }
}
@media (max-width: 640px) {
  .feature.span-7, .feature.span-6, .feature.span-5, .feature.span-4, .feature.span-12 { grid-column: span 12; }
}

/* feature with mini visual */
.feature.has-viz { padding-bottom: 0; gap: 18px; }
.feature .viz {
  margin: 8px -26px 0;
  padding: 18px 26px;
  border-top: 1px dashed var(--rule-dashed);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 0 0 14px 14px;
}
.feature .viz .line { display: grid; grid-template-columns: 60px 1fr; gap: 10px; align-items: baseline; }
.feature .viz .line .k { color: var(--muted); }
.feature .viz .line .v { color: var(--ink); }
.feature .viz .line .v .accent { color: var(--accent); }
.feature .viz .cursor::after {
  content: '▌';
  color: var(--accent);
  animation: blink 1s steps(2) infinite;
  margin-left: 2px;
}

/* ============================================================
   PRINCIPLES — editorial numbered list
   ============================================================ */
.principles {
  border-top: 1px solid var(--rule);
}
.principle {
  display: grid;
  grid-template-columns: 96px minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  padding: 32px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: start;
  transition: background 0.2s;
}
.principle:last-child { border-bottom: 1px solid var(--rule); }
.principle:hover { background: var(--bg-2); }
@media (max-width: 760px) {
  .principle { grid-template-columns: 60px 1fr; gap: 16px 20px; }
  .principle p { grid-column: 2; }
}
.principle .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 0.9;
  font-feature-settings: 'tnum';
}
.principle h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}
.principle p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: 560px;
}

/* ============================================================
   CTA — quiet line
   ============================================================ */
.cta {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding-top: clamp(24px, 4vw, 48px);
}
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; align-items: start; } }
.cta h2 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
  max-width: 18ch;
}
.cta .small { color: var(--muted); margin-top: 18px; max-width: 360px; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  border-top: 1px solid var(--rule-soft);
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; text-align: left; gap: 16px; }
}
.footer-inner .mid {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
}
@media (max-width: 760px) { .footer-inner .mid { text-align: left; } }
.footer-links { display: flex; gap: 16px; justify-content: flex-end; }
@media (max-width: 760px) { .footer-links { justify-content: flex-start; } }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: 0.06s; }
.reveal[data-delay='2'] { transition-delay: 0.12s; }
.reveal[data-delay='3'] { transition-delay: 0.18s; }
.reveal[data-delay='4'] { transition-delay: 0.24s; }

/* Memo card sequential reveal — sections cascade in once the card lands */
.memo .memo-section,
.memo .memo-footer {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.memo.in .memo-section,
.memo.in .memo-footer {
  opacity: 1;
  transform: none;
}
.memo.in .memo-section:nth-of-type(1) { transition-delay: 0.45s; }
.memo.in .memo-section:nth-of-type(2) { transition-delay: 0.65s; }
.memo.in .memo-section:nth-of-type(3) { transition-delay: 0.85s; }
.memo.in .memo-section:nth-of-type(4) { transition-delay: 1.05s; }
.memo.in .memo-footer { transition-delay: 1.25s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .event, .thinking-tag, .agenda .ag, .scene-intro, .conclusion { opacity: 1 !important; transform: none !important; }
  .cockpit-panel-ask .typed { width: 30ch; animation: none; }
  .memo .memo-section, .memo .memo-footer { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   WAITLIST
   ============================================================ */
.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 980px) { .waitlist { grid-template-columns: 1fr; } }

.waitlist-copy h2 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
}
.waitlist-copy .small {
  color: var(--muted);
  margin-top: 24px;
  max-width: 460px;
  font-size: 1.02rem;
}

.waitlist-form {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.waitlist-form::before {
  content: '';
  position: absolute;
  top: 0; left: clamp(24px, 3vw, 36px); right: clamp(24px, 3vw, 36px);
  height: 4px;
  background: var(--accent);
  border-radius: 0 0 2px 2px;
}
.waitlist-field { display: flex; flex-direction: column; gap: 12px; }
.waitlist-field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.waitlist-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}
@media (max-width: 520px) { .waitlist-input { grid-template-columns: 1fr; } }

.waitlist-input input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.04rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.waitlist-input input::placeholder { color: var(--muted-2); }
.waitlist-input input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
.waitlist-input input:disabled { opacity: 0.6; cursor: not-allowed; }
.waitlist-input .btn { min-height: 52px; padding: 0 22px; }
.waitlist-input .btn:disabled { opacity: 0.6; cursor: not-allowed; }

.waitlist-status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  min-height: 1.4em;
}
.waitlist-status.ok { color: var(--accent); }
.waitlist-status.err { color: #c0392b; }
[data-theme='dark'] .waitlist-status.err { color: #ff6b56; }
.waitlist-status .tick { display: inline-block; margin-right: 4px; }

.waitlist-meta {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule-soft);
}
.waitlist-meta li {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--rule-dashed);
  font-size: 0.94rem;
  color: var(--ink-2);
}
.waitlist-meta li:last-child { border-bottom: none; }
.waitlist-meta .k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* ============================================================
   FOOTER (extended)
   ============================================================ */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding-top: 16px;
  padding-bottom: 40px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand .nav-brand img { height: 22px; }
.footer-brand .nav-brand .nav-icon { height: 28px; width: 28px; border-radius: 7px; }
.footer-tag {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 320px;
}
.footer-col h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--accent); }
.footer-col li { color: var(--muted); }

.footer-foot {
  border-top: 1px solid var(--rule-soft);
  padding-top: 24px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--muted);
}
.footer-foot .mono { font-size: 0.7rem; }

/* ============================================================
   LEGAL PAGES (Imprint, Privacy, Terms)
   ============================================================ */
.legal {
  padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 6vw, 96px);
  max-width: 760px;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 24px 0 0;
  font-weight: 500;
}
.legal h1 em { color: var(--accent); font-style: italic; }
.legal .lede {
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 620px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule-soft);
}
.legal h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 56px 0 16px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.legal h2::before {
  content: '§';
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.1rem;
}
.legal p {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.6;
}
.legal address {
  font-style: normal;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink-2);
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.6;
  border-radius: 0 8px 8px 0;
}
.legal address strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.legal .stamp {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.legal a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.legal a:hover { border-bottom-color: var(--accent); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: none !important;
  color: var(--ink-2);
}
.legal-back:hover { color: var(--accent); }


/* ============================================================
   v2 — Thinking panel (hero, replaces cockpit-panel)
   ============================================================ */
.hero-headline .line-1 { color: var(--muted); }
.hero-headline .line-2 { color: var(--ink); }

.thinking-panel {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 18px;
  padding: 22px 24px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
}
.thinking-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 2px 2px;
  z-index: 2;
}
.thinking-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent) 0%, transparent 40%);
  pointer-events: none;
}

.thinking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
  z-index: 1;
}
.thinking-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.thinking-title .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-out infinite;
}
.thinking-stamp {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity 0.3s ease;
}

.thinking-body {
  position: relative;
  flex: 1;
  margin-top: 18px;
  min-height: 220px;
}

.scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 1;
  z-index: 2;
  animation: scene-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.scene.leave {
  z-index: 1;
  animation: scene-out 0.32s ease forwards;
}
@keyframes scene-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@keyframes scene-out {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(-6px); }
}

/* Friendly hero scene — one human sentence + agenda + conclusion */
.scene-intro {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
  animation: child-in 0.4s ease 0.08s both;
}
@keyframes child-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

.agenda {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.agenda .ag {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px dashed var(--rule-dashed);
  animation: child-in 0.4s ease both;
}
.agenda .ag:first-child { border-top: none; padding-top: 2px; }
.agenda .ag:nth-child(1) { animation-delay: 0.16s; }
.agenda .ag:nth-child(2) { animation-delay: 0.22s; }
.agenda .ag:nth-child(3) { animation-delay: 0.28s; }
.agenda .ag:nth-child(4) { animation-delay: 0.34s; }
.agenda .ag:nth-child(5) { animation-delay: 0.40s; }

.ag-t {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ag-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.3;
}
.ag-arrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}
.agenda .ag.is-open .ag-t { color: var(--accent); }
.agenda .ag.is-open .ag-title {
  color: var(--accent);
  font-weight: 500;
  font-style: italic;
}

/* Conclusion — the headline of the panel, no card chrome */
.conclusion {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  animation: child-in 0.5s ease 0.42s both;
}
.conclusion-mark {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: 600;
}
.conclusion-text {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 1.35vw, 1.32rem);
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}

.thinking-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.thinking-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tdot {
  width: 18px; height: 4px;
  background: var(--rule-soft);
  border: none;
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, width 0.25s;
}
.tdot:hover { background: var(--muted-2); }
.tdot.is-active { background: var(--accent); width: 28px; }
.thinking-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.thinking-tag .blink {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.4s ease-in-out infinite;
}

/* ============================================================
   v2 — Catches section ("What it caught today")
   ============================================================ */
.section-catches { padding-bottom: clamp(56px, 7vw, 96px); }
.section-catches .section-head h2 em {
  font-style: italic;
  color: var(--accent);
}

.catches {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.catch {
  grid-column: span 4;
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.catch::before {
  content: '';
  position: absolute;
  top: 0; left: 24px;
  width: 32px; height: 2px;
  background: var(--accent);
  opacity: 0.8;
  transition: width 0.25s ease;
}
.catch:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-inner-card);
}
.catch:hover::before { width: 80px; }

.catch.span-4 { grid-column: span 4; }
.catch.span-6 { grid-column: span 6; }
.catch.span-12 { grid-column: span 12; }

@media (max-width: 980px) {
  .catch.span-4, .catch.span-6, .catch.span-12 { grid-column: span 6; }
}
@media (max-width: 640px) {
  .catch.span-4, .catch.span-6, .catch.span-12 { grid-column: span 12; }
}

.catch-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--rule-dashed);
}
.catch-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  font-feature-settings: 'tnum';
}
.catch-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  padding: 4px 9px;
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  background: var(--bg-2);
}
.catch-tag.tag-warn {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  background: var(--accent-soft);
}
.catch-time {
  margin-left: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.catch-trail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.catch-trail li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.9rem;
  align-items: baseline;
  border-top: 1px dotted var(--rule-dashed);
}
.catch-trail li:first-child { border-top: none; padding-top: 0; }
.catch-trail .k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.catch-trail .v {
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-variant-numeric: tabular-nums;
}

.catch-line {
  margin: auto 0 0;
  padding: 12px 14px 12px 12px;
  border-radius: 10px;
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.catch-line .arrow {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.3;
  flex: 0 0 auto;
  font-weight: 600;
}
.catch-line em {
  font-family: 'Space Grotesk', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.catches-footnote {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px dashed var(--rule-dashed);
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 760px;
}

/* Hero meta strip — small dotted KPIs under the CTA */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta span::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}


/* ============================================================
   v2 — Day section ("Your day. The whole app.")
   ============================================================ */

.section-day {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.day-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 980px) {
  .day-grid { grid-template-columns: 1fr; align-items: center; }
  .day-phone-wrap { justify-self: center; order: -1; }
}

.day-copy { padding-top: 12px; }
.day-h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin-top: 24px;
  font-weight: 500;
}
.day-h2 em {
  font-style: italic;
  color: var(--accent);
}
.day-copy .lede {
  margin-top: 28px;
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 520px;
}

.day-specs {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  max-width: 640px;
}
.spec-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spec-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.spec-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.spec-list.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.spec-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.swatch {
  width: 12px; height: 12px;
  border-radius: 3px;
  flex: 0 0 12px;
  border: 1px solid transparent;
}
.swatch.s-work1    { background: color-mix(in srgb, var(--accent) 22%, var(--bg)); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.swatch.s-work2    { background: #e3edf8; border-color: #93b3d4; }
.swatch.s-personal { background: #f6ece0; border-color: #d6bb95; }
[data-theme='dark'] .swatch.s-work2    { background: #18242f; border-color: #2c4664; }
[data-theme='dark'] .swatch.s-personal { background: #25201a; border-color: #5a4a36; }

/* ---------- Phone frame ---------- */
.day-phone-wrap {
  position: relative;
  perspective: 1200px;
}
.phone {
  width: 360px;
  height: 820px;
  background: #0b0b0b;
  border-radius: 56px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 60px 80px -40px rgba(0, 0, 0, 0.35),
    0 30px 60px -30px rgba(15, 138, 79, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
[data-theme='dark'] .phone {
  background: #050505;
  box-shadow:
    0 60px 80px -40px rgba(0, 0, 0, 0.7),
    0 30px 60px -30px rgba(46, 196, 123, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone::before {
  /* outer chrome highlight */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 56px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.phone-screen {
  background: var(--bg);
  border-radius: 46px;
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 30px;
  background: #050505;
  border-radius: 999px;
  z-index: 20;
}
.phone-statusbar {
  flex: 0 0 50px;
  padding: 14px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-family: 'SF Pro Text', 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.phone-statusbar .sb-time { letter-spacing: -0.02em; }
.phone-statusbar .sb-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.phone-statusbar .sb-batt {
  display: inline-block;
  width: 24px;
  height: 11px;
  border: 1.2px solid currentColor;
  border-radius: 3px;
  position: relative;
  margin-left: 1px;
}
.phone-statusbar .sb-batt::after {
  content: '';
  position: absolute;
  right: -3px; top: 3px;
  width: 2px; height: 5px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
}
.phone-statusbar .sb-batt i {
  position: absolute;
  inset: 1.5px;
  background: currentColor;
  border-radius: 1.5px;
  width: 70%;
}

/* ---------- App content ---------- */
.phone-app {
  flex: 1;
  padding: 8px 18px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.app-header { padding: 6px 0 10px; }
.app-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.app-h {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  color: var(--ink);
}
.app-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.app-count {
  margin-top: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.readiness-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  margin: 8px 0 10px;
}
.rs-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.rs-bar {
  height: 4px;
  background: var(--rule-soft);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.rs-fill {
  height: 100%;
  width: 62%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.rs-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  flex: 0 0 432px; /* 12 hours × 36px */
  margin: 6px 0 8px;
}
.hour-grid {
  display: grid;
  grid-template-rows: repeat(12, 36px);
}
.hour {
  border-top: 1px dashed var(--rule-soft);
  position: relative;
}
.hour:first-child { border-top: 1px solid var(--rule-soft); }
.hour .hl {
  position: absolute;
  left: 0;
  top: -7px;
  background: var(--bg);
  padding-right: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

/* events sit absolutely on top of the hour grid */
.event {
  position: absolute;
  left: 28px;
  right: 4px;
  padding: 5px 9px 5px 10px;
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.74rem;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
  border-left: 3px solid;
  opacity: 0;
  transform: translateX(4px);
  animation: ev-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.event:nth-of-type(1) { animation-delay: 0.15s; }
.event:nth-of-type(2) { animation-delay: 0.25s; }
.event:nth-of-type(3) { animation-delay: 0.35s; }
.event:nth-of-type(4) { animation-delay: 0.45s; }
.event:nth-of-type(5) { animation-delay: 0.55s; }
.event:nth-of-type(6) { animation-delay: 0.65s; }
@keyframes ev-in {
  to { opacity: 1; transform: none; }
}
.event .ev-t {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.event .ev-title {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: -0.005em;
}
.event .ev-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-transform: uppercase;
}

/* Account tint variants — quiet, ~22% sat */
.ev-work1 {
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
  border-left-color: var(--accent);
}
.ev-work1 .ev-t { color: color-mix(in srgb, var(--accent) 80%, var(--ink)); }
.ev-work2 {
  background: #eaf1f8;
  border-left-color: #6e9bc7;
}
.ev-work2 .ev-t { color: #4a78a4; }
.ev-personal {
  background: #f8efe0;
  border-left-color: #c9a468;
}
.ev-personal .ev-t { color: #8c6a36; }
.ev-protected {
  background: transparent;
  border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent);
  border-left: 3px solid var(--accent);
}
.ev-protected .ev-title { color: color-mix(in srgb, var(--accent) 70%, var(--ink)); }
.ev-protected .ev-meta  { color: var(--accent); }

[data-theme='dark'] .ev-work2 {
  background: #1a2530;
  border-left-color: #4a78a4;
}
[data-theme='dark'] .ev-work2 .ev-t { color: #8eb4d8; }
[data-theme='dark'] .ev-personal {
  background: #2a221a;
  border-left-color: #8a6f44;
}
[data-theme='dark'] .ev-personal .ev-t { color: #c19a64; }

/* Now indicator */
.now-line {
  position: absolute;
  left: 18px;
  right: 0;
  height: 1px;
  background: var(--ink);
  display: flex;
  align-items: center;
  z-index: 5;
}
.now-dot {
  position: absolute;
  left: -4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 0 var(--ink);
  animation: now-pulse 2s ease-out infinite;
}
@keyframes now-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 30%, transparent); }
  70%  { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ink) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 0%, transparent); }
}
.now-label {
  position: absolute;
  left: -4px;
  top: -6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  background: var(--bg);
  padding: 0 4px 0 8px;
  color: var(--ink);
  text-transform: uppercase;
}

/* ---------- Tasks panel ---------- */
.tasks-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  border-top: 1px solid var(--rule-soft);
  min-height: 0;
}
.tp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 4px 0 8px;
}
.tp-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.tp-filter {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.tp-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.task {
  display: grid;
  grid-template-columns: 16px 46px 1fr;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  border-top: 1px dashed var(--rule-soft);
  font-size: 0.82rem;
  color: var(--ink);
}
.task:first-child { border-top: none; }
.t-check {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.4px solid var(--muted-2);
  display: inline-block;
}
.t-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.t-tag.t-eng  { color: #6e9bc7; }
.t-tag.t-none { color: var(--muted-2); }
.t-text { color: var(--ink-2); }

/* ---------- Tab bar ---------- */
.tab-bar {
  flex: 0 0 64px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 14px 12px;
  border-top: 1px solid var(--rule-soft);
  background: color-mix(in srgb, var(--bg) 92%, var(--ink) 8%);
}
.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tab-glyph {
  font-size: 1.05rem;
  line-height: 1;
  color: var(--muted-2);
}
.tab.is-active { color: var(--accent); }
.tab.is-active .tab-glyph { color: var(--accent); }

/* hide meta on short events (< ~36px) where it would overflow */
.event[style*="height: 18px"] .ev-meta,
.event[style*="height: 27px"] .ev-meta { display: none; }
.event[style*="height: 18px"] { padding: 3px 9px; flex-direction: row; align-items: center; gap: 8px; }
.event[style*="height: 18px"] .ev-t { font-size: 0.62rem; }
.event[style*="height: 18px"] .ev-title { font-size: 0.74rem; }


/* Scale down phone on narrow desktop / large mobile */
@media (max-width: 1100px) and (min-width: 981px) {
  .phone { transform: scale(0.92); transform-origin: top right; }
}
@media (max-width: 420px) {
  .phone { width: 320px; height: 680px; border-radius: 50px; padding: 10px; }
  .phone-screen { border-radius: 40px; }
  .timeline { flex: 0 0 360px; }
  .hour-grid { grid-template-rows: repeat(12, 30px); }
}


/* ============================================================
   v2 — Language picker (cockpit-strip dropdown)
   ============================================================ */
.lang-pick {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-toggle {
  background: transparent;
  border: 0;
  padding: 4px 8px;
  margin: -4px -8px;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  transition: background 0.15s ease;
}
.lang-toggle:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.lang-toggle .lang-current { font-weight: 600; }
.lang-toggle .lang-caret {
  font-size: 0.75rem;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.18s ease;
}
.lang-pick[data-open="true"] .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  box-shadow: 0 12px 28px -12px rgba(0,0,0,0.18), 0 4px 10px -4px rgba(0,0,0,0.08);
  display: none;
  z-index: 100;
}
.lang-pick[data-open="true"] .lang-menu { display: block; }
.lang-menu li { display: block; }
.lang-opt {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 8px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-opt:hover { background: var(--bg-2); color: var(--ink); }
.lang-opt.is-active {
  color: var(--accent);
  font-weight: 600;
}
.lang-opt.is-active::after {
  content: '✓';
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  color: var(--accent);
}


/* ============================================================
   v2 — Hero phone (Dash home tab in an iPhone frame)
   ============================================================ */
.hero-side {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 0;
}
.hero-phone {
  width: 340px;
  height: 720px;
  border-radius: 50px;
  padding: 11px;
}
.hero-phone .phone-screen { border-radius: 40px; }

.dash-app {
  flex: 1;
  padding: 6px 20px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.dash-head {
  padding: 8px 0 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--rule-soft);
  flex: 0 0 auto;
}
.dash-h {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.dash-stamp {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-app .thinking-body {
  position: relative;
  flex: 1;
  margin-top: 14px;
  min-height: 0;
}

.dash-foot {
  flex: 0 0 auto;
  margin-top: 10px;
  padding: 10px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rule-soft);
}

/* Slight density tweaks for content inside the phone */
.dash-app .scene-intro {
  font-size: 0.96rem;
  line-height: 1.32;
}
.dash-app .agenda .ag { padding: 7px 0; }
.dash-app .ag-title { font-size: 0.88rem; }
.dash-app .ag-t { font-size: 0.74rem; }
.dash-app .conclusion {
  margin-top: auto;
  padding-top: 14px;
  grid-template-columns: 18px 1fr;
  gap: 8px;
}
.dash-app .conclusion-text {
  font-size: 1.02rem;
  line-height: 1.28;
}
.dash-app .conclusion-mark { font-size: 1.1rem; }

/* phone-side responsiveness */
@media (max-width: 980px) {
  .hero-side { justify-content: center; }
}
@media (max-width: 420px) {
  .hero-phone { width: 300px; height: 640px; border-radius: 44px; padding: 9px; }
  .hero-phone .phone-screen { border-radius: 36px; }
}


/* ============================================================
   v2 — Scene blocks (Up next + Open tasks labels, task list)
   ============================================================ */
.scene-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.block-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 2px;
  animation: child-in 0.4s ease 0.06s both;
}

.tasklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.tasklist .tk {
  display: grid;
  grid-template-columns: 14px 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px dashed var(--rule-dashed);
  animation: child-in 0.4s ease both;
}
.tasklist .tk:first-child { border-top: none; padding-top: 2px; }
.tasklist .tk:nth-child(1) { animation-delay: 0.18s; }
.tasklist .tk:nth-child(2) { animation-delay: 0.24s; }
.tasklist .tk:nth-child(3) { animation-delay: 0.30s; }
.tasklist .tk:nth-child(4) { animation-delay: 0.36s; }
.tk-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1.4px solid var(--muted-2);
  display: inline-block;
}
.tk-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.tk-tag.tk-tag-none { color: var(--muted-2); }
.tk-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.3;
}

/* In the dash-app phone, tighter gaps */
.dash-app .scene {
  gap: 14px;
}
.dash-app .scene-block { gap: 2px; }
.dash-app .tasklist .tk { padding: 5px 0; }
.dash-app .agenda .ag { padding: 6px 0; }

/* ====================== CONSENT BANNER ====================== */
.gud-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 14px 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
}
.gud-consent-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.gud-consent-body {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.gud-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.gud-consent-more {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gud-consent-more:hover { color: var(--ink); }
.gud-consent-btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--rule-soft);
  background: transparent;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.gud-consent-decline:hover {
  background: var(--bg-2);
  border-color: var(--rule-dashed);
}
.gud-consent-accept {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
}
.gud-consent-accept:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
@media (max-width: 480px) {
  .gud-consent { left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; }
  .gud-consent-actions { width: 100%; justify-content: flex-end; }
}

/* ============================================================
   Mobile cleanup — nav collapse + hero phone scaling
   ============================================================ */
@media (max-width: 760px) {
  .nav-inner { height: 60px; }
  .nav-links { gap: 4px; }
  .nav-links .nav-link { display: none; }
  .nav-brand img.wordmark-light,
  .nav-brand img.wordmark-dark { height: 20px; }
}

@media (max-width: 720px) {
  .hero-phone {
    width: min(320px, calc(100vw - 56px));
    height: auto;
    aspect-ratio: 340 / 720;
    padding: 10px;
  }
  .hero-side { width: 100%; justify-content: center; }

  /* Day section phone — same scaling treatment */
  .day-grid { grid-template-columns: minmax(0, 1fr); }
  .day-phone-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    perspective: none;
  }
  .day-phone-wrap .phone {
    width: min(320px, calc(100vw - 56px));
    height: auto;
    aspect-ratio: 360 / 820;
    padding: 10px;
    transform: none !important;
  }
  .day-phone-wrap .phone-screen { border-radius: 44px; }
  .hero-phone .dash-app { padding: 4px 16px 0; }
  .hero-phone .dash-app .scene-intro { font-size: 0.88rem; line-height: 1.28; }
  .hero-phone .dash-app .agenda .ag { padding: 5px 0; }
  .hero-phone .dash-app .ag-title { font-size: 0.82rem; }
  .hero-phone .dash-app .ag-t { font-size: 0.68rem; }
  .hero-phone .dash-app .conclusion { padding-top: 12px; }
  .hero-phone .dash-app .conclusion-text { font-size: 0.9rem; line-height: 1.24; }
  .hero-phone .dash-app .conclusion-mark { font-size: 1rem; }
  .hero-phone .dash-foot { margin-top: 6px; padding: 6px 0 4px; }
  .hero-phone .thinking-tag { font-size: 0.62rem; }
}

@media (max-width: 420px) {
  .hero-phone {
    width: min(300px, calc(100vw - 40px));
    aspect-ratio: 300 / 640;
    padding: 9px;
    border-radius: 44px;
  }
  .hero-phone .phone-screen { border-radius: 36px; }
}
/* ============================================================
   NEW BADGE — used in cockpit strip & hero to flag the Journal launch
   ============================================================ */
.new-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px 2px 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
}
.new-pill .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-fg);
  box-shadow: 0 0 0 0 var(--accent-fg);
  animation: pulse-tiny 2s ease-out infinite;
}
@keyframes pulse-tiny {
  0%   { opacity: 1; transform: scale(1); }
  50%  { opacity: 0.55; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}
.cockpit-strip .new-pill {
  margin-left: 12px;
  background: var(--accent);
  color: var(--accent-fg);
  text-decoration: none;
  border-right: none !important;
}
.cockpit-strip .new-pill:hover {
  background: var(--accent-hover);
}
.hero-headline .new-pill {
  vertical-align: middle;
  margin-left: 14px;
  font-size: 0.7rem;
  transform: translateY(-0.12em);
}

/* ============================================================
   JOURNAL SECTION — §04
   Two columns: editorial copy + a stylized "journal entry" phone.
   Below, a row of insight cards (catches-style).
   ============================================================ */
.section-journal {
  background: var(--bg-2);
}
.journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
  margin-top: 48px;
}
@media (max-width: 980px) {
  .journal-grid { grid-template-columns: 1fr; }
}

.journal-copy h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 500;
}
.journal-copy h2 em {
  font-style: italic;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent);
  font-weight: 500;
}
.journal-copy .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 26px 0 0;
  max-width: 540px;
}
.journal-copy .lede em { color: var(--accent); font-style: italic; }

.journal-pivot {
  margin-top: 32px;
  display: inline-flex;
  padding: 4px;
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  gap: 2px;
}
.journal-pivot .opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.88rem;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
}
.journal-pivot .opt.is-on {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  font-weight: 600;
}
.journal-pivot .glyph {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--muted-2);
}
.journal-pivot .opt.is-on.personal .glyph { background: var(--accent); }
.journal-pivot .opt.is-on.customer .glyph { background: #3A5FA8; }

.journal-bullets {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 540px;
}
.journal-bullets li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: baseline;
}
.journal-bullets .k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
}
.journal-bullets h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.journal-bullets p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

/* ---- Journal phone mockup ---- */
.journal-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.journal-phone-wrap .phone {
  width: 320px;
  height: 660px;
}
.journal-phone-wrap .phone-screen {
  border-radius: 40px;
}
.journal-entry-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 18px 0;
  min-height: 0;
}
.je-head {
  display: flex; align-items: center; gap: 8px;
}
.je-stamp {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.je-mood {
  width: 12px; height: 12px; border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 70%, transparent);
}
.je-mood.mood-2 { background: #C97A2B; }
.je-mood.mood-3 { background: color-mix(in srgb, var(--muted) 70%, transparent); }
.je-mood.mood-4 { background: var(--accent); }
.je-time {
  margin-left: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}
.je-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
  margin: 0;
}
.je-body {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}
.je-body em { color: var(--accent); font-style: italic; }

.je-context-label {
  display: flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-top: 4px;
}
.je-context-label .line {
  flex: 1; height: 1px;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}
.je-context {
  background: var(--paper);
  border: 1px dashed var(--rule-dashed);
  border-radius: 10px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
}
.je-context .row {
  display: flex; align-items: baseline; gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
}
.je-context .k {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}
.je-context .v {
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 500;
}

.je-foot {
  margin-top: auto;
  padding: 10px 0 14px;
  border-top: 1px solid var(--rule-soft);
  display: flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.je-foot .blink {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s steps(2) infinite;
}

/* ---- Insights row — catches-style cards ---- */
.journal-insights {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.journal-insight {
  grid-column: span 4;
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
@media (max-width: 980px) {
  .journal-insight { grid-column: span 12; }
}
.journal-insight .head {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.journal-insight .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.journal-insight .kind {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.journal-insight h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.journal-insight p {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.journal-insight .lineage {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto; padding-top: 14px;
  border-top: 1px dashed var(--rule-dashed);
}
.journal-insight .lineage .src {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  color: var(--ink-2);
  padding: 2px 7px;
  background: var(--bg-2);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.journal-insight .lineage .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  align-self: center;
  font-weight: 600;
  margin-right: 4px;
}

/* ---- Bottom one-liner under insights ---- */
.journal-closer {
  margin-top: 48px;
  padding: 22px 24px;
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
}
.journal-closer .stamp {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.journal-closer p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-2);
  flex: 1;
  min-width: 280px;
}
.journal-closer p em { color: var(--accent); font-style: italic; }
