/* VIZ — The App Company / digital product atelier.
   CSS-only redesign. Original documents, copy, data and interaction hooks remain intact. */

@font-face {
  font-family: "VIZ Manrope";
  src: url("/assets/viz/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "VIZ DM Sans";
  src: url("/assets/viz/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "VIZ IBM Plex Mono";
  src: url("/assets/viz/ibm-plex-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ivory: #f3f2eb;
  --ink: #172747;
  --cobalt: #2554ea;
  --lime: #d5f17c;
  --bg-void: #e9e9e1;
  --bg-base: #f3f2eb;
  --bg-elevated: #fdfdf8;
  --bg-card: #f9f9f3;
  --bg-card-hover: #fffef9;
  --bg-glass: rgb(243 242 235 / 97%);
  --bg-stone: #e8eae2;
  --text-primary: #172747;
  --text-secondary: #40506a;
  --text-muted: #5d6878;
  /* Compatibility tokens also colour the original inline styles. */
  --accent-vermilion: #2554ea;
  --accent-vermilion-soft: #e5eaff;
  --accent-cyan: #2554ea;
  --accent-cyan-bright: #2048c6;
  --accent-cyan-glow: #e5eaff;
  --accent-emerald: #d5f17c;
  --accent-emerald-bright: #3f5b1e;
  --accent-emerald-glow: #edf4d8;
  --accent-amber: #85531c;
  --accent-rose: #a23e4b;
  --border-subtle: #d5d9d2;
  --border-ink: #172747;
  --border-active: #2554ea;
  --border-emerald: #9fbb55;
  --font-display: "VIZ Manrope", "Manrope", sans-serif;
  --font-sans: "VIZ DM Sans", "DM Sans", sans-serif;
  --font-mono: "VIZ IBM Plex Mono", "IBM Plex Mono", monospace;
  --container-max: 1800px;
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-card: none;
  --shadow-hard: none;
  --shadow-glow: 0 16px 50px rgb(23 39 71 / 8%);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 110px;
  text-size-adjust: 100%;
}
body {
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
}
main { flex: 1; min-width: 0; }
::selection { color: var(--ink); background: var(--lime); }
a { color: var(--accent-cyan-bright); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 5px; }
img, video, canvas, svg { max-width: 100%; }
img, video { height: auto; }
svg { flex-shrink: 0; }
.container {
  width: min(calc(100% - 64px), 1800px);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
  min-width: 0;
}
:where(.hero-grid, .split-workspace, .bento-grid-2, .bento-grid-3, .bento-grid-4, .footer-grid) > * { min-width: 0; }
:where(main, .site-footer, .telemetry-topbar) :where(p, li, a, span, h1, h2, h3, h4, code, pre) { overflow-wrap: anywhere; }
h1, h2, h3, h4, .display-heading {
  font-family: var(--font-display);
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.12;
  letter-spacing: -0.047em;
  text-wrap: pretty;
}
h1 { font-size: clamp(2.5rem, 4.15vw, 4.625rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 2.65vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.55vw, 1.75rem); letter-spacing: -0.035em; }
h4 { font-size: 1.1rem; }
p { color: var(--text-secondary); font-size: 1.025rem; line-height: 1.8; }
strong { font-weight: 700; }
code, pre, .mono, .tabular-nums { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
code { background: var(--bg-stone); color: var(--text-primary); padding: 0.14em 0.35em; border-radius: 4px; font-size: 0.85em; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }

/* A quiet data ribbon above a compact studio masthead. */
.telemetry-topbar { border-bottom: 1px solid var(--border-subtle); padding: 10px 0; background: #e8eae2; font-family: var(--font-mono); font-size: 0.625rem; line-height: 1.5; }
.telemetry-topbar .container, .telemetry-items { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.telemetry-topbar .container { justify-content: space-between; }
.telemetry-pill { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.telemetry-topbar a { color: var(--ink); font-size: 0.625rem !important; }
.status-dot { width: 6px; height: 6px; flex: 0 0 6px; display: inline-block; border-radius: 50%; background: var(--cobalt); }
.status-dot.cyan { background: #46698e; }
.status-dot.amber { background: #7b8b37; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg-glass); border-bottom: 1px solid var(--border-subtle); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; padding-block: 15px; }
.brand-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text-primary); text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 43px; height: 43px; border-radius: 14px 14px 14px 3px; background: var(--lime); display: grid; place-items: center; flex-shrink: 0; transform: rotate(-4deg); }
.brand-mark svg { transform: rotate(4deg); stroke: var(--ink); }
.brand-mark svg path { stroke: var(--cobalt); }
.brand-text-wrap { display: flex; flex-direction: column; gap: 5px; }
.brand-name { font-family: var(--font-display); font-size: 0.99rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.035em; }
.brand-sub { font-family: var(--font-mono); color: var(--text-muted); font-size: 0.55rem; line-height: 1.45; letter-spacing: 0; }
.main-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px 2px; min-width: 0; }
.nav-link { padding: 9px 10px; color: var(--text-secondary); font-size: 0.74rem; font-weight: 600; line-height: 1.3; text-decoration: none; border-radius: 99px; }
.nav-link:hover { background: #e6e8df; color: var(--ink); }
.nav-link.active { background: var(--ink); color: var(--ivory); }
.nav-badge-link { color: #2048c6; box-shadow: inset 0 0 0 1px #bdc9ee; }
.header-actions { display: flex; align-items: center; flex-shrink: 0; }
.mobile-menu-toggle { display: none; border: 1px solid var(--border-subtle); border-radius: 99px; padding: 10px 13px; color: var(--ink); background: transparent; font-family: var(--font-mono); font-size: 0.65rem; line-height: 1.2; }
.mobile-menu-toggle[aria-expanded="true"] { background: var(--lime); border-color: #a6bf67; }

/* Studio buttons: soft corners, substantial targets, no clipped labels. */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 47px; max-width: 100%; padding: 13px 22px; border-radius: 99px; border: 1px solid transparent; background: transparent; color: var(--text-primary); font-family: var(--font-sans); font-size: 0.85rem; line-height: 1.4; font-weight: 650; text-decoration: none; text-align: center; white-space: normal; overflow-wrap: anywhere; transition: transform 180ms ease; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--cobalt); color: white !important; border-color: var(--cobalt); }
.btn-primary:hover { background: #1c45cd; }
.btn-emerald { background: var(--lime); color: var(--ink) !important; border-color: #c5df70; }
.btn-emerald:hover { background: #c8e96b; }
.btn-outline { border-color: var(--border-subtle); background: transparent; color: var(--text-primary) !important; }
.btn-outline:hover { background: var(--bg-stone); border-color: var(--text-muted); }
.btn-sm { min-height: 38px; padding: 10px 15px; font-size: 0.72rem; }
.btn-lg { min-height: 53px; padding: 16px 24px; font-size: 0.86rem; }

/* Signature opening: oversized copy beside a photographic product still life. */
.bg-grid-pattern { background-image: none; }
.hero-section { position: relative; isolation: isolate; padding: clamp(52px, 5.5vw, 100px) 0 clamp(62px, 5.5vw, 100px) !important; border-bottom: 1px solid var(--border-subtle); background: var(--ivory); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: start; gap: clamp(36px, 4vw, 76px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 25px; color: var(--text-muted); font-family: var(--font-mono); font-size: 0.64rem; line-height: 1.7; letter-spacing: 0.025em; font-weight: 500; }
.hero-kicker > .status-dot { width: 9px; height: 9px; flex-basis: 9px; box-shadow: 0 0 0 5px #e5eacb; }
.hero-title { margin-bottom: 28px; }
.hero-title .accent { color: var(--cobalt); font-style: normal; }
.hero-lead { font-size: clamp(1rem, 1.08vw, 1.2rem); line-height: 1.8; max-width: 65ch; margin-bottom: 28px; }
.hero-grid > .card-interactive, .hero-section > .container > .bento-grid-2 > .card-interactive { padding: 0; background: transparent; border: 0; box-shadow: none; gap: 25px; }
.hero-grid > .card-interactive::before, .hero-section > .container > .bento-grid-2 > .card-interactive::before { content: ""; display: block; width: 100%; aspect-ratio: 1.5; flex: 0 0 auto; background: #e7e9df url("/assets/viz/app-hero-1280.webp") center / cover no-repeat; border-radius: 22px; }
.hero-grid > .card-interactive > div > div:first-child { flex-wrap: wrap; gap: 10px; }
.hero-grid > .card-interactive > div > h2 { font-size: 1.32rem !important; letter-spacing: -0.04em; margin-bottom: 20px !important; }
.hero-grid .metric-card { background: transparent; border: 0; border-top: 1px solid #cbd2c9; border-radius: 0; padding: 17px 0 !important; }
.hero-grid .metric-big { font-size: clamp(1.75rem, 2.2vw, 2.5rem) !important; margin-block: 7px; }
.hero-grid .metric-sub { font-size: 0.73rem; }
.hero-grid .metric-label { font-size: 0.62rem; }
.hero-grid .bento-grid-2 { column-gap: 25px !important; row-gap: 2px !important; margin-bottom: 0 !important; }
.hero-grid .protocol-box { border: 0; border-radius: 8px; padding: 15px !important; font-size: 0.65rem; background: #e6e9df; }
.hero-grid .protocol-box .badge { font-size: 0.6rem; }
.hero-section:not(:has(.hero-grid)) > .container { position: relative; }
.hero-section:not(:has(.hero-grid)) .hero-title { max-width: 26ch !important; padding-right: 1rem; }
.hero-section:not(:has(.hero-grid))::after { content: ""; position: absolute; z-index: -1; right: max(32px, calc((100% - 1800px) / 2)); top: 65px; width: clamp(120px, 17vw, 320px); aspect-ratio: 1; border: clamp(24px, 4vw, 74px) solid #e0e8cc; border-radius: 50%; }
.hero-section:not(:has(.hero-grid)) .answer-capsule { max-width: 96ch !important; margin-bottom: 0; }
.answer-capsule { margin: 25px 0; padding: 22px 0 8px 21px; border: 0; border-left: 2px solid var(--cobalt); background: transparent; box-shadow: none; }
.answer-capsule-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; color: var(--accent-cyan-bright); font-family: var(--font-mono); font-size: 0.6rem; font-weight: 500; line-height: 1.65; }
.answer-capsule p { font-size: 0.91rem; line-height: 1.75; color: var(--text-secondary); }

/* Spacious, full-width editorial sections. */
.section-block { padding: clamp(62px, 6vw, 112px) 0; border-bottom: 1px solid var(--border-subtle); }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 42px; }
.section-header-left { max-width: min(100%, 930px); }
.section-header h2 { max-width: 30ch; }
.section-eyebrow { display: block; margin-bottom: 15px; font-family: var(--font-mono); color: var(--accent-cyan-bright); font-size: 0.64rem; line-height: 1.75; letter-spacing: 0.055em; font-weight: 500; }
.bento-grid-2, .bento-grid-3, .bento-grid-4, .split-workspace { display: grid; gap: clamp(22px, 2.2vw, 40px); }
.bento-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bento-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bento-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split-workspace { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: start; }
.card { min-width: 0; padding: clamp(24px, 2.5vw, 45px); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--bg-card); }
.card > p, .card > ul, .card > ol { max-width: 76ch; }
.card > ul:not([style]), .card > ol:not([style]) { padding-left: 1.25rem; color: var(--text-secondary); }
.card > :where(ul, ol) li { line-height: 1.75; }
.card > h2 { font-size: clamp(1.7rem, 2.1vw, 2.4rem); }
.card-interactive { border-color: #bec9de; background: #ebeff8; }
.card-emerald { background: #eaf0da; border-color: #cbd7b6; }
.card-amber { background: #eeeadc; border-color: #dad3be; }
.bento-grid-4 > .card, .bento-grid-3 > article.card { position: relative; border: 0; border-top: 1px solid #bfc7c0; border-radius: 0; padding: 29px 12px 26px 0; background: transparent; }
.bento-grid-4 > .card h3 { font-size: clamp(1.25rem, 1.45vw, 1.65rem); }
.bento-grid-4 > .card > a, article.card > a { font-weight: 650; font-size: 0.9rem; }
.bento-grid-3 > article.card-interactive { padding: 29px; border-radius: var(--radius-md); background: var(--lime); border: 0; }
.metric-card { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 25px; border-radius: 12px; border: 1px solid var(--border-subtle); background: var(--bg-elevated); }
.metric-label { font-family: var(--font-mono); color: var(--text-muted); font-size: 0.65rem; line-height: 1.6; font-weight: 500; letter-spacing: 0.015em; }
.metric-big { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.055em; line-height: 1.15; color: var(--text-primary); font-size: clamp(1.8rem, 2.8vw, 3.25rem); font-variant-numeric: tabular-nums; margin: 11px 0; }
.metric-big.cyan { color: var(--accent-cyan-bright); }
.metric-big.emerald { color: var(--accent-emerald-bright); }
.metric-big.amber { color: var(--accent-cyan-bright); }
.metric-sub { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.6; }
.badge { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 10px; border: 1px solid transparent; border-radius: 6px; font-family: var(--font-mono); font-size: 0.61rem; line-height: 1.65; font-weight: 500; letter-spacing: 0.01em; vertical-align: middle; text-decoration: none; }
.badge-cyan { background: #e4eaff; color: #2446b0; }
.badge-emerald { background: #e1edc5; color: #334e17; }
.badge-amber { background: #f2e8cd; color: #71501f; }
.badge-rose { background: #f7e2e3; color: #973c4b; }
.badge-slate { background: var(--bg-stone); color: var(--text-secondary); }

/* Interactive desks retain their original DOM and all JS hooks. */
.control-group { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--border-subtle); }
.control-group:last-child { padding-bottom: 0; border-bottom: 0; }
.control-label { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 7px 18px; color: var(--text-primary); font-size: 0.95rem; font-weight: 650; line-height: 1.5; margin-bottom: 14px; }
.control-label > .mono { font-size: 0.65rem !important; font-weight: 400; }
.option-pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); gap: 9px; }
.option-pill { position: relative; min-width: 0; padding: 16px; border: 1px solid #cdd3cb; border-radius: 10px; background: transparent; color: var(--text-secondary); font-size: 0.82rem; line-height: 1.5; text-align: left; font-weight: 550; overflow-wrap: anywhere; transition: transform 160ms ease; }
.option-pill:hover { background: #e9eddf; border-color: #9aa992; transform: translateY(-2px); }
.option-pill.selected { background: var(--ink); color: white; border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--lime); }
.option-pill .pill-sub { display: block; margin-top: 7px; color: var(--text-muted); font-family: var(--font-mono); font-size: 0.61rem; line-height: 1.65; font-weight: 400; }
.option-pill.selected .pill-sub { color: #d4e8a3; }
.input-field, .select-field { width: 100%; min-width: 0; max-width: 100%; min-height: 51px; border-radius: 9px; border: 1px solid #bac4ba; padding: 13px 15px; background: var(--bg-elevated); color: var(--text-primary); font-family: var(--font-sans); font-size: 0.92rem; line-height: 1.5; }
.select-field { text-overflow: ellipsis; padding-right: 28px; }
input[type="range"] { display: block; width: 100%; min-height: 36px; margin: 13px 0; accent-color: var(--cobalt); cursor: pointer; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--cobalt); }
textarea { resize: vertical; }
.score-bar-row { margin-bottom: 21px; }
.score-bar-header { display: flex; justify-content: space-between; gap: 20px; color: var(--text-secondary); font-family: var(--font-mono); font-size: 0.67rem; line-height: 1.7; margin-bottom: 9px; }
.score-bar-header > :last-child { flex-shrink: 0; font-weight: 600; }
.score-track { height: 7px; background: var(--bg-stone); border-radius: 99px; overflow: hidden; }
.score-fill { height: 100%; border-radius: inherit; }
.score-fill.pwa { background: var(--lime); }
.score-fill.web { background: #829be8; }
.score-fill.native { background: #65768f; }
.brief-output { min-height: 120px; max-height: 320px; overflow: auto; padding: 18px; border: 1px solid var(--border-subtle); border-radius: 9px; background: var(--bg-base); color: var(--text-secondary); font-size: 0.69rem; line-height: 1.9; white-space: pre-wrap; }
.protocol-box, .case-callout-box { padding: 21px; border-radius: 10px; background: var(--bg-stone); color: var(--text-secondary); border: 1px solid var(--border-subtle); font-size: 0.8rem; line-height: 1.8; }
.protocol-box { font-family: var(--font-mono); }
.case-callout-box { margin-bottom: 25px; border-left: 3px solid var(--lime); }
.case-callout-box.highlighted { border-color: var(--lime); }
.share-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 24px; padding-top: 23px; border-top: 1px solid var(--border-subtle); }
.share-btn-group { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; max-width: 100%; }
.sticky-panel { position: sticky; top: 108px; }

/* A restrained ink surface distinguishes calculated answers from inputs.
   Local tokens keep original inline colour declarations legible here. */
.split-workspace > .card-interactive {
  --bg-base: #1c2d4b;
  --bg-elevated: #213554;
  --bg-card: #213554;
  --bg-card-hover: #2c405e;
  --bg-stone: #30415e;
  --text-primary: #f7f8ef;
  --text-secondary: #d4ddeb;
  --text-muted: #b8c4d6;
  --accent-cyan: #adbeff;
  --accent-cyan-bright: #b6c7ff;
  --accent-vermilion: #b6c7ff;
  --accent-emerald-bright: #d5f17c;
  --accent-amber: #f1d28f;
  --accent-rose: #ffb4bb;
  --border-subtle: #485771;
  background: var(--ink);
  color: var(--text-primary);
  border-color: var(--ink);
  border-radius: 20px;
}
.split-workspace > .card-interactive .metric-card { background: transparent; }
.split-workspace > .card-interactive .badge-cyan { background: #32476e; color: #dce4ff; }
.split-workspace > .card-interactive .badge-emerald { background: #d5f17c; color: #233711; }
.split-workspace > .card-interactive .badge-amber { background: #574b34; color: #f8e0ae; }
.split-workspace > .card-interactive .data-table th { background: #263a58; }
.split-workspace > .card-interactive .data-table td { border-color: #3d506c; }
#tco-out-savings { font-size: clamp(2.3rem, 3.4vw, 4rem) !important; margin-top: 24px; margin-bottom: 18px !important; }

/* Tables remain whole and readable; only their own wrapper may scroll. */
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--bg-elevated); scrollbar-width: thin; scrollbar-color: #92a2b6 transparent; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.85rem; line-height: 1.6; }
.data-table th { background: #e7eae2; padding: 19px 20px; border-bottom: 1px solid var(--border-subtle); color: var(--text-primary); font-family: var(--font-mono); font-size: 0.64rem; font-weight: 500; line-height: 1.7; letter-spacing: 0.015em; white-space: normal; vertical-align: top; }
.data-table td { color: var(--text-secondary); padding: 22px 20px; border-bottom: 1px solid var(--border-subtle); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--bg-card-hover); }
.data-table td strong { color: var(--text-primary); font-weight: 650; }
.data-table :is(td, th).num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; font-size: 0.72rem; white-space: nowrap; }
.data-table .badge { font-size: 0.58rem; }

/* Supporting stories, governance pages and the original FAQ details. */
.breadcrumb-bar { padding: 15px 0; border-bottom: 1px solid var(--border-subtle); background: var(--ivory); font-family: var(--font-mono); font-size: 0.65rem; }
.breadcrumb-list { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; list-style: none; color: var(--text-muted); }
.breadcrumb-list a { color: var(--text-secondary); text-decoration: none; }
.faq-list, .faq-grid { display: grid; gap: 0; }
.faq-item { background: transparent; border: 0; border-top: 1px solid var(--border-subtle); padding: 25px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border-subtle); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 25px; font-family: var(--font-display); font-size: clamp(1.02rem, 1.4vw, 1.35rem); font-weight: 650; line-height: 1.5; color: var(--text-primary); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 15px; height: 15px; flex: 0 0 15px; background: linear-gradient(var(--cobalt), var(--cobalt)) center / 100% 2px no-repeat, linear-gradient(var(--cobalt), var(--cobalt)) center / 2px 100% no-repeat; transition: transform 180ms ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { max-width: 80ch; margin-top: 18px; font-size: 0.95rem; }
.verdict-scorecard { padding: clamp(25px, 3vw, 52px); margin-bottom: 42px; border: 1px solid #bccaa5; border-radius: 20px; background: #eaf0da; }
.scorecard-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 25px; border-bottom: 1px solid #c4cfb8; padding-bottom: 25px; margin-bottom: 27px; }
.scorecard-overall { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.scorecard-badge-num { padding: 16px 21px; border-radius: 13px; background: var(--ink); color: var(--lime); font-family: var(--font-display); font-size: 2.65rem; font-weight: 800; letter-spacing: -0.055em; line-height: 1.1; }
.edge-status-bar { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 11px 15px; border-radius: 99px; background: #dce8c4; color: #334c27; font-family: var(--font-mono); font-size: 0.65rem; }
.pros-cons-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
.pros-list, .cons-list { padding-left: 20px; color: var(--text-secondary); }
.pros-list li, .cons-list li { margin-block: 13px; line-height: 1.75; }

/* Colophon: a single ink section closes the otherwise daylight site. */
.site-footer {
  --text-primary: #f3f2eb;
  --text-secondary: #d0d8e7;
  --text-muted: #b3bfd2;
  --bg-stone: #2e3e59;
  --border-subtle: #40506a;
  margin-top: auto;
  padding: 75px 0 28px;
  background: var(--ink);
  color: var(--text-primary);
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 60px); margin-bottom: 60px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.05em; margin-bottom: 22px; color: #d5f17c; }
.footer-col .brand-name { color: var(--ivory); }
.footer-col .brand-logo { flex-wrap: wrap; }
.footer-links { display: grid; gap: 14px; list-style: none; }
.footer-links a { color: #d0d8e7; font-size: 0.83rem; line-height: 1.6; text-decoration: none; }
.footer-links a:hover { color: var(--lime); text-decoration: underline; }
.footer-col > p { max-width: 43ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--border-subtle); padding-top: 25px; font-family: var(--font-mono); font-size: 0.62rem; line-height: 1.8; color: var(--text-muted); }
.footer-bottom a { color: #d3dfab; }

@media (min-width: 1800px) {
  .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: 75px; }
  .hero-kicker { margin-bottom: 31px; }
  .hero-title { line-height: 1.1; }
  .nav-link { font-size: 0.8rem; padding-inline: 13px; }
  .header-inner { min-height: 94px; }
  .hero-grid > .card-interactive::before, .hero-section > .container > .bento-grid-2 > .card-interactive::before { background-image: url("/assets/viz/app-hero-1536.webp"); }
}
@media (max-width: 1400px) {
  .header-inner { gap: 14px; flex-wrap: wrap; padding-block: 13px; }
  .brand-logo { gap: 9px; }
  .brand-name { font-size: 0.9rem; }
  .brand-sub { font-size: 0.51rem; }
  .nav-link { padding: 8px; font-size: 0.68rem; }
  .header-actions .btn { font-size: 0.67rem; padding-inline: 12px; }
  .bento-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { gap: 34px; }
}
@media (max-width: 1180px) {
  .site-header { position: relative; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; }
  .mobile-menu-toggle { display: inline-flex; justify-content: center; }
  .main-nav { grid-column: 1 / -1; justify-content: flex-start; gap: 6px 3px; padding-block: 9px; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
  .header-actions { grid-column: 1 / -1; }
  .header-actions .btn { min-height: 34px; font-size: 0.7rem; }
  .nav-link { padding: 8px 11px; font-size: 0.75rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 32px; }
  .hero-title { font-size: clamp(2.6rem, 4.2vw, 3.75rem); }
  .split-workspace { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .split-workspace > .card { padding: 26px; }
  .sticky-panel { position: static; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-col:first-child { grid-column: 1 / -1; }
  .footer-col > p { max-width: 75ch; }
}
/* Preserve the source menu/open behaviour; the ticker keeps every value
   available in one horizontally scrollable mobile line. */
@media (max-width: 960px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .header-actions { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    z-index: 60;
    max-height: calc(100svh - 110px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    background: var(--ivory);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 18px 35px rgb(23 39 71 / 10%);
  }
  .main-nav.open { display: flex; padding: 18px; gap: 4px; }
  .main-nav.open .nav-link { min-height: 44px; padding: 13px 16px; font-size: 0.85rem; }
  .telemetry-topbar .container {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: #a6b098 transparent;
  }
  .telemetry-topbar .telemetry-items { flex: 0 0 auto; flex-wrap: nowrap; }
  .telemetry-topbar .telemetry-pill, .telemetry-topbar a { white-space: nowrap; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 43px; }
  .hero-grid:has(> .card-interactive)::before { content: ""; display: block; width: 100%; aspect-ratio: 1.5; border-radius: 22px; background: #e7e9df url("/assets/viz/app-hero-1280.webp") center / cover no-repeat; }
  .hero-grid > .card-interactive::before { content: none; }
  .hero-grid > :first-child { max-width: 100%; }
  .hero-grid .hero-title { max-width: 20ch; font-size: clamp(2.7rem, 6.5vw, 3.7rem); }
  .hero-grid .hero-lead { max-width: 70ch; }
  .hero-grid > .card-interactive { max-width: 100%; }
  .hero-grid .metric-big { font-size: 2rem !important; }
  .hero-section:not(:has(.hero-grid)) .hero-title { max-width: 25ch !important; }
  .hero-section:not(:has(.hero-grid))::after { opacity: 0.5; width: 150px; border-width: 32px; top: 45px; }
  .split-workspace { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .bento-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-header { align-items: flex-start; margin-bottom: 30px; }
  .section-header-left { max-width: 100%; }
  .section-header h2 { max-width: 30ch; }
  .data-table { min-width: 630px; }
  .data-table td { padding: 18px 16px; }
  .data-table th { padding: 17px 16px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  html { scroll-padding-top: 20px; }
  .telemetry-topbar { padding-block: 10px; font-size: 0.57rem; line-height: 1.55; }
  .telemetry-topbar .container { gap: 8px; }
  .telemetry-items { gap: 7px 15px; }
  .telemetry-topbar a { font-size: 0.58rem !important; }
  .telemetry-pill { gap: 7px; }
  .header-inner { padding-block: 17px 13px; gap: 13px 9px; }
  .brand-logo { gap: 9px; min-width: 0; }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px 11px 11px 3px; }
  .brand-mark svg { width: 18px; height: 18px; }
  .brand-text-wrap { min-width: 0; gap: 4px; }
  .brand-name { font-size: 0.78rem; }
  .brand-sub { font-size: 0.48rem; line-height: 1.6; max-width: 30ch; }
  .mobile-menu-toggle { padding: 9px 10px; font-size: 0.6rem; }
  .main-nav { gap: 4px 2px; padding-block: 9px; }
  .nav-link { padding: 8px 10px; font-size: 0.69rem; line-height: 1.45; }
  .header-actions .btn { padding: 9px 16px; font-size: 0.68rem; }
  .hero-section { padding-block: 45px 52px !important; }
  h1, .hero-title, .hero-grid .hero-title { font-size: clamp(2.35rem, 9.5vw, 3.2rem); line-height: 1.12; letter-spacing: -0.053em; }
  .hero-title { margin-bottom: 23px; }
  .hero-kicker { font-size: 0.58rem; line-height: 1.8; gap: 10px; margin-bottom: 22px; }
  .hero-grid { gap: 35px; }
  .hero-grid:has(> .card-interactive)::before { border-radius: 13px; background-image: url("/assets/viz/app-hero-768.webp"); }
  .hero-grid .hero-lead { font-size: 1rem; line-height: 1.8; }
  .hero-grid > .card-interactive::before, .hero-section > .container > .bento-grid-2 > .card-interactive::before { border-radius: 13px; background-image: url("/assets/viz/app-hero-768.webp"); }
  .hero-grid > .card-interactive { gap: 22px; }
  .hero-grid .metric-big { font-size: 1.7rem !important; }
  .hero-grid .bento-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px !important; }
  .hero-grid .metric-card { padding-block: 14px !important; }
  .hero-grid > .card-interactive > div > h2 { font-size: 1.3rem !important; line-height: 1.3; }
  .hero-section:not(:has(.hero-grid))::after { width: 110px; border-width: 24px; right: 18px; top: 36px; opacity: 0.4; }
  .hero-section:not(:has(.hero-grid)) .hero-title { padding-right: 0; }
  .answer-capsule { margin-block: 24px; padding: 6px 0 6px 16px; }
  .answer-capsule-meta { font-size: 0.56rem; gap: 5px; margin-bottom: 12px; }
  .answer-capsule p { font-size: 0.87rem; line-height: 1.8; }
  .btn { min-height: 46px; padding: 12px 18px; font-size: 0.8rem; }
  .btn-sm { min-height: 39px; padding: 10px 14px; font-size: 0.69rem; }
  .btn-lg { min-height: 49px; width: 100%; padding: 13px 18px; font-size: 0.8rem; }
  .section-block { padding-block: 49px; }
  h2 { font-size: 1.85rem; }
  h3 { font-size: 1.35rem; }
  .section-eyebrow { font-size: 0.59rem; margin-bottom: 12px; }
  .bento-grid-2, .bento-grid-3, .bento-grid-4 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bento-grid-2[style*="grid-template-columns"], .option-pills[style*="grid-template-columns"], [style*="display:grid;grid-template-columns:1fr 1fr"] { grid-template-columns: minmax(0, 1fr) !important; }
  .card, .split-workspace > .card { padding: 23px 20px; border-radius: 13px; }
  .card > h2 { font-size: 1.7rem; }
  .card p, .card li { font-size: 0.94rem; line-height: 1.8; }
  .bento-grid-4 > .card, .bento-grid-3 > article.card { padding: 24px 0; }
  .bento-grid-3 > article.card-interactive { padding: 24px; }
  .control-group { margin-bottom: 23px; padding-bottom: 23px; }
  .control-label { font-size: 0.91rem; gap: 7px; }
  .option-pills { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .option-pill { padding: 14px 16px; font-size: 0.86rem; }
  .option-pill .pill-sub { font-size: 0.65rem; margin-top: 5px; }
  .input-field, .select-field { font-size: 16px; min-height: 50px; }
  .metric-card { padding: 20px; }
  .metric-label { font-size: 0.63rem; }
  .score-bar-header { font-size: 0.63rem; gap: 12px; }
  .share-toolbar { margin-top: 22px; padding-top: 20px; }
  .share-btn-group { width: 100%; }
  .share-btn-group .btn { flex: 1 1 135px; }
  .protocol-box, .case-callout-box { padding: 17px; font-size: 0.74rem; }
  .data-table { min-width: 590px; }
  .data-table td, .data-table th { padding: 16px 14px; }
  .breadcrumb-bar { padding-block: 12px; font-size: 0.61rem; }
  .pros-cons-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .verdict-scorecard { padding: 25px 20px; border-radius: 13px; }
  .scorecard-badge-num { font-size: 2.2rem; }
  .edge-status-bar { border-radius: 8px; }
  .faq-item { padding-block: 22px; }
  .site-footer { padding-top: 48px; }
  .footer-grid { gap: 32px 21px; margin-bottom: 38px; }
  .footer-col h4 { font-size: 0.6rem; line-height: 1.8; margin-bottom: 17px; }
  .footer-links { gap: 12px; }
  .footer-links a { font-size: 0.77rem; }
  .footer-bottom { font-size: 0.59rem; }
  [style*="display:flex"] { min-width: 0; }
  .card > [style*="display:flex"], .card-interactive > [style*="display:flex"], .verdict-scorecard [style*="display:flex"], .control-group > [style*="display:flex"] { flex-wrap: wrap; gap: 9px; }
  [style*="min-width:260px"] { min-width: 0 !important; max-width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
