:root {
  color-scheme: light;
  --canvas: oklch(98.85% 0.0057 84.57);
  --canvas-alt: oklch(98.51% 0.0042 197.09);
  --paper: oklch(98.85% 0.0057 84.57);
  --paper-soft: oklch(93.87% 0.0229 128.73);
  --ink: oklch(27.04% 0.051 228.08);
  --ink-soft: oklch(40.98% 0.0319 227.71);
  --muted: oklch(50% 0.025 218);
  --line: oklch(87.9% 0.0311 145.3);
  --line-soft: oklch(93.87% 0.0229 128.73);
  --teal: oklch(40.98% 0.0319 227.71);
  --teal-deep: oklch(27.04% 0.051 228.08);
  --teal-soft: oklch(93.87% 0.0229 128.73);
  --green: oklch(57.76% 0.1621 139.21);
  --mark-teal: oklch(27.04% 0.051 228.08);
  --mark-green: oklch(57.76% 0.1621 139.21);
  --mark-field: oklch(98.85% 0.0057 84.57);
  --route: oklch(48% 0.026 219 / 0.58);
  --amber: oklch(54.3% 0.095 83.41);
  --amber-soft: oklch(94% 0.035 84);
  --receipt-red: oklch(56.57% 0.1766 26.53);
  --shadow-soft: 0 12px 36px oklch(27.04% 0.051 228.08 / 0.08);
  --shadow-proof: 0 18px 58px oklch(27.04% 0.051 228.08 / 0.13);
  --measure: 68ch;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Archivo, Avenir Next, -apple-system, BlinkMacSystemFont, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

figure {
  margin: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.04;
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: 4.75rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.25rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

p {
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--ink);
  border-radius: 4px;
  color: var(--paper);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: oklch(99% 0.004 160 / 0.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  --mark-field: oklch(99% 0.004 160);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration: none;
}

.flowrelay-mark,
.brand-mark,
.relay-core-mark,
.control-core-mark,
.receipt-mark {
  display: block;
  max-width: 100%;
  object-fit: contain;
  color: var(--mark-teal);
}

.flowrelay-mark .mark-body,
.flowrelay-mark .mark-dot,
.brand-mark .mark-body,
.brand-mark .mark-dot,
.relay-core-mark .mark-body,
.relay-core-mark .mark-dot,
.control-core-mark .mark-body,
.control-core-mark .mark-dot,
.receipt-mark .mark-body,
.receipt-mark .mark-dot {
  fill: currentColor;
}

.flowrelay-mark .mark-line,
.brand-mark .mark-line,
.relay-core-mark .mark-line,
.control-core-mark .mark-line,
.receipt-mark .mark-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 8.8;
}

.flowrelay-mark .mark-channel,
.brand-mark .mark-channel,
.relay-core-mark .mark-channel,
.control-core-mark .mark-channel,
.receipt-mark .mark-channel {
  fill: none;
  stroke: var(--mark-field);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 20;
}

.flowrelay-mark .mark-in,
.brand-mark .mark-in,
.relay-core-mark .mark-in,
.control-core-mark .mark-in,
.receipt-mark .mark-in {
  stroke: currentColor;
}

.flowrelay-mark .mark-out,
.brand-mark .mark-out,
.relay-core-mark .mark-out,
.control-core-mark .mark-out,
.receipt-mark .mark-out {
  stroke: var(--mark-green);
}

.brand-mark {
  width: 58px;
  height: auto;
  flex: 0 0 auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

nav a {
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
.nav-menu summary:hover {
  color: var(--ink);
}

nav a[aria-current="page"],
.nav-menu summary[aria-current="page"] {
  color: var(--teal-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.nav-menu {
  position: relative;
  font-weight: 700;
}

.nav-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  cursor: pointer;
  list-style: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.nav-menu[open] summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.nav-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  z-index: 5;
  display: grid;
  min-width: 288px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.nav-menu-panel::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}

.nav-menu-item {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
}

.nav-menu-item:hover {
  background: var(--paper-soft);
}

.nav-menu-item.pending {
  color: var(--muted);
  cursor: default;
}

.nav-menu-item span {
  font-weight: 800;
}

.nav-menu-item small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

main {
  overflow: hidden;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.46fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: center;
  max-width: 1460px;
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: clamp(54px, 8vh, 96px) clamp(20px, 5vw, 72px) clamp(48px, 7vh, 78px);
}

.hero-copy {
  display: grid;
  justify-items: start;
}

.intro,
.section-lead p,
.page-title p,
.strategy-copy p,
.text-split p {
  max-width: var(--measure);
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 19px;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--teal-deep);
  color: var(--paper);
  box-shadow: 0 9px 22px oklch(34% 0.09 190 / 0.18);
}

.button.secondary {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}

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

.button:focus-visible,
nav a:focus-visible,
.nav-menu summary:focus-visible {
  outline: 3px solid var(--teal-soft);
  outline-offset: 3px;
}

.event-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(155px, 0.72fr) minmax(225px, 0.96fr) minmax(185px, 0.78fr);
  gap: 20px;
  align-items: center;
  min-height: 520px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(90deg, oklch(86% 0.01 188 / 0.4) 1px, transparent 1px),
    linear-gradient(180deg, oklch(99.3% 0.004 160 / 0.78), oklch(96.8% 0.01 176 / 0.52));
  background-size: 56px 56px, auto;
}

.event-map::before,
.event-map::after {
  content: "";
  position: absolute;
  top: 50%;
  z-index: 0;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, oklch(78% 0.06 186 / 0), oklch(61% 0.08 188 / 0.38), oklch(78% 0.06 186 / 0));
  transform: translateY(-50%);
}

.event-map::before {
  left: 24%;
  width: 22%;
}

.event-map::after {
  right: 21%;
  width: 24%;
}

.map-column,
.relay-column {
  position: relative;
  z-index: 1;
}

.map-column {
  display: grid;
  gap: 14px;
}

.map-heading,
.section-label {
  margin: 0 0 12px;
  color: var(--teal-deep);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.home-proof-copy .section-label,
.operator-proof-copy .section-label,
.home-next-step .section-label {
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.source-slip,
.edition-tile,
.relay-card,
.access-primary,
.access-wrappers article,
.price-card,
.note,
.receipt-ledger,
.screenshot-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.source-slip {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 12px;
  box-shadow: 0 8px 24px oklch(23% 0.016 214 / 0.05);
  font-weight: 760;
}

.source-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  color: var(--teal-deep);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 800;
}

.relay-column {
  display: grid;
  align-items: center;
}

.relay-card {
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-proof);
}

.relay-card h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 2.7rem;
}

.relay-card p {
  margin-bottom: 24px;
  color: var(--ink-soft);
}

.relay-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.relay-steps li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.relay-steps strong {
  color: var(--teal-deep);
}

.relay-steps span {
  color: var(--muted);
}

.edition-column {
  align-self: center;
}

.edition-tile {
  display: grid;
  gap: 5px;
  min-height: 106px;
  padding: 16px;
}

.edition-tile.live {
  border-color: oklch(70% 0.06 184);
  box-shadow: 0 10px 26px oklch(34% 0.08 190 / 0.08);
}

.edition-tile.planned {
  background: oklch(97.8% 0.006 158);
  border-style: dashed;
}

.edition-status {
  justify-self: start;
  padding: 4px 7px;
  background: var(--teal-soft);
  border-radius: 4px;
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 850;
}

.edition-tile.planned .edition-status {
  background: var(--amber-soft);
  color: oklch(42% 0.08 72);
}

.edition-tile strong {
  font-size: 1.08rem;
}

.edition-tile span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.proof-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1316px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.proof-ribbon div {
  padding: 22px clamp(18px, 3vw, 30px);
  border-right: 1px solid oklch(74% 0.012 190 / 0.24);
}

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

.proof-ribbon strong {
  display: block;
  margin-bottom: 7px;
  color: var(--teal-soft);
  font-size: 0.95rem;
}

.proof-ribbon span {
  color: oklch(90% 0.008 164);
  font-size: 0.9rem;
  line-height: 1.45;
}

.operator-access,
.product-proof,
.native-strategy,
.receipt-section,
.wide-proof,
.text-split,
.page-title,
.pricing-grid,
.note {
  max-width: 1316px;
  margin: 0 auto;
}

.operator-access,
.product-proof,
.native-strategy,
.receipt-section,
.wide-proof,
.text-split {
  padding: clamp(76px, 10vh, 126px) clamp(20px, 5vw, 72px);
}

.section-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.52fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 6vh, 58px);
}

.section-lead h2,
.section-lead p {
  margin-bottom: 0;
}

.access-system {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(160px, 0.38fr) minmax(280px, 0.78fr);
  gap: 18px;
  align-items: stretch;
}

.access-primary,
.access-wrappers article {
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-soft);
}

.access-primary > span,
.access-wrappers article > span {
  color: var(--teal-deep);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.access-primary h3,
.access-wrappers h3 {
  margin-top: 18px;
  font-size: 1.55rem;
}

.access-primary p,
.access-wrappers p {
  color: var(--ink-soft);
}

.access-primary a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal-deep);
  font-weight: 820;
  text-decoration: none;
}

.access-primary a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.access-rail {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.access-rail span {
  padding: 9px 10px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 760;
}

.access-wrappers {
  display: grid;
  gap: 18px;
}

.access-wrappers code {
  display: block;
  margin-top: 18px;
  padding: 11px 12px;
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  color: var(--ink);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
}

.proof-lead {
  align-items: start;
}

.proof-wall {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.74fr);
  gap: 18px;
  align-items: stretch;
}

.proof-stack {
  display: grid;
  gap: 18px;
}

.screenshot-frame {
  overflow: hidden;
  box-shadow: var(--shadow-proof);
}

.shot-crop {
  overflow: hidden;
  background: var(--paper-soft);
}

.primary-proof .shot-crop {
  aspect-ratio: 1.28;
}

.proof-stack .shot-crop {
  aspect-ratio: 1.78;
}

.wide-proof .shot-crop {
  aspect-ratio: 1.85;
}

.primary-proof img {
  width: 116%;
  max-width: none;
  transform: translate(-3%, -3%);
}

.proof-stack img,
.wide-proof img {
  width: 122%;
  max-width: none;
  transform: translate(-7%, -3%);
}

.screenshot-frame figcaption {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border-top: 1px solid var(--line-soft);
}

.screenshot-frame figcaption strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.screenshot-frame figcaption span {
  color: var(--muted);
  font-size: 0.88rem;
}

.native-strategy {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.56fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: start;
  border-top: 1px solid var(--line-soft);
}

.strategy-ledger,
.receipt-ledger {
  display: grid;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.strategy-ledger {
  background: var(--ink);
  border-radius: 8px;
}

.strategy-ledger div {
  display: grid;
  gap: 5px;
  padding: 20px;
  border-bottom: 1px solid oklch(74% 0.012 190 / 0.22);
}

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

.strategy-ledger strong {
  color: var(--teal-soft);
}

.strategy-ledger span {
  color: oklch(90% 0.008 164);
}

.page-title {
  padding: clamp(66px, 11vh, 120px) clamp(20px, 5vw, 72px) clamp(38px, 7vh, 68px);
}

.page-title h1 {
  font-size: 4.25rem;
}

.edition-title-page {
  border-bottom: 1px solid var(--line-soft);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(20px, 5vw, 72px) clamp(56px, 9vh, 92px);
}

.price-card {
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.price-card h2 {
  font-size: 1.25rem;
}

.price {
  margin-bottom: 4px;
  color: var(--teal-deep);
  font-size: 2.1rem;
  font-weight: 900;
}

.volume {
  color: var(--ink);
  font-weight: 800;
}

.price-card p:not(.price):not(.volume),
.note p,
footer {
  color: var(--muted);
}

.note {
  padding: 24px;
  margin-bottom: clamp(58px, 10vh, 104px);
  box-shadow: var(--shadow-soft);
}

.note h2 {
  font-size: 1.5rem;
}

.text-split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.52fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

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

.scope-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  font-weight: 720;
}

.scope-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--teal-deep);
}

.legal {
  min-height: 52vh;
}

.legal-title {
  padding-bottom: 26px;
}

.legal-title h1 {
  max-width: 940px;
}

.legal-title p:last-child {
  max-width: 820px;
}

.legal-page {
  display: grid;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px) clamp(72px, 10vh, 116px);
}

.legal-page h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.16;
}

.legal-page h3 {
  margin-bottom: 8px;
  color: var(--teal-deep);
  font-size: 1.05rem;
  line-height: 1.22;
}

