:root {
  --paper: #f3f0e8;
  --paper-deep: #e9e4d9;
  --panel: #fffdf8;
  --panel-cool: #f6f8f5;
  --ink: #17201f;
  --ink-soft: #4e5a57;
  --ink-faint: #77807d;
  --night: #111918;
  --night-soft: #1c2725;
  --red: #cf3f32;
  --red-dark: #9c2b24;
  --red-pale: #f7dfda;
  --sage: #3f6c60;
  --sage-dark: #285247;
  --sage-pale: #dcebe5;
  --gold: #d6a84f;
  --gold-pale: #f4e8c9;
  --blue: #315f7b;
  --blue-pale: #dce8ee;
  --line: #d8d3c7;
  --line-dark: #bab4a7;
  --shadow-sm: 0 4px 16px rgba(17, 25, 24, 0.06);
  --shadow-md: 0 16px 50px rgba(17, 25, 24, 0.1);
  --shadow-lg: 0 30px 90px rgba(6, 12, 11, 0.22);
  --radius-sm: 10px;
  --radius-md: 17px;
  --radius-lg: 26px;
  --shell: 1380px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(34, 45, 43, 0.025) 50%, transparent calc(50% + 1px)),
    var(--paper);
  color: var(--ink);
  font-family: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

a {
  color: var(--sage-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red-dark);
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.legal-strip {
  background: #0c1211;
  color: #bdc7c4;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legal-strip__inner {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-strip__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dce7e4;
}

.legal-strip__status i,
.autosave i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #75c79e;
  box-shadow: 0 0 0 4px rgba(117, 199, 158, 0.12);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(23, 32, 31, 0.12);
  background: rgba(248, 246, 239, 0.9);
  box-shadow: 0 5px 28px rgba(17, 25, 24, 0.05);
  backdrop-filter: blur(18px) saturate(1.2);
}

