/* Round 2 (2026-11-23, Matyas's review of round 1):
   - Light and dark. Guides follow prefers-color-scheme. Every colour below
     is a token on :root; the light values sit in one block right after the
     dark ones. Never write a literal colour in a rule: add or reuse a token.
     Canvas renders (lid demo, guide-figs) and the raster scenes stay dark
     pictures on their own rounded stage in both schemes.
   - Text column 780px (about 90 characters per line at 18px Geist).
   - Hanging plates: every boxed block (answer, figures, CTA cards, notes,
     FAQ rows, code, card grids) reaches --hang (32px) past the column on
     both sides and pads its content by the same 32px, so the text inside
     starts on the body text's left edge. Only comparison tables break out
     wider. Under 900px the plates sit inside the column again.
   - Verdict marks for comparison cells, inline SVG, never icon-only:
       <span class="mk mk-yes"><svg class="mk-i" viewBox="0 0 16 16" aria-hidden="true" focusable="false"><path d="..."/></svg>Always on</span>
     mk-yes (tick), mk-no (cross), mk-partial (half bar). Copywriters
     write [yes] / [no] / [partial] in front of the cell text in Markdown;
     the full markup with the three glyph paths is in website/BUILD.md.
     Add class pick-first to the table to tint the Clamshell column.

   Clamshell guides, quiet reading layout (2026-11-23). Forked from the v2
   guide.css, which the legal and pricing pages still load; guide pages load
   this file instead.

   What changed against the v2 guide look, by Matyas's call on 2026-11-23
   ("reduce the heavy v2 branding ... make them wider"):
   - Width: prose stays at --read; tables break out to --wide (1200px or the
     viewport less 48px), and the answer, figures, CTA cards, choice and
     score grids to --mid. No horizontal page scroll; a table only scrolls
     inside its own frame, and phones get one card per row.
   - Quiet: no dotted rules (--line is none, so bespoke sheets that use it
     go quiet too), no dither floors on plates or buttons, no dithered h1
     sheen, no footer wordmark, no button currents, no nav dither edge, no
     version chip. Sections are separated by space; table rows by plates.
   - Motion: decorative loops (pulses, pings, marching flows, gauge sweeps,
     caret blink, rings) are off; loops that show the guide's point (lid,
     display, log, progress, switch) stay, eased instead of stepped, and
     only under prefers-reduced-motion: no-preference.
   Higher-specificity "body ..." selectors beat dither-type.css and
   guide-wide-v1.css, which load after this file.

   The v2 notes below describe the original system:

   One system for every page under /guides/ (and /de/guides/): the homepage
   chrome (nav, buttons, footer, wordmark) mirrored from home.css, plus the
   article and the guide kit (kit-*, kx-*, comparison tables, CTA cards)
   redrawn in the v2 language:

   - palette: void #000, plates --s1/--s2/--s3, one blue family (deep, blue,
     light), text #f4f5f6, dim #9aa0a8. Two semantic tones only where the
     copy names a colour: --bad (red: the .n verdict, f-bad/l-bad, the hot
     gauge) and --warn (amber: the .m verdict, f-warn/l-warn, kx-amber).
     compare.html, how-keep-awake-apps-work-lid-closed.html, the gauge
     titles and the pmset builder describe them as red and amber.
   - state colours: alive / armed = blue and light; stopped (kx-stop,
     kx-stall, kx-cut) = --bad, as in v1, because copy calls them red;
     off and asleep (l-off, f-off, kx-zz) = greys.
   - 1-bit ordered dither on a 3px grid for graphics, edges and accents:
     dotted deep rules (line-deep.png) instead of hairlines, dither floors
     under accent plates, pixel bullets, arrows, verdict marks and FAQ
     markers. Text stays solid and crisp; only the 30px+ page title takes
     the sheen, and no dither sits behind text (shared dither spec in
     docs/features/v2-design-language.md).
   - stepped motion: every kx- loop and hover runs on steps().

   Tiles: assets/v2/*.png and assets/v2/type/*.png (scripts/gen-dither-type.py).
   Page markup stays v1 (see scripts/migrate-guides-v2.py); add new looks here,
   never as inline style attributes (CSP). */

:root{
  --bg:#000;
  --s1:#0c0d0f;
  --s2:#131417;
  --s3:#191b1f;
  --deep:#1f3480;
  --blue:#345cd6;
  --light:#7d9aff;
  --tx:#f4f5f6;
  --tx-dim:#9aa0a8;
  --tx-mute:#62666d;
  --bad:#ef8a7e;
  --warn:#e2b04f;
  --cell:3px;
  --tile:24px;
  --wrap:1080px;
  --read:780px;
  --hang:0px;
  --mid:960px;
  --wide:1200px;
  --tx-body:#c3c7cd;
  --tx-hi:#fff;
  --tx-fine:#8d939b;
  --code-tx:#c4c9d0;
  --pick:#0d1328;
  --chip-tx:#c9d5ff;
  --svg-chip-tx:#dbe3ff;
  --dim-stroke:#2a2d33;
  --dim-fill:#23262c;
  --shade:#000;
  --knob:#f4f5f6;
  --kbd-edge:#000;
  --btn-hover:#3c66e3;
  --warn-plate:#17140c;
  --stage:#000;
  --track:var(--s3);
  --mk-yes:var(--light);
  --mk-no:var(--bad);
  --mk-partial:var(--warn);
  --mono:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  /* No dotted rules on guides: every background:var(--line) paints nothing. */
  --line:none;
  --kx-cycle:8s;--kx-type:6s;
  color-scheme:dark;
}
/* Light scheme. Contrast on --bg / --s1: --tx-body 12.4 / 11.4, --tx-dim
   6.4 / 5.9, --tx-mute 5.0 / 4.6, --light 7.0 / 6.4, --bad 5.6 / 5.1,
   --warn 6.0 / 5.5. Neutral cool greys, no paper tint. */
@media (prefers-color-scheme:light){
  :root{
    --bg:#fff;
    --s1:#f3f4f6;
    --s2:#e9ebee;
    --s3:#dcdfe4;
    --deep:#cad6ff;
    --blue:#345cd6;
    --light:#2347c0;
    --tx:#0c0d10;
    --tx-body:#2f333a;
    --tx-dim:#595f68;
    --tx-mute:#6b717a;
    --bad:#c0392b;
    --warn:#8f5d00;
    --tx-hi:#000;
    --tx-fine:#595f68;
    --code-tx:#2b2f36;
    --pick:#edf1ff;
    --chip-tx:#1d3a9a;
    --svg-chip-tx:#1d3a9a;
    --dim-stroke:#c9ced5;
    --dim-fill:#d3d7dd;
    --shade:#0c0d10;
    --knob:#fff;
    --kbd-edge:#c9cdd3;
    --btn-hover:#4a70e8;
    --warn-plate:#fbf5e8;
    --track:#c3c8d0;
    /* handoff.css fallbacks */
    --night:#e9eeff;
    --ice:#2347c0;
    --n1:#e9ebee;
    --tx2:#595f68;
    --sheen:#4a70e8;
    color-scheme:light;
  }
}