.legal-page p,
.legal-page li,
.legal-retention-table span {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-page p:last-child,
.legal-page ul:last-child {
  margin-bottom: 0;
}

.legal-page code {
  padding: 2px 5px;
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: var(--teal-deep);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

.legal-section,
.legal-review-box {
  padding: clamp(24px, 4vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.legal-review-box {
  border-color: oklch(73% 0.07 82);
  background: oklch(97.5% 0.014 84);
}

.legal-review-box h2 {
  color: oklch(42% 0.08 72);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.legal-review-box ul,
.legal-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-review-box li,
.legal-check-list li {
  position: relative;
  padding-left: 22px;
}

.legal-review-box li::before,
.legal-check-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--teal-deep);
  border-radius: 999px;
  content: "";
}

.legal-review-box li::before {
  background: var(--amber);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.legal-grid > div {
  padding: 18px;
  background: var(--canvas);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.legal-grid p {
  margin-bottom: 10px;
}

.legal-retention-table {
  display: grid;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.legal-retention-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
}

.legal-retention-table div + div {
  border-top: 1px solid var(--line-soft);
}

.legal-retention-table span {
  padding: 13px 16px;
}

.legal-retention-table span:first-child {
  background: var(--paper-soft);
  color: var(--teal-deep);
  font-weight: 800;
}

.legal-retention-table div:first-child span {
  background: var(--ink);
  color: var(--paper);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

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

.receipt-ledger div {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.receipt-ledger div:nth-child(2n) {
  border-right: 0;
}

.receipt-ledger div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.receipt-ledger span {
  color: var(--teal-deep);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.receipt-ledger p {
  margin: 0;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line-soft);
  background: oklch(97.4% 0.006 218);
}

footer p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .screenshot-frame {
    transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .screenshot-frame:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 1120px) {
  .home-hero,
  .section-lead,
  .access-system,
  .proof-wall,
  .native-strategy,
  .text-split {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 0;
  }

  .event-map {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .event-map::before,
  .event-map::after {
    left: 50%;
    right: auto;
    width: 18px;
    height: 46px;
    transform: translateX(-50%);
  }

  .event-map::before {
    top: 31%;
  }

  .event-map::after {
    top: 66%;
  }

  .source-column,
  .edition-column {
    max-width: 620px;
  }

  .proof-ribbon,
  .pricing-grid,
  .receipt-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 12px;
  }

  .nav-menu-panel {
    left: 0;
    right: auto;
  }

  h1,
  .page-title h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .home-hero,
  .operator-access,
  .product-proof,
  .native-strategy,
  .receipt-section,
  .wide-proof,
  .text-split,
  .page-title,
  .legal-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .event-map {
    padding: 16px;
  }

  .relay-card h2 {
    font-size: 2.2rem;
  }

  .relay-steps li,
  .receipt-ledger div,
  .legal-grid,
  .legal-retention-table div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .proof-ribbon,
  .pricing-grid,
  .receipt-ledger {
    grid-template-columns: 1fr;
  }

  .proof-ribbon div {
    border-right: 0;
    border-bottom: 1px solid oklch(74% 0.012 190 / 0.24);
  }

  .proof-ribbon div:last-child {
    border-bottom: 0;
  }

  .receipt-ledger div,
  .receipt-ledger div:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

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

  .primary-proof .shot-crop,
  .proof-stack .shot-crop,
  .wide-proof .shot-crop {
    aspect-ratio: 1.18;
  }

  .primary-proof img,
  .proof-stack img,
  .wide-proof img {
    width: 160%;
    transform: translate(-18%, -2%);
  }

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

/* Marketing page sections */

.site-header {
  background: oklch(98.6% 0.006 164 / 0.98);
  backdrop-filter: none;
}

.site-header nav a,
.site-header .nav-menu summary {
  padding-top: 6px;
  padding-bottom: 6px;
}

.site-hero,
.edition-switchboard,
.ledger-section,
.operator-section {
  max-width: 1320px;
  margin: 0 auto;
  padding-right: clamp(20px, 5vw, 64px);
  padding-left: clamp(20px, 5vw, 64px);
}

.site-hero {
  padding-top: clamp(46px, 7vh, 78px);
  padding-bottom: clamp(58px, 8vh, 92px);
}

.hero-copy-centered {
  max-width: 850px;
  margin-bottom: clamp(30px, 5vh, 48px);
}

.hero-copy-centered h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.35vw, 4.9rem);
  letter-spacing: 0;
}

.hero-copy-centered .intro {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.1rem, 1.4vw, 1.32rem);
  line-height: 1.55;
}

.boundary-map {
  --map-pad-x: clamp(28px, 3.4vw, 44px);
  --map-pad-y: clamp(24px, 3.2vw, 34px);
  position: relative;
  display: grid;
  grid-template-columns:
    260px
    70px
    245px
    70px
    260px;
  gap: 0;
  align-items: start;
  justify-content: center;
  min-height: 366px;
  padding: var(--map-pad-y) var(--map-pad-x);
  background: transparent;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: none;
  isolation: isolate;
  overflow: hidden;
}

.boundary-map::before {
  display: none;
  position: absolute;
  inset: var(--map-pad-y) var(--map-pad-x);
  z-index: 0;
  background: oklch(94.2% 0.021 184 / 0.58);
  content: "";
  pointer-events: none;
}

.boundary-lines {
  position: absolute;
  top: var(--map-pad-y);
  left: 50%;
  z-index: 1;
  width: 905px;
  height: calc(100% - (var(--map-pad-y) * 2));
  pointer-events: none;
  transform: translateX(-50%);
}

.signal-path {
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.5;
  marker-end: url("#flowArrow");
}

.signal-path + .signal-path {
  stroke-width: 4.5;
}

.signal-soft {
  opacity: 0.52;
}

.signal-strong {
  opacity: 0.86;
  stroke-width: 5;
}

#flowArrow path {
  fill: var(--teal);
}

.boundary-lane {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 22px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
}

.sources-lane {
  grid-column: 1;
}

.relay-lane {
  grid-column: 3;
}

.editions-lane {
  grid-column: 5;
}

.boundary-lane .map-heading {
  align-self: end;
  margin: 0;
  color: oklch(37% 0.038 210);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.center-heading {
  color: var(--teal-deep);
}

.node-stack,
.governance-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.node-stack {
  display: grid;
  gap: 12px;
}

.node-stack li,
.relay-core {
  background: oklch(98.2% 0.006 168);
  border-radius: 6px;
}

.node-stack li {
  border: 1px solid var(--line);
}

.node-stack li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px;
  color: var(--ink);
  font-weight: 760;
}

.node-stack i {
  color: var(--muted);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.edition-stack .is-live {
  background: oklch(94.8% 0.035 185);
  border-color: var(--teal);
  color: var(--teal-deep);
}

.edition-stack .is-live i {
  color: var(--teal-deep);
}

.edition-stack li:not(.is-live) i {
  color: oklch(45% 0.063 78);
}

.relay-core {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 284px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.relay-core-identity {
  position: relative;
  display: grid;
  width: clamp(176px, 17vw, 226px);
  aspect-ratio: 1;
  --mark-field: oklch(98.8% 0.006 164);
  place-items: center;
  justify-items: center;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at 50% 50%, oklch(98.8% 0.006 164) 0 56%, oklch(93.7% 0.024 181) 57% 100%);
  border: 1px solid oklch(72% 0.033 184);
  border-radius: 999px;
  box-shadow: 0 22px 62px oklch(31% 0.045 188 / 0.1);
  text-align: center;
}

.relay-core-identity::before,
.relay-core-identity::after {
  position: absolute;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.relay-core-identity::before {
  inset: 14px;
  border: 1px solid oklch(78% 0.026 184);
}

.relay-core-identity::after {
  inset: -18px;
  border: 1px dashed oklch(74% 0.022 184 / 0.72);
}

.relay-core-mark {
  position: relative;
  z-index: 1;
  width: clamp(118px, 11vw, 146px);
  height: auto;
}

.relay-core-proof {
  display: grid;
  gap: 4px;
  max-width: 210px;
  margin: 0 0 14px;
  text-align: center;
}

.relay-core-proof strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.2;
}

.relay-core-proof span {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.35;
}

.relay-core .relay-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  max-width: 260px;
  border-top: 0;
}

.relay-core .relay-steps li {
  grid-template-columns: 1fr;
  padding: 5px 8px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 760;
}

.relay-core .relay-steps li:first-child {
  padding-top: 5px;
}

.relay-core .relay-steps li:last-child {
  padding-bottom: 5px;
}

.relay-core .relay-steps span {
  color: var(--ink);
}

.mobile-connector {
  display: none;
}

.edition-switchboard {
  display: grid;
  grid-template-columns: minmax(280px, 0.66fr) minmax(520px, 1fr);
  gap: clamp(44px, 7vw, 88px);
  align-items: start;
  padding-top: clamp(78px, 11vh, 128px);
  padding-bottom: clamp(78px, 10vh, 118px);
  border-top: 1px solid var(--line-soft);
}

.switchboard-copy h2,
.ledger-copy h2,
.operator-copy h2 {
  max-width: 760px;
  font-size: clamp(2.35rem, 4.3vw, 4.1rem);
}

.switchboard-copy p,
.ledger-copy p,
.operator-copy p {
  max-width: 660px;
  font-size: 1.06rem;
  line-height: 1.65;
}

.switchboard-panel {
  display: grid;
  background: var(--paper);
  border: 1px solid var(--line-soft);
}

.edition-row,
.future-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.43fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 78px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
}

.edition-row:last-of-type {
  border-bottom: 0;
}

.edition-row span,
.future-row span {
  color: var(--ink);
  font-weight: 760;
}

.edition-row p,
.future-row p {
  margin: 0;
  color: var(--ink-soft);
}

.edition-row i {
  padding: 5px 7px;
  background: oklch(93.6% 0.045 185);
  color: var(--teal-deep);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.edition-row-head {
  background: oklch(96.3% 0.014 178);
}

.edition-row-head strong {
  color: var(--teal-deep);
}

.future-row {
  grid-template-columns: minmax(190px, 0.43fr) minmax(0, 1fr);
  background: oklch(98.2% 0.005 170);
}

.future-row span {
  color: oklch(43% 0.082 76);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.ledger-section {
  display: grid;
  gap: clamp(72px, 11vh, 116px);
  padding-top: clamp(78px, 11vh, 128px);
  padding-bottom: clamp(78px, 11vh, 128px);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), var(--line-soft) calc(50% - 1px), var(--line-soft) calc(50% + 1px), transparent calc(50% + 1px));
  border-top: 1px solid var(--line-soft);
}

.ledger-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(520px, 0.78fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
}

.recovery-row {
  grid-template-columns: minmax(560px, 0.78fr) minmax(280px, 0.44fr);
}

.receipt-artifact,
.recovery-ledger,
.access-panel {
  background: var(--paper);
  border: 1px solid var(--line);
}

.receipt-artifact {
  display: grid;
}

.receipt-artifact-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px auto;
  gap: 18px;
  align-items: center;
  --mark-field: var(--paper);
  min-height: 94px;
  padding: 20px 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.receipt-mark {
  width: 92px;
  height: auto;
}

.receipt-artifact .receipt-artifact-header span {
  color: var(--teal-deep);
  font-family: Archivo, Avenir Next, -apple-system, BlinkMacSystemFont, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 860;
  text-transform: none;
}

.receipt-artifact .receipt-artifact-header strong {
  justify-self: end;
  padding: 6px 8px;
  background: oklch(95.8% 0.01 170);
  border: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.receipt-artifact div {
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.receipt-artifact div:last-child {
  border-bottom: 0;
}

.receipt-artifact div:nth-of-type(4) {
  background: oklch(91% 0.006 170);
}

.receipt-artifact span,
.recovery-ledger span {
  color: var(--muted);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.receipt-artifact strong {
  color: var(--ink);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  font-weight: 600;
}

.receipt-artifact .good {
  color: var(--teal-deep);
}

.recovery-ledger {
  display: grid;
}

.recovery-ledger div {
  display: grid;
  grid-template-columns: 120px minmax(170px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-soft);
}

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

.recovery-ledger strong {
  color: var(--ink);
}

.recovery-ledger p {
  margin: 0;
  color: var(--ink-soft);
}

.operator-section {
  padding-top: clamp(78px, 11vh, 130px);
  padding-bottom: clamp(82px, 12vh, 140px);
}

.operator-copy {
  max-width: 870px;
  margin-bottom: clamp(36px, 6vh, 62px);
}

.access-panel {
  padding: clamp(24px, 4vw, 44px);
  background: oklch(94.9% 0.01 176);
}

.surface-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.surface-tabs div {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 94px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  text-align: left;
}

.surface-tabs div::after {
  position: absolute;
  bottom: -19px;
  left: 50%;
  width: 1px;
  height: 18px;
  background: var(--line);
  content: "";
}

.surface-tabs strong {
  color: var(--ink);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.98rem;
}

.surface-tabs span {
  color: var(--muted);
  font-size: 0.88rem;
}

.governance-panel {
  padding: clamp(26px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line-soft);
}

.governance-panel h3 {
  margin-bottom: 22px;
  color: var(--teal-deep);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.governance-panel ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.governance-panel li {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--line-soft);
}

.governance-panel strong {
  color: var(--ink);
}

.governance-panel span {
  color: var(--muted);
  font-size: 0.88rem;
}

.governance-panel li:last-child {
  background: oklch(96% 0.012 24);
}

.governance-panel li:last-child strong {
  color: var(--error, oklch(48% 0.18 28));
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(320px, 1fr);
  align-items: start;
  gap: 40px;
  padding-top: 46px;
  padding-bottom: 46px;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.15rem;
}

.site-footer nav {
  justify-content: end;
}

@media (max-width: 1120px) {
  .boundary-map {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
  }

  .boundary-map::before {
    display: block;
    inset: 24px auto 24px 50%;
    width: 44px;
    margin-left: -22px;
    background: oklch(94.2% 0.021 184 / 0.58);
    border: 0;
  }

  .boundary-lines {
    display: none;
  }

  .boundary-lane {
    grid-column: auto;
    grid-template-rows: auto auto;
  }

  .mobile-connector {
    position: relative;
    z-index: 2;
    display: block;
    justify-self: center;
    width: 2px;
    height: 34px;
    background: var(--teal);
    opacity: 0.54;
  }

  .mobile-connector::after {
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 7px solid var(--teal);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: "";
    transform: translateX(-50%);
  }

  .edition-switchboard,
  .ledger-row,
  .recovery-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .ledger-section {
    background: none;
  }

  .recovery-row .ledger-copy {
    order: -1;
  }
}

@media (max-width: 740px) {
  .site-hero,
  .edition-switchboard,
  .ledger-section,
  .operator-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-copy-centered h1 {
    font-size: 3rem;
  }

  .boundary-map {
    padding: 18px;
  }

  .edition-row,
  .future-row,
  .receipt-artifact-header,
  .receipt-artifact div,
  .recovery-ledger div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .receipt-artifact .receipt-artifact-header strong {
    justify-self: start;
  }

  .surface-tabs,
  .governance-panel ul {
    grid-template-columns: 1fr;
  }

  .surface-tabs div::after {
    left: 28px;
  }

  .surface-tabs div:last-child::after {
    display: none;
  }

  .site-footer nav {
    justify-content: start;
  }
}

/* Middle reference hero */

.site-header {
  display: grid;
  grid-template-columns: minmax(190px, 0.5fr) auto minmax(190px, 0.5fr);
  gap: 22px;
  padding-top: 14px;
  padding-bottom: 14px;
  background: oklch(98.85% 0.0057 84.57 / 0.98);
}

.site-header .brand-mark {
  width: 48px;
}

.site-header > nav {
  justify-content: center;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 17px;
  background: var(--teal-deep);
  border: 1px solid oklch(20% 0.04 228);
  border-radius: 4px;
  box-shadow: 0 12px 28px oklch(27.04% 0.051 228.08 / 0.16);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 840;
  text-decoration: none;
}

.launch-hero {
  max-width: 1360px;
  margin: 0 auto;
  padding: 34px clamp(20px, 4.8vw, 64px) 44px;
  background:
    radial-gradient(circle at 54% 48%, oklch(93.87% 0.0229 128.73 / 0.72), transparent 45%),
    radial-gradient(circle at 78% 15%, oklch(98.85% 0.0057 84.57 / 0.88), transparent 34%),
    linear-gradient(180deg, var(--canvas), oklch(98.51% 0.0042 197.09));
  border-bottom: 1px solid var(--line-soft);
}

.launch-hero-top {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(320px, 340px);
  gap: clamp(30px, 5.4vw, 82px);
  align-items: start;
  max-width: 1088px;
  margin: 0 auto 28px;
}

.launch-hero .hero-copy {
  max-width: 650px;
}

.launch-hero h1 {
  max-width: 560px;
  margin-bottom: 12px;
  font-size: clamp(2.65rem, 3.35vw, 3rem);
  letter-spacing: 0;
  line-height: 1.02;
}

.launch-hero .intro {
  max-width: 590px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.68;
}

.launch-hero .actions {
  margin-top: 0;
}

.launch-hero .button {
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 4px;
}

.hero-receipt-card {
  justify-self: end;
  width: 340px;
  background: oklch(98.72% 0.005 160);
  border: 1px solid oklch(86% 0.025 176);
  border-radius: 4px;
  box-shadow: 0 16px 34px oklch(30% 0.02 190 / 0.1);
  overflow: hidden;
}

.hero-receipt-card header,
.hero-access-strip header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-receipt-card header {
  min-height: 46px;
  padding: 11px 14px;
  background: oklch(94.4% 0.012 211 / 0.58);
  border-bottom: 1px solid oklch(86% 0.025 176);
}

.hero-receipt-card span,
.hero-receipt-card dt,
.hero-status-rail span,
.hero-access-strip header strong {
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-receipt-card header span,
.hero-access-strip header strong {
  color: var(--teal-deep);
}

.hero-receipt-card header strong {
  color: var(--ink-soft);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.receipt-status-band {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 4px 10px;
  padding: 11px 14px 10px;
  background: oklch(93.9% 0.047 156 / 0.54);
  border-bottom: 1px solid oklch(86% 0.025 176);
}

.receipt-status-band > span {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  background: var(--teal-deep);
  border-radius: 999px;
  box-shadow: 0 0 0 4px oklch(87.9% 0.0311 145.3 / 0.82);
}

.receipt-status-band strong {
  color: var(--teal-deep);
  font-size: 0.86rem;
  line-height: 1.25;
}

.receipt-status-band small {
  grid-column: 2;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.35;
}

.receipt-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 31px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.receipt-section-heading span,
.receipt-section-heading em {
  color: var(--muted);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.receipt-section-heading em {
  color: var(--teal-deep);
}

.hero-receipt-card .receipt-facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.hero-receipt-card .receipt-facts div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  min-height: 38px;
  padding: 9px 14px;
  border-bottom: 1px solid oklch(93.87% 0.0229 128.73 / 0.7);
}

.hero-receipt-card .receipt-facts div:nth-child(2n) {
  border-right: 0;
}

.hero-receipt-card dt {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.hero-receipt-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: anywhere;
}

.receipt-pipeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: center;
  min-height: 36px;
  padding: 9px 14px;
  background: oklch(98.2% 0.006 168);
  border-bottom: 1px solid var(--line-soft);
}

.receipt-pipeline span {
  position: relative;
  justify-self: center;
  min-height: 0;
  padding: 0 0 0 14px;
  color: var(--ink);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.receipt-pipeline span + span {
  border-left: 0;
}

.receipt-pipeline span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--teal-deep);
  border-radius: 999px;
  box-shadow: 0 0 0 2px oklch(87.9% 0.0311 145.3 / 0.7);
  content: "";
  transform: translateY(-50%);
}

.hero-receipt-card p {
  margin: 0;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.hero-control-plane {
  position: relative;
  display: grid;
  grid-template-columns: 26.36% 31.8% 26.36%;
  column-gap: 7.74%;
  align-items: start;
  justify-content: center;
  width: min(956px, 100%);
  max-width: 956px;
  min-height: 372px;
  margin: 0 auto;
  isolation: isolate;
}

.hero-flow-lines {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  width: 100%;
  height: 318px;
  pointer-events: none;
  transform: translateX(-50%);
}

.source-line,
.edition-line {
  fill: none;
  stroke: var(--route);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.hero-map-column {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 20px auto;
  gap: 28px;
  align-content: start;
}

.hero-control-plane .source-column,
.hero-control-plane .edition-column {
  align-self: start;
}

.hero-map-column .map-heading {
  justify-self: center;
  width: 100%;
  margin: 0;
  color: var(--teal-deep);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.source-cards,
.edition-cards,
.control-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-cards,
.edition-cards {
  display: grid;
  gap: 12px;
}

.source-cards li,
.edition-cards li {
  position: relative;
  display: grid;
  min-height: 62px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  box-shadow: 0 6px 20px oklch(27.04% 0.051 228.08 / 0.035);
}

.source-cards li {
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 14px 15px;
}

.source-cards strong {
  align-self: end;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.2;
}

.source-cards small {
  grid-column: 2;
  align-self: start;
  color: var(--muted);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
}

.source-cards i,
.edition-cards i {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: block;
  width: 9px;
  height: 9px;
  background: var(--teal-deep);
  border: 2px solid var(--paper);
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--teal-deep);
  transform: translateY(-50%);
}

.source-cards i {
  right: -5px;
}

.edition-cards i {
  left: -5px;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.source-icon {
  grid-row: 1 / span 2;
  display: block;
  width: 34px;
  height: 34px;
  color: var(--teal-deep);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.control-column {
  justify-items: center;
  align-self: start;
  text-align: center;
}

.control-core {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.control-core::before,
.control-core::after {
  position: absolute;
  top: 99px;
  bottom: 0;
  z-index: 0;
  width: 1px;
  background: var(--line-soft);
  content: "";
  pointer-events: none;
}

.control-core::before {
  left: calc(50% - 116px);
}

.control-core::after {
  right: calc(50% - 116px);
}

.control-core-rings {
  position: relative;
  z-index: 1;
  display: grid;
  width: 198px;
  aspect-ratio: 1;
  --mark-field: var(--canvas);
  place-items: center;
  background:
    radial-gradient(circle, var(--canvas) 0 42%, oklch(87.9% 0.0311 145.3 / 0.66) 43% 47%, oklch(93.87% 0.0229 128.73 / 0.82) 48% 100%);
  border: 1px solid oklch(71.48% 0.0552 148.31 / 0.72);
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 20px oklch(98.85% 0.0057 84.57 / 0.68),
    0 18px 48px oklch(27.04% 0.051 228.08 / 0.08);
}

.control-core-rings::before,
.control-core-rings::after {
  position: absolute;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.control-core-rings::before {
  inset: 14px;
  border: 1px solid oklch(71.48% 0.0552 148.31 / 0.72);
}

.control-core-rings::after {
  inset: -18px;
  border: 1px dashed oklch(71.48% 0.0552 148.31 / 0.5);
}

.control-core-mark {
  position: relative;
  z-index: 1;
  width: 122px;
  height: auto;
}

.relay-junction-dot {
  position: absolute;
  z-index: 4;
  display: block;
  width: 8px;
  height: 8px;
  background: var(--teal-deep);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--teal-deep);
  transform: translate(-50%, -50%);
}

.relay-junction-source-a {
  top: 70px;
  left: -15.085px;
}

.relay-junction-source-b {
  top: 88px;
  left: -18.07px;
}

.relay-junction-source-c {
  top: 106px;
  left: -18.225px;
}

.relay-junction-edition-a {
  top: 63px;
  left: 209.118px;
}

.relay-junction-edition-b {
  top: 80px;
  left: 213.101px;
}

.relay-junction-edition-c {
  top: 97px;
  left: 214.496px;
}

.relay-junction-edition-d {
  top: 114px;
  left: 213.396px;
}

.control-steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  width: 232px;
  padding: 11px 12px;
  background: transparent;
  border: 1px solid var(--line-soft);
  border-top: 0;
  border-radius: 5px;
}

.control-steps li {
  display: grid;
  grid-template-columns: 20px auto;
  gap: 8px;
  align-items: center;
  justify-self: center;
  width: 156px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 760;
  text-align: left;
}

.proof-icon {
  display: block;
  width: 16px;
  height: 16px;
  color: var(--teal-deep);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.control-steps span {
  min-width: 0;
}

.edition-cards li {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 22px;
}

.edition-cards strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.edition-cards span {
  color: var(--amber);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.edition-cards .is-live {
  background: oklch(87.9% 0.0311 145.3 / 0.62);
  border-color: oklch(57.76% 0.1621 139.21 / 0.45);
}

.edition-cards .is-live strong,
.edition-cards .is-live span {
  color: var(--teal-deep);
}

.hero-status-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 716px;
  min-height: 42px;
  margin: 10px auto 24px;
  background: oklch(98.85% 0.0057 84.57 / 0.78);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}

.hero-status-rail span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  color: var(--teal-deep);
  text-align: center;
}

.hero-status-rail span + span {
  border-left: 1px dashed var(--line-soft);
}

.hero-status-rail span::before {
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--green);
  border-radius: 999px;
  content: "";
}

.hero-access-strip {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1140px;
  margin: 0 auto;
  background: oklch(98.85% 0.0057 84.57 / 0.84);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  box-shadow: 0 14px 30px oklch(27.04% 0.051 228.08 / 0.045);
}

.hero-access-strip header {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 48px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line-soft);
}

.hero-access-strip header strong {
  justify-self: center;
}

.hero-access-strip header span {
  grid-column: 3;
  justify-self: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.access-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.access-strip-grid div {
  display: grid;
  grid-template-columns: 42px minmax(128px, max-content);
  grid-template-rows: auto auto;
  column-gap: 14px;
  justify-content: center;
  min-height: 96px;
  padding: 22px 32px;
}

.access-strip-grid div + div {
  border-left: 1px solid var(--line-soft);
}

.access-strip-grid strong {
  align-self: end;
  color: var(--ink);
  font-size: 1rem;
}

.access-strip-grid small {
  color: var(--muted);
  font-size: 0.78rem;
}

.access-icon {
  position: relative;
  grid-row: 1 / span 2;
  align-self: center;
  width: 34px;
  height: 34px;
  color: var(--teal-deep);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.code-icon::before,
.code-icon::after {
  position: absolute;
  top: 8px;
  width: 12px;
  height: 18px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
}

.code-icon::before {
  left: 3px;
  border-left: 2px solid currentColor;
  transform: skewX(-18deg);
}

.code-icon::after {
  right: 3px;
  border-right: 2px solid currentColor;
  transform: skewX(18deg);
}

.cli-icon {
  border: 2px solid currentColor;
  border-radius: 3px;
}

.cli-icon::before {
  position: absolute;
  top: 10px;
  left: 8px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.cli-icon::after {
  position: absolute;
  right: 8px;
  bottom: 9px;
  left: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.mcp-icon {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.mcp-icon::before,
.mcp-icon::after {
  position: absolute;
  inset: 8px;
  border: 2px solid currentColor;
  content: "";
}

.mcp-icon::before {
  transform: rotate(30deg);
}

.mcp-icon::after {
  transform: rotate(90deg);
}

.edition-switchboard {
  border-top: 0;
}

.home-receipt-proof,
.home-operator-proof {
  max-width: 1360px;
  margin: 0 auto;
  padding-right: clamp(20px, 4.8vw, 64px);
  padding-left: clamp(20px, 4.8vw, 64px);
}

.home-proof-copy h2,
.operator-proof-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 3.45vw, 3.45rem);
  letter-spacing: 0;
}

.home-proof-copy > p,
.operator-proof-copy > p,
.home-next-step p {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.66;
}

.edition-proof-ledger {
  display: grid;
  background: oklch(98.7% 0.006 160);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  box-shadow: 0 18px 42px oklch(27.04% 0.051 228.08 / 0.055);
  overflow: hidden;
}

.edition-proof-row {
  display: grid;
  grid-template-columns: 152px minmax(0, 0.82fr) minmax(190px, 0.66fr);
  gap: 18px;
  align-items: center;
  min-height: 96px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
}

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

.edition-proof-row span,
.operator-rule-list span {
  color: var(--muted);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.edition-proof-row strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.edition-proof-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.edition-proof-row a {
  justify-self: start;
  color: var(--teal-deep);
  font-size: 0.88rem;
  font-weight: 820;
  text-decoration: none;
}

.edition-proof-row a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.edition-proof-row.is-current {
  background:
    linear-gradient(90deg, oklch(87.9% 0.0311 145.3 / 0.72), transparent 42%),
    oklch(96.8% 0.014 174);
}

.edition-proof-row.is-current span,
.edition-proof-row.is-current strong {
  color: var(--teal-deep);
}

.edition-proof-row.is-future {
  background: oklch(98% 0.006 170);
}

.edition-proof-row.is-future span {
  color: var(--amber);
}

.fit-ledger {
  display: grid;
  background: oklch(98.7% 0.006 160);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  box-shadow: 0 18px 42px oklch(27.04% 0.051 228.08 / 0.055);
  overflow: hidden;
}

.fit-ledger-head,
.fit-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.44fr) minmax(160px, 0.62fr) minmax(210px, 0.9fr);
  gap: 20px;
  align-items: center;
  padding: 17px 22px;
}

.fit-ledger-head {
  min-height: 46px;
  background: oklch(94.4% 0.014 176 / 0.52);
  border-bottom: 1px solid var(--line-soft);
}

.fit-ledger-head span,
.fit-row > span,
.artifact-chrome span,
.artifact-chrome em,
.artifact-title-row span,
.artifact-panel h3,
.artifact-facts dt,
.artifact-mini-facts dt,
.artifact-recovery-strip span,
.access-grant-grid span,
.history-toolbar span,
.history-head span,
.operator-access-model header span {
  color: var(--muted);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fit-row {
  min-height: 88px;
  border-bottom: 1px solid var(--line-soft);
}

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

.fit-row.is-primary {
  background:
    linear-gradient(90deg, oklch(87.9% 0.0311 145.3 / 0.66), transparent 46%),
    oklch(96.8% 0.014 174);
}

.fit-row > span {
  color: var(--teal-deep);
}

.fit-row strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.34;
}

.fit-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.automation-stack {
  display: grid;
  gap: 12px;
  padding: 16px;
  background:
    linear-gradient(180deg, oklch(97.2% 0.008 176), oklch(98.85% 0.0057 84.57));
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  box-shadow: 0 18px 42px oklch(27.04% 0.051 228.08 / 0.055);
}

.stack-layers {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-layer {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(58px, auto);
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
}

.stack-layer-relay {
  background:
    linear-gradient(90deg, oklch(87.9% 0.0311 145.3 / 0.58), transparent 58%),
    oklch(96.8% 0.014 174);
  border-color: oklch(57.76% 0.1621 139.21 / 0.28);
}

.stack-layer > span,
.stack-layer small,
.stack-context span {
  color: var(--muted);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stack-layer > span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: oklch(94.4% 0.014 176 / 0.68);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--teal-deep);
}

.stack-layer-relay > span {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: var(--paper);
}

.stack-layer div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.stack-layer strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.stack-layer-relay strong {
  color: var(--teal-deep);
}

.stack-layer p {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.stack-layer small {
  justify-self: end;
  color: var(--teal-deep);
}

.stack-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.stack-context span {
  padding: 7px 9px;
  background: oklch(98.85% 0.0057 84.57 / 0.82);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.fit-map-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1fr);
  background: oklch(98.85% 0.0057 84.57);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  box-shadow: 0 18px 42px oklch(27.04% 0.051 228.08 / 0.055);
  overflow: hidden;
}

.fit-map-primary,
.fit-map-rows article {
  display: grid;
  align-content: start;
}

.fit-map-primary {
  gap: 12px;
  padding: clamp(24px, 3.5vw, 38px);
  background:
    linear-gradient(140deg, oklch(87.9% 0.0311 145.3 / 0.58), transparent 72%),
    oklch(96.8% 0.014 174);
}

.fit-map-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: clamp(12px, 2vw, 20px) 0 0;
  padding: 0;
  list-style: none;
}

.fit-map-proof li {
  min-height: 34px;
  padding: 9px 10px;
  background: oklch(98.85% 0.0057 84.57 / 0.76);
  border: 1px solid oklch(57.76% 0.1621 139.21 / 0.18);
  border-radius: 4px;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.2;
}

.fit-map-primary span,
.fit-map-rows span {
  color: var(--teal-deep);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fit-map-primary strong {
  max-width: 20ch;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.12;
}

.fit-map-primary p,
.fit-map-rows p {
  max-width: 56ch;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.fit-map-primary p {
  font-size: 1rem;
}

.fit-map-rows {
  display: grid;
  background: var(--paper);
  border-left: 1px solid var(--line-soft);
}

.fit-map-rows article {
  grid-template-columns: minmax(138px, 0.38fr) minmax(170px, 0.48fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 98px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.fit-map-rows article:last-child {
  border-bottom: 0;
}

.fit-map-rows strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.fit-map-rows p {
  font-size: 0.92rem;
}

.home-receipt-proof,
.home-operator-proof {
  display: grid;
  gap: clamp(40px, 6vw, 82px);
  align-items: center;
  padding-top: clamp(74px, 10vh, 112px);
  padding-bottom: clamp(74px, 10vh, 112px);
}

.home-receipt-proof {
  grid-template-columns: minmax(300px, 0.58fr) minmax(560px, 0.9fr);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), var(--line-soft) calc(50% - 1px), var(--line-soft) calc(50% + 1px), transparent calc(50% + 1px));
  border-bottom: 1px solid var(--line-soft);
}

.home-proof-list,
.operator-rule-list {
  display: grid;
  margin: clamp(24px, 4vh, 34px) 0 0;
  padding: 0;
  list-style: none;
}

.home-proof-list {
  max-width: 620px;
  border-top: 1px solid var(--line-soft);
}

.home-proof-list li {
  display: grid;
  grid-template-columns: 28px minmax(126px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.home-proof-icon,
.operator-surface-icon {
  display: block;
  color: var(--teal-deep);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-proof-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}

.home-proof-list strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.home-proof-list span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-product-proof,
.home-history-proof,
.home-access-proof {
  background: var(--paper);
}

.product-artifact {
  overflow: hidden;
  background: oklch(98.9% 0.004 190);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-proof);
}

.artifact-chrome {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  background: oklch(96.4% 0.006 218);
  border-bottom: 1px solid var(--line-soft);
}

.artifact-chrome strong {
  color: var(--teal-deep);
  font-size: 0.88rem;
  font-weight: 900;
}

.artifact-chrome em {
  justify-self: end;
  padding: 5px 8px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: var(--teal-deep);
  font-style: normal;
  white-space: nowrap;
}

.artifact-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

.artifact-title-row div {
  display: grid;
  gap: 4px;
}

.artifact-title-row strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.artifact-title-row mark,
.history-row mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: oklch(87.9% 0.0311 145.3 / 0.7);
  border: 1px solid oklch(57.76% 0.1621 139.21 / 0.34);
  border-radius: 999px;
  color: var(--teal-deep);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
}

.artifact-title-row mark {
  min-height: 28px;
  padding: 6px 10px;
}

.artifact-alert {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 12px 18px 12px 42px;
  background: oklch(93.9% 0.047 156 / 0.45);
  border-bottom: 1px solid var(--line-soft);
}

.artifact-alert::before {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: 7px 0 0 -22px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 4px oklch(87.9% 0.0311 145.3 / 0.72);
  content: "";
}

.artifact-alert strong {
  max-width: 58ch;
  color: var(--teal-deep);
  font-size: 0.96rem;
}

.artifact-alert span {
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.artifact-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px;
  background: oklch(97.2% 0.006 218);
}

.artifact-panel {
  display: grid;
  gap: 9px;
  align-content: start;
  min-height: 96px;
  padding: 13px 14px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
}

.artifact-wide {
  grid-column: 1 / -1;
}

.artifact-panel h3 {
  width: fit-content;
  margin: 0;
  color: var(--teal-deep);
  font-size: 0.75rem;
}

.artifact-panel strong {
  display: inline-block;
  max-width: 58ch;
  color: var(--ink);
  font-size: 0.92rem;
}

.artifact-panel p {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.artifact-facts,
.artifact-mini-facts {
  display: grid;
  gap: 0;
  margin: 0;
}

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

.artifact-facts div,
.artifact-mini-facts div {
  display: grid;
  grid-template-columns: minmax(82px, 0.45fr) minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--line-soft);
}

.artifact-facts div:nth-child(-n + 2) {
  border-top: 0;
}

.artifact-facts dd,
.artifact-mini-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
  text-align: right;
  overflow-wrap: anywhere;
}

.artifact-recovery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  overflow: hidden;
}

.artifact-recovery-strip div {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 13px 14px;
}

.artifact-recovery-strip div + div {
  border-left: 1px solid var(--line-soft);
}

.artifact-recovery-strip span {
  color: var(--teal-deep);
  font-size: 0.7rem;
}

.artifact-recovery-strip strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.artifact-recovery-strip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.35;
}

.artifact-chain {
  gap: 12px;
}

.artifact-chain ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}

.artifact-chain li {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 70px;
  padding: 14px 13px 13px 24px;
  background: oklch(98.85% 0.0057 84.57 / 0.7);
}

.artifact-chain li + li {
  border-left: 1px solid var(--line-soft);
}

.artifact-chain li::before {
  position: absolute;
  top: 19px;
  left: 10px;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 3px oklch(87.9% 0.0311 145.3 / 0.7);
  content: "";
}

.artifact-chain span {
  color: var(--teal-deep);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
}

.artifact-chain strong {
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.22;
}

.artifact-pipeline ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.artifact-pipeline li {
  position: relative;
  display: grid;
  grid-template-columns: 12px minmax(0, max-content);
  gap: 7px;
  align-items: center;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 760;
}

.artifact-pipeline li::before {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
  content: "";
}

.product-artifact footer {
  display: grid;
  gap: 3px;
  padding: 15px 18px;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}

.product-artifact footer strong {
  color: var(--ink);
  font-size: 1rem;
}

.product-artifact footer span {
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.home-product-proof .shot-crop {
  aspect-ratio: 1.36;
}

.home-product-proof img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top left;
  transform: none;
}

.home-operator-proof {
  grid-template-columns: minmax(520px, 0.82fr) minmax(320px, 0.62fr);
  align-items: start;
  background:
    linear-gradient(180deg, var(--canvas), oklch(97.7% 0.0055 218));
  border-bottom: 1px solid var(--line-soft);
}

.home-history-proof .shot-crop {
  aspect-ratio: 1.92;
}

.home-history-proof img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top left;
  transform: none;
}

.event-history-artifact {
  align-self: start;
}

.home-access-proof {
  align-self: start;
}

.access-grant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: oklch(97.2% 0.006 218);
  border-bottom: 1px solid var(--line-soft);
}

.access-artifact .artifact-alert {
  background: oklch(96.7% 0.007 218);
}

.access-artifact .artifact-alert::before {
  background: var(--teal-deep);
  box-shadow: 0 0 0 4px oklch(87.9% 0.0311 145.3 / 0.48);
}

.access-grant-grid div {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 14px 16px;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}

.access-grant-grid div:nth-child(-n + 2) {
  border-top: 0;
}

.access-grant-grid div:nth-child(2n) {
  border-left: 1px solid var(--line-soft);
}

.access-grant-grid strong {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.34;
}

.access-rail-list {
  display: grid;
  gap: 8px;
  padding: 14px 16px 18px;
  background: oklch(97.2% 0.006 218);
}

.access-rail-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(120px, 0.42fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
}

.access-rail-list article div {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.access-rail-icon {
  width: 22px;
  height: 22px;
  color: var(--teal-deep);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.access-rail-list strong {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.24;
}

.access-rail-list mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  padding: 4px 8px;
  background: oklch(87.9% 0.0311 145.3 / 0.7);
  border: 1px solid oklch(57.76% 0.1621 139.21 / 0.34);
  border-radius: 999px;
  color: var(--teal-deep);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.access-rail-list mark.is-caution {
  background: oklch(92.8% 0.049 92 / 0.55);
  border-color: oklch(56% 0.08 85 / 0.3);
  color: var(--amber);
}

.access-rail-list small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.24;
}

.history-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(3, auto);
  gap: 8px;
  padding: 14px 16px 8px;
  background: oklch(97.2% 0.006 218);
}

.history-toolbar span {
  min-height: 28px;
  padding: 7px 9px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
}

.history-table,
.history-list {
  display: grid;
  padding: 8px 16px 18px;
  background: oklch(97.2% 0.006 218);
}

.history-row {
  display: grid;
  grid-template-columns: 0.74fr 0.9fr 0.64fr 1.1fr 0.34fr;
  gap: 12px;
  align-items: center;
  min-height: 38px;
  padding: 8px 0;
  border-bottom: 1px solid oklch(90% 0.012 220 / 0.72);
}

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

.history-row span {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.history-row span::before {
  display: none;
}

.history-head span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.history-row mark {
  justify-self: start;
  min-height: 20px;
  padding: 4px 7px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.history-row mark.is-failed {
  background: oklch(96% 0.028 24);
  border-color: oklch(56.57% 0.1766 26.53 / 0.24);
  color: var(--receipt-red);
}

.history-list {
  gap: 8px;
  padding-top: 10px;
}

.history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(176px, 0.56fr);
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
}

.history-item.is-delivered {
  background:
    linear-gradient(90deg, oklch(93.9% 0.047 156 / 0.38), transparent 58%),
    var(--paper);
}

.history-item div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.history-item div:last-child {
  justify-items: start;
}

.history-item span,
.history-item small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.history-item span {
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 760;
}

.history-item strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.25;
}

.history-item mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 22px;
  padding: 4px 8px;
  background: oklch(87.9% 0.0311 145.3 / 0.7);
  border: 1px solid oklch(57.76% 0.1621 139.21 / 0.34);
  border-radius: 999px;
  color: var(--teal-deep);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.history-item mark.is-failed {
  background: oklch(96% 0.028 24);
  border-color: oklch(56.57% 0.1766 26.53 / 0.24);
  color: var(--receipt-red);
}

.operator-surface-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(24px, 4vh, 34px);
  background: oklch(98.85% 0.0057 84.57 / 0.82);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  overflow: hidden;
}

.operator-surface-grid div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 3px 12px;
  align-items: center;
  min-height: 104px;
  padding: 18px;
}

.operator-surface-grid div + div {
  border-left: 1px solid var(--line-soft);
}

.operator-surface-icon {
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  stroke-width: 1.65;
}

.operator-surface-grid strong {
  align-self: end;
  color: var(--ink);
}

.operator-surface-grid span {
  align-self: start;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.operator-access-model {
  margin-top: clamp(24px, 4vh, 34px);
  background: oklch(98.85% 0.0057 84.57 / 0.82);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  overflow: hidden;
}

.operator-access-model header {
  display: grid;
  gap: 4px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.operator-access-model header strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.operator-access-model .operator-surface-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.operator-access-model .operator-surface-grid div {
  min-height: 94px;
  border-left: 0;
}

.operator-access-model .operator-surface-grid div:nth-child(2n) {
  border-left: 1px solid var(--line-soft);
}

.operator-access-model .operator-surface-grid div:nth-child(n + 3) {
  border-top: 1px solid var(--line-soft);
}

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

.operator-rule-list li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.operator-rule-list strong {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.45;
}

.home-next-step {
  display: grid;
  grid-template-columns: minmax(0, 680px) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  justify-content: center;
  padding: clamp(50px, 7vh, 76px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, oklch(98.85% 0.0057 84.57), oklch(97.4% 0.006 218));
  border-top: 1px solid var(--line-soft);
}

.home-next-step .section-label {
  color: var(--teal-deep);
}

.home-next-step h2 {
  color: var(--ink);
}

.home-next-step h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
}

.home-next-step p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.home-next-step .actions {
  justify-content: end;
  margin-top: 0;
}

.home-next-step .button.primary {
  background: var(--teal-deep);
  border: 1px solid oklch(20% 0.04 228);
  color: var(--paper);
  box-shadow: 0 12px 28px oklch(27.04% 0.051 228.08 / 0.14);
}

.home-next-step .button.secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--teal-deep);
}

@media (min-width: 981px) and (max-width: 1240px) {
  .launch-hero {
    padding-right: clamp(28px, 4.2vw, 48px);
    padding-left: clamp(28px, 4.2vw, 48px);
  }

  .launch-hero-top {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(26px, 4vw, 46px);
    max-width: 1010px;
  }

  .launch-hero h1 {
    font-size: clamp(2.55rem, 4vw, 2.95rem);
  }

  .hero-control-plane {
    max-width: 100%;
  }

  .source-cards li {
    grid-template-columns: 38px minmax(0, 1fr) 10px;
    column-gap: 12px;
    padding: 14px 13px;
  }

  .edition-cards li {
    gap: 12px;
    padding: 16px 18px;
  }

  .edition-cards li:last-child {
    min-height: 82px;
  }

  .edition-cards strong {
    font-size: 0.92rem;
    white-space: nowrap;
  }
}

@media (max-width: 1120px) {
  .home-receipt-proof,
  .home-operator-proof,
  .home-next-step {
    grid-template-columns: 1fr;
  }

  .home-receipt-proof {
    background: none;
  }

  .home-proof-copy,
  .operator-proof-copy {
    max-width: 760px;
  }

  .home-product-proof,
  .home-history-proof,
  .home-access-proof {
    width: 100%;
  }

  .home-operator-proof .home-history-proof,
  .home-operator-proof .home-access-proof {
    order: 2;
  }

  .home-next-step {
    justify-content: stretch;
  }

  .home-next-step .actions {
    justify-content: start;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-header > nav {
    justify-content: start;
  }

  .header-cta {
    justify-self: start;
  }

  .launch-hero-top,
  .hero-control-plane {
    grid-template-columns: 1fr;
  }

  .launch-hero-top {
    max-width: 660px;
  }

  .hero-control-plane {
    justify-content: stretch;
    width: 100%;
    max-width: 620px;
    min-height: 0;
    gap: 28px;
  }

  .hero-receipt-card {
    justify-self: start;
  }

  .hero-flow-lines {
    display: none;
  }

  .source-cards,
  .edition-cards {
    gap: 12px;
  }

  .source-cards li,
  .edition-cards li {
    max-width: none;
  }

  .control-column {
    justify-items: center;
    text-align: center;
  }

  .control-core {
    justify-items: center;
  }

  .control-core::before,
  .control-core::after,
  .relay-junction-dot {
    display: none;
  }

  .hero-status-rail,
  .hero-access-strip {
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
  }

}

@media (max-width: 760px) {
  .brand-mark {
    width: 48px;
  }

  .launch-hero {
    padding: 40px 18px 48px;
  }

  .launch-hero h1 {
    font-size: clamp(2.35rem, 12.5vw, 2.9rem);
  }

  .launch-hero .intro {
    font-size: 1rem;
  }

  .hero-receipt-card {
    width: min(100%, 340px);
  }

  .control-core-rings {
    width: min(218px, 72vw);
  }

  .control-core-mark {
    width: min(142px, 46vw);
  }

  .hero-status-rail,
  .access-strip-grid {
    grid-template-columns: 1fr;
  }

  .hero-status-rail span {
    min-height: 40px;
  }

  .hero-status-rail span + span,
  .access-strip-grid div + div {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .hero-access-strip header {
    align-items: flex-start;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px 20px;
  }

  .hero-access-strip header strong,
  .hero-access-strip header span {
    grid-column: auto;
    justify-self: start;
  }

  .access-strip-grid div {
    padding: 20px;
  }

  .home-receipt-proof,
  .home-operator-proof {
    padding-right: 18px;
    padding-left: 18px;
  }

  .home-proof-copy h2,
  .operator-proof-copy h2 {
    font-size: clamp(2.15rem, 10vw, 2.85rem);
  }

  .edition-proof-row,
  .fit-row,
  .home-proof-list li,
  .operator-rule-list li {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .fit-ledger-head {
    display: none;
  }

  .edition-proof-row,
  .fit-row {
    min-height: 0;
    padding: 18px;
  }

  .automation-stack {
    padding: 12px;
  }

  .adjacent-fit,
  .fit-map-panel,
  .fit-map-rows article,
  .artifact-pipeline ol,
  .artifact-chain ol,
  .artifact-recovery-strip,
  .access-grant-grid,
  .access-rail-list article {
    grid-template-columns: 1fr;
  }

  .fit-map-rows {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .fit-map-primary strong {
    max-width: 24ch;
  }

  .fit-map-rows article {
    gap: 7px;
    min-height: 0;
    padding: 18px;
  }

  .stack-layer {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px 12px;
    min-height: 0;
    padding: 14px;
  }

  .stack-layer small {
    grid-column: 2;
    justify-self: start;
  }

  .fit-row strong {
    font-size: 1.02rem;
  }

  .home-proof-list li {
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
  }

  .home-proof-list strong,
  .home-proof-list span {
    grid-column: 2;
  }

  .home-product-proof .shot-crop,
  .home-history-proof .shot-crop {
    aspect-ratio: 1.7;
  }

  .home-product-proof img,
  .home-history-proof img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    transform: none;
  }

  .artifact-chrome,
  .artifact-title-row,
  .artifact-detail-grid,
  .artifact-facts,
  .history-toolbar,
  .history-row {
    grid-template-columns: 1fr;
  }

  .artifact-recovery-strip div + div,
  .artifact-chain li + li,
  .access-grant-grid div:nth-child(2n) {
    border-left: 0;
  }

  .artifact-recovery-strip div + div,
  .artifact-chain li + li,
  .access-grant-grid div {
    border-top: 1px solid var(--line-soft);
  }

  .artifact-recovery-strip div:first-child,
  .artifact-chain li:first-child,
  .access-grant-grid div:first-child {
    border-top: 0;
  }

  .access-rail-list article {
    align-items: start;
  }

  .artifact-chrome em,
  .artifact-title-row mark {
    justify-self: start;
  }

  .artifact-facts div:nth-child(-n + 2) {
    border-top: 1px solid var(--line-soft);
  }

  .artifact-facts div:first-child {
    border-top: 0;
  }

  .artifact-facts dd,
  .artifact-mini-facts dd {
    text-align: left;
  }

  .history-toolbar span:not(:first-child),
  .history-head {
    display: none;
  }

  .history-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .history-row span {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }

  .history-row span::before {
    display: block;
    color: var(--muted);
    font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .operator-surface-grid {
    grid-template-columns: 1fr;
  }

  .operator-access-model .operator-surface-grid {
    grid-template-columns: 1fr;
  }

  .operator-access-model .operator-surface-grid div,
  .operator-access-model .operator-surface-grid div:nth-child(2n),
  .operator-access-model .operator-surface-grid div:nth-child(n + 3) {
    border-top: 0;
    border-left: 0;
  }

  .operator-surface-grid div + div {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .operator-access-model .operator-surface-grid div + div {
    border-top: 1px solid var(--line-soft);
  }
}

/* Shopify Flow edition page */

.shopify-edition-hero,
.shopify-setup-section,
.shopify-receipt-section,
.shopify-trigger-section,
.shopify-next-step {
  max-width: 1360px;
  margin: 0 auto;
  padding-right: clamp(20px, 4.8vw, 64px);
  padding-left: clamp(20px, 4.8vw, 64px);
}

.shopify-edition-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.84fr) minmax(360px, 0.56fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
  padding-top: clamp(70px, 10vh, 118px);
  padding-bottom: clamp(46px, 7vh, 72px);
  background:
    radial-gradient(circle at 80% 14%, oklch(93.87% 0.0229 128.73 / 0.44), transparent 30%),
    linear-gradient(180deg, var(--canvas), oklch(98.51% 0.0042 197.09 / 0.58));
  border-bottom: 1px solid var(--line-soft);
}

.shopify-edition-copy h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 5vw, 5.45rem);
  letter-spacing: 0;
}

.shopify-edition-copy > p:not(.section-label) {
  max-width: 66ch;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.62;
}

.shopify-handoff-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-proof);
  overflow: hidden;
}

.shopify-handoff-card header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  background: oklch(96.4% 0.006 218);
  border-bottom: 1px solid var(--line-soft);
}

.shopify-handoff-card header strong,
.shopify-handoff-card header span,
.shopify-handoff-card li span,
.shopify-proof-strip strong,
.shopify-setup-steps span,
.shopify-receipt-facts span,
.shopify-recovery-row span,
.shopify-proof-list span,
.shopify-trigger-grid span {
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.shopify-handoff-card header strong {
  color: var(--teal-deep);
  font-size: 0.78rem;
}

.shopify-handoff-card header span {
  color: var(--muted);
  font-size: 0.72rem;
}

.shopify-handoff-card ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shopify-handoff-card li {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 86px;
  padding: 18px 18px 18px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.shopify-handoff-card li::after {
  position: absolute;
  bottom: -7px;
  left: 37px;
  z-index: 1;
  width: 12px;
  height: 12px;
  background: var(--paper);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  content: "";
  transform: rotate(45deg);
}

.shopify-handoff-card li:last-child::after {
  display: none;
}

.shopify-handoff-card li.is-relay {
  background: oklch(97.2% 0.006 218);
}

.shopify-handoff-card li.is-delivered {
  background: oklch(93.9% 0.047 156 / 0.45);
}

.shopify-handoff-card li span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.shopify-handoff-card li strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.28;
}

.shopify-handoff-card .is-delivered span,
.shopify-handoff-card .is-delivered strong {
  color: var(--teal-deep);
}

.handoff-icon {
  display: block;
  width: 30px;
  height: 30px;
  color: var(--teal-deep);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.shopify-handoff-card > p {
  margin: 0;
  padding: 14px 18px 16px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.shopify-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1232px;
  margin: clamp(24px, 4vh, 38px) auto 0;
  background: var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.shopify-proof-strip div {
  min-height: 126px;
  padding: 22px clamp(18px, 2.6vw, 28px);
  border-right: 1px solid oklch(74% 0.012 190 / 0.24);
}

.shopify-proof-strip div:last-child {
  border-right: 0;
}

.shopify-proof-strip strong {
  display: block;
  margin-bottom: 9px;
  color: var(--paper-soft);
  font-size: 0.78rem;
}

.shopify-proof-strip span {
  color: oklch(90% 0.008 164);
  font-size: 0.92rem;
  line-height: 1.46;
}

.shopify-setup-section,
.shopify-receipt-section,
.shopify-trigger-section {
  padding-top: clamp(76px, 10vh, 118px);
  padding-bottom: clamp(76px, 10vh, 118px);
}

.shopify-setup-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.58fr) minmax(560px, 0.92fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: start;
}

.shopify-section-copy h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4vw, 4.15rem);
  letter-spacing: 0;
}

.shopify-section-copy > p:not(.section-label) {
  max-width: 66ch;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.66;
}

.shopify-setup-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shopify-setup-steps li,
.shopify-trigger-grid div {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  box-shadow: 0 12px 30px oklch(27.04% 0.051 228.08 / 0.045);
}

.shopify-setup-steps li {
  display: grid;
  gap: 9px;
  min-height: 174px;
  padding: 22px;
}

.shopify-setup-steps span {
  color: var(--teal-deep);
  font-size: 0.76rem;
}

.shopify-setup-steps strong {
  max-width: 20ch;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.22;
}

.shopify-setup-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.5;
}

