/* IndexLark marketing site. Brand: white sheets on cool fog, ink text, forest
   for the logo and one band, citrus as the one highlighter. Grammar: marked
   proof. The scroll mechanism is scrollcraft.css; this file is the page. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Code Pro";
  src: url("fonts/source-code-pro.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}

:root {
  --forest: #173C31; --ink: #0E1A16; --slate: #4A5A53; --fog: #EEF2F0;
  --line: #CFD8D3; --mist: #B9C9C0; --citrus: #D5E86A; --white: #FFFFFF;
  --error: #A3261A;

  /* scrollcraft tokens, re-keyed to the brand */
  --sc-canvas: var(--fog); --sc-surface: var(--white);
  --sc-ink: var(--ink); --sc-ink-soft: var(--slate);
  --sc-accent: var(--citrus); --sc-accent-ink: var(--ink);
  --sc-font-display: "Bricolage Grotesque", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --sc-font-text: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --sc-font-mono: "Source Code Pro", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sc-leading-body: 1.55;
  --sc-track-normal: 0;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 40px; --s8: 64px; --s9: 96px;
  --gutter: clamp(20px, 5vw, 80px);
  --maxw: 1280px;
  --bar: 64px;
  --section: clamp(72px, 9vw, 136px);
  --r-ctl: 4px; --r-sheet: 8px;

  --e1: 0 1px 2px rgba(14,26,22,.06), 0 3px 10px -3px rgba(14,26,22,.10);
  --e2: 0 2px 4px rgba(14,26,22,.05), 0 14px 30px -10px rgba(14,26,22,.18);
  --e3: 0 4px 8px rgba(14,26,22,.05), 0 26px 52px -14px rgba(14,26,22,.24), 0 60px 100px -36px rgba(23,60,49,.26);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

html { scroll-padding-top: calc(var(--bar) + 16px); }
body {
  margin: 0; background: var(--fog); color: var(--ink);
  font-family: var(--sc-font-text); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
*, *::before, *::after { box-sizing: border-box; }
img, svg { display: block; }
[hidden] { display: none !important; }
p, h1, h2, h3, dl, dd, figure { margin: 0; }
a { color: inherit; }
::selection { background: var(--citrus); color: var(--ink); }
:root { caret-color: var(--forest); accent-color: var(--forest); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: var(--r-ctl); }
.pilot :focus-visible, .foot :focus-visible, .diff :focus-visible { outline-color: var(--citrus); }

/* No-JS: everything the engine would reveal is simply there. */
html:not(.js) [data-sc-cue], html:not(.js) [data-sc-in], html:not(.js) [data-sc-stagger] > * { opacity: 1; transform: none; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: var(--r-ctl); }
.skip:focus { top: 12px; }

h1, h2 { font-family: var(--sc-font-display); font-stretch: 100%; text-wrap: balance; }
h2 { font-weight: 650; font-size: clamp(2rem, 1.15rem + 2.9vw, 3.25rem); line-height: 1.03; letter-spacing: -0.032em; }
.lede { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); line-height: 1.45; color: var(--ink); text-wrap: pretty; }
p { text-wrap: pretty; }
ins { text-decoration: none; }
.arrow { font-family: var(--sc-font-text); display: inline-block; transition: transform 160ms var(--ease); }

/* ---------------------------------------------------------- evidence states */
.st {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 12px/16px var(--sc-font-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  white-space: nowrap;
}
.st::before { content: ""; width: 10px; height: 10px; flex: none; border: 1.5px solid currentColor; }
.st--observed::before { background: currentColor; }
.st--proposed::before { background: var(--citrus); border-color: var(--ink); }
.st--live::before { border-radius: 50%; }
.st--unmeasured::before { border-style: dashed; }

/* ------------------------------------------------------------------ controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-ctl);
  font: 650 17px/1 var(--sc-font-text); text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1.5px solid var(--ink);
  transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 16px; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--go { background: var(--citrus); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { background: var(--forest); border-color: var(--forest); }
  .btn--go:hover { box-shadow: 0 3px 0 var(--ink); transform: translateY(-1px); }
  .btn--line:hover { background: var(--fog); }
  .link:hover .arrow { transform: translateX(3px); }
}
.link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}

/* ----------------------------------------------------------------------- bar */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar);
  background: var(--fog); border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.bar.is-scrolled { border-bottom-color: var(--line); }
.bar__in { height: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: var(--s5); }
.bar__logo { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
.bar__logo img { width: 152px; height: auto; }
.key { display: flex; gap: var(--s2); }
.key a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; border-radius: var(--r-ctl); }
.key .st { color: var(--slate); transition: color 160ms var(--ease); }
.key a[aria-current] .st { color: var(--ink); }
.key a[aria-current] { box-shadow: inset 0 -1.5px 0 var(--ink); border-radius: 0; }
@media (hover: hover) and (pointer: fine) { .key a:hover .st { color: var(--ink); } }
@media (max-width: 1000px) { .key { display: none; } }
@media (max-width: 420px) { .bar__logo img { width: 128px; } }

/* ---------------------------------------------------------------------- hero */
/* The hero's layout, depth field and motion live in hero.css. What stays here is
   the answer sheet itself, which the buyer's answer further down reuses. */
.ans {
  position: absolute; background: var(--white); border-radius: var(--r-sheet);
  padding: 1.15em 1.3em 1.1em; width: 20em; color: var(--ink);
  border: 1px solid rgba(14,26,22,.07);
}
.ans__head { display: flex; align-items: center; gap: .6em; margin-bottom: .7em; }
.eng {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 .8em/1.2 var(--sc-font-mono); letter-spacing: 0.02em; color: var(--slate);
}
.eng::before { content: ""; width: .62em; height: .62em; border-radius: 50%; border: 1.5px solid currentColor; }
.ans__q { font: 640 1.14em/1.16 var(--sc-font-display); letter-spacing: -0.022em; }
.ans__a { margin-top: .5em; font-size: 1em; line-height: 1.42; color: var(--slate); }
.ans__src { margin-top: .5em; font: 500 .78em/1.3 var(--sc-font-mono); color: var(--forest); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.ans__foot { margin-top: .85em; padding-top: .7em; border-top: 1px solid var(--line); display: flex; align-items: center; gap: .7em; font-size: .86em; color: var(--slate); }
.ans .st { font-size: max(.72em, 10px); gap: .6em; }
.ans .st::before { width: .8em; height: .8em; }
.ans del { color: var(--slate); text-decoration-thickness: 1.5px; }
.ans ins, .answer ins, .frame ins {
  background: var(--citrus); color: var(--ink); font-weight: 600;
  padding: 0 .22em; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ink);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* -------------------------------------------------------------------- retune */
.retune { background: var(--white); border-top: 1px solid var(--line); }
.retune__stage { display: flex; align-items: flex-start; padding-top: calc(var(--bar) + clamp(32px, 7vh, 72px)); background: var(--white); }
html:not(.js) .retune__stage { padding-block: var(--section); }
.retune__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.retune__state { display: grid; height: 16px; margin-bottom: var(--s5); }
.retune__state > * { grid-area: 1 / 1; justify-self: start; }
.retune__lines { margin-top: var(--s5); max-width: 30em; }
.retune__intro { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); line-height: 1.45; }
.retune__steps { --gap: var(--s4); list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--gap); }
.retune__steps li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 15px); bottom: calc(-1 * var(--gap) + .3em - 2px); width: 1px; background: var(--line); }
.retune__steps li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; color: var(--slate); }
.retune__steps li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 13px; height: 13px; box-sizing: border-box;
  border: 1.5px solid var(--slate); border-radius: 2px; background: var(--white);
  transition: background 240ms var(--ease), border-color 240ms var(--ease), transform 240ms var(--ease);
}
.retune__steps strong { display: block; font: 640 1.125rem/1.25 var(--sc-font-display); letter-spacing: -0.02em; color: var(--ink); margin-bottom: 2px; }
.js:not(.flat) .retune__steps strong { transition: color 240ms var(--ease); }
.js:not(.flat) .retune__steps li:not(.is-done) strong { color: var(--slate); }
.retune__steps li.is-done::before, html:not(.js) .retune__steps li::before { background: var(--citrus); border-color: var(--ink); }
.retune__steps li.is-now::before { transform: scale(1.18); }
.retune__steps li.is-now strong { width: fit-content; box-shadow: inset 0 -.34em 0 color-mix(in oklab, var(--citrus) 75%, transparent); }
.js .retune h2 { display: grid; }
.js .retune h2 > span { grid-area: 1 / 1; }
html:not(.js) .retune h2 > span { display: block; }
html:not(.js) .diff__empty { display: none; }
html:not(.js) .retune [data-when="before"] { opacity: 1; }
html:not(.js) .answer [data-when="before"] { display: none; }
html:not(.js) .retune__state [data-when="before"] { display: none; }

