/* panelhop — site styles
   Brand: Charcoal #111318 · Off White #F5F4EF · Lime #B7FF00
   Type: Figtree (brand + UI), Newsreader (exhibit titles, quotes), JetBrains Mono (labels, data) */

:root {
  color-scheme: light;
  --ink: #111318;
  --ink-2: #1B1E24;
  --ink-3: #272B33;
  --ink-line: #33373F;
  --paper: #F5F4EF;
  --paper-2: #ECEBE4;
  --paper-3: #E2E1D8;
  --white: #FFFFFF;
  --line: #D6D5CC;
  --line-strong: #B9B8AE;
  --text: #111318;
  --text-2: #3D4047;
  --muted: #676A70;
  --on-ink: #F5F4EF;
  --on-ink-2: #B4B6B1;
  --on-ink-3: #82857F;
  --lime: #B7FF00;
  --lime-2: #9BE000;
  --lime-deep: #4C7300;
  --lime-tint: #E6FBC6;
  --lime-wash: #F0FCDD;
  --warn: #C2410C;
  --warn-tint: #FBE7DC;

  --f-brand: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --radius: 14px;
  --radius-sm: 8px;

  /* type scale (1.25) */
  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --t-xl: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem);
  --t-2xl: clamp(2.4rem, 1.7rem + 3vw, 4.25rem);
  --t-3xl: clamp(2.8rem, 1.8rem + 4.4vw, 5.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-brand);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; border-radius: 4px; }