.shopify-receipt-section {
  display: grid;
  grid-template-columns: minmax(560px, 0.95fr) minmax(320px, 0.6fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), var(--line-soft) calc(50% - 1px), var(--line-soft) calc(50% + 1px), transparent calc(50% + 1px));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.shopify-receipt-artifact {
  align-self: start;
}

.shopify-receipt-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: oklch(97.2% 0.006 218);
}

.shopify-receipt-facts div {
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 14px 16px;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}

.shopify-receipt-facts div:nth-child(2n) {
  border-left: 1px solid var(--line-soft);
}

.shopify-receipt-facts span,
.shopify-recovery-row span,
.shopify-proof-list span,
.shopify-trigger-grid span {
  color: var(--muted);
  font-size: 0.72rem;
}

.shopify-receipt-facts strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.3;
}

.shopify-receipt-facts .good {
  color: var(--teal-deep);
}

.shopify-recovery-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: oklch(97.2% 0.006 218);
  border-top: 1px solid var(--line-soft);
}

.shopify-recovery-row div {
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 16px 18px;
  background: var(--paper);
}

.shopify-recovery-row div + div {
  border-left: 1px solid var(--line-soft);
}

.shopify-recovery-row span {
  color: var(--teal-deep);
}

.shopify-recovery-row strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.shopify-recovery-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.42;
}

