:root {
  --ink: #17212b;
  --muted: #5d6974;
  --subtle: #818c96;
  --canvas: #f4f6f8;
  --surface: #ffffff;
  --line: #d8dee4;
  --line-strong: #b7c1ca;
  --blue: #0f6cbd;
  --blue-dark: #0a4f8a;
  --blue-soft: #eaf4fc;
  --green: #107c10;
  --green-soft: #edf7ed;
  --coral: #c43e1c;
  --coral-soft: #fff0ec;
  --amber: #805006;
  --amber-soft: #fff4ce;
  --navy: #182b3a;
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.09);
  --font: "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
  --display: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: var(--analytics-banner-space, 0px);
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea,
a {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(15, 108, 189, 0.27);
  outline-offset: 3px;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand-dc {
  color: var(--ink);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.brand-dc span {
  color: var(--blue);
}

.brand-name {
  padding-left: 11px;
  border-left: 1px solid var(--line-strong);
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--blue);
}

.local-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #add6ad;
  border-radius: 999px;
  background: var(--green-soft);
  color: #0b5a0b;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.local-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 124, 16, 0.12);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.mobile-nav {
  display: none;
  padding: 8px 20px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.breadcrumb {
  padding: 18px 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--subtle);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumb span[aria-hidden="true"] {
  color: var(--line-strong);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--blue);
}

.page-hero.program::before {
  background: var(--coral);
}

.hero-inner {
  min-height: 505px;
  padding: 72px 0 44px;
  display: grid;
  align-content: center;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr);
  gap: 62px;
  align-items: center;
}

