@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg: #f8f3e8;
  --bg-alt: #eef2ff;
  --ink: #1b1a17;
  --muted: #5d5a54;
  --accent: #0f766e;
  --accent-2: #b45309;
  --card: #ffffff;
  --stroke: rgba(27, 26, 23, 0.12);
  --shadow: 0 22px 45px rgba(22, 20, 16, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 10%, rgba(255, 233, 196, 0.6), transparent 40%),
    radial-gradient(circle at 85% 5%, rgba(187, 225, 255, 0.6), transparent 35%),
    linear-gradient(180deg, var(--bg), #f4f1e7 45%, #fefcf7 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  letter-spacing: 0.2px;
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1rem;
}

.hero {
  position: relative;
  padding: 2.5rem 6vw 4rem;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 35% 0 auto 0;
  height: 360px;
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.12), rgba(180, 83, 9, 0.12));
  filter: blur(40px);
  z-index: 0;
}

.nav {
  position: sticky;
  top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  z-index: 4;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.brand-text {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.kpi-tape {
  margin-top: 0.85rem;
  border: 1px solid rgba(27, 26, 23, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.44rem 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.tape-item {
  font-weight: 700;
}

.tape-item.up {
  color: #7f1d1d;
}

.tape-item.down {
  color: #14532d;
}

.tape-sep {
  color: rgba(27, 26, 23, 0.35);
}

.social-proof-strip {
  margin-top: 1rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(27, 26, 23, 0.16);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  color: rgba(27, 26, 23, 0.7);
  font-size: 0.76rem;
  letter-spacing: 0.2px;
  background: rgba(255, 255, 255, 0.48);
}

.hero-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.8rem 0;
}

button {
  font-family: "Space Grotesk", sans-serif;
  cursor: pointer;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.secondary {
  background: #f0ede3;
  color: var(--ink);
  border: 1px solid var(--stroke);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
}

.ghost {
  background: transparent;
  border: 1px solid rgba(27, 26, 23, 0.2);
  color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.signal-snapshot {
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(27, 26, 23, 0.11);
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow: 0 14px 32px rgba(22, 20, 16, 0.1);
}

.signal-snapshot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.regime-dial {
  display: flex;
  justify-content: center;
  margin: 0.9rem 0 1rem;
}

.regime-dial-ring {
  width: min(320px, 100%);
  aspect-ratio: 2.2 / 1;
  border-top-left-radius: 220px;
  border-top-right-radius: 220px;
  border: 12px solid #e6e1d5;
  border-bottom: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 1rem;
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.28), rgba(180, 83, 9, 0.26), rgba(185, 28, 28, 0.26));
}

.regime-dial-ring::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 3px;
  height: 62px;
  transform: translateX(-50%) rotate(27deg);
  transform-origin: bottom center;
  background: #201d1a;
  border-radius: 999px;
}

.regime-dial-label {
  display: block;
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: rgba(27, 26, 23, 0.72);
}

.regime-dial-ring strong {
  font-size: 1rem;
  text-align: center;
}

.signal-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.signal-snapshot-grid > div {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(27, 26, 23, 0.1);
  border-radius: 12px;
  padding: 0.7rem;
}

.signal-freshness {
  margin: 0.9rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #0f766e;
  box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.45);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(15, 118, 110, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(15, 118, 110, 0);
  }
}

.stat-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(27, 26, 23, 0.1);
  padding: 1rem;
  border-radius: 18px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.stat-value {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
}

.hero-panel {
  background: var(--card);
  padding: 1.8rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 26, 23, 0.08);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.panel-title {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.panel-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.panel-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  margin-bottom: 1.5rem;
}

.metric-number {
  font-size: 2.4rem;
  font-weight: 700;
}

.metric-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.label-with-info {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

p.label-with-info {
  margin: 0 0 0.2rem;
}

.info-tip {
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  border-radius: 50%;
  border: 1px solid rgba(27, 26, 23, 0.28);
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  position: relative;
  box-shadow: none;
}

.info-tip:hover {
  transform: none;
}

.info-tip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tooltip-text {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  min-width: 210px;
  max-width: 280px;
  background: #1f1d1a;
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 12;
  text-align: left;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #1f1d1a transparent transparent transparent;
}

.info-tip:hover .tooltip-text,
.info-tip:focus-visible .tooltip-text {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sparkline {
  width: 160px;
  height: 70px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}

.mini-card {
  background: #f8f6ef;
  border-radius: 16px;
  padding: 0.8rem;
  border: 1px solid rgba(27, 26, 23, 0.08);
  font-size: 0.85rem;
}

.mini-card strong {
  font-size: 1.1rem;
  display: block;
  margin: 0.3rem 0;
}

.mini-trend {
  color: var(--accent);
  font-weight: 600;
}

.panel-footer {
  margin-top: 1.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.link-button {
  background: transparent;
  padding: 0;
  color: var(--accent);
  font-weight: 600;
}

.snapshot-banner {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  border-left: 4px solid rgba(180, 83, 9, 0.4);
  background: linear-gradient(120deg, rgba(180, 83, 9, 0.08), rgba(15, 118, 110, 0.06));
}

.data-quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.data-quality-item {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(27, 26, 23, 0.1);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
}

.data-quality-item strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9rem;
}

.data-quality-label {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent-2);
  font-weight: 700;
}

.data-quality-toggle {
  margin-bottom: 0.55rem;
}

.snapshot-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.snapshot-header .eyebrow {
  margin-bottom: 0.5rem;
}

.snapshot-staleness {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  border: 1px solid rgba(27, 26, 23, 0.14);
}

.snapshot-staleness.is-fresh {
  color: var(--accent);
  background: rgba(15, 118, 110, 0.14);
}

.snapshot-staleness.is-warning {
  color: var(--accent-2);
  background: rgba(180, 83, 9, 0.14);
}

.snapshot-staleness.is-stale {
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.12);
}

.snapshot-staleness.is-pending {
  color: var(--muted);
  background: rgba(27, 26, 23, 0.07);
}

.snapshot-id,
.snapshot-line {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.snapshot-id {
  margin-top: 0.2rem;
  color: var(--ink);
}

.snapshot-line {
  margin-top: 0.3rem;
}

.decision-brief-card {
  margin-bottom: 1.2rem;
  border-left: 4px solid rgba(15, 118, 110, 0.5);
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.06), rgba(59, 130, 246, 0.06));
}

.decision-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.decision-week {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
}

.decision-top-right {
  display: grid;
  gap: 0.5rem;
  justify-items: end;
}

.decision-risk {
  display: grid;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.83rem;
  text-align: right;
}

.decision-risk p {
  margin: 0;
}

.decision-export {
  font-size: 0.78rem;
  padding: 0.48rem 0.75rem;
}

.decision-export:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.decision-grid {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.decision-action-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.decision-action-block {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.decision-action-block p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.decision-risk-row {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.decision-risk-row p {
  margin: 0;
}

.decision-column {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.decision-kicker {
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-2);
}

.decision-column p {
  margin: 0 0 0.55rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.decision-list {
  margin: 0 0 0.55rem;
  padding-left: 1rem;
  display: grid;
  gap: 0.2rem;
  font-size: 0.83rem;
  color: var(--muted);
}

.decision-confidence,
.decision-invalidation {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.decision-confidence {
  margin-top: 0.25rem;
}

.regime-status {
  margin-bottom: 1.1rem;
  border-left: 4px solid rgba(15, 118, 110, 0.5);
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.08), rgba(59, 130, 246, 0.05));
}

.regime-status-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.regime-status-main {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 0.75rem;
  align-items: start;
}

.regime-bar-shell {
  min-width: 0;
}

.regime-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(27, 26, 23, 0.15);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
}

.regime-bar.is-stable {
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.34);
}

.regime-bar.is-watch {
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.34);
}