.shopify-proof-list {
  display: grid;
  margin: clamp(24px, 4vh, 34px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.shopify-proof-list li {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.shopify-proof-list span {
  color: var(--teal-deep);
}

.shopify-proof-list strong {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.45;
}

.shopify-trigger-section {
  display: grid;
  gap: clamp(34px, 6vh, 56px);
}

.shopify-trigger-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.shopify-trigger-grid div {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 170px;
  padding: 18px;
}

.shopify-trigger-grid span {
  color: var(--teal-deep);
  line-height: 1.2;
}

.shopify-trigger-grid strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.24;
}

.shopify-trigger-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.shopify-next-step {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding-top: clamp(54px, 7vh, 82px);
  padding-bottom: clamp(54px, 7vh, 82px);
  background: linear-gradient(90deg, oklch(98.85% 0.0057 84.57), oklch(97.4% 0.006 218));
  border-top: 1px solid var(--line-soft);
}

.shopify-next-step h2 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(2.15rem, 3.6vw, 3.55rem);
  letter-spacing: 0;
}

.shopify-next-step p {
  max-width: 66ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.64;
}

.shopify-next-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 12px;
}

@media (max-width: 1120px) {
  .shopify-edition-hero,
  .shopify-setup-section,
  .shopify-receipt-section,
  .shopify-next-step {
    grid-template-columns: 1fr;
  }

  .shopify-receipt-section {
    background: none;
  }

  .shopify-edition-copy,
  .shopify-section-copy {
    max-width: 820px;
  }

  .shopify-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: calc(100% - 40px);
  }

  .shopify-proof-strip div:nth-child(2n) {
    border-right: 0;
  }

  .shopify-proof-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid oklch(74% 0.012 190 / 0.24);
  }

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

  .shopify-next-actions {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .shopify-edition-hero,
  .shopify-setup-section,
  .shopify-receipt-section,
  .shopify-trigger-section,
  .shopify-next-step {
    padding-right: 18px;
    padding-left: 18px;
  }

  .shopify-edition-hero {
    padding-top: 58px;
  }

  .shopify-edition-copy h1 {
    font-size: clamp(2.45rem, 11vw, 3.1rem);
  }

  .shopify-handoff-card header,
  .shopify-proof-list li,
  .shopify-receipt-facts,
  .shopify-recovery-row,
  .shopify-setup-steps,
  .shopify-trigger-grid,
  .shopify-proof-strip {
    grid-template-columns: 1fr;
  }

  .shopify-handoff-card header span {
    justify-self: start;
  }

  .shopify-proof-strip {
    max-width: calc(100% - 36px);
  }

  .shopify-proof-strip div,
  .shopify-proof-strip div:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid oklch(74% 0.012 190 / 0.24);
  }

  .shopify-proof-strip div:last-child {
    border-bottom: 0;
  }

  .shopify-setup-steps li,
  .shopify-trigger-grid div {
    min-height: 0;
  }

  .shopify-receipt-facts div:nth-child(2n),
  .shopify-recovery-row div + div {
    border-left: 0;
  }

  .shopify-recovery-row div + div {
    border-top: 1px solid var(--line-soft);
  }

  .shopify-proof-list li {
    gap: 6px;
  }

  .shopify-next-actions {
    display: grid;
    justify-content: stretch;
  }
}