/* before/after pairs swap on the stage's state */
[data-when] { transition: opacity 240ms var(--ease); }
.retune [data-when="before"] { opacity: 0; }
.retune.is-before [data-when="before"] { opacity: 1; }
.retune.is-before [data-when="after"] { opacity: 0; }

.retune__work { position: relative; display: grid; gap: 0; }
.sheet { background: var(--white); border-radius: var(--r-sheet); border: 1px solid rgba(14,26,22,.08); box-shadow: var(--e2); }
.answer { position: relative; z-index: 2; padding: 24px 28px 28px 84px; border-top: 1.5px solid var(--ink); background:
  linear-gradient(var(--line), var(--line)) 60px 0 / 1px 100% no-repeat, var(--white); }
.answer__head { display: flex; align-items: center; gap: var(--s4); padding-bottom: var(--s4); border-bottom: 1px solid var(--line); font-size: 15px; }
.answer__head .eng { font-size: 13px; }
.answer__who { display: grid; }
.answer__who > * { grid-area: 1 / 1; white-space: nowrap; }
.answer__mode { display: grid; color: var(--slate); font-size: 14px; margin-right: auto; }
.answer__mode > * { grid-area: 1 / 1; white-space: nowrap; }
.answer__q { margin-top: var(--s5); font: 640 clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem)/1.14 var(--sc-font-display); letter-spacing: -0.024em; }
.answer__a { margin-top: var(--s3); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.62; min-height: 8.1em; }
.fix del { text-decoration: underline wavy var(--error); text-decoration-thickness: 1.5px; text-underline-offset: 4px; color: var(--ink); transition: color 200ms var(--ease); }
.fix ins { display: none; margin-left: .28em; }
.answer ins, .frame ins { box-shadow: inset 0 -1.5px 0 var(--ink); border-radius: 2px; padding: 1px .2em; }
.fix.is-fixed del { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--slate); }
.fix.is-fixed ins { display: inline; animation: mark-in 420ms var(--ease) both; }
.fix--gap del { border: 1px dashed var(--slate); border-radius: 3px; padding: 1px 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; text-decoration: none; color: var(--slate); font-size: .92em; }
.fix--gap.is-fixed del { text-decoration: line-through; }
@keyframes mark-in { from { opacity: 0; } to { opacity: 1; } }
.answer__lark { position: absolute; left: 3px; top: 0; width: 54px; height: 54px; transform: translateY(var(--lark-y, 62px)); transition: transform 520ms cubic-bezier(.34, 1.3, .5, 1); }

.diff {
  position: relative; z-index: 1; margin: -10px 0 0 clamp(20px, 6%, 56px); padding: 26px 24px 20px;
  background: var(--ink); color: var(--white); border-radius: 0 0 var(--r-sheet) var(--r-sheet);
  font: 500 14px/1.5 var(--sc-font-mono); box-shadow: var(--e2); min-height: 250px;
}
.diff__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; color: var(--mist); font-size: 13px; padding-bottom: 10px; border-bottom: 1px solid rgba(185,201,192,.28); }
.diff__status { color: var(--citrus); }
.diff__empty { color: var(--mist); position: absolute; left: 24px; top: 70px; }
.diff__empty[hidden] { display: none; }
.hunk { padding-top: 12px; }
.hunk__file { color: var(--mist); font-size: 12.5px; }
.hunk__file span { color: var(--citrus); margin-left: 8px; }
.hunk__del, .hunk__add { padding: 2px 8px; border-radius: 3px; margin-top: 3px; overflow-wrap: anywhere; }
.hunk__del { color: var(--mist); text-decoration: line-through; text-decoration-color: rgba(185,201,192,.7); }
.hunk__add { background: rgba(213,232,106,.16); color: var(--white); box-shadow: inset 2px 0 0 var(--citrus); }
.js .hunk { transition: opacity 320ms var(--ease), transform 320ms var(--ease); }
.js .hunk:not(.is-fixed) { opacity: 0; transform: translateY(8px); }

@media (max-width: 860px) {
  .retune__stage { align-items: flex-start; padding-top: calc(var(--bar) + 16px); }
  .retune__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .retune__state { margin-bottom: 10px; }
  .retune h2 { font-size: 1.75rem; }
  .retune__lines { margin-top: 10px; }
  .retune__intro { font-size: 16px; line-height: 1.45; }
  .retune__work { margin-top: 30px; }
  .answer { padding: 14px 16px 16px; background: var(--white); }
  .answer__lark { left: auto; right: 14px; top: auto; bottom: calc(100% - 7px); width: 46px; height: 46px; transform: none; }
  .answer__head { padding-bottom: 10px; gap: 10px; }
  .diff__empty { left: 14px; top: 62px; }
  .diff { min-height: 132px; }
  .answer__q { margin-top: 12px; font-size: 1.125rem; }
  .answer__a { margin-top: 8px; font-size: 16px; line-height: 1.5; min-height: 9em; }
  .diff { margin: -6px 0 0 12px; padding: 16px 14px 12px; font-size: 12.5px; }
  .diff__head { font-size: 12px; }
  .js .hunk:not(.is-current) { display: none; }
  .hunk { padding-top: 8px; }
  html:not(.js) .retune__lines { min-height: 0; }
}
@media (max-width: 860px) and (max-height: 740px) {
  .retune__stage { padding-top: calc(var(--bar) + 12px); }
  .retune__state { margin-bottom: 8px; }
  .retune h2 { font-size: 1.5rem; }
  .retune__lines { margin-top: 6px; }
  .retune__intro, .retune__steps li { font-size: 15px; line-height: 1.4; }
  .retune__work { margin-top: 24px; }
  .answer { padding: 10px 14px 12px; }
  .answer__head { padding-bottom: 8px; }
  .answer__q { margin-top: 8px; font-size: 1rem; }
  .answer__a { margin-top: 6px; font-size: 15px; line-height: 1.42; min-height: 8.6em; }
  .diff { padding: 12px 12px 10px; min-height: 104px; }
  .diff__head span:first-child { display: none; }
  .diff__empty { top: 44px; left: 12px; }
}
/* short desktop windows: the pinned stage has to fit under the bar */
@media (min-width: 861px) and (max-height: 800px) {
  .retune h2 { font-size: clamp(1.75rem, 1rem + 2.2vw, 2.5rem); }
  .answer { padding: 16px 24px 18px 84px; }
  .answer__head { padding-bottom: 10px; }
  .answer__q { margin-top: 14px; }
  .answer__a { font-size: 1.0625rem; line-height: 1.5; min-height: 6.4em; }
  .diff { padding: 20px 20px 14px; font-size: 13px; min-height: 212px; }
  .diff__empty { top: 58px; left: 20px; }
  .hunk { padding-top: 8px; }
}
@media (min-width: 861px) and (max-height: 660px) {
  .answer__a { min-height: 5em; }
  .diff { min-height: 196px; }
}