.regime-bar.is-warning {
  box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.36);
}

.regime-bar.is-alarm {
  box-shadow: inset 0 0 0 1px rgba(185, 28, 28, 0.42);
}

.regime-segment-label {
  text-align: center;
  padding: 0.52rem 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  font-weight: 700;
}

.regime-segment-label.state-stable {
  background: rgba(15, 118, 110, 0.22);
  color: #115e59;
}

.regime-segment-label.state-watch {
  background: rgba(245, 158, 11, 0.22);
  color: #92400e;
}

.regime-segment-label.state-warning {
  background: rgba(180, 83, 9, 0.24);
  color: #9a3412;
}

.regime-segment-label.state-alarm {
  background: rgba(185, 28, 28, 0.24);
  color: #7f1d1d;
}

.regime-marker {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: 12.5%;
  width: 2px;
  background: #1f1d1a;
  transform: translateX(-50%);
  transition: left 0.2s ease;
}

.regime-marker::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #1f1d1a;
}

.regime-status-inline {
  margin-top: 0.42rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.regime-status-inline strong {
  color: var(--ink);
  font-size: 1rem;
}

.regime-status-inline .direction-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(27, 26, 23, 0.18);
  background: rgba(27, 26, 23, 0.06);
  color: var(--ink);
  padding: 0.16rem 0.52rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.regime-status-inline .direction-badge.is-worsening {
  border-color: rgba(185, 28, 28, 0.35);
  background: rgba(185, 28, 28, 0.12);
  color: #991b1b;
}

.regime-status-inline .direction-badge.is-improving {
  border-color: rgba(21, 128, 61, 0.35);
  background: rgba(21, 128, 61, 0.12);
  color: #166534;
}

.regime-status-inline .direction-badge.is-flat {
  border-color: rgba(15, 118, 110, 0.34);
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
}

.regime-action-callout {
  margin: 0;
  border: 1px solid rgba(27, 26, 23, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.62rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}

.regime-panel {
  margin-bottom: 1.2rem;
  border-left: 4px solid rgba(180, 83, 9, 0.45);
  background: linear-gradient(115deg, rgba(15, 118, 110, 0.04), rgba(180, 83, 9, 0.08));
}

.regime-period {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
}

.regime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.9rem;
}

.regime-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.regime-label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.regime-sublabel {
  display: block;
  margin-top: 0.05rem;
  font-size: 0.74rem;
  color: var(--muted);
  opacity: 0.85;
}

.regime-item strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1rem;
}

.regime-interpretation {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.transition-card {
  margin-top: 1.1rem;
  border-left: 4px solid rgba(15, 118, 110, 0.45);
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.05), rgba(59, 130, 246, 0.04));
}

.transition-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.transition-head h3 {
  margin: 0;
}

.transition-summary {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 700;
}

.transition-table-wrap {
  overflow-x: auto;
  margin-top: 0.6rem;
}

.transition-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.transition-table th,
.transition-table td {
  border: 1px solid rgba(27, 26, 23, 0.1);
  padding: 0.45rem 0.52rem;
  font-size: 0.78rem;
  text-align: center;
}

.transition-table th:first-child {
  text-align: left;
}

.transition-table td.transition-focus {
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(185, 28, 28, 0.5);
  background: rgba(185, 28, 28, 0.16);
}

.transition-note {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.intelligence-headline {
  margin-bottom: 1.2rem;
  border-left: 4px solid rgba(15, 118, 110, 0.45);
  background: linear-gradient(115deg, rgba(15, 118, 110, 0.07), rgba(180, 83, 9, 0.06));
}

.intelligence-headline h3 {
  margin-bottom: 0.45rem;
}

.intelligence-points {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.signal-brief {
  margin-bottom: 1.2rem;
  border-left: 4px solid rgba(15, 118, 110, 0.45);
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.05), rgba(180, 83, 9, 0.05));
}

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

.signal-brief .eyebrow {
  margin-bottom: 0.5rem;
}

.signal-brief-period {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.signal-brief h3 {
  margin: 0 0 0.45rem;
}

.signal-brief-body {
  margin: 0 0 0.4rem;
  color: var(--muted);
}

.signal-brief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 0.8rem 0 0.6rem;
}

.signal-change-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.signal-brief-block {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
}

.signal-brief-kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  font-weight: 700;
  color: var(--accent-2);
}

.signal-brief-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.signal-brief-list li {
  margin: 0;
}

.signal-brief-list strong {
  color: var(--ink);
}

.signal-brief-meta-note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.73rem;
  color: var(--muted);
}

.signal-brief-noise {
  margin: 0.1rem 0 0.25rem;
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 500;
}

.signal-brief-confidence {
  margin: 0 0 0.25rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.signal-brief-data {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
}

.divergence-card {
  margin-bottom: 1rem;
  border-left: 4px solid rgba(127, 29, 29, 0.42);
  background: linear-gradient(120deg, rgba(127, 29, 29, 0.08), rgba(15, 118, 110, 0.04));
}

.divergence-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.divergence-head h3 {
  margin: 0;
}

.divergence-summary {
  margin: 0;
  font-size: 0.87rem;
  color: var(--muted);
}

.divergence-plot {
  margin-top: 0.55rem;
  border: 1px solid rgba(27, 26, 23, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.5rem;
}

.divergence-plot canvas {
  width: 100%;
  display: block;
  height: 320px;
}

.divergence-footer {
  margin-top: 0.55rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.divergence-flag,
.divergence-meta {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
}

.divergence-flag.is-alert {
  color: #7f1d1d;
  font-weight: 700;
}

.labor-confirmation-card {
  margin-bottom: 1rem;
  border-left: 4px solid rgba(15, 118, 110, 0.4);
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.05), rgba(59, 130, 246, 0.04));
}

#labor-confirmation-status {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

#labor-confirmation-status.is-early {
  color: #92400e;
}

#labor-confirmation-status.is-confirmed-deterioration {
  color: #991b1b;
}

#labor-confirmation-status.is-confirmed-improvement {
  color: #166534;
}

#labor-confirmation-status.is-losing-momentum {
  color: #1d4f91;
}

#labor-confirmation-status.is-stable {
  color: #374151;
}

.labor-confirmation-list {
  margin-bottom: 0.5rem;
}

.heatmap-card {
  display: grid;
  gap: 0.85rem;
}

.heatmap-toolbar {
  display: flex;
  justify-content: flex-end;
}

.heatmap-score-toggle {
  font-size: 0.84rem;
}

.heatmap-score-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.heatmap-score-panel p {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-weight: 600;
}

.heatmap-scale {
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  padding: 0.65rem 0.75rem;
}

.heatmap-scale-title {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent-2);
  font-weight: 700;
}

.heatmap-scale-bar {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(27, 26, 23, 0.12);
}

.heatmap-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
  padding: 0.44rem 0.52rem;
  border-right: 1px solid rgba(27, 26, 23, 0.12);
}

.heatmap-band:last-child {
  border-right: 0;
}

.heatmap-band-label {
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
}

.heatmap-band-range {
  font-size: 0.72rem;
  color: rgba(27, 26, 23, 0.72);
  line-height: 1;
  white-space: nowrap;
}

.heatmap-band-high {
  background: rgba(185, 28, 28, 0.2);
}

.heatmap-band-elevated {
  background: rgba(180, 83, 9, 0.2);
}

.heatmap-band-watch {
  background: rgba(245, 158, 11, 0.2);
}

.heatmap-band-low {
  background: rgba(15, 118, 110, 0.16);
}

.heatmap-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.heatmap-howto {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.heatmap-interpretation-note {
  margin: 0.2rem 0 0;
  color: #4b5563;
  font-size: 0.78rem;
}

.heatmap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid rgba(27, 26, 23, 0.08);
}

