/* Break It First, site v2 design system. Brand v10 palette, fixed paper/ink (no dark mode).
   Fonts are self-hosted (02-tools/make-fonts script, SIL Open Font License 1.1): Space Grotesk, Inter, JetBrains Mono.
   Red marks a break and is never text on paper. Green means PASS only. */
@font-face { font-family: "Space Grotesk"; src: url(/fonts/space-grotesk.woff) format("woff"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter.woff) format("woff"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/jetbrains-mono.woff) format("woff"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  /* colour */
  --ink: #0E0E10; --ink-2: #17171A; --ink-line: #2E2E33;
  --paper: #F2EFE6; --paper-2: #E9E5D9; --card: #FBF9F4; --line: #DDD8CB;
  --red: #FF2E1F;
  --green-ink: #2BD96B; --green-paper: #0F7A3A;
  --grey-ink: #8A8A90; --grey-paper: #5E5E63;
  --tint-good: #DCEFE2; --tint-bad: #FBE3DE;
  /* type */
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --t-xs: .8125rem; --t-sm: .9375rem; --t-base: 1.0625rem; --t-md: 1.25rem; --t-lg: 1.5rem;
  --t-xl: clamp(1.6rem, 2.4vw, 2.1rem); --t-2xl: clamp(2.1rem, 3.6vw, 3rem); --t-3xl: clamp(2.6rem, 5.6vw, 4.75rem);
  /* space (4 px base) */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;
  --gutter: 1.5rem; --radius: 12px; --radius-lg: 18px;
  color-scheme: light;
}
@media (min-width: 48rem) { :root { --gutter: 2.5rem; } }

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-base)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wrap { width: 100%; max-width: calc(75rem + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.band-ink :focus-visible, .site-foot :focus-visible { outline-color: var(--paper); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.06; margin: 0; text-wrap: balance; }
p { margin: 0 0 var(--s4); }
strong { font-weight: 600; }

/* bands: paper is the default, ink inverts every token that matters */
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink .eyebrow, .band-ink .note, .band-ink .intro span { color: var(--grey-ink); }
.band-ink .btn-primary { background: var(--paper); color: var(--ink); }
.band-ink .btn-quiet { color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }

/* header: mark + wordmark left, one-row nav right (stays one row at 390 px) */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.head-row { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: var(--s3); padding-block: var(--s3); }
@media (min-width: 40rem) { .head-row { padding-block: 1.1rem; } }
.mark { display: inline-flex; align-items: center; gap: var(--s3); min-height: 44px; color: var(--ink); text-decoration: none; flex: none; }
.mark svg { width: 40px; height: 30px; flex: none; }
.mark span { font: 700 1.25rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.nav ul { display: flex; align-items: center; gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; color: var(--ink); font-weight: 500;
  font-size: var(--t-sm); text-decoration: none; white-space: nowrap; border-radius: 10px; }
.nav .nav-link a:hover, .nav .nav-link a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red);
  text-decoration-thickness: 2px; text-underline-offset: .5em; }
.nav .nav-cta a { background: var(--ink); color: var(--paper); font-weight: 600; padding: 0 1.15rem; }
.nav .nav-cta a:hover { background: var(--ink-2); }
.nav .nav-cta a[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--ink); background: transparent; color: var(--ink); }
.site-head { position: relative; z-index: 20; }
.nav .nav-menu { display: none; }
.nav-menu summary { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .75rem; border-radius: 10px;
  font-weight: 600; font-size: var(--t-sm); cursor: pointer; list-style: none; box-shadow: inset 0 0 0 2px var(--ink); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: .9rem; height: .6rem; background: linear-gradient(var(--ink) 0 0) top / 100% 2px no-repeat,
  linear-gradient(var(--ink) 0 0) center / 100% 2px no-repeat, linear-gradient(var(--ink) 0 0) bottom / 100% 2px no-repeat; }
.nav-menu details[open] summary { background: var(--ink); color: var(--paper); }
.nav-menu details[open] summary::after { filter: invert(1); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; display: block !important; background: var(--paper);
  border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(14, 14, 16, .12); padding: var(--s2) var(--gutter) var(--s4) !important; }
.menu-panel li { border-top: 1px solid var(--line); }
.menu-panel li:first-child { border-top: 0; }
.menu-panel a { display: flex; min-height: 52px; padding: 0; font-size: var(--t-base); font-weight: 600; }
.menu-panel a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
@media (max-width: 40rem) {
  .mark { gap: var(--s2); }
  .mark svg { width: 28px; height: 21px; }
  .mark span { font-size: .9rem; letter-spacing: 0; }
  .nav ul { gap: .375rem; }
  .nav .nav-link { display: none; }
  .nav .nav-menu { display: block; }
  .nav .nav-cta a { padding: 0 .7rem; font-size: .8125rem; }
}
@media (max-width: 23rem) { .mark span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

/* shared type and controls */
.eyebrow { font: 500 var(--t-xs)/1.3 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--grey-paper); margin: 0 0 var(--s5); }
.eyebrow::before { content: ""; display: inline-block; width: .55rem; height: .55rem; background: var(--red); margin-right: .65rem; vertical-align: .05em; }
.intro { font-size: var(--t-md); line-height: 1.55; margin: var(--s5) 0 0; max-width: 40rem; }
.lead { font-size: var(--t-md); line-height: 1.55; color: var(--grey-paper); max-width: 36rem; margin: var(--s5) 0 var(--s6); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: center; margin-top: var(--s6); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.5rem; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14, 14, 16, .22); }
.btn-quiet { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-quiet:hover { transform: translateY(-2px); }
.note { font-size: var(--t-sm); color: var(--grey-paper); margin: var(--s4) 0 0; }
.actions .note { margin: 0; }
.note + .price-note { margin-top: var(--s2); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6); }

/* page head (inner pages): ink band, big display headline */
.page-head { padding: var(--s8) 0 var(--s8); }
@media (min-width: 48rem) { .page-head { padding: var(--s9) 0 var(--s9); } }
.page-head h1 { font-size: var(--t-3xl); max-width: 22ch; }
.page-head h1 span { color: var(--grey-ink); }
.page-head .intro { color: var(--paper); }