/* --------------------------------------------------------------------- proof */

/* -------------------------------------------------------------------- report */

/* --------------------------------------------------------------------- pilot */
.pilot { background: var(--forest); color: var(--white); padding-block: var(--section); }
.pilot__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.pilot__price { margin-top: var(--s6); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.pilot__figure { font: 680 clamp(4rem, 2.4rem + 6vw, 7rem)/0.9 var(--sc-font-display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.pilot__per { font-size: 20px; color: var(--mist); }
.pilot__for { margin-top: var(--s5); color: var(--mist); max-width: 22em; font-size: 19px; line-height: 1.5; letter-spacing: 0.003em; }
.ledger > div { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: var(--s4); padding-block: 18px; border-top: 1px solid rgba(185,201,192,.32); }
.ledger > div:first-child { border-top: 1.5px solid var(--white); }
.ledger dt { font: 700 12px/28px var(--sc-font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.ledger dd { font-size: 19px; line-height: 1.5; letter-spacing: 0.003em; }
@media (max-width: 860px) { .pilot__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .ledger > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-block: 14px; } }

/* --------------------------------------------------------------------- start */
.field__error { margin-top: 8px; color: var(--error); font-weight: 600; font-size: 16px; }
.field__error::before { content: "Error: "; }
.composer__actions { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s3); }
.composer__how { margin-top: var(--s4); font-size: 15px; color: var(--slate); }
.composer__status { margin-top: var(--s3); font-weight: 600; font-size: 16px; min-height: 1.5em; }
.composer__status:empty { margin: 0; min-height: 0; }

/* ---------------------------------------------------------------------- foot */
.foot { background: var(--ink); color: var(--white); padding-block: var(--s7); }
.foot__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s5) var(--s6); align-items: start; }
.foot__text { font-size: 15px; line-height: 1.5; color: var(--mist); max-width: 46em; letter-spacing: 0.004em; }
.foot__text p + p { margin-top: 8px; }
.foot__text strong { color: var(--white); font-weight: 600; }
.foot__nav { display: grid; gap: 0; justify-items: end; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; text-underline-offset: 4px; }
@media (max-width: 860px) { .foot__in { grid-template-columns: auto minmax(0, 1fr); } .foot__nav { grid-column: 1 / -1; justify-items: start; } }

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .answer__lark { transition: none; }
  .fix.is-fixed ins { animation: none; }
  .js .hunk { transition: opacity 200ms linear; transform: none !important; }
  .arrow, .btn { transition: none; }
}

@media print {
  .bar { position: static; }
}

/* ======================================================= round two sections */
.sprite { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { width: 1em; height: 1em; flex: none; fill: currentColor; }

/* ----------------------------------------------------------------- the run */
.run { background: var(--fog); padding-block: var(--section); border-top: 1px solid var(--line); }
.run__head { max-width: 46rem; }
.run__head .lede { margin-top: var(--s5); max-width: 34em; }
.steps { list-style: none; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: start; padding-block: clamp(36px, 4.5vw, 64px); border-top: 1px solid var(--line); }
.step:first-child { border-top: 1.5px solid var(--ink); }
.step__copy { position: sticky; top: calc(var(--bar) + 32px); }
.step__when { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/16px var(--sc-font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--forest); }
.step__when::before { content: ""; width: 10px; height: 10px; background: var(--citrus); border: 1.5px solid var(--ink); }
.step h3 { margin: var(--s4) 0 0; font: 650 clamp(1.5rem, 1.2rem + 1.1vw, 2rem)/1.08 var(--sc-font-display); letter-spacing: -0.028em; text-wrap: balance; }
.step__copy > p:last-child { margin-top: var(--s4); color: var(--slate); max-width: 30em; }

/* light cards: checklist and research */
.card { margin: 0; max-width: 34rem; border-top: 1.5px solid var(--ink); }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding: 18px 24px 14px; border-bottom: 1px solid var(--line); font: 640 1.125rem/1.2 var(--sc-font-display); letter-spacing: -0.02em; }
.card__sub { font: 500 13px/1.2 var(--sc-font-mono); letter-spacing: 0; color: var(--slate); }
.check, .audit { list-style: none; margin: 0; padding: 4px 24px 10px; }
.check li, .audit li { display: flex; align-items: center; gap: 12px; min-height: 52px; border-top: 1px solid var(--line); font-size: 17px; }
.check li:first-child, .audit li:first-child { border-top: 0; }
.check li > span:not(.ico), .audit li > span:first-child { margin-right: auto; }
.check .ico { font-size: 18px; color: var(--ink); }
.ico--none { width: 18px; height: 18px; border: 1.5px dashed var(--slate); border-radius: 50%; }
.ico--dot { display: inline-block; width: .62em; height: .62em; border: 1.5px solid currentColor; border-radius: 50%; }
.check b, .audit b { font: 600 15px/1 var(--sc-font-text); color: var(--slate); white-space: nowrap; }
.ok { display: inline-flex; align-items: center; gap: 8px; color: var(--forest) !important; }
.ok::before { content: ""; width: 7px; height: 12px; margin: -3px 2px 0 0; border: solid var(--forest); border-width: 0 2.2px 2.2px 0; transform: rotate(42deg); }
.check__none b { color: var(--slate); }
.audit mark, .msg mark { background: var(--citrus); color: var(--ink); font-weight: 650; padding: 1px 7px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.audit__num { font: 680 1.5rem/1 var(--sc-font-display) !important; letter-spacing: -0.03em; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.audit__engines { border-top: 0 !important; min-height: 0 !important; padding-bottom: 14px; }
.engines { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; }
.engines > span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font: 500 13px/1 var(--sc-font-mono); color: var(--slate); }
.engines .ico { font-size: 14px; color: var(--ink); }

/* the Slack surface: restrained chrome, in our palette */
.slack { margin: 0; max-width: 38rem; background: var(--ink); color: var(--white); border-radius: 10px; box-shadow: var(--e3); border: 1px solid rgba(255,255,255,.06); font-size: 16px; line-height: 1.45; letter-spacing: 0.003em; overflow: hidden; }
.slack__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: 13px 18px; border-bottom: 1px solid rgba(185,201,192,.2); }
.slack__chan { font: 700 16px/1.2 var(--sc-font-text); }
.slack__chan i { font-style: normal; color: var(--mist); font-weight: 500; margin-right: 1px; }
.slack__people { display: inline-flex; align-items: center; padding: 3px 9px 3px 4px; border: 1px solid rgba(185,201,192,.28); border-radius: 7px; }
.slack__people img, .slack__people .av { width: 22px; height: 22px; border-radius: 5px; margin-left: -6px; box-shadow: 0 0 0 2px var(--ink); object-fit: cover; }
.slack__people > :first-child { margin-left: 0; }
.slack__people b { margin-left: 8px; font: 600 13px/1 var(--sc-font-text); color: var(--mist); }
.av { display: inline-grid; place-items: center; background: var(--citrus); color: var(--ink); font: 700 12px/1 var(--sc-font-display); }
.slack__new { display: flex; align-items: center; margin: 14px 0 -4px; color: var(--citrus); font: 700 12px/1 var(--sc-font-text); }
.slack__new::before { content: ""; flex: 1; height: 1px; background: var(--citrus); opacity: .7; }
.slack__new span { padding: 0 18px 0 8px; }
.slack__msgs { list-style: none; margin: 0; padding: 14px 18px 18px; display: grid; gap: 16px; }
.msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.msg__av, .msg__av img { display: block; width: 36px; height: 36px; border-radius: 7px; }
.msg__av.av { display: grid; font-size: 17px; }
.msg__meta { display: flex; align-items: baseline; gap: 8px; line-height: 1.25; margin-bottom: 2px; }
.msg__meta b { font-weight: 700; }
.msg__meta span { font-size: 12.5px; color: var(--mist); }
.msg__body p + p { margin-top: 2px; }
.msg__letter { font: 680 1.5rem/1.1 var(--sc-font-display); }
.slack__day { display: flex; align-items: center; gap: 12px; color: var(--mist); font: 600 12.5px/1 var(--sc-font-text); }
.slack__day::before, .slack__day::after { content: ""; flex: 1; height: 1px; background: rgba(185,201,192,.24); }
.slack__day span { padding: 5px 12px; border: 1px solid rgba(185,201,192,.28); border-radius: 999px; }
.shipped, .rivals, .opts, .unfurl__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; }
.shipped li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 8px 10px; background: rgba(255,255,255,.045); border-radius: 6px; font-size: 15px; line-height: 1.35; }
.shipped u { display: block; margin-top: 2px; font: 500 12.5px/1.3 var(--sc-font-mono); color: var(--mist); text-decoration-color: rgba(185,201,192,.5); text-underline-offset: 3px; overflow-wrap: anywhere; }
.shipped i, .unfurl__list i { flex: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font: 600 12.5px/1.3 var(--sc-font-text); font-style: normal; color: var(--citrus); white-space: nowrap; }
.shipped i::before, .unfurl__list i::before { content: ""; width: 5px; height: 9px; margin-top: -3px; border: solid var(--citrus); border-width: 0 2px 2px 0; transform: rotate(42deg); }
.react { margin-top: 8px !important; }
.react > span:first-child { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid rgba(213,232,106,.55); background: rgba(213,232,106,.12); border-radius: 999px; font: 600 13px/1.2 var(--sc-font-text); color: var(--citrus); }
.react .ico { font-size: 14px; fill: none; }
.rivals li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.rivals .ico { font-size: 17px; margin-top: 3px; color: var(--white); }
.opts li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.opts b { display: inline-grid; place-items: center; height: 24px; border: 1px solid rgba(185,201,192,.4); border-radius: 5px; font: 700 13px/1 var(--sc-font-mono); }
.unfurl { margin-top: 10px; padding: 2px 0 2px 14px; border-left: 3px solid rgba(185,201,192,.4); }
.unfurl__repo { display: flex; align-items: center; gap: 8px; font: 500 13px/1.3 var(--sc-font-mono); color: var(--mist); }
.unfurl__repo .ico { font-size: 15px; color: var(--white); }
.unfurl__title { margin-top: 4px !important; font-weight: 700; }
.unfurl__title span { font-weight: 400; color: var(--mist); }
.unfurl__state { margin-top: 10px !important; }
.unfurl .st { color: var(--white); }
.unfurl .st--proposed::before { border-color: var(--citrus); }
.slack__typing { display: flex; align-items: center; gap: 10px; padding: 0 18px 16px 66px; font-size: 13px; color: var(--mist); }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--mist); animation: dot 1.2s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

