
:root {
  --harbor-50: #f1f6f8;
  --harbor-100: #e3ecf1;
  --harbor-200: #cbdbe3;
  --harbor-300: #a7c0cd;
  --harbor-400: #7a9fb3;
  --harbor-500: #4f8099;
  --harbor-600: #33677f;
  --harbor-700: #245268;
  --harbor-800: #183f55;
  --harbor-900: #0e2a3b;
  --harbor-950: #081b27;
  --stone-0: #ffffff;
  --stone-50: #f6f8f9;
  --stone-100: #eef1f3;
  --stone-200: #e7ecee;
  --stone-300: #d8e0e4;
  --stone-400: #c9d3d8;
  --stone-500: #a5b4bc;
  --stone-600: #8a9aa5;
  --stone-700: #647987;
  --stone-800: #4b6271;
  --amber-50: #fdf6e7;
  --amber-100: #fbeccb;
  --amber-200: #f6d896;
  --amber-300: #f0c262;
  --amber-400: #e8ae3a;
  --amber-500: #d99a1e;
  --amber-600: #b87f12;
  --amber-700: #94640e;
  --amber-800: #6f4a0c;
  --green-100: #d8f1e8;
  --green-300: #69d3b0;
  --green-500: #1e8e6e;
  --green-700: #12664f;
  --red-100: #fae3de;
  --red-300: #f19a8a;
  --red-500: #c8412e;
  --red-700: #9c2f20;

  --font-display: "Gabarito", "Instrument Sans", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.3125rem, 1.15rem + 0.7vw, 1.625rem);
  --display-s: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  --display-m: clamp(2.125rem, 1.5rem + 2.7vw, 3.5rem);
  --display-l: clamp(2.75rem, 1.6rem + 4.3vw, 4.75rem);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --gutter: clamp(16px, 4vw, 40px);
  --page-width: 1200px;
  --section-y: clamp(64px, 9vw, 120px);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(14, 42, 59, 0.06), 0 2px 8px rgba(14, 42, 59, 0.05);
  --shadow-2: 0 2px 4px rgba(14, 42, 59, 0.06), 0 12px 28px -8px rgba(14, 42, 59, 0.16);
  --shadow-3: 0 4px 8px rgba(8, 27, 39, 0.1), 0 32px 64px -20px rgba(8, 27, 39, 0.42);

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.15s;
  --duration-base: 0.3s;
  --duration-slow: 0.6s;

  color-scheme: light;
  --surface-page: var(--stone-100);
  --surface-raised: var(--stone-0);
  --surface-sunken: var(--stone-200);
  --ink: var(--harbor-900);
  --ink-2: var(--stone-800);
  --accent-ink: var(--amber-700);
  --line: var(--stone-300);
  --line-strong: var(--stone-500);
  --link: var(--harbor-800);
  --ok: var(--green-700);
  --ok-soft: var(--green-100);
  --warn: var(--amber-700);
  --warn-soft: var(--amber-100);
  --bad: var(--red-700);
  --bad-soft: var(--red-100);
  --idle: var(--stone-700);
  --idle-soft: var(--stone-200);
  --meter-track: var(--stone-300);
  --unit-off: var(--stone-300);
  --unit-on: var(--amber-600);
}

.theme-harbor {
  color-scheme: dark;
  --surface-page: var(--harbor-900);
  --surface-raised: var(--harbor-800);
  --surface-sunken: var(--harbor-950);
  --ink: var(--stone-200);
  --ink-2: var(--harbor-300);
  --accent-ink: var(--amber-300);
  --line: rgba(231, 236, 238, 0.13);
  --line-strong: rgba(231, 236, 238, 0.3);
  --link: var(--harbor-200);
  --ok: var(--green-300);
  --ok-soft: rgba(30, 142, 110, 0.24);
  --warn: var(--amber-300);
  --warn-soft: rgba(217, 154, 30, 0.2);
  --bad: var(--red-300);
  --bad-soft: rgba(200, 65, 46, 0.26);
  --idle: var(--harbor-300);
  --idle-soft: rgba(231, 236, 238, 0.09);
  --meter-track: rgba(231, 236, 238, 0.14);
  --unit-off: var(--harbor-700);
  --unit-on: var(--amber-400);
  background-color: var(--surface-page);
  color: var(--ink);
}

.theme-amber {
  --surface-page: var(--amber-500);
  --surface-raised: var(--amber-400);
  --surface-sunken: var(--amber-600);
  --ink: var(--harbor-900);
  --ink-2: var(--harbor-900);
  --accent-ink: var(--harbor-900);
  --line: rgba(14, 42, 59, 0.22);
  --line-strong: rgba(14, 42, 59, 0.5);
  --link: var(--harbor-900);
  background-color: var(--surface-page);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--ink);
  font: 400 var(--text-md)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