.legend-outline-high {
  border: 2px solid #b91c1c;
  background: rgba(255, 255, 255, 0.65);
  color: #7f1d1d;
}

.legend-outline-rising {
  border: 2px solid #c2410c;
  background: rgba(255, 255, 255, 0.65);
  color: #9a3412;
}

.legend-outline-resilient {
  border: 2px solid #15803d;
  background: rgba(255, 255, 255, 0.65);
  color: #14532d;
}

.legend-low-coverage {
  border: 1px dashed #92400e;
  background: rgba(251, 191, 36, 0.18);
  color: #78350f;
}

.heatmap-scroll {
  overflow-x: auto;
}

.heatmap-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.heatmap-table th,
.heatmap-table td {
  border: 1px solid rgba(27, 26, 23, 0.1);
  padding: 0.52rem 0.55rem;
  font-size: 0.8rem;
  text-align: left;
  vertical-align: middle;
}

.heatmap-table td.risk-cell {
  text-align: center;
  font-variant-numeric: tabular-nums;
  min-width: 78px;
}

.risk-cell .risk-score {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
}

.risk-cell .risk-delta {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.68rem;
  line-height: 1.2;
}

.risk-cell .risk-coverage {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.66rem;
  line-height: 1.2;
  color: var(--muted);
}

.risk-cell .risk-coverage.is-low {
  color: #92400e;
  font-weight: 700;
}

.risk-cell.risk-low-coverage-cell {
  opacity: 0.88;
  outline: 1px dashed rgba(146, 64, 14, 0.38);
  outline-offset: -3px;
}

.risk-cell.risk-highlight-high {
  box-shadow: inset 0 0 0 2px #b91c1c;
}

.risk-cell.risk-highlight-rising {
  box-shadow: inset 0 0 0 2px #c2410c;
}

.risk-cell.risk-highlight-resilient {
  box-shadow: inset 0 0 0 2px #15803d;
}

.risk-cell .risk-delta.up {
  color: #b91c1c;
}

.risk-cell .risk-delta.down {
  color: #166534;
}

.risk-cell .risk-delta.flat {
  color: var(--muted);
}

.ticker-overlay {
  position: fixed;
  z-index: 40;
  max-width: 280px;
  pointer-events: none;
  border: 1px solid rgba(27, 26, 23, 0.15);
  background: rgba(23, 23, 23, 0.95);
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  font-size: 0.76rem;
  line-height: 1.4;
}

.ticker-overlay p {
  margin: 0 0 0.25rem;
}

.ticker-overlay p:last-child {
  margin-bottom: 0;
}

.ticker-overlay-title {
  font-weight: 700;
}

.ticker-overlay-sub {
  color: rgba(255, 255, 255, 0.82);
}

.ticker-overlay-kicker {
  text-transform: uppercase;
  letter-spacing: 0.55px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.72);
}

.ticker-overlay-list {
  font-weight: 600;
}

.risk-high {
  background: rgba(185, 28, 28, 0.17);
  color: #7f1d1d;
}

.risk-elevated {
  background: rgba(180, 83, 9, 0.17);
  color: #9a3412;
}

.risk-watch {
  background: rgba(245, 158, 11, 0.16);
  color: #92400e;
}

.risk-low {
  background: rgba(15, 118, 110, 0.13);
  color: #115e59;
}

.heatmap-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
}

.heatmap-list-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 12px;
  padding: 0.75rem;
}

.heatmap-list-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.heatmap-list-card ol {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.84rem;
  display: grid;
  gap: 0.25rem;
}

.ticker-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem 1.05rem;
  display: grid;
  gap: 0.7rem;
}

.ticker-panel-head h3 {
  margin: 0;
  font-size: 1rem;
}

.ticker-panel-head p {
  margin: 0.2rem 0 0;
  color: #4b5563;
  font-size: 0.84rem;
}

.ticker-panel-controls label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.79rem;
  color: #4b5563;
  font-weight: 600;
}

.ticker-input-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.ticker-input-row input {
  flex: 1 1 260px;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.52rem 0.6rem;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

.ticker-input-row input:focus {
  outline: none;
  border-color: #1d4f91;
  box-shadow: 0 0 0 2px rgba(29, 79, 145, 0.14);
}

.portfolio-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.6rem;
}

.portfolio-summary-card {
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.58rem 0.62rem;
}

.portfolio-summary-label {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.45px;
  font-weight: 700;
}

