@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #06070a;
  --surface: #0d0f14;
  --surface-2: #141821;
  --fg: #e9ecf1;
  --muted: #a0a8b5;
  --line: rgba(233, 236, 241, 0.13);
  --line-strong: rgba(233, 236, 241, 0.34);
  --focus: #a9c6ff;
  --cobalt: #4b83ff;
  --cobalt: oklch(65% 0.2 255);
  --gold: #f4c95d;
  --emerald: #4fd1a5;
  --rose: #e87a7a;
  --slate: #6f7c92;
  --ash: #394253;

  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-sans: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* 3-size body scale below hero (+ 4th compact table step) */
  --text-heading: clamp(1.9rem, 3.2vw, 2.7rem);
  --text-body: 1.0625rem;
  --text-sm: 0.875rem;
  --text-table: 0.84375rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container-max: 1180px;
}

@keyframes utlyze-morse-ai {
  0%, 5.5% { opacity: 1; }
  5.6%, 11% { opacity: 0.35; }
  11.1%, 27.7% { opacity: 1; }
  27.8%, 44.3% { opacity: 0.35; }
  44.4%, 49.9% { opacity: 1; }
  50%, 55.5% { opacity: 0.35; }
  55.6%, 61.1% { opacity: 1; }
  61.2%, 100% { opacity: 0.35; }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-size: var(--text-body);
  line-height: 1.62;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1.25rem;
  background: var(--fg);
  color: var(--bg);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(var(--container-max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background-color: transparent;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.site-header.is-scrolled {
  background-color: rgba(6, 7, 10, 0.88);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-dot {
  color: var(--cobalt);
  animation: utlyze-morse-ai 3.24s steps(1) infinite;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.desktop-nav a {
  font-size: var(--text-sm);
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--fg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}

.header-link:hover {
  border-color: var(--fg);
  background-color: rgba(233, 236, 241, 0.06);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background-color: var(--fg);
  border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 160ms var(--ease-out);
}

.menu-bars {
  position: relative;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-bars {
  background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-strong);
  background-color: var(--bg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.88);
  padding: 1rem var(--gutter) 1.5rem;
}

.mobile-nav:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav a {
  padding: 0.65rem 0;
  font-size: var(--text-body);
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a:last-child {
  border-bottom: 0;
  color: var(--cobalt);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 840px);
  display: flex;
  align-items: center;
  padding: 7.5rem 0 5.5rem;
  overflow: hidden;
  background-color: var(--bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 68%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(6, 7, 10, 0.25) 0%, transparent 28%, rgba(6, 7, 10, 0.22) 76%, var(--bg) 100%),
    linear-gradient(to right, rgba(6, 7, 10, 0.82) 0%, rgba(6, 7, 10, 0.38) 48%, transparent 74%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  padding-bottom: 4rem;
}

.hero h1 {
  margin: 0;
  max-width: 13ch;
  font-family: var(--font-display);
  font-size: clamp(3.15rem, 6.9vw, 6.2rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--fg);
  text-wrap: balance;
}

.hero-sub {
  margin: 1.65rem 0 2.25rem;
  max-width: 46ch;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--muted);
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--fg);
  border-radius: 999px;
  background-color: var(--fg);
  color: var(--bg);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

.primary-cta:hover {
  background-color: #ffffff;
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-divider {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 64ch;
  margin-bottom: 2.75rem;
}

h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: var(--text-heading);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg);
}

h4 {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--fg);
}

.section-head p,
.sub-block p,
.proposal-list {
  margin: 0;
  font-size: var(--text-body);
  color: var(--muted);
  max-width: 64ch;
}

.sub-block {
  margin-top: 3.5rem;
}

.sub-block > h3 {
  margin-bottom: 1.25rem;
}

.sub-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

/* Workbench surface */
.workbench {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
}

.workbench-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.control-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.control-wide {
  width: 100%;
}

.control-kicker,
.control-label-row label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
}

.control-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.readout-strong {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.control-hint {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Connected segmented controls */
.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.2rem;
  gap: 0.15rem;
  width: fit-content;
  max-width: 100%;
}

.segmented button {
  border: 0;
  border-radius: 0.35rem;
  background-color: transparent;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

.segmented button:hover {
  color: var(--fg);
}

.segmented button[aria-selected="true"] {
  background-color: var(--surface-2);
  color: var(--fg);
}

/* Range slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.375rem;
  border-radius: 999px;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--fg);
  border: 2px solid var(--cobalt);
  cursor: pointer;
  transition: transform 140ms var(--ease-out);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--fg);
  border: 2px solid var(--cobalt);
  cursor: pointer;
}

.tick-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.tick-row button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: var(--text-sm);
  padding: 0.3rem 0.25rem;
  text-align: center;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.tick-row button:hover,
.tick-row button[aria-pressed="true"] {
  color: var(--fg);
  border-bottom-color: var(--cobalt);
}

/* Polarity stage */
.polarity-bars {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.polarity-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.polarity-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.polarity-val {
  font-size: var(--text-body);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.is-rose { color: var(--rose); }
.is-muted { color: var(--muted); }
.is-gold { color: var(--gold); }
.is-emerald { color: var(--emerald); }
.is-cobalt { color: var(--cobalt); }

.bar-track {
  width: 100%;
  height: 0.65rem;
  border-radius: 999px;
  background-color: rgba(233, 236, 241, 0.06);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  width: 50%;
  transition: width 220ms var(--ease-out);
}

.fill-rose { background-color: var(--rose); }
.fill-slate { background-color: var(--slate); }
.fill-gold { background-color: var(--gold); }

.polarity-note {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-table);
  font-variant-numeric: tabular-nums;
}

.data-table th,
.data-table td {
  padding: 0.95rem 1.1rem 0.95rem 0;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table th {
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
}

.data-table td {
  color: var(--muted);
  line-height: 1.5;
}

.data-table td strong {
  color: var(--fg);
  font-weight: 600;
}

/* Telemetry SVG & Lens Panel */
.trail-diagram {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  overflow-x: auto;
}

.trail-diagram svg {
  width: 100%;
  min-width: 680px;
  height: auto;
}

.svg-lines path {
  stroke: var(--line-strong);
}

.svg-node rect,
.svg-out rect {
  fill: var(--surface-2);
  stroke: var(--line);
  stroke-width: 1;
  transition: stroke 160ms var(--ease-out), fill 160ms var(--ease-out);
}

.svg-out {
  cursor: pointer;
}

.svg-out.is-active rect {
  stroke: var(--cobalt);
  fill: rgba(75, 131, 255, 0.14);
}

.svg-hub rect {
  fill: rgba(75, 131, 255, 0.12);
  stroke: var(--cobalt);
  stroke-width: 1.25;
}

.trail-diagram text {
  fill: var(--fg);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
}

.trail-diagram .svg-sub {
  fill: var(--muted);
  font-size: 11.5px;
  font-weight: 400;
}

.lens-selector {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lens-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lens-col h3 {
  margin-bottom: 0.55rem;
}

.lens-col p {
  margin: 0;
  font-size: var(--text-body);
  color: var(--muted);
}

.legal-boundary-note {
  margin: 1.75rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  font-size: var(--text-sm);
  color: var(--muted);
  max-width: 72ch;
}

.legal-boundary-note strong {
  color: var(--fg);
}

/* Economics Workbench */
.slider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.allocation-block {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.allocation-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.allocation-summary {
  font-size: var(--text-sm);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.stacked-bar {
  display: flex;
  width: 100%;
  height: 1.25rem;
  border-radius: 0.35rem;
  overflow: hidden;
  background-color: var(--bg);
  gap: 2px;
}

.stacked-seg {
  height: 100%;
  transition: width 220ms var(--ease-out);
}

.seg-compute { background-color: var(--cobalt); }
.seg-rework { background-color: var(--rose); }
.seg-base { background-color: var(--slate); }
.seg-platform { background-color: var(--ash); }
.seg-carry { background-color: var(--gold); }
.seg-profit { background-color: var(--emerald); }

.legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin-top: 0.9rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-sm);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.legend-swatch {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  flex-shrink: 0;
}

.pnl-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  padding-top: 1.75rem;
}

.pnl-column h3 {
  margin-bottom: 1rem;
}

.waterfall-list {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.wf-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}

.wf-row:last-child {
  border-bottom: 0;
}

.wf-row dt {
  color: var(--muted);
}

.wf-row dd {
  margin: 0;
  font-weight: 600;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.wf-row.is-total {
  border-top: 1px solid var(--line-strong);
  padding-top: 0.85rem;
  margin-top: 0.25rem;
  font-size: var(--text-body);
}

.wf-row.is-total dt {
  color: var(--fg);
  font-weight: 600;
}

.wf-row.is-gold dd { color: var(--gold); }
.wf-row.is-emerald dd { color: var(--emerald); }
.wf-row.is-rose dd { color: var(--rose); }

.compliance-callout {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.55;
}

.compliance-callout strong {
  color: var(--fg);
}

/* Four-column editorial strip */
.four-col-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  border-top: 1px solid var(--line-strong);
  padding-top: 1.5rem;
}

.strip-item p {
  font-size: var(--text-sm);
  line-height: 1.58;
}

/* 24/7 Ops Stage */
.circadian-block {
  margin-bottom: 1.75rem;
}

.circadian-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.circadian-svg {
  width: 100%;
  min-width: 640px;
  height: auto;
}

.ops-stage {
  overflow-x: auto;
}

.time-axis line {
  stroke: var(--line-strong);
  stroke-width: 1;
}

.time-axis text {
  fill: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.band-a0 { fill: rgba(75, 131, 255, 0.22); stroke: var(--cobalt); stroke-width: 1; }
.band-a1 { fill: rgba(160, 168, 181, 0.14); stroke: var(--line-strong); stroke-width: 1; }
.band-a2 { fill: var(--gold); }
.band-a3 { fill: rgba(232, 122, 122, 0.12); stroke: rgba(232, 122, 122, 0.45); stroke-width: 1; }

.band-label {
  fill: var(--fg);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
}

.band-label-muted {
  fill: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
}

.band-label-dark {
  fill: var(--bg);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
}

.band-label-rose {
  fill: var(--rose);
  font-family: var(--font-sans);
  font-size: 12px;
}

.tier-detail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.tier-detail h4 {
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.tier-detail p {
  margin: 0;
  font-size: var(--text-body);
  color: var(--fg);
}

.two-col-editorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}

.ladder-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.ladder-list > div {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.ladder-list dt {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.35rem;
}

.ladder-list dd {
  margin: 0;
  font-size: var(--text-body);
  color: var(--muted);
}

/* Disclosures */
.disclosure-list {
  border-top: 1px solid var(--line-strong);
}

.disclosure-list details {
  border-bottom: 1px solid var(--line);
}

.disclosure-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
}

.disclosure-list summary::-webkit-details-marker {
  display: none;
}

.disclosure-list summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cobalt);
  flex-shrink: 0;
}

.disclosure-list details[open] summary::after {
  content: "\2212";
}

.disclosure-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  padding: 0 0 1.4rem;
}

.disclosure-body p {
  margin: 0;
  font-size: var(--text-body);
  color: var(--muted);
}

.disclosure-body strong {
  color: var(--fg);
}

/* Rollout split */
.rollout-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: start;
}

.rollout-now {
  padding-left: 1.5rem;
  border-left: 2px solid var(--cobalt);
}

.rollout-later {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.rollout-now h3,
.rollout-later h3 {
  margin-bottom: 1rem;
}

.proposal-list {
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.proposal-list li strong {
  color: var(--fg);
}

.rollout-action {
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 2rem;
}

.footer-meta {
  margin: 0.35rem 0 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

.footer-disclaimer {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
  max-width: 56ch;
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .workbench-controls,
  .slider-grid,
  .pnl-grid,
  .lens-panel,
  .tier-detail,
  .two-col-editorial,
  .disclosure-body,
  .rollout-split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .four-col-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 6.25rem 0 1.5rem;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-top: 2rem;
  }

  .hero-media img {
    object-position: 62% 72%;
  }

  .hero-media::after {
    background:
      linear-gradient(to bottom, var(--bg) 0%, transparent 24%, transparent 72%, var(--bg) 100%);
  }

  .hero-content {
    padding-bottom: 0;
  }

  .four-col-strip {
    grid-template-columns: 1fr;
  }

  .segmented {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .segmented button {
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.85rem;
  }

  .tick-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand-dot {
    animation: none;
    opacity: 1;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    --bg: #ffffff;
    --surface: #f7f8fa;
    --surface-2: #eef0f4;
    --fg: #111318;
    --muted: #454d5c;
    --line: rgba(17, 19, 24, 0.14);
    --line-strong: rgba(17, 19, 24, 0.35);
    --cobalt: #1d4ed8;
    --gold: #9a6700;
    --emerald: #047857;
    --rose: #b91c1c;
  }

  .site-header,
  .primary-cta,
  .hero-media,
  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 1rem 0 2rem;
  }

  .section {
    padding: 2rem 0;
    break-inside: avoid-page;
  }

  details {
    display: block;
  }
}