/* Pricing page */

.pricing-hero,
.pricing-plan-section,
.pricing-limits-section,
.pricing-faq,
.pricing-next-step {
  max-width: 1360px;
  margin: 0 auto;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 380px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding: clamp(36px, 6vh, 58px) clamp(20px, 5vw, 72px) clamp(32px, 5vh, 48px);
  background:
    radial-gradient(circle at 78% 22%, oklch(93.87% 0.0229 128.73 / 0.58), transparent 36%),
    linear-gradient(180deg, var(--canvas), oklch(98.51% 0.0042 197.09));
  border-bottom: 1px solid var(--line-soft);
}

.pricing-hero-copy h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 4.35vw, 4.05rem);
  letter-spacing: 0;
}

.pricing-hero-copy .intro {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.6;
}

.pricing-hero-aside {
  display: grid;
  gap: 7px;
  padding: 18px 20px;
  background: oklch(98.8% 0.004 160);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.pricing-hero-aside strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.3;
}

.pricing-hero-aside span {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.pricing-plan-card header span,
.pricing-limit-table caption {
  color: var(--teal-deep);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
}

.pricing-plan-outcome,
.pricing-plan-best,
.pricing-limit-note,
.pricing-faq p,
.pricing-next-step p {
  color: var(--ink-soft);
}

.pricing-plan-section,
.pricing-limits-section,
.pricing-faq {
  padding: clamp(42px, 7vh, 72px) clamp(20px, 5vw, 72px);
}

.pricing-limits-section {
  padding-top: clamp(28px, 5vh, 52px);
}

.pricing-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}

