/* Blinky's website. Uses the app's dark tokens (DESIGN.md §5.2), Inter for text and Cormorant Garamond italic
   only for Barnaby's lines (§6.1). Flat surfaces, hairline borders, one coral emphasis per screen. */

@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }

:root {
  --canvas: #0A0A0B;
  --surface: #141416;
  --subtle: #1D1D20;
  --raised: #242428;
  --ink: #F7F7F5;
  --body: #C2C0BC;
  --muted: #92908B;
  --line: #2D2D31;
  --line-strong: #45454A;
  --coral: #E57A63;
  --on-ink: #0A0A0B;
  --ink-hover: #E4E3DF;
  --header-bg: rgb(10 10 11 / .86);
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wide: 1120px;
  color-scheme: dark;
}
/* Light theme (DESIGN.md §5.1), chosen with the header button (theme.js). */
:root[data-theme="light"] {
  --canvas: #F7F5F0;
  --surface: #FFFDF9;
  --subtle: #F0ECE5;
  --raised: #FFFFFF;
  --ink: #28251F;
  --body: #514B43;
  --muted: #81796E;
  --line: #E2DCD3;
  --line-strong: #D3CBC0;
  --coral: #D96E58;
  --on-ink: #FFFDF9;
  --ink-hover: #3D3932;
  --header-bg: rgb(247 245 240 / .86);
  color-scheme: light;
}
@media (prefers-reduced-motion: no-preference) { body { transition: background-color .25s ease, color .25s ease; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--canvas); color: var(--body); font: 400 16px/1.6 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); font-weight: 600; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--ink); color: var(--on-ink); border-radius: var(--radius-sm); z-index: 10; }
.skip:focus { left: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 17px; text-decoration: none; }
.brand svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--body); font-size: 14px; text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-nav + .header-actions { margin-left: 0; }
/* The theme button: a quiet round icon button; shows the sun in dark (to go light) and the moon in light. */
.theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer; transition: background 150ms var(--ease); }
.theme-toggle:hover { background: var(--subtle); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* Buttons (DESIGN.md §14.1–14.2): ink-filled primary, hairline secondary. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--radius-sm);
  font: 500 15px/1 'Inter', sans-serif; text-decoration: none; border: 1px solid var(--line-strong); color: var(--ink); background: transparent;
  transition: background 150ms var(--ease), border-color 150ms var(--ease), transform 150ms var(--ease); white-space: nowrap; }