code { font-family: var(--font-mono); font-size: 0.92em; }
:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--amber-300); color: var(--harbor-900); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.wrap { width: min(var(--page-width), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section-head { max-width: 46rem; margin-bottom: var(--space-7); }
.section-head h2 { font-size: var(--display-m); }
.section-text { font-size: var(--text-lg); color: var(--ink-2); margin-top: var(--space-4); }
.eyebrow {
  font: 500 var(--text-xs)/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: var(--space-4);
}
.skip { position: absolute; left: -999px; }
.skip:focus {
  left: var(--space-4);
  top: var(--space-4);
  z-index: 60;
  background: var(--stone-0);
  color: var(--harbor-900);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}
.swatch-harbor-50 { background: var(--harbor-50); }
.swatch-harbor-100 { background: var(--harbor-100); }
.swatch-harbor-200 { background: var(--harbor-200); }
.swatch-harbor-300 { background: var(--harbor-300); }
.swatch-harbor-400 { background: var(--harbor-400); }
.swatch-harbor-500 { background: var(--harbor-500); }
.swatch-harbor-600 { background: var(--harbor-600); }
.swatch-harbor-700 { background: var(--harbor-700); }
.swatch-harbor-800 { background: var(--harbor-800); }
.swatch-harbor-900 { background: var(--harbor-900); }
.swatch-harbor-950 { background: var(--harbor-950); }
.swatch-stone-0 { background: var(--stone-0); }
.swatch-stone-50 { background: var(--stone-50); }
.swatch-stone-100 { background: var(--stone-100); }
.swatch-stone-200 { background: var(--stone-200); }
.swatch-stone-300 { background: var(--stone-300); }
.swatch-stone-400 { background: var(--stone-400); }
.swatch-stone-500 { background: var(--stone-500); }
.swatch-stone-600 { background: var(--stone-600); }
.swatch-stone-700 { background: var(--stone-700); }
.swatch-stone-800 { background: var(--stone-800); }
.swatch-amber-50 { background: var(--amber-50); }
.swatch-amber-100 { background: var(--amber-100); }
.swatch-amber-200 { background: var(--amber-200); }
.swatch-amber-300 { background: var(--amber-300); }
.swatch-amber-400 { background: var(--amber-400); }
.swatch-amber-500 { background: var(--amber-500); }
.swatch-amber-600 { background: var(--amber-600); }
.swatch-amber-700 { background: var(--amber-700); }
.swatch-amber-800 { background: var(--amber-800); }
.swatch-green-100 { background: var(--green-100); }
.swatch-green-300 { background: var(--green-300); }
.swatch-green-500 { background: var(--green-500); }
.swatch-green-700 { background: var(--green-700); }
.swatch-red-100 { background: var(--red-100); }
.swatch-red-300 { background: var(--red-300); }
.swatch-red-500 { background: var(--red-500); }
.swatch-red-700 { background: var(--red-700); }

/* Mark and mascot */
.mark-body { fill: currentColor; }
.mark-ball { fill: var(--amber-500); }
.mascot { width: 100%; height: auto; overflow: visible; color: inherit; }
.m-solid { fill: var(--m-body, currentColor); }
.m-screen { fill: var(--m-screen, transparent); }
.m-ball { fill: var(--m-ball, var(--amber-500)); }
.m-eye { fill: var(--m-eye, currentColor); }
.m-eye-arc { fill: none; stroke: var(--m-eye, currentColor); stroke-width: 30; stroke-linecap: round; }
.m-eyes { transition: transform var(--duration-fast) linear; }
.mascot-live .m-eye { transform-box: fill-box; transform-origin: center; animation: m-blink 5.2s infinite; }
.mascot-live .m-ball { transform-box: fill-box; transform-origin: center; animation: m-pulse 2.4s var(--ease-out) infinite; }
.m-arm { transform-box: view-box; }
.m-arm-left { transform-origin: 102.7px 402.5px; }
.m-arm-right { transform-origin: 549.3px 402.5px; }
.mascot-wave .m-arm-right { animation: m-wave 1.7s ease-in-out infinite; }
.mascot-cheer .m-arm-left { animation: m-cheer-left 1.1s ease-in-out infinite; }
.mascot-cheer .m-arm-right { animation: m-cheer-right 1.1s ease-in-out infinite; }
.mascot-hop { animation: m-hop 0.9s var(--ease-out) infinite; }
.mascot-scan .m-eyes { animation: m-scan 1.6s ease-in-out infinite; }
.mascot-glow { --m-body: var(--stone-200); --m-screen: var(--harbor-950); --m-eye: var(--amber-300); }
@keyframes m-blink { 0%, 95%, 100% { transform: scaleY(1); } 97.5% { transform: scaleY(0.08); } }
@keyframes m-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(217, 154, 30, 0)); transform: scale(1); }
  45% { filter: drop-shadow(0 0 22px rgba(232, 174, 58, 0.95)); transform: scale(1.08); }
}
@keyframes m-wave { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-16deg); } 60% { transform: rotate(8deg); } }
@keyframes m-cheer-left { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(14deg); } }
@keyframes m-cheer-right { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-14deg); } }
@keyframes m-hop { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-9%); } }
@keyframes m-scan { 0%, 100% { transform: translateX(-26px); } 50% { transform: translateX(26px); } }

/* Icons: same heavy stroke and round ends as the mark */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font: 700 var(--text-md)/1 var(--font-display);
  padding: 0.95em 1.45em;
  border: 0;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) linear, color var(--duration-fast) linear;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); }
.btn[aria-busy="true"] { cursor: progress; opacity: 0.85; }
.btn-accent { background: var(--amber-500); color: var(--harbor-900); box-shadow: 0 3px 0 var(--amber-700); }
.btn-accent:hover { background: var(--amber-400); color: var(--harbor-900); box-shadow: 0 4px 0 var(--amber-700); }
.btn-accent:active { box-shadow: 0 1px 0 var(--amber-700); }
.btn-dark { background: var(--harbor-900); color: var(--stone-200); box-shadow: 0 3px 0 var(--harbor-950); }
.btn-dark:hover { background: var(--harbor-800); color: var(--stone-0); box-shadow: 0 4px 0 var(--harbor-950); }
.btn-dark:active { box-shadow: 0 1px 0 var(--harbor-950); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-strong); }
.btn-ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-sm { font-size: var(--text-sm); padding: 0.72em 1.1em; }

/* Scan field: the main action on the site */
.scan { max-width: 37rem; }
.scan-label { display: block; font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--space-2); }
.scanbar {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--stone-0);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-3);
  transition: box-shadow var(--duration-fast) linear;
}
.scanbar:focus-within { box-shadow: 0 0 0 3px var(--amber-400), var(--shadow-3); }
.scanbar:has(input[aria-invalid="true"]) { box-shadow: 0 0 0 3px var(--red-500), var(--shadow-3); }
.scanbar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--harbor-900);
  font: 500 var(--text-md)/1.3 var(--font-mono);
  padding: 0 var(--space-2) 0 var(--space-5);
}
.scanbar input::placeholder { color: var(--stone-700); }
.scan-note { color: var(--ink-2); font-size: var(--text-sm); margin-top: var(--space-3); }
.scan-error { color: var(--bad); font-weight: 600; margin-top: var(--space-3); }