.site-header__inner {
  display: grid;
  min-height: 74px;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.05em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.brand__mark span {
  color: #ef6658;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
}

.brand__copy strong {
  font-size: 13px;
  letter-spacing: 0.015em;
}

.brand__copy small {
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.view-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.view-nav__button {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: 160ms ease;
}

.view-nav__button:hover {
  color: var(--ink);
}

.view-nav__button.is-active {
  background: var(--ink);
  color: white;
  box-shadow: 0 5px 15px rgba(17, 25, 24, 0.14);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.button:focus-visible,
.icon-button:focus-visible,
.view-nav__button:focus-visible,
.phase-nav__item:focus-visible,
.launch-card__resume:focus-visible,
.phase__summary:focus-visible,
.phase-rail__tools button:focus-visible {
  outline: 3px solid rgba(207, 63, 50, 0.32);
  outline-offset: 3px;
}

.button {
  min-height: 42px;
  gap: 10px;
  border-radius: 11px;
  padding: 0 17px;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.button svg {
  width: 17px;
  height: 17px;
}

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

.button--quiet {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}

.button--primary {
  background: var(--red);
  color: white;
  box-shadow: 0 12px 30px rgba(207, 63, 50, 0.26);
}

.button--primary:hover {
  background: #dd483b;
  box-shadow: 0 15px 35px rgba(207, 63, 50, 0.34);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #eef2ef;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.11);
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: white;
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(to right, black, transparent 78%);
}

.hero__glow {
  position: absolute;
  width: 660px;
  height: 660px;
  right: -260px;
  bottom: -360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 63, 50, 0.45), rgba(207, 63, 50, 0) 66%);
}

.hero__inner {
  position: relative;
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1.35fr) minmax(350px, 0.65fr);
  align-items: center;
  gap: 80px;
  padding-block: 70px 76px;
}

.hero__copy {
  max-width: 800px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #a9b5b1;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow span {
  border-radius: 4px;
  padding: 5px 7px;
  background: var(--red);
  color: white;
}

.hero h1 {
  max-width: 800px;
  margin: 22px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.1vw, 78px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 em {
  color: #eec7be;
  font-weight: 400;
}

.hero__copy > p {
  max-width: 700px;
  margin: 0;
  color: #bdc7c4;
  font-size: 16px;
  line-height: 1.68;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__position {
  display: grid;
  max-width: 660px;
  grid-template-columns: auto 1fr;
  gap: 1px 15px;
  align-items: baseline;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__position-label {
  grid-row: 1 / span 2;
  align-self: start;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(117, 199, 158, 0.12);
  color: #89d0ad;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero__position strong {
  font-size: 13px;
}

.hero__position > span:last-child {
  color: #9faaa7;
  font-size: 12px;
}

.launch-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(19, 29, 27, 0.86);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.launch-card::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  content: "";
}

.launch-card__topline {
  display: flex;
  justify-content: space-between;
  color: #c9d2cf;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.autosave {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8ea09b;
  font-size: 9px;
}

.progress-orbit {
  position: relative;
  display: grid;
  width: 156px;
  height: 156px;
  place-items: center;
  margin: 24px auto 16px;
  border-radius: 50%;
  background: conic-gradient(var(--red) var(--progress), rgba(255, 255, 255, 0.08) 0);
  box-shadow: 0 0 45px rgba(207, 63, 50, 0.1);
}

.progress-orbit::before {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #192321;
  content: "";
}

.progress-orbit__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.progress-orbit__inner strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.progress-orbit__inner span {
  margin-top: 8px;
  color: #85938f;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.progress-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 22px;
}

.progress-copy strong {
  color: #f2f5f4;
  font-size: 13px;
}

.progress-copy span {
  overflow: hidden;
  max-width: 100%;
  color: #899692;
  font-size: 11px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launch-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.launch-card__stats > div {
  display: flex;
  min-height: 90px;
  flex-direction: column;
  justify-content: center;
  padding: 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.launch-card__stats span {
  color: #7f8f8a;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.launch-card__stats strong {
  margin: 4px 0 1px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
}

.launch-card__stats small {
  color: #91a09c;
  font-size: 9px;
}

.launch-card__resume {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  border: 0;
  border-radius: 10px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #e5eae8;
  cursor: pointer;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.03em;
}

.launch-card__resume:hover {
  background: rgba(255, 255, 255, 0.13);
}

.launch-card__resume svg {
  width: 15px;
  height: 15px;
}

.signal-bar {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: #faf8f2;
  box-shadow: var(--shadow-sm);
}

.signal-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.signal-bar__inner > div {
  display: grid;
  min-height: 98px;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  padding: 20px 30px;
  border-right: 1px solid var(--line);
}

.signal-bar__inner > div:first-child {
  border-left: 1px solid var(--line);
}

.signal-bar span {
  grid-row: 1 / span 2;
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}

.signal-bar strong {
  font-size: 12px;
}

.signal-bar small {
  margin-top: 2px;
  color: var(--ink-faint);
  font-size: 10px;
}

.workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 46px;
  padding-block: 54px 100px;
}

.phase-rail {
  position: sticky;
  top: 105px;
  align-self: start;
  max-height: calc(100vh - 130px);
  overflow: auto;
  scrollbar-width: thin;
}

.phase-rail__heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 10px 10px;
  border-bottom: 1px solid var(--line);
}

.phase-rail__heading span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phase-rail__heading small {
  color: var(--ink-faint);
  font-size: 10px;
}

#phase-nav {
  position: relative;
}

#phase-nav::before {
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 21px;
  width: 1px;
  background: var(--line);
  content: "";
}

.phase-nav__item {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 31px 1fr auto;
  gap: 9px;
  align-items: center;
  border: 0;
  border-radius: 10px;
  padding: 7px 8px 7px 6px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  transition: 150ms ease;
}

.phase-nav__item:hover,
.phase-nav__item.is-current {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.phase-nav__number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 750;
}

.phase-nav__item.is-started .phase-nav__number {
  border-color: #9bbab1;
  background: var(--sage-pale);
  color: var(--sage-dark);
}

.phase-nav__item.is-complete .phase-nav__number {
  border-color: var(--sage);
  background: var(--sage);
  color: white;
}

.phase-nav__label {
  overflow: hidden;
  font-size: 10px;
  font-weight: 670;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phase-nav__count {
  color: var(--ink-faint);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.phase-rail__tools {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 15px;
  padding: 14px 8px 0;
  border-top: 1px solid var(--line);
}

.phase-rail__tools button {
  border: 0;
  border-radius: 6px;
  padding: 6px 8px;
  background: transparent;
  color: var(--ink-faint);
  cursor: pointer;
  font-size: 9px;
  font-weight: 670;
  text-align: left;
}

.phase-rail__tools button:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

.content-column {
  min-width: 0;
}

body.non-roadmap .workspace {
  grid-template-columns: minmax(0, 1fr);
}

body.non-roadmap .phase-rail {
  display: none;
}

.view-panel {
  display: none;
  animation: panel-in 260ms ease both;
}

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

@keyframes panel-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--red-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.editorial-header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3vw, 47px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.section-heading p,
.editorial-header p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.section-heading__badge {
  display: flex;
  flex-direction: column;
  min-width: 160px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
}

.section-heading__badge span {
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading__badge strong {
  margin-top: 3px;
  font-size: 13px;
}

.approval-section {
  margin-bottom: 54px;
}

.approval-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.approval-map::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 3%;
  left: 3%;
  height: 2px;
  background: var(--line-dark);
  content: "";
}

.approval-node {
  position: relative;
  min-height: 158px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.approval-node--required {
  border-top: 3px solid var(--red);
}

.approval-node--field {
  border-top: 3px solid var(--sage);
}

.approval-node__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}

.approval-node__index {
  color: var(--red-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
}

.approval-node__required {
  border-radius: 999px;
  padding: 4px 6px;
  background: var(--red-pale);
  color: var(--red-dark);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.approval-node h3 {
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.28;
}

.approval-node p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.approval-node__issuer {
  display: block;
  margin-top: 13px;
  color: var(--ink-faint);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.distinction-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: center;
  margin-top: 13px;
  border-radius: 11px;
  padding: 14px 17px;
  background: var(--gold-pale);
  color: #5e4a1d;
  font-size: 11px;
}

.distinction-callout strong {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(94, 74, 29, 0.22);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 16px;
}

.roadmap-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 14px 0 18px;
}

.roadmap-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.roadmap-heading p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 11px;
}

.phase-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.phase {
  scroll-margin-top: 110px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.phase[open] {
  border-color: #c4beb1;
  box-shadow: var(--shadow-md);
}

.phase.is-complete {
  border-color: #a8c4bb;
}

.phase__summary {
  position: relative;
  display: grid;
  min-height: 104px;
  grid-template-columns: 66px minmax(0, 1fr) 110px 30px;
  gap: 19px;
  align-items: center;
  padding: 16px 22px 16px 17px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.phase__summary::-webkit-details-marker {
  display: none;
}

.phase__summary:hover {
  background: rgba(247, 245, 238, 0.68);
}

.phase__number {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f1eee5;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.phase.is-complete .phase__number {
  border-color: var(--sage);
  background: var(--sage);
  color: white;
}

.phase__heading small {
  display: block;
  margin-bottom: 4px;
  color: var(--red-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.phase__heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.phase__heading p {
  margin: 6px 0 0;
  color: var(--ink-faint);
  font-size: 10px;
}

.phase__progress {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.phase__progress-text {
  display: flex;
  justify-content: space-between;
  color: var(--ink-faint);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.phase__progress-track {
  overflow: hidden;
  height: 4px;
  border-radius: 999px;
  background: var(--paper-deep);
}

.phase__progress-fill {
  width: var(--phase-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transition: width 240ms ease;
}

.phase.is-complete .phase__progress-fill {
  background: var(--sage);
}

.phase__chevron {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: #efebe1;
  transition: transform 180ms ease;
}

.phase__chevron svg {
  width: 14px;
  height: 14px;
}

.phase[open] .phase__chevron {
  transform: rotate(180deg);
}

.phase__body {
  padding: 4px 29px 32px 102px;
  border-top: 1px solid var(--line);
}

.phase__intro {
  margin: 0;
  padding: 23px 0 7px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.phase__body h4 {
  margin: 28px 0 10px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.phase__body p {
  color: var(--ink-soft);
  font-size: 12px;
}

.phase__body ol:not(.task-list),
.phase__body ul:not(.task-list) {
  margin: 10px 0;
  padding-left: 23px;
  color: var(--ink-soft);
  font-size: 12px;
}

.phase__body li + li {
  margin-top: 7px;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 10px 0;
  padding: 0;
  list-style: none;
}

.task {
  position: relative;
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 48px;
  border: 1px solid #e2ded3;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fffefa;
  transition: 150ms ease;
}

.task:hover {
  border-color: #cfc8b9;
  background: white;
}

.task.is-checked {
  border-color: #c7dbd4;
  background: #f1f7f4;
}

.task input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.task__check {
  position: relative;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  margin-top: 1px;
  border: 1.5px solid #aaa69b;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  transition: 150ms ease;
}

.task__check svg {
  width: 13px;
  height: 13px;
  opacity: 0;
  stroke-width: 2.5;
  transform: scale(0.6);
  transition: 150ms ease;
}

.task input:focus-visible + .task__check {
  outline: 3px solid rgba(207, 63, 50, 0.24);
  outline-offset: 2px;
}

.task input:checked + .task__check {
  border-color: var(--sage);
  background: var(--sage);
  color: white;
}

.task input:checked + .task__check svg {
  opacity: 1;
  transform: scale(1);
}

.task__text {
  color: #34403d;
  cursor: pointer;
  font-size: 11px;
  line-height: 1.52;
}

.task.is-checked .task__text {
  color: #73807c;
  text-decoration: line-through;
  text-decoration-color: rgba(63, 108, 96, 0.35);
}

.task__tag {
  display: inline-flex;
  margin-left: 7px;
  border-radius: 999px;
  padding: 2px 6px;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  vertical-align: 1px;
}

.task__tag--route {
  background: var(--gold-pale);
  color: #74581b;
}

.task--highlight {
  animation: task-flash 1.5s ease;
}

@keyframes task-flash {
  0%, 100% { box-shadow: none; }
  35% { border-color: var(--red); box-shadow: 0 0 0 5px rgba(207, 63, 50, 0.12); }
}

.stop-gate {
  position: relative;
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 15px;
  align-items: center;
  margin: 25px 0 0;
  overflow: hidden;
  border: 1px solid #ecc1ba;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff1ee;
}

.stop-gate::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--red);
  content: "";
}

.stop-gate__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #e7aaa1;
  border-radius: 50%;
  color: var(--red-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 850;
}

.stop-gate__copy strong {
  display: block;
  color: var(--red-dark);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.stop-gate__copy span {
  display: block;
  margin-top: 3px;
  color: #75453f;
  font-size: 11px;
}

.note-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin: 16px 0;
  border-radius: 11px;
  padding: 14px 16px;
  background: #edf2ef;
  color: #40504b;
  font-size: 11px;
}

.note-card__mark {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
}

.table-wrap {
  max-width: 100%;
  margin: 15px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.data-table th,
.data-table td {
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th:last-child,
.data-table td:last-child {
  border-right: 0;
}

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

.data-table th {
  background: #edeae1;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table td {
  color: #46524f;
  line-height: 1.5;
}

.data-table tbody tr:nth-child(even) td {
  background: rgba(246, 244, 237, 0.5);
}

.data-table strong {
  color: var(--ink);
}

.editorial-header {
  margin-bottom: 32px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line-dark);
}

.editorial-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 19px;
}

.meta-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
}

.component-principle {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 13px;
  margin: 0 0 24px;
}

.principle-card {
  min-height: 155px;
  border-radius: var(--radius-md);
  padding: 21px;
  background: var(--night);
  color: white;
}

.principle-card--accent {
  background: var(--red-dark);
}

.principle-card span {
  color: #9aaba6;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principle-card--accent span {
  color: #efbbb3;
}

.principle-card h3 {
  max-width: 600px;
  margin: 12px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.principle-card p {
  margin: 0;
  color: #aebbb7;
  font-size: 11px;
}

.principle-card--accent p {
  color: #f1d1cc;
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.component-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 19px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.component-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  border-radius: 0 0 0 54px;
  background: #f1ede4;
  content: "";
}

.component-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
  padding-right: 43px;
}

.component-card h3 {
  margin: 0;
  font-size: 13px;
}

.make-pill {
  flex: none;
  border-radius: 999px;
  padding: 4px 7px;
  background: var(--sage-pale);
  color: var(--sage-dark);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.make-pill--buy {
  background: var(--gold-pale);
  color: #785b1d;
}

.make-pill--locked {
  background: var(--red-pale);
  color: var(--red-dark);
}

.component-card__choice {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
}

.component-card__effect {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.precise-answer {
  position: relative;
  margin-top: 28px;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 26px 29px 27px 90px;
  background: var(--night);
  color: white;
}

.precise-answer__icon {
  position: absolute;
  top: 27px;
  left: 27px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  color: #f07568;
  font-family: Georgia, serif;
  font-size: 23px;
}

.precise-answer span {
  color: #e8796d;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.precise-answer h3 {
  margin: 6px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
}

.precise-answer p {
  margin: 0;
  color: #b5c0bd;
  font-size: 11px;
  line-height: 1.65;
}

.company-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 30px;
}

.company-feature {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--night);
  color: white;
  box-shadow: var(--shadow-md);
}

.company-feature:nth-child(2) {
  background: #233332;
}

.company-feature::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.025), 0 0 0 70px rgba(255, 255, 255, 0.018);
  content: "";
}

.company-feature__brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.company-feature__monogram {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  font-family: Georgia, serif;
  font-size: 19px;
}

.company-feature__type {
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(229, 89, 73, 0.16);
  color: #f09c91;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-feature h3 {
  position: relative;
  z-index: 1;
  margin: 25px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.company-feature > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #b8c2bf;
  font-size: 11px;
  line-height: 1.6;
}

.company-feature__provides {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 19px;
}

.company-feature__provides span {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #cdd5d2;
  font-size: 8px;
}

.company-feature__approved {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.company-feature__approved small {
  display: block;
  margin-bottom: 4px;
  color: #81908c;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-feature__approved strong {
  color: #e4e9e7;
  font-size: 10px;
  line-height: 1.45;
}

.party-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0 32px;
}

.party-card {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 17px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.party-card__label {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 7px;
  background: var(--sage-pale);
  color: var(--sage-dark);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.party-card h3 {
  margin: 15px 0 7px;
  font-size: 12px;
}

.party-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.party-card__not {
  display: block;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--red-dark);
  font-size: 8px;
}

.subsection-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 30px 0 13px;
}

.subsection-title::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.subsection-title h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.cost-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}

.cost-hero__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--night);
  color: white;
}

.cost-hero__card:last-child {
  background: var(--sage-dark);
}

.cost-hero__year {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.cost-hero__card strong {
  display: block;
  margin: 10px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 47px;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.cost-hero__card p {
  max-width: 420px;
  margin: 0;
  color: #afbbb7;
  font-size: 10px;
}

.cost-hero__card:last-child p {
  color: #bcd5cc;
}

.cost-notice {
  margin: 15px 0;
  border-left: 4px solid var(--gold);
  padding: 13px 16px;
  background: var(--gold-pale);
  color: #624c1d;
  font-size: 10px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.source-card {
  display: grid;
  min-height: 112px;
  grid-template-columns: 37px 1fr 20px;
  gap: 13px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 17px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: 160ms ease;
}

.source-card:hover {
  transform: translateY(-2px);
  border-color: #bdb6a8;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.source-card__index {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 9px;
  background: #eeebe2;
  color: var(--red-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
}

.source-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.35;
}

.source-card small {
  display: block;
  overflow: hidden;
  max-width: 460px;
  color: var(--ink-faint);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-card svg {
  width: 14px;
  height: 14px;
  color: var(--ink-faint);
}

.final-audit {
  margin-top: 50px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--night);
  color: white;
  box-shadow: var(--shadow-lg);
}

.final-audit__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px 31px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.final-audit__header span {
  color: #e77a6f;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.final-audit__header h2 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.final-audit__score {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #e5ebe8;
  font-family: Georgia, serif;
  font-size: 17px;
}

.final-audit__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 25px 31px 31px;
}

.final-audit .task {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.final-audit .task:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.final-audit .task.is-checked {
  border-color: rgba(117, 199, 158, 0.3);
  background: rgba(117, 199, 158, 0.09);
}

.final-audit .task__text {
  color: #c4ceca;
}

.final-audit .task.is-checked .task__text {
  color: #76958b;
}

.final-audit .task__check {
  border-color: #5c6a66;
  background: #1b2624;
}

.site-footer {
  border-top: 1px solid #283230;
  background: var(--night);
  color: #929e9a;
}

.site-footer__inner {
  display: grid;
  min-height: 150px;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
}

.brand--footer {
  color: white;
}

.brand--footer:hover {
  color: white;
}

.brand--footer .brand__mark {
  border: 1px solid #34413e;
  background: #1b2725;
}

.brand--footer .brand__copy small {
  color: #71807b;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  font-size: 10px;
}

.site-footer > .site-footer__inner > a {
  color: #bbc5c2;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.search-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: min(720px, calc(100vh - 60px));
  margin: 60px auto auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 0;
  background: #18211f;
  color: white;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.5);
}

.search-dialog::backdrop {
  background: rgba(8, 13, 12, 0.72);
  backdrop-filter: blur(8px);
}

.search-dialog__header {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 18px;
}

.search-dialog__header svg {
  width: 20px;
  height: 20px;
  color: #8fa09b;
}

.search-dialog__header input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font-size: 15px;
}

.search-dialog__header input::placeholder {
  color: #71807c;
}

.search-dialog__header kbd {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 5px;
  padding: 4px 6px;
  color: #7e8c88;
  font-family: inherit;
  font-size: 8px;
}

.search-dialog__body {
  max-height: 590px;
  overflow-y: auto;
  padding: 12px;
}

.search-empty {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #83918d;
  text-align: center;
}

.search-empty strong {
  color: #c4ceca;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 500;
}

.search-empty span {
  margin-top: 5px;
  font-size: 10px;
}

.search-result {
  display: grid;
  width: 100%;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 0;
  border-radius: 10px;
  padding: 12px;
  background: transparent;
  color: #dce3e0;
  cursor: pointer;
  text-align: left;
}

.search-result:hover,
.search-result:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.07);
}

.search-result__phase {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;
  color: #ed8b80;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.search-result strong {
  display: block;
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result small {
  display: block;
  margin-top: 3px;
  color: #75837f;
  font-size: 8px;
}

.search-result > svg {
  width: 14px;
  height: 14px;
  color: #71807c;
}

.toast {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  max-width: 380px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  padding: 11px 15px;
  transform: translateY(20px);
  background: var(--night);
  color: #e4eae7;
  box-shadow: var(--shadow-lg);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transition: 200ms ease;
}

.toast.is-visible {
  transform: none;
  opacity: 1;
}

@media (max-width: 1180px) {
  .site-header {
    backdrop-filter: none;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .view-nav {
    position: fixed;
    z-index: 90;
    right: 18px;
    bottom: 18px;
    left: 18px;
    justify-content: center;
    background: rgba(17, 25, 24, 0.94);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
  }

  .view-nav__button {
    color: #a9b4b0;
  }

  .view-nav__button.is-active {
    background: white;
    color: var(--ink);
  }

  .hero__inner {
    gap: 45px;
  }

  .approval-map {
    grid-template-columns: repeat(2, 1fr);
  }

  .party-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    padding-bottom: 78px;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__copy {
    max-width: none;
  }

  .launch-card {
    width: 100%;
    min-width: 0;
    max-width: 550px;
  }

  .launch-card__stats {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

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

  .signal-bar__inner > div,
  .signal-bar__inner > div:first-child {
    min-height: 72px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

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

  .phase-rail {
    display: none;
  }

  .component-grid,
  .company-feature-grid,
  .cost-hero,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .phase__body {
    padding-left: 29px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .legal-strip__inner {
    justify-content: center;
  }

  .legal-strip__note,
  .brand__copy,
  .button--quiet {
    display: none;
  }

  .site-header__inner {
    min-height: 64px;
  }

  .hero__inner {
    min-height: auto;
    padding-block: 52px 55px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 41px;
    line-height: 1.02;
  }

  .hero h1 br {
    display: none;
  }

  .hero__copy {
    min-width: 0;
  }

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

  .hero__actions .button {
    width: 100%;
  }

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

  .hero__position-label {
    grid-row: auto;
    width: max-content;
    margin-bottom: 8px;
  }

  .launch-card {
    padding: 19px;
  }

  .workspace {
    padding-top: 38px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading__badge {
    width: 100%;
  }

  .approval-map {
    grid-template-columns: 1fr;
  }

  .approval-map::before {
    display: none;
  }

  .phase__summary {
    min-height: 91px;
    grid-template-columns: 47px minmax(0, 1fr) 26px;
    gap: 11px;
    padding: 13px;
  }

  .phase__number {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 19px;
  }

  .phase__heading h3 {
    font-size: 17px;
  }

  .phase__progress {
    display: none;
  }

  .phase__body {
    padding: 3px 16px 24px;
  }

  .task {
    padding: 11px;
  }

  .component-principle {
    grid-template-columns: 1fr;
  }

  .company-feature {
    min-height: auto;
    padding: 22px;
  }

  .party-grid,
  .final-audit__body {
    grid-template-columns: 1fr;
  }

  .final-audit__header,
  .final-audit__body {
    padding-inline: 20px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 35px;
  }

  .view-nav {
    gap: 0;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .view-nav__button {
    min-width: 0;
    flex: 1 1 auto;
    padding-inline: 7px;
    font-size: 10px;
    white-space: nowrap;
  }
}

@media print {
  :root {
    --paper: white;
    --panel: white;
  }

  body {
    background: white;
    font-size: 10pt;
  }

  .legal-strip,
  .site-header,
  .hero__grid,
  .hero__glow,
  .hero__actions,
  .launch-card__resume,
  .signal-bar,
  .phase-rail,
  .site-footer,
  .search-dialog,
  .toast {
    display: none !important;
  }

  .hero {
    background: white;
    color: black;
  }

  .hero__inner {
    display: block;
    min-height: 0;
    padding: 20px 0;
  }

  .hero h1 {
    font-size: 34pt;
  }

  .hero h1 em,
  .hero__copy > p,
  .hero__position > span:last-child {
    color: #333;
  }

  .launch-card {
    display: none;
  }

  .workspace {
    display: block;
    width: 100%;
    padding: 0;
  }

  .view-panel {
    display: block !important;
  }

  .view-panel + .view-panel {
    margin-top: 40px;
  }

  .phase,
  .component-card,
  .party-card,
  .source-card,
  .approval-node {
    break-inside: avoid;
    box-shadow: none;
  }

  .phase:not([open]) > .phase__body {
    display: block;
  }

  .phase__body {
    padding-left: 30px;
  }

  .task {
    min-height: auto;
    break-inside: avoid;
  }

  .company-feature,
  .principle-card,
  .precise-answer,
  .final-audit,
  .cost-hero__card {
    color: black;
    background: white;
    border: 1px solid #aaa;
    box-shadow: none;
  }

  .company-feature > p,
  .company-feature__approved strong,
  .principle-card p,
  .precise-answer p,
  .final-audit .task__text,
  .cost-hero__card p {
    color: #333;
  }

  a {
    color: black;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
