/* Survey Insight Skills — landing page styles.
   Editorial-technical: grotesque type, hairline rules, monochrome throughout,
   with one lime signal colour (--signal) reserved for "act here": the primary
   CTA, the active language segment, the logo tile, the pull-quote bar and link
   underlines on hover. No amber, no red — reliability warnings are rendered
   neutrally (surface, --text left border, ⚠ glyph, bold label) so they read as
   warnings without relying on colour. See CLAUDE.md for the token table. */

:root {
  --font: "Helvetica Neue", Helvetica, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1120px;
  --measure: 68ch;
  --r: 4px;
  --step: clamp(3.5rem, 7vw, 6.5rem);
}

/* light theme */
:root, [data-theme="light"] {
  --bg: #FFFFFF;
  --surface: #F4F4F4;
  --border: #E2E2E2;
  --text: #111111;
  --text-muted: #5C5C5C;
  --signal: #C8F04A;
  --signal-hover: #B4DC30;
  --signal-ink: #5C7700;
  --signal-label: #111111;
  --focus: #111111;
  --border-raised: #E2E2E2;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 12px 32px rgb(0 0 0 / 0.07);
}

[data-theme="dark"] {
  --bg: #0B0B0C;
  --surface: #16161A;
  --border: #2A2A2E;
  --text: #ECECEC;
  --text-muted: #A0A0A6;
  --signal: #C8F04A;
  --signal-hover: #D6F76B;
  --signal-ink: #C8F04A;
  --signal-label: #111111;
  --focus: #C8F04A;
  --border-raised: #43434A;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 14px 34px rgb(0 0 0 / 0.42);
}

*, *::before, *::after { 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(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--text); text-decoration-color: var(--signal); text-decoration-thickness: 2px; }

code, pre { font-family: var(--mono); font-size: 0.875em; letter-spacing: 0; }
pre { margin: 0; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--surface); color: var(--text);
  padding: 12px 18px; border: 1px solid var(--text-muted);
}
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 60px;
}
/* gap: 12px, not 10 — the 32px mark needs the extra breathing room next to the wordmark */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex: 0 0 auto; }
.brand-name { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.brand-mark { display: block; flex: 0 0 auto; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a {
  font-size: 14px; color: var(--text-muted); text-decoration: none; white-space: nowrap;
}
.site-nav a:hover { color: var(--text); }
.header-controls { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.langswitch {
  display: flex; padding: 2px; gap: 2px;
  border: 1px solid var(--text-muted); border-radius: var(--r);
  background: var(--surface);
}
/* two links, not a client-side toggle: the language is the URL */
.langbtn {
  font: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  padding: 5px 11px; border: 0; border-radius: 2px; cursor: pointer;
  background: transparent; color: var(--text-muted); text-decoration: none;
  display: inline-block; line-height: 1.35;
}
.langbtn:hover { color: var(--text); text-decoration: none; }
.langbtn[aria-current="true"] { background: var(--signal); color: var(--signal-label); }
.langbtn[aria-current="true"]:hover { color: var(--signal-label); }

.iconbtn {
  display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0; cursor: pointer;
  border: 1px solid var(--text-muted); border-radius: var(--r);
  background: var(--surface); color: var(--text);
}
.iconbtn:hover { color: var(--text); border-color: var(--text); }
.iconbtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.i-moon { display: none; }
[data-theme="dark"] .i-sun { display: none; }
[data-theme="dark"] .i-moon { display: block; }

/* ---------- shared type ---------- */
.eyebrow, .kicker, .minilabel {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-muted); margin: 0;
}
.kicker { color: var(--text-muted); margin-bottom: 18px; }
.h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem); line-height: 1.15;
  letter-spacing: -0.028em; font-weight: 600;
  margin: 0 0 18px; max-width: 24ch + 6ch; max-width: 30ch;
  text-wrap: balance;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem); line-height: 1.55; color: var(--text);
  max-width: var(--measure); margin: 0 0 28px; text-wrap: pretty;
}
.lede-sm { font-size: 1.05rem; margin-bottom: 34px; }