/* Form fields */
.field { display: grid; gap: var(--space-2); font-weight: 600; font-size: var(--text-sm); }
.field input, .field textarea {
  font: 400 var(--text-md)/1.4 var(--font-body);
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--stone-50);
  color: var(--harbor-900);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: box-shadow var(--duration-fast) linear;
}
.field input:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 2.5px var(--amber-500); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2.5px var(--red-500); }
.field-error { color: var(--bad); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Chips, lamps, and status */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font: 500 var(--text-xs)/1 var(--font-mono);
  padding: 0.5em 0.8em;
  border-radius: var(--radius-pill);
  background: var(--idle-soft);
  color: var(--ink);
}
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.lamp { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--stone-600); }
.lamp-good { background: var(--green-500); box-shadow: 0 0 0 3px rgba(30, 142, 110, 0.26), 0 0 14px rgba(30, 142, 110, 0.55); }
.lamp-partial { background: var(--amber-500); box-shadow: 0 0 0 3px rgba(217, 154, 30, 0.26), 0 0 14px rgba(217, 154, 30, 0.5); }
.lamp-bad { background: var(--red-500); box-shadow: 0 0 0 3px rgba(200, 65, 46, 0.26), 0 0 14px rgba(200, 65, 46, 0.5); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font: 500 var(--text-xs)/1 var(--font-mono);
  padding: 0.45em 0.7em 0.45em 0.55em;
  border-radius: var(--radius-pill);
  background: var(--idle-soft);
  color: var(--idle);
  white-space: nowrap;
}
.status .icon { width: 1.1em; height: 1.1em; stroke-width: 3; }
.status-pass { background: var(--ok-soft); color: var(--ok); }
.status-warn { background: var(--warn-soft); color: var(--warn); }
.status-fail, .status-error { background: var(--bad-soft); color: var(--bad); }

/* Cards */
.card { background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }

/* Code */
.codeblock {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--harbor-950);
  color: var(--harbor-100);
  box-shadow: 0 0 0 1px rgba(231, 236, 238, 0.1);
}
.codeblock pre { overflow-x: auto; padding: var(--space-5); font: 400 var(--text-sm)/1.65 var(--font-mono); }
.codeblock code { font-size: 1em; }
.codeblock-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5);
  font: 500 var(--text-xs)/1 var(--font-mono);
  color: var(--harbor-300);
  border-bottom: 1px solid rgba(231, 236, 238, 0.1);
}
.copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font: 500 var(--text-xs)/1 var(--font-mono);
  padding: 0.5em 0.8em;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(231, 236, 238, 0.1);
  color: var(--stone-200);
  cursor: pointer;
}
.copy:hover { background: rgba(231, 236, 238, 0.2); }
.copy[hidden] { display: none; }

/* Scores: hero figure plus a meter. The fill carries severity; numbers stay in ink. */
.score { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: 0 0 0 1px var(--line); }
.score-label { font-weight: 600; font-size: var(--text-sm); }
.score-value { font: 800 clamp(3.25rem, 2.6rem + 2.4vw, 4.5rem)/1 var(--font-display); letter-spacing: -0.02em; margin: var(--space-2) 0 var(--space-3); }
.score-max { font-size: 0.34em; font-weight: 700; letter-spacing: 0; color: var(--ink-2); margin-left: 0.15em; }
.score-hint { color: var(--ink-2); font-size: var(--text-sm); margin-top: var(--space-3); }
.meter { display: block; width: 100%; height: 10px; }
.meter-track { fill: var(--meter-track); }
.meter-fill { fill: var(--stone-600); }
.meter-good .meter-fill { fill: var(--green-500); }
.meter-partial .meter-fill { fill: var(--amber-500); }
.meter-bad .meter-fill { fill: var(--red-500); }

/* Unit chart: one mark per store */
.unit { width: 100%; max-width: 300px; height: auto; }
.unit-off { fill: var(--unit-off); }
.unit-on { fill: var(--unit-on); }

/* Check rows */
.check { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--space-4); padding: var(--space-4) var(--space-5); border-top: 1px solid var(--line); }
.check:first-child { border-top: 0; }
.check > .status { align-self: start; justify-self: start; }
.check-summary { font-weight: 600; }
.check-skipped .check-summary { font-weight: 400; color: var(--ink-2); }
.check-fix { margin-top: var(--space-1); color: var(--ink-2); font-size: var(--text-sm); }
.check-fix strong { color: var(--ink); }
.check-meta { margin-top: var(--space-2); font-size: var(--text-xs); color: var(--ink-2); overflow-wrap: anywhere; }
.check-meta .sep { margin-inline: var(--space-2); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  font: 700 var(--text-lg)/1.25 var(--font-display);
  letter-spacing: -0.005em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--duration-base) var(--ease-out); }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq p { color: var(--ink-2); padding-bottom: var(--space-5); max-width: 42rem; }