@media (max-width: 860px) {
  .step { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .step__copy { position: static; }
  .slack { font-size: 15.5px; }
  .slack__msgs { padding: 12px 14px 16px; }
  .slack__head { padding: 12px 14px; }
  .slack__typing { padding-left: 62px; }
  .card__head { padding: 16px 18px 12px; }
  .check, .audit { padding-inline: 18px; }
  .check li, .audit li { font-size: 16px; }
}

/* -------------------------------------------------------------------- gets */
.gets { background: var(--white); padding-block: var(--section); border-top: 1px solid var(--line); }
.cadence { margin-top: clamp(32px, 4vw, 56px); }
.cadence__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 5vw, 88px); padding-block: var(--s6); border-top: 1.5px solid var(--ink); }
.cadence__row h3 { margin: 0; font: 650 clamp(1.5rem, 1.2rem + 1.1vw, 2rem)/1.08 var(--sc-font-display); letter-spacing: -0.028em; }
.cadence__row h3 span { display: block; margin-top: 8px; font: 600 13px/16px var(--sc-font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }
.cadence dl { margin: 0; }
.cadence dl > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); padding-block: 14px; border-top: 1px solid var(--line); }
.cadence dl > div:first-child { border-top: 0; padding-top: 0; }
.cadence dt { font: 640 1.125rem/1.3 var(--sc-font-display); letter-spacing: -0.018em; }
.cadence dd { color: var(--slate); font-size: 17px; line-height: 1.5; }
.gets__total { margin-top: var(--s5); padding: var(--s5); background: var(--fog); border-radius: var(--r-sheet); max-width: 60rem; color: var(--slate); }
.gets__total strong { color: var(--ink); }
@media (max-width: 860px) { .cadence__row { grid-template-columns: minmax(0, 1fr); } .cadence dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* -------------------------------------------------------------------- calm */
.calm { background: var(--fog); padding-block: var(--section); border-top: 1px solid var(--line); }
.calm h2 { font-size: clamp(2.25rem, 1rem + 4.6vw, 4.75rem); line-height: 0.98; letter-spacing: -0.035em; max-width: 13em; }
.calm .lede { margin-top: var(--s6); max-width: 34em; }

/* -------------------------------------------------------------------- pete */
.pete { background: var(--white); padding-block: var(--section); border-top: 1px solid var(--line); }
.pete__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.pete__photo img { width: 172px; height: 172px; border-radius: var(--r-sheet); box-shadow: var(--e2); }
.pete__photo figcaption { margin-top: var(--s4); display: grid; gap: 2px; font-size: 16px; color: var(--slate); }
.pete__photo strong { font: 640 1.125rem/1.3 var(--sc-font-display); letter-spacing: -0.018em; color: var(--ink); }
.pete__note { max-width: 40rem; }
.pete__note h2 { letter-spacing: -0.03em; }
.pete__note .lede { margin-top: var(--s5); }
.pete__note p + p { margin-top: var(--s4); }
.pete__note p:not(.lede):not(.pete__links) { color: var(--slate); }
.pete__links { display: flex; flex-wrap: wrap; gap: 0 var(--s6); margin-top: var(--s5) !important; }
@media (max-width: 860px) { .pete__grid { grid-template-columns: minmax(0, 1fr); } .pete__photo { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s4); align-items: center; } .pete__photo img { width: 96px; height: 96px; } .pete__photo figcaption { margin: 0; } }

/* ------------------------------------------------------------- pilot extras */
.pilot__act { margin-top: var(--s6); }
.pilot .btn--go { border-color: var(--citrus); }

/* --------------------------------------------------------------------- faq */
.faq { background: var(--white); padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 64px; padding-block: 14px; cursor: pointer; list-style: none; font: 640 clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem)/1.25 var(--sc-font-display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-3px, -3px); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 var(--s7) var(--s5) 0; color: var(--slate); max-width: 44em; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--forest); } }
@media (max-width: 860px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } .faq details p { padding-right: 0; } }

/* --------------------------------------------------------------- the aim */

@media (prefers-reduced-motion: reduce) { .dots i { animation: none; opacity: .7; } .faq summary::after { transition: none; } }