.band { padding: var(--step) 0; border-top: 1px solid var(--border); }
.band-alt { background: var(--surface); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0 clamp(2.75rem, 4vw, 4rem);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 80% at 78% 0%, #000 0%, transparent 62%);
  -webkit-mask-image: radial-gradient(120% 80% at 78% 0%, #000 0%, transparent 62%);
}
.hero .wrap { position: relative; }
.hero-h1 {
  font-size: clamp(2.1rem, 5.6vw, 3.85rem); line-height: 1.04;
  letter-spacing: -0.038em; font-weight: 600;
  margin: 18px 0 18px; max-width: 21ch; text-wrap: balance;
}
.hero .lede { font-size: 1.08rem; margin-bottom: 24px; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px; border-radius: var(--r);
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--signal); color: var(--signal-label); }
.btn-primary:hover { background: var(--signal-hover); color: var(--signal-label); }
.btn-ghost { border-color: var(--text); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-plain { color: var(--text-muted); padding: 0 6px; text-decoration: underline; text-underline-offset: 2px; }
.btn-plain:hover { color: var(--text); text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.factline { font-size: 13.5px; color: var(--text-muted); margin: 0; font-family: var(--mono); letter-spacing: 0; }

/* hero: two-column at >=1024px */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: start; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 55fr 45fr; gap: 44px; }
  .hero-artifact { padding-top: 62px; }
}

/* hero artifact: input line + document card.
   The prompt line wraps rather than truncates: the German command is longer than
   the English one and does not fit the narrow artifact column, and a half-shown
   command on a page about trustworthy output is worse than a two-line pill.
   overflow-x stays as a last resort for an unbreakable token. */
.hero-artifact { min-width: 0; }
.hero-prompt {
  display: flex; align-items: baseline; gap: 8px;
  margin: 0 0 -10px; position: relative; z-index: 1;
  width: fit-content; max-width: 100%;
  background: var(--surface); border: 1px solid var(--text-muted);
  border-radius: 999px; padding: 10px 18px;
  overflow-x: auto;
}
.hero-prompt-glyph { color: var(--text-muted); font-family: var(--mono); font-size: 13px; flex: 0 0 auto; }
.hero-prompt code { font-size: 13px; color: var(--text); }

.hero-card {
  position: relative; margin: 0 0 0 auto; width: 100%;
  background: var(--bg); border: 1px solid var(--text-muted);
  border-radius: 6px; box-shadow: var(--shadow); overflow: hidden;
}
@media (min-width: 640px) {
  .hero-card { width: calc(100% - 26px); }
}
[data-theme="dark"] .hero-card {
  background: var(--surface); border-color: var(--border-raised); box-shadow: none;
}
.hero-card-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-bottom: 1px solid var(--text-muted);
  background: var(--surface);
}
[data-theme="dark"] .hero-card-chrome { background: var(--bg); border-bottom-color: var(--border-raised); }
.hero-card-file { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-card-file code { font-size: 12px; color: var(--text-muted); }
.hero-card-body { padding: clamp(18px, 2.4vw, 26px); }
.hero-card-h {
  font-size: 1.12rem; font-weight: 600; letter-spacing: -0.024em; line-height: 1.25;
  margin: 0 0 12px; text-wrap: pretty;
}
.hero-card-takeaway {
  margin: 0 0 20px; font-size: 14.5px; line-height: 1.55; color: var(--text); text-wrap: pretty;
}
.hero-bars { display: grid; gap: 8px; }
.hero-bar { display: grid; grid-template-columns: minmax(96px, 15ch) 1fr auto; gap: 12px; align-items: center; }
.hero-bar-label { font-size: 13px; color: var(--text-muted); }
.hero-bar-track { display: block; height: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
[data-theme="dark"] .hero-bar-track { background: var(--bg); }
.hero-bar-fill { display: block; height: 100%; width: 0; background: var(--text); border-radius: 1px; transition: width .4s ease-out; }
.hero-bar-val { font-family: var(--mono); font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.hero-bar-val b { color: var(--text); font-weight: 600; }

.hero-stats {
  margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--border);
}
.hero-stats code { font-size: 11.5px; line-height: 1.6; color: var(--text-muted); }
.hero-note {
  display: flex; gap: 8px; margin: 12px 0 0;
  font-size: 12.5px; line-height: 1.5; color: var(--text); text-wrap: pretty;
}
.hero-card-meta {
  padding: 11px 16px; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; color: var(--text-muted);
  background: var(--surface);
}
[data-theme="dark"] .hero-card-meta { background: var(--bg); }

/* one-shot reveal on load */
.hero-prompt, .hero-card { opacity: 0; }
.hero-ready .hero-prompt { animation: heroIn .22s ease-out forwards; }
.hero-ready .hero-card { animation: heroUp .26s ease-out .2s forwards; }
@keyframes heroIn { to { opacity: 1; } }
@keyframes heroUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.no-js .hero-prompt, .no-js .hero-card { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-prompt, .hero-card { opacity: 1; }
  .hero-ready .hero-prompt, .hero-ready .hero-card { animation: none; }
  .hero-bar-fill { transition: none; }
}

@media (max-width: 1023px) {
  .hero-card-meta { display: none; }
}
@media (max-width: 480px) {
  .hero-bar { grid-template-columns: 1fr auto; }
  .hero-bar-track { grid-column: 1 / -1; }
  /* below 480px the pill spans the card's full width and reads as one stack
     with it, so it takes the card's cornering instead of the capsule's */
  .hero-prompt { border-radius: var(--r); }
}

/* ---------- problem ---------- */
.beats {
  list-style: none; margin: 0 0 40px; padding: 0;
  display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr);
  counter-reset: b;
}
.beats li { border-top: 2px solid var(--text-muted); padding-top: 16px; }
.beats h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.018em; margin: 0 0 8px; }
.beats p { margin: 0; color: var(--text-muted); font-size: 15.5px; text-wrap: pretty; }
.pull {
  font-size: clamp(1.15rem, 2.3vw, 1.55rem); line-height: 1.35; letter-spacing: -0.025em;
  max-width: 34ch; margin: 0; padding-left: 20px;
  border-left: 3px solid var(--signal); text-wrap: pretty;
}
.pull-sm { font-size: 1.1rem; line-height: 1.5; max-width: 52ch; margin-top: 40px; letter-spacing: -0.012em; }