.charted { position: relative; overflow: clip; isolation: isolate; }
.charted::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201400%20900%22%20preserveAspectRatio%3D%22xMaxYMid%20slice%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%232a5a74%22%20stroke-width%3D%221.25%22%3E%3Cpath%20d%3D%22M1174%20560C1177%20572%201167%20588%201156%20598C1145%20609%201125%20618%201108%20622C1091%20626%201069%20623%201052%20623C1035%20622%201021%20622%201004%20620C986%20619%20960%20619%20946%20612C933%20605%20925%20590%20921%20579C916%20567%20916%20553%20921%20542C926%20530%20936%20518%20949%20509C962%20501%20982%20496%20999%20492C1017%20488%201037%20485%201054%20488C1070%20490%201084%20501%201098%20507C1112%20514%201125%20519%201138%20528C1151%20536%201171%20548%201174%20560Z%22%2F%3E%3Cpath%20d%3D%22M1293%20560C1298%20582%201280%20613%201259%20632C1238%20652%201201%20670%201168%20677C1136%20685%201096%20677%201062%20677C1029%20677%201003%20679%20970%20676C937%20673%20889%20672%20863%20659C838%20645%20825%20617%20817%20595C809%20572%20805%20547%20814%20525C823%20503%20845%20480%20869%20465C894%20449%20929%20437%20962%20430C995%20423%201035%20419%201066%20424C1097%20429%201120%20450%201147%20462C1174%20474%201204%20482%201228%20498C1252%20514%201288%20538%201293%20560Z%22%2F%3E%3Cpath%20d%3D%22M1426%20560C1433%20595%201406%20641%201375%20671C1343%20701%201286%20728%201235%20739C1185%20750%201125%20737%201074%20737C1023%20738%20981%20746%20931%20742C880%20737%20810%20732%20771%20710C733%20689%20715%20646%20702%20612C689%20578%20680%20539%20693%20506C706%20473%20742%20439%20780%20415C818%20390%20869%20369%20919%20359C969%20349%201033%20345%201080%20354C1127%20363%201159%20394%201201%20413C1243%20431%201295%20439%201332%20463C1369%20488%201419%20525%201426%20560Z%22%2F%3E%3Cpath%20d%3D%22M1573%20560C1582%20608%201548%20673%201504%20714C1460%20755%201378%20791%201309%20806C1239%20821%201157%20802%201087%20804C1016%20806%20955%20823%20886%20816C817%20810%20723%20797%20671%20766C620%20735%20595%20679%20576%20632C557%20585%20540%20530%20557%20485C575%20439%20628%20393%20680%20359C733%20325%20802%20292%20871%20278C940%20265%201029%20265%201094%20278C1159%20291%201202%20333%201261%20358C1321%20382%201399%20390%201451%20424C1503%20458%201564%20512%201573%20560Z%22%2F%3E%3Cpath%20d%3D%22M1733%20560C1744%20624%201705%20708%201648%20761C1590%20814%201479%20858%201388%20878C1297%20897%201193%20874%201101%20878C1009%20882%20924%20910%20835%20901C745%20893%20630%20867%20564%20826C497%20785%20462%20715%20436%20654C410%20593%20386%20521%20408%20462C431%20402%20503%20343%20571%20298C639%20252%20726%20205%20816%20188C906%20171%201025%20179%201110%20197C1195%20216%201249%20267%201327%20297C1406%20328%201516%20336%201584%20380C1651%20424%201722%20496%201733%20560Z%22%2F%3E%3Cpath%20d%3D%22M1906%20560C1919%20640%201878%20748%201805%20813C1733%20879%201586%20930%201471%20954C1357%20979%201233%20953%201117%20960C1001%20967%20889%201007%20778%20996C667%20984%20533%20943%20450%20890C367%20837%20316%20753%20282%20678C248%20602%20219%20511%20247%20437C275%20362%20365%20288%20450%20230C535%20172%20643%20107%20756%2088C869%2068%201019%2089%201126%20113C1234%20137%201300%20194%201401%20230C1501%20267%201646%20277%201730%20331C1815%20386%201894%20480%201906%20560Z%22%2F%3E%3Cpath%20d%3D%22M2094%20560C2108%20659%202066%20791%201977%20870C1888%20949%201700%201004%201559%201034C1419%201065%201275%201041%201135%201052C994%201063%20850%201115%20716%201099C582%201083%20430%201023%20330%20957C229%20891%20157%20795%20114%20704C71%20613%2040%20501%2074%20410C107%20318%20214%20228%20317%20156C419%2084%20553%200%20690%20-22C828%20-43%201011%20-4%201143%2025C1275%2055%201358%20114%201482%20156C1607%20198%201788%20211%201890%20279C1992%20346%202079%20461%202094%20560Z%22%2F%3E%3Cpath%20d%3D%22M2296%20560C2313%20678%202269%20838%202162%20931C2054%201024%201819%201081%201651%201118C1483%201156%201321%201140%201155%201155C988%201170%20808%201231%20649%201210C491%201189%20323%201107%20203%201028C83%20948%20-17%20840%20-69%20732C-121%20625%20-150%20491%20-110%20381C-71%20271%2048%20160%20170%2074C292%20-13%20455%20-116%20620%20-139C785%20-162%201002%20-101%201160%20-66C1319%20-30%201422%2025%201573%2073C1723%20121%201941%20141%202062%20222C2182%20303%202279%20442%202296%20560Z%22%2F%3E%3Cpath%20d%3D%22M2514%20560C2533%20699%202487%20889%202359%20997C2231%201104%201944%201160%201747%201206C1550%201251%201371%201249%201177%201270C982%201290%20763%201356%20578%201328C394%201300%20210%201197%2069%201102C-72%201008%20-204%20888%20-267%20763C-329%20638%20-351%20481%20-305%20351C-259%20221%20-134%2086%208%20-17C150%20-119%20350%20-240%20545%20-264C740%20-288%20991%20-201%201179%20-160C1367%20-119%201495%20-71%201672%20-18C1850%2036%202104%2065%202244%20161C2384%20258%202495%20421%202514%20560Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") right center / cover no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 40; background: rgba(14, 42, 59, 0.94); backdrop-filter: blur(10px); }
.masthead-row { display: flex; align-items: center; gap: var(--space-5); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: auto; flex: none; }
.brand-name { font: 800 1.5rem/1 var(--font-display); letter-spacing: -0.012em; }
.brand-by { font-size: var(--text-xs); color: var(--ink-2); padding-top: 5px; white-space: nowrap; }
.nav { display: flex; gap: var(--space-5); margin-left: var(--space-3); font-size: var(--text-sm); font-weight: 500; }
.nav a { color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color var(--duration-fast) linear; }
.nav a:hover { color: var(--ink); }
.masthead-actions { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
.lang {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 0.55em 0.9em;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  white-space: nowrap;
}
.lang:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.menu { display: none; position: relative; }
.menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  display: grid;
  gap: var(--space-1);
  min-width: 15rem;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--harbor-800);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-3);
}
.menu-panel a { padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--idle-soft); }