/* ============================================= round three: shorter scroll */
/* the timeline's progress line: a rail with square nodes, filled as you scroll */
.timeline { position: relative; margin-top: clamp(40px, 5vw, 72px); }
.timeline .steps { margin: 0; }
.timeline__rail { position: absolute; left: 5px; top: 4px; bottom: 0; width: 2px; background: var(--line); }
.timeline__rail i { position: absolute; inset: 0; background: var(--forest); transform-origin: 50% 0; transform: scaleY(var(--tl, 1)); }
.timeline__rail::after { content: ""; position: absolute; left: -4px; top: calc(var(--tl, 1) * 100% - 5px); width: 10px; height: 10px; background: var(--forest); }
.timeline:not(.is-live) .timeline__rail::after { display: none; }
.timeline .step { position: relative; padding: 0 0 clamp(40px, 4.5vw, 64px) clamp(36px, 4vw, 56px); border-top: 0; }
.timeline .step:first-child { border-top: 0; }
.timeline .step:last-child { padding-bottom: 8px; }
.timeline .step::before { content: ""; position: absolute; left: 0; top: 2px; width: 12px; height: 12px; background: var(--citrus); border: 1.5px solid var(--ink); transition: background-color 220ms var(--ease); z-index: 1; }
.timeline.is-live .step:not(.is-on)::before { background: var(--fog); }
.timeline .step__when::before { display: none; }
.timeline .check li, .timeline .audit li { min-height: 46px; }
.timeline .slack { font-size: 15.5px; }
.timeline .slack__msgs { gap: 14px; }
.shipped u { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.shipped li > span { min-width: 0; }
@media (max-width: 860px) {
  .timeline .step { padding-left: 28px; padding-bottom: 40px; gap: 14px; }
  .timeline .step h3 { font-size: 1.375rem; margin-top: 8px; }
  .timeline .step__copy > p:last-child { margin-top: 8px; font-size: 16px; }
  .timeline .slack { font-size: 15px; }
  .timeline .msg { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
  .timeline .msg__av, .timeline .msg__av img { width: 30px; height: 30px; }
  .timeline .slack__typing { padding-left: 54px; }
  .timeline .check li, .timeline .audit li { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .timeline .step::before { transition: none; } }

/* narrow screens: the retune as plain stacked content. html.flat is set in the
   head and kept current on resize; everything here overrides the pinned act. */
html.flat .retune { height: auto !important; }
html.flat .retune__stage { height: auto; overflow: visible; display: block; padding-block: calc(var(--bar) + 24px) 48px; }
html.flat .retune h2, html.flat .retune__lines { display: block; min-height: 0; }
html.flat .retune h2 > span { display: block; grid-area: auto; opacity: 1; }
html.flat .retune__steps { margin-top: 14px; --gap: 12px; }
html.flat .retune__state [data-when="before"], html.flat .answer [data-when="before"], html.flat .retune .diff__empty { display: none; }
html.flat .retune .hunk { display: block; opacity: 1; transform: none; }
html.flat .retune .answer__a, html.flat .retune .diff { min-height: 0; }
html.flat .retune__work { animation: flat-in 520ms var(--ease) both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
@keyframes flat-in { from { opacity: 0; } to { opacity: 1; } }
@supports not (animation-timeline: view()) { html.flat .retune__work { animation: none; } }
.shipped { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) { .timeline .step { padding-bottom: 32px; } .timeline .slack__msgs { gap: 12px; } }

/* ================================================ round four: the live hero */
.live__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 -.55em .75em; padding-bottom: .35em; border-bottom: 1px solid var(--line); }
.live__tabs { display: flex; gap: 2px; }
.live__tabs button, .live__pause {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none;
  color: var(--slate); border-radius: var(--r-ctl); cursor: pointer; font-size: 19px;
  transition: color 200ms var(--ease), background-color 200ms var(--ease);
}
.live__tabs button::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: calc(-.35em - 1px); height: 2px; background: var(--ink); transform: scaleX(0); transition: transform 320ms var(--ease); }
.live__tabs button[aria-selected="true"] { color: var(--ink); }
.live__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.live__pause svg { fill: currentColor; }
.live__pause-off, .live__pause[aria-pressed="true"] .live__pause-on { display: none; }
.live__pause[aria-pressed="true"] .live__pause-off { display: block; }
@media (hover: hover) and (pointer: fine) { .live__tabs button:hover, .live__pause:hover { color: var(--ink); background: var(--fog); } }
.live__tabs button:active, .live__pause:active { transform: translateY(1px); }
html:not(.js) .live__bar { display: none; }
.live .ans__head { justify-content: space-between; }
.live .eng::before { display: none; }
.live .eng .ico { font-size: 1.15em; color: var(--ink); }
.live .ans__q { min-height: 2.32em; }
.live .ans__a { position: relative; min-height: 4.3em; }
.live .ans__foot { min-height: 2.6em; }
.live__panel { transition: opacity 200ms var(--ease), transform 260ms var(--ease); }
.live__panel.is-swap { opacity: 0; transform: translateY(5px); }
.live .w { opacity: 0; transition: opacity 180ms linear; }
.live .w.is-on { opacity: 1; }
.live .c { opacity: 0; }
.live .c.is-on { opacity: 1; }
.live .fx del { text-decoration: underline wavy var(--error); text-decoration-thickness: 1.5px; text-underline-offset: 3px; color: inherit; transition: color 200ms var(--ease); }
.live .fx.is-flag del { color: var(--ink); }
.live .fx.is-fixed del { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--slate); }
.live .fx ins { display: none; }
.live .fx.is-fixed ins { display: inline; animation: mark-in 420ms var(--ease) both; }
.live .fx--src ins { font: 500 .8em/1.3 var(--sc-font-mono); }
.live .fx--src.is-fixed ins { display: inline-block; margin-top: .45em; }
.live__think { position: absolute; left: 0; top: .55em; display: inline-flex; gap: 4px; opacity: 0; transition: opacity 160ms linear; }
.live__think i { width: 5px; height: 5px; border-radius: 50%; background: var(--slate); animation: dot 1.2s ease-in-out infinite; }
.live__think i:nth-child(2) { animation-delay: .15s; } .live__think i:nth-child(3) { animation-delay: .3s; }
.live.is-thinking .live__think { opacity: 1; }
.live .ans__foot > * { transition: opacity 260ms var(--ease); }
.live.is-pending .ans__foot > * { opacity: 0; }
.live .ans__lark.is-hop { animation: lark-hop 620ms cubic-bezier(.34, 1.3, .5, 1); }
@keyframes lark-hop { 0% { transform: none; } 38% { transform: translateY(-.62em) rotate(-7deg); } 100% { transform: none; } }
@media (max-width: 860px) {
  .live__bar { margin-inline: -.4em; }
  .live .ans__a { min-height: 5.7em; }
}
@media (prefers-reduced-motion: reduce) {
  .live__pause { display: none; }
  .live .w, .live__panel, .live__tabs button::after { transition: none; }
  .live .ans__lark.is-hop, .live .fx.is-fixed ins, .live__think i { animation: none; }
}

/* ================================================= round four: lights off */
:root { color-scheme: light; }
.lamp { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); border-radius: var(--r-ctl); cursor: pointer; transition: background-color 160ms var(--ease), transform 120ms var(--ease); }
.lamp:active { transform: translateY(1px); }
.lamp__bulb { fill: var(--citrus); transition: fill 300ms var(--ease); }
.lamp__rays { transition: opacity 300ms var(--ease); }
.lamp[aria-pressed="true"] .lamp__bulb { fill: none; }
.lamp[aria-pressed="true"] .lamp__rays { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .lamp:hover { background: var(--white); } }
@media (max-width: 860px) { .bar__in { gap: var(--s2); } }
html.theming, html.theming *, html.theming *::before, html.theming *::after { transition: background-color 360ms var(--ease), color 360ms var(--ease), border-color 360ms var(--ease), fill 360ms var(--ease), box-shadow 360ms var(--ease) !important; }
@media (prefers-reduced-motion: reduce) { html.theming, html.theming *, html.theming *::before, html.theming *::after { transition: none !important; } }

/* Dark = deep forest, never black. The raw tokens flip; blocks that are dark in
   both themes, and anything filled with citrus, re-pin the tokens they need. */