.portfolio-summary-value {
  margin: 0.24rem 0 0;
  font-size: 0.84rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

.portfolio-table-wrap {
  overflow-x: auto;
}

.portfolio-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.portfolio-table th,
.portfolio-table td {
  border-bottom: 1px solid rgba(27, 26, 23, 0.08);
  padding: 0.48rem 0.5rem;
  font-size: 0.77rem;
  vertical-align: top;
  text-align: left;
  color: var(--ink);
}

.portfolio-table th {
  font-size: 0.7rem;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.portfolio-mini-chip {
  display: inline-block;
  margin-left: 0.34rem;
  font-size: 0.64rem;
  font-weight: 700;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.portfolio-coverage {
  display: inline-block;
  padding: 0.12rem 0.38rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
  font-size: 0.68rem;
  font-weight: 700;
}

.portfolio-coverage.is-low {
  background: rgba(217, 119, 6, 0.12);
  color: #92400e;
}

.portfolio-corroboration {
  display: inline-block;
  padding: 0.12rem 0.38rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  border: 1px solid rgba(27, 26, 23, 0.14);
  color: var(--muted);
  background: rgba(27, 26, 23, 0.06);
}

.portfolio-corroboration.is-confirmed {
  color: #166534;
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.28);
}

.portfolio-corroboration.is-mixed {
  color: #92400e;
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
}

.portfolio-corroboration.is-none {
  color: #6b7280;
  background: rgba(107, 114, 128, 0.12);
  border-color: rgba(107, 114, 128, 0.24);
}

.portfolio-secondary summary {
  cursor: pointer;
  font-size: 0.72rem;
  color: var(--accent-2);
  font-weight: 700;
  list-style: none;
}

.portfolio-secondary summary::-webkit-details-marker {
  display: none;
}

.portfolio-secondary span {
  display: block;
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.ticker-portfolio-summary {
  margin: 0;
  font-size: 0.83rem;
  color: var(--ink);
  font-weight: 600;
}

.portfolio-unmatched {
  border: 1px solid #f59e0b;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.08);
  padding: 0.7rem 0.75rem;
}

.portfolio-unmatched-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #92400e;
}

.portfolio-unmatched-note {
  margin: 0.2rem 0 0.4rem;
  font-size: 0.76rem;
  color: #7c2d12;
}

.portfolio-unmatched-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 0.22rem 0.55rem;
}

.portfolio-unmatched-list li {
  margin: 0;
  font-size: 0.76rem;
  color: #7c2d12;
  font-weight: 600;
}

.occupation-map-card {
  display: grid;
  gap: 0.9rem;
}

.occupation-map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.occupation-map-mode-group {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.occupation-map-mode-group .pill-button {
  padding: 0.5rem 0.8rem;
  font-size: 0.76rem;
}

.occupation-map-legend,
.occupation-map-howto {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.occupation-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 340px);
  gap: 1rem;
  align-items: start;
}

.occupation-map-groups {
  display: grid;
  gap: 0.85rem;
}

.occupation-map-empty {
  border: 1px dashed rgba(27, 26, 23, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.9rem 1rem;
}

.occupation-map-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.occupation-group {
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  padding: 0.78rem 0.8rem;
}

.occupation-group-head {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: baseline;
  margin-bottom: 0.65rem;
}

.occupation-group-head h3 {
  margin: 0;
  font-size: 0.96rem;
}

.occupation-group-head p {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.occupation-tile-grid {
  display: grid;
  grid-template-columns: repeat(18, minmax(0, 1fr));
  grid-auto-rows: 14px;
  gap: 0.36rem;
}

.occupation-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  border-radius: 10px;
  border: 1px solid rgba(27, 26, 23, 0.08);
  padding: 0.42rem 0.45rem;
  color: var(--ink);
  text-align: left;
  box-shadow: none;
}

.occupation-tile:hover {
  transform: none;
  border-color: rgba(27, 26, 23, 0.18);
}

.occupation-tile.is-selected {
  box-shadow: inset 0 0 0 2px #1d4f91;
}

.occupation-tile-title {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.15;
}

.occupation-tile-title.is-large {
  font-size: 0.78rem;
  font-weight: 700;
}

.occupation-tile-title.is-medium {
  font-size: 0.72rem;
  font-weight: 700;
}

.occupation-tile-title.is-small {
  font-size: 0.63rem;
  font-weight: 600;
}

.occupation-tile-meta {
  font-size: 0.66rem;
  font-weight: 700;
  color: rgba(27, 26, 23, 0.72);
}

.occupation-detail-card {
  position: sticky;
  top: 5.5rem;
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.9rem 0.95rem;
}

.occupation-detail-summary {
  margin-bottom: 0.7rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.occupation-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 0.8rem;
  margin: 0;
}

.occupation-detail-grid div {
  min-width: 0;
}

.occupation-detail-grid dt {
  margin: 0;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
  font-weight: 700;
}

.occupation-detail-grid dd {
  margin: 0.16rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.occupation-detail-note {
  margin: 0.8rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.occupation-detail-note a {
  color: #1d4f91;
  text-decoration: underline;
}

.leadlag-card {
  display: grid;
  gap: 0.8rem;
}

.leadlag-detail-toggle {
  justify-self: start;
}

.evidence-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.evidence-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
}

.evidence-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.73rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
}

.evidence-card p:last-child {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.leadlag-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.leadlag-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.leadlag-tabs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.leadlag-tab {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}

.leadlag-scroll {
  overflow-x: auto;
}

.leadlag-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.leadlag-table th,
.leadlag-table td {
  border: 1px solid rgba(27, 26, 23, 0.1);
  padding: 0.48rem 0.55rem;
  font-size: 0.82rem;
  vertical-align: top;
  text-align: left;
}

.leadlag-table td {
  color: var(--muted);
}

.leadlag-table .prob {
  font-weight: 700;
  color: var(--ink);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.status-leading-det {
  background: rgba(185, 28, 28, 0.15);
  color: #7f1d1d;
}

.status-leading-stab {
  background: rgba(22, 101, 52, 0.14);
  color: #14532d;
}

.status-confirming {
  background: rgba(180, 83, 9, 0.15);
  color: #9a3412;
}

.status-neutral {
  background: rgba(15, 118, 110, 0.12);
  color: #115e59;
}

.status-low-data {
  background: rgba(120, 113, 108, 0.14);
  color: #44403c;
}

.watchlist-card {
  display: grid;
  gap: 0.75rem;
}

.priority-entry {
  display: grid;
  gap: 0.8rem;
  border-left: 4px solid rgba(15, 118, 110, 0.45);
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.06), rgba(180, 83, 9, 0.05));
}

.priority-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.priority-status {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.priority-action {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
}

.priority-top-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.priority-controls-toggle {
  font-size: 0.8rem;
  padding: 0.42rem 0.78rem;
}

.priority-context {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.priority-alerts {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.priority-note {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
}

.priority-controls-panel {
  margin-top: 0.1rem;
}

.watchlist-controls {
  display: grid;
  gap: 0.65rem;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 14px;
}

.watchlist-control-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
  align-items: end;
}

.watchlist-field {
  display: grid;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.watchlist-field select {
  font-family: "Space Grotesk", sans-serif;
  border: 1px solid rgba(27, 26, 23, 0.14);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 0.52rem 0.62rem;
  font-size: 0.86rem;
}

.watchlist-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.watchlist-actions button {
  padding: 0.5rem 0.95rem;
  font-size: 0.8rem;
}

.watchlist-selected {
  display: grid;
  gap: 0.45rem;
}

.watchlist-selected-title {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}

.watchlist-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.watchlist-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.26);
  background: rgba(15, 118, 110, 0.1);
  color: #115e59;
  padding: 0.2rem 0.3rem 0.2rem 0.6rem;
  font-size: 0.76rem;
  font-weight: 600;
}

.watchlist-chip-label {
  white-space: nowrap;
}

.watchlist-chip-remove {
  width: 1.2rem;
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 1px solid rgba(15, 118, 110, 0.24);
  background: #fff;
  color: #0f766e;
  padding: 0;
  line-height: 1;
  font-size: 0.72rem;
  box-shadow: none;
}

.watchlist-empty {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.watchlist-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.watchlist-status {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.watchlist-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.watchlist-context {
  color: var(--muted);
  font-size: 0.82rem;
  display: grid;
  gap: 0.2rem;
}

.watchlist-context p {
  margin: 0;
}

.watchlist-noise {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.watchlist-action-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.watchlist-alerts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.8rem;
}

.watch-alert {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 14px;
  padding: 0.75rem;
  display: grid;
  gap: 0.35rem;
}

.watch-alert-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
}

.watch-alert-title {
  margin: 0;
  font-size: 0.92rem;
}

.watch-alert-meta,
.watch-alert-msg,
.watch-alert-action {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.watch-alert-msg {
  color: var(--ink);
}

.watch-alert-action-tag {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(27, 26, 23, 0.16);
  background: rgba(27, 26, 23, 0.06);
  color: var(--ink);
  font-weight: 700;
  padding: 0.12rem 0.48rem;
}

.watch-alert-coverage {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.watch-alert-coverage.is-low {
  color: #92400e;
  font-weight: 700;
}

.watch-alert-proxies {
  margin: 0;
  font-size: 0.76rem;
  color: var(--ink);
}

.method-pipeline {
  margin-top: 0.95rem;
  margin-bottom: 0.95rem;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.9rem;
}

.how-chip {
  padding: 0.95rem 1rem;
}

.how-chip h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.how-chip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.pipeline-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(100px, 1fr));
  gap: 0.45rem;
  align-items: center;
}

.pipeline-node {
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  padding: 0.5rem 0.55rem;
  font-size: 0.8rem;
  text-align: center;
}

.pipeline-node-wide {
  grid-column: span 5;
}

.pipeline-plus,
.pipeline-arrow {
  text-align: center;
  color: var(--accent-2);
  font-weight: 700;
}

.glossary-card {
  margin-top: 0.95rem;
}

.glossary-card h3 {
  margin-bottom: 0.5rem;
}

.term-table-wrap {
  border: 1px solid rgba(27, 26, 23, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  overflow-x: auto;
}

.term-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.term-table th,
.term-table td {
  border: 1px solid rgba(27, 26, 23, 0.1);
  padding: 0.6rem 0.7rem;
  text-align: left;
  vertical-align: top;
  font-size: 0.82rem;
  line-height: 1.45;
}

.term-table th {
  background: rgba(15, 118, 110, 0.09);
  color: var(--ink);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}

.term-table tbody tr:nth-child(odd) td {
  background: rgba(248, 246, 239, 0.78);
}

.term-table td:first-child {
  width: 24%;
  font-weight: 700;
}

.section {
  padding: 4.5rem 6vw;
}

.section.alt {
  background: rgba(238, 242, 255, 0.6);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.section-summary {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
}

.section-for {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.section-meta-line {
  margin: 0.65rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.section-takeaway {
  margin: 0.55rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.output-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

.output-shot {
  background: var(--card);
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 12px 26px rgba(22, 20, 16, 0.08);
}

.output-shot h3 {
  margin-top: 0.95rem;
  margin-bottom: 0.4rem;
}

.output-shot p {
  margin-bottom: 0;
  color: var(--muted);
}

.output-media {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(27, 26, 23, 0.1);
  background: #ddd;
}

.output-media img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  display: block;
  filter: blur(1.9px) saturate(0.82) contrast(0.9);
  transform: scale(1.03);
}

.output-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 10, 0.12), rgba(12, 11, 10, 0.18));
  pointer-events: none;
}

.redaction-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.redaction-mask span {
  position: absolute;
  display: block;
  height: 16px;
  border-radius: 999px;
  background: rgba(19, 18, 16, 0.72);
}

.redaction-mask span:first-child {
  width: 46%;
  top: 16%;
  left: 8%;
}

.redaction-mask span:last-child {
  width: 34%;
  bottom: 15%;
  right: 8%;
}

.output-list {
  margin-top: 1.1rem;
}

.output-list h3 {
  margin-bottom: 0.9rem;
}

.section-head-actions {
  margin-top: 1rem;
}

.sample-brief {
  margin-top: 1.5rem;
  border-left: 4px solid var(--accent);
}

.sample-brief-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.sample-brief-head h3 {
  margin-bottom: 0;
}

.sample-brief-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
}

.sample-brief-block {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 26, 23, 0.1);
  border-radius: 14px;
  padding: 0.9rem;
}

.sample-brief-kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.72rem;
  color: var(--accent-2);
  font-weight: 700;
}

.sample-brief-block p:last-child,
.sample-brief-block ul:last-child {
  margin-bottom: 0;
}

.sample-brief-disclaimer {
  margin: 1rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.pipeline-graphic {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr) auto minmax(220px, 1fr);
  gap: 0.8rem;
  align-items: stretch;
}

.pipeline-step h3 {
  margin-bottom: 0.7rem;
}

.pipeline-graphic .pipeline-arrow {
  align-self: center;
  justify-self: center;
  color: var(--accent-2);
  font-size: 1.8rem;
  font-weight: 700;
}

.method-noise-note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #443f38;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(27, 26, 23, 0.11);
  border-left: 4px solid var(--accent-2);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.method-detail-grid {
  margin-top: 1.2rem;
}

.whitepaper-cta {
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-left: 4px solid rgba(15, 118, 110, 0.7);
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.08), rgba(59, 130, 246, 0.05));
}

