:root {
  --run-blue: #3157d5;
  --run-blue-dark: #2344b4;
  --ink: #1b2a41;
  --ink-deep: #101c2e;
  --slate: #3d4a5c;
  --muted: #667386;
  --line: #d9dde5;
  --line-dark: #34445d;
  --paper: #faf9f5;
  --white: #ffffff;
  --amber: #d98e0b;
  --gold: #e9b949;
  --risk: #c0392b;
  --reconciled: #1e7f4f;
  --soft-blue: #edf1ff;
  --soft-amber: #fff5dd;
  --soft-red: #fff0ed;
  --shadow: 0 24px 70px rgb(18 31 50 / 12%);
  --radius: 20px;
  --radius-small: 12px;
  --shell: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

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

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

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

.narrow {
  max-width: 850px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.status-bar {
  color: #e9eefc;
  background: var(--ink-deep);
  font-size: 0.77rem;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.status-bar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid rgb(27 42 65 / 9%);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 820;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.primary-nav > a:not(.button) {
  padding: 9px 11px;
  color: var(--slate);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav > a:not(.button):hover,
.primary-nav > a[aria-current="page"] {
  color: var(--run-blue-dark);
  background: var(--soft-blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--white);
  background: var(--run-blue);
  border: 1px solid var(--run-blue);
  border-radius: 10px;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--run-blue-dark);
  border-color: var(--run-blue-dark);
  transform: translateY(-1px);
}

.button--small {
  min-height: 40px;
  padding-inline: 15px;
  margin-left: 6px;
  font-size: 0.85rem;
}

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

.button--secondary:hover {
  color: var(--run-blue-dark);
  background: var(--soft-blue);
  border-color: #aab8ea;
}

.button--gold {
  color: var(--ink-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.button--gold:hover {
  background: #f3c85f;
  border-color: #f3c85f;
}

.button--ghost {
  color: var(--white);
  background: transparent;
  border-color: rgb(255 255 255 / 35%);
}

.button--ghost:hover {
  background: rgb(255 255 255 / 9%);
  border-color: rgb(255 255 255 / 70%);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 94px;
  background:
    radial-gradient(circle at 83% 22%, rgb(233 185 73 / 24%), transparent 24%),
    linear-gradient(145deg, #f7f9ff 0%, #fff 52%, #faf7ee 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(49 87 213 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(49 87 213 / 4%) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  gap: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--run-blue-dark);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero h1,
.page-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: var(--run-blue);
}

.hero-lead {
  max-width: 720px;
  margin: 0;
  color: var(--slate);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.58;
}

.microcopy {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.run-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgb(27 42 65 / 12%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(0.6deg);
}

.run-card__top,
.code-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 720;
}

.reference {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.state-list {
  padding: 8px 20px;
  margin: 0;
  list-style: none;
}

.state-list__item {
  display: grid;
  min-height: 79px;
  align-items: center;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  border-bottom: 1px solid #edf0f4;
}

.state-list__item:last-child {
  border-bottom: 0;
}

.state-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f2f4f7;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.state-list__item--complete .state-icon {
  color: var(--white);
  background: var(--reconciled);
}

.state-list__item--active .state-icon {
  color: var(--ink);
  background: var(--gold);
}

.state-list__item strong,
.state-list__item small {
  display: block;
}

.state-list__item strong {
  font-size: 0.93rem;
}

.state-list__item small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
}

.state-word {
  padding: 5px 8px;
  color: var(--muted);
  background: #f4f5f7;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.state-list__item--complete .state-word {
  color: #12643d;
  background: #e7f5ed;
}

.state-list__item--active .state-word {
  color: #725000;
  background: var(--soft-amber);
}

.run-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.run-total span {
  color: var(--muted);
}

.proof-strip {
  color: var(--white);
  background: var(--ink);
}

.proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-strip__grid > div {
  min-height: 112px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 22px 28px;
  border-right: 1px solid rgb(255 255 255 / 12%);
}

.proof-strip__grid > div:last-child {
  border-right: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--gold);
  font-size: 0.95rem;
}

.proof-strip span {
  margin-top: 3px;
  color: #cbd4e2;
  font-size: 0.76rem;
}

.section {
  padding: 108px 0;
}

.section--paper {
  background: var(--paper);
}

.section--ink {
  color: var(--white);
  background: var(--ink-deep);
}

.section-heading {
  max-width: 810px;
  margin-bottom: 50px;
}

.section-heading--split {
  max-width: none;
  display: grid;
  align-items: end;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
}

.section-heading h2,
.boundary-grid h2,
.split-panel h2,
.cta-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
}

.section-heading > p:last-child,
.section-heading--split > p,
.large-copy {
  color: var(--slate);
  font-size: 1.05rem;
}

.section-heading--light > p:last-child,
.section--ink .large-copy {
  color: #cbd4e2;
}

.section-heading--light .eyebrow,
.section--ink .eyebrow {
  color: var(--gold);
}

.section-heading--light a,
.section--ink a:not(.button) {
  color: var(--gold);
}

.workflow {
  display: grid;
  overflow: hidden;
  grid-template-columns: 0.72fr 1.28fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgb(18 31 50 / 8%);
}

.workflow__controls {
  padding: 18px;
  background: var(--ink);
}

.workflow__controls button {
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  color: #cbd4e2;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 720;
  text-align: left;
}

.workflow__controls button span {
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
}

.workflow__controls button[aria-selected="true"] {
  color: var(--white);
  background: rgb(255 255 255 / 10%);
}

.workflow__panels {
  min-height: 390px;
  display: grid;
  align-items: center;
  padding: 54px 64px;
}

.workflow__panels h3 {
  max-width: 670px;
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.workflow__panels p:not(.panel-kicker) {
  max-width: 720px;
  color: var(--slate);
}

.panel-kicker {
  margin: 0 0 12px;
  color: var(--run-blue);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.check-list,
.plain-list,
.number-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li,
.plain-list li,
.number-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--slate);
  border-bottom: 1px solid rgb(27 42 65 / 9%);
}

.check-list li::before {
  position: absolute;
  top: 12px;
  left: 2px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--run-blue);
  border-radius: 50%;
  content: "✓";
  font-size: 0.62rem;
  font-weight: 900;
}

.plain-list li::before {
  position: absolute;
  left: 5px;
  color: var(--amber);
  content: "—";
  font-weight: 900;
}

.number-list {
  counter-reset: list;
}

.number-list li {
  counter-increment: list;
  padding-left: 38px;
}

.number-list li::before {
  position: absolute;
  left: 0;
  color: var(--run-blue);
  content: "0" counter(list);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.product-grid,
.feature-grid,
.resource-grid,
.pricing-grid,
.comparison-method {
  display: grid;
  gap: 20px;
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card,
.feature-card,
.resource-card,
.price-card,
.comparison-method article {
  position: relative;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.product-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card:hover {
  border-color: #aebbe5;
  box-shadow: 0 18px 50px rgb(18 31 50 / 10%);
  transform: translateY(-3px);
}

.product-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--run-blue);
  border-radius: var(--radius-small) var(--radius-small) 0 0;
  content: "";
}

.product-card--books::before {
  background: var(--gold);
}

.product-card--rails::before {
  background: var(--ink);
}

.product-card--shield::before {
  background: var(--amber);
}

.product-code,
.feature-number {
  color: var(--run-blue);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.product-card h3,
.feature-card h3,
.resource-card h2,
.comparison-method h3 {
  margin: 54px 0 12px;
  font-size: 1.55rem;
}

.product-card p,
.feature-card p,
.resource-card p,
.comparison-method p {
  color: var(--slate);
}

.text-link {
  margin-top: auto;
  color: var(--run-blue-dark);
  font-weight: 760;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.boundary-section {
  overflow: hidden;
  background: linear-gradient(135deg, #f7f9ff 0%, #fff 55%, #fff7e5 100%);
}

.boundary-grid,
.split-panel {
  display: grid;
  align-items: start;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
}

.boundary-ledger {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgb(18 31 50 / 8%);
}

.boundary-ledger > div {
  display: grid;
  align-items: center;
  grid-template-columns: 82px 1fr;
  padding: 23px 26px;
  border-bottom: 1px solid var(--line);
}

.boundary-ledger > div:last-child {
  border-bottom: 0;
}

.boundary-ledger span {
  grid-row: span 2;
  color: var(--run-blue);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.boundary-ledger strong,
.boundary-ledger small {
  display: block;
}

.boundary-ledger small {
  margin-top: 4px;
  color: var(--muted);
}

.boundary-ledger--dark {
  background: #17253a;
  border-color: var(--line-dark);
}

.boundary-ledger--dark > div {
  border-color: var(--line-dark);
}

.boundary-ledger--dark span {
  color: var(--gold);
}

.boundary-ledger--dark small {
  color: #aebbd0;
}

.cta-section {
  padding: 0 0 80px;
  background: var(--white);
}

.cta-panel {
  display: grid;
  align-items: center;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 55px;
  padding: 64px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.cta-panel .eyebrow {
  color: var(--gold);
}

.cta-panel p:last-child {
  color: #cbd4e2;
}

.cta-panel .button-row {
  justify-content: flex-end;
}

.page-hero {
  padding: 96px 0 90px;
  background:
    radial-gradient(circle at 85% 15%, rgb(233 185 73 / 17%), transparent 27%),
    linear-gradient(135deg, #f7f9ff, #fff 65%);
  border-bottom: 1px solid #e8ebf0;
}

.page-hero--operator {
  background: linear-gradient(135deg, #eef2ff, #fff 65%);
}

.page-hero--books {
  background: linear-gradient(135deg, #fff8e8, #fff 65%);
}

.page-hero--shield {
  background: linear-gradient(135deg, #fff4df, #fff 65%);
}

.page-hero--rails,
.page-hero--trust {
  color: var(--white);
  background:
    radial-gradient(circle at 84% 17%, rgb(49 87 213 / 33%), transparent 30%),
    var(--ink-deep);
}

.page-hero--rails .eyebrow,
.page-hero--trust .eyebrow {
  color: var(--gold);
}

.page-hero--rails .hero-lead,
.page-hero--trust .hero-lead {
  color: #cbd4e2;
}

.feature-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  min-height: 260px;
}

.feature-card h3 {
  margin-top: 32px;
}

.feature-card h3:first-child {
  margin-top: 0;
}

.close-path {
  display: grid;
  padding: 0;
  margin: 54px 0 0;
  grid-template-columns: repeat(7, 1fr);
  list-style: none;
}

.close-path li {
  position: relative;
  min-height: 180px;
  padding: 22px 18px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.close-path li:last-child {
  border-right: 1px solid var(--line-dark);
}

.close-path span,
.close-path strong,
.close-path small {
  display: block;
}

.close-path span {
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
}

.close-path strong {
  margin: 35px 0 8px;
}

.close-path small {
  color: #aebbd0;
  line-height: 1.45;
}

.two-column-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.two-column-list h3 {
  margin-bottom: 12px;
}

.notice-section {
  padding: 0 0 76px;
}

.notice {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  padding: 22px 26px;
  background: var(--soft-amber);
  border: 1px solid #efd28c;
  border-radius: var(--radius-small);
}

.notice strong {
  color: #725000;
}

.notice p {
  margin: 0;
  color: #5c4a1e;
}

.notice a {
  color: #6d4a00;
  font-weight: 760;
  white-space: nowrap;
}

.books-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgb(18 31 50 / 8%);
}

.books-board__header {
  display: flex;
  justify-content: space-between;
  padding: 16px 22px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.77rem;
  font-weight: 720;
}

.books-row {
  display: grid;
  min-height: 88px;
  align-items: center;
  grid-template-columns: 44px 1fr auto 80px;
  gap: 16px;
  padding: 13px 22px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.books-row--risk {
  border-left: 5px solid var(--risk);
}

.books-row--pending {
  border-left: 5px solid var(--amber);
}

.client-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--run-blue-dark);
  background: var(--soft-blue);
  border-radius: 8px;
  font-size: 0.71rem;
  font-weight: 820;
}

.books-row strong,
.books-row small {
  display: block;
}

.books-row small {
  color: var(--muted);
}

.queue-state {
  padding: 5px 8px;
  color: #725000;
  background: var(--soft-amber);
  border-radius: 6px;
  font-size: 0.71rem;
  font-weight: 780;
}

.queue-time {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: right;
}

.responsibility-card,
.code-card {
  overflow: hidden;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.responsibility-card h3 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.responsibility-card dl {
  margin: 0;
}

.responsibility-card dl > div,
.contact-list > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.responsibility-card dt,
.contact-list dt {
  color: var(--run-blue-dark);
  font-weight: 800;
}

.responsibility-card dd,
.contact-list dd {
  margin: 0;
  color: var(--slate);
}

.shield-path {
  max-width: 920px;
  margin-inline: auto;
}

.shield-path article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.shield-path article > span,
.comparison-method article > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--run-blue-dark);
  background: var(--soft-blue);
  border-radius: 50%;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.73rem;
  font-weight: 800;
}

.shield-path h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.shield-path p {
  margin: 0;
  color: var(--slate);
}

.code-card {
  padding: 0;
  background: #0e1929;
  border-color: var(--line-dark);
  box-shadow: var(--shadow);
}

.code-card pre {
  overflow: auto;
  padding: 30px;
  margin: 0;
  color: #e7edf8;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.75;
}

.metric-stack {
  border-top: 1px solid var(--line);
}

.metric-stack > div {
  display: grid;
  align-items: center;
  grid-template-columns: 60px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.metric-stack span {
  color: var(--run-blue);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 800;
}

.metric-stack p {
  margin: 0;
  color: var(--slate);
}

.metric-stack strong {
  display: block;
  color: var(--ink);
}

.pricing-grid {
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
}

.price-card {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  padding: 36px;
}

.price-card--featured {
  border: 2px solid var(--run-blue);
  box-shadow: 0 20px 65px rgb(49 87 213 / 14%);
}

.price-flag {
  position: absolute;
  top: 0;
  right: 28px;
  padding: 7px 12px;
  color: var(--white);
  background: var(--run-blue);
  border-radius: 0 0 8px 8px;
  font-size: 0.68rem;
  font-weight: 800;
}

.plan-name {
  margin: 0;
  color: var(--run-blue-dark);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.price {
  margin: 18px 0 0;
  font-size: 4rem;
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 1;
}

.price > span {
  margin-right: 3px;
  font-size: 1.5rem;
  vertical-align: top;
}

.price small {
  display: block;
  margin-top: 10px;
  color: var(--slate);
  font-size: 0.77rem;
  font-weight: 650;
  letter-spacing: 0;
}

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

.price-card .exclusion {
  padding-top: 20px;
  margin-top: auto;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.price-card .exclusion strong {
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--white);
  background: var(--ink);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td:first-child,
td:nth-child(2) {
  font-weight: 720;
  white-space: nowrap;
}

td:last-child {
  color: var(--slate);
}

.table-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.status-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.status-table > div {
  display: grid;
  align-items: center;
  grid-template-columns: 95px 1fr;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.status-table > div:last-child {
  border-bottom: 0;
}

.status-table p {
  margin: 3px 0 0;
  color: var(--slate);
}

.status-badge {
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 840;
  text-align: center;
  text-transform: uppercase;
}

.status-badge--live {
  color: #12643d;
  background: #e7f5ed;
}

.status-badge--local {
  color: var(--run-blue-dark);
  background: var(--soft-blue);
}

.status-badge--gate {
  color: #725000;
  background: var(--soft-amber);
}

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

.resource-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
}

.resource-card h2 {
  margin-top: 30px;
}

.resource-meta {
  margin: 0;
  color: var(--run-blue-dark) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comparison-method {
  grid-template-columns: repeat(4, 1fr);
}

.comparison-method article {
  min-height: 290px;
}

.comparison-method h3 {
  margin-top: 32px;
}

.legal-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 230px 1fr;
  gap: 80px;
}

.legal-grid aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.legal-grid aside a {
  padding: 12px 0;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 680;
  text-decoration: none;
}

.legal-grid aside a:hover {
  color: var(--run-blue-dark);
}

.legal-copy {
  max-width: 760px;
}

.legal-copy section {
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.legal-copy h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.legal-copy p,
.contact-list {
  color: var(--slate);
}

.contact-list {
  margin: 24px 0 0;
}

.error-page {
  min-height: 64vh;
  display: grid;
  align-items: center;
}

.site-footer {
  padding: 72px 0 26px;
  color: var(--white);
  background: var(--ink-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 1fr;
  gap: 50px;
}

.brand--footer {
  color: var(--white);
}

.footer-grid h2 {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  display: block;
  width: fit-content;
  padding: 4px 0;
  color: #d7deea;
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.muted-light {
  color: #98a6ba;
  font-size: 0.82rem;
}

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  margin-top: 54px;
  color: #98a6ba;
  border-top: 1px solid var(--line-dark);
  font-size: 0.75rem;
}

.footer-base p {
  margin: 0;
}

.footer-base a {
  color: #d7deea;
}

@media (max-width: 1050px) {
  .primary-nav > a:not(.button) {
    padding-inline: 7px;
    font-size: 0.82rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 38px;
  }

  .product-grid,
  .feature-grid--four,
  .comparison-method {
    grid-template-columns: repeat(2, 1fr);
  }

  .close-path {
    grid-template-columns: repeat(4, 1fr);
  }

  .close-path li:nth-child(4) {
    border-right: 1px solid var(--line-dark);
  }

  .close-path li:nth-child(n + 5) {
    border-top: 0;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .primary-nav[data-open="true"] {
    display: flex;
  }

  .primary-nav > a:not(.button) {
    padding: 12px;
  }

  .primary-nav .button {
    margin: 6px 0 0;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid,
  .section-heading--split,
  .boundary-grid,
  .split-panel,
  .cta-panel,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 54px;
  }

  .run-card {
    max-width: 600px;
    transform: none;
  }

  .proof-strip__grid,
  .feature-grid--three,
  .resource-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip__grid > div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip__grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(255 255 255 / 12%);
  }

  .section-heading--split {
    align-items: start;
    gap: 20px;
  }

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

  .workflow__controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .workflow__controls button {
    min-height: 58px;
    justify-content: center;
    flex-direction: column;
    gap: 1px;
    border-right: 1px solid rgb(255 255 255 / 10%);
    border-bottom: 0;
    font-size: 0.8rem;
  }

  .cta-panel {
    padding: 46px;
  }

  .cta-panel .button-row {
    justify-content: flex-start;
  }

  .legal-grid {
    gap: 48px;
  }

  .legal-grid aside {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

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

  .status-bar__inner {
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .status-bar__inner span:last-child,
  .status-bar__inner span:nth-last-child(2) {
    display: none;
  }

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

  .primary-nav {
    top: 68px;
    right: 14px;
    left: 14px;
  }

  .hero,
  .page-hero {
    padding: 62px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
  }

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

  .state-list {
    padding-inline: 12px;
  }

  .state-list__item {
    grid-template-columns: 34px 1fr;
  }

  .state-word {
    display: none;
  }

  .run-total {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .proof-strip__grid,
  .product-grid,
  .feature-grid--three,
  .feature-grid--four,
  .resource-grid,
  .pricing-grid,
  .comparison-method,
  .two-column-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip__grid > div {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .workflow__controls {
    padding: 9px;
  }

  .workflow__controls button {
    padding-inline: 7px;
  }

  .workflow__panels {
    min-height: 500px;
    padding: 34px 24px;
  }

  .product-card {
    min-height: 275px;
  }

  .boundary-ledger > div {
    grid-template-columns: 64px 1fr;
    padding-inline: 18px;
  }

  .cta-panel {
    padding: 36px 24px;
  }

  .close-path {
    grid-template-columns: 1fr;
  }

  .close-path li,
  .close-path li:nth-child(n + 5) {
    min-height: auto;
    border-top: 0;
    border-right: 1px solid var(--line-dark);
  }

  .close-path li:first-child {
    border-top: 1px solid var(--line-dark);
  }

  .books-board__header span:last-child,
  .queue-time {
    display: none;
  }

  .books-row {
    grid-template-columns: 40px 1fr;
  }

  .queue-state {
    grid-column: 2;
    width: fit-content;
  }

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

  .notice a {
    white-space: normal;
  }

  .price-card {
    min-height: auto;
  }

  th,
  td {
    min-width: 180px;
  }

  .status-table > div {
    grid-template-columns: 1fr;
  }

  .status-badge {
    width: fit-content;
  }

  .responsibility-card dl > div,
  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

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

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

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

@media print {
  .status-bar,
  .site-header,
  .site-footer,
  .button-row,
  .cta-section {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .page-hero {
    padding: 30px 0;
  }

  .product-card,
  .feature-card,
  .price-card,
  .resource-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