.pricing-section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: 0;
}

.pricing-section-heading p:last-child {
  max-width: 50ch;
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.56;
}

.pricing-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px oklch(27.04% 0.051 228.08 / 0.06);
}

.pricing-billing-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pricing-billing-toggle label {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 5px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 850;
}

.pricing-billing-toggle label span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
}

.pricing-billing-input:focus-visible + label {
  outline: 2px solid var(--teal-deep);
  outline-offset: 2px;
}

#pricing-billing-monthly:checked + label,
#pricing-billing-annual:checked + label {
  background: var(--teal-deep);
  color: var(--paper);
}

#pricing-billing-annual:checked + label span {
  color: oklch(91% 0.01 160);
}

.pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pricing-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 458px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.pricing-plan-card header {
  min-height: 62px;
}

.pricing-plan-card.featured {
  background:
    linear-gradient(180deg, oklch(98.8% 0.005 160), oklch(96.6% 0.012 150));
  border-color: oklch(71% 0.07 146);
}

.pricing-plan-card h2 {
  margin: 7px 0 14px;
  font-size: 1.45rem;
  letter-spacing: 0;
}

.pricing-plan-card header strong {
  position: absolute;
  top: 0;
  left: 50%;
  display: inline-flex;
  width: max-content;
  padding: 4px 7px;
  background: oklch(93.4% 0.025 150);
  border: 1px solid oklch(75% 0.06 146);
  border-radius: 4px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
  transform: translate(-50%, -50%);
}