/* ---------- how ---------- */
.how-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 28px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 4px 18px; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-family: var(--mono); font-size: 13px; color: var(--text-muted);
  padding-top: 4px; border-top: 2px solid var(--signal);
}
.steps h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.steps p { margin: 6px 0 0; color: var(--text-muted); font-size: 15.5px; max-width: 56ch; text-wrap: pretty; }
.steps code, .sidenote code { background: var(--bg); color: var(--text); border: 1px solid var(--border); padding: 1px 5px; border-radius: 3px; }
.sidenote {
  background: var(--bg); border: 1px solid var(--border);
  border-left: 3px solid var(--text); border-radius: var(--r);
  padding: 22px 24px;
}
.sidenote h3 { font-size: 0.95rem; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }
.sidenote p { margin: 0 0 12px; font-size: 15px; color: var(--text-muted); text-wrap: pretty; }
.sidenote p:last-child { margin: 0; font-family: var(--mono); font-size: 13px; }

/* ---------- example artifact ---------- */
.artifact { display: grid; grid-template-columns: 1fr 1.55fr; gap: 40px; align-items: start; }
.artifact-ask { position: sticky; top: 84px; }
.minilabel { margin-bottom: 12px; }
.ask-cmd { margin: 0 0 12px; }
.ask-cmd code {
  display: block; font-size: 14.5px; line-height: 1.5;
  background: var(--surface); border: 1px solid var(--text-muted);
  border-left: 3px solid var(--text);
  border-radius: var(--r); padding: 16px 18px; color: var(--text);
  overflow-x: auto;
}
.ask-note { margin: 0; font-size: 14px; color: var(--text-muted); max-width: 30ch; }
.arrow { font-size: 20px; color: var(--text-muted); margin: 22px 0 0; }
.artifact-doc { margin: 0; }
.minilabel-out { margin-bottom: 12px; }