/* checklist */
.ai-line { display: inline-block; font-size: var(--t-sm); color: var(--grey-ink); border-left: 3px solid var(--grey-ink);
  padding: .1rem 0 .1rem var(--s3); margin: var(--s5) 0 0; }
.checks { list-style: none; margin: 0; padding: var(--s6) 0 0; }
.check { display: block; padding: var(--s7) 0; border-bottom: 1px solid var(--line); }
@media (max-width: 47.99rem) { .num { margin-bottom: var(--s3); } }
@media (min-width: 48rem) { .check { display: grid; gap: 0 var(--s4); grid-template-columns: 8rem minmax(0, 1fr); padding: var(--s8) 0; } }
.num { font: 700 1.6rem/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.03em; padding-top: .15rem; }
@media (min-width: 48rem) { .num { font-size: 3.5rem; padding-top: 0; } }
.check h2 { font-size: var(--t-xl); margin: 0 0 var(--s5); max-width: 30ch; }
.dpf { margin: 0; display: grid; gap: var(--s4); }
@media (min-width: 60rem) { .dpf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); } }
.dpf > div { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: var(--radius); padding: var(--s4) var(--s5) var(--s5); }
.dpf .pass { border-top-color: var(--green-paper); }
.dpf .fail { border-top-color: var(--red); }
.dpf dt { font: 600 var(--t-xs)/1.2 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--grey-paper); margin-bottom: var(--s2); }
.dpf .pass dt { color: var(--green-paper); }
.dpf .fail dt { color: var(--ink); }
.dpf dd { margin: 0; }
.seen { margin-top: var(--s5); background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: var(--s4) var(--s5); font-size: .98rem; }
.seen-label { font: 600 var(--t-xs)/1.2 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--grey-ink); margin: 0 0 var(--s2); }
.seen-label::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); margin-right: .55rem; }
.seen p:last-child { margin: 0; }
.untested { margin: var(--s5) 0 0; font-size: .98rem; color: var(--grey-paper); border-left: 3px solid var(--line); padding: .15rem 0 .15rem var(--s3); }
.ask { margin: var(--s8) 0 var(--s9); padding: var(--s6); max-width: 46rem; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); font: 500 var(--t-md)/1.5 var(--display); letter-spacing: -.01em; }
@media (min-width: 48rem) { .ask { padding: var(--s7); font-size: var(--t-lg); } }

/* how we test, privacy: editorial two-column sections (heading left, text right) */
.prose { padding: var(--s4) var(--gutter) var(--s9); }
.prose section { padding: var(--s7) 0; border-bottom: 1px solid var(--line); }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font-size: var(--t-xl); margin: 0 0 var(--s4); }
.prose section > :not(h2) { max-width: 44rem; }
.prose p:last-child { margin-bottom: 0; }
@media (min-width: 60rem) {
  .prose section { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 0 var(--s8); padding: var(--s8) 0; }
  .prose section > h2 { grid-column: 1; grid-row: 1 / span 20; font-size: var(--t-lg); padding-top: .15rem; }
  .prose section > :not(h2) { grid-column: 2; }
  .prose-solo section { display: block; }
}
.table-wrap { max-width: 100%; overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s3) var(--s5) var(--s4); }
table.kits { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
table.kits caption { text-align: left; color: var(--grey-paper); font-size: var(--t-xs); padding: var(--s3) 0 var(--s3); }
table.kits th, table.kits td { text-align: left; padding: .8rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.kits th:first-child { padding-left: 0; }
table.kits th:last-child, table.kits td:last-child { padding-right: 0; }
table.kits thead th { font: 600 .72rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--grey-paper); }
table.kits tbody th { font-weight: 400; }
table.kits .n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
table.kits td.n { white-space: nowrap; }
table.kits tfoot th, table.kits tfoot td { font-weight: 600; border-bottom: 0; border-top: 2px solid var(--ink); }
.survivor { margin-top: var(--s5); background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: var(--s5); }
.survivor h3 { font-size: var(--t-md); letter-spacing: -.01em; margin: 0 0 var(--s2); }
.limits { list-style: none; margin: 0; padding: 0; }
.limits li { position: relative; padding: var(--s4) 0 var(--s4) var(--s6); border-bottom: 1px solid var(--line); }
.limits li:first-child { padding-top: 0; }
.limits li:last-child { border-bottom: 0; }
.limits li::before { content: ""; position: absolute; left: 0; top: 1.75rem; width: .9rem; height: 3px; background: var(--red); }
.limits li:first-child::before { top: .75rem; }

/* 404 */
.lost .page-head { min-height: 52vh; display: flex; align-items: center; }

/* home v2 (D4 port): hero crash-test stage on an ink card, proof band, test loop, kits, 12 checks, FAQ, closing band.
   The stage runs on ONE 10 s CSS loop; --st (0 READY, 1 FAIL, 2 PASS) drives the label, the bar text and the slices. */
@property --st { syntax: "<number>"; inherits: true; initial-value: 0; }
.home section { scroll-margin-top: var(--s4); }
.h2 { font-size: var(--t-2xl); max-width: 22ch; }
.sec { padding-block: var(--s9); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s4); margin-bottom: var(--s6); }
.sec-head p { margin: 0; max-width: 34rem; color: var(--grey-paper); }
.hero { display: flex; flex-wrap: wrap; gap: var(--s7); align-items: center; padding-top: var(--s7); padding-bottom: var(--s9); }
.hero-text { flex: 1 1 26rem; min-width: 0; }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1; letter-spacing: -.03em; max-width: 13ch; }
.hero .lead { max-width: 34rem; margin: var(--s5) 0 0; font-size: var(--t-base); }
.hero .actions { margin-top: var(--s6); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.hero .note { margin-top: var(--s3); }
.hero .note .text-link { min-height: 0; margin-left: var(--s2); color: var(--ink); }
.price-line { margin-top: var(--s2); font-size: var(--t-sm); color: var(--ink); }

/* stage */
.ct-stage { --s: .62; position: relative; flex: 1.3 1 34rem; min-width: 0; height: 640px; border-radius: 24px; overflow: hidden; touch-action: pan-y;
  background-color: var(--ink); border: 1px solid #222227;
  background-image: linear-gradient(#1A1A1E 1px, transparent 1px), linear-gradient(90deg, #1A1A1E 1px, transparent 1px);
  background-size: 40px 40px; background-position: -1px -1px; box-shadow: 0 40px 80px -40px rgba(14, 14, 16, .7);
  animation: ct-state 10s linear infinite; }
.ct-hud { position: absolute; right: 62px; top: 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--paper); z-index: 2; }
.ct-hud span + span { color: var(--grey-ink); letter-spacing: .08em; }
.ct-target { position: absolute; right: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--paper); z-index: 2;
  background: conic-gradient(var(--paper) 0 25%, var(--ink) 0 50%, var(--paper) 0 75%, var(--ink) 0); }