.hub-abstract-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-left: 1px solid rgba(129, 140, 150, 0.18);
  background:
    linear-gradient(rgba(129, 140, 150, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 140, 150, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.82;
}

.abstract-label {
  position: absolute;
  top: 18px;
  z-index: 3;
  color: var(--subtle);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-label { left: 22px; }
.output-label { right: 20px; }

.abstract-rows {
  position: absolute;
  top: 54px;
  bottom: 42px;
  left: 22px;
  width: 112px;
  display: grid;
  align-content: space-between;
}

.abstract-rows i {
  width: var(--row);
  height: 5px;
  display: block;
  border-radius: 4px;
  background: rgba(93, 105, 116, 0.23);
}

.abstract-flow {
  position: absolute;
  inset: 26px 0 0;
  width: 100%;
  height: 304px;
}

.flow-lines path {
  fill: none;
  stroke: rgba(93, 105, 116, 0.24);
  stroke-linecap: round;
  stroke-width: 1.25;
}

.flow-nodes circle {
  fill: rgba(93, 105, 116, 0.42);
}

.lens-rings circle {
  fill: none;
  stroke: rgba(71, 81, 90, 0.23);
  stroke-width: 1.5;
}

.lens-rings circle:nth-child(2) {
  fill: rgba(93, 105, 116, 0.035);
}

.lens-rings circle:nth-child(3) {
  fill: rgba(71, 81, 90, 0.1);
  stroke: rgba(71, 81, 90, 0.34);
}

.lens-handle {
  fill: none;
  stroke: rgba(71, 81, 90, 0.24);
  stroke-linecap: round;
  stroke-width: 8;
}

.abstract-signals {
  position: absolute;
  top: 71px;
  right: 13px;
  bottom: 51px;
  z-index: 3;
  display: grid;
  align-content: space-between;
}

.abstract-signals span {
  min-width: 78px;
  padding: 5px 7px;
  border: 1px solid rgba(129, 140, 150, 0.18);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.floating-metric {
  position: absolute;
  z-index: 4;
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 5px 14px rgba(23, 33, 43, 0.08);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.metric-up {
  top: 45px;
  right: 18px;
  color: var(--green);
}

.metric-down {
  right: 96px;
  bottom: 13px;
  color: var(--amber);
}

.metric-risk {
  right: 14px;
  bottom: 13px;
  color: #9c3116;
}

.metric-paid {
  top: 39px;
  right: 16px;
  color: var(--green);
}

.page-hero-inner {
  min-height: 390px;
  padding: 54px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program .eyebrow,
.eyebrow.coral {
  color: var(--coral);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 730;
  line-height: 1.04;
}

.page-hero h1 {
  font-size: 48px;
}

.hero-copy,
.page-hero-copy {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.page-hero-copy {
  font-size: 18px;
}

.hero-actions,
.button-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.button:hover {
  background: var(--blue-dark);
}

.button:active {
  transform: translateY(1px);
}

.button.secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.button.coral {
  background: var(--coral);
}

.button.coral:hover {
  background: #9c3116;
}

.button.large {
  min-height: 54px;
  padding: 0 23px;
  font-size: 16px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.release-inline {
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.release-inline strong {
  color: var(--ink);
}

.latest-release-band {
  border-top: 1px solid #c5dced;
  border-bottom: 1px solid #c5dced;
  background: var(--blue-soft);
}

.latest-release-inner {
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
  align-items: start;
}

.latest-release-heading h2 {
  max-width: 430px;
  margin: 7px 0 5px;
  font-family: var(--display);
  font-size: 32px;
  line-height: 1.15;
}

.latest-release-meta {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.latest-release-heading .text-link {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 3px;
}

.latest-release-notes {
  min-width: 0;
  padding-left: 32px;
  border-left: 3px solid var(--blue);
}

.latest-release-notes h3 {
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.latest-release-notes h3:not(:first-child) {
  margin-top: 20px;
}

.latest-release-notes ul {
  margin: 0;
  padding-left: 20px;
}

.latest-release-notes li {
  margin-bottom: 7px;
  color: var(--ink);
}

.trust-strip {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  min-height: 82px;
  padding: 17px 24px 17px 0;
  display: grid;
  align-content: center;
  gap: 3px;
}

.trust-item + .trust-item {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.trust-item strong {
  font-size: 14px;
}

.trust-item span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 76px 0;
}

.section.white {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.section.compact {
  padding: 56px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 31px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 35px;
  line-height: 1.18;
}

.section-heading p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
  min-height: 370px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 6px;
  background: var(--surface);
}

.product-card.program {
  border-top-color: var(--coral);
}

.product-card h3 {
  margin: 7px 0 8px;
  font-family: var(--display);
  font-size: 27px;
}

.product-card > p {
  margin: 0;
  color: var(--muted);
}

.product-motif {
  position: relative;
  min-height: 128px;
  margin: 22px 0 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 246, 248, 0.55);
}

.motif-caption {
  position: absolute;
  top: 9px;
  right: 10px;
  color: var(--subtle);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 32%;
  border: 1px solid rgba(93, 105, 116, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-outer { width: 104px; height: 104px; }
.orbit-middle { width: 72px; height: 72px; }
.orbit-inner { width: 40px; height: 40px; }

.orbit i {
  position: absolute;
  top: -3px;
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(15, 108, 189, 0.42);
}

.orbit span {
  position: absolute;
  width: 66px;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.orbit span::before {
  content: "";
  position: absolute;
  top: 6px;
  right: calc(100% + 6px);
  width: 14px;
  height: 1px;
  background: rgba(93, 105, 116, 0.18);
}

.orbit-outer span {
  top: 15px;
  left: 120px;
}

.orbit-middle span {
  top: 30px;
  left: 104px;
}

.orbit-inner span {
  top: 43px;
  left: 88px;
}

.motif-core {
  position: absolute;
  top: calc(50% - 5px);
  left: calc(32% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 108, 189, 0.15);
}

.lifecycle-path {
  position: absolute;
  top: 53px;
  right: 32px;
  left: 32px;
  height: 1px;
  display: flex;
  justify-content: space-between;
  background: rgba(93, 105, 116, 0.22);
}

.lifecycle-path i {
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border: 2px solid rgba(196, 62, 28, 0.34);
  border-radius: 50%;
  background: #f8f9fa;
}

.lifecycle-labels {
  position: absolute;
  top: 69px;
  right: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}

.risk-branch {
  position: absolute;
  right: 26px;
  bottom: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--subtle);
  font-size: 8px;
}

.risk-branch i {
  width: 24px;
  height: 1px;
  display: block;
  background: rgba(196, 62, 28, 0.24);
}

.feature-list,
.check-list {
  margin: 22px 0 24px;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 2px;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: rotate(-45deg);
}

.product-footer {
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.product-meta {
  margin-bottom: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.product-meta strong {
  color: var(--ink);
  font-size: 15px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-actions .button:first-child {
  flex: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  min-width: 0;
  padding: 27px 25px 27px 0;
}

.step + .step {
  padding-left: 25px;
  border-left: 1px solid var(--line);
}

.step-number {
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.step h3 {
  margin: 0;
  font-size: 17px;
}

.step p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.dark-band {
  background: var(--navy);
  color: #ffffff;
}

.dark-band-inner {
  padding: 54px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: center;
}

.dark-band h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 32px;
}

.dark-band p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #c4d0da;
}

.signal-panel {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
}

.signal-panel h2,
.signal-panel h3 {
  margin: 0;
  font-family: var(--display);
}

.signal-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.signal {
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.signal span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.signal strong {
  display: block;
  margin-top: 5px;
  font-family: var(--display);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.hero-preview {
  min-height: 285px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--canvas);
  background-size: 28px 28px;
  box-shadow: var(--shadow);
}

.consumption-hero-canvas,
.program-hero-canvas {
  position: relative;
  min-height: 320px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    #f6f8f9;
  background-size: 32px 32px;
  box-shadow: var(--shadow);
}

.canvas-heading {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
}

.canvas-heading span {
  color: var(--muted);
}

.consumption-area-chart {
  position: absolute;
  top: 45px;
  right: 0;
  left: 0;
  width: 100%;
  height: 230px;
}

.consumption-area-chart .chart-grid {
  fill: none;
  stroke: rgba(129, 140, 150, 0.18);
  stroke-width: 1;
}

.consumption-area-chart .chart-area {
  fill: rgba(15, 108, 189, 0.08);
  stroke: none;
}

.consumption-area-chart .chart-line {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.canvas-yoy {
  top: 75px;
  right: 22px;
  color: var(--green);
}

.canvas-attach {
  top: 168px;
  right: 88px;
  color: var(--amber);
}

.canvas-kpis {
  position: absolute;
  right: 18px;
  bottom: 15px;
  left: 18px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.88);
}

.canvas-kpis div {
  padding: 9px 10px;
}

.canvas-kpis div + div {
  border-left: 1px solid var(--line);
}

.canvas-kpis span,
.canvas-kpis strong {
  display: block;
}

.canvas-kpis span {
  color: var(--muted);
  font-size: 9px;
}

.canvas-kpis strong {
  margin-top: 2px;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.claim-funnel {
  width: 74%;
  margin: 27px auto 0 0;
  display: grid;
  gap: 8px;
}

.claim-funnel div {
  width: var(--funnel);
  min-height: 33px;
  padding: 7px 10px;
  display: flex;
  justify-content: space-between;
  border-left: 4px solid var(--coral);
  background: rgba(196, 62, 28, 0.11);
  font-size: 11px;
}

.claim-funnel b {
  font-variant-numeric: tabular-nums;
}

.program-earned {
  top: 72px;
  right: 18px;
  color: var(--green);
}

.program-risk {
  top: 118px;
  right: 39px;
  color: #9c3116;
}

.program-cycle {
  position: absolute;
  right: 20px;
  bottom: 19px;
  left: 20px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 16px;
  border-top: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
  font-size: 10px;
}

.program-cycle span {
  color: var(--muted);
}

.program-cycle strong {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.program-cycle > i {
  height: 5px;
  grid-column: 1 / -1;
  display: block;
  background: var(--line);
}

.program-cycle > i b {
  width: var(--cycle);
  height: 100%;
  display: block;
  background: var(--coral);
}

.consumption-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.insight-story {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.story-copy {
  padding: 20px 20px 16px;
}

.story-copy > span {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.story-copy h3 {
  margin: 4px 0 5px;
  font-family: var(--display);
  font-size: 19px;
}

.story-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.story-visual {
  position: relative;
  min-height: 185px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    #f6f8f9;
  background-size: 27px 27px;
}

.financial-bars {
  position: absolute;
  right: 20px;
  bottom: 27px;
  left: 20px;
  height: 112px;
  display: flex;
  align-items: end;
  gap: 9px;
}

.financial-bars i {
  width: 20%;
  height: var(--bar);
  display: block;
  border-top: 3px solid var(--blue);
  background: rgba(15, 108, 189, 0.1);
}

.financial-story .metric-up {
  top: 29px;
  right: 15px;
}

.story-axis {
  position: absolute;
  bottom: 7px;
  left: 20px;
  color: var(--subtle);
  font-size: 9px;
}

.story-axis.right {
  right: 20px;
  left: auto;
}

.movement-story {
  padding: 35px 16px 14px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.movement-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 9px;
}

.movement-row b {
  overflow: hidden;
  text-overflow: ellipsis;
}

.movement-row em {
  color: var(--muted);
  font-style: normal;
}

.movement-line {
  height: 5px;
  display: block;
  background: var(--line);
}

.movement-line.up { background: linear-gradient(90deg, var(--line), var(--green)); }
.movement-line.restart { background: linear-gradient(90deg, var(--line) 35%, var(--blue) 35% 55%, var(--line) 55% 72%, var(--blue) 72%); }
.movement-line.down { background: linear-gradient(90deg, var(--coral), var(--line)); }

.scenario-story {
  padding: 34px 14px 14px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.scenario-story > div {
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  border-left: 3px solid var(--blue);
  background: rgba(255, 255, 255, 0.88);
  font-size: 9px;
}

.scenario-story b {
  grid-column: 1 / -1;
}

.scenario-story span {
  color: var(--muted);
}

.scenario-story em {
  color: var(--blue-dark);
  font-style: normal;
  font-weight: 800;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.persona-grid article {
  padding: 24px 24px 24px 0;
}

.persona-grid article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.persona-grid span,
.role-workflow article > span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.persona-grid h3 {
  margin: 7px 0 5px;
  font-size: 17px;
}

.persona-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.program-operations-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.program-board-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.payout-board {
  min-height: 255px;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(420px, 1.3fr);
}

.payout-board .story-copy {
  align-self: center;
}

.payout-visual {
  position: relative;
  padding: 48px 22px 22px;
  display: grid;
  align-content: center;
  gap: 16px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    #f7f8f9;
  background-size: 28px 28px;
}

.payout-visual > div {
  display: grid;
  grid-template-columns: 50px 1fr 48px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
}

.payout-visual i {
  height: 18px;
  display: block;
  background: var(--line);
}

.payout-visual i b {
  width: var(--amount);
  height: 100%;
  display: block;
  background: var(--coral);
}

.payout-visual strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.payout-visual em {
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.lifecycle-track {
  padding: 4px 22px 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lifecycle-track div {
  position: relative;
  padding-top: 24px;
  display: grid;
  text-align: center;
}

.lifecycle-track div::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--line-strong);
}

.lifecycle-track i {
  position: absolute;
  top: 3px;
  left: calc(50% - 6px);
  z-index: 2;
  width: 12px;
  height: 12px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  background: #ffffff;
}

.lifecycle-track b {
  font-size: 10px;
}

.lifecycle-track span {
  color: var(--muted);
  font-size: 9px;
}

.risk-queue {
  padding: 2px 18px 18px;
  display: grid;
  gap: 7px;
}

.risk-queue div {
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 9px;
  border-left: 3px solid var(--coral);
  background: var(--canvas);
  font-size: 9px;
}

.risk-queue span {
  color: var(--muted);
}

.risk-queue em {
  color: #9c3116;
  font-style: normal;
  font-weight: 800;
}

.role-workflow {
  border-top: 1px solid var(--line);
}

.role-workflow article {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 180px minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}

.role-workflow article > span {
  color: var(--coral);
}

.role-workflow strong {
  font-size: 15px;
}

.role-workflow p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.preview-head {
  padding-bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 750;
}

.preview-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
}

.preview-chart {
  height: 150px;
  margin-top: 26px;
  display: flex;
  align-items: end;
  gap: 10px;
}

.preview-chart span {
  flex: 1;
  min-width: 10px;
  border-radius: 2px 2px 0 0;
  background: var(--blue);
  opacity: 0.85;
}

.program .preview-chart span {
  background: var(--coral);
}

.preview-caption {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 58px;
  align-items: start;
}

.detail-grid.reverse {
  grid-template-columns: minmax(420px, 1.18fr) minmax(0, 0.82fr);
}

.detail-copy h2,
.content-column h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 32px;
}

.detail-copy > p,
.content-column > p {
  color: var(--muted);
}

.requirements-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.requirements-list li {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.requirements-list strong {
  font-weight: 750;
}

.requirements-list span {
  color: var(--muted);
}

.callout {
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.callout.amber {
  border-left-color: var(--amber);
  background: var(--amber-soft);
  color: #664009;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
}

.guide-layout {
  display: block;
}

.guide-nav {
  position: sticky;
  top: 76px;
  z-index: 30;
  margin-bottom: 40px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(23, 33, 43, 0.08);
  backdrop-filter: blur(14px);
}

.guide-nav a {
  padding: 5px 9px;
  display: block;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}

.guide-nav a:last-child {
  border-right: 0;
}

.guide-nav a:hover {
  color: var(--blue);
}

.guide-section {
  padding: 0 0 48px;
  scroll-margin-top: 95px;
}

.guide-section + .guide-section {
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.guide-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 31px;
}

.guide-section > p {
  color: var(--muted);
}

.walkthrough-frame {
  width: 100%;
  height: 756px;
  margin-top: 20px;
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #edebe9;
  box-shadow: var(--shadow);
}

.mobile-walkthrough {
  display: none;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--blue-soft);
}

.release-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.product-filter {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 8px;
}

.filter-button {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.filter-button[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.release-entry {
  padding: 0 0 34px;
}

.release-entry + .release-entry {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.release-entry[hidden] {
  display: none;
}

.release-entry h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 27px;
}

.release-entry time {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.release-entry ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.release-entry li {
  margin-bottom: 7px;
}

details.release-entry {
  padding-bottom: 0;
}

details.release-entry + details.release-entry {
  padding-top: 0;
}

.release-entry > summary {
  position: relative;
  padding: 22px 44px 22px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.release-entry > summary::-webkit-details-marker {
  display: none;
}

.release-entry > summary::after {
  content: "+";
  position: absolute;
  top: calc(50% - 14px);
  right: 4px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 400;
}

.release-entry[open] > summary::after {
  content: "-";
}

.release-entry[data-release-product="program"] > summary::after {
  color: var(--coral);
}

.release-summary-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.release-product-label {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.release-entry[data-release-product="program"] .release-product-label {
  color: var(--coral);
}

.release-summary-copy strong {
  font-family: var(--display);
  font-size: 21px;
}

.release-entry > summary time {
  margin: 0;
  text-align: right;
}

.release-body {
  padding: 0 0 27px;
}

.release-body h3 {
  margin: 19px 0 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-body p,
.release-body li {
  color: var(--muted);
  font-size: 14px;
}

.release-body p {
  margin: 8px 0;
}

.release-body ul {
  margin: 0;
  padding-left: 20px;
}

.release-body .button-row {
  margin-top: 20px;
}

.artifact-metadata {
  margin: 12px 0 0 !important;
  color: var(--subtle) !important;
  font-size: 11px !important;
}

.artifact-metadata code {
  color: var(--muted);
  font-size: 11px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--blue);
  font-size: 21px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  max-width: 780px;
  margin: -4px 0 18px;
  color: var(--muted);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
  gap: 60px;
  align-items: start;
}

.support-form {
  padding: 25px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.field.full,
.form-guard,
.form-note,
.form-actions {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field-help,
.form-note {
  color: var(--muted);
  font-size: 12px;
}

.form-guard {
  padding: 14px 15px;
  border: 1px solid #e5ce87;
  background: var(--amber-soft);
}

.form-guard label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  cursor: pointer;
}

.form-guard input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.form-guard span {
  color: #664009;
  font-size: 13px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(242, 248, 251, 0.94)),
    repeating-linear-gradient(135deg, transparent 0 26px, rgba(23, 99, 135, 0.08) 26px 27px);
}

.contact-signal-panel a,
.contact-email-block a,
.form-note a {
  color: var(--blue-dark);
  font-weight: 750;
}

.contact-signal-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
  display: grid;
  place-items: center;
  border: 1px solid #b9d8ed;
  border-radius: 4px;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.contact-signal-icon svg,
.contact-boundaries svg,
.privacy-safe-pill svg,
.file-picker-button svg,
.selected-file > svg,
.form-actions svg {
  width: 18px;
  height: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(520px, 1.38fr);
  gap: 56px;
  align-items: start;
}

.contact-context {
  position: sticky;
  top: 98px;
}

.contact-context h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 31px;
}

.contact-boundaries {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--line);
  list-style: none;
}

.contact-boundaries li {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.contact-boundaries svg {
  color: var(--green);
}

.contact-boundaries .avoid svg {
  color: var(--coral);
}

.contact-email-block {
  margin-top: 24px;
  padding: 16px 0;
  display: grid;
  gap: 3px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.contact-email-block span {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.contact-email-block a {
  font-size: 17px;
}

.contact-form {
  padding: 30px;
  border-top: 3px solid var(--blue);
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(23, 33, 43, 0.08);
}

.contact-form-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
}

.contact-form-heading > p:last-child {
  margin: 7px 0 0;
  color: var(--muted);
}

.contact-form[data-request-type="feedback"] {
  border-top-color: var(--coral);
}

.contact-form[data-request-type="feedback"] .contact-form-heading .eyebrow {
  color: var(--coral);
}

.request-type {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.request-type legend {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 750;
}

.request-type-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.request-type-options label {
  min-width: 0;
  cursor: pointer;
}

.request-type-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.request-type-options span {
  min-height: 70px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 9px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
}

.request-type-options svg {
  width: 20px;
  height: 20px;
  grid-row: 1 / 3;
  color: var(--blue);
}

.request-type-options strong,
.request-type-options small {
  min-width: 0;
}

.request-type-options small {
  color: var(--muted);
  font-size: 11px;
}

.request-type-options input:checked + span {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.request-type-options input[value="feedback"]:checked + span {
  border-color: var(--coral);
  background: var(--coral-soft);
  box-shadow: inset 0 0 0 1px var(--coral);
}

.request-type-options input:focus-visible + span {
  outline: 3px solid rgba(20, 108, 150, 0.22);
  outline-offset: 2px;
}

.diagnostics-field {
  padding: 17px;
  border: 1px dashed #8dbbd0;
  background: #f5fafc;
}

.diagnostics-field[hidden] {
  display: none;
}

.diagnostics-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.diagnostics-heading > div {
  display: grid;
  gap: 5px;
}

.diagnostics-heading label span {
  color: var(--muted);
  font-weight: 500;
}

.privacy-safe-pill {
  padding: 5px 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  border: 1px solid #a9d5c2;
  border-radius: 3px;
  background: var(--green-soft);
  color: #205d47;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.privacy-safe-pill svg {
  width: 14px;
  height: 14px;
}

.file-input {
  position: absolute;
  width: 1px !important;
  height: 1px;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.file-picker {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-picker-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.file-picker > span {
  color: var(--muted);
  font-size: 11px;
}

.selected-file {
  margin-top: 12px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
  border: 1px solid #a9d5c2;
  background: #ffffff;
}

.selected-file > svg {
  color: #205d47;
}

.selected-file > span {
  min-width: 0;
  display: grid;
}

.selected-file strong,
.selected-file small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-file small {
  color: var(--muted);
}

.selected-file button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 20px;
  margin: 0;
  align-self: center;
  color: var(--muted);
  font-size: 12px;
}

.form-status[data-state="error"] {
  color: #9c2e22;
  font-weight: 700;
}

.form-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-success {
  padding: 26px 4px 8px;
  text-align: center;
}

.contact-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: #205d47;
}

.contact-success-icon svg {
  width: 27px;
  height: 27px;
}

.contact-success h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 31px;
}

.contact-success p:not(.eyebrow) {
  margin: 8px auto 20px;
  color: var(--muted);
}

.contact-form.is-sent > :not(.contact-success) {
  display: none;
}

.contact-entry-panel {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(23, 33, 43, 0.08);
}

.feedback-entry-panel {
  border-top-color: var(--coral);
  background: linear-gradient(145deg, #ffffff 0 72%, var(--coral-soft) 100%);
}

.support-entry-panel {
  background: linear-gradient(145deg, #ffffff 0 72%, var(--blue-soft) 100%);
}

.entry-panel-number {
  position: absolute;
  top: 16px;
  right: 20px;
  color: var(--line-strong);
  font-family: var(--display);
  font-size: 48px;
  font-weight: 750;
  line-height: 1;
}

.contact-entry-panel h3 {
  max-width: 420px;
  margin: 0;
  font-family: var(--display);
  font-size: 29px;
}

.contact-entry-panel > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
}

.entry-panel-list {
  margin: 20px 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.entry-panel-list li {
  min-height: 62px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.entry-panel-list li + li {
  border-left: 1px solid var(--line);
}

.contact-entry-panel .button-row {
  align-items: center;
}

.text-link {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 750;
}

.policy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 94px;
  border-top: 1px solid var(--line);
}

.policy-nav a {
  padding: 12px 0;
  display: block;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.policy-section {
  padding-bottom: 38px;
  scroll-margin-top: 96px;
}

.policy-section + .policy-section {
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 29px;
}

.policy-section h3 {
  margin: 24px 0 6px;
  font-size: 17px;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
}

.policy-section table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 14px;
}

.policy-section th,
.policy-section td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.policy-section th {
  background: var(--canvas);
}

.site-footer {
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a,
.footer-links button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--blue);
}

.footer-legal {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 12px;
}

.footer-legal p {
  margin: 0;
}

.footer-legal p + p {
  margin-top: 3px;
}

.analytics-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 120;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 22px 62px rgba(23, 33, 43, 0.24);
}

.analytics-banner[hidden] {
  display: none;
}

.analytics-banner strong {
  display: block;
  font-family: var(--display);
  font-size: 19px;
}

.analytics-banner p,
.analytics-dialog > p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.analytics-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 8px;
}

.analytics-choice-grid button {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
}

.analytics-choice-grid button:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.analytics-dialog {
  width: min(680px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(23, 33, 43, 0.3);
}

.analytics-dialog::backdrop {
  background: rgba(12, 18, 24, 0.58);
}

.analytics-dialog-head {
  padding: 24px 26px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.analytics-dialog-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 27px;
}

.dialog-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.analytics-dialog > p {
  padding: 17px 26px 0;
}

.analytics-status {
  margin-top: 16px !important;
  padding: 12px 15px !important;
  border-top: 1px solid #b9d8ed;
  border-bottom: 1px solid #b9d8ed;
  background: var(--blue-soft);
  color: var(--blue-dark) !important;
}

.analytics-dialog-actions {
  padding: 20px 26px 10px;
}

.settings-link {
  margin: 0 26px 24px;
  display: inline-block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 110;
  width: min(380px, calc(100% - 36px));
  padding: 15px 17px;
  border: 1px solid #86b7dc;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast strong {
  display: block;
}

.toast span {
  color: var(--muted);
  font-size: 13px;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .page-hero-inner,
  .detail-grid,
  .detail-grid.reverse,
  .support-grid,
  .latest-release-inner {
    grid-template-columns: 1fr;
  }

  .latest-release-inner {
    gap: 30px;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hub-abstract-visual {
    min-height: 300px;
    border-left: 0;
  }

  .page-hero-inner {
    gap: 34px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .consumption-story-grid,
  .persona-grid,
  .program-operations-board {
    grid-template-columns: 1fr;
  }

  .persona-grid article,
  .persona-grid article + article {
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .persona-grid article:first-child {
    border-top: 0;
  }

  .payout-board {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .payout-visual {
    min-height: 220px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .role-workflow article {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .guide-layout,
  .release-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .guide-nav,
  .product-filter,
  .policy-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 0;
  }

  .guide-nav a,
  .policy-nav a {
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
  }

  .product-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .walkthrough-frame {
    display: none;
  }

  .mobile-walkthrough {
    display: block;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: static;
  }

  .nav-shell {
    min-height: 60px;
  }

  .brand-dc {
    font-size: 23px;
  }

  .brand-name {
    display: none;
  }

  .hero-inner {
    min-height: 0;
    padding: 52px 0 34px;
  }

  .home-hero-inner {
    padding-top: 42px;
  }

  .home-hero-grid {
    gap: 20px;
  }

  .hub-abstract-visual {
    min-height: 145px;
  }

  .abstract-flow {
    top: -28px;
    height: 205px;
  }

  .abstract-rows {
    top: 35px;
    bottom: 20px;
    left: 8px;
    width: 72px;
  }

  .abstract-label {
    top: 6px;
    font-size: 7px;
  }

  .source-label { left: 8px; }
  .output-label { right: 7px; }

  .abstract-signals {
    top: 35px;
    right: 5px;
    bottom: 18px;
  }

  .abstract-signals span {
    min-width: 59px;
    padding: 3px 4px;
    font-size: 7px;
  }

  .page-hero-inner {
    min-height: 0;
    padding: 28px 0;
  }

  h1,
  .page-hero h1 {
    font-size: 39px;
    line-height: 1.08;
  }

  .hero-copy,
  .page-hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .button-row .button {
    width: 100%;
  }

  .release-inline {
    text-align: center;
  }

  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
  }

  .trust-item,
  .trust-item + .trust-item {
    min-height: 66px;
    padding: 11px 7px;
    border-left: 1px solid var(--line);
    text-align: center;
  }

  .trust-item:first-child {
    border-left: 0;
  }

  .trust-item strong {
    font-size: 11px;
    line-height: 1.25;
  }

  .trust-item span {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .latest-release-inner {
    padding: 38px 0;
  }

  .latest-release-heading h2 {
    font-size: 29px;
  }

  .latest-release-notes {
    padding: 22px 0 0;
    border-top: 3px solid var(--blue);
    border-left: 0;
  }

  .section-heading h2,
  .dark-band h2 {
    font-size: 30px;
  }

  .product-card {
    min-height: 0;
    padding: 23px 20px;
  }

  .consumption-hero-canvas,
  .program-hero-canvas {
    min-height: 300px;
    padding: 18px;
  }

  .canvas-attach {
    right: 22px;
  }

  .canvas-kpis {
    right: 10px;
    left: 10px;
  }

  .claim-funnel {
    width: 78%;
  }

  .program-earned,
  .program-risk {
    right: 10px;
  }

  .lifecycle-track {
    padding-right: 8px;
    padding-left: 8px;
  }

  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step,
  .step + .step {
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .step:first-child {
    border-top: 0;
  }

  .dark-band-inner {
    padding: 45px 0;
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .requirements-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .support-form {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-context {
    position: static;
  }

  .request-type-options {
    grid-template-columns: 1fr;
  }

  .entry-panel-list {
    grid-template-columns: 1fr;
  }

  .entry-panel-list li {
    min-height: 0;
  }

  .entry-panel-list li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .diagnostics-heading,
  .file-picker {
    align-items: stretch;
    flex-direction: column;
  }

  .privacy-safe-pill {
    align-self: flex-start;
  }

  .file-picker-button {
    justify-content: center;
  }

  .field.full,
  .form-guard,
  .form-note,
  .form-actions {
    grid-column: 1;
  }

  .product-filter {
    grid-template-columns: 1fr;
  }

  .policy-section table,
  .policy-section thead,
  .policy-section tbody,
  .policy-section tr,
  .policy-section th,
  .policy-section td {
    display: block;
  }

  .policy-section th {
    border-bottom: 0;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .release-entry > summary {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .release-entry > summary time {
    text-align: left;
  }

  .analytics-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .analytics-choice-grid {
    grid-template-columns: 1fr;
  }

  .analytics-dialog-head,
  .analytics-dialog > p,
  .analytics-dialog-actions {
    padding-right: 20px;
    padding-left: 20px;
  }

  .settings-link {
    margin-right: 20px;
    margin-left: 20px;
  }
}

@media (max-width: 340px) {
  .home-hero-inner {
    padding-top: 30px;
    padding-bottom: 22px;
  }

  .home-hero-grid {
    gap: 12px;
  }

  .hub-abstract-visual {
    min-height: 55px;
  }

  .hub-abstract-visual .abstract-label,
  .hub-abstract-visual .abstract-rows,
  .hub-abstract-visual .abstract-signals {
    display: none;
  }

  .hub-abstract-visual .abstract-flow {
    top: -63px;
    height: 180px;
  }

  .trust-strip {
    margin-top: 18px;
  }
}