.whitepaper-cta h3 {
  margin-bottom: 0.35rem;
}

.whitepaper-cta p.muted {
  margin-bottom: 0;
}

.whitepaper-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 1.6rem;
  border: 1px solid rgba(27, 26, 23, 0.08);
  box-shadow: 0 10px 28px rgba(22, 20, 16, 0.08);
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}

.clean-list li {
  margin-bottom: 0.6rem;
}

.tier-toggle {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.pill-button {
  background: #f0ede3;
  border: 1px solid var(--stroke);
}

.pill-button.is-active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.tier-panel {
  display: none;
}

.tier-panel.is-active {
  display: block;
}

.tier-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(27, 26, 23, 0.08);
}

.tier-lede {
  color: var(--muted);
}

.tier-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.tag {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  align-items: start;
}

.pipe-col {
  background: var(--card);
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(27, 26, 23, 0.08);
}

.pipe-col h4 {
  margin-bottom: 0.6rem;
}

.pipe-node {
  padding: 0.45rem 0.6rem;
  margin-bottom: 0.4rem;
  background: #f6f3ea;
  border-radius: 10px;
  font-size: 0.85rem;
}

.pipe-arrow {
  align-self: center;
  text-align: center;
  font-size: 1.5rem;
  color: var(--accent-2);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.chip {
  background: transparent;
  border: 1px solid var(--stroke);
  color: var(--muted);
}

.chip.is-active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.meta-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.engine-card {
  min-height: 320px;
}

.weight-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.weight-grid label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--muted);
}

.weight-grid input {
  margin-top: 0.4rem;
}

.signal-panel {
  display: grid;
  gap: 1rem;
}

.signal-metric {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2rem;
  font-weight: 700;
}

.rule-grid {
  display: grid;
  gap: 0.8rem;
}

.rule-card {
  background: #f8f6ef;
  border-radius: 14px;
  padding: 0.8rem;
  font-size: 0.85rem;
}

.thresholds {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.thresholds label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.thresholds input {
  width: 90px;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--stroke);
}

.timeline {
  display: grid;
  gap: 1.2rem;
}

.timeline-step {
  background: var(--card);
  border-radius: 18px;
  padding: 1.4rem;
  border: 1px solid rgba(27, 26, 23, 0.08);
}

.pill {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pill.is-watch {
  background: rgba(180, 83, 9, 0.14);
  color: var(--accent-2);
}

.pill.is-warning {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.pill.is-alarm {
  background: rgba(127, 29, 29, 0.2);
  color: #7f1d1d;
}

.footer {
  padding: 3rem 6vw 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: #11100f;
  color: #f5f2ea;
}

.footer-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(245, 242, 234, 0.7);
}

.whitepaper-request-page {
  margin: 0;
  min-height: 100vh;
}

.whitepaper-request-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1rem 4.5rem;
}

.whitepaper-home-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.whitepaper-request-card h1 {
  margin-bottom: 0.5rem;
}

.request-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.request-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.request-form input {
  padding: 0.68rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  font-size: 0.95rem;
  font-family: "Space Grotesk", sans-serif;
}

.request-form-status {
  margin-top: 0.8rem;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--muted);
}

.request-form-status.is-success {
  color: var(--accent);
}

.request-form-status.is-error {
  color: #b91c1c;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .nav {
    position: static;
  }

  .panel-metric {
    flex-direction: column;
    align-items: flex-start;
  }

  .decision-top-right {
    justify-items: start;
  }

  .decision-risk {
    text-align: left;
  }

  .sparkline {
    width: 100%;
  }

  .pipeline-graphic {
    grid-template-columns: 1fr;
  }

  .pipeline-graphic .pipeline-arrow {
    transform: rotate(90deg);
    margin: -0.25rem 0;
  }

  .output-media img {
    height: 195px;
  }

  .priority-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .ticker-input-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ticker-input-row input {
    flex-basis: auto;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 2rem 5vw 3rem;
  }

  .section {
    padding: 3.5rem 5vw;
  }

  .hero-actions {
    flex-direction: column;
  }

  .social-proof-strip {
    width: 100%;
    border-radius: 14px;
    font-size: 0.73rem;
  }

  .signal-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .sample-brief-grid {
    grid-template-columns: 1fr;
  }

  .whitepaper-link {
    width: 100%;
  }

  .regime-dial-ring {
    border-width: 10px;
  }

  .tooltip-text {
    left: 0;
    transform: translateX(0) translateY(4px);
    max-width: min(76vw, 260px);
  }

  .tooltip-text::after {
    left: 1rem;
    transform: translateX(0);
  }

  .info-tip:hover .tooltip-text,
  .info-tip:focus-visible .tooltip-text {
    transform: translateX(0) translateY(0);
  }
}