.ct-ticks { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; opacity: .7;
  background-image: linear-gradient(90deg, #3A3A40 1px, transparent 1px); background-size: 20px 10px; }
.ct-scene { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 45% 38%; }
.ct-tilt { position: absolute; left: calc(50% - var(--s) * 397.5px + 40px); top: 180px; width: calc(var(--s) * 795px); height: calc(var(--s) * 595px);
  transform-style: preserve-3d; transform: rotateX(-12deg) rotateY(-18deg); }
.ct-spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: ct-yaw 11s ease-in-out infinite alternate; }
.ct-rig { position: absolute; inset: 0; transform-style: preserve-3d; animation: ct-jolt 10s linear infinite; }
.ct-part { position: absolute; inset: 0; transform-style: preserve-3d; }
.ct-sl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; color: var(--c); transform: translateZ(calc(var(--s) * var(--z) * 1px)); }
.ct-body > .ct-sl, .ct-chip > .ct-sl { animation: ct-hide 10s linear infinite; }
.ct-whole > .ct-sl { opacity: 0; animation: ct-show 10s linear infinite; }
.ct-chip { transform-origin: calc(var(--s) * 100px) calc(var(--s) * 375px); animation: ct-snap 10s infinite; }
.ct-whole { transform-origin: calc(var(--s) * 230px) calc(var(--s) * 370px); animation: ct-pop 10s infinite; }
.ct-whole > .ct-front { animation: ct-show 10s linear infinite, ct-glow 10s linear infinite; }
.ct-bevel { fill: none; stroke: #C8FAD9; stroke-width: 5; stroke-linejoin: round; opacity: .55; }
.ct-sweep { fill: none; stroke: #F4FFF7; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 18 82; stroke-dashoffset: 100;
  opacity: 0; animation: ct-sweep 10s linear infinite; }
.ct-whole > .ct-fx { opacity: 1; animation: none; }
.ct-ring { fill: none; stroke: #2BD96B; stroke-width: 6; transform-box: fill-box; transform-origin: center; opacity: 0; animation: ct-ring 10s ease-out infinite; }
.ct-ring + .ct-ring { stroke: #C8FAD9; stroke-width: 4; animation-delay: .12s; }
.ct-spark { stroke: #C8FAD9; stroke-width: 7; stroke-linecap: round; transform-box: fill-box; transform-origin: center; opacity: 0; animation: ct-spark 10s ease-out infinite; }
.ct-floor { position: absolute; left: calc(var(--s) * -300px); width: calc(var(--s) * 1400px); top: calc(var(--s) * 355px); height: calc(var(--s) * 480px); transform: rotateX(90deg);
  background-image: linear-gradient(#2A2A30 1px, transparent 1px), linear-gradient(90deg, #2A2A30 1px, transparent 1px);
  background-size: calc(var(--s) * 60px) calc(var(--s) * 60px); background-position: center;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.ct-shadow { position: absolute; left: calc(var(--s) * 330px); top: calc(var(--s) * 170px); width: calc(var(--s) * 760px); height: calc(var(--s) * 140px);
  border-radius: 50%; background: #000; opacity: .55; filter: blur(14px); }
.ct-post { position: absolute; left: calc(var(--s) * -124px); top: -420px; width: 4px; height: calc(420px + var(--s) * 103px); background: #5E5E63; }
.ct-ham { position: absolute; left: calc(var(--s) * -122px); top: calc(var(--s) * 103px); width: 0; height: 0; transform-style: preserve-3d; }
.ct-arm { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: rotateZ(-46deg); animation: ct-swing 10s infinite; }
.ct-pin { position: absolute; left: calc(var(--s) * -22px); top: calc(var(--s) * -22px); width: calc(var(--s) * 44px); height: calc(var(--s) * 44px); border-radius: 50%;
  background: #5E5E63; box-shadow: inset 0 0 0 calc(var(--s) * 12px) #5E5E63, inset 0 0 0 calc(var(--s) * 16px) var(--paper); transform: translateZ(calc(var(--s) * 40px)); }
.ct-box { --W: calc(var(--s) * var(--w) * 1px); --H: calc(var(--s) * var(--h) * 1px); --D: calc(var(--s) * var(--d) * 1px);
  position: absolute; left: calc(var(--s) * var(--x) * 1px); top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.ct-box > i { position: absolute; display: block; left: calc(var(--W) / -2); top: calc(var(--H) / -2); width: var(--W); height: var(--H); }
.ct-box > .f { transform: translateZ(calc(var(--D) / 2)); }
.ct-box > .b { transform: rotateY(180deg) translateZ(calc(var(--D) / 2)); }
.ct-box > .t, .ct-box > .u { height: var(--D); top: calc(var(--D) / -2); }
.ct-box > .t { transform: rotateX(90deg) translateZ(calc(var(--H) / 2)); }
.ct-box > .u { transform: rotateX(-90deg) translateZ(calc(var(--H) / 2)); }
.ct-box > .l, .ct-box > .r { width: var(--D); left: calc(var(--D) / -2); }
.ct-box > .l { transform: rotateY(-90deg) translateZ(calc(var(--W) / 2)); }
.ct-box > .r { transform: rotateY(90deg) translateZ(calc(var(--W) / 2)); }
.ct-handle > .f, .ct-handle > .b { background: #8A8A90; } .ct-handle > .t { background: #B9B6AD; } .ct-handle > .u { background: #5E5E63; } .ct-handle > .l, .ct-handle > .r { background: #707076; }
.ct-grip > .f, .ct-grip > .b { background: #3A3A40; } .ct-grip > .t { background: #5E5E63; } .ct-grip > .u, .ct-grip > .l, .ct-grip > .r { background: #2C2C31; }
.ct-head > .f, .ct-head > .b { background: #C9C6BD; } .ct-head > .t { background: var(--paper); } .ct-head > .u { background: #6E6E74; } .ct-head > .l { background: #A8A59D; } .ct-head > .r { background: #9A978F; }
.ct-head > .f::after, .ct-head > .b::after { content: ""; position: absolute; left: 50%; top: 22%; width: calc(var(--s) * 40px); height: calc(var(--s) * 40px);
  margin-left: calc(var(--s) * -20px); border-radius: 50%; background: conic-gradient(var(--ink) 0 25%, var(--paper) 0 50%, var(--ink) 0 75%, var(--paper) 0);
  box-shadow: 0 0 0 calc(var(--s) * 3px) var(--ink); }
.ct-shard { position: absolute; left: calc(var(--s) * 135px); top: calc(var(--s) * 312px); width: calc(var(--s) * var(--sw) * 1px); height: calc(var(--s) * var(--sw) * .8px);
  background: var(--sc); clip-path: polygon(0 0, 100% 30%, 40% 100%); opacity: 0; animation: ct-shard 10s cubic-bezier(.2, .7, .3, 1) infinite; }
.ct-bar { position: absolute; left: 16px; right: 16px; bottom: 20px; min-height: 48px; padding: 10px 12px 10px 16px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; background: var(--ink-2); border: 1px solid var(--ink-line); color: #C9C6BD; border-radius: 12px;
  font: 400 13px/1.4 var(--mono); z-index: 2; }
.ct-msg { position: relative; flex: 1 1 auto; min-width: 0; height: 20px; }
.ct-msg span { position: absolute; left: 0; top: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ct-msg b { color: var(--grey-ink); font-weight: 400; }
.ct-st { position: relative; flex: none; width: 64px; height: 26px; }
.ct-st span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-weight: 600; font-size: 12px; letter-spacing: .06em; }
.ct-st .r { border: 1px solid var(--grey-ink); color: #C9C6BD; }
.ct-st .f { background: var(--red); color: var(--ink); }
.ct-st .p { background: var(--green-ink); color: var(--ink); box-shadow: 0 0 calc(18px * clamp(0, calc(var(--st) - 1), 1)) rgba(43, 217, 107, .6); }
.m-r, .ct-st .r { opacity: clamp(0, calc(1 - var(--st)), 1); }
.m-f, .ct-st .f { opacity: calc(clamp(0, var(--st), 1) - clamp(0, calc(var(--st) - 1), 1)); }
.m-p, .ct-st .p { opacity: clamp(0, calc(var(--st) - 1), 1); }
.ct-paused, .ct-paused * { animation-play-state: paused !important; }

/* 10 s loop: READY 0-1.5 s (whole mark: paper body + red chip seated in the short arm), impact 1.5 s (FAIL, the chip flies off),
   chip back and PASS lock-in at 3.6 s (fully green by about 3.9 s), PASS hold to 6.35 s, then READY again */
@keyframes ct-state { 0%, 14.9% { --st: 0; } 15%, 35.9% { --st: 1; } 36%, 63.4% { --st: 2; } 63.5%, 100% { --st: 0; } }
@keyframes ct-hide { 0%, 35.9% { opacity: 1; } 36%, 63.4% { opacity: 0; } 63.5%, 100% { opacity: 1; } }
@keyframes ct-show { 0%, 35.9% { opacity: 0; } 36%, 63.4% { opacity: 1; } 63.5%, 100% { opacity: 0; } }
@keyframes ct-pop {
  0%, 36% { transform: none; animation-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
  37.1% { transform: scale3d(1.06, 1.06, 1.06); animation-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
  38.5%, 100% { transform: none; } }
@keyframes ct-glow {
  0%, 35.9% { filter: none; }
  36% { filter: drop-shadow(0 0 0 rgba(43, 217, 107, 0)); }
  37.3% { filter: drop-shadow(0 0 calc(var(--s) * 46px) rgba(43, 217, 107, .95)); }
  45.5% { filter: drop-shadow(0 0 calc(var(--s) * 20px) rgba(43, 217, 107, .45)); }
  61.5% { filter: drop-shadow(0 0 calc(var(--s) * 16px) rgba(43, 217, 107, .35)); }
  63.4%, 100% { filter: none; } }
@keyframes ct-sweep { 0%, 36.5% { opacity: 0; stroke-dashoffset: 100; } 36.8% { opacity: .95; } 42.5% { opacity: .95; stroke-dashoffset: 0; } 43.5%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes ct-ring { 0%, 36% { opacity: 0; transform: scale(.2); } 36.3% { opacity: 1; } 40.5%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes ct-spark { 0%, 36% { opacity: 0; transform: translate(0, 0) scale(.3); } 36.4% { opacity: 1; } 40%, 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1); } }
@keyframes ct-yaw { from { transform: rotateY(-10deg) rotateX(2deg); } to { transform: rotateY(12deg) rotateX(-3deg); } }
@keyframes ct-swing {
  0%, 6% { transform: rotateZ(-46deg); animation-timing-function: ease-in-out; }
  12% { transform: rotateZ(-64deg); animation-timing-function: cubic-bezier(.55, 0, 1, .6); }
  15% { transform: rotateZ(24.3deg); animation-timing-function: ease-out; }
  17.5% { transform: rotateZ(13deg); animation-timing-function: ease-in-out; }
  20% { transform: rotateZ(20deg); animation-timing-function: ease-in-out; }
  33%, 100% { transform: rotateZ(-46deg); } }
@keyframes ct-snap {
  0%, 15% { transform: none; animation-timing-function: ease-out; }
  16.2% { transform: translate3d(calc(var(--s) * -14px), calc(var(--s) * 10px), 0) rotateZ(-7deg); animation-timing-function: cubic-bezier(.15, .7, .3, 1); }
  25% { transform: translate3d(calc(var(--s) * -150px), calc(var(--s) * 70px), calc(var(--s) * 150px)) rotateZ(-70deg) rotateX(18deg) rotateY(-12deg); animation-timing-function: ease-in-out; }
  31% { transform: translate3d(calc(var(--s) * -160px), calc(var(--s) * 84px), calc(var(--s) * 170px)) rotateZ(-84deg) rotateX(24deg) rotateY(-18deg); animation-timing-function: cubic-bezier(.6, 0, .9, .5); }
  35.2% { transform: translate3d(calc(var(--s) * 30px), calc(var(--s) * -22px), 0) rotateZ(4deg); animation-timing-function: ease-out; }
  36%, 100% { transform: none; } }
@keyframes ct-shard {
  0%, 14.9% { opacity: 0; transform: none; }
  15.1% { opacity: 1; transform: translate3d(0, 0, calc(var(--s) * var(--sz) * .1px)); }
  24% { opacity: 1; }
  31%, 100% { opacity: 0; transform: translate3d(calc(var(--s) * var(--sx) * 1px), calc(var(--s) * var(--sy) * 1px), calc(var(--s) * var(--sz) * 1px)) rotateZ(var(--sr)) rotateX(var(--sr)); } }
@keyframes ct-jolt {
  0%, 15% { transform: none; }
  15.7% { transform: translate3d(calc(var(--s) * -8px), calc(var(--s) * 6px), 0) rotateZ(-.6deg); }
  16.6% { transform: translate3d(calc(var(--s) * 4px), calc(var(--s) * -2px), 0) rotateZ(.3deg); }
  18% { transform: none; }
  35.9% { transform: none; }
  36.2% { transform: translate3d(calc(var(--s) * 5px), calc(var(--s) * -3px), 0); }
  37.5%, 100% { transform: none; } }

/* proof band (ink): totals + logged run card */
.proof { padding-block: var(--s8); }
.proof-row { display: flex; flex-wrap: wrap; gap: var(--s7); align-items: center; }
.proof-nums { flex: 1 1 30rem; min-width: 0; }
.proof .stats { border: 0; padding: 0; }
.proof .stat-label, .proof .stats-note { color: var(--grey-ink); }
.proof .stats li { border-color: var(--ink-line); }
.proof .stat-num small { font-size: .55em; color: var(--grey-ink); letter-spacing: -.01em; }
/* "190 of 191" must fit: content-sized columns, number size follows the viewport (Builder C fix) */
@media (min-width: 48rem) {
  .proof .stats ul { grid-template-columns: repeat(3, auto); justify-content: start; }
  .proof .stat-num { font-size: clamp(2.75rem, 4.4vw, 4rem); }
}
.proof .runcard { flex: 1 1 24rem; min-width: 0; background: var(--ink-2); border: 1px solid var(--ink-line); box-shadow: none; }

/* who it's for / what you get */
.who { display: grid; gap: var(--s7); }
@media (min-width: 60rem) { .who { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s8); } }
.who-list { list-style: none; margin: var(--s5) 0 0; padding: 0; }
.who-list li { padding: var(--s4) 0 var(--s4) 2rem; border-top: 1px solid var(--line); position: relative; }
.who-list li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: .8rem; height: .8rem; border-radius: 3px; background: var(--ink); }
.get-cols { display: grid; gap: var(--s4); margin-top: var(--s5); }
@media (min-width: 40rem) { .get-cols { grid-template-columns: 1fr 1fr; } }
.get-cols .card { padding: var(--s5); }
.get-cols h3 { font-size: var(--t-md); margin-bottom: var(--s3); }
.get-cols ul { margin: 0; padding-left: 1.1rem; color: #3A3A3F; font-size: var(--t-sm); }
.get-cols li + li { margin-top: var(--s2); }
.get-price { margin: var(--s4) 0 0; font-size: var(--t-sm); }

/* how a kit is broken: 3 steps + the canvas test loop */
.broken { background: var(--paper-2); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); flex: 1 1 22rem; min-width: 0; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.steps li:nth-child(2) { box-shadow: inset 0 4px 0 var(--red); }
.steps .num { display: block; font: 500 var(--t-xs)/1 var(--mono); color: var(--grey-paper); margin-bottom: var(--s3); }
.steps h3 { font-size: var(--t-md); margin-bottom: var(--s2); }
.steps p { margin: 0; color: #3A3A3F; font-size: var(--t-sm); }
/* fix round 4: "What happens after you write", four steps, numbers from a CSS counter (no digits in the page text) */
.after-steps { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s4); counter-reset: aw; }
@media (min-width: 40rem) { .after-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .after-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.after-steps li { counter-increment: aw; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s5); }
.after-steps li::before { content: counter(aw, decimal-leading-zero); display: block; font: 500 var(--t-xs)/1 var(--mono); letter-spacing: .06em;
  color: var(--grey-paper); margin-bottom: var(--s3); }
.after-steps li:last-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.after-steps li:last-child::before { color: var(--green-ink); }
.after-steps li:last-child p { color: var(--grey-ink); }
.after-steps h3 { font-size: var(--t-md); margin: 0 0 var(--s2); }
.after-steps p { margin: 0; color: #3A3A3F; font-size: var(--t-sm); }
.kit-after { padding-top: 0; }
.broken-row { display: flex; flex-wrap: wrap; gap: var(--s6); align-items: stretch; }
.ct-lab { flex: 1.5 1 34rem; min-width: 0; margin: 0; background: var(--paper); border: 1px solid #CFCABC; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 24px 60px rgba(14, 14, 16, .10); }
.ct-labh { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font: 500 12px/1.4 var(--mono);
  letter-spacing: .08em; text-transform: uppercase; color: var(--grey-paper); }
.ct-lab canvas { display: block; width: 100%; height: clamp(340px, 30vw, 430px); }
.broken-line { margin: var(--s6) 0 0; font: 500 var(--t-sm)/1.5 var(--mono); }
.broken-line a { margin-left: var(--s3); display: inline-flex; min-height: 44px; align-items: center; font-family: var(--sans); font-weight: 600; }

/* kits */
.kit-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.kit-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3);
  transition: transform .25s ease, box-shadow .25s ease; }
.kit-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(14, 14, 16, .10); }
.kit-card h3 { font-size: 1.25rem; line-height: 1.2; min-height: 2.4em; }
@supports (grid-template-rows: subgrid) {
  .kit-card { display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: var(--s3); }
  .kit-grid .got-through { grid-row: span 7; }
  .kit-card .kit-nums { margin-top: 0; align-self: end; }
}
.kit-card p { margin: 0; font-size: var(--t-sm); color: #3A3A3F; }
.kit-nums { display: flex; justify-content: space-between; gap: var(--s3); font: 500 var(--t-xs)/1.4 var(--mono); color: var(--ink); margin-top: auto; padding-top: var(--s2); flex-wrap: wrap; }
.kit-nums span { white-space: nowrap; }
.kit-bar { height: 8px; background: #E4E0D4; border-radius: 4px; overflow: hidden; }
.kit-fill { display: block; height: 100%; background: var(--green-paper); }
.kit-fill.miss { background: var(--red); }
.kit-limit { font-size: var(--t-xs) !important; color: var(--grey-paper) !important; border-top: 1px dashed var(--line); padding-top: var(--s3); }
.kit-card .btn { min-height: 44px; font-size: var(--t-sm); padding: 0 1rem; align-self: flex-start; }
.kit-grid.arm .kit-fill { transform: scaleX(0); transform-origin: left; }
.kit-grid.arm.on .kit-fill { transform: none; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.kit-grid.arm.on .kit-card:nth-child(2) .kit-fill { transition-delay: .08s; } .kit-grid.arm.on .kit-card:nth-child(3) .kit-fill { transition-delay: .16s; }
.kit-grid.arm.on .kit-card:nth-child(4) .kit-fill { transition-delay: .24s; } .kit-grid.arm.on .kit-card:nth-child(5) .kit-fill { transition-delay: .32s; }
.kit-grid.arm.on .kit-card:nth-child(6) .kit-fill { transition-delay: .4s; } .kit-grid.arm.on .kit-card:nth-child(7) .kit-fill { transition-delay: .48s; }
.got-through { background: var(--ink); color: var(--paper); border-radius: 14px; padding: var(--s6); box-shadow: inset 6px 0 0 var(--red); }
.got-through h3 { font: 500 var(--t-xs)/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #FF5A4E; margin-bottom: var(--s3); }
.got-through p { font-size: var(--t-base); }
.got-through a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
.got-through :focus-visible { outline-color: var(--paper); }

/* 12 checks tick green on scroll */
.checks-band { background: var(--paper-2); border-block: 1px solid var(--line); }
.checks-row { display: flex; flex-wrap: wrap; gap: var(--s7); }
.checks-copy { flex: 1 1 22rem; min-width: 0; }
.ct-ol { flex: 1.4 1 28rem; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 10px; }
.ct-ol li { display: flex; gap: 12px; align-items: center; background: #F7F5EE; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .3s; }
.ct-ol .n { font: 400 13px/1 var(--mono); color: var(--grey-paper); }
.ct-ol .t { font-weight: 500; flex: 1; font-size: var(--t-sm); line-height: 1.35; }
.ct-tk { flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--green-paper); border: 1.5px solid var(--green-paper); display: flex;
  align-items: center; justify-content: center; transition: background .25s, border-color .25s; }
.ct-tk path { stroke-dasharray: 24; stroke-dashoffset: 0; transition: stroke-dashoffset .35s .12s; }
.ct-ol.arm li .ct-tk { background: transparent; border-color: #B9B6AD; }
.ct-ol.arm li .ct-tk path { stroke-dashoffset: 24; }
.ct-ol.arm.on li { border-color: var(--green-paper); }
.ct-ol.arm.on li .ct-tk { background: var(--green-paper); border-color: var(--green-paper); }
.ct-ol.arm.on li .ct-tk path { stroke-dashoffset: 0; }
.ct-ol.arm.on li:nth-child(2) * { transition-delay: .14s; } .ct-ol.arm.on li:nth-child(3) * { transition-delay: .28s; } .ct-ol.arm.on li:nth-child(4) * { transition-delay: .42s; }
.ct-ol.arm.on li:nth-child(5) * { transition-delay: .56s; } .ct-ol.arm.on li:nth-child(6) * { transition-delay: .7s; } .ct-ol.arm.on li:nth-child(7) * { transition-delay: .84s; }
.ct-ol.arm.on li:nth-child(8) * { transition-delay: .98s; } .ct-ol.arm.on li:nth-child(9) * { transition-delay: 1.12s; } .ct-ol.arm.on li:nth-child(10) * { transition-delay: 1.26s; }
.ct-ol.arm.on li:nth-child(11) * { transition-delay: 1.4s; } .ct-ol.arm.on li:nth-child(12) * { transition-delay: 1.54s; }

/* FAQ */
.faq { display: grid; gap: var(--s6); }
@media (min-width: 60rem) { .faq { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: var(--s8); } }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 56px; padding: var(--s3) 0; cursor: pointer;
  font: 600 var(--t-md)/1.3 var(--display); letter-spacing: -.01em; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center;
  font: 500 1.25rem/1 var(--mono); box-shadow: inset 0 0 0 1.5px var(--ink); }
.faq-list details[open] summary::after { content: "-"; background: var(--ink); color: var(--paper); }
.faq-list details p { margin: 0 0 var(--s5); max-width: 42rem; color: #3A3A3F; }

/* closing band */
.close { padding-block: var(--s9); }
.close h2 { font-size: var(--t-2xl); max-width: 20ch; }
.close p { max-width: 38rem; }
.close .body { font-size: var(--t-md); margin: var(--s5) 0 var(--s3); }
.close .contact { color: var(--grey-ink); font-size: var(--t-sm); }
.close .small { margin-top: var(--s5); font-size: var(--t-sm); color: var(--grey-ink); }
.close .small a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); }

@media (max-width: 40rem) {
  .hero { padding-top: var(--s5); padding-bottom: var(--s8); gap: var(--s6); }
  .ct-stage { --s: .34; height: 420px; flex-basis: 100%; border-radius: 18px; }
  .ct-tilt { top: 118px; left: calc(50% - var(--s) * 397.5px + 14px); }
  .ct-part > .ct-sl:nth-child(even):not(:last-child):not(.ct-front) { display: none; }
  .ct-hud { right: 48px; top: 12px; }
  .ct-target { right: 14px; top: 12px; width: 24px; height: 24px; }
  .ct-bar { left: 10px; right: 10px; bottom: 16px; font-size: 12px; padding-left: 12px; }
  .ct-lab canvas { height: 360px; }
  .sec { padding-block: var(--s8); }
}
@media (prefers-reduced-motion: reduce) {
  .ct-anim, .ct-anim * { animation: none !important; transition: none !important; }
  .ct-stage { --st: 2; }
  .ct-body > .ct-sl, .ct-chip > .ct-sl, .ct-shard, .ct-sweep, .ct-ring, .ct-spark { opacity: 0 !important; }
  .ct-whole > .ct-sl { opacity: 1 !important; }
  .ct-front { filter: drop-shadow(0 0 calc(var(--s) * 18px) rgba(43, 217, 107, .45)); }
  .kit-card, .kit-card:hover { transition: none; transform: none; }
}

/* proof band pieces kept from Phase A */
.runcard { margin: 0; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: var(--s5) var(--s5) var(--s4);
  font: 400 .84rem/1.6 var(--mono); box-shadow: 0 30px 60px -36px rgba(14, 14, 16, .6); }
.runcard-title { display: flex; align-items: center; gap: .55rem; color: var(--grey-ink); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .12em; margin: 0 0 var(--s4); padding-bottom: var(--s3); border-bottom: 1px solid var(--ink-line); }
.runcard-title::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--green-ink); flex: none; }
.runlog { margin: 0; display: grid; gap: var(--s3); }
.runlog div { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: var(--s3); }
.runlog dt { color: var(--grey-ink); }
.runlog dd { margin: 0; overflow-wrap: anywhere; }
.ok { color: var(--green-ink); font-weight: 600; }
.runcard figcaption { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--ink-line); color: var(--grey-ink); font: .8rem/1.5 var(--sans); }
.stats { border-top: 1px solid var(--line); padding: var(--s6) 0 var(--s7); }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.stats li { display: flex; align-items: baseline; gap: var(--s3); }
.stat-num { font: 700 2rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-label { color: var(--grey-paper); font-size: var(--t-sm); }
@media (min-width: 48rem) {
  .stats ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
  .stats li { display: block; border-left: 1px solid var(--line); padding-left: var(--s5); }
  .stats li:first-child { border-left: 0; padding-left: 0; }
  .stat-num { display: block; font-size: 4rem; }
  .stat-label { display: block; margin-top: var(--s2); }
}
.stats-note { color: var(--grey-paper); font-size: var(--t-sm); margin: var(--s5) 0 0; }
.stats-note a { display: inline-flex; align-items: center; min-height: 44px; }

/* footer: ink band */
.site-foot { background: var(--ink); color: var(--grey-ink); font-size: var(--t-sm); padding: var(--s8) 0 var(--s7); }
.foot-row { display: flex; flex-wrap: wrap; gap: var(--s6) var(--s8); justify-content: space-between; align-items: flex-start; }
.foot-text { flex: 1 1 22rem; max-width: 40rem; }
.site-foot p { margin: 0 0 var(--s2); }
.foot-mark { display: flex; align-items: center; gap: var(--s3); color: var(--paper); margin-bottom: var(--s5) !important; }
.foot-mark svg { width: 36px; height: 27px; flex: none; }
.foot-mark span { font: 700 1.05rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.site-foot .ai { color: var(--paper); font-weight: 500; }
.foot-nav ul { list-style: none; display: flex; flex-wrap: wrap; margin: 0 0 0 calc(-1 * var(--s3)); padding: 0; max-width: 36rem; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 var(--s3); color: var(--paper); text-decoration: none; }
.foot-nav a:hover, .foot-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* kit pages /kits/<slug>/ (Builder C) */
.kit-card h3 a { text-decoration: none; }
.kit-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.kit-acts { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; margin-top: auto; }
.kit-acts .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-sm); }
.kit-hero { padding-block: var(--s8) var(--s6); }
.kit-hero .eyebrow a { text-decoration: none; }
.kit-hero h1 { font-size: var(--t-3xl); max-width: 20ch; }
.kit-hero .lead { margin-bottom: var(--s5); max-width: 40rem; }
.kit-note { max-width: 40rem; font-size: var(--t-sm); border-left: 3px solid var(--red); padding-left: var(--s4); margin: 0 0 var(--s5); }
.kit-tiles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s4); }
.kit-tiles li { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: var(--s4) var(--s5);
  min-width: 0; flex: 0 1 auto; display: flex; flex-direction: column; justify-content: center; }
.kit-tiles .tile-num { font: 700 2.4rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kit-tiles .tile-num small { font-size: .55em; color: var(--grey-ink); }
.kit-tiles .tile-label { font-size: var(--t-sm); color: var(--grey-ink); margin-top: var(--s2); }
.kit-tiles .miss { box-shadow: inset 0 -4px 0 var(--red); }
.kit-tiles .tile-text { background: var(--card); color: var(--ink); border: 1px solid var(--line); max-width: 21rem; }
.kit-tiles .tile-text .tile-label { color: var(--ink); margin: 0; }
@media (max-width: 40rem) { .kit-tiles li { flex: 1 1 8.5rem; } .kit-tiles .tile-num { font-size: 2rem; } }
.kit-limit-top { font-size: var(--t-sm); margin: var(--s5) 0 0; max-width: 46rem; }
.kit-media { display: grid; gap: var(--s6); align-items: start; padding-bottom: var(--s8); }
.kit-media h2 { font-size: var(--t-xl); margin: 0 0 var(--s4); }
.kit-media p { max-width: 44rem; margin: 0; }
/* video = ink card with a paper caption strip; the poster is the site-only ink poster (made by the icon script, --posters) */
.kit-video { margin: 0; max-width: 22rem; background: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.kv-strip { display: flex; justify-content: space-between; gap: var(--s3); margin: 0; padding: var(--s2) var(--s3); background: var(--card);
  font: 500 var(--t-xs)/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.kv-strip span + span { color: #3A3A3F; text-align: right; }
.kv-frame { padding: var(--s3) var(--s3) 0; background: var(--ink); }
.kit-video video { display: block; width: auto; height: auto; max-width: 100%; max-height: 70vh; margin-inline: auto;
  border-radius: 6px; background: var(--ink); object-fit: contain; }
.kit-video figcaption { font-size: var(--t-xs); color: var(--grey-ink); padding: var(--s2) var(--s3) var(--s3); }
@media (max-width: 40rem) { .kit-video video { max-height: 56vh; } }
/* slides = framed exhibits: paper card, ink border, small mono caption with the slide number (the pinned images stay as they are) */
.kit-slides { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.kit-slides .slide { margin: 0; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: var(--s2) var(--s2) 0;
  transition: transform .2s ease, box-shadow .2s ease; }
.kit-slides a { display: block; border-radius: 6px; }
.kit-slides img { display: block; width: 100%; height: auto; max-width: 100%; border-radius: 6px; background: var(--paper-2); }
/* the slide number comes from the file name via data-n (a label, not a claim), so the kit-page number trace stays clean */
.kit-slides .slide::after { content: "Slide " attr(data-n); display: block; font: 500 var(--t-xs)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--grey-paper);
  padding: var(--s3) var(--s1); }
.kit-slides .slide:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(14, 14, 16, .12); }
@media (max-width: 47.99rem) {
  .kit-video { max-width: none; }
  .kit-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s3); padding-bottom: var(--s3);
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .kit-slides li { flex: 0 0 82%; scroll-snap-align: start; }
}
/* slide rows on a 6-track grid: 5 = 3 + 2, 6 = 3 + 3, 7 = 3 + 2 + 2, so no row holds a lone tile */
@media (min-width: 48rem) {
  .kit-slides { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s5); }
  .kit-slides li { grid-column: span 3; }
  .kit-slides.n5 li:nth-child(-n+3), .kit-slides.n7 li:nth-child(-n+3), .kit-slides.n6 li, .kit-slides.n3 li { grid-column: span 2; }
}
/* desktop: the video sticks in the left column while the problem, what we broke and the slides scroll past on the right */
@media (min-width: 64rem) {
  .kit-media { grid-template-columns: 21rem minmax(0, 1fr); gap: var(--s6) var(--s8); }
  .kit-media > * { grid-column: 2; }
  .kit-media > .kit-video { grid-column: 1; grid-row: 1 / span 3; position: sticky; top: var(--s6); align-self: start; max-width: none; }
  .kit-media .kit-video video { max-height: calc(100vh - 9rem); }
}
.kit-offer { display: grid; gap: var(--s4); padding-bottom: var(--s7); }
.offer-col { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: var(--radius); padding: var(--s5); }
.offer-col h2 { font-size: var(--t-md); letter-spacing: -.01em; margin: 0 0 var(--s3); }
.offer-col .kit-list { font-size: var(--t-sm); }
.offer-terms { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.offer-terms p { font-size: var(--t-sm); color: var(--grey-ink); margin: 0 0 var(--s3); }
.offer-terms .offer-price { font: 600 var(--t-md)/1.35 var(--display); color: var(--paper); letter-spacing: -.01em; }
.offer-terms .btn-primary { background: var(--paper); color: var(--ink); margin-top: var(--s2); min-height: 48px; }
.offer-terms :focus-visible { outline-color: var(--paper); }
.kit-email { overflow-wrap: anywhere; }
.offer-terms .kit-email { margin: var(--s3) 0 0; }
@media (min-width: 60rem) { .kit-offer { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kit-body { display: grid; gap: var(--s7); padding-bottom: var(--s8); }
.kit-body h2 { font-size: var(--t-xl); margin: 0 0 var(--s4); }
.kit-body p, .kit-list { max-width: 44rem; margin: 0; }
.kit-list { padding-left: 1.2rem; }
.kit-list li + li { margin-top: var(--s3); }
@media (min-width: 60rem) { .kit-body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7) var(--s8); } }
.kit-cta { padding-block: var(--s8); }
.kit-cta h2 { font-size: var(--t-2xl); }
.kit-cta2 { margin: var(--s4) 0 0; }
.kit-pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); padding-block: var(--s6); }
.kit-pager a { display: flex; flex-direction: column; min-height: 44px; font-weight: 600; text-decoration: none; }
.kit-pager a[rel="next"] { text-align: right; margin-left: auto; }
.kit-pager span { font: 500 var(--t-xs)/1.4 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--grey-paper); }
.kit-pager a:hover { text-decoration: underline; text-decoration-color: var(--red); }

/* skip link: off screen until focused */
.skip { position: absolute; left: var(--s4); top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: var(--s3) var(--s4);
  border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--s4); outline: 3px solid var(--paper); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .slide, .kit-slides .slide:hover { transition: none; transform: none; } }

/* fix round 3: split bands (copy left, card right) for the closing CTA band, kit CTA band and the checklist/how heroes */
.split { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s8); } }
.side-card { width: 100%; max-width: 28rem; justify-self: end; background: var(--ink-2); border: 1px solid var(--ink-line); box-shadow: none; }
@media (max-width: 59.99rem) { .side-card { justify-self: start; } }
.sheet-thumb { justify-self: center; display: block; width: min(100%, 17rem); text-decoration: none; color: var(--grey-ink); }
.sheet-thumb img { display: block; width: 100%; height: auto; border-radius: 6px; background: var(--paper);
  box-shadow: 0 0 0 1px var(--ink-line), 0 24px 48px -24px rgba(0, 0, 0, .7); transform: rotate(1.5deg); transition: transform .2s ease; }
.sheet-thumb:hover img { transform: rotate(0); }
.sheet-thumb span { display: block; margin-top: var(--s4); text-align: center; font: 500 var(--t-xs)/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 59.99rem) { .sheet-thumb { width: min(100%, 12rem); justify-self: start; } }
.ct-lab-still { margin: 0; background: var(--paper); color: var(--ink); }
.ct-lab-still img { display: block; width: 100%; height: auto; }
.trust-list { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s4); }
@media (min-width: 48rem) { .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust-list li { position: relative; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: var(--radius);
  padding: var(--s5) var(--s5) var(--s5) calc(var(--s5) + 1.4rem); }
.ct-tk-dot { position: absolute; left: var(--s5); top: calc(var(--s5) + .45rem); width: .7rem; height: .7rem; border-radius: 3px; background: var(--green-paper); }
.kit-scope { font-size: var(--t-sm); color: #3A3A3F; }
.kit-hero .kit-scope { margin: var(--s3) 0 0; max-width: 46rem; font-weight: 500; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .sheet-thumb img { transition: none; transform: none; } }
.kit-card .kit-scope { color: var(--ink); padding-top: var(--s3); border-top: 1px dashed var(--line); }
