/* robustbranding.com redesign: design system (mockup). Maps 1:1 to the block theme's theme.json presets.
   Cobalt and vermilion on white (round 2: Mario, 2026-11-02, "brown is not my favorite color"). Cobalt carries
   the brand and every action; vermilion marks only the decision step and the winning arm in a chart. */
:root {
  /* 2026-27 palette, every text pair measured to WCAG 2.2 AA and APCA (docs/plans/ROBUSTBRANDING-SITE-PLAN-2026-11.md):
     cobalt in the direction of WGSN/Coloro Luminous Blue (2027), Pinterest Palette 2026 Cool Blue, Wasabi and
     Persimmon, Pantone 2026 Cloud Dancer. Wasabi is never text on white (1.23:1); Persimmon only marks on white. */
  --ink: #0b0e1a;
  --ink-2: #141a2e;
  --ink-3: #262e48;
  --text: #1d2333;
  --muted: #3f4659;
  --muted-2: #6a7187;
  --line: #d5dceb;
  --line-2: #b9c3d8;
  --paper: #ffffff;
  --paper-2: #d7efff;
  --cloud: #f0eee9;
  --white: #ffffff;
  --brand: #224ed3;
  --brand-ink: #1a3eb0;
  --brand-tint: #d7efff;
  --brand-light: #e9f056;
  --accent: #e9f056;
  --hot: #ff5c34;
  --hot-tint: #ffd9cc;
  --deep: #12259a;
  --deep-tint: #d7efff;
  --warn-tint: #fff0c4;
  --on-dark: #d0d6e6;
  --on-dark-2: #cdd3e3;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 14, 26, .05), 0 12px 30px rgba(11, 14, 26, .08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 50%; }
.h-display { font: 500 clamp(40px, 4.8vw, 66px)/1.04 var(--serif); letter-spacing: -.028em; color: var(--ink); margin: 0; font-variation-settings: "SOFT" 30, "WONK" 0; }
.h1 { font: 500 clamp(36px, 4.4vw, 60px)/1.05 var(--serif); letter-spacing: -.024em; color: var(--ink); margin: 0; }
.h2 { font: 500 clamp(28px, 3.2vw, 44px)/1.1 var(--serif); letter-spacing: -.02em; color: var(--ink); margin: 0; }
.h3 { font: 600 19px/1.3 var(--sans); color: var(--ink); margin: 0; letter-spacing: -.01em; }
.h-display em, .h1 em, .h2 em { font-style: italic; color: var(--brand); }
.hero.bold .h-display em { color: var(--accent); }
.lede { font-size: 20px; line-height: 1.6; color: var(--text); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; }
.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head .h2 { margin-top: 14px; }
.section-head p { margin: 16px 0 0; color: var(--muted); font-size: 18px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 4px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-3); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.dark .btn-line { border-color: rgba(255, 255, 255, .4); color: var(--paper); }
.dark .btn-line:hover { background: var(--paper); color: var(--ink); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: baseline; gap: 0; text-decoration: none; font: 600 23px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.logo .dot { color: var(--brand); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text); padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a.current { border-bottom-color: var(--brand); color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 16px; font-size: 14px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: 4px; font-size: 18px; width: 42px; height: 42px; color: var(--ink); }

/* bands */
.band { padding: 96px 0; }
.band-tight { padding: 64px 0; }
.band.alt { background: var(--paper-2); }
.band.white { background: var(--white); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark .h-display, .dark .h1, .dark .h2, .dark .h3 { color: var(--paper); }
.dark .muted, .dark .section-head p { color: var(--on-dark-2); }
.dark .eyebrow { color: var(--brand-light); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* hero */
.hero { padding: 72px 0 88px; }
.hero .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero .h-display { margin-top: 18px; }
.hero .lede { margin: 24px 0 0; max-width: 600px; }
.hero-art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--white); }
.hero-art img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.page-hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.page-hero .h1 { margin-top: 16px; }
.page-hero .lede { margin: 22px 0 0; }
.crumbs { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }

/* fact strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 26px 24px; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font: 500 34px/1 var(--serif); color: var(--ink); letter-spacing: -.02em; }
.facts span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* cards */
.cards { display: grid; gap: 20px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; color: var(--text); font-size: 16px; }
.card .num { font: 500 13px/1 var(--mono); color: var(--brand); }
.card.link { text-decoration: none; transition: border-color .15s, transform .15s; }
.card.link:hover { border-color: var(--ink); transform: translateY(-2px); }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.card .icon { width: 40px; height: 40px; border-radius: 8px; background: var(--brand-tint); display: grid; place-items: center; }
.card .icon svg { width: 22px; height: 22px; stroke: var(--brand); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dark .card { background: var(--ink-2); border-color: #2a3150; }
.dark .card p { color: var(--on-dark-2); }
.scenario { border-left: 3px solid var(--brand); background: var(--white); padding: 20px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.scenario p { margin: 0; font-size: 16px; }
.scenario b { display: block; color: var(--ink); margin-bottom: 4px; }

/* service rows */
.svc { display: grid; grid-template-columns: 300px 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); text-decoration: none; transition: border-color .15s; }
.svc + .svc { margin-top: 18px; }
.svc:hover { border-color: var(--ink); }
.svc img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.svc .body { padding: 30px 34px; display: flex; flex-direction: column; gap: 10px; }
.svc .body p { margin: 0; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tag { font: 500 12px/1 var(--mono); padding: 7px 10px; border-radius: 3px; background: var(--paper-2); color: var(--ink-3); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split .art { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.split .art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* lists */
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 10px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.dark .ticks li::before { border-color: var(--accent); }

/* workflow chart: numbered steps, horizontal on desktop, vertical on mobile */
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; counter-reset: step; position: relative; }
.flow .step { position: relative; padding: 0 18px 0 0; }
.flow .step .dot { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); display: grid; place-items: center; font: 500 14px/1 var(--mono); color: var(--ink); position: relative; z-index: 1; }
.flow .step.hot .dot { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.flow .step::before { content: ""; position: absolute; top: 22px; left: 44px; right: 0; border-top: 1.5px dashed var(--line-2); }
.flow .step:last-child::before { display: none; }
.flow .step h4 { margin: 18px 0 6px; font: 600 16px/1.3 var(--sans); color: var(--ink); }
.flow .step p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.flow .step .out { display: inline-block; margin-top: 12px; font: 500 11.5px/1.3 var(--mono); color: var(--deep); background: var(--deep-tint); padding: 6px 8px; border-radius: 3px; }
.dark .flow .step .dot { background: var(--ink); border-color: var(--paper); color: var(--paper); }
.dark .flow .step.hot .dot { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.dark .flow .step::before { border-color: #3a4366; }
.dark .flow .step h4 { color: var(--paper); }
.dark .flow .step p { color: var(--on-dark-2); }
.dark .flow .step .out { background: #1a2550; color: #b9c6ff; }
.chart-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.chart-card .cap { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: 30px; flex-wrap: wrap; }
.chart-card .cap h3 { font: 500 24px/1.2 var(--serif); color: var(--ink); margin: 0; }
.chart-card .src { font: 400 12px/1.4 var(--mono); color: var(--muted); }
.dark .chart-card { background: var(--ink-2); border-color: #2a3150; }
.dark .chart-card .cap h3 { color: var(--paper); }

/* lanes chart (parallel test arms) */
.lanes { display: grid; gap: 10px; }
.lane { display: grid; grid-template-columns: 220px 1fr 120px; gap: 18px; align-items: center; }
.lane .name { font-weight: 600; color: var(--ink); font-size: 15px; }
.lane .track { height: 34px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--paper-2) 0 calc(100% / 14 - 2px), var(--paper) calc(100% / 14 - 2px) calc(100% / 14)); position: relative; overflow: hidden; border: 1px solid var(--line); }
.lane .track span { position: absolute; inset: 0; width: var(--w, 100%); background: linear-gradient(90deg, var(--deep) 0, var(--deep) 100%); opacity: .88; }
.lane.hot .track span { background: var(--hot); }
.lane .v { font: 500 13px/1 var(--mono); color: var(--ink); text-align: right; }
.lane-axis { display: grid; grid-template-columns: 220px 1fr 120px; gap: 18px; margin-top: 8px; }
.lane-axis div { display: flex; justify-content: space-between; font: 400 11.5px/1 var(--mono); color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }

/* matrix chart */
.matrix { width: 100%; border-collapse: separate; border-spacing: 6px; font-size: 14.5px; }
.matrix th { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: left; padding: 6px 8px; vertical-align: bottom; }
.matrix td { background: var(--paper); border-radius: 4px; padding: 14px; vertical-align: top; line-height: 1.45; }
.matrix td.row { background: transparent; font-weight: 600; color: var(--ink); padding-left: 0; width: 170px; }
.matrix td.hi { background: var(--deep-tint); }
.matrix td.hot { background: var(--hot-tint); }
.matrix td small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }

/* table */
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--paper-2); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; color: var(--ink); width: 30%; }

/* scope box */
.scope { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.scope > div { padding: 24px; border-left: 1px solid var(--line); }
.scope > div:first-child { border-left: 0; }
.scope .k { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.scope .v { margin-top: 10px; font: 500 20px/1.3 var(--serif); color: var(--ink); }
.todo { background: var(--warn-tint); color: #6a4a0c; font: 500 12px/1 var(--mono); padding: 4px 7px; border-radius: 3px; white-space: nowrap; }

/* quote / pull */
.pull { border-left: 3px solid var(--brand); padding: 4px 0 4px 26px; margin: 34px 0; font: 400 26px/1.35 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.pull cite { display: block; margin-top: 12px; font: 400 13px/1.4 var(--mono); font-style: normal; color: var(--muted); }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font: 600 18px/1.4 var(--sans); color: var(--ink); display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--mono); color: var(--brand); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 14px 0 0; color: var(--text); max-width: 760px; }

/* cta band */
.cta-band { background: var(--brand); color: #fff; padding: 80px 0; }
.cta-band .h2 { color: #fff; }
.cta-band p { color: #fff; font-size: 19px; max-width: 640px; margin: 18px 0 0; }
.cta-band .btn-ink { background: var(--ink); }
.cta-band .btn-line { border-color: rgba(255, 255, 255, .6); color: #fff; }
.cta-band .btn-line:hover { background: #fff; color: var(--brand); }

/* articles and journal */
.pillar { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .15s; }
.pillar:hover { border-color: var(--ink); }
.pillar img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pillar .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.pillar .body p { margin: 0; font-size: 15px; color: var(--muted); }
.pillar .kw { font: 400 12px/1.4 var(--mono); color: var(--deep); margin-top: 6px; }
.prose { font-size: 18.5px; line-height: 1.75; color: var(--text); }
.prose h2 { font: 500 32px/1.2 var(--serif); color: var(--ink); letter-spacing: -.015em; margin: 54px 0 16px; }
.prose h3 { font: 600 20px/1.35 var(--sans); color: var(--ink); margin: 36px 0 10px; }
.prose p { margin: 0 0 22px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose figure { margin: 40px 0; }
.prose figcaption { font: 400 13px/1.5 var(--mono); color: var(--muted); margin-top: 12px; }
.meta { display: flex; gap: 18px; flex-wrap: wrap; font: 400 13px/1.4 var(--mono); color: var(--muted); margin-top: 22px; }
.byline { display: flex; gap: 14px; align-items: center; margin-top: 28px; }
.byline .av { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 500 18px/1 var(--serif); }

/* experiment log */
.log { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.log .row { display: grid; grid-template-columns: 140px 1fr 160px; gap: 24px; padding: 24px 28px; border-bottom: 1px solid var(--line); align-items: start; }
.log .row:last-child { border-bottom: 0; }
.log .id { font: 500 13px/1.4 var(--mono); color: var(--muted); }
.log h4 { margin: 0 0 6px; font: 600 18px/1.35 var(--sans); color: var(--ink); }
.log p { margin: 0; font-size: 15.5px; }
.status { display: inline-block; font: 500 12px/1 var(--mono); padding: 7px 10px; border-radius: 3px; }
.status.run { background: var(--warn-tint); color: #6a4a0c; }
.status.plan { background: var(--paper-2); color: var(--ink-3); }
.status.done { background: var(--deep-tint); color: var(--deep); }

/* form */
.form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form label { display: grid; gap: 8px; font: 600 14px/1.3 var(--sans); color: var(--ink); }
.form input, .form select, .form textarea { font: 400 16px/1.4 var(--sans); padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--paper); color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }

/* footer */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 72px 0 40px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: var(--paper); }
.site-footer h5 { margin: 0 0 14px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-light); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.site-footer .about { margin: 16px 0 0; max-width: 360px; line-height: 1.6; }
.site-footer .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid #2a3150; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }

/* responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .hero .grid, .page-hero .grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
  .cards.c3, .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .scope { grid-template-columns: repeat(2, 1fr); }
  .scope > div:nth-child(3) { border-left: 0; }
  .scope > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc img { aspect-ratio: 16 / 7; min-height: 0; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16.5px; }
  .band { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .header-cta .btn { display: none; }
  .cards.c2, .cards.c3, .cards.c4 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .facts > div:first-child { border-top: 0; }
  .scope { grid-template-columns: 1fr; }
  .scope > div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .scope > div:first-child { border-top: 0; }
  .flow { grid-auto-flow: row; gap: 22px; }
  .flow .step { display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; padding: 0; }
  .flow .step::before { top: 44px; left: 21px; right: auto; bottom: -22px; border-top: 0; border-left: 1.5px dashed var(--line-2); }
  .flow .step h4 { margin: 10px 0 4px; grid-column: 2; }
  .flow .step p, .flow .step .out { grid-column: 2; }
  .flow .step .dot { grid-row: 1 / span 3; }
  .lane, .lane-axis { grid-template-columns: 1fr; gap: 6px; }
  .lane-axis > div:first-child, .lane-axis > div:last-child { display: none; }
  .lane .v { text-align: left; }
  .matrix-wrap { overflow-x: auto; }
  .log .row { grid-template-columns: 1fr; gap: 10px; }
  .chart-card { padding: 22px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .table td:first-child { width: auto; }
  .prose { font-size: 17.5px; }
}

/* homepage hero on full cobalt (round 2: Mario asked for a bold colour) */
.hero.bold { background: var(--brand); color: #fff; }
.hero.bold .h-display { color: #fff; }
.hero.bold .lede { color: #fff; }
.hero.bold .eyebrow { color: var(--accent); }
.hero.bold .eyebrow::before { background: var(--accent); }
.hero.bold .btn-primary { background: var(--accent); color: var(--ink); }
.hero.bold .btn-primary:hover { background: #fff; color: var(--ink); }
.hero.bold .btn-line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero.bold .btn-line:hover { background: #fff; color: var(--brand); }
.hero.bold .hero-art { border: 0; box-shadow: none; background: transparent; border-radius: 0; }
.hero.bold .facts { border-color: rgba(255, 255, 255, .28); }
.hero.bold .facts > div { border-color: rgba(255, 255, 255, .28); }
.hero.bold .facts b { color: #fff; }
.hero.bold .facts span { color: #fff; }

.nowrap { white-space: nowrap; }
.dark .chart-card .src { color: var(--on-dark-2); }
.hero.bold .hero-art img { aspect-ratio: auto; }

/* ===================================================================================================
   Round 5 visual layer (Mario, 2026-11-02): the energy of an editorial data site without borrowing any
   component from one. Every device comes from Robust Branding's own world: the agency pitch (a slide
   projector and its tray), the photographer's contact sheet, the agency's filing cabinet (folder tabs),
   flip cards, an editor's before-and-after, and the company's own brand file as the colophon.
   Type: Bricolage Grotesque (variable width and optical size) with Instrument Serif italic accents.
   =================================================================================================== */
:root {
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --accent-serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --film: #0e1220;
}
.h-display, .h1, .h2, .logo, .facts b, .scope .v, .chart-card .cap h3, .prose h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; font-variation-settings: "opsz" 96; }
.h-display { font-size: clamp(44px, 5.6vw, 82px); line-height: .98; }
.h1 { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.02; }
.h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.04; }
.h-display em, .h1 em, .h2 em { font-family: var(--accent-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.logo { font-size: 22px; letter-spacing: -.035em; }

/* pill buttons, rounded cards: a softer silhouette than brutalist offsets */
.btn { border-radius: 999px; padding: 14px 24px; border: 1.5px solid transparent; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.dark .btn-line, .cta-band .btn-line, .hero.bold .btn-line, .starter .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.card, .scenario, .svc, .pillar, .chart-card, .table, .scope, .form, .log { border-radius: 18px; }
.scenario { border: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); background: #fff; position: relative; padding-top: 30px; }
.scenario::before { content: ""; position: absolute; left: 22px; top: 16px; width: 26px; height: 5px; border-radius: 3px; background: var(--brand); }
.pillar, .card.link { transition: transform .2s, box-shadow .2s; }
.pillar:hover, .card.link:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(34, 78, 211, .18); }

/* header: live status pill */
.live-pill { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--mono); color: var(--ink); background: var(--paper-2); border-radius: 999px; padding: 8px 12px; white-space: nowrap; }
.live-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 0 rgba(255, 92, 52, .6); animation: rb-pulse 2s infinite; }
@keyframes rb-pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 92, 52, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 92, 52, 0); } }
@media (max-width: 1020px) { .live-pill { display: none; } }
/* The pill is a link to the running experiment's log entry; phones get the same line in the open menu. */
a.live-pill { text-decoration: none; }
a.live-pill:hover { background: var(--deep-tint); }
.nav .nav-live { display: none; }
@media (max-width: 1020px) {
  .nav-open .nav .nav-live { display: block; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); border-bottom: 0; font: 500 14px/1.4 var(--mono); color: var(--ink); }
  .nav-open .nav .nav-live b { font-weight: 500; color: var(--muted); margin-left: 6px; }
}

/* experiment log, grouped by state */
.log-groups { display: grid; gap: 34px; }
.log-head { margin: 0 0 12px; font: 500 13px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.log .row { scroll-margin-top: 96px; }
.log .log-meta { margin-top: 10px; font-size: 12.5px; line-height: 1.5; }
.log .log-note { margin-top: 10px; font-size: 15px; }
.log .row:target { background: var(--deep-tint); }

/* hero: cobalt stage with a slide projector */
.hero5 { background: var(--brand); color: #fff; padding: 72px 0 84px; overflow: hidden; }
.hero5 .grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.hero5 h1 { margin: 18px 0 0; color: #fff; }
.hero5 h1 em { color: var(--accent); }
.hero5 .lede { color: #fff; margin: 24px 0 0; }
.hero5 .eyebrow { color: var(--accent); }
.hero5 .eyebrow::before { background: var(--accent); }
.hero5 .btn-primary { background: var(--accent); color: var(--ink); }
.hero5 .btn-primary:hover { background: #fff; }
.hero5 .btn-line { color: #fff; border-color: rgba(255, 255, 255, .7); }
.projector { position: relative; }
.projector .screen { position: relative; background: #fff; color: var(--ink); border-radius: 6px; aspect-ratio: 16 / 10.5; padding: 30px 32px; display: flex; flex-direction: column; box-shadow: 0 40px 80px rgba(11, 14, 26, .35); overflow: hidden; }
.projector .screen::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 0% 100%, rgba(233, 240, 86, .22), transparent 55%); pointer-events: none; }
.slide { display: none; flex-direction: column; height: 100%; }
.slide.on { display: flex; animation: rb-slide .5s ease; }
@keyframes rb-slide { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.slide .kick { font: 500 12.5px/1.3 var(--mono); color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.slide .ttl { margin: auto 0 0; font: 800 clamp(30px, 3.4vw, 50px)/1 var(--display); letter-spacing: -.03em; font-variation-settings: "opsz" 96; }
.slide .ttl em { font-family: var(--accent-serif); font-weight: 400; color: var(--brand); }
.slide .meta { margin-top: 14px; font: 500 13px/1.4 var(--mono); color: var(--muted); }
.ring { position: absolute; right: 22px; top: 54px; width: 92px; height: 92px; z-index: 2; }
.ring path { fill: none; stroke: var(--paper-2); stroke-width: 9; }
.ring path.on { stroke: var(--brand); }
.ring text { font: 700 20px var(--display); fill: var(--ink); text-anchor: middle; }
.ring text.s { font: 500 8.5px var(--mono); fill: var(--muted); }
.tray { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.mount { width: 62px; height: 62px; border-radius: 8px; background: #f4f1ea; border: 0; padding: 9px; cursor: pointer; display: grid; grid-template-rows: 1fr auto; gap: 4px; box-shadow: 0 4px 0 rgba(11, 14, 26, .25); transition: transform .15s; }
.mount span { border-radius: 10px / 8px; background: var(--deep); display: block; }
.mount small { font: 500 10px/1 var(--mono); color: var(--ink); }
.mount:hover, .mount[aria-pressed="true"] { transform: translateY(-5px); }
.mount[aria-pressed="true"] span { background: var(--accent); }
.mount.empty span { background: transparent; border: 1.5px dashed var(--muted); }

/* method in six words */
.words { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px; }
.words a { text-decoration: none; color: var(--ink); font: 800 clamp(40px, 6.4vw, 96px)/1 var(--display); letter-spacing: -.04em; font-variation-settings: "wdth" 75, "opsz" 96; transition: font-variation-settings .7s ease, color .2s; }
.words a sup { font: 500 13px/1 var(--mono); letter-spacing: 0; color: var(--brand); margin-right: 4px; vertical-align: super; }
.words.in a { font-variation-settings: "wdth" 100, "opsz" 96; }
.words a:hover { color: var(--brand); }
.words a:last-child { color: var(--brand); }
.words a:last-child em { font-family: var(--accent-serif); font-weight: 400; }

/* services as folder tabs */
.folders .tabs { display: flex; gap: 6px; flex-wrap: wrap; position: relative; z-index: 1; }
.folders .tab { font: 700 15px/1 var(--display); padding: 15px 20px 14px; border: 1.5px solid var(--ink); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--paper-2); color: var(--ink); cursor: pointer; margin-bottom: -1.5px; }
.folders .tab[aria-selected="true"] { background: #fff; position: relative; z-index: 2; }
.folders .tab sup { font: 500 11px/1 var(--mono); color: var(--brand); margin-right: 6px; }
.folders .sheet { border: 1.5px solid var(--ink); border-radius: 0 18px 18px 18px; background: #fff; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; }
.folders .sheet + .sheet { margin-top: 18px; }
.js .folders .sheet + .sheet { margin-top: 0; }
.folders .sheet img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.folders .sheet .body { padding: 38px 40px; display: flex; flex-direction: column; gap: 14px; }
.folders .sheet .body h3 { font: 800 40px/1 var(--display); letter-spacing: -.03em; margin: 0; color: var(--ink); }
.folders .sheet .body p { margin: 0; font-size: 17.5px; }

/* contact sheet of live experiments */
.sheetband { background: var(--film); color: #e9ecf5; }
.sheetband .h2 { color: #fff; }
.sheetband .section-head p { color: var(--on-dark-2); }
.sheetband .eyebrow { color: var(--accent); }
.film { position: relative; padding: 30px 0; background:
  radial-gradient(circle at 50% 50%, var(--film) 0 4.5px, transparent 5px) 0 9px / 26px 18px repeat-x,
  radial-gradient(circle at 50% 50%, var(--film) 0 4.5px, transparent 5px) 0 calc(100% - 9px) / 26px 18px repeat-x,
  #1b2134; border-radius: 6px; }
.film .frames { display: flex; gap: 14px; overflow-x: auto; padding: 0 18px 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.frame { flex: 0 0 220px; scroll-snap-align: start; background: #fff; color: var(--ink); border-radius: 4px; padding: 16px 16px 14px; display: flex; flex-direction: column; min-height: 200px; position: relative; }
.frame .edge { font: 500 10.5px/1 var(--mono); color: var(--muted); display: flex; justify-content: space-between; }
.frame h4 { margin: auto 0 8px; font: 800 22px/1.05 var(--display); letter-spacing: -.02em; }
.frame .st { align-self: flex-start; font: 500 11.5px/1 var(--mono); padding: 6px 8px; border-radius: 999px; background: var(--paper-2); color: var(--deep); }
.frame.pick { outline: 3px solid var(--accent); outline-offset: 4px; }
.frame.pick .st { background: var(--accent); color: var(--ink); }
.frame.open { background: transparent; color: #fff; border: 1.5px dashed rgba(255, 255, 255, .6); }
.frame.open .edge { color: var(--on-dark-2); }
.frame.open a { color: var(--accent); font-weight: 600; }
.film-cap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; font: 400 12.5px/1.5 var(--mono); color: var(--on-dark-2); }
.film-nav { display: flex; gap: 8px; }
.film-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); background: transparent; color: #fff; font-size: 18px; cursor: pointer; }

/* flip cards */
.flips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flip { perspective: 1200px; min-height: 270px; }
.flip button.face-btn { all: unset; display: block; height: 100%; cursor: pointer; width: 100%; }
.flip .inner { position: relative; height: 100%; min-height: 270px; transition: transform .6s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; }
.flip.flipped .inner { transform: rotateY(180deg); }
.flip .face { position: absolute; inset: 0; border-radius: 18px; padding: 26px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; border: 1.5px solid var(--ink); }
.flip .front { background: #fff; }
.flip .front .q { font: 800 27px/1.08 var(--display); letter-spacing: -.025em; color: var(--ink); margin-top: auto; }
.flip .front .hint { font: 500 12px/1 var(--mono); color: var(--brand); margin-top: 18px; }
.flip .front .n { font: 500 12px/1 var(--mono); color: var(--muted); }
.flip .back { background: var(--ink); color: var(--on-dark); transform: rotateY(180deg); }
.flip .back h4 { margin: 0 0 8px; font: 800 30px/1 var(--display); color: var(--accent); letter-spacing: -.02em; }
.flip .back p { margin: 0 0 10px; font-size: 15px; color: var(--on-dark); }
.flip .back ul { margin: auto 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.flip .back li { font: 500 11.5px/1 var(--mono); padding: 6px 8px; border-radius: 999px; background: #1a2550; color: #b9c6ff; }
html:not(.js) .flip .inner { transform: none; }
html:not(.js) .flip .face { position: relative; }
html:not(.js) .flip .back { transform: none; margin-top: 10px; }

/* before and after slider */
.ba { position: relative; border-radius: 18px; border: 1.5px solid var(--ink); overflow: hidden; background: #fff; }
.ba .layer { padding: 40px 44px 54px; font: 600 clamp(20px, 2.1vw, 27px)/1.55 var(--display); letter-spacing: -.01em; }
.ba .after { position: absolute; inset: 0; background: var(--ink); color: #fff; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .lab { position: absolute; bottom: 14px; font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.ba .before .lab { left: 44px; color: var(--muted); }
.ba .after .lab { right: 44px; color: var(--accent); }
.ba mark { background: linear-gradient(transparent 58%, rgba(255, 92, 52, .35) 58%); color: inherit; padding: 0 2px; }
.ba mark::after { content: attr(data-tag); font: 500 10px/1 var(--mono); color: #fff; background: var(--pen, #c7340f); padding: 3px 5px; border-radius: 3px; margin-left: 6px; vertical-align: 5px; letter-spacing: .02em; }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: var(--accent); pointer-events: none; }
.ba .handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font: 700 20px/1 var(--sans); }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input[type=range]:focus-visible + .handle { box-shadow: 0 0 0 4px var(--brand); }
:root { --pen: #c7340f; }

/* brief starter CTA */
.starter { background: var(--brand); color: #fff; padding: 96px 0; }
.starter .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.starter .h2 { color: #fff; }
.starter .h2 em { color: var(--accent); }
.starter p { color: #fff; font-size: 19px; }
.starter .box { background: #fff; color: var(--ink); border-radius: 18px; padding: 30px; box-shadow: 0 30px 70px rgba(11, 14, 26, .3); }
.starter .box .k { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { font: 600 14px/1 var(--sans); padding: 11px 14px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--accent); }
.starter select { width: 100%; font: 500 16px/1.2 var(--sans); padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); margin-bottom: 22px; }

/* footer colophon: our own brand file */
.colophon { margin-top: 56px; padding-top: 28px; border-top: 1px solid #2a3150; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.colophon h5 { margin: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { display: flex; align-items: center; gap: 10px; background: #141a2e; border-radius: 999px; padding: 6px 14px 6px 6px; font: 500 12px/1.2 var(--mono); color: var(--on-dark); }
.sw i { width: 26px; height: 26px; border-radius: 50%; display: block; border: 1px solid rgba(255, 255, 255, .25); }
.colophon .type { grid-column: 2; font: 400 12.5px/1.5 var(--mono); color: var(--on-dark-2); }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .slide.on { animation: none; }
  .flip .inner, .words a { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .live-pill::before { animation: none; }
}
@media (max-width: 1020px) {
  .hero5 .grid, .starter .grid, .folders .sheet { grid-template-columns: 1fr; }
  .folders .sheet img { min-height: 0; aspect-ratio: 16 / 8; }
  .flips { grid-template-columns: 1fr 1fr; }
  .colophon { grid-template-columns: 1fr; }
  .colophon .type { grid-column: 1; }
}
@media (max-width: 720px) {
  .flips { grid-template-columns: 1fr; }
  .projector .screen { padding: 20px; aspect-ratio: auto; min-height: 260px; }
  .ring { width: 70px; height: 70px; top: 44px; right: 14px; }
  .folders .tab { font-size: 13px; padding: 12px 12px 11px; }
  .folders .sheet .body { padding: 24px; }
  .folders .sheet .body h3 { font-size: 30px; }
  .ba .layer { padding: 26px 22px 48px; }
  .frame { flex-basis: 190px; }
}
/* timeline marker for the current day on the RB-001 chart */
.lanes { position: relative; }
.today-wrap { position: absolute; top: 0; bottom: 0; left: 238px; right: 138px; pointer-events: none; }
.today { position: absolute; top: -10px; bottom: -6px; border-left: 2px solid var(--hot); }
.today::before { content: attr(data-label); position: absolute; top: -18px; left: 6px; font: 500 11px/1 var(--mono); color: var(--ink); white-space: nowrap; }
@media (max-width: 720px) { .today-wrap { display: none; } }
.sheetband .chart-card { background: #fff; }
/* round 5 fixes after the first render */
.folders .sheet[hidden] { display: none; }
.h-display, .h1, .h2, .logo, .facts b, .scope .v, .chart-card .cap h3, .prose h2 { letter-spacing: -.018em; }
.h-display { letter-spacing: -.022em; }
.words a, .slide .ttl, .folders .sheet .body h3, .flip .front .q, .frame h4 { letter-spacing: -.015em; }
.frame.pick { outline: 0; box-shadow: inset 0 0 0 4px var(--accent); }
/* flip cards, rebuilt: block structure, one button per face */
.flip .inner { display: block; position: relative; min-height: 280px; }
.flip .face { padding: 26px; }
.flip .front .q { margin: auto 0 0; }
.flip .turn { align-self: flex-start; margin-top: 18px; font: 600 13px/1 var(--sans); padding: 10px 14px; border-radius: 999px; cursor: pointer; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); }
.flip .back .turn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); margin-top: 16px; }
.flip .back ul { margin-top: auto; }
/* editor switch replaces the slider */
.editor { border: 1.5px solid var(--ink); border-radius: 18px; background: #fff; overflow: hidden; }
.editor .seg { display: inline-flex; margin: 22px 0 0 26px; background: var(--paper-2); border-radius: 999px; padding: 4px; }
.editor .seg button { font: 600 14px/1 var(--sans); padding: 11px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.editor .seg button[aria-pressed="true"] { background: var(--ink); color: var(--accent); }
.editor .sheet-v { display: none; padding: 26px 30px 36px; font: 600 clamp(20px, 2.1vw, 27px)/1.6 var(--display); letter-spacing: -.01em; color: var(--ink); }
.editor .sheet-v.on { display: block; animation: rb-slide .45s ease; }
.editor mark { background: linear-gradient(transparent 58%, rgba(255, 92, 52, .35) 58%); color: inherit; padding: 0 2px; }
.editor mark::after { content: attr(data-tag); font: 500 10px/1 var(--mono); color: #fff; background: #c7340f; padding: 3px 5px; border-radius: 3px; margin-left: 6px; vertical-align: 5px; }
html:not(.js) .editor .sheet-v { display: block; }
@media (max-width: 720px) {
  .ring { top: auto; bottom: 14px; right: 14px; width: 62px; height: 62px; }
  .slide { padding-bottom: 70px; }
  .slide .ttl { margin-top: 18px; }
  .folders .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .folders .tab { flex: 0 0 auto; }
}

/* round 6: inner pages, examples, related services, ownership, live numbers */
.ihero { background: linear-gradient(180deg, var(--paper-2) 0, #fff 92%); padding: 52px 0 44px; }
.ihero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.ihero .h1 { margin-top: 14px; }
.ihero .lede { margin: 20px 0 0; }
.ihero-art img { width: 100%; border-radius: 22px; aspect-ratio: 4 / 3; object-fit: cover; }
.ifacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.ifacts > span { background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; padding: 14px 18px; font: 800 22px/1.15 var(--display); color: var(--ink); letter-spacing: -.01em; }
.ifacts small { display: block; font: 500 11.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.onpage { position: sticky; top: 72px; z-index: 15; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.onpage .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.onpage a { flex: 0 0 auto; text-decoration: none; font: 600 13.5px/1 var(--sans); color: var(--ink); padding: 9px 14px; border-radius: 999px; background: var(--paper-2); }
.onpage a:hover { background: var(--ink); color: var(--accent); }
section[id] { scroll-margin-top: 130px; }
.xcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.xcard { border: 1.5px solid var(--ink); border-radius: 18px; padding: 24px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.xcard h3 { margin: 0; font: 800 22px/1.15 var(--display); letter-spacing: -.015em; color: var(--ink); }
.xcard dl { margin: auto 0 0; display: grid; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.xcard dl div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; }
.xcard dt { font: 500 11.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.xcard dd { margin: 0; font-size: 15px; color: var(--ink); }
.rcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rcard { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; text-decoration: none; background: #fff; border: 1.5px solid var(--ink); border-radius: 18px; padding: 12px; transition: transform .2s; }
.rcard:hover { transform: translateY(-3px); }
.rcard img { width: 110px; height: 90px; object-fit: cover; border-radius: 12px; }
.rcard b { display: block; font: 800 19px/1.15 var(--display); color: var(--ink); margin-bottom: 6px; }
.rcard span { font-size: 14.5px; color: var(--text); line-height: 1.45; }
.bgroups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bgroup { background: #fff; border: 1.5px solid var(--ink); border-radius: 18px; padding: 24px; }
.bgroup h3 { margin: 0; font: 800 21px/1.2 var(--display); color: var(--ink); }
.bgroup > p { margin: 8px 0 14px; font-size: 14.5px; }
.bgroup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bgroup li { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.bgroup li:last-child { border-bottom: 0; padding-bottom: 0; }
.bgroup li a { font: 600 15px/1.3 var(--sans); color: var(--brand); text-decoration: none; }
.bgroup li span { font-size: 14px; color: var(--muted); }
.quoted { font: 600 17px/1.3 var(--sans); color: var(--ink); }
.tag.soon { background: var(--paper-2); color: var(--deep); font-size: 11px; vertical-align: 2px; }
.table.nums td:not(:first-child), .table.nums th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.table.nums tr.tot td { font-weight: 700; background: var(--paper-2); }
.lane .v { white-space: nowrap; }
@media (max-width: 1020px) {
  .ihero .grid, .xcards, .rcards, .bgroups { grid-template-columns: 1fr; }
  .ifacts { grid-template-columns: 1fr 1fr; }
  .onpage { top: 64px; }
}
@media (max-width: 720px) {
  .ifacts > span { font-size: 18px; }
  .rcard { grid-template-columns: 84px 1fr; }
  .rcard img { width: 84px; height: 70px; }
}
.sheetband .table td, .sheetband .table th { color: var(--text); }
.sheetband .table tr.tot td { color: var(--ink); }
.table-wrap { overflow-x: auto; }
@media (max-width: 720px) { .table th, .table td { padding: 12px 12px; } }
.scope .v .quoted { font: inherit; }

/* round 7: live site needs (phone menu, form states) */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sent { background: var(--paper-2); border: 1.5px solid var(--ink); border-radius: 18px; padding: 30px; font-size: 18px; }
.sent b { display: block; font: 800 26px/1.15 var(--display); margin-bottom: 6px; color: var(--ink); }
@media (max-width: 1020px) {
  .nav-open .nav { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 14px 28px 22px; border-bottom: 1.5px solid var(--ink); box-shadow: 0 20px 40px rgba(11, 14, 26, .12); }
  .nav-open .nav a { font-size: 18px; padding: 10px 0; }
  .site-header .wrap { position: relative; }
}

/* round 8: legal pages, the analytics choice, the slide pause (Mario 2026-11-02, compliance) */
.legal-meta { font: 500 13px/1.4 var(--mono); color: var(--muted); margin-top: 18px; }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-grid .prose { max-width: 760px; }
.legal-grid .prose h2 { scroll-margin-top: 96px; }
.legal-grid .prose h2:first-child { margin-top: 0; }
.toc { position: sticky; top: 96px; font-size: 14.5px; }
.toc b { display: block; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1.5px solid var(--line); }
.toc li a { display: block; padding: 7px 0 7px 16px; color: var(--text); text-decoration: none; margin-left: -1.5px; border-left: 1.5px solid transparent; }
.toc li a:hover, .toc li a:focus-visible { color: var(--brand); border-left-color: var(--brand); }
.legal-table { font-size: 15px; line-height: 1.5; }
.legal-table td { vertical-align: top; }
.legal-table td:first-child { font-weight: 600; color: var(--ink); }
.prose .table-wrap { margin: 8px 0 28px; }
.prose .form { margin-top: 18px; }
.form-note { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0; }
.form-note a { color: var(--brand-ink); }
@media (max-width: 1020px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
  .toc ol { columns: 2; column-gap: 24px; }
}
@media (max-width: 560px) { .toc ol { columns: 1; } }

.site-footer .legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer .legal-links a, .site-footer .legal-links button { color: var(--on-dark); font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.site-footer .legal-links a:hover, .site-footer .legal-links button:hover { color: var(--paper); text-decoration: underline; }

.consent { position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 400px; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 24px 60px rgba(11, 14, 26, .35); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--paper); }
.consent a { color: var(--paper); text-decoration: underline; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* Both answers carry the same weight: a choice that pushes one button is not a free choice. */
.consent-actions button { font: 600 14px/1 var(--sans); padding: 13px 14px; border-radius: 4px; border: 1.5px solid var(--paper); background: var(--paper); color: var(--ink); cursor: pointer; }
.consent-actions button:hover, .consent-actions button:focus-visible { background: var(--accent); border-color: var(--accent); }
@media (max-width: 560px) { .consent { left: 16px; right: 16px; bottom: 16px; max-width: none; } }

.pj-pause { align-self: center; margin-left: auto; font: 500 12px/1 var(--mono); color: var(--paper); background: none; border: 1.5px solid currentColor; border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.pj-pause[hidden] { display: none; }
.pj-pause:hover, .pj-pause:focus-visible { background: var(--paper); color: var(--ink); }

/* plan pages (2026-11-13): the fee read at a glance, the proof, and the sign-up form beside its next steps */
.rb-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 26px 0 4px; }
.rb-price b { font: 800 clamp(44px, 6vw, 68px)/1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.rb-price span { font: 600 20px/1.2 var(--sans); color: var(--ink); }
.rb-price small { flex-basis: 100%; font: 400 15px/1.4 var(--sans); color: var(--muted); }
.rb-planform__plan { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 700 18px/1.3 var(--sans); color: var(--ink); }
.rb-planform__plan span { color: var(--brand); }
.rb-next { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; counter-reset: n; }
.rb-next li { position: relative; padding-left: 46px; color: var(--muted); }
.rb-next li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 14px/30px var(--sans); text-align: center; }
.rb-next b { display: block; color: var(--ink); }
.rb-wins { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.rb-wins li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); }
.rb-wins li b { display: block; margin-bottom: 8px; font: 700 13px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--brand); }
.signup-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .signup-grid { grid-template-columns: 1fr; gap: 28px; } }
.form .optional { font-weight: 400; color: var(--muted); }

/* A hidden form or confirmation stays hidden whatever display its class sets (found 2026-11-13). */
.form[hidden], .sent[hidden] { display: none !important; }
/* Anchored sections and forms clear the sticky header and the on-page bar. */
section[id], form[id], .sent[id] { scroll-margin-top: 140px; }

/* "Plans" joined the top menu (2026-11-13): the logo keeps one line, and the live pill steps aside below 1140px,
   where the six links, the pill and the button no longer fit beside it. */
.logo { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 1140px) { .live-pill { display: none; } }