.pill.is-stable {
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(13, 12, 10, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 20;
}

.modal.is-open {
  display: flex;
}

.modal-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 20px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
  padding: 0.2rem;
  color: var(--ink);
  font-size: 1.9rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.modal-close:hover {
  transform: none;
}

.auth-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.auth-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.auth-form input {
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  font-size: 0.95rem;
  font-family: "Space Grotesk", sans-serif;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.auth-message {
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
}

.auth-alt-action {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.auth-alt-action a {
  color: var(--accent);
  font-weight: 600;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .nav-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.lockable {
  position: relative;
}

.lock-content {
  transition: filter 0.3s ease;
}

body.is-locked .lock-content {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 2rem;
  text-align: center;
  background: rgba(248, 243, 232, 0.85);
  backdrop-filter: blur(6px);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.is-locked .lock-overlay {
  opacity: 1;
  pointer-events: auto;
}

.signal .chart-card {
  background: var(--card);
  border-radius: 28px;
  border: 1px solid rgba(27, 26, 23, 0.1);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.chart-title {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.chart-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.chart-metrics {
  display: grid;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  min-width: 140px;
}

.chart-metrics strong {
  display: block;
  font-size: 1.2rem;
  color: var(--ink);
}

.chart-frame {
  margin-top: 1.5rem;
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.08), rgba(180, 83, 9, 0.08));
  border: 1px solid rgba(27, 26, 23, 0.08);
}

.chart-frame canvas {
  width: 100%;
  height: 320px;
  display: block;
}

.chart-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 0.8rem;
}

.chart-pill {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 720px) {
  .chart-frame canvas {
    height: 240px;
  }

  .pipeline-flow {
    grid-template-columns: 1fr;
  }

  .pipeline-node-wide {
    grid-column: span 1;
  }
}


.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background: var(--card);
  border-radius: 22px;
  padding: 1.8rem;
  border: 1px solid rgba(27, 26, 23, 0.08);
  box-shadow: 0 12px 30px rgba(22, 20, 16, 0.08);
  display: grid;
  gap: 1rem;
}

.pricing-card.highlight {
  border: 1px solid rgba(15, 118, 110, 0.35);
  box-shadow: 0 20px 40px rgba(15, 118, 110, 0.18);
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.pricing-desc {
  color: var(--muted);
}

body.product-workspace {
  --ink: #111827;
  --muted: #4b5563;
  --accent: #1d4f91;
  --accent-2: #9a6f1d;
  --card: #ffffff;
  --stroke: rgba(17, 24, 39, 0.14);
  background: #ffffff;
  color: var(--ink);
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.product-workspace .hero {
  padding: 1.2rem 6vw 1.4rem;
}

body.product-workspace .hero-gradient {
  display: none;
}

body.product-workspace .section {
  padding: 3.1rem 6vw;
}

body.product-workspace .section.alt {
  background: #f8fafc;
}

body.product-workspace h1,
body.product-workspace h2,
body.product-workspace h3,
body.product-workspace h4 {
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  font-weight: 600;
}

body.product-workspace h2 {
  font-size: clamp(1.42rem, 2.2vw, 2rem);
  line-height: 1.18;
}

body.product-workspace h3 {
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.24;
}

body.product-workspace .section-head {
  max-width: 820px;
  margin-bottom: 1.2rem;
}

body.product-workspace .section-sub {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #4b5563;
}

body.product-workspace .section-summary {
  margin-top: 0.2rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #374151;
  font-weight: 500;
}

body.product-workspace .section-meta-line {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #6b7280;
}

body.product-workspace .regime-status-main {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
}

body.product-workspace .regime-segment-label {
  font-size: 0.7rem;
  padding: 0.46rem 0.28rem;
}

body.product-workspace .regime-status-inline {
  font-size: 0.78rem;
  gap: 0.46rem;
}

body.product-workspace .regime-status-inline strong {
  font-size: 0.92rem;
}

body.product-workspace .regime-status-inline .direction-badge {
  font-size: 0.75rem;
  padding: 0.12rem 0.44rem;
}

body.product-workspace .regime-action-callout {
  font-size: 0.78rem;
  padding: 0.54rem 0.6rem;
}

body.product-workspace .kpi-tape {
  margin-top: 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  font-size: 0.75rem;
  color: #4b5563;
  padding: 0.4rem 0.7rem;
}

body.product-workspace .transition-summary {
  font-size: 0.81rem;
}

body.product-workspace .transition-table th,
body.product-workspace .transition-table td {
  padding: 0.38rem 0.42rem;
  font-size: 0.72rem;
}

body.product-workspace .divergence-summary {
  font-size: 0.8rem;
}

body.product-workspace .divergence-plot canvas {
  height: 270px;
}

body.product-workspace .divergence-flag,
body.product-workspace .divergence-meta {
  font-size: 0.77rem;
}

body.product-workspace .section-sub {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #4b5563;
}

body.product-workspace .section-takeaway {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

body.product-workspace .card {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 1.15rem;
  box-shadow: none;
}

body.product-workspace .nav {
  top: 0.7rem;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  backdrop-filter: none;
  box-shadow: none;
  padding: 0.72rem 0.95rem;
}

body.product-workspace .brand {
  gap: 0.55rem;
}

body.product-workspace .brand-mark {
  width: auto;
  height: auto;
  border-radius: 7px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  font-size: 0.75rem;
  padding: 0.24rem 0.42rem;
  line-height: 1;
}

body.product-workspace .brand-text {
  font-size: 1rem;
  font-weight: 600;
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.product-workspace .nav-links {
  color: #374151;
  gap: 0.95rem;
  font-size: 0.84rem;
}

body.product-workspace .nav-actions .ghost {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #1f2937;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
}

body.product-workspace .intelligence-headline h3 {
  margin-bottom: 0.32rem;
}

body.product-workspace .intelligence-points {
  gap: 0.2rem;
  font-size: 0.84rem;
}

body.product-workspace .regime-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem;
}

body.product-workspace .regime-item {
  padding: 0.62rem 0.68rem;
}

body.product-workspace .regime-item strong {
  font-size: 0.98rem;
}

body.product-workspace .signal-brief-grid {
  gap: 0.65rem;
}

body.product-workspace .signal-brief-block {
  padding: 0.58rem 0.62rem;
}

body.product-workspace .signal-brief-kicker {
  font-size: 0.68rem;
}

body.product-workspace .signal-brief-list {
  font-size: 0.81rem;
  gap: 0.2rem;
}

body.product-workspace .heatmap-scale-bar {
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
}

body.product-workspace .heatmap-band {
  padding: 0.36rem 0.44rem;
}

body.product-workspace .heatmap-band-label {
  font-size: 0.71rem;
}

body.product-workspace .heatmap-band-range {
  font-size: 0.67rem;
}

body.product-workspace .heatmap-legend {
  gap: 0.36rem;
}

body.product-workspace .legend-chip {
  font-size: 0.69rem;
  padding: 0.14rem 0.46rem;
}

body.product-workspace .heatmap-table {
  min-width: 760px;
}

body.product-workspace .heatmap-table th,
body.product-workspace .heatmap-table td {
  padding: 0.44rem 0.46rem;
  font-size: 0.76rem;
}

body.product-workspace .risk-cell .risk-score {
  font-size: 0.74rem;
}

body.product-workspace .risk-cell .risk-delta {
  font-size: 0.64rem;
}

  body.product-workspace .watchlist-controls {
    padding: 0.58rem;
  }

  body.product-workspace .watchlist-alerts {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  body.product-workspace .occupation-map-layout {
    grid-template-columns: 1fr;
  }

  body.product-workspace .occupation-detail-card {
    position: static;
  }

  body.product-workspace .watch-alert {
    padding: 0.65rem;
  }

body.product-workspace .how-it-works-grid {
  gap: 0.7rem;
}

body.product-workspace .how-chip {
  padding: 0.74rem 0.8rem;
}

body.product-workspace .how-chip h3 {
  font-size: 0.94rem;
}

body.product-workspace .how-chip p {
  font-size: 0.82rem;
}

body.product-workspace .term-table {
  min-width: 700px;
}

body.product-workspace .term-table th,
body.product-workspace .term-table td {
  padding: 0.52rem 0.56rem;
  font-size: 0.76rem;
}

body.product-workspace .data-quality-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.55rem;
}

body.product-workspace .data-quality-item {
  padding: 0.55rem 0.62rem;
}

body.product-workspace .data-quality-item strong {
  overflow-wrap: anywhere;
}

body.product-workspace .advanced-only {
  display: none;
}

body.product-workspace.show-advanced .advanced-only {
  display: block;
}

body.product-workspace #advanced-toggle.is-active {
  background: #1d4f91;
  color: #fff;
  border-color: #1d4f91;
}

body.product-workspace .lock-overlay {
  display: none !important;
}

body.product-workspace .lock-content {
  filter: none !important;
  pointer-events: auto !important;
  user-select: auto !important;
}

body.product-workspace .modal {
  display: none !important;
}

body.product-workspace #signin-button,
body.product-workspace #subscribe-button,
body.product-workspace #subscribe-button-bottom {
  display: none !important;
}

@media (max-width: 960px) {
  body.product-workspace .hero {
    padding: 0.8rem 1rem 0.7rem;
  }

  body.product-workspace .section {
    padding: 2rem 1rem;
  }

  body.product-workspace .section-head {
    margin-bottom: 1.05rem;
  }

  body.product-workspace .nav {
    padding: 0.55rem 0.78rem;
    border-radius: 10px;
  }

  body.product-workspace .brand-mark {
    width: auto;
    height: auto;
    font-size: 0.72rem;
    padding: 0.22rem 0.38rem;
  }

  body.product-workspace .brand-text {
    font-size: 1.02rem;
  }

  body.product-workspace .nav-actions {
    width: auto;
    flex-wrap: nowrap;
  }

  body.product-workspace .nav-actions .ghost {
    font-size: 0.75rem;
    padding: 0.48rem 0.72rem;
  }

  body.product-workspace .regime-status-main {
    grid-template-columns: 1fr;
  }

  body.product-workspace .regime-action-callout {
    width: 100%;
  }

  body.product-workspace .kpi-tape {
    gap: 0.3rem;
    font-size: 0.7rem;
  }

  body.product-workspace .transition-table {
    min-width: 460px;
  }

  body.product-workspace .divergence-plot canvas {
    height: 230px;
  }

  body.product-workspace .card {
    padding: 1.02rem;
  }

  body.product-workspace .signal-change-grid,
  body.product-workspace .decision-action-grid,
  body.product-workspace .watchlist-alerts {
    grid-template-columns: 1fr;
  }

  body.product-workspace .decision-top-right {
    width: 100%;
    justify-items: start;
  }

  body.product-workspace .decision-risk {
    text-align: left;
  }

  body.product-workspace .heatmap-scale-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.product-workspace .occupation-map-mode-group {
    width: 100%;
  }

  body.product-workspace .occupation-map-mode-group .pill-button {
    flex: 1 1 160px;
  }

  body.product-workspace .occupation-tile-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 12px;
  }

  body.product-workspace .heatmap-band {
    border-right: 1px solid rgba(27, 26, 23, 0.12);
    border-bottom: 1px solid rgba(27, 26, 23, 0.12);
  }

  body.product-workspace .heatmap-band:nth-child(2n) {
    border-right: 0;
  }

  body.product-workspace .heatmap-band:nth-child(3),
  body.product-workspace .heatmap-band:nth-child(4) {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  body.product-workspace .hero {
    padding: 0.7rem 0.85rem 0.55rem;
  }

  body.product-workspace .section {
    padding: 1.6rem 0.85rem;
  }

  body.product-workspace h2 {
    font-size: 1.46rem;
  }

  body.product-workspace .section-sub {
    font-size: 0.85rem;
  }

  body.product-workspace .section-summary {
    font-size: 0.9rem;
  }

  body.product-workspace .section-meta-line {
    font-size: 0.76rem;
  }

  body.product-workspace .section-takeaway {
    font-size: 0.82rem;
  }

  body.product-workspace .nav {
    border-radius: 10px;
    gap: 0.6rem;
  }

  body.product-workspace .occupation-detail-grid {
    grid-template-columns: 1fr;
  }

  body.product-workspace .occupation-tile-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-auto-rows: 11px;
    gap: 0.28rem;
  }

  body.product-workspace .nav-actions .ghost {
    padding: 0.4rem 0.62rem;
  }

  body.product-workspace .regime-segment-label {
    font-size: 0.62rem;
    padding: 0.38rem 0.2rem;
  }

  body.product-workspace .regime-status-inline {
    font-size: 0.72rem;
    gap: 0.35rem;
  }

  body.product-workspace .regime-status-inline strong {
    font-size: 0.84rem;
  }

  body.product-workspace .regime-status-inline .direction-badge {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
  }

  body.product-workspace .kpi-tape {
    border-radius: 10px;
  }

  body.product-workspace .card {
    padding: 0.9rem;
  }

  body.product-workspace .intelligence-headline h3 {
    font-size: 1.22rem;
  }

  body.product-workspace .regime-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  body.product-workspace .regime-item {
    padding: 0.52rem 0.56rem;
  }

  body.product-workspace .regime-label {
    font-size: 0.67rem;
  }

  body.product-workspace .regime-item strong {
    font-size: 0.88rem;
  }

  body.product-workspace .signal-brief-list,
  body.product-workspace .decision-list,
  body.product-workspace .watch-alert-meta,
  body.product-workspace .watch-alert-msg,
  body.product-workspace .watch-alert-action {
    font-size: 0.78rem;
  }

  body.product-workspace .heatmap-table {
    min-width: 620px;
  }

  body.product-workspace .heatmap-table th,
  body.product-workspace .heatmap-table td {
    padding: 0.38rem 0.4rem;
    font-size: 0.72rem;
  }

  body.product-workspace .risk-cell .risk-score {
    font-size: 0.7rem;
  }

  body.product-workspace .risk-cell .risk-delta {
    font-size: 0.6rem;
  }

  body.product-workspace .watchlist-control-row {
    grid-template-columns: 1fr;
  }

  body.product-workspace .watchlist-actions {
    width: 100%;
  }

  body.product-workspace .watchlist-actions button {
    flex: 1 1 auto;
  }

  body.product-workspace .data-quality-grid {
    grid-template-columns: 1fr;
  }

  body.product-workspace .transition-table {
    min-width: 400px;
  }

  body.product-workspace .divergence-plot canvas {
    height: 200px;
  }
}

/* Landing page institutional refresh */
body.landing-page {
  --ink: #111827;
  --muted: #4b5563;
  --accent: #1d4f91;
  --accent-2: #9a6f1d;
  --card: #ffffff;
  --stroke: rgba(17, 24, 39, 0.14);
  background: #ffffff;
  color: var(--ink);
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.landing-page [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

body.landing-page h1,
body.landing-page h2,
body.landing-page h3,
body.landing-page h4 {
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  font-weight: 600;
}

body.landing-page .hero {
  padding: 1.5rem 6vw 3.25rem;
  overflow: visible;
}

body.landing-page .hero-gradient {
  display: none;
}

body.landing-page .nav {
  top: 0.7rem;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  backdrop-filter: none;
  box-shadow: none;
  padding: 0.72rem 0.95rem;
}

body.landing-page .brand {
  gap: 0.55rem;
}

body.landing-page .brand-mark {
  width: auto;
  height: auto;
  border-radius: 7px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  font-size: 0.75rem;
  padding: 0.24rem 0.42rem;
  line-height: 1;
}

body.landing-page .brand-text {
  font-size: 1rem;
  font-weight: 600;
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.landing-page .nav-links {
  color: #374151;
  font-size: 0.84rem;
  gap: 0.95rem;
}

body.landing-page .hero-grid {
  margin-top: 2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: start;
  gap: 2rem;
}

body.landing-page .hero-copy h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.14;
  max-width: 18ch;
}

body.landing-page .lede {
  color: #374151;
  font-size: 1rem;
  margin: 1rem 0 1.15rem;
  max-width: 62ch;
}

body.landing-page .hero-bullets {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: #1f2937;
  display: grid;
  gap: 0.4rem;
}

body.landing-page .hero-bullets li {
  margin: 0;
}

body.landing-page .hero-support-copy {
  margin: 0;
  color: #4b5563;
}

body.landing-page .hero-actions {
  margin: 1.25rem 0 0.9rem;
}

body.landing-page .button-link {
  border-radius: 8px;
  padding: 0.66rem 1rem;
  font-size: 0.84rem;
}

body.landing-page .primary {
  background: #1d4f91;
  box-shadow: none;
}

body.landing-page .primary:hover {
  background: #174176;
}

body.landing-page .secondary {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
}

body.landing-page .ghost {
  border: 1px solid #d1d5db;
  color: #1f2937;
  background: #ffffff;
}

body.landing-page .cred-line {
  margin: 0;
  color: #6b7280;
  font-size: 0.8rem;
}

body.landing-page .hero-visual {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  padding: 0.8rem;
}

body.landing-page .hero-visual-kicker {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  font-size: 0.67rem;
  color: #6b7280;
  font-weight: 600;
}

body.landing-page .hero-visual img {
  width: 100%;
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  min-height: 280px;
  object-fit: cover;
}

body.landing-page .hero-visual-caption {
  margin: 0.55rem 0 0;
  color: #6b7280;
  font-size: 0.78rem;
}

body.landing-page .section {
  padding: 3rem 6vw;
}

body.landing-page .section.alt {
  background: #f8fafc;
}

body.landing-page .section-head {
  max-width: 800px;
  margin-bottom: 1.55rem;
}

body.landing-page .section-head h2 {
  font-size: clamp(1.42rem, 2.2vw, 2rem);
  margin-bottom: 0.55rem;
}

body.landing-page .section-sub {
  font-size: 0.95rem;
  color: #4b5563;
}

body.landing-page .card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  padding: 1.15rem;
}

body.landing-page .grid-3 {
  gap: 1rem;
}

body.landing-page .weekly-read-grid,
body.landing-page .risk-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

body.landing-page .weekly-read-image img,
body.landing-page .risk-map-image img {
  width: 100%;
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

body.landing-page .weekly-read-summary {
  display: grid;
  gap: 0.8rem;
}

body.landing-page .weekly-block p {
  margin: 0 0 0.35rem;
}

body.landing-page .weekly-block p:last-child {
  margin-bottom: 0;
}

body.landing-page .summary-kicker {
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  font-size: 0.68rem;
  color: #6b7280;
  font-weight: 700;
}

body.landing-page .weekly-block ul,
body.landing-page .risk-map-list ul,
body.landing-page .deliverables-list,
body.landing-page .evidence-list,
body.landing-page .comparison-col ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #1f2937;
  display: grid;
  gap: 0.28rem;
}

body.landing-page .narrative-card p:last-child,
body.landing-page .methodology-card p:last-child {
  margin-bottom: 0;
}

body.landing-page .comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

body.landing-page .comparison-example {
  margin-top: 1rem;
}

body.landing-page .comparison-col h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

body.landing-page .highlight-col {
  border-color: rgba(29, 79, 145, 0.35);
  background: rgba(29, 79, 145, 0.04);
}

body.landing-page .users-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

body.landing-page .methodology-card {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

body.landing-page .final-cta-card {
  text-align: left;
  border-color: rgba(29, 79, 145, 0.3);
}

body.landing-page .final-cta-card p {
  color: #4b5563;
}

body.landing-page .footer {
  background: #ffffff;
  color: #111827;
  border-top: 1px solid #e5e7eb;
  padding: 2.4rem 6vw;
}

body.landing-page .footer-meta {
  color: #6b7280;
}

body.request-access-page .hero {
  padding: 1.2rem 6vw 1.5rem;
}

body.request-access-page .request-access-main {
  padding: 0 6vw 3.8rem;
}

body.request-access-page .request-access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: start;
  gap: 1rem;
}

body.request-access-page .request-access-intro {
  padding: 1.35rem;
}

body.request-access-page .request-access-intro h1 {
  font-size: clamp(1.8rem, 3.1vw, 2.5rem);
  line-height: 1.16;
  max-width: 18ch;
}

body.request-access-page .request-access-intro .lede {
  margin-bottom: 1rem;
}

body.request-access-page .request-access-form-card {
  padding: 1.35rem;
}

body.request-access-page .request-access-form-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

body.request-access-page .request-form {
  gap: 0.8rem;
  margin-top: 0;
}

body.request-access-page .request-form label {
  gap: 0.28rem;
  color: #4b5563;
  font-size: 0.82rem;
  font-weight: 500;
}

body.request-access-page .request-form input {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.64rem 0.75rem;
  color: #111827;
  background: #ffffff;
}

body.request-access-page .request-form input:focus {
  outline: none;
  border-color: #1d4f91;
  box-shadow: 0 0 0 2px rgba(29, 79, 145, 0.14);
}

body.request-access-page .request-form button {
  width: 100%;
  border-radius: 8px;
  margin-top: 0.2rem;
}

body.request-access-page .request-form-status {
  margin-top: 0.55rem;
  font-size: 0.88rem;
}

@media (max-width: 1080px) {
  body.landing-page .hero-grid,
  body.landing-page .weekly-read-grid,
  body.landing-page .risk-map-grid {
    grid-template-columns: 1fr;
  }

  body.landing-page .comparison-grid,
  body.landing-page .users-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.request-access-page .request-access-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.landing-page .hero {
    padding: 0.9rem 1rem 2rem;
  }

  body.landing-page .section {
    padding: 2.1rem 1rem;
  }

  body.landing-page .nav {
    border-radius: 10px;
    gap: 0.55rem;
  }

  body.landing-page .nav-links {
    width: 100%;
    order: 3;
    gap: 0.72rem;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.2rem;
  }

  body.landing-page .hero-copy h1 {
    font-size: 1.9rem;
  }

  body.landing-page .comparison-grid,
  body.landing-page .users-grid {
    grid-template-columns: 1fr;
  }

  body.landing-page .button-link {
    width: 100%;
    justify-content: center;
  }

  body.request-access-page .request-access-main {
    padding: 0 1rem 2.5rem;
  }
}

/* Institutional-minimal reconciliation layer */
:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --ink: #111827;
  --muted: #4b5563;
  --accent: #1d4f91;
  --accent-2: #9a6f1d;
  --card: #ffffff;
  --stroke: rgba(17, 24, 39, 0.14);
  --shadow: none;
}

body {
  background: #ffffff;
  color: var(--ink);
  line-height: 1.55;
}

h1,
h2,
h3,
h4,
.brand-text {
  font-family: "Space Grotesk", "Inter", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.hero-gradient {
  display: none;
}

.nav {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  backdrop-filter: none;
  box-shadow: none;
}

.brand-mark {
  width: auto;
  min-width: 34px;
  height: 26px;
  border-radius: 7px;
  padding: 0 0.52rem;
  background: #111827;
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
}

button,
.button-link {
  border-radius: 8px;
  transition: none;
}

button:hover,
.button-link:hover {
  transform: none;
}

.primary,
.button-link.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: none;
}

.secondary,
.ghost,
.button-link.ghost {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #d1d5db;
  box-shadow: none;
}

.section.alt {
  background: var(--bg-alt);
}

.card,
.hero-panel,
.signal-snapshot,
.stat-card,
.snapshot-banner,
.decision-brief-card,
.regime-status,
.final-cta-card,
.hero-visual,
.weekly-read-image,
.weekly-read-summary,
.risk-map-image,
.risk-map-list {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
}

.kpi-tape,
.social-proof-strip {
  border-radius: 10px;
  background: #ffffff;
  border-color: #e5e7eb;
}