/* Hero */
.hero { padding-block: clamp(20px, 3vw, 44px) clamp(136px, 15vw, 208px); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(44rem 30rem at 76% 44%, rgba(217, 154, 30, 0.13), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font: 500 var(--text-xs)/1.2 var(--font-mono);
  padding: 0.6em 0.95em 0.6em 0.8em;
  border-radius: var(--radius-pill);
  background: var(--idle-soft);
  color: var(--ink);
  margin-bottom: var(--space-5);
}
.hero h1 { font-size: var(--display-l); }
.hero-lede { font-size: var(--text-lg); color: var(--harbor-200); margin: var(--space-5) 0 var(--space-6); max-width: 35rem; }

/* The agent run: what an agent does at a typical store */
.run { position: relative; margin-top: clamp(104px, 11vw, 152px); }
.run-bot { position: absolute; bottom: calc(100% - 3px); right: clamp(20px, 9%, 72px); width: clamp(118px, 12vw, 160px); }
.run-card {
  position: relative;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #1c4a64, var(--harbor-800) 44%, #143549);
  box-shadow: 0 0 0 1px rgba(231, 236, 238, 0.1), var(--shadow-3);
}
.run-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); font: 500 var(--text-xs)/1.3 var(--font-mono); color: var(--harbor-300); margin-bottom: var(--space-4); }
.run-title { color: var(--stone-200); }
.run-bubble { width: fit-content; max-width: 92%; padding: 10px 16px; font-size: var(--text-sm); font-weight: 500; line-height: 1.4; }
.run-ask { margin: 0 0 var(--space-3) auto; border-radius: 18px 18px 4px 18px; background: var(--stone-200); color: var(--harbor-900); }
.run-reply { margin-top: var(--space-3); border-radius: 18px 18px 18px 4px; background: rgba(200, 65, 46, 0.3); color: var(--stone-0); }
.run-step { display: grid; grid-template-columns: 14px 5.5rem minmax(0, 1fr); gap: var(--space-3); align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--text-sm); }
.run-name { font: 500 var(--text-sm)/1.2 var(--font-mono); color: var(--stone-200); }
.run-note { color: var(--harbor-200); line-height: 1.35; }
.run-ask, .run-step, .run-reply { animation: rise 0.5s var(--ease-out) both; }
.run-ask { animation-delay: 0.1s; }
.run-step:nth-child(1) { animation-delay: 0.4s; }
.run-step:nth-child(2) { animation-delay: 0.7s; }
.run-step:nth-child(3) { animation-delay: 1s; }
.run-step:nth-child(4) { animation-delay: 1.3s; }
.run-step:nth-child(5) { animation-delay: 1.6s; }
.run-reply { animation-delay: 2.1s; }
/* Starts dim, not hidden: a preview or a paused tab must never catch an empty panel. */
@keyframes rise { from { opacity: 0.22; transform: translateY(6px); } }

/* Proof: the sheet that slides over the hero */
.proof { position: relative; z-index: 2; margin-top: clamp(-128px, -9vw, -80px); }
.proof-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(24px, 4.5vw, 60px);
  border-radius: var(--radius-xl);
  background: var(--surface-raised);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-2);
}
.proof-sheet h2 { font-size: var(--display-m); }
.proof-median { display: flex; align-items: center; gap: var(--space-5); margin-top: var(--space-6); }
.proof-median-value { font: 800 clamp(3.75rem, 2.8rem + 3.4vw, 5.5rem)/0.9 var(--font-display); letter-spacing: -0.03em; white-space: nowrap; }
.proof-median-max { font-size: 0.32em; font-weight: 700; color: var(--ink-2); letter-spacing: 0; margin-left: 0.12em; }
.proof-median-label { font-weight: 600; line-height: 1.3; max-width: 11rem; }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); align-content: center; }
.proof-count { font: 800 var(--display-s)/1 var(--font-display); letter-spacing: -0.015em; }
.proof-of { font-size: 0.55em; font-weight: 700; color: var(--ink-2); letter-spacing: 0; }
.proof-name { font-weight: 600; font-size: var(--text-sm); margin: var(--space-1) 0 var(--space-3); }

