/* agent notch's store, in the app's look (Sources/AgentNotch/Design/Theme.swift and Identity.swift): a grey paper
   page, white cards, near-black ink and pills, a near-black stage for the part that's the star (your accounts),
   caption yellow only where something marks "you are here", Kit's pixel art as the one ornament, and Instrument Sans
   for the big words. Light and dark are each set on their own, not inverted. No script is needed to read any of it. */

/* Instrument Sans at the one weight and width the page sets it in (680, 86%), Latin only: make-media.sh cuts it
   from the app's variable font (the OFL allows it; the licence is linked from every page's footer). */
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/InstrumentSans-Display.woff?v=85b4431459") format("woff");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --ground: #f4f4f2;
  --ground-2: #ececea;
  --surface: #ffffff;
  --fill: #f4f4f5;
  --fill-strong: #e7e7e8;
  --hairline: rgba(17, 17, 16, 0.09);
  --hairline-strong: rgba(17, 17, 16, 0.16);
  --ink: #111110;
  --ink2: #4f4f54;
  --ink3: #67676c;
  --on-ink: #ffffff;
  --accent: #ffe135;
  --on-accent: #111110;
  --accent-line: #e0b800;
  --good: #1f7a34;
  --stage: #0b0b0a;
  --stage-raise: #161615;
  --stage-edge: transparent;
  --stage-ink: #f5f5f2;
  --stage-ink2: rgba(245, 245, 242, 0.7);
  --stage-ink3: rgba(245, 245, 242, 0.52);
  --stage-line: rgba(255, 255, 255, 0.12);
  --shot-ring: rgba(17, 17, 16, 0.08);
  --shadow: 0 1px 2px rgba(17, 17, 16, 0.06), 0 24px 48px -24px rgba(17, 17, 16, 0.3);
  --shadow-soft: 0 1px 2px rgba(17, 17, 16, 0.05), 0 12px 28px -18px rgba(17, 17, 16, 0.25);
  --radius: 18px;
  --radius-stage: 32px;
  --gutter: 24px;
  --top: 64px;
  --display: "Instrument Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0d0d0e;
    --ground-2: #131314;
    --surface: #19191b;
    --fill: #222224;
    --fill-strong: #2b2b2e;
    --hairline: rgba(255, 255, 255, 0.08);
    --hairline-strong: rgba(255, 255, 255, 0.15);
    --ink: #f3f3f1;
    --ink2: #ababb0;
    --ink3: #8e8e94;
    --on-ink: #0d0d0e;
    --accent-line: #ffe135;
    --good: #4cd964;
    /* The stage lifts off the page in the dark look instead of sinking into it. */
    --stage: #171716;
    --stage-raise: #21211f;
    --stage-edge: rgba(255, 255, 255, 0.1);
    --shot-ring: rgba(255, 255, 255, 0.08);
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 48px -24px rgba(0, 0, 0, 0.8);
    --shadow-soft: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 12px 28px -18px rgba(0, 0, 0, 0.7);
  }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --radius-stage: 24px; --top: 58px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 8px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
p a, li a { text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
p a:hover, li a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent-line); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: var(--on-accent); }
b { font-weight: 650; color: inherit; }

.wrap {
  width: 100%;
  max-width: calc(1140px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-wide {
  width: 100%;
  max-width: calc(1320px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip { position: absolute; left: -9999px; top: 12px; }
.skip:focus { left: 16px; z-index: 40; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 999px; text-decoration: none; }

/* MARK: type */

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 680;
  letter-spacing: -0.032em;
  line-height: 0.98;
  color: var(--ink);
  text-wrap: balance;
}
.h2 { font-size: clamp(36px, 5vw, 62px); }
.h3 { font-size: clamp(25px, 2.5vw, 31px); letter-spacing: -0.025em; line-height: 1.05; }
.lede { margin: 22px 0 0; max-width: 36em; font-size: clamp(18px, 1.7vw, 20.5px); line-height: 1.5; color: var(--ink2); text-wrap: pretty; }
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--ink3);
}
.sprite { width: 32px; height: 36px; image-rendering: pixelated; flex: none; }
.small { font-size: 14.5px; line-height: 1.55; }
p.small, .small p { color: var(--ink3); }
.caption { margin: 14px 0 0; font-size: 13px; color: var(--ink3); text-align: center; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  margin: 0 0 26px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink2);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 0 1px var(--accent-line); }
.chip-good { color: var(--good); }
.chip-good::before { display: none; }
.tag {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 650;
}
.i { flex: none; }

