/* iliad.md home — v4 (2026-09-28): chair logo, ink buttons, wood accent. Tokens mirror the Figma "Iliad web v2" collection. */

:root {
  --white: #ffffff;
  --paper: #f4f1e9;
  --ink: #1a1b1a;
  --ink-2: #33352f;
  --muted: #5c5f56;
  --hairline: #e7e3d7;
  --gold: #ffad1f;
  --gold-deep: #e8920a;
  /* gold dark enough for small text on white and paper (AA) */
  --gold-text: #9a5b00;
  --butter: #fff3c2;
  --butter-deep: #f6e39a;
  --sky: #d6ecff;
  --sky-deep: #b9ddfb;
  --blush: #ffe1d6;
  --mint: #dbf4e0;
  --mint-deep: #bfe9c8;
  --del-ink: #9a4b36;
  /* v4 (variant C): ink buttons, wood accent, warm paper download card */
  --btn: #1a1b1a;
  --btn-hover: #33352f;
  --btn-active: #000000;
  --accent: #a06038;
  --accent-hover: #874f2d;
  /* wood dark enough for small text on the warm card (AA 5.2:1) */
  --accent-text: #8f5230;
  --card-warm: #f4ece1;
  --card-warm-line: #e6d9c6;
  --footer-bg: #faf9f6;
  --ins-ink: #2c5a38;
  --del-wash: rgba(244, 150, 118, 0.15);
  --ins-wash: rgba(108, 196, 140, 0.16);

  /* the app, as drawn inside the page (premium pass, 2026-09-27: warm page, neutral chrome) */
  --app-bg: #fdfcf8;
  --app-side: #faf9f6;
  --app-border: rgba(29, 29, 31, 0.12);
  --app-line: #ecebe7;
  --app-line-strong: #e3e2dd;
  --app-control: #d9d8d3;
  --app-text: #1d1d1f;
  --app-tree: #37373a;
  --app-label: #6e6e73;
  --app-faint: #9c9ca0;
  --app-ui: #2c2c2e;
  --app-icon: #8e8e93;
  --app-ghost: #a4a4a8;
  --app-row: #f0efeb;
  --app-button: #20242a;
  --app-select: rgba(60, 66, 74, 0.14);
  --app-hover: rgba(60, 66, 74, 0.07);
  --ins-rail: rgba(108, 196, 140, 0.42);
  --del-rail: rgba(244, 150, 118, 0.4);
  --del-line: rgba(154, 75, 54, 0.5);
  /* barely-there tint for a command field on the white page */
  --tint: #faf9f6;
  /* Claude Code, as drawn in the terminal */
  --cc-text: #e8e6dc;
  --cc-dim: #9a9d95;
  --cc-coral: #d97757;
  --cc-coral-line: rgba(217, 119, 87, 0.6);
  --cc-green: #5fb86e;
  --del-wash-strong: rgba(244, 150, 118, 0.3);
  /* the app's comment wash */
  --comment-wash: rgba(91, 141, 210, 0.2);
  --comment-line: rgba(91, 141, 210, 0.55);
  --term-bg: #1f211f;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-mono: "Space Mono", ui-monospace, Menlo, monospace;
  --font-ui: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, sans-serif;
  --font-code: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* the app's own faces (present on every Mac), with web fallbacks */
  --font-app-serif: "Iowan Old Style", "Source Serif 4", Georgia, serif;
  --font-app-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, "Segoe UI", sans-serif;

  --shadow-float: 0 36px 72px -8px rgba(26, 26, 20, 0.08), 0 10px 28px rgba(26, 26, 20, 0.06), 0 1px 2px rgba(26, 26, 20, 0.04);
  --shadow-mini: 0 8px 20px rgba(26, 26, 20, 0.08), 0 1px 2px rgba(26, 26, 20, 0.05);
  --shadow-window: 0 12px 30px rgba(0, 0, 0, 0.1);
  --shadow-lift: 0 14px 32px -10px rgba(26, 26, 20, 0.16), 0 2px 6px rgba(26, 26, 20, 0.05);

  --gutter: 40px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
kbd { font: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 9px;
  font-weight: 600; text-decoration: none; transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Wordmark ---------- */
.wordmark {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1;
  text-decoration: none; color: var(--ink);
}
.wordmark { gap: 8px; }
.wordmark img { width: 24px; height: 30px; flex: none; }
.wordmark .md, .foot-word .md { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 9px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s, border-color 0.18s;
}
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-ink { background: var(--btn); border-color: var(--btn); color: var(--white); }
.btn-ink:hover { background: var(--btn-hover); border-color: var(--btn-hover); transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(26, 27, 26, 0.55); }
.btn-ink:active { background: var(--btn-active); border-color: var(--btn-active); transform: translateY(1px); box-shadow: none; }
.btn-plain { color: var(--ink); }
.btn-plain:hover { background: var(--paper); }
.btn-white { background: var(--white); border-color: var(--hairline); color: var(--ink); }
.btn-white:hover { border-color: #d6d1c2; transform: translateY(-1px); box-shadow: var(--shadow-mini); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn .arrow { transition: transform 0.18s var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- Nav ---------- */
.site-nav { border-bottom: 1px solid var(--hairline); background: var(--white); position: relative; z-index: 20; }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  color: var(--ink-2); font-weight: 500; font-size: 15px; text-decoration: none;
  padding: 4px 0; background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0 2px;
  transition: background-size 0.2s var(--ease);
}
.nav-links a:not(.btn):hover { background-size: 100% 2px; }

.lang { display: flex; gap: 2px; padding: 3px; background: var(--paper); border-radius: 9px; }
.lang a {
  font-family: var(--font-mono); font-weight: 700; font-size: 11px; line-height: 1.4;
  padding: 5px 10px; border-radius: 7px; text-decoration: none; color: var(--muted);
}
.lang a[aria-current] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(26, 26, 20, 0.06); }
.lang a:not([aria-current]):hover { color: var(--ink); }

.lang-inline { display: none; align-items: center; gap: 6px; font-family: var(--font-mono); font-weight: 700; font-size: 11px; color: var(--muted); }
.lang-inline a { text-decoration: none; color: var(--muted); padding: 6px 2px; }
.lang-inline a[aria-current] { color: var(--ink); }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 40px; height: 40px; margin-right: -9px;
  display: grid; place-items: center; border-radius: 9px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu summary .icon-close { display: none; }
.menu[open] summary .icon-open { display: none; }
.menu[open] summary .icon-close { display: block; }
.menu-panel {
  position: absolute; right: -8px; top: calc(100% + 8px); width: min(240px, calc(100vw - 32px));
  background: var(--white); border: 1px solid var(--hairline); border-radius: 14px;
  box-shadow: var(--shadow-float); padding: 8px; display: flex; flex-direction: column;
}
.menu-panel a:not(.btn) {
  padding: 12px 12px; border-radius: 9px; text-decoration: none; font-weight: 500; color: var(--ink-2);
}
.menu-panel a:not(.btn):hover { background: var(--paper); }
.menu-panel .btn { margin-top: 6px; }
.menu[open] .menu-panel { animation: menu-in 0.18s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Hero ---------- */
.hero { padding-top: 96px; padding-bottom: 24px; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero h1 {
  font-weight: 800; font-size: clamp(44px, 1.2rem + 4.6vw, 80px); line-height: 1.05;
  letter-spacing: -0.03em; max-width: 1000px;
}
.hero h1 span { display: block; }
.hero-sub {
  font-family: var(--font-serif); font-size: 22px; line-height: 34px; color: var(--ink-2);
  max-width: 660px; text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.meta span { white-space: nowrap; }

/* The app window sits directly on the page (no tinted stage around it). */
.stage { margin-top: 64px; padding: 0 24px 40px; }

/* ---------- App window (hero): drawn to match the real app ---------- */
.window {
  position: relative; margin: 0 auto; max-width: 1072px; height: 444px;
  background: var(--app-bg); border: 1px solid var(--app-border);
  border-radius: 12px; box-shadow: 0 0 0 0.5px rgba(26, 26, 20, 0.03), 0 24px 56px -16px rgba(26, 26, 20, 0.16), 0 4px 14px rgba(26, 26, 20, 0.05);
  display: grid; grid-template-columns: 218px 1fr; grid-template-rows: 44px 1fr; overflow: hidden; text-align: left;
  font-family: var(--font-app-ui); color: var(--app-ui);
}
.window svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.traffic { display: flex; gap: 6.5px; align-items: center; padding-left: 12px; }
.traffic i { width: 11px; height: 11px; border-radius: 50%; background: #ec6a5e; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.traffic i:nth-child(2) { background: #f4bf4f; }
.traffic i:nth-child(3) { background: #61c554; }
/* Top row: no band, no line. The left part is the sidebar, the rest is the page. */
.topbar { grid-column: 1 / -1; display: grid; grid-template-columns: 218px 1fr; }
.topbar-side { display: flex; align-items: center; gap: 14px; background: var(--app-side); border-right: 1px solid var(--app-line); min-width: 0; }
.topbar-side .traffic { padding-left: 14px; margin-right: 4px; }
.topbar-side svg { color: var(--app-icon); }
.topbar-side .dim { color: var(--app-control); }
.topbar-main { display: flex; align-items: center; gap: 12px; padding: 0 16px; min-width: 0; }
.crumb { display: none; font-size: 12px; color: var(--app-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb b { font-weight: 400; color: var(--app-label); }
.tree { padding: 2px 8px 8px; background: var(--app-side); display: flex; flex-direction: column; gap: 1px; border-right: 1px solid var(--app-line); min-height: 0; }
.tree-head { display: flex; align-items: center; gap: 4px; padding: 0 4px 8px 8px; font-weight: 600; font-size: 13px; color: var(--app-ui); }
.tree-head .caret-down { width: 11px; height: 11px; color: var(--app-icon); stroke-width: 2; }
.tree-head .tools { margin-left: auto; display: flex; gap: 12px; color: var(--app-icon); }
.tree-row { display: flex; align-items: center; gap: 5px; height: 26px; font-size: 13px; color: var(--app-tree); padding: 0 8px 0 25px; border-radius: 6px; line-height: 1.2; white-space: nowrap; }
.tree-row.folder { padding-left: 8px; }
.tree-row.folder svg { width: 12px; height: 12px; color: var(--app-icon); stroke-width: 2; }
.tree-row.nested { padding-left: 42px; }
.tree-row.active { background: var(--app-row); color: var(--app-text); }
.tree-row.muted { color: var(--app-faint); }
.tree-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; font-size: 13px; color: var(--app-tree); }
.tree-foot svg { color: var(--app-icon); }
.pane { min-width: 0; overflow: hidden; }
.prose {
  width: 100%; max-width: 600px; margin: 0 auto; padding: 34px 24px 0;
  font-family: var(--font-app-serif); color: var(--app-text);
}
.prose .doc-title { font-size: 31px; font-weight: 700; line-height: 1.2; letter-spacing: -0.005em; }
.prose .doc-title + p { margin-top: 20px; }
.prose p { font-size: 16.5px; line-height: 27px; margin-top: 16px; }
.prose .ghost { color: var(--app-ghost); }
.prose .md-syntax { color: var(--app-ghost); font-weight: 400; }
.caret {
  display: inline-block; width: 1.5px; height: 1.1em; margin: 0 1px -0.18em;
  background: var(--app-text); vertical-align: baseline;
}
.hero-live .caret { animation: blink 1.05s steps(1) infinite; }
.hero-live .caret.typing { animation: none; }
@keyframes blink { 50% { opacity: 0; } }
.sbar-row { display: flex; justify-content: flex-end; margin-top: 12px; margin-right: -12px; }
.sbar {
  display: inline-flex; align-items: center; gap: 16px; padding: 7px 13px;
  background: var(--app-bg); border: 1px solid var(--app-line-strong); border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  font-family: var(--font-app-ui); font-size: 12.5px; color: var(--app-ui); line-height: 1.3;
}
.sbar > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.sbar svg { width: 12px; height: 12px; color: var(--app-icon); }
.k { font: inherit; color: var(--app-faint); border-radius: 3px; padding: 0 2px; transition: background-color 0.15s, color 0.15s; }
.k.pressed { background: var(--butter); color: var(--ink); }

/* hero animation states (JS-driven; static HTML is the seeded frame) */
.hero-live .fx { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.45s var(--ease); }
.hero-live .is-hidden { opacity: 0; transform: translateY(4px); }
.hero-live .ghost.is-hidden { transform: none; }
.hero-live .ghost.accepted { color: var(--app-text); }
.hero-live .fade-out { opacity: 0; transition: opacity 0.4s; }
.kask { display: inline-block; margin-left: 5px; padding: 0 5px; border-radius: 4px; background: var(--butter); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 0.8em; line-height: 1.5; vertical-align: 1px; }

/* ---------- Sections ---------- */
.section { padding-block: 120px; }
/* No band: sections separate by space on the plain page. */
.section-paper { padding-block: 96px; overflow: clip; }
.eyebrow {
  font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
}
.section-head { display: flex; align-items: flex-end; gap: 80px; margin-bottom: 56px; }
.section-head .title-block { display: flex; flex-direction: column; gap: 16px; flex: none; }
.section-head h2, .features-head h2 {
  font-weight: 800; font-size: clamp(36px, 1.3rem + 3vw, 56px); line-height: 1.07; letter-spacing: -0.025em;
}
.lede { font-family: var(--font-serif); font-size: 20px; line-height: 31px; color: var(--ink-2); max-width: 520px; text-wrap: pretty; }

/* Why Iliad: a section header alone, under a hairline that closes the hero */
.section-why { padding-block: 24px; }
.section-why .section-head { margin-bottom: 0; padding-top: 72px; border-top: 1px solid var(--hairline); }
.section-why h2 { max-width: 560px; }
.section-editor { padding-top: 96px; padding-bottom: 96px; }
.section-editor h2 { max-width: 600px; }

/* The editor: an essay window in the hero window's style, with an image and display math */
.editor-stage { padding: 0 24px; }
.window-essay { height: auto; }
.window-essay .prose { padding-bottom: 72px; }
.prose .doc-img { width: 100%; height: auto; margin-top: 16px; border-radius: 4px; }
.prose .doc-cap { margin-top: 8px; font-size: 13px; line-height: 19px; font-style: italic; color: var(--app-label); }
.prose .doc-math { margin-top: 10px; margin-bottom: -6px; text-align: center; font-size: 21px; line-height: 30px; font-style: italic; word-spacing: 0.2em; }
.prose .doc-math i, .prose p i { font-style: italic; }
.editor-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 40px; margin-top: 56px; }
.editor-notes .shot-caption { padding-top: 0; }

/* Who it's for: a 3×2 grid of hairline-topped cells */
.section-who { padding-block: 96px; }
.writers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; list-style: none; margin: 0; padding: 0; }
.writers li { border-top: 1px solid var(--hairline); padding: 24px 0 32px; }
.writers h3 { font-weight: 700; font-size: 22px; line-height: 26px; letter-spacing: -0.01em; }
.writers p { margin-top: 8px; font-family: var(--font-serif); font-size: 17px; line-height: 27px; color: var(--ink-2); text-wrap: pretty; }

/* Section 2: two cards, each a slice of the app drawn in HTML (text at reading size) */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; align-items: start; }
/* No tinted card: each app slice sits directly on the page. */
.shot-card { display: flex; flex-direction: column; }
.shot-media { position: relative; display: flex; flex-direction: column; }
.shot-inline { justify-content: flex-start; }
.app-panel {
  background: var(--app-bg); border: 1px solid var(--app-border); border-radius: 11px;
  box-shadow: 0 18px 40px -16px rgba(26, 26, 20, 0.16), 0 2px 6px rgba(26, 26, 20, 0.04);
  font-family: var(--font-app-ui); color: var(--app-ui); overflow: hidden;
}
.app-panel svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.panel-bar {
  display: flex; align-items: center; gap: 16px; height: 38px; padding: 0 12px;
  font-size: 12px; color: var(--app-faint); white-space: nowrap; min-width: 0;
}
.panel-bar .traffic { padding: 0; gap: 6px; flex: none; }
.panel-bar .traffic i { width: 9px; height: 9px; }
.panel-bar .crumb { display: block; }
.panel-doc { padding: 16px 28px 26px; font-family: var(--font-app-serif); color: var(--app-text); }
.panel-doc .doc-title { font-size: 22px; font-weight: 700; line-height: 1.25; }
.panel-doc p { font-size: 16px; line-height: 26px; margin-top: 12px; }
.panel-doc .ghost { color: var(--app-ghost); }
.panel-doc .sbar-row { margin: 12px -10px 0 0; }
.panel-doc .sbar { gap: 13px; font-size: 12px; padding: 6px 11px; }
.panel-doc .sel { background: var(--app-select); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 2px 0; }
.ai-menu {
  width: 74%; margin: 8px 0 0 12%; background: var(--app-bg); border: 1px solid var(--app-line-strong); border-radius: 9px;
  box-shadow: 0 14px 32px rgba(26, 26, 20, 0.1); padding: 6px; font-family: var(--font-app-ui); font-size: 13px; color: var(--app-text);
}
.ai-input { border: 1px solid var(--app-control); border-radius: 6px; padding: 7px 9px; color: var(--app-label); }
.ai-menu ul { list-style: none; margin: 5px 0 0; padding: 0; }
.ai-menu li { padding: 6px 9px; border-radius: 5px; display: flex; justify-content: space-between; line-height: 1.3; }
.ai-menu li.on { background: var(--app-row); font-weight: 500; }
.ai-menu li span { color: var(--app-label); }

.shot-caption { padding: 24px 4px 8px; display: flex; flex-direction: column; gap: 6px; }
.shot-caption h3 { font-weight: 700; font-size: 22px; letter-spacing: -0.01em; line-height: 1.25; }
.shot-caption p { color: var(--muted); font-size: 16px; line-height: 24px; }

.keystrip {
  display: flex; gap: 10px 24px; align-items: center; justify-content: center; align-self: center; margin-top: 22px;
  background: var(--white); border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 20px;
}
.keystrip .ks { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.keycap {
  font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--ink); line-height: 1.3;
  background: var(--butter); border: 1px solid var(--butter-deep); border-bottom-width: 2px;
  border-radius: 6px; padding: 3px 9px; transition: background-color 0.3s, transform 0.3s var(--ease);
}
.keycap.lit { background: var(--gold); border-color: var(--gold-deep); transform: translateY(-1px); }

/* Section 3: a Claude Code session (terminal) + the Iliad window it drives */
.agent-shots { display: grid; grid-template-columns: minmax(0, 1fr) 640px; gap: 24px; align-items: start; }
.terminal {
  margin: 0; background: var(--term-bg); border-radius: 11px; box-shadow: var(--shadow-window);
  padding: 14px 20px 18px; font-family: var(--font-code); font-size: 13px; line-height: 20px;
  color: var(--cc-text); overflow: hidden; min-width: 0;
}
.terminal .traffic { padding-left: 0; margin-bottom: 14px; }
.cc-welcome {
  display: inline-block; max-width: 100%; border: 1px solid var(--cc-coral-line); border-radius: 6px;
  padding: 6px 14px 7px 10px; margin-bottom: 18px;
}
.cc-welcome b { font-weight: 700; }
.cc-star { color: var(--cc-coral); }
.cc-dim { color: var(--cc-dim); }
.cc-log { list-style: none; margin: 0; padding: 0; }
.cc-log li { display: grid; grid-template-columns: 2ch minmax(0, 1fr); overflow-wrap: anywhere; }
.cc-log li > i { font-style: normal; }
.cc-prompt { color: var(--cc-dim); margin-bottom: 16px; }
.cc-prompt > span { color: var(--cc-text); }
.cc-rest { visibility: hidden; }
.cc-caret { display: inline-block; width: 0.6em; height: 1.1em; margin-bottom: -0.2em; background: var(--cc-text); }
.cc-tool { margin-top: 12px; }
.cc-prompt + .cc-tool { margin-top: 0; }
.cc-tool > i { color: var(--cc-green); }
.cc-tool b { font-weight: 700; }
.cc-tool .nw { white-space: nowrap; }
.cc-res { white-space: pre-wrap; color: var(--cc-dim); padding-left: 2ch; grid-template-columns: 3ch minmax(0, 1fr); }
.cc-reply { margin-top: 16px; }
.cc-reply > i { color: var(--cc-text); }
.cc-status { margin: 14px 0 0; color: var(--cc-coral); min-height: 20px; visibility: hidden; }
.cc-status i { font-style: normal; display: inline-block; width: 1.2ch; }
.cc-status.on { visibility: visible; }
.terminal.cc-play [data-step] { opacity: 0; transform: translateY(3px); }
.terminal.cc-play [data-step].on { opacity: 1; transform: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }

.review {
  background: var(--app-bg); border: 1px solid var(--app-border); border-radius: 11px;
  box-shadow: var(--shadow-window); overflow: hidden; position: relative;
  font-family: var(--font-app-ui); color: var(--app-ui);
}
.review svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rw { display: grid; grid-template-columns: 158px minmax(0, 1fr); grid-template-rows: 44px 1fr; min-height: inherit; }
.rw-side, .rw-tree { background: var(--app-side); border-right: 1px solid var(--app-line); }
.rw-side { display: flex; align-items: center; padding-left: 12px; }
.rw-side .traffic { padding: 0; gap: 6px; }
.rw-side .traffic i { width: 9px; height: 9px; }
/* Review controls live in the top row: "N changes ↑ ↓ Keep all · Restore all". */
.rw-top { display: flex; align-items: center; gap: 12px; padding: 0 10px 0 16px; min-width: 0; font-size: 12px; color: var(--app-faint); white-space: nowrap; }
.rw-note { display: none; margin-left: auto; color: var(--app-label); }
.rw-tree { padding: 2px 6px 12px; display: flex; flex-direction: column; gap: 1px; }
.t-row { display: flex; align-items: center; gap: 4px; height: 24px; padding: 0 6px; border-radius: 6px; font-size: 12.5px; color: var(--app-tree); white-space: nowrap; }
.t-row svg { width: 11px; height: 11px; color: var(--app-icon); stroke-width: 2; }
.t-row.nested { padding-left: 21px; }
.t-row.active { background: var(--app-row); color: var(--app-text); }
.t-row.companion { height: 22px; padding-left: 33px; font-size: 11.5px; color: var(--app-label); }
.rc { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.rc-count { font-size: 12px; font-weight: 500; color: var(--app-label); }
.rc-nav { display: flex; gap: 2px; color: var(--app-icon); }
.rc-nav span { width: 22px; height: 22px; display: grid; place-items: center; }
.rc-btn { font-size: 12px; font-weight: 500; line-height: 1; padding: 6px 10px; border: 1px solid var(--app-control); border-radius: 7px; color: var(--app-ui); }
.rc-btn.primary { background: var(--app-button); border-color: var(--app-button); color: var(--app-bg); }
.review-doc { padding: 14px 24px 24px; font-family: var(--font-app-serif); color: var(--app-text); font-size: 15.5px; line-height: 25px; min-width: 0; }
.review-doc .doc-title { font-size: 22px; font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
.review-doc p { margin-top: 12px; }
.hunk { margin-top: 12px; }
.hunk .del, .hunk .ins { display: block; padding: 1px 4px 1px 10px; border-radius: 2px; }
.hunk .del {
  background: var(--del-wash); box-shadow: inset 2px 0 0 var(--del-rail); color: var(--del-ink);
  text-decoration: line-through; text-decoration-color: var(--del-line);
}
.hunk .ins { margin-top: 2px; background: var(--ins-wash); box-shadow: inset 2px 0 0 var(--ins-rail); color: var(--ins-ink); }
.hunk.is-active .del { background: var(--del-wash-strong); }
.hunk.is-active .ins { box-shadow: inset 2px 0 0 var(--ins-ink); }
.hunk-actions { display: flex; gap: 4px; margin-top: 4px; font-family: var(--font-app-ui); }
.hunk-actions span { font-size: 11.5px; line-height: 1; padding: 5px 8px; border: 1px solid var(--app-line-strong); border-radius: 6px; color: var(--app-label); }
.cmt { border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background-color 0.4s var(--ease); }

/* Animation states (site.js). Without them the window shows the final review. */
.review .del, .review .ins, .review .hunk-actions, .review .rc { transition: background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.4s var(--ease); }
.review.cc-pre .rc { opacity: 0; }
.review.cc-pre .ins, .review.cc-pre .hunk-actions { display: none; }
.review.cc-pre .hunk { margin-top: 12px; }
.review.cc-cmt .cmt { background: var(--comment-wash); }
.review.cc-cmt:not(.cc-pre) .cmt { background: none; box-shadow: inset 0 -2px 0 var(--comment-line); }
.review.cc-nofocus .hunk.is-active .del { background: var(--del-wash); }
.review.cc-nofocus .hunk.is-active .ins { box-shadow: inset 2px 0 0 var(--ins-rail); }
.review.cc-pre .hunk .del, .review.cc-pre .hunk.is-active .del { background: none; box-shadow: none; color: inherit; text-decoration-color: transparent; padding-left: 0; }

.paste-card {
  width: min(880px, 100%); margin: 56px auto 0; background: var(--white); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 28px 32px; display: flex; flex-direction: column; gap: 14px;
}
.paste-card h3 { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.paste-card .note { color: var(--muted); font-size: 15px; }
.paste-card .note code { font-family: var(--font-mono); font-size: 0.92em; }
.cmdfield {
  display: flex; align-items: center; gap: 16px; background: var(--tint); border: 1px solid var(--hairline);
  border-radius: 9px; padding: 8px 8px 8px 20px;
}
.cmdfield code { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 16px; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.copy-btn { min-width: 84px; }
.copy-btn.copied { background: var(--mint); border-color: var(--mint-deep); color: var(--ins-ink); }

/* Section 4: features */
.features-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.section-features { padding-top: 96px; padding-bottom: 96px; }
.feature-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.feature {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 14px; padding: 10px 10px 22px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s;
}
.feature:hover { border-color: #ddd8ca; }
.feature h3 { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; padding-inline: 10px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 22px; padding-inline: 10px; margin-top: -12px; }
.fv {
  position: relative; height: 196px; border-radius: 9px; overflow: hidden; padding: 18px 16px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
/* The small pictures sit on the card itself: no tinted panel behind them. */
.mini { background: var(--white); border: 1px solid var(--hairline); border-radius: 8px; padding: 12px; font-family: var(--font-serif); font-size: 13px; line-height: 20px; color: var(--ink); }
.wash { display: block; background: var(--sky); border-bottom: 2px solid var(--sky-deep); border-radius: 3px; padding: 1px 3px; }
.fv-comments { justify-content: flex-start; padding-top: 20px; gap: 0; }
.fv-comments .mini { padding-bottom: 22px; }
.bubble {
  position: relative; align-self: flex-start; margin: -14px 0 0 10%; max-width: 90%; display: flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--sky-deep); border-radius: 9px; padding: 8px 12px 8px 10px;
  box-shadow: var(--shadow-mini); font-weight: 500; font-size: 12px; line-height: 1.3; color: var(--ink-2);
}
.bubble i { width: 16px; height: 16px; border-radius: 50%; background: var(--sky-deep); flex: none; }
.squiggle { color: var(--del-ink); text-decoration: underline wavy var(--del-ink) 1px; text-underline-offset: 2px; }
.fix {
  align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; background: var(--white);
  border: 1px solid var(--hairline); border-radius: 9px; padding: 6px 10px 6px 8px; box-shadow: var(--shadow-mini);
  font-family: var(--font-serif); font-size: 13px; white-space: nowrap;
}
.fix .from { color: var(--del-ink); }
.fix .to { color: var(--ins-ink); font-weight: 600; }
.fix .arr { font-family: var(--font-display); font-size: 12px; color: var(--muted); }
.search {
  display: flex; align-items: center; gap: 8px; background: var(--white); border: 1.5px solid var(--butter-deep);
  border-radius: 9px; padding: 7px 10px; font-weight: 500; font-size: 13px;
}
.search svg { width: 14px; height: 14px; flex: none; }
.results { background: var(--white); border: 1px solid var(--hairline); border-radius: 9px; padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.results div { display: flex; gap: 8px; align-items: center; padding: 4px 6px; border-radius: 6px; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.results .hit { background: var(--card-warm); }
.results b { font-family: var(--font-mono); font-size: 9px; color: var(--muted); }
.results .s { font-family: var(--font-serif); overflow: hidden; text-overflow: ellipsis; }
.results .n { font-weight: 500; }
.minitree { background: var(--white); border: 1px solid var(--hairline); border-radius: 9px; padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.minitree div { font-weight: 500; font-size: 12px; color: var(--ink-2); padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.minitree .folder { display: flex; align-items: center; gap: 4px; }
.minitree .folder svg { width: 11px; height: 11px; flex: none; fill: none; stroke: var(--app-icon); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.minitree .nested { padding-left: 23px; }
.minitree .drop { background: var(--mint); border: 1.5px dashed var(--mint-deep); color: var(--ins-ink); padding: 3px 7px; }
.dragged {
  position: absolute; left: 84px; top: 146px; background: var(--white); border: 1px solid var(--mint-deep);
  border-radius: 6px; padding: 4px 8px 4px 16px; font-weight: 500; font-size: 12px; color: var(--ink-2);
  box-shadow: var(--shadow-mini); transform: rotate(-2deg); white-space: nowrap;
}
.fv-focus { justify-content: flex-end; padding: 16px 26px 0; }
.focused { background: var(--white); border: 1px solid var(--hairline); border-bottom: 0; border-radius: 8px 8px 0 0; padding: 14px 16px 16px; font-family: var(--font-serif); display: flex; flex-direction: column; gap: 8px; }
.focused strong { font-size: 14px; font-weight: 600; }
.focused span { font-size: 11px; line-height: 17px; color: var(--ink-2); }

.rail-dots { display: none; }
.trust { display: flex; justify-content: center; align-items: center; gap: 14px 22px; padding: 56px 0 0; list-style: none; margin: 0; flex-wrap: wrap; }
.trust li { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.ask { margin: 28px 0 0; text-align: center; font-size: 15px; color: var(--muted); }
.ask a { color: var(--accent); font-weight: 600; text-decoration: none; }
.ask a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Section 5: download */
.section-download { padding-top: 48px; padding-bottom: 80px; }
.get {
  background: var(--card-warm); border-radius: 14px; padding: 64px 64px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
}
.get h2 { font-weight: 800; font-size: clamp(44px, 1.6rem + 3vw, 64px); line-height: 1.03; letter-spacing: -0.03em; }
.get .buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.get-facts { font-size: 14px; color: var(--muted); margin-top: -14px; }
.mac-only { font-size: 15px; color: var(--ink-2); margin-top: -8px; }
.mac-only a { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }
.mac-only a:hover { color: var(--ink); }
.alt-install {
  display: grid; grid-template-columns: auto auto auto; gap: 10px 12px; align-items: center; justify-items: start;
  padding-top: 22px; border-top: 1px solid var(--card-warm-line); margin-top: 4px;
}
.alt-line { display: contents; font-size: 14px; color: var(--muted); }
.alt-line > span { justify-self: end; font-size: 14px; color: var(--muted); }
.alt-line code {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); background: var(--white);
  border: 1px solid var(--card-warm-line); border-radius: 7px; padding: 5px 10px; overflow-wrap: anywhere; user-select: all; justify-self: stretch;
}
.linkbtn {
  background: none; border: 0; padding: 4px 6px; margin: -4px -6px; cursor: pointer; border-radius: 6px;
  font-weight: 600; font-size: 14px; color: var(--accent-text);
}
.linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.linkbtn.copied { color: var(--ins-ink); }
.support-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-top: -8px; }
.support-links a { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: 14px; color: var(--muted); text-decoration: none; }
.support-links a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* kanban.page's outline cup and the X logo, shared by the download card and the footer */
svg.cup { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
svg.x-logo { width: 12px; height: 12px; flex: none; fill: currentColor; }

/* Footer: tall and centered, the chair above the wordmark */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--hairline); }
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 112px; padding-bottom: 64px; }
.foot-brand { display: flex; flex-direction: column; align-items: center; gap: 36px; text-decoration: none; color: var(--ink); border-radius: 12px; }
.foot-brand img { width: 176px; height: 220px; }
.foot-word { font-weight: 700; font-size: 28px; line-height: 34px; letter-spacing: -0.02em; }
.foot-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 28px 0 0; padding: 0; }
.foot-links li { display: flex; }
.foot-links a { font-weight: 500; font-size: 14px; line-height: 20px; color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-links .coffee { display: inline-flex; align-items: center; gap: 6px; }
.foot-links .coffee svg.cup { width: 14px; height: 14px; }
.byline { margin-top: 20px; font-size: 14px; line-height: 20px; color: var(--muted); }
.byline .by { display: inline-flex; align-items: center; gap: 5px; margin-left: 3px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.byline .by svg.x-logo { width: 11px; height: 11px; }
.byline .by:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reveal on scroll (JS adds .js; reduced motion never hides) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(12px); }
  .js [data-reveal].is-in {
    opacity: 1; transform: none;
    transition: opacity 0.4s var(--ease) var(--d, 0ms), transform 0.4s var(--ease) var(--d, 0ms);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .feature:hover, .btn:hover, .btn-white:hover { transform: none; }
}

/* ---------- Responsive (keep last) ---------- */
@media (max-width: 1199px) {
  .section-head { gap: 48px; }
  .section-head .title-block { flex: 1 1 auto; }
  .lede { flex: 0 1 460px; }
}
@media (max-width: 1199px) and (min-width: 841px) {
  .keystrip { align-self: stretch; justify-content: space-around; gap: 6px; padding: 10px 8px; }
  .keystrip .ks { flex-direction: column; gap: 5px; }
}
@media (max-width: 1139px) {
  .agent-shots { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 680px; margin-inline: auto; }
}
@media (max-width: 1079px) {
  .feature-rail {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .feature-rail::-webkit-scrollbar { display: none; }
  .feature { flex: 0 0 260px; scroll-snap-align: start; }
  .feature:hover { transform: none; box-shadow: none; }
  .rail-dots { display: flex; gap: 6px; justify-content: flex-start; margin-top: 12px; }
  .rail-dots button {
    width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center;
  }
  .rail-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: #d3cdbd; transition: width 0.2s var(--ease), background-color 0.2s; }
  .rail-dots button[aria-current="true"]::before { width: 18px; background: var(--ink); }
  .trust { padding-top: 40px; }
}
@media (max-width: 1023px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .lede { flex: none; }
  .stage { padding: 0 0 32px; }
  .window, .topbar { grid-template-columns: 180px 1fr; }
  .window { height: 444px; }
  .window-essay { height: auto; }
  .prose { padding-inline: 32px; }
  .editor-stage { padding: 0; }
}
@media (max-width: 840px) {
  .nav-links, .site-nav .lang { display: none; }
  .nav-right { gap: 12px; }
  .menu { display: block; }
  .lang-inline { display: flex !important; }
  .shots { grid-template-columns: 1fr; gap: 56px; }
  .writers { grid-template-columns: 1fr 1fr; }
  .section-who, .section-editor { padding-block: 88px; }
  .section { padding-block: 88px; }
  .section-paper { padding-block: 88px; }
  .section-features { padding-top: 88px; padding-bottom: 72px; }
}
@media (min-width: 841px) { .lang-inline { display: none; } }
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .site-nav .wrap { min-height: 53px; }
  .wordmark { font-size: 19.8px; gap: 7px; }
  .wordmark img { width: 21px; height: 26px; }
  .features-head { margin-bottom: 28px; }
  .hero { padding-top: 56px; }
  .hero-copy { gap: 20px; }
  .hero h1 { font-size: clamp(38px, 11.4vw, 48px); line-height: 1; }
  .hero-sub { font-size: 18px; line-height: 28px; }
  .hero-ctas { flex-direction: column; width: 100%; gap: 6px; }
  .hero-ctas .btn-ink { width: 100%; }
  .meta { font-size: 11px; }
  .stage { margin-top: 40px; padding: 0 0 16px; }
  /* Phone: the sidebar is hidden, so the top row shows the controls and a quiet breadcrumb. */
  .window { grid-template-columns: 1fr; grid-template-rows: 38px 1fr; height: 304px; border-radius: 10px; }
  .window .tree { display: none; }
  .topbar { grid-template-columns: auto 1fr; }
  .topbar-side { background: none; border-right: 0; gap: 10px; }
  .topbar-side .traffic { padding-left: 12px; gap: 6px; margin-right: 2px; }
  .topbar-side .traffic i { width: 10px; height: 10px; }
  .window svg { width: 14px; height: 14px; }
  .topbar-main { padding-left: 10px; }
  .crumb { display: block; font-size: 11.5px; }
  .prose { padding: 14px 18px 0; }
  .prose .doc-title { font-size: 23px; }
  .prose p { font-size: 15px; line-height: 23px; margin-top: 10px; }
  .prose .doc-title + p { margin-top: 12px; }
  .sbar-row { margin: 10px 0 0; justify-content: flex-start; }
  .sbar { gap: 12px; font-size: 12px; padding: 6px 10px; }
  .sbar .opt { display: none; }
  .section, .section-paper, .section-editor, .section-who { padding-block: 64px; }
  .section-why { padding-top: 48px; padding-bottom: 0; }
  .section-why .section-head { padding-top: 32px; }
  /* Phone: the essay window shows the page only, like the other mockups */
  .window-essay { height: auto; }
  .window-essay .prose { padding-bottom: 16px; }
  .prose .doc-img { margin-top: 14px; }
  .prose .doc-cap { font-size: 12px; margin-top: 6px; }
  .prose .doc-math { font-size: 19px; margin-bottom: 0; }
  .prose .wide-only { display: none; }
  .editor-notes { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .writers { grid-template-columns: 1fr; }
  .writers li { padding: 16px 0 20px; }
  .writers h3 { font-size: 19px; line-height: 24px; }
  .writers p { font-size: 16px; line-height: 24px; margin-top: 6px; }
  .section-features { padding-top: 64px; padding-bottom: 56px; }
  .section-head { margin-bottom: 28px; gap: 16px; }
  .lede { font-size: 18px; line-height: 28px; }
  .panel-doc { padding: 12px 18px 20px; }
  .panel-doc .doc-title { font-size: 19px; }
  /* Phone: no sidebar; the traffic lights start the top row, comments show as a quiet note. */
  .rw { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 40px 1fr; }
  .rw-side { background: none; border-right: 0; }
  .rw-tree { display: none; }
  .review-doc { grid-column: 1 / -1; padding: 10px 18px 20px; font-size: 15px; line-height: 24px; }
  .rw-top { padding: 0 8px 0 14px; }
  .rw-top .crumb { display: none; }
  .review.cc-pre .rw-note { display: block; }
  .rc { gap: 6px; }
  .rc-nav { display: none; }
  .rc-btn { padding: 6px 8px; font-size: 11.5px; }
  .review-doc .doc-title { font-size: 19px; }
  .panel-doc p { font-size: 15px; line-height: 24px; margin-top: 10px; }
  .panel-doc .sbar-row { margin: 10px 0 0; justify-content: flex-start; }
  .panel-doc .sbar .opt { display: none; }
  .ai-menu { width: 88%; margin-left: 6%; }
  .shot-caption { padding: 18px 2px 4px; }
  .shot-caption h3 { font-size: 19px; }
  .shot-caption p { font-size: 15px; line-height: 22px; }
  .keystrip { align-self: stretch; justify-content: space-around; gap: 6px; margin-top: 14px; padding: 10px 8px; }
  .keystrip .ks { flex-direction: column; font-size: 13.5px; gap: 5px; }
  .keycap { font-size: 13px; padding: 3px 8px; }
  .terminal { font-size: 12px; line-height: 18px; padding: 12px 14px 16px; }
  .cc-welcome { margin-bottom: 14px; }
  .cc-tool { margin-top: 10px; }
  .paste-card { margin-top: 28px; padding: 22px 18px; }
  .paste-card h3 { font-size: 18px; }
  .cmdfield { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; }
  .cmdfield code { font-size: 14px; }
  .copy-btn { width: 100%; }
  .feature { flex-basis: 250px; }
  .trust { justify-content: flex-start; gap: 8px; }
  .trust li { font-size: 15px; background: var(--paper); border-radius: 8px; padding: 5px 12px 5px 10px; }
  .ask { text-align: left; }
  .section-download { padding-top: 16px; padding-bottom: 56px; }
  .get { padding: 44px 20px 26px; gap: 22px; }
  .get .buttons { flex-direction: column; width: 100%; }
  .get .buttons .btn { width: 100%; }
  .alt-install { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 6px; width: 100%; padding-top: 18px; }
  .alt-line > span { justify-self: center; margin-top: 10px; }
  .alt-line code { max-width: 100%; text-align: center; justify-self: center; }
  .linkbtn { margin: 0; padding: 8px 20px; }
  .mac-only { font-size: 14px; margin-top: -4px; }
  .site-footer .wrap { padding-top: 72px; padding-bottom: 48px; }
  .foot-brand { gap: 24px; }
  .foot-brand img { width: 120px; height: 150px; }
  .foot-word { font-size: 24px; line-height: 30px; }
  .foot-links { gap: 8px 18px; margin-top: 22px; }
  .byline { margin-top: 18px; }
}
.is-paused .caret { animation-play-state: paused; }