.pricing-plan-price {
  margin: 0;
  color: var(--teal-deep);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.pricing-plan-price span {
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 800;
}

.pricing-price-annual,
.pricing-note-annual,
.pricing-plan-section:has(#pricing-billing-annual:checked) .pricing-price-monthly,
.pricing-plan-section:has(#pricing-billing-annual:checked) .pricing-note-monthly {
  display: none;
}

.pricing-plan-section:has(#pricing-billing-annual:checked) .pricing-price-annual,
.pricing-plan-section:has(#pricing-billing-annual:checked) .pricing-note-annual {
  display: block;
}

.pricing-plan-annual {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
}

.pricing-plan-outcome {
  margin: 0 0 12px;
  font-size: 0.98rem;
  line-height: 1.58;
}

.pricing-plan-best {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 820;
}

.pricing-plan-includes {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}

.pricing-plan-includes li {
  display: grid;
  gap: 2px;
}

.pricing-plan-includes strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 880;
}

.pricing-plan-includes span {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.pricing-plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  align-self: end;
  width: 100%;
  margin-top: 18px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--teal-deep);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.pricing-plan-card.featured .pricing-plan-cta {
  background: var(--teal-deep);
  border-color: oklch(20% 0.04 228);
  color: var(--paper);
  box-shadow: 0 12px 28px oklch(27.04% 0.051 228.08 / 0.13);
}

.pricing-plan-footnote {
  max-width: 72ch;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.pricing-limits-toggle-input,
.pricing-limits-toggle {
  display: none;
}

.pricing-table-wrap {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.pricing-limit-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.pricing-limit-table caption {
  padding: 16px 18px;
  text-align: left;
}

.pricing-limit-table th,
.pricing-limit-table td {
  padding: 15px 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-align: left;
  vertical-align: top;
}

.pricing-limit-table thead th {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.pricing-limit-table tbody th {
  color: var(--ink);
  font-weight: 880;
}

.pricing-limit-table tbody tr:nth-child(2n) {
  background: oklch(98.3% 0.006 168);
}

.pricing-limit-note {
  max-width: 62ch;
  margin: 16px 0 0;
  font-size: 0.94rem;
  line-height: 1.58;
}

.pricing-faq {
  padding-top: clamp(24px, 5vh, 44px);
}

.pricing-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
  border-top: 1px solid var(--line);
}

.pricing-faq-list article {
  max-width: 58ch;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}

.pricing-faq-list h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.pricing-faq-list p {
  margin-bottom: 0;
  line-height: 1.6;
}

.pricing-next-step {
  display: grid;
  grid-template-columns: minmax(0, 680px) auto;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(38px, 6vh, 64px) clamp(20px, 5vw, 72px);
  background: linear-gradient(90deg, oklch(98.85% 0.0057 84.57), oklch(97.4% 0.006 218));
  border-top: 1px solid var(--line-soft);
}

.pricing-next-step h2 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: 0;
}

.pricing-next-step p {
  max-width: 58ch;
  margin-bottom: 0;
  font-size: 1.04rem;
  line-height: 1.64;
}

.pricing-next-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 12px;
}

@media (max-width: 1180px) {
  .pricing-hero,
  .pricing-section-heading,
  .pricing-next-step {
    grid-template-columns: 1fr;
  }

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

  .pricing-plan-card {
    min-height: 0;
  }

  .pricing-next-actions {
    justify-content: start;
  }
}

@media (max-width: 820px) {
  .pricing-hero,
  .pricing-plan-section,
  .pricing-limits-section,
  .pricing-faq,
  .pricing-next-step {
    padding-right: 18px;
    padding-left: 18px;
  }

  .pricing-hero {
    padding-top: 34px;
  }

  .pricing-hero-copy h1 {
    font-size: 2.65rem;
  }

  .pricing-section-heading h2,
  .pricing-next-step h2 {
    font-size: 2.15rem;
  }

  .pricing-plan-grid,
  .pricing-faq-list {
    grid-template-columns: 1fr;
  }

  .pricing-billing-toggle {
    justify-self: start;
    width: 100%;
  }

  .pricing-billing-toggle label {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .pricing-limits-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .pricing-limits-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 18px 0 0;
    padding: 10px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--teal-deep);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 850;
  }

  .pricing-limits-toggle-input:focus-visible + .pricing-limits-toggle {
    outline: 2px solid var(--teal-deep);
    outline-offset: 2px;
  }

  .pricing-limits-toggle::after {
    margin-left: 8px;
    content: "+";
  }

  .pricing-limits-toggle-input:checked + .pricing-limits-toggle::after {
    content: "-";
  }

  .pricing-limits-body {
    display: none;
  }

  .pricing-limits-toggle-input:checked + .pricing-limits-toggle + .pricing-limits-body {
    display: block;
  }

  .pricing-table-wrap {
    overflow-x: visible;
  }

  .pricing-limit-table {
    min-width: 0;
  }

  .pricing-limit-table thead {
    display: none;
  }

  .pricing-limit-table,
  .pricing-limit-table tbody,
  .pricing-limit-table tr,
  .pricing-limit-table th,
  .pricing-limit-table td {
    display: block;
    width: 100%;
  }

  .pricing-limit-table tbody {
    display: grid;
    gap: 12px;
    padding: 0 12px 12px;
  }

  .pricing-limit-table tbody tr,
  .pricing-limit-table tbody tr:nth-child(2n) {
    display: grid;
    background: oklch(98.8% 0.004 160);
    border: 1px solid var(--line-soft);
    border-radius: 6px;
    overflow: hidden;
  }

  .pricing-limit-table tbody th,
  .pricing-limit-table tbody td {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: baseline;
    padding: 11px 12px;
    border-top: 1px solid var(--line-soft);
  }

  .pricing-limit-table tbody th {
    background: oklch(95.7% 0.018 150);
    border-top: 0;
  }

  .pricing-limit-table tbody th::before,
  .pricing-limit-table tbody td::before {
    color: var(--muted);
    content: attr(data-label);
    font-weight: 850;
  }

  .pricing-next-actions {
    display: grid;
    justify-content: stretch;
  }
}

/* Support page */

.support-hero,
.support-route-section,
.support-diagnostics-section,
.support-scope-section,
.support-partner-section,
.support-next-step {
  max-width: 1360px;
  margin: 0 auto;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(280px, 380px);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  padding: clamp(42px, 7vh, 72px) clamp(20px, 5vw, 72px) clamp(34px, 5vh, 54px);
  background: oklch(98.85% 0.0057 84.57);
  border-bottom: 1px solid var(--line-soft);
}

.support-hero-copy h1 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(2.5rem, 4vw, 3.9rem);
  letter-spacing: 0;
}

.support-hero-copy .intro {
  max-width: 64ch;
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.62;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.support-status-panel {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  background: oklch(96.6% 0.014 150);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.support-status-panel span,
.support-route-grid span,
.support-facts-table span,
.support-scope-grid span,
.support-partner-rules span,
.support-status-pill {
  color: var(--teal-deep);
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.support-facts-table span,
.support-scope-grid span {
  padding-top: 0.12rem;
}

.support-partner-rules span {
  padding-top: 0.19rem;
}

.support-status-panel strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.3;
}

.support-status-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.support-route-section,
.support-diagnostics-section,
.support-scope-section,
.support-partner-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(560px, 0.9fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
  padding: clamp(48px, 8vh, 78px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line-soft);
}

.support-partner-section {
  grid-template-columns: minmax(260px, 0.55fr) minmax(520px, 0.85fr);
}

.support-scope-section {
  background: oklch(98.1% 0.007 170);
}

.support-section-copy h2,
.support-partner-copy h2,
.support-next-step h2 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.45vw, 3.05rem);
  letter-spacing: 0;
}

.support-section-copy p:not(.section-label),
.support-partner-copy p,
.support-next-step p {
  max-width: 64ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.64;
}

.support-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 14px;
}

.support-route-grid article {
  display: grid;
  gap: 10px;
  min-height: 220px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.support-route-grid h3 {
  margin: 0;
  font-size: 1.12rem;
}

.support-route-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.56;
}

.support-route-grid a,
.support-facts-table a {
  color: var(--teal-deep);
  font-weight: 850;
  text-underline-offset: 3px;
}

.support-facts-table,
.support-scope-grid {
  display: grid;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.support-facts-table div,
.support-scope-grid div {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.support-scope-grid div {
  grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
}

.support-facts-table div:last-child,
.support-scope-grid div:last-child {
  border-bottom: 0;
}

.support-facts-table div:last-child {
  background: oklch(97% 0.014 28);
}

.support-facts-table div:last-child span {
  color: oklch(48% 0.14 28);
}

.support-facts-table strong,
.support-scope-grid strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.45;
}

.support-facts-table p,
.support-scope-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.support-partner-rules {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.support-partner-rules li {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}

.support-partner-rules strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.58;
}

.support-next-step {
  display: grid;
  grid-template-columns: minmax(0, 700px) auto;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(42px, 7vh, 68px) clamp(20px, 5vw, 72px);
  background: oklch(97.4% 0.006 218);
}

.support-next-step h2 {
  margin-bottom: 10px;
}

.support-next-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 12px;
}

@media (max-width: 1120px) {
  .support-hero,
  .support-route-section,
  .support-diagnostics-section,
  .support-scope-section,
  .support-partner-section,
  .support-next-step {
    grid-template-columns: 1fr;
  }

  .support-next-actions {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .support-hero,
  .support-route-section,
  .support-diagnostics-section,
  .support-scope-section,
  .support-partner-section,
  .support-next-step {
    padding-right: 18px;
    padding-left: 18px;
  }

  .support-hero {
    padding-top: 34px;
  }

  .support-hero-copy h1 {
    font-size: 2.65rem;
  }

  .support-section-copy h2,
  .support-partner-copy h2,
  .support-next-step h2 {
    font-size: 2.12rem;
  }

  .support-actions,
  .support-next-actions {
    display: grid;
    justify-content: stretch;
  }

  .support-status-panel,
  .support-route-grid article,
  .support-facts-table,
  .support-scope-grid {
    border-radius: 6px;
  }

  .support-route-grid {
    grid-template-columns: 1fr;
  }

  .support-facts-table div,
  .support-scope-grid div,
  .support-partner-rules li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Public docs scaffold: neutral structure baseline before FlowRelay visual tuning. */
.docs-body {
  --docs-bg: oklch(98.85% 0.0057 84.57);
  --docs-paper: oklch(99.35% 0.0038 130);
  --docs-surface: oklch(97.2% 0.007 170);
  --docs-surface-soft: oklch(98.15% 0.0052 154);
  --docs-surface-warm: oklch(96.7% 0.018 93);
  --docs-text: oklch(25.8% 0.042 225);
  --docs-muted: oklch(43% 0.024 225);
  --docs-subtle: oklch(54% 0.018 220);
  --docs-line: oklch(89.2% 0.013 170);
  --docs-line-strong: oklch(82.4% 0.022 174);
  --docs-link: oklch(41.5% 0.085 196);
  --docs-link-hover: oklch(32% 0.075 207);
  --docs-accent: oklch(49% 0.095 184);
  --docs-accent-soft: oklch(93.8% 0.03 178);
  --docs-success-soft: oklch(94.2% 0.04 148);
  --docs-focus: oklch(57% 0.104 82);
  --docs-shadow: 0 14px 38px oklch(27.04% 0.051 228.08 / 0.08);
  margin: 0;
  background: var(--docs-bg);
  color: var(--docs-text);
  font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
}

.docs-body h1,
.docs-body h2,
.docs-body h3,
.docs-body p {
  margin-top: 0;
}

.docs-body h1,
.docs-body h2,
.docs-body h3 {
  color: var(--docs-text);
  font-weight: 700;
  letter-spacing: 0;
}

.docs-body h1 {
  max-width: none;
  margin-bottom: 10px;
  font-size: 2.1rem;
  line-height: 1.12;
}

.docs-body h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.18;
}

.docs-body h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.docs-body p {
  color: var(--docs-muted);
}

.docs-body a {
  color: inherit;
}

.docs-body :focus-visible {
  outline: 2px solid var(--docs-focus);
  outline-offset: 2px;
}

.docs-shell-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: oklch(99.2% 0.004 132 / 0.96);
  border-bottom: 1px solid var(--docs-line);
  backdrop-filter: blur(10px);
}

.docs-topbar {
  display: grid;
  grid-template-columns: auto auto minmax(280px, 448px) minmax(170px, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 24px;
}

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

.docs-brand-mark {
  display: block;
  width: 26px;
  height: auto;
  flex: 0 0 auto;
  --mark-field: var(--docs-paper);
}

.docs-brand strong {
  font-size: 1rem;
  line-height: 1;
}

.docs-brand span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 6px 2px;
  border: 1px solid var(--docs-line-strong);
  border-radius: 4px;
  background: var(--docs-surface-soft);
  color: var(--docs-muted);
  font-size: 0.78rem;
  line-height: 1;
}

.docs-edition-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: max-content;
  padding: 0 10px;
  border: 1px solid oklch(82% 0.04 178);
  border-radius: 999px;
  background: var(--docs-accent-soft);
  color: var(--docs-link-hover);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.docs-search-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--docs-line-strong);
  border-radius: 7px;
  background: var(--docs-paper);
  color: var(--docs-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 0 oklch(100% 0 0 / 0.8) inset;
}

.docs-search-button > span,
.docs-search-input-row > span {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1.8px solid currentColor;
  border-radius: 999px;
  color: var(--docs-subtle);
  font-size: 0;
}

.docs-search-button > span::after,
.docs-search-input-row > span::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 6px;
  height: 1.8px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.docs-search-button strong {
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-search-button kbd {
  min-width: 24px;
  padding: 1px 7px;
  border: 1px solid var(--docs-line-strong);
  border-radius: 5px;
  background: var(--docs-surface-soft);
  color: var(--docs-subtle);
  font: 0.82rem ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
}

.docs-search-button:hover,
.docs-ai-button:hover {
  border-color: oklch(77% 0.035 178);
  background: var(--docs-surface-soft);
  color: var(--docs-link-hover);
}

.docs-ai-button {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--docs-line-strong);
  border-radius: 7px;
  background: var(--docs-paper);
  color: var(--docs-text);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.docs-top-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
  min-width: 0;
}