.doc {
  background: var(--surface); border: 1px solid var(--text-muted);
  border-radius: 6px; box-shadow: var(--shadow); overflow: hidden;
}
.doc-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-bottom: 1px solid var(--text-muted);
  background: var(--bg);
}
.doc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); flex: 0 0 auto; }
.doc-file { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-file code { font-size: 12.5px; color: var(--text); }
.doc-tag {
  margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
  border: 1px solid var(--text-muted); border-radius: 3px; padding: 2px 6px; flex: 0 0 auto;
}
.doc-body { padding: clamp(24px, 4vw, 42px); }
.doc-h1 {
  font-size: 1.5rem; font-weight: 600; letter-spacing: -0.028em; margin: 0 0 22px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.doc-h2 {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 400; margin: 34px 0 12px;
}
.doc-takeaway { background: var(--bg); border: 1px solid var(--text-muted); border-radius: var(--r); padding: 18px 20px; }
.doc-takeaway-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin: 0 0 8px;
}
.doc-takeaway p:last-child { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.doc-caption { font-size: 14px; color: var(--text-muted); margin: 0 0 14px; }

.bars { display: grid; gap: 7px; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 12ch) 1fr auto; gap: 14px; align-items: center; }
.bar-label { font-size: 14.5px; color: var(--text); }
.bar-track { display: block; height: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.bar-fill {
  display: block; height: 100%; width: 0; border-radius: 2px;
  background: var(--text); transition: width .5s ease-out;
}
.bar-row:nth-child(4) .bar-fill, .bar-row:nth-child(5) .bar-fill { background: var(--text-muted); }
.bar-val { font-family: var(--mono); font-size: 12.5px; color: var(--text-muted); white-space: nowrap; }

.doc-aggregates {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 14.5px;
}
.agg span { color: var(--text-muted); }
.agg b { font-family: var(--mono); font-size: 13.5px; color: var(--text); }

.doc-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--text-muted); }
.doc-stats code { background: var(--bg); border: 1px solid var(--border); border-radius: 3px; padding: 2px 6px; color: var(--text); }
.doc-warn {
  display: flex; gap: 10px; margin: 14px 0 0;
  background: var(--bg); border: 1px solid var(--border); border-left: 2px solid var(--text);
  border-radius: var(--r); padding: 13px 16px;
  font-size: 14.5px; color: var(--text); text-wrap: pretty;
}
.warn-note { font-weight: 700; }
.warn-mark { flex: 0 0 auto; }
.doc-method { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.6; text-wrap: pretty; }
.doc-figcaption { margin: 14px 0 0; font-size: 13px; color: var(--text-muted); max-width: 62ch; }

/* ---------- trust ---------- */
.checklist {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px;
}
.checklist li {
  position: relative; padding: 15px 0 15px 34px;
  border-bottom: 1px solid var(--border);
  font-size: 15.5px; color: var(--text); text-wrap: pretty;
}
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 21px;
  width: 11px; height: 6px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text);
  transform: rotate(-45deg);
}

/* ---------- skills ---------- */
.skillgrid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr);
  background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
}
.skillcard {
  background: var(--surface); padding: 24px 22px 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.skillcard h3 {
  font-size: 1.08rem; font-weight: 600; letter-spacing: -0.022em; line-height: 1.25;
  margin: 0; max-width: 24ch; text-wrap: pretty;
}
.skill-id { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.skill-id > code { font-size: 13px; color: var(--text); background: var(--bg); border: 1px solid var(--border); padding: 2px 7px; border-radius: 3px; }
.skill-alt { font-size: 12px; color: var(--text-muted); }
.skill-alt code { font-size: 12px; }
.skill-ex { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--border); }
.skill-ex code { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

/* ---------- what it isn't ---------- */
.isnt-block { max-width: 74ch; }
.isnt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.isnt-list li {
  position: relative; padding-left: 26px; font-size: 16.5px; color: var(--text); text-wrap: pretty;
}
.isnt-list li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 2px; background: var(--text-muted);
}

/* ---------- agents ---------- */
.badges { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li {
  font-size: 14px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--text-muted); color: var(--text); background: var(--surface);
}
.note { margin: 0; font-size: 15.5px; color: var(--text-muted); max-width: var(--measure); text-wrap: pretty; }
.note code { background: var(--surface); border: 1px solid var(--border); border-radius: 3px; padding: 1px 6px; color: var(--text); }

/* ---------- start ---------- */
.start-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.need h3, .install h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 16px; }
.needlist { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.needlist li {
  position: relative; padding-left: 26px; font-size: 15.5px; color: var(--text); text-wrap: pretty;
}
.needlist li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px;
  background: var(--text); border-radius: 1px;
}
.need-note { margin: 0; font-size: 14px; color: var(--text-muted); max-width: 46ch; font-style: italic; }