kbd {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline-strong), 0 1px 0 var(--hairline);
  font: 600 13px/1.6 var(--text);
  color: var(--ink);
  white-space: nowrap;
}
code { font-family: var(--mono); font-size: 0.88em; padding: 1px 5px; border-radius: 5px; background: var(--fill-strong); }
mark.tbs { padding: 0 5px; border-radius: 4px; background: var(--accent); color: var(--on-accent); font-weight: 650; }

/* MARK: buttons (the app's pills) */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font: 600 15px/1 var(--text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s var(--ease), background-color 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}
.pill:active { transform: scale(0.97); }
.pill-dark { background: var(--ink); color: var(--on-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset; }
.pill-dark:hover { background: color-mix(in srgb, var(--ink) 86%, var(--ground)); }
.pill-light { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline-strong); }
.pill-light:hover { background: var(--fill); }
.pill-quiet { background: var(--fill-strong); color: var(--ink2); cursor: default; }
.pill-quiet:active { transform: none; }
.pill-large { height: 50px; padding: 0 24px; font-size: 16.5px; }
.pill-small { height: 34px; padding: 0 15px; font-size: 14px; }
.pill-wide { width: 100%; }
.pill .i { transition: transform 0.2s var(--ease); }
.pill-light:hover .i { transform: translateY(2px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* MARK: header */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--top);
  background: color-mix(in srgb, var(--ground) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow 0.2s ease;
}
.top.is-stuck { box-shadow: 0 1px 0 var(--hairline); }
.top-row { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 680;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; color: var(--ink2); }
.nav a { position: relative; text-decoration: none; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent-line); transform: scaleX(0); transform-origin: left; transition: transform 0.2s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.top-row > .pill { margin-left: 4px; }
@media (max-width: 900px) {
  .nav { display: none; }
  .top-row > .pill { margin-left: auto; }
}

/* MARK: arriving (hero on load, sections once as they're reached) */

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.7s var(--ease) both; }
  .rise-2 { animation-delay: 0.06s; }
  .rise-3 { animation-delay: 0.12s; }
  .rise-4 { animation-delay: 0.18s; }
  .hero-figure { animation: drop 0.9s var(--ease) 0.08s both; }
  /* Only what was below the fold when the script ran waits to come in (site.js), so nothing on screen at load blinks. */
  .reveal.is-waiting { opacity: 0; transform: translateY(22px); }
  .reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-18px); } }

/* MARK: hero */

.hero { padding: 48px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: 64px; align-items: center; }
/* Three lines where there's room: "your claude code / agents and accounts, / in the notch." ("claude code" and "in the
   notch." are held together in the markup, so the last line is never one word.) Plain wrapping keeps those breaks. */