.button:hover { background: var(--subtle); }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.button-primary:hover { background: var(--ink-hover); }
.button-small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero .barnaby-line { margin-bottom: 14px; }
.hero h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.05; letter-spacing: -.02em; font-weight: 600; max-width: 14ch; margin: 0 auto; }
.hero .lede { max-width: 620px; margin: 20px auto 0; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
/* The hero (2026-10-30): the hero as the moment Blinky is for. You're working; Barnaby rises in a small notch at
   the top edge of the screen with a plane and his bubble (DESIGN.md §9.4). Everything is drawn in HTML/CSS from
   the app's own art; nothing is a screenshot. Sizes follow the screen's width (container units). */
/* The screen picture keeps the app's dark colours in both page themes (its reminder is the app on screen). */
.desk { --ink: #F7F7F5; --body: #C2C0BC; --muted: #92908B; --on-ink: #0A0A0B; container-type: inline-size; position: relative; max-width: 980px; margin: 52px auto 0; aspect-ratio: 16 / 10;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 6px #17171a, 0 0 0 7px var(--line), 0 30px 70px rgb(0 0 0 / .5); background: #17171a; }
/* Wallpaper: Barnaby's own hills (the window scene), so the view says “far away”. */
.desk-wallpaper { position: absolute; top: 0; left: 0; width: 100%; height: calc(100% - 5.4cqw); object-fit: cover; }

/* A faint document window: you were working. */
.desk-app { position: absolute; left: 9%; top: 23%; width: 54%; height: 58%; border-radius: 1.1cqw; overflow: hidden;
  background: rgb(250 250 248 / .94); box-shadow: 0 1.6cqw 4cqw rgb(20 30 40 / .28); }
.desk-app-bar { display: flex; align-items: center; gap: .7cqw; height: 3.6cqw; padding: 0 1.4cqw; background: #eceae5; border-bottom: 1px solid #dedad3; }
.desk-app-bar i { width: .9cqw; height: .9cqw; border-radius: 50%; background: #cfcac2; }
.desk-app-bar b { margin-left: 1cqw; height: .8cqw; width: 22%; border-radius: 1cqw; background: #d6d1c9; }
.desk-app-page { padding: 3cqw 4cqw; }
.desk-app-page u { display: block; height: 1.7cqw; width: 48%; margin-bottom: 2.4cqw; border-radius: .4cqw; background: #3a3631; opacity: .78; }
.desk-app-page s { display: block; height: .85cqw; margin-bottom: 1.25cqw; border-radius: .4cqw; background: #c9c4bb; }
.desk-app-page s:nth-child(3) { width: 92%; } .desk-app-page s:nth-child(4) { width: 86%; } .desk-app-page s:nth-child(5) { width: 95%; }
.desk-app-page s:nth-child(6) { width: 60%; margin-bottom: 2.4cqw; } .desk-app-page s:nth-child(7) { width: 90%; } .desk-app-page s:nth-child(8) { width: 72%; }

/* Taskbar, with Blinky's eye in the tray by the clock. */
.desk-taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 5.4cqw; display: flex; align-items: center; justify-content: center; gap: 1.1cqw;
  background: #232528; border-radius: 0 0 18px 18px; border-top: 1px solid rgb(255 255 255 / .06); }
.desk-taskbar .tb { position: relative; display: grid; place-items: center; width: 3.4cqw; height: 3.4cqw; border-radius: .7cqw; color: rgb(255 255 255 / .78); }
.desk-taskbar .tb svg { width: 2cqw; height: 2cqw; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* The open app: a soft highlight and a short marker under it. */
.desk-taskbar .tb.open { background: rgb(255 255 255 / .09); color: #fff; }
.desk-taskbar .tb.open::after { content: ''; position: absolute; bottom: .25cqw; left: 50%; width: 1.1cqw; height: .25cqw; translate: -50% 0; border-radius: 1cqw; background: rgb(255 255 255 / .85); }
.desk-tray { position: absolute; right: 1.8cqw; display: flex; align-items: center; gap: 1.4cqw; color: #e9e8e4; font-size: max(9px, 1.25cqw); font-variant-numeric: tabular-nums; }
.desk-tray svg { width: 1.9cqw; height: 1.9cqw; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* The reminder: the notch hangs from the top edge, Barnaby rises in it, then his bubble. */
.desk-reminder { position: absolute; top: 0; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; width: 40cqw; }
.desk-notch { position: relative; width: 19cqw; height: 14.5cqw; border-radius: 0 0 3cqw 3cqw; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, #49302a, #141110 72%); box-shadow: 0 1cqw 3cqw rgb(0 0 0 / .35);
  animation: notch-down .55s cubic-bezier(.2, .8, .2, 1) .5s both; }
.desk-notch img { position: absolute; left: 0; bottom: -1.8cqw; width: 100%; animation: rise .7s cubic-bezier(.2, .8, .2, 1) .9s both; }
.desk-bubble { position: relative; width: 100%; margin-top: 1.6cqw; padding: 2cqw 2.2cqw 1.8cqw; border-radius: 1.6cqw; text-align: center;
  background: #141416; border: 1px solid #3a3a3f; box-shadow: 0 1.4cqw 4cqw rgb(0 0 0 / .4); animation: bubble-in .45s cubic-bezier(.2, .8, .2, 1) 1.6s both; }
.desk-bubble::before { content: ''; position: absolute; top: -.7cqw; left: 50%; width: 1.2cqw; height: 1.2cqw; transform: translateX(-50%) rotate(45deg);
  background: #141416; border-left: 1px solid #3a3a3f; border-top: 1px solid #3a3a3f; }
.desk-bubble .barnaby-line { font-size: max(12px, 2.2cqw); line-height: 1.25; }
.desk-bubble p + p { margin-top: .6cqw; font-size: max(9px, 1.35cqw); color: var(--body); }
.desk-actions { display: flex; justify-content: center; align-items: center; gap: 2cqw; margin-top: 1.6cqw; font-size: max(9px, 1.35cqw); color: var(--muted); }
.desk-actions span:first-child { padding: .9cqw 1.6cqw; border-radius: 1cqw; background: var(--ink); color: var(--on-ink); font-weight: 500; }

@keyframes notch-down { from { translate: 0 -100%; } to { translate: 0 0; } }
@keyframes rise { from { translate: 0 60%; } to { translate: 0 0; } }
@keyframes bubble-in { from { opacity: 0; transform: translateY(-1cqw) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .desk-notch, .desk-notch img, .desk-bubble { animation: none; } }

/* Phones: the screen is small, so the reminder takes more of it and the document steps back. */
@media (max-width: 640px) {
  .desk { aspect-ratio: 4 / 5; border-radius: 14px; margin-top: 40px; box-shadow: 0 0 0 4px #17171a, 0 0 0 5px var(--line), 0 20px 40px rgb(0 0 0 / .45); }
  .desk-app { left: 7%; top: 58%; width: 86%; height: 30%; }
  .desk-reminder { width: 82cqw; }
  .desk-notch { width: 40cqw; height: 31cqw; border-radius: 0 0 6cqw 6cqw; }
  .desk-notch img { bottom: -3.6cqw; }
  .desk-bubble { margin-top: 3cqw; padding: 4cqw 4cqw 3.6cqw; border-radius: 3.4cqw; }
  .desk-bubble .barnaby-line { font-size: 5cqw; }
  .desk-bubble p + p, .desk-actions { font-size: 3.4cqw; }
  .desk-actions { gap: 4cqw; margin-top: 3.4cqw; }
  .desk-actions span:first-child { padding: 2cqw 3.4cqw; border-radius: 2.2cqw; }
  .desk-taskbar { height: 11cqw; gap: 2.4cqw; border-radius: 0 0 14px 14px; }
  .desk-wallpaper { height: calc(100% - 11cqw); }
  .desk-taskbar .tb { width: 7.6cqw; height: 7.6cqw; border-radius: 1.6cqw; }
  .desk-taskbar .tb svg { width: 4.6cqw; height: 4.6cqw; }
  .desk-taskbar .tb.open::after { width: 2.6cqw; height: .55cqw; bottom: .5cqw; }
  .desk-taskbar .tb:nth-child(4), .desk-taskbar .tb:nth-child(6) { display: none; }
  .desk-tray { right: 3.4cqw; gap: 2.6cqw; font-size: 3.2cqw; }
  .desk-tray svg { width: 4.4cqw; height: 4.4cqw; }
}

/* Barnaby's window, drawn as in the app's Today screen (DESIGN.md §9.0): the arched pane with its sash, casing
   and gasket, two panes of glass with a faint sheen and a latch, the sill, and Barnaby leaning on it. The view
   is the app's own scene, exported as SVG (sketches/website/export-art.mjs), with its weather still falling. */
.window { --arch: clamp(34px, 10vw, 88px); --sill-out: 22px; --sash: #2c2927; --casing: #201f23; --gasket: #121113; --latch: #9e988e;
  --sill: #36322e; --sill-front: #292623; --sill-edge: #46413c; position: relative; aspect-ratio: 2 / 1; }
[data-theme="light"] .window { --sash: #efeae1; --casing: #e2dbd0; --gasket: #b8afa2; --latch: #8c8275; --sill: #efe9df; --sill-front: #dfd7ca; --sill-edge: #c4b9a8; }
.window-pane { position: absolute; inset: 0; border-radius: var(--arch) var(--arch) 6px 6px; overflow: hidden; isolation: isolate;
  border: 5px solid var(--sash); background: #9db7c6;
  box-shadow: 0 0 0 1px var(--gasket), 0 0 0 7px var(--casing), 0 0 0 8px var(--sill-edge), 0 10px 24px rgb(0 0 0 / .18); }
.window-pane::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 3px 12px rgb(0 0 0 / .28); pointer-events: none; }
.window-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.window-glass { position: absolute; inset: 0; z-index: 1; display: flex; }
.window-glass span { flex: 1; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .05); background: linear-gradient(115deg, transparent 38%, rgb(255 255 255 / .07) 46%, transparent 54%); }
.window-glass span:first-child { border-right: 1px solid rgb(255 255 255 / .12); }
.window-glass::after { content: ''; position: absolute; top: 54%; left: 50%; width: 4px; height: 14px; transform: translate(-50%, -50%); border-radius: 2px; background: var(--latch); opacity: .55; }
.window-sill { position: absolute; left: calc(-1 * var(--sill-out)); right: calc(-1 * var(--sill-out)); bottom: -14px; height: 18px; z-index: 2; border-radius: 6px;
  background: var(--sill-front); border: 1px solid var(--sill-edge); border-top: 5px solid var(--sill);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 8px 18px rgb(0 0 0 / .22); }
/* He leans on the sill: the box is his 560 x 440 pose canvas; the image runs 40 canvas px below it, over the sill's front. */
.window-barnaby { position: absolute; left: 4%; bottom: 3px; z-index: 3; height: 46%; aspect-ratio: 560 / 440; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .25)); }
.window-barnaby::before { content: ''; position: absolute; left: 16%; right: 16%; bottom: -6px; height: 12px; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .6), transparent); }
.window-barnaby > img { position: absolute; top: 0; left: 0; width: 100%; height: calc(100% * 480 / 440); transform-origin: 50% 91.667%; animation: breathe 4.2s ease-in-out infinite; }
.window-plane { position: absolute; left: 84%; bottom: 0; width: 30%; aspect-ratio: 60 / 36; }
.window-plane img { width: 100%; height: 100%; transform: translateY(37%) scaleX(-1) rotate(7.6deg); }
.window-readout { position: absolute; top: 13%; left: 9%; z-index: 1; color: #fff; text-align: left; text-shadow: 0 1px 12px rgb(30 40 50 / .35); }
.window-readout span { display: block; font-size: clamp(12px, 1.7vw, 16px); font-weight: 500; }
.window-readout strong { display: block; font-size: clamp(40px, 9vw, 92px); line-height: 1; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.window.small { --arch: 36px; --sill-out: 8px; }
.window.small .window-pane { border-width: 3px; box-shadow: 0 0 0 1px var(--gasket), 0 0 0 4px var(--casing), 0 0 0 5px var(--sill-edge); }
.window.small .window-sill { bottom: -9px; height: 12px; border-top-width: 3px; border-radius: 4px; }
.window.small .window-barnaby { bottom: 2px; height: 50%; }
.window.small .window-barnaby::before { display: none; }
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.014); } }
@media (prefers-reduced-motion: reduce) { .window-barnaby > img { animation: none; } }

.barnaby-line { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500; font-size: 24px; line-height: 1.3; color: var(--ink); }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { display: block; margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 500; }
.section-head h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; letter-spacing: -.015em; }
.section-head p { margin-top: 14px; font-size: 17px; }
.rule { border-top: 1px solid var(--line); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-number { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 16px; font-size: 17px; }
.step p { margin-top: 6px; font-size: 15px; }
/* Between rests: Barnaby's window with the countdown, as on Blinky's Today screen. */
.watch-demo { margin: 32px 0 0; padding: 40px 56px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.watch-demo .window { max-width: 680px; margin: 0 auto 14px; container-type: inline-size; }
.watch-demo figcaption { margin-top: 30px; text-align: center; color: var(--muted); font-size: 14px; }
/* He follows the mouse (site.js): poses swap; looking right is his look-left pose mirrored. Click him to say hello. */
.watch-demo .window-barnaby { cursor: pointer; }
.window-barnaby.is-mirrored > img { scale: -1 1; }
/* Beside his head, pointing at him, below the countdown. */
.window-say { position: absolute; left: 30%; bottom: 26%; z-index: 4; width: max-content; max-width: min(280px, 44%); padding: 9px 14px 10px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 10px 24px rgb(0 0 0 / .2);
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(13px, 2.6cqw, 19px); line-height: 1.25; color: var(--ink);
  opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s var(--ease); pointer-events: none; }
.window-say::after { content: ''; position: absolute; left: -6px; bottom: 14px; width: 10px; height: 10px; transform: rotate(45deg);
  background: var(--surface); border-left: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.window-say.is-shown { opacity: 1; transform: none; }
/* Small windows (phones): lower, beside his chest, so the countdown stays clear. */
@container (max-width: 460px) { .window-say { bottom: 9%; left: 31%; max-width: 52%; padding: 6px 10px 7px; } .window-say::after { bottom: 9px; } }
.window-say:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .window-say { transition: none; } }

/* Feature lists */
/* Each card draws its own right and bottom line (the ones on the outer edge are clipped), so a short last row
   leaves plain page background rather than an empty grey box. */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--canvas); }
.feature { padding: 22px 24px; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.feature h3 { font-size: 15px; }
.feature p { margin-top: 4px; font-size: 14px; color: var(--body); }

/* Pro */
.pro-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.pro-head .section-head { margin-bottom: 0; }
.price-card { display: flex; align-items: center; gap: 20px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.price { color: var(--ink); font-size: 32px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.pro-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 12px; font-weight: 500; vertical-align: middle; }
.pro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pro-item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.pro-item.wide { grid-column: 1 / -1; }
.pro-copy { padding: 24px 24px 20px; }
.pro-copy h3 { font-size: 18px; }
.pro-copy p { margin-top: 6px; font-size: 15px; }
.pro-media { margin-top: auto; padding: 0 24px 24px; }
.pro-media.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 34px; padding: 12px 36px 24px; }
.seasons figure { margin: 0; }
.seasons figcaption { margin-top: 22px; color: var(--muted); font-size: 13px; }
.planes-row { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; padding: 0 24px 24px 40px; }
/* Barnaby at his window at night, holding the Night plane (“off to the stars”): a taller window, and the scene's
   dusk light on him as in the app (DESIGN.md §9.0). */
.window.night-window { --arch: 64px; --sill-out: 14px; aspect-ratio: 5 / 4; margin-bottom: 14px; }
.night-window .window-pane { background: #1b2238; }
/* As the app's dusk window (TodayView.css): no sheen on the glass at night, and a fainter line where the panes meet. */
.night-window .window-glass span { background: none; box-shadow: none; }
.night-window .window-glass span:first-child { border-right-color: rgb(255 255 255 / .07); }
.night-window .window-barnaby { left: 50%; translate: -50% 0; height: 62%; filter: brightness(.86) saturate(.92) drop-shadow(0 6px 10px rgb(0 0 0 / .3)); }

/* The plane collection, as Personalize's tiles. */
.plane-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.plane-grid li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); text-align: center; }
.plane-grid li.chosen { border-color: var(--ink); }
.plane-grid img { width: 64px; height: 38px; margin-bottom: 8px; }
.plane-grid strong { color: var(--ink); font-size: 14px; font-weight: 500; }
.plane-grid span { color: var(--muted); font-size: 12px; line-height: 1.35; }

/* Your week, as on Rest Rhythm: a count over each bar, today in ink, days ahead dashed. */
.week-chart { padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.week-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 150px; }
.week-day { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; color: var(--muted); font-size: 13px; }
.week-day b { color: var(--body); font-weight: 500; font-variant-numeric: tabular-nums; }
.week-day i { display: block; width: min(44px, 70%); border-radius: 5px 5px 0 0; background: var(--muted); }
.week-day.today b, .week-day.today small { color: var(--ink); font-weight: 600; }
.week-day.today i { background: var(--ink); }
.week-day small { font-size: 13px; padding-top: 8px; border-top: 1px solid var(--line); width: 100%; text-align: center; }
.week-day.ahead small { border-top-style: dashed; }
.week-chart p { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.pro-note { margin-top: 20px; color: var(--muted); font-size: 14px; }

/* Privacy */
.privacy-band { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; }
.checklist li::before { content: ''; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: radial-gradient(circle, var(--ink) 0 3px, transparent 3.5px); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; color: var(--ink); font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 20px; font-weight: 400; transition: transform 150ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: 15px; max-width: 64ch; }
.faq details p + p { margin-top: -8px; }

/* Download band */
.download { position: relative; text-align: center; padding-top: 64px; }
/* The FAQ ends lower, so Barnaby's head has room above the line. */
#faq { padding-bottom: 112px; }
/* Barnaby peeks over the line at the top of this section (character-v3 peek pose, as he peeks over the sill in the
   app): his eyes above it, his paws over it. The box is his 560 x 440 pose canvas with its bottom on the line; the
   image runs 40 canvas px below, where the paws hang. */
.peek { position: absolute; top: 0; left: 50%; width: 260px; aspect-ratio: 560 / 440; translate: -50% -100%; pointer-events: none;
  filter: drop-shadow(0 6px 10px rgb(0 0 0 / .3)); }
.peek img { position: absolute; top: 0; left: 0; width: 100%; height: calc(100% * 480 / 440); }
.download h2 { font-size: clamp(28px, 4vw, 36px); letter-spacing: -.015em; }
.download p { margin-top: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
/* Home page: copyright left, the line in the exact centre, links right. */
.site-footer .footer-three { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.footer-three .footer-tagline { text-align: center; }
.footer-three nav { justify-self: end; }
@media (max-width: 640px) {
  .site-footer .footer-three { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 10px; }
  .footer-three nav { justify-self: center; }
}

/* Legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 36px; letter-spacing: -.015em; line-height: 1.15; }
.legal .updated { margin-top: 8px; color: var(--muted); font-size: 14px; }
.legal h2 { margin-top: 40px; font-size: 20px; }
.legal p, .legal li { font-size: 16px; }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .summary { margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal .summary p:first-child { margin-top: 0; }

/* Narrow screens: a 16px gutter and single columns. */
@media (max-width: 900px) {
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .pro-grid, .privacy-band { grid-template-columns: 1fr; }
  .privacy-band { gap: 0; }
  .pro-media.seasons { grid-template-columns: 1fr 1fr; padding: 12px 28px 24px; }
  .plane-grid { grid-template-columns: repeat(5, 1fr); }
  .planes-row { grid-template-columns: 1fr; padding: 0 24px 24px; gap: 32px; }
  .window.night-window { width: min(100%, 300px); margin: 8px auto 14px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .site-nav { display: none; }
  .header-actions, .site-nav + .header-actions { margin-left: auto; }
  .hero { padding-top: 48px; }
  .hero .lede { font-size: 16px; }
  section { padding: 56px 0; }
  .steps, .features { grid-template-columns: 1fr; }
  .watch-demo { padding: 28px 24px 22px; }
  .peek { width: 220px; }
  #faq { padding-bottom: 96px; }
  .download { padding-top: 56px; }
  .window { --sill-out: 12px; }
  .plane-grid { grid-template-columns: repeat(2, 1fr); }
  .week-chart { padding: 18px 14px; }
  .week-bars { gap: 6px; }
  .price-card { width: 100%; justify-content: space-between; }
  .legal { padding: 40px 16px 64px; }
}

/* Contact page: a short intro, then the direct email and tips side by side. */
.contact { max-width: 1088px; margin: 0 auto; padding: 56px 24px 88px; }
.contact-head { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.contact-head h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -.02em; line-height: 1.1; }
.contact-head p { margin-top: 14px; max-width: 62ch; font-size: 18px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 44px; align-items: start; }
.contact-label { margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.contact-email { color: var(--ink); font-size: clamp(22px, 3vw, 28px); font-weight: 600; letter-spacing: -.01em; text-decoration: none; overflow-wrap: anywhere; }
.contact-email:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-note { margin-top: 12px; font-size: 15px; }
.contact-block { padding: 0; }
.contact-block ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; font-size: 15px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 640px) { .contact { padding: 40px 16px 64px; } }