/* A storefront versus what an agent gets */
.view-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.view-panel { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.view-label { font: 700 var(--text-lg)/1.1 var(--font-display); }
.shop { flex: 1; overflow: clip; }
.shop-bar { display: flex; align-items: center; gap: 6px; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); }
.shop-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--stone-400); }
.shop-url { margin-left: var(--space-2); padding: 4px 14px; font: 500 var(--text-xs)/1.2 var(--font-mono); color: var(--ink-2); background: var(--surface-page); border-radius: var(--radius-pill); }
.shop-banner { margin: var(--space-4); padding: var(--space-5); border-radius: var(--radius-md); background: var(--harbor-900); color: var(--stone-100); font: 800 var(--text-xl)/1.1 var(--font-display); }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); padding: 0 var(--space-4) var(--space-4); }
.product-art { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius-md); background: var(--amber-100); color: var(--harbor-800); }
.product:nth-child(2) .product-art { background: var(--harbor-100); }
.product:nth-child(3) .product-art { background: var(--green-100); }
.product-art svg { width: 58%; height: auto; fill: currentColor; }
.product-name { margin-top: var(--space-2); font-size: var(--text-sm); font-weight: 600; line-height: 1.25; }
.product-price { font: 500 var(--text-xs)/1.5 var(--font-mono); color: var(--ink-2); }
.product-buy { display: inline-block; margin-top: var(--space-2); padding: 0.45em 0.85em; border-radius: var(--radius-pill); background: var(--harbor-900); color: var(--stone-100); font: 700 var(--text-xs)/1 var(--font-display); }
.term { flex: 1; display: flex; flex-direction: column; padding: var(--space-3) var(--space-5) var(--space-5); border-radius: var(--radius-lg); background: var(--harbor-950); color: var(--stone-200); box-shadow: 0 0 0 1px rgba(14, 42, 59, 0.3), var(--shadow-2); }
.term-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--space-3); padding: var(--space-4) 0; border-bottom: 1px solid rgba(231, 236, 238, 0.1); }
.term-request { font: 500 var(--text-sm)/1.4 var(--font-mono); overflow-wrap: anywhere; }
.term-code { font: 500 var(--text-sm)/1.4 var(--font-mono); white-space: nowrap; }
.term-good { color: var(--green-300); }
.term-bad { color: var(--red-300); }
.term-note { grid-column: 1 / -1; color: var(--harbor-300); font-size: var(--text-sm); }
.term-foot { margin-top: auto; padding-top: var(--space-4); color: var(--harbor-300); font-size: var(--text-xs); }

/* The route: four stops, with the agent walking along */
.route .section-head { margin-bottom: var(--space-5); }
.route-track { position: relative; padding-top: 112px; }
.route-walker { position: absolute; top: 2px; left: 2px; width: 104px; }
.route-stops { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.route-stops::before { content: ""; position: absolute; inset: 27px 0 auto; border-top: 3px dashed var(--line-strong); }
.stop { position: relative; }
.stop-dot { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--space-4); border-radius: 50%; background: var(--amber-500); color: var(--harbor-900); font-size: 1.2rem; box-shadow: 0 0 0 7px var(--surface-page); }
.stop h3 { font-size: var(--text-xl); }
.stop-ask { margin-top: var(--space-2); font-weight: 500; color: var(--ink); }
.stop-gives { margin-top: var(--space-2); color: var(--ink-2); font-size: var(--text-sm); }
.stop .chips { margin-top: var(--space-3); }
.stop-without { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--text-sm); }
.stop-without strong { color: var(--warn); }

/* How it works */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.how-grid .section-head { margin-bottom: var(--space-6); }
.steps { display: grid; gap: var(--space-5); counter-reset: step; }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--space-4); counter-increment: step; }
.step::before { content: counter(step); width: 52px; height: 52px; border-radius: 16px; background: var(--harbor-900); color: var(--amber-300); font: 800 1.5rem/52px var(--font-display); text-align: center; }
.step h3 { font-size: var(--text-xl); }
.step p { color: var(--ink-2); margin-top: var(--space-1); }
.example { overflow: clip; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }
.example-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4) var(--space-5); font: 500 var(--text-xs)/1.3 var(--font-mono); color: var(--ink-2); border-bottom: 1px solid var(--line); }
.example-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); padding: var(--space-4) var(--space-5) var(--space-3); }
.example-scores .score { padding: var(--space-4); }
.example-scores .score-value { font-size: 2.75rem; margin: var(--space-1) 0 var(--space-2); }
.example .check { grid-template-columns: 6.25rem minmax(0, 1fr); padding: var(--space-3) var(--space-5); font-size: var(--text-sm); }

/* WooCommerce plugin band */
.band-wrap { padding-top: clamp(112px, 12vw, 160px); }
.band { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); padding: clamp(24px, 5vw, 64px); border-radius: var(--radius-xl); }
.band-bot { position: absolute; bottom: calc(100% - 3px); right: clamp(28px, 8%, 96px); width: clamp(104px, 11vw, 140px); --m-body: var(--harbor-900); --m-eye: var(--harbor-900); --m-ball: var(--amber-500); }
.band h2 { font-size: var(--display-m); }
.band-text { margin: var(--space-4) 0 var(--space-5); font-size: var(--text-lg); }
.band-trust { display: flex; gap: var(--space-3); align-items: flex-start; margin-top: var(--space-5); font-weight: 600; font-size: var(--text-sm); line-height: 1.45; }
.band-trust .icon { font-size: 1.15rem; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); align-content: center; }
.feature { padding: var(--space-4); border-radius: var(--radius-md); background: var(--amber-300); }
.feature .icon { font-size: 1.2rem; margin-bottom: var(--space-2); }
.feature h3 { font-size: var(--text-md); line-height: 1.2; letter-spacing: -0.005em; }
.feature p { font-size: var(--text-sm); line-height: 1.4; margin-top: var(--space-1); }

/* API */
.api-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.api-grid h2 { font-size: var(--display-m); }
.api-note { margin-top: var(--space-4); color: var(--ink-2); font-size: var(--text-sm); }
.api-code { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); min-width: 0; }