.ink :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: var(--t-3xl); letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: var(--t-2xl); letter-spacing: -0.032em; }
h3 { font-size: var(--t-lg); letter-spacing: -0.02em; line-height: 1.15; }
h4 { font-size: var(--t-md); letter-spacing: -0.01em; line-height: 1.25; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: var(--t-md); line-height: 1.55; color: var(--text-2); max-width: 62ch; }
.ink .lede { color: var(--on-ink-2); }
.hl { color: var(--lime-deep); }
.ink .hl { color: var(--lime); }
.mark { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); padding-inline: 0.06em; }
.eyebrow { font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ink .eyebrow { color: var(--on-ink-3); }
.eyebrow .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 1px rgba(17,19,24,.25); }
.ink .eyebrow .dot { box-shadow: none; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--f-mono); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; text-decoration: none; }
.logo img { height: 36px; width: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #C6FF33; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-3); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.ink .btn-ghost { border-color: #4A4E57; }
.btn-ghost:hover { border-color: var(--lime-deep); }
.ink .btn-ghost:hover { border-color: var(--lime); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--lime-deep); }
.ink .link-arrow:hover { color: var(--lime); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(17,19,24,.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); color: var(--on-ink); border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--on-ink-2); padding: 8px 14px; border-radius: 999px; }
.nav a:hover { color: var(--on-ink); background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: var(--on-ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--lime); border-radius: 2px; }
.nav-item { position: relative; }
.has-menu > a { display: inline-flex; align-items: center; gap: 7px; }
.has-menu > a::before { content: ""; order: 2; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.nav-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; margin-top: 4px; background: var(--ink); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.35); flex-direction: column; gap: 2px; z-index: 60; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.has-menu:hover .nav-menu, .has-menu:focus-within .nav-menu { display: flex; }
.nav-menu a { display: flex; flex-direction: column; gap: 2px; border-radius: 10px; white-space: nowrap; padding: 9px 14px; }
.nav-menu .nm { color: var(--on-ink); font-weight: 600; }
.nav-menu .ds { font-size: 0.8rem; font-weight: 400; color: var(--on-ink-3); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: transparent; border: 1.5px solid #3A3E47; color: var(--on-ink); border-radius: 999px; min-height: 42px; padding: 0 16px; font-weight: 600; cursor: pointer; }
@media (max-width: 920px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--ink-line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--ink-line); font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .has-menu > a::before { display: none; }
  .nav-item { display: flex; flex-direction: column; }
  .nav-menu { display: flex; position: static; min-width: 0; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .nav-menu::before { display: none; }
  .nav-menu a { padding-left: 20px; font-size: 0.98rem; border-radius: 0; }
  .menu-btn { display: inline-flex; align-items: center; }
  .header-cta .btn { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.ink { background: var(--ink); color: var(--on-ink); }
.paper-2 { background: var(--paper-2); }
.lime-bg { background: var(--lime); color: var(--ink); }
.rule-top { border-top: 1px solid var(--line); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 900px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lede { max-width: 64ch; }

/* Chapter layout: left rail marks the argument's order */
.chapter { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.chapter-rail { position: relative; }
.chapter-rail .rail-inner { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 10px; }
.chapter-no { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.chapter-no b { font-weight: 600; color: var(--text); }
.ink .chapter-no b { color: var(--lime); }
.chapter-no::before { content: ""; width: 22px; height: 2px; background: var(--lime-2); }
.chapter-title { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--text); }
.ink .chapter-title { color: var(--on-ink); }
.chapter-body { min-width: 0; display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); }
@media (max-width: 900px) {
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .chapter-rail .rail-inner { position: static; flex-direction: row; align-items: center; gap: 14px; }
}

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split-even { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-3, .grid-2, .split, .split-even { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 96px) clamp(56px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 .hl { color: var(--lime); }
.hero .lede { margin-top: 26px; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); }
.hero .row { margin-top: 36px; }
.hero-meta { margin-top: 44px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 36px; }
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta dt { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-3); }
.hero-meta dd { margin: 0; font-weight: 700; color: var(--on-ink); }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-visual { max-width: 640px; } }
@media (max-width: 560px) { .hero-meta { grid-template-columns: 1fr 1fr; } }

.page-hero { padding-block: clamp(56px, 7vw, 104px) clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: var(--t-2xl); max-width: 16ch; }
.page-hero .lede { margin-top: 22px; }
.page-hero .frog { position: absolute; right: max(var(--gutter), calc(50% - 620px)); bottom: 0; width: 180px; opacity: 1; }
@media (max-width: 900px) { .page-hero .frog { display: none; } }
.page-hero .hero-art { position: absolute; right: max(var(--gutter), calc(50% - 620px)); top: 50%; transform: translateY(-50%); width: min(430px, 33vw); margin: 0; }
.page-hero .hero-art svg { width: 100%; height: auto; overflow: visible; }
.hero-rings .ring { fill: none; stroke: #353943; stroke-width: 1.5; }
.hero-rings .ring.r3 { stroke-dasharray: 2 6; stroke-linecap: round; }
.hero-rings .ring.r1 { stroke: var(--lime); stroke-opacity: .55; }
.hero-rings .acct { fill: #4A4E57; }
.hero-rings .a2 { fill: var(--on-ink-3); }
.hero-rings .a1 { fill: var(--on-ink); }
.hero-rings .core { fill: var(--lime); }
.hero-rings .ring-tag { fill: var(--ink); stroke: #353943; }
.hero-rings .ring-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; fill: var(--on-ink-2); }
@media (prefers-reduced-motion: no-preference) { .hero-rings .ring, .hero-rings .acct { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; } .hero-rings .r2, .hero-rings .a2 { animation-delay: .15s; } .hero-rings .r1, .hero-rings .a1 { animation-delay: .3s; } }
.hero-services .svc-tile .bg { fill: #1D2027; stroke: #353943; }
.hero-services .svc-tile.first .bg { stroke: var(--lime); stroke-opacity: .7; }
.hero-services .no { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; fill: var(--on-ink-3); }
.hero-services .name { font-family: var(--f-brand); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; fill: var(--on-ink); }
.hero-services .ico { fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-services .start { fill: var(--lime); }
.hero-services .start-t { font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; fill: var(--ink); }
.hero-services .hub { fill: var(--ink); }
.hero-services .loop { fill: none; stroke: var(--lime); stroke-width: 2; stroke-dasharray: 0.1 6; stroke-linecap: round; }
.hero-services .loop-head { fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) { .hero-services .svc-tile { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; } .hero-services .loop { animation: spin 14s linear infinite; transform-origin: 230px 160px; } }
@keyframes spin { to { transform: rotate(360deg); } }
/* narrower screens: the visual moves under the text instead of disappearing, like the homepage hero,
   aligned with the text and sized per motif so all three read at the same weight */
@media (max-width: 1200px) { .page-hero .hero-art { position: static; transform: none; width: auto; max-width: 440px; margin: clamp(36px, 8vw, 56px) var(--gutter) 0; } .page-hero .hero-rings { max-width: 300px; } .page-hero .blog-art { max-width: 380px; } }

/* hop path in hero */
.hop-path .arc { fill: none; stroke: var(--lime); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 0.1 6.5; }
.hop-path .node { fill: var(--ink); stroke: var(--on-ink); stroke-width: 2; }
.hop-path .node.end { fill: var(--lime); stroke: var(--lime); }
.hop-path .lbl { font-family: var(--f-brand); font-weight: 700; font-size: 15px; fill: var(--on-ink); }
.hop-path .sub { font-family: var(--f-mono); font-size: 10.5px; fill: var(--on-ink-3); letter-spacing: .06em; }
.hop-card rect.bg { fill: #1D2027; stroke: #353943; }
.hop-card text { font-family: var(--f-brand); }
.hop-card .t1 { font-size: 11px; fill: var(--on-ink-3); font-family: var(--f-mono); letter-spacing: .05em; }
.hop-card .t2 { font-size: 13.5px; font-weight: 700; fill: var(--on-ink); }
.hop-card .t3 { font-size: 12px; fill: var(--on-ink-2); }
.hop-card .pill { fill: var(--lime); }
.hop-card .pill-t { font-size: 11px; font-weight: 800; fill: var(--ink); font-family: var(--f-mono); }
@media (prefers-reduced-motion: no-preference) {
  .hop-path .arc { animation: dash 1.1s ease-out both; }
  .hop-path .arc:nth-of-type(2) { animation-delay: .25s; }
  .hop-path .arc:nth-of-type(3) { animation-delay: .5s; }
  .hop-path .arc:nth-of-type(4) { animation-delay: .75s; }
  .hop-card { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hop-card.c2 { animation-delay: .5s; }
  .hop-card.c3 { animation-delay: 1s; }
  .pulse { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
}
@keyframes dash { from { stroke-dashoffset: 120; opacity: .2; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes rise { from { transform: translateY(10px); opacity: .35; } to { transform: none; opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.7); opacity: 0; } }

/* stack strip */
.stack-strip { border-top: 1px solid var(--ink-line); padding-block: 22px; }
.stack-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.stack-strip .eyebrow { margin-right: 8px; }
.stack-strip .eyebrow { flex: none; }
/* tool logos drift left to right; two identical groups make the loop seamless */
.marquee { flex: 1 1 360px; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.tool-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--on-ink-2); font-size: 1.02rem; letter-spacing: -0.01em; white-space: nowrap; }
.tool-logo svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- Exhibits (consulting-style figures) ---------- */
.exhibit { margin: 0; border-top: 2px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ink .exhibit { border-top-color: var(--on-ink); }
.exhibit-head { display: flex; flex-direction: column; gap: 6px; }
.exhibit-no { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ink .exhibit-no { color: var(--on-ink-3); }
.tag { display: inline-flex; align-items: center; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--paper-3); color: var(--text-2); }
.tag-lime { background: var(--lime-tint); color: var(--lime-deep); }
.ink .tag { background: var(--ink-3); color: var(--on-ink-2); }
.exhibit-title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.22; letter-spacing: -0.01em; max-width: 44ch; text-wrap: balance; }
.exhibit-body { overflow-x: auto; }
.exhibit-body svg { width: 100%; height: auto; overflow: visible; }
.exhibit-foot { border-top: 1px solid var(--line); padding-top: 10px; font-size: 0.8rem; line-height: 1.5; color: var(--muted); display: flex; flex-direction: column; gap: 3px; }
.ink .exhibit-foot { border-top-color: var(--ink-line); color: var(--on-ink-3); }
.exhibit-foot b { font-weight: 600; color: var(--text-2); }
.ink .exhibit-foot b { color: var(--on-ink-2); }
.exhibit-foot a { text-underline-offset: 2px; }

/* chart text + marks (SVG) */
.ch text { font-family: var(--f-brand); fill: var(--text-2); font-size: 12px; }
.ch .axis { stroke: var(--line-strong); stroke-width: 1; }
.ch .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.ch .lab { font-size: 12.5px; fill: var(--text); font-weight: 600; }
.ch .lab-sm { font-size: 11px; fill: var(--muted); font-family: var(--f-mono); letter-spacing: .03em; }
.ch .val { font-size: 13px; font-weight: 800; fill: var(--text); font-variant-numeric: tabular-nums; }
.ch .val-in { font-size: 12.5px; font-weight: 800; fill: var(--ink); font-variant-numeric: tabular-nums; }
.ch .val-inv { font-size: 12.5px; font-weight: 800; fill: var(--paper); font-variant-numeric: tabular-nums; }
.ch .big { font-size: 30px; font-weight: 800; fill: var(--text); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ch .ann { font-family: var(--f-serif); font-style: italic; font-size: 13.5px; fill: var(--text-2); }
.ch .f-ink { fill: var(--ink); }
.ch .f-lime { fill: var(--lime); }
.ch .f-lime2 { fill: var(--lime-2); }
.ch .f-tint { fill: var(--lime-tint); }
.ch .f-grey { fill: var(--paper-3); }
.ch .f-grey2 { fill: var(--line-strong); }
.ch .f-paper { fill: var(--paper); }
.ch .f-white { fill: var(--white); }
.ch .f-warn { fill: var(--warn); }
.ch .f-warn-t { fill: var(--warn-tint); }
.ch .s-ink { stroke: var(--ink); }
.ch .s-lime { stroke: var(--lime-2); }
.ch .s-warn { stroke: var(--warn); }
.ch .s-muted { stroke: var(--line-strong); }
.ch .none { fill: none; }
.ink .ch text { fill: var(--on-ink-2); }
.ink .ch .lab, .ink .ch .val, .ink .ch .big { fill: var(--on-ink); }
.ink .ch .axis { stroke: #454952; }
.ink .ch .grid { stroke: #2E323A; }
.ink .ch .f-grey { fill: var(--ink-3); }
.ink .ch .lab-sm { fill: var(--on-ink-3); }
.ink .ch .ann { fill: var(--on-ink-2); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 24px 24px 0; display: flex; flex-direction: column; gap: 10px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat .n { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .n small { font-size: 0.5em; letter-spacing: -0.02em; margin-left: 2px; }
.stat p { font-size: 0.95rem; line-height: 1.45; color: var(--text-2); }
.stat .src { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: .04em; color: var(--muted); margin-top: auto; }
.ink .stats, .ink .stat + .stat { border-color: var(--ink-line); }
.ink .stat p { color: var(--on-ink-2); }
.ink .stat .src { color: var(--on-ink-3); }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .stats { grid-template-columns: minmax(0, 1fr); } .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Cards / panels ---------- */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 32px); }
.panel-ink { background: var(--ink); color: var(--on-ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.ink .panel { background: var(--ink-2); border-color: var(--ink-line); color: var(--on-ink); }
.card-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.card-list > * { border-bottom: 1px solid var(--line); padding-block: 22px; }

.kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 20px; font-size: 0.95rem; }
.kv dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.kv dd { margin: 0; }
@media (max-width: 520px) { .kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .kv dd { margin-bottom: 10px; } }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.checklist li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%23111318' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.checklist.cross li::before { background: var(--paper-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%23676A70' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.ink .checklist.cross li::before { background-color: var(--ink-3); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.ink .table-wrap { border-top-color: var(--on-ink); }
table.t { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 640px; }
.t th, .t td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.t th { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.t td:first-child { font-weight: 700; }
.t .dim { color: var(--muted); }
.ink .t th, .ink .t td { border-bottom-color: var(--ink-line); }
.ink .t th { color: var(--on-ink-3); }
.t td.c, .t th.c { text-align: center; padding-right: 0; }

/* before / after */
.ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.ba > div { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.ba .before { background: var(--paper-2); }
.ba .after { background: var(--ink); color: var(--on-ink); }
.ba dl { margin: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 0; }
.ba dt, .ba dd { margin: 0; padding-block: 12px; border-top: 1px solid var(--line); }
.ba .after dt, .ba .after dd { border-top-color: var(--ink-line); }
.ba dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 15px; }
.ba .after dt { color: var(--lime); }
.ba h3 { font-size: var(--t-md); }
@media (max-width: 800px) { .ba { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Interactive: tabs / stages ---------- */
.stage-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.stage-tab { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--text-2); }
.stage-tab .n { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.stage-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.stage-tab[aria-selected="true"] .n { color: var(--lime); }
.stage-tab:hover:not([aria-selected="true"]) { border-color: var(--ink); color: var(--ink); }
.ink .stage-tab { border-color: #3A3E47; color: var(--on-ink-2); }
.ink .stage-tab[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.ink .stage-tab[aria-selected="true"] .n { color: var(--ink); }
.stage-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(18px, 3vw, 36px); padding-top: 28px; }
.stage-panel h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.ink .stage-panel h4 { color: var(--on-ink-3); }
.stage-panel ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.stage-panel li { padding-left: 18px; position: relative; line-height: 1.5; font-size: .96rem; }
.stage-panel li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-2); }
.stage-panel .moves { background: var(--lime-tint); border-radius: var(--radius-sm); padding: 18px; }
.ink .stage-panel .moves { background: var(--ink-2); border: 1px solid var(--ink-line); }
.stage-panel .moves li::before { background: var(--ink); border-radius: 1px; }
.ink .stage-panel .moves li::before { background: var(--lime); }
@media (max-width: 900px) { .stage-panel { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Forms / tools ---------- */
.tool { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.tool-in { padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 22px; border-right: 1px solid var(--line); }
.tool-out { padding: clamp(20px, 3vw, 34px); background: var(--ink); color: var(--on-ink); display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .tool { grid-template-columns: minmax(0, 1fr); } .tool-in { border-right: 0; border-bottom: 1px solid var(--line); } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.field output, .field .out { font-family: var(--f-mono); font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; }
.field .hint { font-size: .82rem; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--paper-3) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--paper-3); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); margin-top: -8px; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }
.input, select.input, textarea.input { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: var(--white); font-size: 1rem; }
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime-tint); }
.out-big { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.out-big .unit { font-size: .45em; letter-spacing: 0; color: var(--on-ink-2); font-weight: 600; margin-left: 6px; }
.out-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; border-top: 1px solid var(--ink-line); padding-top: 18px; }
.out-grid dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); }
.out-grid dd { margin: 4px 0 0; font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.formula { font-family: var(--f-mono); font-size: .78rem; color: var(--on-ink-3); line-height: 1.6; border-top: 1px solid var(--ink-line); padding-top: 14px; }
.motion-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--lime); color: var(--ink); font-weight: 800; border-radius: 999px; padding: 6px 14px 6px 8px; align-self: flex-start; }
.motion-badge .b { background: var(--ink); color: var(--lime); font-family: var(--f-mono); font-size: .78rem; border-radius: 999px; padding: 3px 9px; }
.motion-badge.off { background: var(--warn-tint); color: var(--warn); }
.motion-badge.off .b { background: var(--warn); color: var(--white); }

/* self-check */
.checks { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.check { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: var(--white); margin: 1px 0 0; cursor: pointer; display: grid; place-items: center; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid var(--lime); border-bottom: 2.5px solid var(--lime); transform: rotate(-45deg) translate(1px, -1px); }
.check b { display: block; font-weight: 700; }
.check span { color: var(--text-2); font-size: .94rem; }
.meter { display: flex; gap: 6px; }
.meter i { flex: 1; height: 8px; border-radius: 4px; background: var(--ink-3); transition: background-color .2s; }
.meter i.on { background: var(--lime); }

/* process / gantt */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.step { padding: 22px 22px 26px 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line); }
.step .k { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.step .k i { width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--ink); font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: .8rem; letter-spacing: 0; }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--text-2); font-size: .96rem; }
.step .dur { margin-top: auto; font-family: var(--f-mono); font-size: .76rem; color: var(--text); background: var(--paper-2); border-radius: 6px; padding: 6px 10px; align-self: flex-start; }
.step img { height: 76px; width: auto; max-width: 140px; object-fit: contain; object-position: left bottom; margin-bottom: 4px; }
.ink .steps { border-top-color: var(--on-ink); }
.ink .step + .step { border-left-color: var(--ink-line); }
.ink .step p { color: var(--on-ink-2); }
.ink .step .dur { background: var(--ink-3); color: var(--on-ink); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step:nth-child(3) { padding-left: 0; border-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* offer cards */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.offer { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; }
.offer.feature { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.offer .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.offer h3 { font-size: 1.6rem; }
.offer p { color: var(--text-2); }
.offer.feature p { color: var(--on-ink-2); }
.offer .kv { border-top: 1px solid var(--line); padding-top: 16px; font-size: .92rem; }
.offer.feature .kv { border-top-color: var(--ink-line); }
.offer.feature .kv dt { color: var(--on-ink-3); }
.offer .foot { margin-top: auto; padding-top: 6px; }
.offer img { width: 92px; height: auto; flex: none; }
@media (max-width: 900px) { .offers { grid-template-columns: minmax(0, 1fr); } }

/* quote */
.quote { font-family: var(--f-serif); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.25; letter-spacing: -0.01em; max-width: 30ch; }
.quote-by { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.1rem; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--paper-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M13 8v10M8 13h10' stroke='%23111318' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; transition: transform .2s ease, background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq .a { padding: 0 0 24px; color: var(--text-2); max-width: 70ch; display: flex; flex-direction: column; gap: 12px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 40px; align-items: end; }
.cta-band h2 { font-size: var(--t-2xl); }
.cta-band .frog { width: 220px; justify-self: end; }
/* the frogs are lime as well, so on a lime band their body disappears; set them on a paper disc there.
   The padding (just over 0.207 of the width) keeps the whole square image inside the circle, so nothing is clipped. */
/* The disc is painted, not clipped: border-radius on an <img> also trims the image to a circle inside the padding,
   which cut the corners off near-square frogs (the scout). The square image fits inside the painted disc. */
.lime-bg .frog { box-sizing: content-box; aspect-ratio: 1; height: auto; object-fit: contain; padding: 46px; background: radial-gradient(circle closest-side, var(--paper) calc(100% - 1px), transparent 100%); }
@media (max-width: 800px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } .cta-band .frog { justify-self: start; width: 150px; max-width: 150px; } .lime-bg .frog { padding: 32px; } }

/* frog on ink needs a light disc so the black outline reads */
.frog-disc { background: var(--paper); border-radius: 50%; display: grid; place-items: center; aspect-ratio: 1; }

/* footer */
.site-footer { background: var(--ink); color: var(--on-ink-2); padding-block: 64px 36px; font-size: .94rem; border-top: 1px solid var(--ink-line); }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.site-footer h4 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-3); font-weight: 500; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer .bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: var(--on-ink-3); }
.site-footer .logo img { height: 44px; }
@media (max-width: 800px) { .site-footer .top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .site-footer .top > :first-child { grid-column: 1 / -1; } }

/* on-page index (method page) */
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { text-decoration: none; font-size: .9rem; font-weight: 600; border: 1.5px solid #3A3E47; color: var(--on-ink-2); border-radius: 999px; padding: 7px 14px; }
.toc a:hover { border-color: var(--lime); color: var(--on-ink); }

/* misc */
.note { font-size: .86rem; color: var(--muted); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: .85rem; font-weight: 600; border-radius: 999px; padding: 6px 12px; background: var(--paper-2); border: 1px solid var(--line); }
.ink .pill { background: var(--ink-2); border-color: var(--ink-line); color: var(--on-ink-2); }
.callout { border-left: 3px solid var(--lime-2); padding: 4px 0 4px 18px; color: var(--text-2); }
.ink .callout { color: var(--on-ink-2); }
.max-60 { max-width: 60ch; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 44px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.stage-q { font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; margin-bottom: 14px; color: var(--text-2); }
.ink .stage-q { color: var(--on-ink-2); }

/* signal legend */
.legend-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; font-size: .9rem; }
.legend-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
.legend-list i { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--lime); font-style: normal; font-weight: 800; font-size: .72rem; display: grid; place-items: center; }
.legend-list div { line-height: 1.4; }
.legend-list span { display: block; margin-top: 2px; color: var(--muted); font-family: var(--f-mono); font-size: .72rem; }
@media (max-width: 640px) { .legend-list { grid-template-columns: minmax(0, 1fr); } }

/* harvey balls */
.hb { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }
.t td.c .hb { margin-inline: auto; display: block; }

/* account brief mock */
.brief { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgba(17,19,24,.04), 0 18px 40px -24px rgba(17,19,24,.35); }
.brief-top { background: var(--ink); color: var(--on-ink); padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.brief-top h4 { font-size: 1.15rem; }
.brief-top .meta { font-family: var(--f-mono); font-size: .72rem; color: var(--on-ink-3); letter-spacing: .05em; }
.score-ring { display: flex; align-items: center; gap: 10px; }
.score-ring b { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; color: var(--lime); font-variant-numeric: tabular-nums; }
.brief-body { padding: 20px 22px; display: grid; gap: 18px; }
.brief-sec h5 { margin: 0 0 8px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.sig-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.sig-row .d { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.sig-row .p { font-family: var(--f-mono); font-size: .76rem; font-weight: 600; background: var(--lime-tint); color: var(--lime-deep); border-radius: 999px; padding: 2px 8px; }
.roles { display: flex; flex-wrap: wrap; gap: 6px; }
.role { font-size: .8rem; font-weight: 600; border-radius: 999px; padding: 4px 10px; border: 1.5px dashed var(--line-strong); color: var(--muted); }
.role.ok { border-style: solid; border-color: var(--ink); background: var(--ink); color: var(--paper); }
.role.eng { border-style: solid; border-color: var(--lime-2); background: var(--lime-tint); color: var(--ink); }
.brief-foot { background: var(--paper-2); padding: 14px 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: var(--text-2); }

/* week plan */
.weeks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.week { padding: 20px 22px 22px 0; display: flex; flex-direction: column; gap: 10px; }
.week + .week { padding-left: 22px; border-left: 1px solid var(--line); }
.week .k { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-deep); font-weight: 600; }
.week ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--text-2); font-size: .95rem; }
@media (max-width: 800px) { .weeks { grid-template-columns: minmax(0, 1fr); } .week + .week { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* areas grid (audit checks) */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.area { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.area .n { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); letter-spacing: .1em; }
.area h4 { font-size: 1.05rem; }
.area ul { margin: 0; padding-left: 16px; font-size: .88rem; color: var(--text-2); display: flex; flex-direction: column; gap: 5px; }
@media (max-width: 1000px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .areas { grid-template-columns: minmax(0, 1fr); } }

/* package cards */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); align-items: stretch; }
.pkg { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.pkg.feature { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.pkg h3 { font-size: 1.5rem; }
.pkg .price { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.pkg.feature .price { color: var(--on-ink-3); border-top-color: var(--ink-line); }
.pkg p { color: var(--text-2); font-size: .96rem; }
.pkg.feature p { color: var(--on-ink-2); }
@media (max-width: 900px) { .packages { grid-template-columns: minmax(0, 1fr); } }

/* cadence */
.cadence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cad { border-radius: var(--radius-sm); padding: 18px; background: var(--ink-2); border: 1px solid var(--ink-line); display: flex; flex-direction: column; gap: 8px; }
.cad .k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.cad p { font-size: .92rem; color: var(--on-ink-2); }
@media (max-width: 900px) { .cadence { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cadence { grid-template-columns: minmax(0, 1fr); } }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: .88rem; color: var(--text-2); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.form-status { border-radius: var(--radius-sm); padding: 14px 16px; background: var(--lime-tint); font-size: .92rem; }

@media (max-width: 700px) { .exhibit-body svg.ch { min-width: var(--minw, 560px); } }
.footnotes { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.sources { list-style: none; margin: 0; padding: 0; counter-reset: src; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.sources li { counter-increment: src; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--text-2); }
.sources li::before { content: counter(src, decimal-leading-zero); font-family: var(--f-mono); font-size: .75rem; color: var(--muted); padding-top: 2px; }
.sources a { color: var(--text); font-weight: 600; text-underline-offset: 2px; }
.sources a:hover { color: var(--lime-deep); }

@media (max-width: 480px) { .out-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* blog: post pages and the blog index */
/* ---------- blog: post page ---------- */
.read-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }
.article-hero { padding-block: clamp(56px, 7vw, 104px) clamp(56px, 7vw, 96px); }
.article-hero.has-cover { padding-bottom: clamp(120px, 14vw, 200px); }
.article-hero .wrap { max-width: calc(1120px + 2 * var(--gutter)); position: relative; z-index: 1; }
.article-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4.1rem); max-width: 19ch; margin-top: 18px; }
.article-hero .eyebrow a { color: inherit; text-decoration: none; }
.article-hero .eyebrow a:hover { color: var(--lime); }
.article-dek { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem); line-height: 1.4; color: var(--on-ink-2); max-width: 44ch; margin-top: 22px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 34px; font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-3); }
.article-meta .who { display: flex; flex-direction: column; font-family: var(--f-brand); font-size: var(--t-sm); font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--on-ink); line-height: 1.3; }
.article-meta .who small { font-weight: 500; font-size: var(--t-xs); color: var(--on-ink-3); }
.article-meta > span:not(.who):not(.avatar) { padding-left: 22px; border-left: 1px solid #353943; }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--lime); color: var(--ink); font-family: var(--f-brand); font-weight: 800; font-size: 15px; letter-spacing: -0.01em; text-transform: none; display: grid; place-items: center; }
.avatar-lg { width: 64px; height: 64px; font-size: 22px; }
/* posts are answers to buyers' questions: a large serif question mark, the blog's own mark */
.article-hero::after { content: "?"; position: absolute; right: max(var(--gutter), calc(50% - 600px)); top: 50%; transform: translateY(-54%); font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(240px, 24vw, 400px); line-height: 1; color: var(--lime); opacity: .16; pointer-events: none; }
.article-hero.has-cover::after { top: 40%; }
@media (max-width: 1000px) { .article-hero::after { top: auto; bottom: -0.12em; right: 12px; transform: none; font-size: clamp(170px, 42vw, 260px); opacity: .13; } .article-hero .wrap { position: relative; } }
@media (max-width: 600px) { .article-meta > span:not(.who):not(.avatar) { padding-left: 0; border-left: 0; } }
.article-cover-wrap { max-width: calc(1120px + 2 * var(--gutter)); margin-top: calc(-1 * clamp(84px, 11vw, 160px)); position: relative; z-index: 2; }
.article-cover { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.article-cover img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); box-shadow: 0 30px 60px -36px rgba(17, 19, 24, .55); }
.article-cover figcaption, .figure figcaption { font-size: var(--t-sm); color: var(--muted); }
.figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.figure img { width: 100%; height: auto; border-radius: var(--radius); background: var(--paper-2); }

.article-layout { max-width: calc(1120px + 2 * var(--gutter)); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); padding-block: clamp(44px, 6vw, 80px) clamp(64px, 8vw, 112px); }
.article-rail .rail-sticky { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 14px; }
.toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.toc-list li { counter-increment: toc; }
.toc-list a { display: grid; grid-template-columns: 26px minmax(0, 1fr); padding: 7px 0 7px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: var(--t-sm); line-height: 1.35; color: var(--text-2); text-decoration: none; }
.toc-list a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--t-xs); color: var(--muted); padding-top: 2px; }
.toc-list a:hover { color: var(--text); }
.toc-list a.is-current { border-left-color: var(--lime-2); color: var(--text); font-weight: 700; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.share .eyebrow { width: 100%; }
.share-btn { font: 600 var(--t-sm)/1 var(--f-brand); color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--ink); }
.article-main { min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-rail { order: 2; } .article-rail .rail-sticky { position: static; } .article-rail .eyebrow:first-child, .toc-list { display: none; } .share { margin-top: 0; } .article-main { max-width: none; } }

.answer-box { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 22px 44px -34px rgba(17, 19, 24, .45); overflow: hidden; }
.answer-box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--lime); }
.answer-box .eyebrow { color: var(--text); display: flex; align-items: center; gap: 8px; }
.answer-box .answer { font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.42rem); font-weight: 600; line-height: 1.45; letter-spacing: -0.012em; color: var(--text); }
.stats-article { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-article .stat:nth-child(3) { padding-left: 0; border-left: 0; }
.stats-article .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stats-article .stat .n { color: var(--text); }
.stats-article .src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.prose { font-size: 1.125rem; line-height: 1.75; color: var(--text-2); max-width: 68ch; }
.prose > * + * { margin-top: 1.15em; }
.prose > p:first-of-type { font-size: var(--t-md); line-height: 1.6; color: var(--text); }
.prose > h2:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); color: var(--text); margin-top: 2.3em; padding-top: 26px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.prose h3 { font-size: var(--t-md); color: var(--text); margin-top: 1.7em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose a { color: var(--text); text-decoration-color: var(--lime-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong, .prose b { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--lime-deep); font-weight: 700; }
.prose blockquote { margin-block: 1.8em; padding: 6px 0 6px 26px; border-left: 3px solid var(--lime); font-family: var(--f-serif); font-style: italic; font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.8rem); line-height: 1.35; color: var(--text); }
.prose blockquote p { margin: 0; }
.prose code { font-family: var(--f-mono); font-size: .88em; background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }
.prose > .figure, .prose > .exhibit, .prose > .article-graphic { margin-block: 2.2em; }
.prose > .exhibit { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--ink); border-radius: 0 0 var(--radius) var(--radius); padding: clamp(18px, 2.5vw, 28px); }
sup.cite { font-size: .72em; line-height: 0; margin-left: 2px; }
sup.cite a { color: var(--lime-deep); text-decoration: none; font-weight: 700; }
sup.cite a:hover { color: var(--text); }
.exhibit-data { font-size: var(--t-sm); color: var(--text-2); margin-top: 14px; }
.exhibit-data summary { cursor: pointer; font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.exhibit-data table.t { min-width: 0; margin-top: 10px; }

.how-we { border-radius: var(--radius); padding: clamp(26px, 3.5vw, 40px); max-width: none; position: relative; overflow: hidden; }
.how-we::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(183, 255, 0, .16), transparent 70%); }
.how-we-head { display: flex; align-items: center; gap: 14px; }
.how-we-head .frog-disc { width: 52px; padding: 8px; }
.how-we-head .frog-disc img { width: 100%; height: auto; }
.how-we-head .eyebrow { color: var(--lime); }
.how-we h2 { margin-top: 18px; padding-top: 0; border-top: 0; font-size: var(--t-lg); color: var(--on-ink); }
.how-we h3 { color: var(--on-ink); }
.how-we p, .how-we li { color: var(--on-ink-2); }
.how-we strong, .how-we b, .how-we a { color: var(--on-ink); }
.how-we a { text-decoration-color: var(--lime); }
.how-we > p:first-of-type { font-size: inherit; color: var(--on-ink-2); }
.article-faq h2 { font-size: var(--t-lg); margin-bottom: 16px; scroll-margin-top: 96px; }

.author-card { display: flex; gap: 20px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); }
.author-card > div { display: flex; flex-direction: column; gap: 6px; }
.author-name { font-weight: 800; font-size: var(--t-md); letter-spacing: -0.015em; color: var(--text); }
.author-name span { font-weight: 500; font-size: var(--t-sm); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.author-bio { color: var(--text-2); max-width: 60ch; }
.author-card .note a { color: inherit; }
.related ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.related a { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.related a b { font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.01em; }
.related a .link-arrow { margin-top: auto; align-self: flex-start; font-size: var(--t-sm); }
.related a:hover { border-color: var(--ink); transform: translateY(-2px); }
@media (max-width: 700px) { .related ul { grid-template-columns: minmax(0, 1fr); } .author-card { flex-direction: column; } }
.article-cta { border-top: 0; }

/* ---------- blog: index ---------- */
.blog-hero { position: relative; overflow: hidden; }
.blog-hero h1 { max-width: 14ch; }
.blog-hero .lede { max-width: 52ch; }
.blog-art .art-num { font-family: var(--f-brand); font-weight: 800; font-size: 34px; letter-spacing: -0.04em; fill: var(--lime); }
.blog-art .art-q { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 30px; fill: var(--ink); }
.blog-art .pill-o { fill: none; stroke: #4A4E57; }
.blog-count { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); margin-top: 14px; }
.blog-list .wrap { display: flex; flex-direction: column; gap: 22px; }
.post-thumb { display: block; overflow: hidden; background: var(--paper); border-radius: var(--radius) var(--radius) 0 0; }
.post-thumb-mark { position: relative; aspect-ratio: 1200 / 630; background: var(--ink); padding: clamp(18px, 2.4vw, 28px); }
.post-thumb-mark .q { position: absolute; right: 9%; top: 50%; transform: translateY(-50%); font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(130px, 13vw, 200px); line-height: 1; color: var(--lime); }
.post-thumb-mark .eyebrow { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; color: var(--on-ink-2); }
.post-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.post-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.post-feature .post-thumb { border-radius: 0; display: flex; align-items: center; }
.post-feature .post-thumb-mark { aspect-ratio: auto; min-height: 100%; }
.post-feature .post-thumb-mark .q { font-size: clamp(180px, 17vw, 280px); right: 14%; }
.post-feature-text { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.post-feature h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); letter-spacing: -0.03em; }
.post-feature p { color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-feature .link-arrow { align-self: flex-start; margin-top: 6px; }
.post-feature:hover { border-color: var(--ink); box-shadow: 0 24px 50px -38px rgba(17, 19, 24, .6); }
.post-feature:hover .post-thumb img, .post-card a:hover .post-thumb img { transform: scale(1.03); }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card a { height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; color: inherit; text-decoration: none; overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.post-card-text { padding: clamp(20px, 2.5vw, 26px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h2 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
.post-card p { color: var(--text-2); font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; font-size: var(--t-sm); }
.post-card a:hover { border-color: var(--ink); transform: translateY(-2px); }
@media (max-width: 1000px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post-feature { grid-template-columns: minmax(0, 1fr); } .post-feature .post-thumb-mark { aspect-ratio: 1200 / 630; } }
@media (max-width: 640px) { .post-list { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .post-thumb img, .post-card a, .related a { transition: none; } }

/* ---------- scroll cue: while the hero runs past the bottom of the screen ---------- */
.scroll-cue { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 40; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid #3A3E47; background: rgba(29, 32, 39, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--lime); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.scroll-cue.is-on { opacity: 1; pointer-events: auto; }
.scroll-cue svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) { .scroll-cue.is-on svg { animation: cue 1.8s ease-in-out infinite; } }
@keyframes cue { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* ---------- tables on phones: stacked cards instead of sideways scrolling (labels added by site.js) ---------- */
@media (max-width: 700px) {
  .table-wrap:has(.t-cards) { overflow: visible; }
  table.t.t-cards { min-width: 0 !important; } /* some tables carry an inline min-width from Sanity */
  table.t.t-cards thead { display: none; }
  table.t.t-cards, table.t.t-cards tbody, table.t.t-cards tr { display: block; width: 100%; }
  table.t.t-cards tr { padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
  table.t.t-cards td { display: grid; grid-template-columns: minmax(92px, 36%) minmax(0, 1fr); gap: 12px; align-items: start; padding: 4px 0; border: 0; text-align: left; }
  table.t.t-cards td::before { content: attr(data-label); font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; white-space: pre-line; line-height: 1.5; }
  table.t.t-cards td:first-child { display: block; font-size: 1.02rem; padding-bottom: 6px; }
  table.t.t-cards td:first-child::before { content: none; }
  table.t.t-cards td.c .hb { margin-inline: 0; }
  /* rows of rating dots (the deal-size table): the columns side by side, label above each dot */
  table.t.t-cards tr:has(td.c) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; }
  table.t.t-cards tr:has(td.c) td:first-child { grid-column: 1 / -1; }
  table.t.t-cards tr:has(td.c) td.c { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ink table.t.t-cards tr { border-bottom-color: var(--ink-line); }
  .ink table.t.t-cards td::before { color: var(--on-ink-3); }
}