.docs-website-link,
.docs-start-link {
  color: var(--docs-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.docs-website-link:hover,
.docs-start-link:hover {
  color: var(--docs-link-hover);
}

.docs-mobile-nav {
  display: none;
}

.docs-page-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 80vh;
}

.docs-sidebar {
  position: sticky;
  top: 57px;
  align-self: start;
  height: calc(100vh - 57px);
  overflow: auto;
  padding: 24px 16px 40px;
  border-right: 1px solid var(--docs-line);
  background: var(--docs-paper);
}

.docs-nav-group {
  margin-bottom: 24px;
}

.docs-nav-group h2 {
  margin: 0 8px 10px;
  color: var(--docs-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.docs-nav-group ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-nav-group a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 6px;
  color: var(--docs-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.docs-nav-group a:hover {
  background: var(--docs-surface-soft);
  color: var(--docs-link-hover);
  text-decoration: none;
}

.docs-nav-group a[aria-current="page"] {
  background: var(--docs-accent-soft);
  color: var(--docs-link-hover);
  font-weight: 650;
  text-decoration: none;
}

.docs-nav-group a b {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--docs-accent-soft);
  color: var(--docs-subtle);
  font-size: 0.72rem;
  opacity: 0;
}

.docs-nav-group a:hover b,
.docs-nav-group a[aria-current="page"] b {
  color: var(--docs-link-hover);
  opacity: 1;
}

.docs-nav-separator {
  height: 1px;
  margin: 8px;
  background: var(--docs-line);
}

.docs-content {
  width: 100%;
  padding: 74px clamp(24px, 5vw, 68px) 80px;
  background: var(--docs-bg);
}

.docs-content-hub {
  max-width: 1060px;
}

.docs-hub-hero {
  max-width: 760px;
  margin-bottom: 56px;
}

.docs-edition-eyebrow {
  margin-bottom: 10px;
  color: var(--docs-link-hover);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.docs-hub-hero p,
.docs-article-header > p:last-child {
  max-width: 68ch;
  font-size: 1.05rem;
}

.docs-lane-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 30px;
  margin-bottom: 64px;
}

.docs-lane-card {
  min-width: 0;
  padding-bottom: 2px;
}

.docs-lane-card h2 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.docs-lane-card p {
  min-height: 52px;
  margin-bottom: 16px;
  color: var(--docs-muted);
  font-size: 0.95rem;
}

.docs-lane-card div:last-child {
  display: flex;
}

.docs-lane-card a,
.docs-link-card strong,
.docs-related-links a {
  color: var(--docs-link);
  font-weight: 650;
  text-decoration: none;
}

.docs-lane-card a:hover,
.docs-link-card:hover strong,
.docs-related-links a:hover,
.docs-sequence-link:hover strong {
  color: var(--docs-link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-lane-diagram {
  position: relative;
  height: 164px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--docs-line);
  border-radius: 7px;
  background: linear-gradient(180deg, var(--docs-paper), var(--docs-surface-soft));
}

.docs-lane-diagram ol {
  position: absolute;
  inset: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  height: calc(100% - 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-lane-diagram li {
  position: relative;
  display: flex;
  align-items: center;
}

.docs-lane-diagram li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% - 2px);
  right: -14px;
  top: 50%;
  height: 1px;
  background: oklch(78% 0.026 184);
}

.docs-lane-diagram span {
  display: inline-flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--docs-line);
  border-radius: 6px;
  background: var(--docs-paper);
  color: var(--docs-text);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 3px 12px oklch(27.04% 0.051 228.08 / 0.05);
}

.docs-hub-section {
  margin-top: 48px;
}

.docs-hub-section > h2 {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

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

.docs-link-card {
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding: 16px;
  border: 1px solid var(--docs-line);
  border-radius: 7px;
  background: var(--docs-paper);
  text-decoration: none;
}

.docs-link-card:hover {
  border-color: var(--docs-line-strong);
  box-shadow: 0 10px 24px oklch(27.04% 0.051 228.08 / 0.055);
}

.docs-link-card em {
  max-width: 68ch;
  color: var(--docs-muted);
  font-size: 0.92rem;
  font-style: normal;
}

.docs-sequence-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--docs-line);
  border-radius: 7px;
  background: var(--docs-paper);
  box-shadow: 0 1px 0 oklch(100% 0 0 / 0.82) inset;
}

.docs-sequence-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 14px;
  min-height: 76px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--docs-line);
  color: var(--docs-text);
  text-decoration: none;
}

.docs-sequence-link:hover {
  background: var(--docs-surface-soft);
}

.docs-sequence-link:last-child {
  border-bottom: 0;
}

.docs-sequence-link > span {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--docs-link-hover);
  font: 700 0.78rem ui-monospace, SFMono-Regular, Menlo, monospace;
}

.docs-sequence-link strong {
  color: var(--docs-link);
}

.docs-sequence-link em {
  max-width: 68ch;
  color: var(--docs-muted);
  font-size: 0.92rem;
  font-style: normal;
}

.docs-content-article {
  display: grid;
  grid-template-columns: minmax(0, 760px) 220px;
  gap: 72px;
  max-width: 1050px;
}

.docs-content-reference {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(260px, 360px);
  gap: 48px;
  max-width: 1100px;
  padding-left: 48px;
}

.docs-article-header {
  padding-bottom: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--docs-line);
}

.docs-article-header > p:first-child {
  margin-bottom: 8px;
  color: var(--docs-link-hover);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.docs-article-header > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 20px;
}

.docs-article-toolbar {
  display: flex;
  align-items: center;
  justify-content: end;
}

.docs-article-toolbar a {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid var(--docs-line-strong);
  border-radius: 6px;
  background: var(--docs-paper);
  color: var(--docs-text);
  font: inherit;
  font-size: 0.88rem;
  text-decoration: none;
}

.docs-skip-card,
.docs-callout {
  display: grid;
  gap: 4px;
  margin: 22px 0 34px;
  padding: 16px 18px;
  border: 1px solid var(--docs-line-strong);
  border-radius: 6px;
  background: var(--docs-surface-soft);
  text-decoration: none;
}

.docs-skip-card:hover {
  border-color: oklch(74% 0.04 182);
  background: var(--docs-accent-soft);
}

.docs-callout {
  background: var(--docs-surface-warm);
  border-color: oklch(82% 0.035 92);
}

.docs-skip-card span,
.docs-callout p {
  margin: 0;
  color: var(--docs-muted);
}

.docs-step-section,
.docs-article-section,
.docs-reference-section {
  margin-top: 34px;
}

.docs-step-section ol {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.docs-step-section > p {
  margin: 2px 0 0;
  color: var(--docs-muted);
  font-size: 0.9rem;
}

.docs-step-section li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 12px 0;
  border-bottom: 1px solid var(--docs-line);
}

.docs-step-section li span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  min-height: 24px;
  border: 1px solid var(--docs-line);
  border-radius: 5px;
  background: var(--docs-surface-soft);
  color: var(--docs-link-hover);
  font: 700 0.78rem ui-monospace, SFMono-Regular, Menlo, monospace;
}

.docs-step-section li strong {
  color: var(--docs-text);
  font-size: 0.95rem;
  font-weight: 620;
  line-height: 1.5;
}

.docs-article-section h2,
.docs-reference-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-article-section h2 a,
.docs-reference-section h2 a {
  color: var(--docs-subtle);
  font-size: 0.9rem;
  opacity: 0;
  text-decoration: none;
}

.docs-article-section h2:hover a,
.docs-reference-section h2:hover a {
  opacity: 1;
}

.docs-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--docs-line);
}

.docs-toc,
.docs-code-rail {
  position: sticky;
  top: 128px;
  align-self: start;
}

.docs-toc {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid var(--docs-line);
}

.docs-toc a {
  color: var(--docs-muted);
  font-size: 0.84rem;
  text-decoration: none;
}

.docs-toc a:hover {
  color: var(--docs-link-hover);
}

.docs-article-section ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--docs-muted);
  line-height: 1.58;
}

.docs-article-section table,
.docs-reference-section table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--docs-line);
  border-radius: 7px;
  font-size: 0.9rem;
}

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

.docs-article-section th,
.docs-reference-section th {
  background: var(--docs-surface);
  color: var(--docs-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.docs-article-section tr:last-child td,
.docs-reference-section tr:last-child td {
  border-bottom: 0;
}

.docs-markdown-view pre {
  max-width: 100%;
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--docs-line);
  border-radius: 7px;
  background: var(--docs-paper);
  color: var(--docs-text);
  font: 0.86rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.docs-code-rail div {
  overflow: hidden;
  border: 1px solid var(--docs-line);
  border-radius: 7px;
  background: var(--docs-paper);
}

.docs-code-rail div > span {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid var(--docs-line);
  color: var(--docs-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.docs-code-rail code {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  color: var(--docs-link-hover);
  font: 0.86rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.docs-code-rail code span {
  display: block;
}

.docs-code-rail p {
  margin-top: 12px;
  font-size: 0.84rem;
}

.docs-footer {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 28px;
  padding: 42px 24px;
  border-top: 1px solid var(--docs-line);
  background: oklch(96.8% 0.008 170);
}

.docs-footer p {
  max-width: 420px;
  margin: 6px 0 0;
  font-size: 0.9rem;
}

.docs-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 18px;
}

.docs-footer a {
  color: var(--docs-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.docs-footer a:hover {
  color: var(--docs-link-hover);
}

.docs-search-modal[hidden] {
  display: none;
}

.docs-search-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 50px 18px;
  background: oklch(22% 0.025 224 / 0.36);
  backdrop-filter: blur(5px);
}

.docs-search-panel {
  display: grid;
  grid-template-rows: auto auto minmax(220px, 1fr) auto;
  width: min(720px, 100%);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  background: var(--docs-paper);
  box-shadow: 0 26px 80px oklch(20% 0.035 224 / 0.18);
}

.docs-search-input-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 10px;
}

.docs-search-input-row input {
  width: 100%;
  border: 0;
  color: var(--docs-text);
  font: inherit;
  font-size: 1rem;
  outline: 0;
}

.docs-search-input-row button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: var(--docs-surface);
  color: var(--docs-muted);
  font: inherit;
  cursor: pointer;
}

.docs-search-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 20px 14px;
}

.docs-search-filters button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--docs-line);
  border-radius: 999px;
  background: var(--docs-paper);
  color: var(--docs-muted);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.docs-search-filters button[aria-pressed="true"] {
  border-color: var(--docs-line-strong);
  background: var(--docs-surface);
  color: var(--docs-text);
}

.docs-search-results {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 10px 12px;
}

.docs-search-results a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 7px;
  text-decoration: none;
}

.docs-search-results a:hover {
  background: var(--docs-surface-soft);
}

.docs-search-results a span,
.docs-search-results p {
  color: var(--docs-muted);
  font-size: 0.86rem;
}

.docs-search-powered {
  margin: 0;
  padding: 12px 20px 16px;
  color: var(--docs-subtle);
  font-size: 0.82rem;
}

@media (max-width: 1180px) {
  .docs-content-reference {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
    padding-left: clamp(24px, 5vw, 68px);
  }

  .docs-code-rail {
    position: static;
    grid-column: auto;
  }
}

@media (max-width: 980px) {
  .docs-topbar {
    grid-template-columns: 1fr auto auto auto;
  }

  .docs-search-button {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }

  .docs-search-button strong,
  .docs-search-button kbd,
  .docs-ai-button,
  .docs-start-link {
    display: none;
  }

  .docs-top-actions {
    display: contents;
  }

  .docs-page-shell {
    display: block;
  }

  .docs-sidebar {
    display: none;
  }

  .docs-mobile-nav {
    display: block;
    border-top: 1px solid var(--docs-line);
  }

  .docs-mobile-nav summary {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    color: var(--docs-muted);
    cursor: pointer;
    list-style: none;
  }

  .docs-mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .docs-mobile-nav summary::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
  }

  .docs-mobile-nav[open] summary {
    outline: 1px solid var(--docs-focus);
    outline-offset: -1px;
  }

  .docs-mobile-nav[open] summary::after {
    transform: rotate(225deg);
  }

  .docs-mobile-nav > div {
    max-height: 70vh;
    overflow: auto;
    padding: 18px 16px 28px;
    border-top: 1px solid var(--docs-line);
    background: var(--docs-paper);
  }

  .docs-content,
  .docs-content-reference {
    padding: 48px 24px 68px;
  }

  .docs-content-article,
  .docs-content-reference {
    display: block;
    max-width: 760px;
  }

  .docs-toc,
  .docs-code-rail {
    display: none;
  }
}

@media (max-width: 720px) {
  .docs-topbar {
    grid-template-columns: 1fr auto auto;
    min-height: 54px;
    padding: 9px 16px;
  }

  .docs-edition-pill {
    display: none;
  }

  .docs-brand strong {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .docs-body h1 {
    font-size: 2rem;
  }

  .docs-hub-hero {
    margin-bottom: 38px;
  }

  .docs-lane-grid,
  .docs-link-grid {
    grid-template-columns: 1fr;
  }

  .docs-lane-card p {
    min-height: 0;
  }

  .docs-lane-diagram {
    height: 190px;
  }

  .docs-lane-diagram ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 1fr);
  }

  .docs-lane-diagram li:not(:last-child)::after {
    display: none;
  }

  .docs-article-header > div {
    display: block;
  }

  .docs-article-toolbar {
    justify-content: start;
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .docs-step-section li {
    gap: 10px;
  }

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

  .docs-footer nav {
    justify-content: start;
  }

  .docs-search-modal {
    padding-top: 42px;
  }

  .docs-search-panel {
    min-height: min(590px, calc(100vh - 84px));
  }
}