/* FAQ */
.faq-section { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-grid h2 { font-size: var(--display-m); }

/* Closing call to action */
.cta { padding-block: var(--section-y) clamp(112px, 12vw, 160px); text-align: center; }
.cta h2 { font-size: var(--display-m); }
.cta-text { font-size: var(--text-lg); color: var(--ink-2); margin: var(--space-3) 0 var(--space-6); }
.cta .scan { margin-inline: auto; text-align: left; }
.cta .scan-note { text-align: center; }

/* Footer */
.footer { position: relative; padding-block: var(--space-8) var(--space-6); background: var(--harbor-950); }
.footer-bot { position: absolute; bottom: calc(100% - 3px); right: clamp(24px, 10%, 140px); width: clamp(88px, 9vw, 116px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.footer-about { color: var(--ink-2); font-size: var(--text-sm); margin-top: var(--space-4); max-width: 26rem; }
.footer-title { font: 700 var(--text-md)/1.2 var(--font-display); margin-bottom: var(--space-3); }
.footer-links { display: grid; gap: var(--space-2); font-size: var(--text-sm); }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* Inner pages */
.pagehead { padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 72px); }
.pagehead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); }
.pagehead h1 { font-size: var(--display-m); max-width: 17em; }
.pagehead-text { font-size: var(--text-lg); color: var(--harbor-200); margin-top: var(--space-4); max-width: 40rem; }
.pagehead-bot { flex: none; width: clamp(88px, 12vw, 148px); margin-bottom: calc(-1 * clamp(40px, 6vw, 72px) - 3px); }
.page-body { padding-block: var(--space-7) var(--section-y); }
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--display-s); margin: var(--space-7) 0 var(--space-3); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: var(--space-4); }
.prose ul { list-style: disc; padding-left: 1.25em; display: grid; gap: var(--space-2); margin-bottom: var(--space-4); }
.prose li::marker { color: var(--amber-600); }
.prose .codeblock { margin-bottom: var(--space-4); }
.prose .btn { margin-top: var(--space-2); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-4); }
.stat { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: 0 0 0 1px var(--line); }
.stat-value { font: 800 var(--display-s)/1.05 var(--font-display); letter-spacing: -0.015em; white-space: nowrap; }
.stat-label { color: var(--ink-2); font-size: var(--text-sm); line-height: 1.35; margin-top: var(--space-1); }
.contact { display: grid; gap: var(--space-4); max-width: 36rem; padding: clamp(20px, 4vw, 36px); }
.contact-privacy { color: var(--ink-2); font-size: var(--text-sm); }
.contact .btn { justify-self: start; }
.form-error { color: var(--bad); font-weight: 600; margin-bottom: var(--space-4); }

/* Report */
.report-hero { padding-block: clamp(24px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.report-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.report-host { font-size: var(--display-l); overflow-wrap: anywhere; }
.report-meta { margin-top: var(--space-3); color: var(--ink-2); font: 400 var(--text-sm)/1.5 var(--font-mono); }
.report-meta .sep { margin-inline: var(--space-2); }
.verdict { margin-top: var(--space-5); font: 700 var(--text-xl)/1.2 var(--font-display); max-width: 30rem; }
.report-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: flex-end; margin-top: var(--space-6); }
.share { display: grid; gap: var(--space-2); flex: 1; min-width: 15rem; max-width: 30rem; font-size: var(--text-xs); font-weight: 600; }
.share-row { display: flex; gap: var(--space-2); }
.share input { flex: 1; min-width: 0; padding: 0.8em 1em; border: 0; border-radius: var(--radius-pill); background: var(--idle-soft); color: var(--ink); font: 400 var(--text-xs)/1.2 var(--font-mono); }
.scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.report-section { padding-block: var(--space-8) 0; }
.report-section h2 { font-size: var(--display-s); }
.report-section-text { color: var(--ink-2); margin-top: var(--space-2); }

.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--space-5); }
.strip-stop { position: relative; display: flex; flex-direction: column; padding: 108px var(--space-3) 0 0; }
.strip-bot { position: absolute; top: 0; left: -6px; width: 96px; }
.strip-line { position: absolute; inset: 106px 0 auto 6px; border-top: 3px dashed var(--line-strong); }
.strip-stop:last-child .strip-line { display: none; }
.strip-stop .lamp { position: relative; width: 16px; height: 16px; outline: 5px solid var(--surface-page); }
.strip-name { margin-top: var(--space-3); font-size: var(--text-lg); }
.strip-score { font: 500 var(--text-xs)/1.5 var(--font-mono); color: var(--ink-2); }
.strip-here { align-self: flex-start; margin-top: var(--space-2); }

.fixes { display: grid; gap: var(--space-3); margin-top: var(--space-5); counter-reset: fix; max-width: 52rem; }
.fix { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-4) var(--space-5); counter-increment: fix; }
.fix::before { content: counter(fix); width: 40px; height: 40px; border-radius: 12px; background: var(--harbor-900); color: var(--amber-300); font: 800 1.2rem/40px var(--font-display); text-align: center; }
.fix-text { font-weight: 500; }
.fix .chips { margin-top: var(--space-2); }
.fix-none { margin-top: var(--space-4); color: var(--ink-2); }

.protos { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.proto { overflow: clip; }
.proto-head { display: grid; grid-template-columns: 16px auto minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; padding: var(--space-4) var(--space-5); }
.proto-code { font-size: var(--text-xl); }
.proto-meaning { color: var(--ink-2); font-size: var(--text-sm); }
.proto-score { font: 500 var(--text-sm)/1 var(--font-mono); white-space: nowrap; }
.report-plugin { padding-block: var(--space-8) var(--section-y); }
.plugin-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); }
.plugin-card h2 { font-size: var(--display-s); }
.plugin-card p { margin-top: var(--space-2); max-width: 44rem; }

/* Scan in progress */
.overlay { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--gutter); }
.overlay[hidden] { display: none; }
.overlay-box { width: min(26rem, 100%); text-align: center; }
.overlay-bot { width: 148px; margin: 0 auto var(--space-5); }
.overlay-title { font: 800 var(--display-s)/1.1 var(--font-display); letter-spacing: -0.015em; }
.overlay-steps { display: grid; gap: 2px; margin-top: var(--space-5); text-align: left; }
.overlay-step { display: flex; align-items: center; gap: var(--space-3); padding: 10px 14px; border-radius: var(--radius-sm); color: var(--ink-2); transition: background-color var(--duration-base) linear, color var(--duration-base) linear; }
.overlay-step.is-active { background: var(--idle-soft); color: var(--ink); }
.overlay-step.is-active .lamp { background: var(--amber-500); box-shadow: 0 0 0 3px rgba(217, 154, 30, 0.26), 0 0 14px rgba(217, 154, 30, 0.5); }
.overlay-step.is-done { color: var(--ink); }
.overlay-step.is-done .lamp { background: var(--green-500); }
.overlay-note { margin-top: var(--space-4); color: var(--ink-2); font-size: var(--text-sm); }