.codeblock { position: relative; border: 1px solid var(--text-muted); border-radius: var(--r); background: var(--bg); }
.codeblock pre { padding: 18px 20px; overflow-x: auto; }
.codeblock code { font-size: 13.5px; line-height: 1.75; color: var(--text); white-space: pre; }
.copybtn {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  font: inherit; font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; cursor: pointer;
  border: 1px solid var(--text-muted); border-radius: 3px;
  background: var(--surface); color: var(--text);
}
.copybtn:hover { color: var(--text); border-color: var(--text); }
.copybtn[data-copied="true"] { background: var(--signal); border-color: var(--signal); color: var(--signal-label); }
.after { margin: 16px 0 0; font-size: 15.5px; color: var(--text); }
.samples { margin: 12px 0 0; font-size: 14.5px; color: var(--text-muted); max-width: 58ch; text-wrap: pretty; }

/* ---------- faq ---------- */
.faqlist { max-width: 78ch; border-top: 1px solid var(--text-muted); }
.faqlist details { border-bottom: 1px solid var(--text-muted); }
.faqlist summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em;
}
.faqlist summary::-webkit-details-marker { display: none; }
.faqlist summary::after {
  content: ""; position: absolute; right: 6px; top: 26px;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faqlist details[open] summary::after { transform: rotate(225deg); top: 28px; }
.faqlist summary:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.faq-a { padding: 0 48px 22px 0; }
.faq-a p { margin: 0; color: var(--text-muted); font-size: 15.5px; max-width: var(--measure); text-wrap: pretty; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 64px; background: var(--surface); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; align-items: start; }
.footer-brand .brand-mark { margin-bottom: 14px; }
.footer-name { font-size: 15px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.02em; }
.footer-tagline { margin: 0; font-size: 14.5px; color: var(--text-muted); max-width: 34ch; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: 14.5px; text-decoration: underline; text-underline-offset: 2px; color: var(--text); }
.footer-links a:hover { color: var(--text); text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.footer-meta { display: grid; gap: 8px; }
.footer-meta p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .22s ease-out, transform .22s ease-out; }
.no-js .reveal, .no-motion .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .bar-fill { transition: none; }
}

/* Grid items default to min-width: auto, so a horizontally scrollable child
   (the install block, the ask command) would push the whole page wider than the
   viewport on narrow screens instead of scrolling inside its own box. */
.start-grid > *, .artifact > *, .how-grid > * { min-width: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .how-grid, .start-grid { grid-template-columns: 1fr; gap: 34px; }
  .artifact { grid-template-columns: 1fr; gap: 26px; }
  .artifact-ask { position: static; }
  .arrow { display: none; }
  .skillgrid { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .site-nav { display: none; }
  .header-controls { margin-left: auto; }
  .beats { grid-template-columns: 1fr; gap: 22px; }
  .skillgrid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .btn { width: 100%; }
  .btn-plain { width: auto; }
  .bar-row { grid-template-columns: minmax(84px, 11ch) 1fr auto; gap: 10px; }
  .doc-figcaption { font-size: 12.5px; }
}
@media (max-width: 380px) {
  .bar-row { grid-template-columns: 1fr auto; }
  .bar-track { grid-column: 1 / -1; }
}

/* ---------- legal pages (imprint, privacy) ---------- */
.legal { padding: var(--step) 0; }
.legal-body { max-width: 74ch; }
.legal-updated { font-family: var(--mono); font-size: 12px; color: var(--text-muted); margin: -6px 0 32px; }
.legal-body h2 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.018em; margin: 34px 0 10px; }
.legal-body h3 { font-size: 0.95rem; font-weight: 600; margin: 20px 0 6px; }
.legal-body p { margin: 0 0 12px; font-size: 15.5px; color: var(--text-muted); max-width: var(--measure); text-wrap: pretty; }
.legal-body ul { margin: 0 0 12px; padding-left: 22px; }
.legal-body li { margin: 0 0 6px; font-size: 15.5px; color: var(--text-muted); text-wrap: pretty; }
.legal-body address { font-style: normal; font-size: 15.5px; color: var(--text); }
.legal-body code { background: var(--surface); border: 1px solid var(--border); border-radius: 3px; padding: 1px 5px; color: var(--text); }
.legal-note { font-size: 14px; color: var(--text-muted); border-left: 3px solid var(--text); padding-left: 16px; margin: 28px 0 0; }