html[data-theme="dark"] {
  color-scheme: dark;
  --fog: #0B1A15; --white: #12271F; --ink: #EEF2F0; --slate: #A9B9B1; --line: #2B463B; --forest: #9AD2B7; --error: #FF9C8F; --lark: #EEF2F0;
  --e1: 0 1px 2px rgba(0,0,0,.3), 0 3px 10px -3px rgba(0,0,0,.4);
  --e2: 0 2px 4px rgba(0,0,0,.3), 0 14px 30px -10px rgba(0,0,0,.5);
  --e3: 0 4px 8px rgba(0,0,0,.3), 0 26px 52px -14px rgba(0,0,0,.55), 0 60px 100px -36px rgba(0,0,0,.5);
}
html[data-theme="dark"] :is(mark, ins, .btn--go, .av, .frame__btn),
html[data-theme="dark"] :is(.st--proposed, .timeline .step, .step__when)::before { --ink: #0E1A16; }
html[data-theme="dark"] ::selection { color: #0E1A16; }
html[data-theme="dark"] :is(.slack, .diff) { --ink: #173027; --white: #EEF2F0; --forest: #173C31; border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] :is(.slack, .diff) :is(mark, .av) { --ink: #0E1A16; }
html[data-theme="dark"] .foot { --ink: #07120E; --white: #EEF2F0; border-top: 1px solid var(--line); }
html[data-theme="dark"] .pilot { --forest: #1F5445; --white: #EEF2F0; --ink: #0E1A16; border-block: 1px solid #2F6B58; }
html[data-theme="dark"] :is(.sheet, .ans, .frame) { border-color: rgba(255,255,255,.09); }
html[data-theme="dark"] .mono { filter: brightness(0) invert(.94); }

/* JS off: follow the OS setting with the same rules */
@media (prefers-color-scheme: dark) {
html:not([data-theme]) {
  color-scheme: dark;
  --fog: #0B1A15; --white: #12271F; --ink: #EEF2F0; --slate: #A9B9B1; --line: #2B463B; --forest: #9AD2B7; --error: #FF9C8F; --lark: #EEF2F0;
  --e1: 0 1px 2px rgba(0,0,0,.3), 0 3px 10px -3px rgba(0,0,0,.4);
  --e2: 0 2px 4px rgba(0,0,0,.3), 0 14px 30px -10px rgba(0,0,0,.5);
  --e3: 0 4px 8px rgba(0,0,0,.3), 0 26px 52px -14px rgba(0,0,0,.55), 0 60px 100px -36px rgba(0,0,0,.5);
}
html:not([data-theme]) :is(mark, ins, .btn--go, .av, .frame__btn),
html:not([data-theme]) :is(.st--proposed, .timeline .step, .step__when)::before { --ink: #0E1A16; }
html:not([data-theme]) ::selection { color: #0E1A16; }
html:not([data-theme]) :is(.slack, .diff) { --ink: #173027; --white: #EEF2F0; --forest: #173C31; border-color: rgba(255,255,255,.1); }
html:not([data-theme]) :is(.slack, .diff) :is(mark, .av) { --ink: #0E1A16; }
html:not([data-theme]) .foot { --ink: #07120E; --white: #EEF2F0; border-top: 1px solid var(--line); }
html:not([data-theme]) .pilot { --forest: #1F5445; --white: #EEF2F0; --ink: #0E1A16; border-block: 1px solid #2F6B58; }
html:not([data-theme]) :is(.sheet, .ans, .frame) { border-color: rgba(255,255,255,.09); }
html:not([data-theme]) .mono { filter: brightness(0) invert(.94); }
}

/* ================================================= round five: review fixes */
/* no scroll-driven motion on narrow screens */
html.flat [data-sc-parallax] { transform: none !important; }
@media (prefers-reduced-motion: reduce) { html.flat .retune__work { animation: none; } }

/* the wrong part is only marked once its words have streamed in */
.live .fx del { text-decoration: none; }
.live .fx.is-flag del { text-decoration: underline wavy var(--error); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.live .fx.is-fixed del { text-decoration: line-through; text-decoration-thickness: 1.5px; }

/* timeline, tighter */
.run { padding-block: clamp(64px, 6.5vw, 104px); }
.timeline { margin-top: clamp(32px, 4vw, 56px); }
.timeline .step { padding-bottom: clamp(32px, 3.4vw, 48px); }
.timeline .step__copy > p:last-child { margin-top: var(--s3); }
.timeline .check li, .timeline .audit li { min-height: 44px; font-size: 16px; }
.timeline .card__head { padding-block: 14px 12px; }
.timeline .slack { font-size: 15px; }
.timeline .slack__msgs { gap: 12px; padding-block: 12px 14px; }
.timeline .slack__head { padding-block: 10px; }
.card__head > span:first-child { white-space: nowrap; }
.card__sub { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slack__people img, .slack__people .av { margin-left: 4px; box-shadow: none; }
.slack__people > :first-child { margin-left: 0; }
@media (max-width: 860px) {
  .run { padding-block: 56px; }
  .run__head .lede { margin-top: var(--s4); }
  .timeline .step { padding-bottom: 28px; gap: 12px; }
  .timeline .step__copy > p:last-child { font-size: 16px; line-height: 1.45; }
  .timeline .slack { font-size: 14.5px; }
  .timeline .card__head { font-size: 1rem; padding-inline: 16px; }
  .timeline .check, .timeline .audit { padding-inline: 16px; }
  .shipped li { font-size: 14px; }
}


/* dark: the price band has to read as a band */
.retune__work, .retune__copy { min-width: 0; }
.answer__head { min-width: 0; }
.answer__mode { min-width: 0; }
@media (max-width: 860px) { .answer__mode > * { white-space: normal; line-height: 1.25; } }
@media (max-width: 860px) { .timeline .step { padding-bottom: 24px; } }

/* ===================================== round seven: warmer, and the lark sings */
:root { --r-ctl: 10px; --r-sheet: 14px; --lark: var(--forest); }
.btn { border-radius: 999px; }
.pete__photo img { border-radius: 28px; }

/* the lark, drawn in parts so it can listen and sing */
.lark { display: block; width: 100%; height: 100%; overflow: visible; fill: var(--lark); }
.lark__bird { transform-origin: 510px 868px; }
.lark__head { transform-origin: 690px 356px; }
.lark__jaw { transform-origin: 780px 298px; }
.lark__throat { transform-box: fill-box; transform-origin: 20% 50%; }
.lark__head, .lark__bird { transition: transform 320ms var(--ease); }
.lark__n, .lark__arcs path { opacity: 0; }
.lark__n { color: var(--lark); transform-box: fill-box; transform-origin: 50% 50%; }
.lark__n--c { fill: var(--citrus); stroke: var(--lark); stroke-width: 12; }
.lark__arcs path { fill: none; stroke: var(--lark); stroke-width: 22; stroke-linecap: round; }
.larkbtn { display: block; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 16px; -webkit-tap-highlight-color: transparent; }
.ans__lark { width: 6.8em; height: 6.8em; bottom: calc(100% - 1.4em); }
.answer__lark, .blank__lark { display: block; pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  :is(.lark.is-sing, .larkbtn:hover .lark, .larkbtn:focus-visible .lark) .lark__bird { animation: lk-bob 2.3s ease-in-out both; }
  :is(.lark.is-sing, .larkbtn:hover .lark, .larkbtn:focus-visible .lark) .lark__head { animation: lk-head 2.3s ease-in-out both; }
  :is(.lark.is-sing, .larkbtn:hover .lark, .larkbtn:focus-visible .lark) .lark__jaw { animation: lk-jaw 2.3s ease-in-out both; }
  :is(.lark.is-sing, .larkbtn:hover .lark, .larkbtn:focus-visible .lark) .lark__throat { animation: lk-throat 2.3s ease-in-out both; }
  :is(.lark.is-sing, .larkbtn:hover .lark, .larkbtn:focus-visible .lark) .lark__n { animation: lk-note 1.7s cubic-bezier(.2, .6, .3, 1) var(--dl, 0s) both; }
  .lark.is-listen .lark__bird { transform: rotate(3deg); }
  .lark.is-listen .lark__head { animation: lk-cock 2.4s ease-in-out infinite; }
  .lark.is-listen .lark__arcs path { animation: lk-arc 1.8s ease-in-out infinite; }
  .lark.is-listen .lark__arcs path:nth-child(2) { animation-delay: .22s; }
  .lark.is-listen .lark__arcs path:nth-child(1) { animation-delay: .44s; }
}
@keyframes lk-bob { 0%, 55%, 85%, 100% { transform: none; } 12% { transform: translateY(-22px) scale(1.03); } 26% { transform: scale(1.02, .98); } 40% { transform: translateY(-14px) scale(1.02); } 70% { transform: translateY(-10px); } }
@keyframes lk-head { 0%, 100% { transform: none; } 10% { transform: rotate(-18deg); } 28% { transform: rotate(-12deg); } 42% { transform: rotate(-19deg); } 58% { transform: rotate(-12deg); } 72% { transform: rotate(-18deg); } 88% { transform: rotate(-6deg); } }
@keyframes lk-jaw { 0%, 100% { transform: none; } 10% { transform: rotate(46deg); } 24% { transform: rotate(16deg); } 38% { transform: rotate(48deg); } 52% { transform: rotate(14deg); } 68% { transform: rotate(46deg); } 86% { transform: rotate(22deg); } }
@keyframes lk-throat { 0%, 100% { transform: none; } 10%, 38%, 68% { transform: scale(1.32, 1.06); } 24%, 52%, 86% { transform: scale(1.1, 1); } }
@keyframes lk-note { 0% { opacity: 0; transform: translate(0, 0) scale(.4) rotate(-10deg); } 14%, 68% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.05) rotate(8deg); } }
@keyframes lk-cock { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(14deg); } }
@keyframes lk-arc { 0% { opacity: 0; transform: translateX(46px); } 35% { opacity: .9; } 70%, 100% { opacity: 0; transform: translateX(-34px); } }
/* reduced motion: a still singing pose, a still listening pose */
@media (prefers-reduced-motion: reduce) {
  .lark__head, .lark__bird { transition: none; }
  :is(.ans__lark .lark, .lark.is-sing) .lark__head { transform: rotate(-16deg); }
  :is(.ans__lark .lark, .lark.is-sing) .lark__jaw { transform: rotate(42deg); }
  :is(.ans__lark .lark, .lark.is-sing) .lark__n { opacity: 1; transform: translate(calc(var(--dx) * var(--at, .3)), calc(var(--dy) * var(--at, .3))); }
  .lark__n:nth-child(2) { --at: .62; }
  .lark__n:nth-child(3) { --at: .95; }
  .lark.is-listen .lark__head { transform: rotate(11deg); }
  .lark.is-listen .lark__arcs path { opacity: .85; }
}
.answer__lark .lark__notes { transform: scale(1.45); transform-origin: 880px 260px; }
@media (max-width: 860px) { .answer__lark .lark { transform: scaleX(-1); } }

/* results: the shape of CrawlGraph's clicks, no scale */
.proof { background: var(--fog); border-top: 1px solid var(--line); padding-block: clamp(64px, 7vw, 112px); }
.proof__head { max-width: 46rem; }
.proof__head h2 { margin-top: var(--s5); }
.proof__head .lede { margin-top: var(--s5); max-width: 34em; }
.chart { margin: clamp(28px, 3.4vw, 48px) 0 0; padding: clamp(16px, 2.4vw, 32px); }
.chart__legend { display: flex; flex-wrap: wrap; gap: 4px var(--s5); font: 600 13px/16px var(--sc-font-mono); color: var(--slate); }
.chart__k { display: inline-flex; align-items: center; gap: 8px; }
.chart__k::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--forest); }
.chart__k--day::before { height: 1.5px; background: var(--slate); opacity: .6; }
.chart__plot { position: relative; margin-top: var(--s4); height: clamp(180px, 21vw, 290px); }
.chart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__since { fill: color-mix(in srgb, var(--citrus) 24%, transparent); }
.chart__area { fill: var(--forest); opacity: .1; }
.chart__day { fill: none; stroke: var(--slate); stroke-width: 1.25; opacity: .55; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.chart__avg { fill: none; stroke: var(--forest); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.chart__start { position: absolute; top: 0; bottom: 0; left: var(--x); border-left: 1.5px dashed var(--ink); }
.chart__start b { position: absolute; right: 100%; top: 0; margin-right: 8px; white-space: nowrap; font: 650 13px/1 var(--sc-font-text); letter-spacing: .01em; color: #0E1A16; background: var(--citrus); padding: 7px 10px; border-radius: 999px; }
.chart__months { position: relative; height: 30px; border-top: 1.5px solid var(--ink); }
.chart__months span { position: absolute; left: var(--x); top: 9px; padding-left: 7px; font: 500 12.5px/1.3 var(--sc-font-mono); color: var(--slate); }
.chart__months span::before { content: ""; position: absolute; left: 0; top: -9px; height: 7px; border-left: 1.5px solid var(--ink); }
.chart__months span:last-child { left: auto; right: 0; padding: 0 7px 0 0; }
.chart__months span:last-child::before { left: auto; right: 0; }
.chart figcaption { margin-top: var(--s3); font-size: 15px; color: var(--slate); }
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.flat) .chart .chart__draw { clip-path: inset(-8% 100% -8% 0); transition: clip-path 1900ms cubic-bezier(.45, .05, .3, 1) 300ms; }
  html.js:not(.flat) .chart.sc-in .chart__draw { clip-path: inset(-8% 0 -8% 0); }
  html.js:not(.flat) .chart .chart__start b { opacity: 0; transition: opacity 400ms var(--ease) 1500ms; }
  html.js:not(.flat) .chart.sc-in .chart__start b { opacity: 1; }
}
.review { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.review__copy > * + * { margin-top: var(--s3); }
.review__copy > p:nth-child(2) { color: var(--slate); font-size: 17px; max-width: 32em; }
.diff--mini { margin: 0; min-height: 0; padding: 18px 20px; border-radius: var(--r-sheet); }
.diff--mini .hunk__file { margin-bottom: 6px; }
@media (max-width: 860px) { .review { grid-template-columns: minmax(0, 1fr); } .chart__start b { font-size: 12px; padding: 6px 8px; } }

/* start: one sentence with two blanks */
.start { background: var(--fog); padding-block: var(--section); }
.start__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 5vw, 88px); align-items: end; }
.start__head .lede { max-width: 26em; font-size: 1.125rem; color: var(--slate); }
.say { margin-top: clamp(36px, 5vw, 72px); }
.say__line { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .55em .32em; font: 620 clamp(1.75rem, 1rem + 2.7vw, 3.25rem)/1.3 var(--sc-font-display); letter-spacing: -0.03em; }
.blank { position: relative; display: inline-flex; flex-direction: column; min-width: 0; }
.blank--q { flex: 1 1 100%; }
.blank--d { flex: 0 1 10.5em; }
.blank input { width: 100%; min-width: 0; height: 1.3em; margin: 0; padding: 0 .28em; font: inherit; letter-spacing: inherit; color: var(--ink); background: color-mix(in srgb, var(--citrus) 34%, transparent); border: 0; border-bottom: 3px solid var(--ink); border-radius: 12px 12px 0 0; transition: background-color 180ms var(--ease), border-color 180ms var(--ease); }
.blank input::placeholder { color: var(--slate); opacity: 1; font-weight: 480; }
.blank input:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; background: color-mix(in srgb, var(--citrus) 55%, transparent); }
.blank input[aria-invalid="true"] { border-bottom-color: var(--error); box-shadow: inset 0 -2px 0 var(--error); }
@media (hover: hover) and (pointer: fine) { .blank input:hover { background: color-mix(in srgb, var(--citrus) 48%, transparent); } }
.blank label { margin-top: 7px; font: 600 13px/16px var(--sc-font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }
.blank__lark { position: absolute; right: .1em; bottom: calc(100% - .25em); width: 1.25em; height: 1.25em; }
.say .field__error { margin-top: var(--s3); }
.say__row { margin-top: var(--s7); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5) clamp(24px, 4vw, 56px); }
.say .composer__actions { margin-top: 0; }
.textpete { display: flex; align-items: center; gap: var(--s4); }
.textpete img { width: 64px; height: 64px; border-radius: 50%; box-shadow: var(--e1); }
.textpete p { font-size: 17px; line-height: 1.3; }
.textpete__q { display: block; color: var(--slate); font-size: 15px; }
.tel { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; white-space: nowrap; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.next { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) clamp(20px, 3vw, 48px); }
.next li { padding-top: var(--s4); border-top: 1px solid var(--line); }
.next h3 { margin: 10px 0 0; font: 640 1.5rem/1.15 var(--sc-font-display); letter-spacing: -0.022em; }
.next li > p:last-child { margin-top: 8px; color: var(--slate); font-size: 17px; line-height: 1.45; max-width: 26em; }
.start__back { margin-top: var(--s7); display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; color: var(--slate); font-size: 16px; }
.pete__text { color: var(--ink) !important; }
@media (max-width: 860px) {
  .start__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .say__line { gap: .5em .3em; }
  .blank--d { flex: 1 1 100%; }
  .blank__lark { width: 1.6em; height: 1.6em; bottom: calc(100% - .32em); }
  .blank input { font-size: .8em; height: 1.625em; }
  .chart__months span:nth-last-child(2) { font-size: 0; }
  .next { grid-template-columns: minmax(0, 1fr); }
  .next h3 { font-size: 1.375rem; }
  .start__back { margin-top: var(--s6); }
}
.answer__lark .lark__arcs { transform: scale(1.4); transform-origin: 735px 285px; }
.answer__lark .lark__arcs path { stroke-width: 26; }
.textpete__or { white-space: nowrap; }
@media (min-width: 861px) and (max-height: 660px) {
  .answer { padding-block: 12px 14px; }
  .answer__q { margin-top: 10px; font-size: 1.125rem; }
  .retune .diff { padding-block: 16px 10px; min-height: 180px; }
  .retune .hunk { padding-top: 6px; }
}
@media (max-width: 860px) {
  .answer__lark .lark__n:nth-child(1) { --dx: 380px !important; --dy: -110px !important; }
  .answer__lark .lark__n:nth-child(2) { --dx: 760px !important; --dy: -10px !important; }
  .answer__lark .lark__n:nth-child(3) { --dx: 570px !important; --dy: -220px !important; }
}

/* The buyer's answer uses the hero card's colors and typography at reading size. */
.say__permission { margin-top: var(--s5); }
.say__permission + .say__row { margin-top: var(--s4); }
.say__permission[hidden] + .say__row { margin-top: var(--s7); }
.say [data-check-answer]:disabled { opacity: .7; cursor: wait; }
.say .composer__how,
.say .blank label { font-size: 1rem; line-height: 1.4; }
.say .composer__how { max-width: 65ch; }
.say__answer.ans {
  position: relative; width: min(100%, 49rem); margin-top: var(--s6);
  padding: clamp(18px, 3.2vw, 40px); font-size: 1rem; border-color: var(--line); box-shadow: var(--e2);
}
.say__answer-head { padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.say__answer-domain {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .15em .65em;
  color: var(--slate); font-size: .9375rem;
}
.say__answer-domain strong {
  color: var(--forest); font: 600 .95em/1.5 var(--sc-font-mono); overflow-wrap: anywhere;
}
.say__answer .ans__q {
  margin-top: var(--s1); font-size: clamp(1.65rem, 1.35rem + 1.2vw, 2.4rem); line-height: 1.05;
}
.say__answer-linked { margin-top: var(--s2); color: var(--slate); }
.say__answer-text {
  margin-top: var(--s5); color: var(--ink); font-size: clamp(1.0625rem, 1rem + .2vw, 1.2rem);
  line-height: 1.58; overflow-wrap: anywhere;
}
.say__answer-text > * { margin-block: 0; }
.say__answer-text > * + * { margin-top: .9em; }
.say__answer-text h4, .say__sources h4 {
  font: 650 1.08em/1.3 var(--sc-font-display); letter-spacing: -.025em;
}
.say__answer-text :is(ul, ol) { padding-inline-start: 1.4em; }
.say__answer-text ul { list-style-type: disc; }
.say__answer-text ol { list-style-type: decimal; }
.say__answer-text li + li { margin-top: .5em; }
.say__answer-text li::marker { color: var(--forest); font-weight: 650; }
.say__answer-text code { font: 550 .84em/1.4 var(--sc-font-mono); color: var(--forest); }
.say__citation {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.12rem; height: 1.12rem; margin-inline: .16em .1em; padding-inline: .17em;
  border: 1px solid var(--line); border-radius: 50%; color: var(--forest); background: var(--fog);
  vertical-align: .22em; font: 700 .7rem/1 var(--sc-font-text); text-decoration: none; white-space: nowrap;
}
.say__citation:hover { border-color: var(--forest); text-decoration: underline; }
.say__sources { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line); }
.say__sources ol { margin-block: var(--s2) 0; padding-inline-start: 1.45em; list-style-type: decimal; }
.say__sources li::marker { color: var(--slate); font-variant-numeric: tabular-nums; }
.say__sources a {
  display: block; min-height: 32px; padding-block: .32em; color: var(--forest); line-height: 1.4;
  overflow-wrap: anywhere; text-underline-offset: .17em;
}
.say__source-host { display: block; color: var(--slate); font-size: .875em; }
.say__answer .ans__foot { margin-top: var(--s5); padding-top: var(--s4); font-size: .9375rem; line-height: 1.45; }
.say__answer .ans__foot time { font-variant-numeric: tabular-nums; }
.say__answer .composer__actions { margin-top: var(--s4); align-items: center; }
.say__share-actions { display: flex; flex-wrap: wrap; column-gap: var(--s4); margin-top: var(--s2); }
.say__share-actions button {
  min-height: 44px; padding: 0; border: 0; color: var(--forest); background: transparent;
  cursor: pointer; font: 650 1rem/1.35 var(--sc-font-text); text-align: left;
}
.say__share-note { margin-top: var(--s2); color: var(--slate); font-size: .9375rem; }
.say__share-note:empty { display: none; }
.say__copy-fallback { display: grid; gap: var(--s2); margin-top: var(--s4); font-weight: 650; }
.say__copy-fallback textarea {
  width: 100%; padding: .6em .7em; color: var(--ink); background: var(--fog); border: 1px solid var(--line);
  border-radius: var(--r-ctl); font: 400 1rem/1.45 var(--sc-font-text); resize: vertical;
}
@media (max-width: 420px) {
  .say__answer [data-answer-email] { white-space: normal; text-align: left; }
}

/* the retune headline swaps in place; keep both versions to one line so the copy column stays compact */
.retune__copy { container-type: inline-size; }
@media (min-width: 861px) { .retune h2 { font-size: min(clamp(2rem, 1.2rem + 2.4vw, 3.5rem), 8.2cqi); } }
@media (min-width: 861px) and (max-height: 800px) { .retune h2 { font-size: min(clamp(1.75rem, 1rem + 2.2vw, 2.5rem), 8.2cqi); } }