/* Living design system */
.ds-section { padding-block: var(--space-7); border-top: 1px solid var(--line); }
.ds-section:first-child { border-top: 0; padding-top: 0; }
.ds-section > h2 { font-size: var(--display-s); }
.ds-note { color: var(--ink-2); margin: var(--space-2) 0 var(--space-5); max-width: 44rem; }
.ds-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.ds-row + .ds-row, .ds-row + .ds-ramps, .ds-ramps + .ds-row { margin-top: var(--space-5); }
.ds-tile { display: grid; place-items: center; gap: var(--space-2); width: 9.5rem; padding: var(--space-4); border-radius: var(--radius-md); font: 500 var(--text-xs)/1.3 var(--font-mono); text-align: center; }
.ds-tile-light { background: var(--surface-raised); box-shadow: 0 0 0 1px var(--line); }
.ds-tile .mascot, .ds-tile .brand-mark { width: 88px; }
.ds-ramps { display: grid; gap: var(--space-3); }
.ds-ramp { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: center; gap: var(--space-3); }
.ds-ramp-name { font: 700 var(--text-md)/1 var(--font-display); text-transform: capitalize; }
.ds-swatches { display: flex; gap: 4px; }
.ds-swatch { flex: 1; min-width: 0; display: flex; align-items: flex-end; height: 56px; padding: 4px 6px; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px rgba(14, 42, 59, 0.08); font: 500 11px/1 var(--font-mono); }
.ds-swatch-light { color: var(--stone-0); }
.ds-swatch-dark { color: var(--harbor-900); }
.ds-type { display: grid; gap: var(--space-4); }
.ds-type-display-l { font: 800 var(--display-l)/1.04 var(--font-display); letter-spacing: -0.018em; }
.ds-type-display-m { font: 800 var(--display-m)/1.04 var(--font-display); letter-spacing: -0.018em; }
.ds-type-display-s { font: 800 var(--display-s)/1.04 var(--font-display); letter-spacing: -0.018em; }
.ds-type-body { font-size: var(--text-lg); max-width: 40rem; }
.ds-type-mono { font: 500 var(--text-sm)/1.5 var(--font-mono); }
.ds-grid { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--space-4); align-items: start; }
.ds-card { padding: var(--space-5); }
.ds-demo-dark { padding: var(--space-5); border-radius: var(--radius-lg); }

/* Not found */
.lost { display: grid; justify-items: center; gap: var(--space-4); padding-block: var(--section-y); text-align: center; }
.lost h1 { font-size: var(--display-m); }
.lost p { color: var(--ink-2); font-size: var(--text-lg); }
.lost-bot { width: 150px; }

/* The agent walks the route as the section scrolls past, where the browser supports it. */
@supports (animation-timeline: view()) {
  @media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
    .route-walker { animation: walk linear both; animation-timeline: view(); animation-range: entry 35% cover 62%; }
    @keyframes walk { from { left: 0; } to { left: calc(75% + 6px); } }
  }
}

@media (max-width: 1120px) {
  .nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 980px) {
  .hero-grid, .proof-sheet, .how-grid, .band, .api-grid, .faq-grid, .report-grid, .view-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-bottom: 152px; }
  .run { max-width: 36rem; }
  .route-track { padding-top: 0; }
  .route-walker { display: none; }
  .route-stops { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .route-stops::before { inset: 0 auto 0 26px; border-top: 0; border-left: 3px dashed var(--line-strong); }
  .stop { padding-left: 76px; }
  .stop-dot { position: absolute; left: 0; top: 0; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-5); }
  .strip-stop:nth-child(2) .strip-line { display: none; }
  .strip-stop { padding-top: 0; }
  .strip-stop:has(.strip-bot) { padding-top: 104px; }
  .strip-line, .strip-bot { display: none; }
  .strip-stop:has(.strip-bot) .strip-bot { display: block; }
  .strip-stop:has(.strip-bot) { padding-top: 92px; }
  .strip-stop .strip-bot { top: 0; left: 0; width: 84px; }
  .strip { align-items: end; }
}
@media (max-width: 720px) {
  .brand-by { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .proof-grid { gap: var(--space-5); }
  .check { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .example .check { grid-template-columns: minmax(0, 1fr); }
  .proto-head { grid-template-columns: 16px minmax(0, 1fr) auto; }
  .proto-meaning { grid-column: 2 / -1; grid-row: 2; }
  .pagehead-bot { display: none; }
  .ds-swatch { font-size: 0; }
}
@media (max-width: 560px) {
  .masthead-row { gap: var(--space-2); min-height: 68px; }
  .masthead-actions .lang { display: none; }
  .brand-mark { width: 38px; }
  .brand-name { font-size: 1.3rem; }
  .scanbar { flex-direction: column; border-radius: var(--radius-lg); padding: var(--space-3); }
  .scanbar input { padding: 10px var(--space-2); }
  .scanbar .btn { width: 100%; }
  .run-card { padding: var(--space-4); }
  .run-step { grid-template-columns: 14px 5.6rem minmax(0, 1fr); gap: var(--space-2); }
  .run-name { font-size: var(--text-xs); }
  .run-head { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
  .shop-grid { gap: var(--space-2); }
  .product-buy { display: none; }
  .proof-grid, .scores, .features, .example-scores { grid-template-columns: minmax(0, 1fr); }
  .unit { max-width: none; }
  .proof-median { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .proof-median-label { max-width: none; }
  .fix { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .report-actions > form .btn { width: 100%; }
  .report-actions > form { width: 100%; }
  .band-bot { right: var(--space-5); }
}