.hero-title { font-size: clamp(46px, 4.2vw, 60px); line-height: 0.94; max-width: 8.6em; text-wrap: wrap; }
.hero .lede { max-width: 31em; }
.meta { margin: 20px 0 0; font-size: 14px; color: var(--ink3); text-wrap: balance; }
.hero-figure { margin: 0; }
/* The recording at its real size beside a Mac's camera: a 2x render shown at 1x. */
.hero-screen {
  display: grid;
  border-radius: 22px;
  overflow: hidden;
  background: #9fa6e6;
  box-shadow: var(--shadow), 0 0 0 1px var(--shot-ring);
  aspect-ratio: 1160 / 972;
}
.hero-screen > * { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
.hero-open { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-open { display: block; }
}
.hero-figure.is-still .hero-video { display: none; }
.hero-figure.is-still .hero-open { display: block; }
@media (max-width: 980px) {
  .hero { padding: 32px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-figure { width: 100%; max-width: 580px; margin-inline: auto; }
}
@media (max-width: 640px) {
  /* On a phone the notch comes first, at the top of the screen where it lives. */
  .hero { padding-top: 8px; }
  .hero-grid { gap: 30px; }
  .hero-figure { order: -1; }
  .hero .actions { flex-direction: column; }
  .hero .actions .pill { width: 100%; }
  .hero-screen { border-radius: 16px; }
  /* Small enough that "agents and accounts," holds one line on a 360–430 point phone. */
  .hero-title { font-size: clamp(40px, 10.8vw, 46px); }
}

/* MARK: why i built it

   The maker's note under the hero, as three beats read in order: before (cramped, restless, small), then (one line and
   the notch), now (calm, roomy, large). Each comes in as it's reached, like the sections; with scripting off or Reduce
   Motion they're simply there, in order. No quote marks, no name, no picture of a person: it isn't a testimonial. */
.story { padding: 8px 0 24px; }
.story-kicker { margin: 0 0 clamp(28px, 4vw, 44px); }
.story-beats { margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(56px, 7vw, 96px); max-width: 860px; }
.story-step { margin: 0 0 14px; font: 650 12.5px/1 var(--text); letter-spacing: 0.09em; color: var(--ink3); }
.story-before .story-text {
  margin: 0;
  max-width: 31em;
  padding: 14px 0 14px 16px;
  border-left: 2px dashed var(--hairline-strong);
  font: 15px/1.36 var(--mono);
  letter-spacing: -0.03em;
  word-spacing: -0.12em;
  color: var(--ink2);
  transform: rotate(-0.6deg);
  transform-origin: left center;
}
.story-keep { white-space: nowrap; }
.story-line { font-size: clamp(34px, 4.4vw, 54px); }
.story-notch { margin: 24px 0 0; width: min(384px, 100%); border-radius: 0 0 14px 14px; overflow: hidden; background: #9fa6e6; box-shadow: var(--shadow-soft); }
.story-notch img { width: 100%; }
.story-now { margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(16px, 2vw, 22px); }
.story-now li { font-size: clamp(27px, 3.1vw, 38px); line-height: 1.12; letter-spacing: -0.024em; text-wrap: pretty; }
.story-small { margin: 20px 0 0; max-width: 36em; }
@media (max-width: 640px) {
  /* A beat a screen on a phone: each sits on its own, the next one waiting below. */
  .story { padding-top: 0; }
  .story-beats { gap: 0; }
  .story-beat { min-height: min(72svh, 620px); display: flex; flex-direction: column; justify-content: center; }
  .story-before .story-text { font-size: 14.5px; }
}

/* MARK: sections */

.section { padding: 112px 0; }
.section-tight { padding-top: 40px; }
/* The hero has its own room below it; after the maker's note, the sections start as they always do. */
.hero + .section { padding-top: 24px; }
.story + .section { padding-top: clamp(72px, 9vw, 112px); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .section-tight { padding-top: 16px; }
  .sec-head { margin-bottom: 40px; }
}

/* Feature rows: the words, and the app doing it. */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: center;
  padding: 40px 0;
}
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-text { order: 2; }
.feature-text > p { margin: 16px 0 0; color: var(--ink2); text-wrap: pretty; }
.feature-text > p.small { color: var(--ink3); }
.feature-text .h3 + p, .feature-text .h2 + p { margin-top: 20px; }
.feature-media { margin: 0; }
.keys { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14.5px; color: var(--ink3); }
.keys span { white-space: nowrap; }
@media (max-width: 960px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .feature.flip .feature-text { order: 0; }
}

/* A piece of the screen: the recording's own wallpaper, menu bar and notch, in rounded corners. */
.shot {
  border-radius: var(--radius);
  overflow: hidden;
  background: #a3a5e3;
  box-shadow: var(--shadow-soft), 0 0 0 1px var(--shot-ring);
}
.shot img, .shot video { width: 100%; }
.shot-limit { max-width: 520px; justify-self: center; width: 100%; }
.shot-card { background: transparent; max-width: 560px; justify-self: center; width: 100%; }

/* MARK: recordings */

.rec { position: relative; display: grid; }
.rec > .rec-still, .rec > .rec-video { grid-area: 1 / 1; width: 100%; height: auto; }
.rec-still img { width: 100%; height: auto; }
.rec-video { opacity: 0; transition: opacity 0.35s ease; background: transparent; pointer-events: none; }
.rec.is-playing .rec-video { opacity: 1; }
.rec-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 12, 11, 0.58);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.16s var(--ease);
}
.rec:hover .rec-toggle, .rec-toggle:focus-visible, .rec-toggle[data-state="paused"] { opacity: 0.9; }
.rec-toggle:hover { opacity: 1; transform: scale(1.06); }
.rec-icon { display: block; width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.rec-toggle[data-state="paused"] .rec-icon {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-left: 10px solid #fff;
  border-right: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* MARK: kit */

.kit-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
  margin-top: 56px;
  padding: clamp(26px, 4vw, 48px);
  border-radius: var(--radius-stage);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.kit-text p { margin: 16px 0 0; color: var(--ink2); }
.kit-show { display: grid; gap: 22px; }
.kit-film { margin: 0; border-radius: 14px; overflow: hidden; background: #a5a6e4; box-shadow: 0 0 0 1px var(--shot-ring); }
.kit-film img { width: 100%; }
.kit-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.kit-row li { display: grid; justify-items: center; gap: 8px; padding: 14px 4px 12px; border-radius: 14px; background: var(--fill); }
.kit-row img { width: 48px; height: 54px; image-rendering: pixelated; }
.kit-row span { font-size: 12.5px; font-weight: 600; color: var(--ink3); white-space: nowrap; }
@media (max-width: 520px) {
  .kit-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .kit-card { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
}

/* MARK: accounts: the stage */

.accounts { padding: 24px 0; }
.stage {
  position: relative;
  padding: clamp(32px, 6vw, 88px) clamp(20px, 5vw, 72px);
  border-radius: var(--radius-stage);
  background: var(--stage);
  box-shadow: inset 0 0 0 1px var(--stage-edge);
  color: var(--stage-ink);
}
.stage .display { color: var(--stage-ink); }
.stage .lede { color: var(--stage-ink2); }
.stage .kicker { color: var(--stage-ink3); }
.stage code { background: rgba(255, 255, 255, 0.1); color: var(--stage-ink); }
.stage ::selection { background: var(--accent); color: var(--on-accent); }

.walk-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.walk-step {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--stage-line);
}
.walk-step:first-child { border-top: 0; padding-top: 0; }
.walk-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 680;
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--stage-ink);
}
.walk-n {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px var(--stage-line);
  font: 700 14px/1 var(--text);
  color: var(--stage-ink2);
  transform: translateY(-3px);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
/* The app's own "beta" tag: caption yellow, small, wherever the app shows it. */
.beta {
  display: inline-block;
  margin-left: 4px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: 650 11.5px/18px var(--text);
  letter-spacing: 0;
  vertical-align: 0.35em;
  white-space: nowrap;
}
.walk-text p { margin: 14px 0 0 44px; color: var(--stage-ink2); text-wrap: pretty; }
.walk-text p.small { color: var(--stage-ink3); }
.walk-text b { color: var(--stage-ink); }
.walk-media { display: flex; justify-content: center; }
.walk-media > .rec, .walk-media > .walk-shot { width: 100%; max-width: 620px; }
.walk-shot { margin: 0; }
.walk-step .rec, .walk-shot, .walk-stage > * { border-radius: 16px; overflow: hidden; background: #9ea3e2; box-shadow: 0 0 0 1px var(--stage-line), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.walk-shot { background: var(--stage-raise); }

/* With the script on a wide screen: the steps scroll past one picture that stays in place and changes with them. */
.walk.is-pinned { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.walk.is-pinned .walk-step { display: flex; align-items: center; min-height: min(78vh, 720px); padding: 0; border-top: 0; }
.walk.is-pinned .walk-step:first-child { min-height: min(60vh, 560px); align-items: flex-start; padding-top: 12vh; }
.walk.is-pinned .walk-step:last-child { min-height: min(60vh, 560px); align-items: flex-end; padding-bottom: 12vh; }
.walk.is-pinned .walk-media { display: none; }
.walk.is-pinned .walk-text { opacity: 0.34; transition: opacity 0.4s var(--ease); }
.walk.is-pinned .walk-step.is-active .walk-text { opacity: 1; }
.walk.is-pinned .walk-step.is-active .walk-n { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.walk-stage {
  position: sticky;
  top: calc(var(--top) + max(16px, (100vh - var(--top) - 640px) / 2));
  height: min(640px, calc(100vh - var(--top) - 32px));
  display: grid;
  align-items: center;
  justify-items: center;
}
.walk-stage > * {
  grid-area: 1 / 1;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}
.walk-stage > .is-active { opacity: 1; transform: none; pointer-events: auto; }
/* site.js sizes each picture to fit the stage by its height or its width, whichever runs out first. */
.walk-stage .walk-shot img { width: 100%; }

@media (max-width: 960px) {
  .walk-step { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .walk-text p { margin-left: 0; }
}

.signin {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  margin-top: 64px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: 22px;
  background: var(--stage-raise);
  box-shadow: inset 0 0 0 1px var(--stage-line);
}
.signin p { margin: 0; color: var(--stage-ink2); }
.signin p + p { margin-top: 12px; }
@media (max-width: 960px) {
  .signin { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
}

/* MARK: usage: the dashboard */

.dash { margin-top: 72px; }
.dash-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 72px; align-items: start; margin-bottom: 32px; }
.dash-text .h3 { grid-row: span 2; }
.dash-text p { margin: 0; color: var(--ink2); }
.dash-text p.small { color: var(--ink3); }
.dash-media { margin: 0; border-radius: 22px; }
@media (max-width: 960px) {
  .dash { margin-top: 40px; }
  .dash-text { grid-template-columns: 1fr; }
  .dash-text .h3 { grid-row: auto; }
}

/* MARK: privacy */

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.trio-item { padding: 28px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-soft); }
.trio-item h3 { margin: 0 0 8px; font-size: 17px; font-weight: 650; }
.trio-item p { margin: 0; font-size: 15.5px; color: var(--ink2); }
@media (max-width: 860px) {
  .trio { grid-template-columns: 1fr; margin-top: 30px; }
}

/* MARK: price */

.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 72px; align-items: center; }
.needs-title { margin: 40px 0 0; font-size: 15px; font-weight: 650; color: var(--ink); }
.needs { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.needs li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink2); font-size: 16px; }
.needs .i { margin-top: 5px; color: var(--good); }
.price-card { width: 100%; padding: 36px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.price-head { display: flex; align-items: center; gap: 14px; }
.price-head img { width: 56px; height: 56px; }
.price-name { font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.price-head p { margin: 2px 0 0; }
.price-amount { margin: 28px 0 0; font-size: 104px; letter-spacing: -0.05em; line-height: 0.9; }
.price-note { margin: 16px 0 0; font-size: 15px; color: var(--ink2); text-wrap: balance; }
.price-facts { display: grid; gap: 11px; margin: 26px 0 30px; padding: 24px 0 0; border-top: 1px solid var(--hairline); list-style: none; }
.price-facts li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; }
.price-facts .i { margin-top: 4px; color: var(--good); }
.price-fine { margin: 18px 0 0; text-align: center; }
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; gap: 40px; }
  .price-card { max-width: 520px; }
}
@media (max-width: 640px) {
  .price-card { padding: 26px; }
  .price-amount { font-size: 88px; }
}

/* MARK: faq */

.faq { padding-top: 40px; }
.faq-wrap { max-width: calc(800px + 2 * var(--gutter)); }
.faq-list { margin-top: 32px; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { position: relative; padding: 22px 48px 22px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; transition: color 0.15s ease; }
.faq summary:hover { color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 13px;
  height: 13px;
  background:
    linear-gradient(var(--ink3), var(--ink3)) center / 13px 2px no-repeat,
    linear-gradient(var(--ink3), var(--ink3)) center / 2px 13px no-repeat;
  transform: translateY(-50%);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: -6px 0 24px; max-width: 42em; color: var(--ink2); }

/* MARK: closing */

.closing { padding: 40px 0 120px; }
.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(40px, 7vw, 88px) var(--gutter);
  border-radius: var(--radius-stage);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.closing-kit { width: 64px; height: 72px; margin-bottom: 22px; image-rendering: pixelated; }
.closing .actions { justify-content: center; }
@media (max-width: 640px) {
  .closing { padding-bottom: 72px; }
  .closing .actions { align-self: stretch; flex-direction: column; }
}

/* MARK: footer */

.foot { padding: 36px 0 48px; border-top: 1px solid var(--hairline); font-size: 14.5px; color: var(--ink3); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot-brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 17px; font-weight: 680; color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-small p { margin: 20px 0 0; font-size: 13px; line-height: 1.55; max-width: 60em; }
.foot-small p + p { margin-top: 6px; }

/* MARK: one-message pages */

.notice { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 62vh; padding-top: 56px; padding-bottom: 96px; text-align: center; }
.notice-icon { width: 96px; height: 96px; margin-bottom: 26px; }
.notice-title { font-size: clamp(42px, 6vw, 68px); }
.notice .lede { margin-inline: auto; }
.notice .actions { justify-content: center; }

/* MARK: thanks */

.thanks { max-width: calc(720px + 2 * var(--gutter)); padding-top: 64px; padding-bottom: 104px; }
.thanks-title { font-size: clamp(42px, 6vw, 68px); }
.key-card { margin-top: 36px; padding: 28px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.key-card .kicker { margin-bottom: 4px; }
.key { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; padding: 14px 14px 14px 20px; border-radius: 14px; background: var(--fill); }
.key-text { padding: 0; background: none; font-size: clamp(17px, 2.6vw, 24px); font-weight: 600; letter-spacing: 0.02em; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.key-card p.small { margin: 16px 0 0; }
.steps { display: grid; gap: 14px; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-left: 42px; color: var(--ink2); counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 13.5px;
  font-weight: 700;
}
.steps strong { color: var(--ink); font-weight: 600; }
.quiet { margin-top: 30px; }
.help { margin-top: 40px; padding: 6px 30px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.help-item { padding: 24px 0 25px; }
.help-item + .help-item { border-top: 1px solid var(--hairline); }
.help-item h2 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.help-item p { margin: 0; color: var(--ink2); text-wrap: pretty; }
@media (max-width: 640px) {
  .thanks { padding-top: 40px; }
  .thanks .actions { flex-direction: column; }
  .thanks .actions .pill { width: 100%; }
  .help { padding: 2px 22px; }
  .help-item { padding: 20px 0 21px; }
}

/* MARK: legal */

.legal { max-width: calc(720px + 2 * var(--gutter)); padding-top: 56px; padding-bottom: 104px; }
.legal-title { margin-top: 2px; font-size: clamp(46px, 6vw, 68px); }
.legal h2 {
  margin: 44px 0 10px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 680;
  letter-spacing: -0.02em;
}
.legal p, .legal li { color: var(--ink2); }
.legal ul { padding-left: 20px; }
.legal li { margin: 10px 0; }
.legal strong { color: var(--ink); font-weight: 600; }

/* MARK: Kit's wood

   The pixel world behind the pages (src/world.ts, docs/pixel-world.md): inline SVGs of whole art pixels, 4 CSS px
   each (3 on a phone), behind everything (z-index −1 in the page's own stacking context), never taking a click.
   Colours are roles: the morning set here, the night set in the dark look below. */

.hero, .hero-text, .story .wrap, #privacy .wrap, .foot { position: relative; }
.w { position: absolute; z-index: -1; display: block; max-width: none; pointer-events: none; shape-rendering: crispEdges; overflow: visible; }
.w .night { display: none; }
.w .pg { fill: var(--ground); }

.w .sun { fill: #ffefb0; } .w .sun2 { fill: #f6d77e; }
.w .cloudlit { fill: #ffffff; } .w .cloud { fill: #fbfbfa; } .w .cloudsh { fill: #dfe4eb; }
.w .farlit { fill: #e3e9f0; } .w .far { fill: #d3dce7; }
.w .midlit { fill: #c6d6d4; } .w .mid { fill: #adc3c3; }
.w .nearlit { fill: #b5ceba; } .w .near { fill: #9bb9a4; }
.w .pine3 { fill: #5fa356; } .w .pine2 { fill: #3f7d48; } .w .pine { fill: #2f5e3c; }
.w .bark2 { fill: #8a5a35; } .w .bark { fill: #5a3d2b; } .w .barkup { fill: #c27a3a; }
.w .birch { fill: #fbf9f3; } .w .birch2 { fill: #cfc9bc; } .w .birchmk { fill: #3d3a35; }
.w .leaflit { fill: #b7dc7a; } .w .leaf { fill: #86bd55; } .w .leafdk { fill: #5e9a3f; }
.w .grass2 { fill: #8fcd62; } .w .grass { fill: #5f9e48; }
.w .fern2 { fill: #6fae4c; } .w .fern { fill: #3f7d40; }
.w .stone2 { fill: #cdc8bc; } .w .stone { fill: #a9a497; } .w .moss { fill: #7fb24f; }
.w .cap2 { fill: #e2574a; } .w .cap { fill: #c2412f; } .w .spot { fill: #fbf6e8; } .w .stem { fill: #efe6d0; }
.w .log2 { fill: #9a6438; } .w .log { fill: #6e4325; } .w .ring { fill: #e2b783; } .w .ring2 { fill: #b98551; }
.w .earth2 { fill: #a06e47; } .w .earth { fill: #7a5236; } .w .earth3 { fill: #5e3f29; }
.w .den1 { fill: #3b2618; } .w .den2, .w .den3 { fill: #24170f; }
.w .water { fill: #a8cbe8; } .w .water2 { fill: #86b2db; } .w .glint { fill: #ffffff; }
.w .reed { fill: #4c8b3e; } .w .cattail { fill: #7a4f2f; } .w .lily { fill: #5fae4a; }
.w .leafy { fill: #e9b928; } .w .leafo { fill: #e08a2e; }
.w .kit { fill: #d2693e; } .w .kit2 { fill: #9e4a2b; } .w .kitc { fill: #f2cfa6; } .w .kitk { fill: #24221f; }

@media (prefers-color-scheme: dark) {
  .w .night { display: inline; }
  .w .day { display: none; }
  .w .star { fill: #e6e1c8; } .w .star2 { fill: #5d6480; }
  .w .moon { fill: #efe7c9; } .w .moon2 { fill: #c4bb98; }
  .w .cloudlit { fill: #2e3956; } .w .cloud { fill: #1c2335; } .w .cloudsh { fill: #151a28; }
  .w .farlit { fill: #263352; } .w .far { fill: #1a2440; }
  .w .midlit { fill: #1b2a3d; } .w .mid { fill: #131e2e; }
  .w .nearlit { fill: #16261f; } .w .near { fill: #0f1916; }
  .w .pine3 { fill: #1d3a31; } .w .pine2 { fill: #12251f; } .w .pine { fill: #0c1714; }
  .w .bark2 { fill: #2a1e18; } .w .bark { fill: #140f0d; } .w .barkup { fill: #2a1e18; }
  .w .birch { fill: #8d93a5; } .w .birch2 { fill: #4a5063; } .w .birchmk { fill: #16181f; }
  .w .leaflit { fill: #2a4a3a; } .w .leaf { fill: #1a3229; }
  .w .grass2 { fill: #1f3a2c; } .w .grass { fill: #11211b; }
  .w .fern2 { fill: #24473a; } .w .fern { fill: #132a20; }
  .w .stone2 { fill: #323745; } .w .stone { fill: #1e2129; } .w .moss { fill: #1f3a2c; }
  .w .cap2 { fill: #a33d30; } .w .cap { fill: #7a2b22; } .w .spot { fill: #cfc6a8; } .w .stem { fill: #8b846f; }
  .w .log2 { fill: #2f241c; } .w .log { fill: #1d1612; } .w .ring { fill: #4a3a2c; } .w .ring2 { fill: #2f241c; }
  .w .earth2 { fill: #271d17; } .w .earth { fill: #18120f; } .w .earth3 { fill: #110d0b; }
  .w .den1 { fill: #8a4a16; } .w .den2 { fill: #d98a2b; } .w .den3 { fill: #ffd27a; } .w .spill { fill: #3d2a14; }
  .w .water { fill: #121b2e; } .w .water2 { fill: #0c1322; } .w .glint { fill: #d8d0ae; }
  .w .reed { fill: #16291f; } .w .cattail { fill: #2e2018; } .w .lily { fill: #1d3a2c; }
  .w .ff { fill: #f4e98c; } .w .ffglow { fill: #5f5a2a; } .w .leafdk { fill: #12241d; }
}

/* Where each scene sits. The sky: above the chip, ending at the text column's right edge. The valley: the hero's
   foot, centred, as wide as the widest screen. The den and the stand: right of the maker's note, on its last line. */
.w-sky { right: 0; bottom: calc(100% - 30px); }
.w-valley { left: 50%; bottom: 0; translate: -50% 0; }
.w-den, .w-grove { left: calc(var(--gutter) + 876px); bottom: -12px; }
.w-clearing-left { left: -150px; bottom: 0; }
.w-clearing-right { right: -150px; bottom: 0; }
.w-flies-left { left: -96px; top: -28px; }
.w-flies-right { right: -96px; top: -28px; }
.w-pond { left: calc(100% - var(--gutter) - 304px); top: -18px; }
.w-floor { left: 50%; bottom: 100%; translate: -50% 0; }

/* The loops: only while a scene is on screen (site.js gives it is-live), never with Reduce Motion, all of them in
   whole-pixel steps. Every loop starts from the still picture (no negative delays, nothing reversed), so a scene
   coming alive never jumps. */
.w .w-breath-in, .w .w-kit-flick, .w .w-kit-blink, .w .w-sway-b, .w .w-fall { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .w.is-live .w-drift { animation: w-drift 168s steps(24) infinite alternate; }
  .w.is-live .w-drift-b { animation-duration: 118s; }
  .w.is-live .w-twinkle { animation: w-twinkle 5.4s step-end infinite; }
  .w.is-live .w-fly { animation: w-fly 4.8s step-end infinite, w-wander 11s steps(3) infinite alternate; }
  .w.is-live .w-fly-2 { animation-delay: 1.9s, 4s; }
  .w.is-live .w-fly-3 { animation-delay: 3.3s, 7s; }
  .w.is-live .w-breath-out { animation: w-off 3.4s step-end infinite; }
  .w.is-live .w-breath-in { animation: w-on 3.4s step-end infinite; }
  .w.is-live .w-kit-sit { animation: w-kit-sit 7.5s step-end infinite; }
  .w.is-live .w-kit-flick { animation: w-kit-flick 7.5s step-end infinite; }
  .w.is-live .w-kit-blink { animation: w-kit-blink 7.5s step-end infinite; }
  .w.is-live .w-sway-a { animation: w-off 2.8s step-end infinite; }
  .w.is-live .w-sway-b { animation: w-on 2.8s step-end infinite; }
  .w.is-live .w-fall-a { animation: w-fall 16s steps(60) infinite, w-turn-a 1.2s step-end infinite; }
  .w.is-live .w-fall-b { animation: w-fall 16s steps(60) infinite, w-turn-b 1.2s step-end infinite; }
  .w.is-live .w-fall-c { animation: w-fall 16s steps(60) 7s infinite, w-turn-a 1.2s step-end 7s infinite; }
  html.w-paused .w .wa { animation-play-state: paused !important; }
}
@keyframes w-drift { to { transform: translateX(24px); } }
@keyframes w-twinkle { 0% { opacity: 1; } 58% { opacity: 0.35; } 66% { opacity: 1; } 82% { opacity: 0.6; } }
@keyframes w-fly { 0% { opacity: 1; } 34% { opacity: 0.5; } 42% { opacity: 0; } 68% { opacity: 0.5; } 76% { opacity: 1; } }
@keyframes w-wander { to { transform: translate(3px, -3px); } }
@keyframes w-on { 0% { opacity: 0; } 55% { opacity: 1; } }
@keyframes w-off { 0% { opacity: 1; } 55% { opacity: 0; } }
@keyframes w-kit-sit { 0% { opacity: 1; } 40% { opacity: 0; } 44% { opacity: 1; } 82% { opacity: 1; } }
@keyframes w-kit-flick { 0% { opacity: 0; } 40% { opacity: 1; } 44% { opacity: 0; } }
@keyframes w-kit-blink { 0% { opacity: 0; } 82% { opacity: 1; } 84% { opacity: 0; } }
@keyframes w-fall { 0% { opacity: 1; transform: translate(0, 0); } 55%, 80% { opacity: 1; transform: translate(0, 60px); } 81%, 100% { opacity: 0; transform: translate(0, 60px); } }
@keyframes w-turn-a { 0% { visibility: visible; } 50% { visibility: hidden; } }
@keyframes w-turn-b { 0% { visibility: hidden; } 50% { visibility: visible; } }

@media (max-width: 1187px) {
  /* No room right of the maker's note: the trees stay out, the den steps down into the gap under it. */
  .w-grove { display: none; }
  .w-den { left: auto; right: var(--gutter); bottom: -84px; }
}
@media (max-width: 1099px) {
  .w-pond { display: none; }
}
@media (max-width: 980px) {
  /* One column, little room above the chip: the moon sits beside it instead, without the stars and clouds. */
  .w-sky { bottom: calc(100% - 62px); }
  .w .w-wide { display: none; }
}
@media (max-width: 640px) {
  /* A phone: every scene at 3 CSS px a pixel, from the edge it's anchored to. */
  .w { scale: 0.75; }
  .w-sky { bottom: calc(100% - 30px); }
  /* Room under the hero's last line for the valley. */
  .hero { padding-bottom: 84px; }
  .w-sky { transform-origin: 100% 100%; }
  .w-valley, .w-floor { transform-origin: 50% 100%; }
  .w-den { transform-origin: 100% 100%; right: 8px; bottom: -40px; }
  .w-clearing-left, .w-flies-left { transform-origin: 0 100%; }
  .w-clearing-right, .w-flies-right { transform-origin: 100% 100%; }
}

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