*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-padding-top:96px}
body{
  background:var(--bg);color:var(--tx);
  font-family:"Geist",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  font-size:18px;line-height:1.65;letter-spacing:-.008em;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
/* Button currents (dither.js) draw past their buttons; never let them
   widen the page. */
@supports (overflow:clip){html,body{overflow-x:clip}}
img,video{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
::selection{background:var(--blue);color:#fff}
:focus-visible{outline:2px solid var(--light);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:16px;top:-60px;z-index:100;background:var(--tx);color:var(--bg);padding:8px 14px;border-radius:10px;font-weight:600}
.skip:focus{top:16px}

/* ---------- layout ---------- */
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.wrap-wide{max-width:1680px;padding:0 56px}
.container{max-width:calc(var(--read) + 48px);margin:0 auto;padding:0 24px}

/* ---------- nav (mirrors home.css) ---------- */
.nav{position:fixed;inset:0 0 auto;z-index:50;transition:background-color .2s}
.nav.scrolled{background:var(--bg)}
/* The version chip is homepage branding; guides keep the logo and links. */
.nav .chip{display:none}
.nav-inner{display:flex;align-items:center;gap:12px;height:76px}
.brand{display:flex;align-items:center;gap:10px;font-weight:650;font-size:19px;letter-spacing:-.02em}
.brand img{width:42px;height:42px;image-rendering:pixelated}
.nav-links{display:flex;gap:4px;margin-left:auto}
.nav-links a{color:var(--tx-dim);font-size:15px;font-weight:500;padding:8px 12px;border-radius:10px}
.nav-links a:hover{color:var(--tx);background:var(--s1)}
.nav-links a[aria-current="page"]{color:var(--tx)}

/* ---------- buttons (mirrors home.css; dither-type.css adds the floors) ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  height:52px;padding:0 22px;border-radius:14px;
  font-size:16px;font-weight:600;letter-spacing:-.01em;white-space:nowrap;
  transition:transform .12s ease-out,background-color .12s ease-out;
}
.btn:active{transform:translateY(1px)}
.btn-solid{background:var(--blue);color:#fff;position:relative;isolation:isolate}
.btn-solid:hover{background-color:var(--btn-hover)}
/* Plain plates: dither-type.css (loaded later) paints a dither floor on
   every button; guides drop it. The dither.js button currents and the
   footer wordmark effect draw into .dfx canvases, which guides hide. */
.btn.btn-solid,.btn.btn-quiet{background-image:none !important}
.dfx,.dfx-btn{display:none !important}
.btn-quiet{background:var(--s2);color:var(--tx);position:relative;isolation:isolate}
.btn-quiet:hover{background-color:var(--s3)}
.btn-sm{height:42px;padding:0 16px;font-size:14.5px;border-radius:12px}
/* Guides: every width gets the trial in the nav, phones too (2026-11-23:
   guide readers click the trial, not Buy). On a phone the hand-off script
   turns the tagged download link into a send-to-Mac control. */
.nav .nav-get{display:none}
/* "Buy once [$9.99]": the price sits on a black tag, as on the homepage. */
.hero-buy-price{
  font-family:var(--mono);font-size:13px;font-weight:600;line-height:1.4;
  background:var(--bg);color:var(--tx);padding:3px 8px;border-radius:7px;font-variant-numeric:tabular-nums;
}

/* ---------- page header ---------- */
header.page{padding:136px 0 0}
header.page h1{font-size:40px;line-height:1.15;font-weight:700;letter-spacing:-.03em;max-width:18em;text-wrap:balance}
@media (min-width:761px){header.page h1 code{white-space:nowrap}}
.meta{
  margin-top:16px;padding-bottom:8px;
  font-size:15px;line-height:1.6;color:var(--tx-dim);
}
.meta a{color:var(--tx);text-decoration:underline;text-decoration-color:var(--tx-mute);text-underline-offset:3px}
.meta a:hover{color:var(--tx-hi);text-decoration-color:var(--tx-dim)}

/* ---------- article ---------- */
main{display:block;padding:36px 0 40px;overflow-wrap:break-word}
main h2{
  font-size:27px;line-height:34px;font-weight:650;letter-spacing:-.025em;
  margin:72px 0 16px;text-wrap:balance;
}
main h3{font-size:20px;line-height:26px;font-weight:650;letter-spacing:-.02em;margin:36px 0 10px}
main h2 + h3{margin-top:20px}
main p{color:var(--tx-body);margin:0 0 18px;text-wrap:pretty}
main strong{color:var(--tx);font-weight:600}
main em{font-style:italic}
main a{color:var(--tx);text-decoration:underline;text-decoration-color:var(--blue);text-underline-offset:3px;text-decoration-thickness:from-font}
main a:hover{color:var(--tx-hi);text-decoration-color:var(--light)}
main a.btn{text-decoration:none}
main a.btn-solid,main a.btn-solid:hover{color:#fff}
.lead{font-size:19px;line-height:1.6;color:var(--tx-body)}
main ul{list-style:none;display:flex;flex-direction:column;gap:10px;margin:0 0 20px}
main ul > li{color:var(--tx-body);position:relative;padding-left:22px}
/* Plain round bullet. */
main ul > li::before{
  content:"";position:absolute;left:4px;top:.72em;width:6px;height:6px;border-radius:50%;
  background:var(--tx-mute);
}
main ol{margin:0 0 20px;padding-left:28px}
main ol > li{color:var(--tx-body);padding-left:4px;margin-bottom:12px}
main ol > li::marker{color:var(--tx-dim);font-weight:600}
main li > ul,main li > ol{margin:10px 0 0}
main blockquote{
  margin:24px 0;padding:2px 0 2px 20px;color:var(--tx);
  box-shadow:inset 3px 0 0 var(--s3);
}
main blockquote p{color:var(--tx)}
main small{font-size:.86em}

/* code */
code{
  font-family:var(--mono);font-size:.86em;letter-spacing:0;
  background:var(--s2);color:var(--tx);padding:.12em .4em;border-radius:6px;
}
pre{
  background:var(--s1);border-radius:16px;padding:18px 22px;margin:0 0 20px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;
}
pre code{background:none;padding:0;border-radius:0;font-size:14px;line-height:1.7;color:var(--code-tx);white-space:pre}
/* Inline code wraps at spaces, so a long command never runs past the
   column; each line keeps its own padded plate. */
main :not(pre) > code{white-space:normal;overflow-wrap:anywhere;-webkit-box-decoration-break:clone;box-decoration-break:clone}
kbd{
  font-family:"Geist",-apple-system,sans-serif;font-size:.84em;font-weight:600;color:var(--tx);
  background:var(--s3);border-radius:7px;padding:.12em .5em .22em;white-space:nowrap;
  box-shadow:inset 0 -3px 0 var(--kbd-edge);
}

/* fine print and sources */
main p.fine{
  margin-top:64px;font-size:14px;line-height:1.6;color:var(--tx-fine);
}
main p.fine a{color:var(--tx-dim);text-decoration:underline;text-decoration-color:var(--tx-mute);text-underline-offset:3px}

/* ---------- plates and accents ---------- */
/* Plates are flat --s1 surfaces. Accent plates (picks, armed states, the
   recommended row) add a dither floor along the bottom edge, like the
   homepage buttons; the plate behind their text stays clean. */
.kit-answer,.kit-hero,.kx-fig,.cta-card,.kit-choice,.kit-score .c,.kit-note,.kit-flow .n,.gd-demo-solo{
  background-color:var(--s1);
}
/* Picks sit on a plain blue-black plate. */
.kit-choice.pick,.kit-score .c.pick,.kit-flow .n.on{background:var(--pick)}

/* The pick takes full text colour, as the highlighted table row does. */
.kit-choice.pick p,.kit-choice.pick li,.kit-score .c.pick p,.kit-score .c.pick li,.kit-flow .n.on span{color:var(--tx)}

/* ---------- answer panel ---------- */
/* The page's lead plate: the direct answer, then the key facts. On wide
   screens the facts sit beside the answer as a 2x2 grid. */
.kit-answer{
  border-radius:20px;padding:30px;margin:24px 0 28px;
  background:var(--s1);
}
.kit-answer > p{color:var(--tx);font-size:19px;line-height:1.55;margin:0}
.kit-answer > p a{color:var(--tx)}
.kit-facts{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 24px;
  margin:28px 0 0;
}
.kit-fact b{display:block;font-size:17px;line-height:23px;font-weight:650;letter-spacing:-.02em;color:var(--tx)}
.kit-fact span{display:block;margin-top:4px;font-size:15px;line-height:1.45;color:var(--tx-dim)}
/* The facts sit under the answer, never beside it: the answer keeps the
   full column measure. */

/* ---------- CTA cards ---------- */
.cta-card{
  position:relative;border-radius:22px;padding:26px 28px 0;margin:32px 0 12px;
  display:flex;flex-wrap:wrap;align-items:center;gap:18px 22px;
}
/* Without the fine-print footer the card needs its own bottom padding. */
.cta-card:not(:has(> .kx-cta-note)){padding-bottom:26px}
.cta-card + p,.comparison-wrap + p{margin-top:28px}
.cta-card > p{flex:1 1 280px;margin:0;color:var(--tx-body);font-size:16.5px;line-height:1.55}
.cta-card > p strong{color:var(--tx)}
.cta-card .clam{flex:none;width:48px;height:48px;border-radius:12px;image-rendering:pixelated}
.kx-cta-actions{display:flex;flex:none;flex-wrap:wrap;align-items:center;gap:10px}
.cta-card .kx-cta-note{
  flex:1 1 100%;margin:4px 0 0;padding:0 0 22px;
  font-size:14px;line-height:1.55;color:var(--tx-fine);
}
.cta-card .kx-cta-note a{color:var(--tx-dim);text-decoration:underline;text-decoration-color:var(--tx-mute);text-underline-offset:3px}
.cta-card .kx-cta-note a:hover{color:var(--tx)}
/* Top CTA with the dithered lid demo: demo beside the pitch on wide
   columns, stacked on phones. */
.cta-card.cta-demo{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:4px 28px;padding-top:12px;align-items:center}
.cta-demo > .gd-demo{grid-row:1 / span 2;align-self:center;margin:0 -10px 0 -14px}
.cta-demo > p{align-self:end}
.cta-demo > .kx-cta-actions{align-self:start;flex-direction:column;align-items:stretch;margin-top:14px}
.cta-demo > .kx-cta-actions .btn{width:100%}
.cta-demo > .kx-cta-note{grid-column:1 / -1;margin-top:8px}
.gd-demo .ld{display:block}
.gd-demo-solo{border-radius:22px;padding:8px 24px;margin:32px 0}
.gd-demo-solo .ld{max-width:440px;margin:0 auto}

/* ---------- figures ---------- */
.kit-hero{
  margin:32px 0 12px;border-radius:22px;padding:30px 30px 28px;
  display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px;align-items:center;
}
.kit-hero svg{display:block;width:100%;height:auto;max-height:240px;max-width:480px;margin-inline:auto}
.kit-hero.kit-solo{grid-template-columns:1fr}
.kit-hero.kit-solo svg{max-height:220px}
.kit-hero .kit-cap{margin:0;color:var(--tx-dim);font-size:16px;line-height:1.55}
.kit-hero .kit-cap strong,.kx-fig figcaption strong{color:var(--tx);font-weight:650;letter-spacing:-.02em}
.kit-hero .kit-cap strong{display:block;font-size:19px;line-height:24px;margin-bottom:8px}
.kit-hero + p,.kx-fig + p,.kit-hero + .kx-fig{margin-top:32px}
.kx-fig{margin:32px 0 12px;border-radius:22px;padding:30px 28px 0}
.kx-fig svg{display:block;width:100%;height:auto;max-height:260px;margin:0 auto}
.kx-fig:not(.kx-pair) svg{max-width:480px}
.kx-fig:not(.kx-pair) svg:is([viewBox*=" 260 "],[viewBox*=" 280 "],[viewBox*=" 300 "],[viewBox*=" 310 "],[viewBox*=" 320 "],[viewBox*=" 340 "]){max-width:360px}
.kx-fig figcaption{
  margin:24px 0 0;padding:0 0 26px;color:var(--tx-dim);font-size:16px;line-height:1.55;max-width:70ch;
}
.kx-fig.kx-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.kx-fig.kx-pair svg{max-width:300px}
.kx-fig.kx-pair figcaption{grid-column:1 / -1}
figure.demo{margin:28px 0 12px}
figure.demo video{display:block;width:100%;height:auto;object-fit:cover;border-radius:18px;background:var(--s1)}
figure.demo figcaption{margin-top:12px;color:var(--tx-dim);font-size:14px}

/* ---------- SVG line art (the v1 class names, v2 palette) ---------- */
.l-base,.l-lid,.l-on,.l-off,.l-dim,.l-warn,.l-bad{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.l-base{stroke:var(--blue)}
.l-lid{stroke:var(--tx)}
.l-on{stroke:var(--light)}
.l-off{stroke:var(--tx-mute)}
.l-dim{stroke:var(--dim-stroke)}
.l-warn{stroke:var(--warn)}
.l-bad{stroke:var(--bad)}
.l-fan{fill:none;stroke:var(--light);stroke-width:3;stroke-linecap:round}
.o1{opacity:.12}.o2{opacity:.22}.o3{opacity:.36}.o4{opacity:.55}
.l-thin{fill:none;stroke:var(--tx-mute);stroke-width:3;stroke-linecap:butt;stroke-dasharray:3 6}
svg .chip{fill:var(--deep)}
.wedge{fill:var(--blue)}
.w1{opacity:.08}.w2{opacity:.14}.w3{opacity:.22}.w4{opacity:.32}
.f-on{fill:var(--light)}
.f-soft{fill:var(--deep)}
.f-off{fill:var(--tx-mute)}
.f-bad{fill:var(--bad)}
.f-tx{fill:var(--tx)}
.f-warn{fill:var(--warn)}
.f-dim{fill:var(--dim-fill)}
.t-svg-lg{fill:var(--tx);font-family:"Geist",-apple-system,sans-serif;font-size:18px;font-weight:650;letter-spacing:-.02em}
.t-svg{fill:var(--tx-dim);font-family:var(--mono);font-size:16.5px}
.t-svg-on{fill:var(--light);font-family:var(--mono);font-size:16.5px}
.t-chip{fill:var(--svg-chip-tx);font-family:var(--mono);font-size:17px;font-weight:600}
.kit-note .ic{fill:var(--light)}

/* ---------- choices ---------- */
.kit-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px;margin:24px 0 20px}
.kit-choice{border-radius:18px;padding:22px 24px 24px;display:flex;flex-direction:column}
.kit-choice h3{margin:0 0 8px;font-size:19px;line-height:24px}
.kit-choice p{margin:0;font-size:15px;line-height:1.55}
/* An odd last card takes the whole row instead of leaving a half-empty one. */
.kit-choices > .kit-choice:last-child:nth-child(odd){grid-column:1 / -1}
.kit-choice :not(pre) > code{white-space:normal;overflow-wrap:anywhere}
.kit-choice h3 code{white-space:nowrap}
.kit-choice .go{
  display:block;margin-top:auto;padding-top:14px;padding-right:28px;
  color:var(--tx);font-weight:600;font-size:15px;text-decoration:none;
}
.kit-choice p + .go{margin-top:auto}
/* Plain text arrows. */
.kit-choice .go::after,.guide-link::after{
  content:"\2192";flex:none;color:var(--light);font-weight:500;
  transition:transform .15s ease-out;
}
/* The arrow takes no width, so it never wraps onto a line of its own. */
.kit-choice .go::after{display:inline-block;width:18px;margin-left:10px;margin-right:-28px}
.kit-choice .go:hover{color:var(--tx-hi)}
@media (hover:hover) and (pointer:fine){
  .kit-choice .go:hover::after,a.guide-link:hover::after{transform:translateX(4px)}
}

/* Guide index: two columns of plain link rows, separated by space. */
.kit-choices:has(> a.guide-link){grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 48px;margin:16px 0 8px}
a.guide-link{
  display:grid;grid-template-columns:minmax(0,1fr) 18px;column-gap:16px;align-content:start;
  padding:16px 0 18px;border-radius:0;background:none;text-decoration:none;
}
a.guide-link.pick{padding:16px 16px 18px;border-radius:14px}
a.guide-link h3{grid-column:1;margin:0 0 5px;font-size:17.5px;line-height:1.4;font-weight:600;letter-spacing:-.015em;color:var(--tx)}
a.guide-link p{grid-column:1;margin:0;font-size:15px;line-height:1.5;color:var(--tx-dim)}
a.guide-link::after{grid-column:2;grid-row:1;line-height:1.4;font-size:17.5px}
a.guide-link:hover h3{color:var(--tx-hi)}
a.guide-link:focus-visible{border-radius:4px}

/* ---------- timeline ---------- */
.kit-timeline{list-style:none;display:flex;flex-direction:column;gap:18px;margin:26px 0 22px;padding:0}
.kit-timeline > li{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr);gap:18px;align-items:center;margin:0;padding:0}
.kit-timeline > li::marker{content:none}
/* the solid spine between the state tiles (drawn content, not a divider) */
.kit-timeline > li:not(:last-child)::after{
  content:"";position:absolute;left:25px;top:56px;width:2px;height:calc(100% - 38px);
  background:var(--s3);
}
.kit-timeline svg{width:52px;height:52px;padding:6px;display:block;background:var(--s1);border-radius:14px}
.kit-timeline li.on svg{background:var(--pick)}
.kit-timeline b{display:block;color:var(--tx);font-size:17px;font-weight:650;letter-spacing:-.015em;line-height:1.35}
.kit-timeline span{display:block;color:var(--tx-dim);font-size:15.5px;line-height:1.45;margin-top:2px}
.kit-timeline li.on b{color:var(--tx-hi)}

/* ---------- numbered steps ---------- */
.kit-steps{list-style:none;counter-reset:kit;margin:22px 0 22px;padding:0}
main .kit-steps > li{
  counter-increment:kit;position:relative;margin:0;padding:14px 0 14px 50px;color:var(--tx-body);
}
main .kit-steps > li:last-child{padding-bottom:4px}
.kit-steps > li::marker{content:none}
.kit-steps > li::before{
  content:counter(kit);position:absolute;left:0;top:14px;width:32px;height:30px;
  display:grid;place-items:center;border-radius:9px;
  font-size:15px;font-weight:600;color:var(--tx);font-variant-numeric:tabular-nums;
  background:var(--s2);
}
.kit-steps > li strong{color:var(--tx)}
/* Right under a heading, the heading's rule already opens the list. */
main h2 + .kit-steps > li:first-child{padding-top:4px}
main h2 + .kit-steps > li:first-child::before{top:4px}
.kit-steps > li pre{margin:14px 0 2px}

/* ---------- callouts ---------- */
.kit-note{
  position:relative;overflow:hidden;border-radius:16px;padding:18px 22px;margin:22px 0;color:var(--tx-dim);
  display:grid;grid-template-columns:22px minmax(0,1fr);gap:14px;align-items:start;
}
.kit-note svg{width:22px;height:22px;margin-top:2px}
.kit-note p{margin:0}
.kit-note strong{color:var(--tx)}
/* Warnings: an amber icon carries it. */
.kit-note.warn .ic{fill:var(--warn)}

/* ---------- flow ---------- */
.kit-flow{display:flex;align-items:stretch;gap:12px;margin:24px 0 20px}
.kit-flow .n{flex:1 1 0;min-width:0;border-radius:16px;padding:16px 18px 20px}
.kit-flow .n b{display:block;color:var(--tx);font-size:15.5px;font-weight:650;letter-spacing:-.015em;line-height:1.35}
.kit-flow .n span{display:block;color:var(--tx-dim);font-size:13.5px;line-height:1.45;margin-top:5px}
.kit-flow .n.on b{color:var(--tx-hi)}
.kit-flow .n.bad b{color:var(--bad)}
.kit-flow .a{flex:none;align-self:center;color:var(--tx-dim);font-family:var(--mono);font-size:14px}
/* span.a holds a bare arrow glyph, shown as text in the accent. */
.kit-flow span.a{color:var(--light);font-family:inherit;font-size:18px}

/* ---------- scorecards ---------- */
.kit-score{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:14px;margin:24px 0 20px}
.kit-score .c{border-radius:18px;padding:22px 22px 26px}
.kit-score .c h3{margin:0 0 6px;font-size:19px;line-height:24px}
.kit-score .c .price{margin:0 0 14px;font-family:var(--mono);font-size:13px;line-height:1.5;letter-spacing:0;color:var(--tx)}
.kit-score .c ul{gap:8px;margin:0}
.kit-score .c li{font-size:14.5px;line-height:1.5}

/* ---------- FAQ (mirrors the homepage .faq) ---------- */
/* Each question is its own plate, separated by a small gap. */
.kit-faq{margin:16px 0 12px;display:flex;flex-direction:column;gap:6px}
.kit-faq details{background:var(--s1);border-radius:14px}
.kit-faq + p{margin-top:40px}
.kit-faq summary{
  list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:24px;
  padding:16px 20px;border-radius:14px;
}
.kit-faq summary::-webkit-details-marker{display:none}
.kit-faq summary::after{
  content:"+";flex:none;width:18px;text-align:center;
  font-size:22px;line-height:1;font-weight:400;color:var(--tx-dim);
}
.kit-faq details[open] summary::after{content:"\2212"}
@media (hover:hover) and (pointer:fine){.kit-faq summary:hover::after{color:var(--tx)}}
.kit-faq summary h3{margin:0;font-size:18px;line-height:28px;font-weight:600;letter-spacing:-.015em}
.kit-faq details > p,.kit-faq details > div{padding:0 48px 20px 20px;margin:0;color:var(--tx-body);font-size:16.5px;line-height:1.7;max-width:72ch}

/* ---------- verdict marks ---------- */
/* .y yes (light, pixel tick), .n no (red, pixel cross), .m partly or
   unstated (amber, pixel bar): compare.html names them blue, red, amber. Badges: .y in a table head, a row head or a card
   title is a dithered "Our pick" chip. */
span.y,span.n,span.m{font-weight:650;white-space:nowrap}
span.y{color:var(--light)}
span.n{color:var(--bad)}
span.m{color:var(--warn)}
span.y::before,span.n::before,span.m::before{content:"";display:inline-block}
.comparison thead th .y,.comparison tbody th .y,.kit-score h3 .y,main h3 > .y{
  display:inline-block;margin:4px 0 0;padding:1px 8px;border-radius:7px;vertical-align:2px;
  font-family:var(--mono);font-size:11.5px;font-weight:600;line-height:1.6;letter-spacing:0;color:var(--chip-tx);
  background:var(--deep);
}
.comparison thead th .y{margin:0 0 0 8px}
.kit-score h3 .y,main h3 > .y{margin:0 0 0 8px}
@media (max-width:640px){.kit-score h3 .y{display:table;margin:6px 0 0}}
.comparison thead th .y::before,.comparison tbody th .y::before,.kit-score h3 .y::before,main h3 > .y::before{display:none}

/* ---------- comparison tables ---------- */
/* Plain tables: rows are alternating plates, no rules. The wrap scrolls
   only when a table cannot fit (between the phone cards and the wide
   breakout); its scrollbar stays visible as the cue. */
.comparison-wrap{
  overflow-x:auto;-webkit-overflow-scrolling:touch;margin:28px 0 24px;
  scrollbar-width:thin;scrollbar-color:var(--s3) transparent;
}
.comparison{width:100%;border-collapse:separate;border-spacing:0;text-align:left}
.comparison.fixed{table-layout:fixed}
.comparison th,.comparison td{padding:14px 16px;vertical-align:top}
.comparison thead th{
  padding:0 16px 12px;vertical-align:bottom;white-space:normal;text-wrap:balance;
  font-size:15px;line-height:1.35;font-weight:600;letter-spacing:-.01em;color:var(--tx);
}
.comparison tbody tr:nth-child(odd) > *{background:var(--s1)}
.comparison tbody tr > :first-child{border-radius:12px 0 0 12px}
.comparison tbody tr > :last-child{border-radius:0 12px 12px 0}
.comparison tbody th{color:var(--tx);font-size:15.5px;font-weight:650;letter-spacing:-.015em;line-height:1.4;hyphens:auto}
.comparison td{color:var(--tx-body);font-size:15.5px;line-height:1.5;min-width:9.5em}
.comparison td code,.comparison th code{white-space:normal;overflow-wrap:break-word}
.comparison td .y,.comparison td .n,.comparison td .m{white-space:normal}
@media (min-width:1100px){.comparison tbody th{min-width:170px}}
/* Recommended row and pick-first column: a blue-black plate, full text. */
.comparison tbody tr.recommended > *,
.comparison.pick-first tbody td:nth-of-type(1){background:var(--pick);color:var(--tx)}
.comparison.pick-first thead th:nth-child(2){color:var(--light)}
.comparison col.c10{width:10%}.comparison col.c12{width:12%}.comparison col.c16{width:16%}.comparison col.c18{width:18%}.comparison col.c19{width:19%}.comparison col.c26{width:26%}.comparison col.c27{width:27%}

/* ---------- width: tables break out, plates hang ---------- */
/* Prose keeps --read. Tables take --wide, centred on the column, never
   wider than the viewport less 24px a side (100vw counts a classic
   scrollbar, which only makes the gutter a little narrower). Every other
   boxed block hangs --hang past the column on both sides and pads by the
   same amount: see the round 2 section at the end. Wide-layout (.gw) pages
   keep their own grid. */
@media (min-width:821px){
  .container:not(.gw) main > .comparison-wrap{
    --bw:min(var(--wide),100vw - 48px);
    width:var(--bw);margin-left:calc(50% - var(--bw) / 2);margin-right:0;
  }
}

/* ---------- footer (mirrors home.css) ---------- */
.foot{padding:72px 0 0;text-align:center;overflow:hidden;position:relative}
.foot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;font-size:14px;color:var(--tx-dim)}
.foot-links a:hover{color:var(--tx)}
.copyright{margin-top:16px;font-size:13px;color:var(--tx-mute)}
/* The phone hand-off line is for phones; a Mac can download directly. */
@media (hover:hover) and (pointer:fine){.kx-phone{display:none}}
/* The giant dithered footer wordmark is homepage branding; guides end on
   the footer links. The h1 is solid text (no dithered sheen). */
.foot{padding-bottom:56px}
.wordmark{display:none}

/* ---------- motion: kx- primitives (static rule = end state) ---------- */
.kx-lid{transform-box:fill-box;transform-origin:0 50%}
.kx-lid > *{fill:none;stroke:var(--light);stroke-width:3;stroke-linecap:round}
.kx-work,.kx-go{fill:var(--light)}
.kx-panel{fill:var(--s2)}
.kx-shade{fill:var(--shade);opacity:.94}
.kx-ln{transform-box:fill-box;transform-origin:0 50%}
.kx-caret{fill:var(--light)}
.kx-track{fill:none;stroke:var(--track);stroke-width:14;stroke-linecap:butt}
.kx-arc{fill:none;stroke:var(--light);stroke-width:14;stroke-linecap:butt;stroke-dasharray:100 200;stroke-dashoffset:0}
.kx-arc.kx-amber{stroke:var(--warn)}.kx-arc.kx-red{stroke:var(--bad)}
.kx-arc.kx-v10{stroke-dashoffset:90}.kx-arc.kx-v20{stroke-dashoffset:80}.kx-arc.kx-v30{stroke-dashoffset:70}
.kx-arc.kx-v40{stroke-dashoffset:60}.kx-arc.kx-v50{stroke-dashoffset:50}.kx-arc.kx-v60{stroke-dashoffset:40}
.kx-arc.kx-v70{stroke-dashoffset:30}.kx-arc.kx-v80{stroke-dashoffset:20}.kx-arc.kx-v90{stroke-dashoffset:10}
.kx-bar{transform-box:fill-box;transform-origin:0 50%}
.kx-bar.kx-v10{transform:scaleX(.1)}.kx-bar.kx-v20{transform:scaleX(.2)}.kx-bar.kx-v30{transform:scaleX(.3)}
.kx-bar.kx-v40{transform:scaleX(.4)}.kx-bar.kx-v50{transform:scaleX(.5)}.kx-bar.kx-v60{transform:scaleX(.6)}
.kx-bar.kx-v70{transform:scaleX(.7)}.kx-bar.kx-v80{transform:scaleX(.8)}.kx-bar.kx-v90{transform:scaleX(.9)}
.kx-stop{fill:var(--bad);opacity:.6}
.kx-prog{transform-box:fill-box;transform-origin:0 50%}
.kx-prog.kx-stall{fill:var(--bad);opacity:.7;transform:scaleX(.35)}
.kx-prog.kx-run{fill:var(--light)}
.kx-zz{fill:var(--tx-dim)}
.kx-flow{fill:none;stroke:var(--light);stroke-width:6;stroke-linecap:butt;stroke-dasharray:6 10}
.kx-flow.kx-cut{stroke:var(--bad);opacity:.6;stroke-dasharray:3 9}
.kx-ping{transform-box:fill-box;transform-origin:50% 50%}
.kx-track-sw{fill:var(--blue)}
.kx-knob{fill:var(--knob);transform:translateX(26px)}
.kx-dot{fill:var(--light)}
.kx-ring{fill:var(--blue);opacity:.22;transform-box:fill-box;transform-origin:50% 50%}

/* Motion that shows the guide's point: the lid closes, the display goes
   dark, work keeps running (log lines, progress), the switch turns on.
   Eased, not stepped. Decorative loops (list-dot pulses, pings, marching
   flow dashes, gauge and bar sweeps, rings, the caret blink) stay still at
   their end state. Only when motion is allowed. */
@media (prefers-reduced-motion:no-preference){
  .kx-lid{animation:kx-lid var(--kx-cycle) cubic-bezier(.45,0,.25,1) infinite}
  .kx-lid > *{animation:kx-lid-c var(--kx-cycle) steps(1) infinite}
  @keyframes kx-lid{0%,12%{transform:rotate(-68deg)}30%,82%{transform:rotate(0)}96%,100%{transform:rotate(-68deg)}}
  @keyframes kx-lid-c{0%,30%{stroke:var(--tx)}30.01%,84%{stroke:var(--light)}84.01%,100%{stroke:var(--tx)}}

  .kx-work,.kx-go{animation:kx-pulse 1.6s ease-in-out infinite}
  .kx-w2{animation-delay:.27s}.kx-w3{animation-delay:.54s}
  @keyframes kx-pulse{0%,100%{opacity:.35}50%{opacity:1}}

  .kx-shade{animation:kx-shade var(--kx-cycle) ease-out infinite}
  /* Next to a timestamp log the display stays black: the two loops would
     drift apart and show a lit display beside an empty log. */
  .kx-fig:has(.kx-ln) .kx-shade{animation:none}
  @keyframes kx-shade{0%,26%{opacity:0}36%,80%{opacity:.94}90%,100%{opacity:0}}

  .kx-ln{animation:kx-type1 var(--kx-type) steps(6,jump-none) infinite both}
  text.kx-ln{animation-name:kx-type-t1;animation-timing-function:steps(1)}
  .kx-ln.kx-t2{animation-name:kx-type2} text.kx-ln.kx-t2{animation-name:kx-type-t2}
  .kx-ln.kx-t3{animation-name:kx-type3} text.kx-ln.kx-t3{animation-name:kx-type-t3}
  .kx-ln.kx-t4{animation-name:kx-type4} text.kx-ln.kx-t4{animation-name:kx-type-t4}
  .kx-ln.kx-t5{animation-name:kx-type5} text.kx-ln.kx-t5{animation-name:kx-type-t5}
  .kx-ln.kx-t6{animation-name:kx-type6} text.kx-ln.kx-t6{animation-name:kx-type-t6}
  .kx-ln.kx-t7{animation-name:kx-type7} text.kx-ln.kx-t7{animation-name:kx-type-t7}
  .kx-ln.kx-t8{animation-name:kx-type8} text.kx-ln.kx-t8{animation-name:kx-type-t8}
  @keyframes kx-type1{0%{transform:scaleX(0);opacity:1}7.0%{transform:scaleX(1)}88%{opacity:1;transform:scaleX(1)}96%,100%{opacity:0;transform:scaleX(1)}}
  @keyframes kx-type-t1{0%{opacity:0}4.0%,88%{opacity:1}96%,100%{opacity:0}}
  @keyframes kx-type2{0%,5.83%{transform:scaleX(0);opacity:1}12.83%{transform:scaleX(1)}88%{opacity:1;transform:scaleX(1)}96%,100%{opacity:0;transform:scaleX(1)}}
  @keyframes kx-type-t2{0%,5.83%{opacity:0}9.83%,88%{opacity:1}96%,100%{opacity:0}}
  @keyframes kx-type3{0%,11.67%{transform:scaleX(0);opacity:1}18.67%{transform:scaleX(1)}88%{opacity:1;transform:scaleX(1)}96%,100%{opacity:0;transform:scaleX(1)}}
  @keyframes kx-type-t3{0%,11.67%{opacity:0}15.67%,88%{opacity:1}96%,100%{opacity:0}}
  @keyframes kx-type4{0%,17.5%{transform:scaleX(0);opacity:1}24.5%{transform:scaleX(1)}88%{opacity:1;transform:scaleX(1)}96%,100%{opacity:0;transform:scaleX(1)}}
  @keyframes kx-type-t4{0%,17.5%{opacity:0}21.5%,88%{opacity:1}96%,100%{opacity:0}}
  @keyframes kx-type5{0%,23.33%{transform:scaleX(0);opacity:1}30.33%{transform:scaleX(1)}88%{opacity:1;transform:scaleX(1)}96%,100%{opacity:0;transform:scaleX(1)}}
  @keyframes kx-type-t5{0%,23.33%{opacity:0}27.33%,88%{opacity:1}96%,100%{opacity:0}}
  @keyframes kx-type6{0%,29.17%{transform:scaleX(0);opacity:1}36.17%{transform:scaleX(1)}88%{opacity:1;transform:scaleX(1)}96%,100%{opacity:0;transform:scaleX(1)}}
  @keyframes kx-type-t6{0%,29.17%{opacity:0}33.17%,88%{opacity:1}96%,100%{opacity:0}}
  @keyframes kx-type7{0%,35.0%{transform:scaleX(0);opacity:1}42.0%{transform:scaleX(1)}88%{opacity:1;transform:scaleX(1)}96%,100%{opacity:0;transform:scaleX(1)}}
  @keyframes kx-type-t7{0%,35.0%{opacity:0}39.0%,88%{opacity:1}96%,100%{opacity:0}}
  @keyframes kx-type8{0%,40.83%{transform:scaleX(0);opacity:1}47.83%{transform:scaleX(1)}88%{opacity:1;transform:scaleX(1)}96%,100%{opacity:0;transform:scaleX(1)}}
  @keyframes kx-type-t8{0%,40.83%{opacity:0}44.83%,88%{opacity:1}96%,100%{opacity:0}}
  .kx-stop{animation:kx-stop var(--kx-cycle) steps(1) infinite}
  @keyframes kx-stop{0%,15%{fill:var(--light);opacity:1}15.01%,30%{fill:var(--light);opacity:.45}30.01%,92%{fill:var(--bad);opacity:.6}92.01%,100%{fill:var(--light);opacity:1}}
  .kx-prog.kx-stall{animation:kx-stall var(--kx-cycle) linear infinite}
  .kx-prog.kx-run{animation:kx-run var(--kx-cycle) linear infinite}
  @keyframes kx-stall{0%{transform:scaleX(0);fill:var(--light);opacity:1}35%{transform:scaleX(.35);fill:var(--light);opacity:1}40%,92%{transform:scaleX(.35);fill:var(--bad);opacity:.7}100%{transform:scaleX(.35);fill:var(--bad);opacity:0}}
  @keyframes kx-run{0%{transform:scaleX(0)}88%,94%{transform:scaleX(1);opacity:1}100%{transform:scaleX(1);opacity:0}}
  .kx-zz{animation:kx-zz var(--kx-cycle) steps(1) infinite}
  @keyframes kx-zz{0%,40%{opacity:0}40.01%,92%{opacity:1}92.01%,100%{opacity:0}}

  .kx-track-sw{animation:kx-sw var(--kx-cycle) steps(1) infinite}
  .kx-knob{animation:kx-knob var(--kx-cycle) cubic-bezier(.2,0,0,1) infinite}
  .kx-dot{animation:kx-dot var(--kx-cycle) steps(1) infinite}
  @keyframes kx-sw{0%,27%{fill:var(--track)}27.01%,90%{fill:var(--blue)}90.01%,100%{fill:var(--track)}}
  @keyframes kx-knob{0%,22%{transform:translateX(0)}30%,86%{transform:translateX(26px)}94%,100%{transform:translateX(0)}}
  @keyframes kx-dot{0%,30%{fill:var(--tx-mute)}30.01%,90%{fill:var(--light)}90.01%,100%{fill:var(--tx-mute)}}
}

/* ---------- responsive ---------- */
@media (max-width:999px){
  header.page h1{font-size:36px}
}
@media (max-width:900px){
  .wrap-wide{padding:0 24px}
  .nav-links a:not(:first-child){display:none}
}
@media (max-width:760px){
  .kit-hero{grid-template-columns:1fr;gap:22px}
  .kit-hero svg{max-height:240px}
  .cta-card.cta-demo{grid-template-columns:1fr;padding-top:6px}
  .cta-demo > .gd-demo{grid-row:auto;margin:0 -16px}
  .cta-demo > .kx-cta-actions{flex-direction:row;flex-wrap:wrap;margin-top:6px}
  .cta-demo > .kx-cta-actions .btn{width:auto;flex:1 1 200px}
  .kit-score{grid-auto-flow:row;grid-template-columns:1fr}
  .kit-facts{grid-template-columns:1fr 1fr;gap:20px 20px}
  main :not(pre) > code{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:break-word;vertical-align:bottom}
}
@media (max-width:640px){
  body{font-size:17px}
  .container{padding:0 16px}
  header.page{padding-top:112px}
  header.page h1{font-size:30px;line-height:1.18}
  main h2{font-size:23px;line-height:29px;margin-top:56px}
  .kit-faq summary{padding:14px 16px}
  .kit-faq summary h3{font-size:17px;line-height:26px}
  .kit-faq details > p,.kit-faq details > div{padding:0 16px 18px}
  .nav-links{display:none}
  .nav-inner .btn-sm{margin-left:auto}
  .foot-links{gap:0 12px}
  .foot-links a{padding:10px 4px}
  .lead,.kit-answer > p{font-size:17.5px}
  .kit-answer{padding:22px 20px;border-radius:18px}
  .kit-facts{margin:22px 0 0;gap:16px 18px}
  .kit-hero,.kx-fig{padding:22px 18px 0;border-radius:18px}
  .kit-hero{padding-bottom:22px}
  .kx-fig figcaption{margin:20px 0 0;padding:0 0 22px}
  .kx-fig.kx-pair{grid-template-columns:1fr}
  .kx-fig:not(.kx-pair) .t-svg,.kx-fig:not(.kx-pair) .t-svg-on{font-size:19px}
  .kx-fig:not(.kx-pair) .t-svg-lg{font-size:21px}
  /* 17px keeps two 20-character labels inside a 440-wide hero viewBox. */
  .kit-hero .t-svg,.kit-hero .t-svg-on{font-size:17px}
  .kit-hero .t-svg-lg,.kit-hero .t-chip{font-size:19px}
  .cta-card{padding:22px 20px 0;border-radius:18px}
  .cta-card .kx-cta-note{margin:2px 0 0;padding:0 0 20px}
  .cta-card:not(:has(> .kx-cta-note)){padding-bottom:22px}
  .cta-card .kx-cta-actions{flex:1 1 100%;flex-direction:column;align-items:stretch}
  .cta-card > .clam{width:40px;height:40px}
  .cta-card > .clam + p{flex:1 1 0;min-width:0}
  .cta-card .kx-cta-actions .btn,.cta-demo > .kx-cta-actions .btn{width:100%;flex:none}
  .cta-card.cta-demo{padding-top:4px}
  .kit-flow{flex-direction:column}
  .kit-flow .a{align-self:flex-start;margin-left:20px}
  .kit-flow span.a{transform:rotate(90deg)}
  .kit-choices:has(> a.guide-link){grid-template-columns:1fr}
  .kit-choice{padding:20px 20px 22px}
  pre{padding:16px 18px;border-radius:14px}
  .kit-steps > li pre{margin:14px 0 2px -50px}
}
/* Phones and tablets: each table row becomes a card, its row head as the
   title and every cell beside or under its column name (data-label). Wide
   tables need about 1050px, so the cards run up to 1099px. */
@media (max-width:1099px){
  .comparison-wrap{overflow:visible}
  .comparison{min-width:0}
  .comparison thead{display:none}
  .comparison,.comparison tbody,.comparison tr,.comparison td,.comparison tbody th{display:block;width:auto}
  .comparison tbody tr{background:var(--s1);border-radius:16px;padding:16px 18px 6px;margin:0 0 10px}
  .comparison tbody tr > *,.comparison tbody tr:nth-child(odd) > *,
  .comparison tbody tr.recommended > *,.comparison.pick-first tbody td:nth-of-type(1){background:none;border-radius:0}
  .comparison tbody tr.recommended{background:var(--pick)}
  .comparison tbody th{padding:0 0 8px;font-size:17px}
  .comparison td{position:relative;padding:8px 0 10px 34%;min-width:0}
  .comparison td::before{content:attr(data-label);position:absolute;left:0;top:8px;width:calc(34% - 16px);font-size:14.5px;line-height:1.5;color:var(--tx-dim)}
  .comparison.pick-first tbody td:nth-of-type(1)::before{color:var(--light)}
}
@media (max-width:560px){
  .comparison tbody tr{padding:14px 16px 4px}
  .comparison td{padding:6px 0 10px}
  .comparison td::before{position:static;display:block;width:auto;margin-bottom:2px;font-size:14px}
}
@media (max-width:359px){
  header.page h1{font-size:30px}
}

/* ---------- wide-layout (.gw) pages ---------- */
/* guide-wide-v1.css loads after this file; "body" wins over it. Same
   quieter type scale, plain CTA band. */
body .gw header.page h1{font-size:46px;line-height:1.12}
body .gw main h2{font-size:30px;line-height:36px}
body .gw-cta-band{background:var(--s1)}
@media (max-width:999px){body .gw header.page h1{font-size:38px}}
@media (max-width:640px){
  body .gw header.page h1{font-size:30px;line-height:1.18}
  body .gw main h2{font-size:24px;line-height:30px}
}

/* Japanese headings: break at phrase boundaries and balance the lines, so a
   heading never strands one or two characters. */
:lang(ja) h1,:lang(ja) h2,:lang(ja) h3,:lang(ja) .kit-fact b{word-break:auto-phrase;text-wrap:balance}

/* ======================= round 2 (2026-11-23) ======================= */

/* ---------- hanging plates ---------- */
/* From 900px the column has at least 60px of room a side, so every plate
   reaches --hang past it and pads its content by --hang: the first line of
   text inside sits exactly on the body text's left edge, with even padding
   all round. Card grids hang the same way, so the first card's text lines
   up too. The guide index's link rows are not plates and stay flush. */
@media (min-width:900px){
  .container:not(.gw){--hang:28px}
  .container:not(.gw) main > :is(.kit-answer,.kit-hero,.kx-fig,.cta-card,.gd-demo-solo,.kit-note,.kit-faq,.gf,.pb-tool,.kit-choices:not(:has(> a.guide-link)),.kit-score,.kit-flow,pre),
  .container:not(.gw) main li > pre{
    margin-left:calc(-1 * var(--hang));margin-right:calc(-1 * var(--hang));
  }
  .container:not(.gw) .kit-answer{padding:var(--hang)}
  .container:not(.gw) .kit-hero{padding:var(--hang)}
  .container:not(.gw) .kx-fig{padding:var(--hang) var(--hang) 0}
  .container:not(.gw) .kx-fig figcaption{padding-bottom:var(--hang)}
  .container:not(.gw) .cta-card{padding:var(--hang) var(--hang) 0}
  .container:not(.gw) .cta-card:not(:has(> .kx-cta-note)){padding-bottom:var(--hang)}
  .container:not(.gw) .cta-card .kx-cta-note{padding-bottom:var(--hang)}
  .container:not(.gw) .gd-demo-solo{padding:8px var(--hang)}
  .container:not(.gw) .kit-note{padding:var(--hang)}
  .container:not(.gw) .kit-faq summary{padding:20px var(--hang)}
  .container:not(.gw) .kit-faq details > p,.container:not(.gw) .kit-faq details > div{padding:0 var(--hang) var(--hang)}
  .container:not(.gw) main pre{padding:var(--hang)}
  .container:not(.gw) .kit-choice:not(.guide-link){padding:var(--hang)}
  .container:not(.gw) .kit-score .c{padding:var(--hang)}
  .container:not(.gw) .kit-flow .n{padding:20px var(--hang) 22px}
  .container:not(.gw) .gf{padding:var(--hang) var(--hang) 0}
  .container:not(.gw) .gf figcaption{padding-bottom:var(--hang)}
  .container:not(.gw) .pb-tool{padding:var(--hang)}
}
.kx-fig figcaption,.kit-faq details > p,.kit-faq details > div{max-width:none}

/* Figure with a caption beside it: the caption leads on the left, on the
   text edge, and the drawing takes the right. */
.kit-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}
.kit-hero > .kit-cap{order:-1}
.kit-hero.kit-solo{grid-template-columns:1fr}
@media (max-width:760px){.kit-hero{grid-template-columns:1fr}.kit-hero > .kit-cap{order:0}}

/* Call to action: the text starts on the text edge. The app icon repeated
   the nav logo; the demo card puts the pitch first and the lid demo right. */
.cta-card > .clam{display:none}
.cta-card.cta-demo{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.cta-demo > .gd-demo{grid-column:2;grid-row:1 / span 2;margin:0 -14px 0 -6px}
.cta-demo > p,.cta-demo > .kx-cta-actions{grid-column:1}
@media (max-width:760px){
  .cta-card.cta-demo{grid-template-columns:1fr}
  .cta-demo > .gd-demo{grid-column:1;grid-row:auto;margin:0 -16px}
  .cta-demo > p,.cta-demo > .kx-cta-actions{grid-column:1}
}

/* Notes: one text column; a warning takes a warm plate (its bold lead says
   why), so no icon column pushes the text off the edge. */
.kit-note{display:block}
.kit-note > svg{display:none}
.kit-note.warn{background-color:var(--warn-plate)}

/* ---------- light scheme: the bespoke sheets ---------- */
/* dither-type.css, guide-figs-v1.css, guide-wide-v1.css, pmset-builder.css
   and handoff.css load after this file and hold a few dark literals; the
   "body" prefix wins over them in both schemes. */
body .copyright{color:var(--tx-fine)}
body .gw-related a:hover{color:var(--tx-hi)}
body .pb-goal input:checked + span{background:var(--pick)}
body .pb-goal input:checked + span b{color:var(--tx-hi)}
body .pb-pick:hover span,body .pb-undo .pb-copy:hover{background-color:var(--s2)}
body .pb-copy:hover{background-color:var(--btn-hover)}
body .pb-cmdrow pre{background:var(--s2)}
body .pb-field input,body .pb-field select,body .pb-inline input,body .pb-inline select{box-shadow:none}
body .pb-copy.pb-copied,body .pb-copy.pb-copied:hover,body .pb-undo .pb-copy.pb-copied{background:var(--pick)}
body .hof-guide .hof-input{border-color:var(--s3)}
body .hof-input::placeholder{color:var(--tx-mute)}
body .hof-err{color:var(--bad)}
body .ho-panel{background:var(--bg);box-shadow:6px 6px 0 var(--s2)}
body .ho::backdrop{background:rgba(0,0,0,.5)}
body .ho-x:hover{color:var(--tx-hi);background:var(--s2)}
/* Terminal and file panels in the guide figures: a plate, not black; the
   muted diff counts take --tx-dim so they pass AA in both schemes. */
body .gf-term li i{color:var(--tx-dim)}
body .gf-file,body .gf-term ol{background:var(--s2)}
/* Pictures that are dark by design (the lid demo canvas, the figure
   canvases, the scene renders) sit on their own rounded dark stage. */
.gd-demo .ld-stage,body .gf canvas{background:var(--stage);border-radius:16px}
@media (prefers-color-scheme:light){
  /* The plate around a dark stage goes away, so the dark picture is not
     framed twice. */
  .gd-demo-solo{background:none;padding-left:0;padding-right:0}
  .cta-demo > .gd-demo{margin:0}
}

/* ---------- verdict marks (comparison cells) ---------- */
/* <span class="mk mk-yes|mk-no|mk-partial"><svg class="mk-i" ...></svg>Cell
   text</span>. The icon is aria-hidden; the text is the content. Shape
   (tick, cross, half bar) carries the meaning, colour backs it up. Pixel
   glyphs on a 2px grid inside a soft square, after the 3px-cell marks of
   the v2 kit. */
.mk{display:inline-grid;grid-template-columns:20px minmax(0,1fr);column-gap:9px;align-items:start}
.mk-i{width:20px;height:20px;margin-top:calc((1lh - 20px) / 2);padding:2px;border-radius:6px;shape-rendering:crispEdges;fill:currentColor}
.mk-yes .mk-i{color:var(--mk-yes);background:color-mix(in srgb,var(--mk-yes) 16%,transparent)}
.mk-no .mk-i{color:var(--mk-no);background:color-mix(in srgb,var(--mk-no) 16%,transparent)}
.mk-partial .mk-i{color:var(--mk-partial);background:color-mix(in srgb,var(--mk-partial) 18%,transparent)}
/* The older span.y / .n / .m marks draw the same glyphs: the text colour
   through a mask of the glyph plus a 16% layer for the soft square. */
span.y::before,span.n::before,span.m::before{
  width:20px;height:20px;margin:0 8px 0 0;vertical-align:-4px;border-radius:6px;
  background:currentColor;image-rendering:auto;
  -webkit-mask:var(--g) center/16px 16px no-repeat,linear-gradient(rgb(0 0 0 / .16),rgb(0 0 0 / .16));
  mask:var(--g) center/16px 16px no-repeat,linear-gradient(rgb(0 0 0 / .16),rgb(0 0 0 / .16));
}
span.y{--g:url(/assets/v2/type/mk-yes-c88661dceb.svg)}
span.n{--g:url(/assets/v2/type/mk-no-c27f670937.svg)}
span.m{--g:url(/assets/v2/type/mk-partial-95174a04f4.svg)}

/* Clamshell column: a quiet tint and full-strength text, nothing more. */
.comparison.pick-first thead th:nth-child(2){color:var(--tx)}
@media (max-width:1099px){.comparison.pick-first tbody td:nth-of-type(1)::before{color:var(--tx-dim)}}

/* ---------- open figure (no plate) ---------- */
/* A drawing that brings its own shapes: no plate around it, the caption on
   the text edge. Two SVGs, one per shape of screen. */
.fig-open{margin:36px 0 12px}
.fig-open svg{display:block;width:100%;height:auto}
.fig-open .fig-narrow{display:none}
@media (max-width:640px){.fig-open .fig-wide{display:none}.fig-open .fig-narrow{display:block}}
.fig-open figcaption{margin:18px 0 0;color:var(--tx-dim);font-size:16px;line-height:1.55}
.fig-open figcaption strong{color:var(--tx);font-weight:650}
.fig-open + p{margin-top:32px}
/* drawing classes */
.fo-tile{fill:var(--s1)}
.fo-tile.pick{fill:var(--pick)}
.fo-name{fill:var(--tx);font-family:"Geist",-apple-system,sans-serif;font-size:19px;font-weight:650;letter-spacing:-.02em}
.fo-by{fill:var(--tx-dim);font-family:var(--mono);font-size:13px}
.fo-tag{fill:color-mix(in srgb,var(--bad) 14%,transparent)}
.fo-tag-tx{fill:var(--bad);font-family:"Geist",-apple-system,sans-serif;font-size:13.5px;font-weight:600}
.fo-ok{fill:color-mix(in srgb,var(--light) 16%,transparent)}
.fo-ok-tx{fill:var(--light);font-family:"Geist",-apple-system,sans-serif;font-size:13.5px;font-weight:600}
.fo-glyph{fill:currentColor;shape-rendering:crispEdges}
.fo-bad-g{color:var(--bad)}
.fo-ok-g{color:var(--light)}

@media (forced-colors:active){
  *{-webkit-text-fill-color:currentColor !important}
}

/* Buttons directly under the answer text (the Claude pages) need air above them. */
.kit-answer > .kx-cta-actions{margin-top:18px}
