@font-face {
  font-family: "The Future";
  src: url("./assets/font/the-future/the-future-light.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "The Future";
  src: url("./assets/font/the-future/the-future-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "The Future";
  src: url("./assets/font/the-future/the-future-medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "The Future";
  src: url("./assets/font/the-future/the-future-bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "The Future Mono";
  src: url("./assets/font/the-future/the-future-mono-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --paper: #fafafa;
  --paper-raised: #ffffff;
  --paper-muted: #f5f5f5;
  --ink: #171717;
  --ink-strong: #0a0a0a;
  --muted: #737373;
  --muted-strong: #525252;
  --line: #d4d4d4;
  --line-soft: #e5e5e5;
  --accent: #d52f00;
  --success: #15803d;
  --warning: #b91c1c;
  --radius: 8px;
  --container: min(1280px, calc(100vw - 32px));
  --font-sans: "The Future", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "The Future Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
    Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-position: -1px -1px;
  background-size: 48px 48px;
  pointer-events: none;
}

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

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

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

code,
pre {
  font-family: var(--font-mono);
}

.page-shell {
  min-height: 100vh;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 1fr);
  background: var(--paper);
}

.loading-block {
  border: 1px solid var(--line-soft);
  background: var(--paper-raised);
  transition:
    opacity 650ms ease,
    transform 850ms ease,
    filter 650ms ease;
  transition-delay: var(--delay, 0ms);
  animation: loading-block-breathe 1800ms ease-in-out infinite alternate;
  animation-delay: var(--pulse-delay, 0ms);
}

.loading-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  gap: 8px;
  width: min(520px, calc(100vw - 32px));
  text-align: center;
  transform: translate(-50%, -50%);
  transition:
    opacity 500ms ease,
    transform 700ms ease;
}

.loading-kicker,
.loading-subline,
.loading-motto {
  margin: 0;
}

.loading-kicker,
.eyebrow,
.card-kicker,
.metric-label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.loading-copy strong {
  color: var(--ink-strong);
  font-size: 3.25rem;
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.loading-subline {
  color: var(--ink);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.loading-motto {
  color: var(--muted-strong);
}

.loading-screen.is-leaving .loading-block {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(2px);
}

.loading-screen.is-leaving .loading-copy {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
}

.loading-screen.is-hidden {
  display: none;
}

.site-header,
.hero,
.section,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 14px 0;
  background: rgba(250, 250, 250, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 10px);
  gap: 4px;
  width: 24px;
  height: 24px;
}

.brand-mark span {
  width: 10px;
  height: 10px;
  border: 1px solid var(--ink);
  background: var(--paper-raised);
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-text strong {
  color: var(--ink-strong);
  font-size: 1rem;
  font-weight: 500;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.site-nav a,
.site-footer a {
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  border-color: currentColor;
  outline: none;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-raised);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  outline: none;
  border-color: var(--accent);
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent);
  color: var(--paper);
}

.button-secondary {
  background: var(--paper-raised);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}

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

.eyebrow {
  margin: 0 0 12px;
}

.hero h1,
.section h2,
.module-panel h3,
.footer-copy h2 {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 5.5rem;
  line-height: 0.93;
  text-transform: uppercase;
}

.hero-line {
  display: block;
}

.hero-line-small {
  font-size: 3.4rem;
}

.hero-line-accent {
  color: var(--accent);
}

.hero-lede,
.section-intro,
.info-card p,
.step-card p,
.advantage-card p,
.registry-card p,
.metric-card p,
.inspection-card p,
.module-summary,
.module-points,
.site-footer p {
  color: var(--muted-strong);
  line-height: 1.6;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.05rem;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 40px 0 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-stats div {
  min-height: 102px;
  padding: 14px;
  background: var(--paper-raised);
}

.hero-stats dt {
  color: var(--ink-strong);
  font-size: 1.7rem;
  font-weight: 400;
}

.hero-stats dd {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-visual {
  display: grid;
  gap: 14px;
}

.inspection-card,
.info-card,
.step-card,
.advantage-card,
.registry-card,
.metric-card,
.module-panel,
.module-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
}

.inspection-card {
  padding: 16px;
}

.inspection-card strong,
.info-card h3,
.step-card h3,
.advantage-card h3,
.registry-card h3 {
  display: block;
  margin: 8px 0 0;
  color: var(--ink-strong);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.2;
}

.inspection-card p,
.info-card p,
.step-card p,
.advantage-card p,
.registry-card p,
.metric-card p {
  margin: 14px 0 0;
}

.seal-stage {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),
    var(--paper-muted);
  background-size: 32px 32px;
  overflow: hidden;
}

.seal-orbit {
  position: absolute;
  inset: 40px;
  border: 1px dashed var(--line);
  border-radius: 999px;
}

.seal-art {
  position: relative;
  z-index: 2;
  width: min(82%, 320px);
  height: auto;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-raised);
}

.seal-frame {
  position: relative;
  display: grid;
  width: 284px;
  height: 284px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-raised);
}

.seal-frame::before,
.seal-frame::after {
  content: "";
  position: absolute;
  background: var(--line-soft);
}

.seal-frame::before {
  left: 50%;
  top: 26px;
  width: 1px;
  height: calc(100% - 52px);
}

.seal-frame::after {
  top: 50%;
  left: 26px;
  width: calc(100% - 52px);
  height: 1px;
}

.seal-label {
  position: absolute;
  z-index: 2;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.seal-label-top {
  top: 24px;
}

.seal-label-right {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.seal-label-bottom {
  bottom: 24px;
}

.seal-label-left {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.seal-core {
  z-index: 2;
  display: grid;
  width: 146px;
  height: 146px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--paper);
  text-align: center;
}

.seal-core p,
.seal-core span {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.seal-core strong {
  color: var(--ink-strong);
  font-size: 2rem;
  font-weight: 400;
}

.section {
  padding: 82px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section h2,
.footer-copy h2 {
  font-size: 3.25rem;
  line-height: 1;
}

.section-intro {
  max-width: 690px;
  margin: 18px 0 0;
  font-size: 1.02rem;
}

.card-grid,
.step-grid,
.advantage-grid,
.footer-metrics {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

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

.card-grid-two,
.advantage-grid,
.footer-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.info-card,
.step-card,
.advantage-card,
.registry-card,
.metric-card {
  min-height: 248px;
  padding: 22px;
  border: 0;
  border-radius: 0;
}

.card-number {
  display: inline-flex;
  min-width: 42px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.ticker-band {
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 40px;
  padding: 18px 0;
  animation: ticker 28s linear infinite;
}

.ticker-track span {
  font-size: 1.02rem;
  text-transform: uppercase;
}

.architecture-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
}

.module-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.module-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--muted-strong);
  cursor: pointer;
  text-align: left;
}

.module-button span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.module-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.module-panel {
  min-height: 430px;
  padding: 26px;
}

.module-meta {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 20px;
}

.module-panel h3 {
  max-width: 720px;
  font-size: 2.5rem;
  line-height: 1.04;
}

.module-summary {
  max-width: 780px;
  margin: 22px 0 0;
}

.module-points {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.module-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  margin-top: 26px;
}

.module-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
}

.module-files span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 10px;
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.module-snippet {
  min-height: 150px;
  margin: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-muted);
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.55;
  padding: 14px;
  white-space: pre-wrap;
}

.section-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.footer-copy {
  max-width: 720px;
}

.metric-card {
  min-height: 190px;
}

.metric-card strong {
  display: block;
  margin-top: 18px;
  color: var(--ink-strong);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted-strong);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

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

@keyframes loading-block-breathe {
  from {
    background: var(--paper-raised);
  }
  to {
    background: var(--paper-muted);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .section-footer {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-line-small {
    font-size: 2.6rem;
  }

  .card-grid-three,
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-shell,
  .module-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --container: calc(100vw - 24px);
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .site-header .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 44px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.2rem;
    line-height: 1;
    overflow-wrap: break-word;
  }

  .hero-line-small {
    font-size: 1.45rem;
  }

  .hero-copy,
  .hero-lede,
  .section-intro {
    max-width: 100%;
    min-width: 0;
  }

  .hero-lede {
    max-width: 31ch;
    overflow-wrap: break-word;
  }

  .hero-stats,
  .card-grid-three,
  .card-grid-two,
  .step-grid,
  .advantage-grid,
  .footer-metrics {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .section h2,
  .footer-copy h2,
  .module-panel h3 {
    font-size: 2.25rem;
  }

  .seal-stage {
    min-height: 360px;
  }

  .seal-frame {
    width: 238px;
    height: 238px;
  }

  .seal-core {
    width: 124px;
    height: 124px;
  }

  .loading-copy strong {
    font-size: 2.25rem;
  }

  .site-footer {
    display: grid;
  }
}

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

/* Alignerr screenshot direction: dark, centered, thin, and icon-led. */
:root {
  --paper: #151515;
  --paper-raised: #191919;
  --paper-muted: #101010;
  --ink: #f6f6f6;
  --ink-strong: #ffffff;
  --muted: #8e8e8e;
  --muted-strong: #d8d8d8;
  --line: #343434;
  --line-soft: #262626;
  --accent: #ffffff;
  --success: #ffffff;
  --warning: #ffffff;
}

body {
  background: var(--paper);
  color: var(--ink);
}

body::before {
  display: none;
}

.site-header {
  width: 100%;
  min-height: 108px;
  padding: 30px 26px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  backdrop-filter: none;
}

.brand-mark {
  display: block;
  position: relative;
  width: 22px;
  height: 22px;
}

.brand-mark span {
  position: absolute;
  display: block;
  width: 18px;
  height: 18px;
  border-color: var(--ink);
  background: transparent;
  transform: rotate(60deg) skewX(-18deg);
}

.brand-mark span:nth-child(1) {
  left: 2px;
  top: 1px;
}

.brand-mark span:nth-child(2) {
  left: 5px;
  top: 5px;
  opacity: 0.7;
}

.brand-mark span:nth-child(3),
.brand-mark span:nth-child(4) {
  display: none;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-text strong {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 400;
}

.brand-text strong::after {
  content: "|";
  margin-left: 8px;
  color: var(--muted);
}

.brand-text span {
  color: var(--muted-strong);
  font-size: 0.72rem;
  text-transform: none;
}

.site-nav {
  gap: 38px;
  color: var(--muted-strong);
  font-size: 0.96rem;
}

.button {
  min-height: 52px;
  min-width: 130px;
  border-color: var(--ink);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
}

.button-primary {
  background: var(--ink);
  color: #111111;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #111111;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 520px);
  width: 100%;
  max-width: 1480px;
  min-height: 644px;
  margin: 0 auto;
  padding: 86px clamp(24px, 5vw, 92px) 76px;
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.hero-copy {
  display: grid;
  justify-items: start;
  max-width: 760px;
}

.hero h1,
.section h2,
.module-panel h3,
.footer-copy h2 {
  color: var(--ink-strong);
  font-weight: 300;
  text-transform: none;
}

.hero h1 {
  margin-top: 52px;
  font-size: clamp(4.2rem, 5.4vw, 7rem);
  line-height: 0.98;
}

.hero-line-small {
  font-size: inherit;
}

.hero-line-accent {
  color: var(--ink-strong);
}

.hero-lede {
  max-width: 650px;
  margin-top: 30px;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.48;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 30px;
}

.hero-stats {
  display: inline-flex;
  width: auto;
  grid-template-columns: none;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: transparent;
}

.hero-stats div {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: transparent;
}

.hero-stats dt,
.hero-stats dd {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}

.hero-stats dd {
  text-transform: none;
}

.hero-seal-visual {
  display: grid;
  justify-self: end;
  width: min(100%, 500px);
  min-width: 0;
}

.founding-seal {
  display: grid;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d0d0d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.founding-seal figcaption {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #111111;
  color: var(--ink);
  font-family: var(--font-sans);
}

.founding-seal figcaption span {
  color: var(--muted-strong);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.founding-seal figcaption strong {
  color: var(--ink-strong);
  font-size: 0.92rem;
  font-weight: 500;
}

.founding-seal img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(66vh, 640px);
  background: #050505;
  object-fit: contain;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(720px, 1280px) minmax(0, 1fr);
  width: 100%;
  min-height: 220px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.proof-band-side {
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 10px,
    #4a4a4a 11px,
    transparent 12px
  );
  opacity: 0.75;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.icon-cell {
  position: relative;
  display: grid;
  min-height: 110px;
  place-items: center;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.icon-cell:nth-child(10n) {
  border-right: 0;
}

.icon-cell:nth-child(14) {
  background: #030303;
}

.icon-cell::before {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 16px;
  color: currentColor;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1;
  white-space: pre;
}

.icon-cell[data-icon="math"]::before {
  content: "+  -\A x  /";
  border: 0;
  border-radius: 0;
  font-size: 1.7rem;
}

.icon-cell[data-icon="atom"]::before {
  content: "ADL";
  border-radius: 999px;
}

.icon-cell[data-icon="loop"]::before {
  content: "re";
  border-radius: 999px;
}

.icon-cell[data-icon="globe"]::before {
  content: "jur";
  border-radius: 999px;
}

.icon-cell[data-icon="flask"]::before {
  content: "lab";
  border-radius: 8px 8px 16px 16px;
}

.icon-cell[data-icon="proof"]::before {
  content: "ok";
}

.icon-cell[data-icon="clock"]::before {
  content: "ts";
}

.icon-cell[data-icon="code"]::before {
  content: "</>";
}

.icon-cell[data-icon="seal"]::before {
  content: "seal";
  border-radius: 999px;
  font-size: 0.88rem;
}

.icon-cell[data-icon="database"]::before {
  content: "db";
  border-radius: 999px / 20px;
}

.section {
  border-bottom-color: var(--line);
  background: var(--paper);
}

.section-heading {
  color: var(--ink);
}

.section-intro,
.info-card p,
.step-card p,
.advantage-card p,
.registry-card p,
.metric-card p,
.inspection-card p,
.module-summary,
.module-points,
.site-footer p {
  color: var(--muted-strong);
}

.inspection-card,
.info-card,
.step-card,
.advantage-card,
.registry-card,
.metric-card,
.module-panel,
.module-button {
  border-color: var(--line);
  background: var(--paper-raised);
}

.inspection-card strong,
.info-card h3,
.step-card h3,
.advantage-card h3,
.registry-card h3 {
  color: var(--ink);
}

.card-grid,
.step-grid,
.advantage-grid,
.footer-metrics {
  border-color: var(--line);
  background: var(--line);
}

.card-number,
.module-files span,
.module-snippet {
  border-color: var(--line);
  background: var(--paper-muted);
  color: var(--ink);
}

.ticker-band {
  border-color: var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 620px;
    justify-items: center;
    text-align: center;
  }

  .hero-copy {
    justify-items: center;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 9vw, 5.4rem);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-seal-visual {
    justify-self: center;
    width: min(100%, 460px);
  }

  .founding-seal img {
    max-height: 560px;
  }

  .proof-band {
    grid-template-columns: 24px minmax(0, 1fr) 24px;
  }

  .proof-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    width: 100%;
    min-height: auto;
    padding: 16px 12px 14px;
  }

  .brand-text {
    display: grid;
    gap: 2px;
  }

  .brand-text strong::after {
    display: none;
  }

  .hero {
    width: 100%;
    min-height: auto;
    padding: 76px 12px 62px;
  }

  .hero h1 {
    margin-top: 42px;
    font-size: clamp(2.6rem, 13vw, 4rem);
    line-height: 1;
  }

  .hero-lede {
    max-width: 31ch;
    font-size: 1.02rem;
  }

  .hero-seal-visual {
    width: min(100%, 360px);
  }

  .founding-seal figcaption {
    min-height: 46px;
    padding: 0 12px;
  }

  .founding-seal img {
    max-height: none;
  }

  .hero-stats {
    display: grid;
    width: min(100%, 340px);
  }

  .hero-stats div {
    justify-content: center;
    min-height: 38px;
  }

  .proof-band {
    grid-template-columns: 12px minmax(0, 1fr) 12px;
    min-height: 180px;
  }

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

  .icon-cell {
    min-height: 92px;
  }
}

/* Professional landing cleanup. */
.section-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.footer-assurance {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-raised);
  padding: 24px;
}

.footer-assurance ul {
  display: grid;
  gap: 1px;
  margin: 18px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.footer-assurance li {
  min-height: 48px;
  padding: 14px 16px;
  background: var(--paper);
  color: var(--ink);
}

.site-footer {
  display: grid;
  width: 100%;
  margin: 0;
  padding: 46px clamp(18px, 5vw, 92px) 28px;
  border-top: 1px solid var(--line);
  background: #101010;
  gap: 34px;
}

.footer-brand {
  display: grid;
  max-width: 680px;
  gap: 12px;
}

.footer-brand strong {
  color: var(--ink-strong);
  font-size: clamp(2rem, 3.5vw, 3.7rem);
  font-weight: 300;
  line-height: 1;
}

.footer-brand p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted-strong);
  font-size: 1rem;
}

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

.footer-columns nav,
.footer-status {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 20px;
  background: var(--paper);
}

.footer-columns h3,
.footer-status h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-columns a,
.footer-status p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.footer-columns a:hover,
.footer-columns a:focus-visible {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

.founding-seal {
  position: relative;
  isolation: isolate;
}

.hero-seal-visual.is-visible .founding-seal {
  animation: seal-resolve 900ms ease-out 160ms both;
}

.hero-seal-visual.is-visible .founding-seal::after {
  content: "";
  position: absolute;
  inset: 54px 0 0;
  z-index: 3;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    transparent
  );
  transform: translateY(-120%);
  animation: seal-scan 1800ms cubic-bezier(0.22, 1, 0.36, 1) 520ms both;
  pointer-events: none;
}

[data-scramble],
[data-scramble-reveal] {
  font-variant-ligatures: none;
}

@keyframes seal-resolve {
  0% {
    opacity: 0;
    filter: blur(12px) contrast(1.4);
    transform: translateY(18px) scale(0.985);
  }
  100% {
    opacity: 1;
    filter: blur(0) contrast(1);
    transform: translateY(0) scale(1);
  }
}

@keyframes seal-scan {
  0% {
    opacity: 0;
    transform: translateY(-120%);
  }
  20%,
  74% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(120%);
  }
}

@media (max-width: 1080px) {
  .section-footer-cta,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-columns nav,
  .footer-status {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding: 38px 12px 24px;
  }

  .footer-bottom {
    display: grid;
  }
}

/* Final responsive/footer polish. */
.section-footer-cta {
  border-top: 1px solid var(--line);
}

.section-footer-cta .footer-copy h2 span {
  display: block;
}

.footer-assurance .eyebrow {
  margin-bottom: 0;
}

.footer-assurance li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-assurance li::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid var(--ink);
  background: transparent;
  flex: 0 0 auto;
}

.footer-columns h3,
.footer-status h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.footer-columns a {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
}

.footer-columns a:focus-visible,
.site-nav a:focus-visible,
.brand-text [data-scramble]:focus-visible,
.button:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.footer-status p {
  display: flex;
  min-height: 30px;
  align-items: center;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-nav {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-header > .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: relative;
  }

  .brand {
    max-width: 100%;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong,
  .brand-text span {
    overflow-wrap: anywhere;
  }

  .site-header > .button,
  .hero-actions .button {
    width: 100%;
  }

  .hero {
    gap: 34px;
  }

  .hero-stats dd {
    font-size: 0.88rem;
  }

  .section-footer-cta {
    gap: 24px;
  }

  .footer-assurance {
    padding: 16px;
  }

  .footer-assurance li {
    min-height: 44px;
    padding: 12px;
  }

  .footer-brand strong {
    font-size: 2.45rem;
  }

  .footer-columns {
    border-left: 0;
    border-right: 0;
  }

  .footer-columns nav,
  .footer-status {
    padding: 16px 12px;
  }

  .footer-bottom {
    gap: 8px;
    font-size: 0.8rem;
  }
}

/* Final footer composition override. */
.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(560px, 1.45fr);
  grid-template-areas:
    "footer-brand footer-columns"
    "footer-bottom footer-bottom";
  align-items: start;
  gap: clamp(34px, 5vw, 90px);
  width: 100%;
  padding: clamp(50px, 6vw, 86px) clamp(22px, 6vw, 112px) 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: #101010;
}

.footer-brand {
  grid-area: footer-brand;
  display: grid;
  align-content: start;
  max-width: 620px;
  gap: 18px;
}

.footer-brand strong {
  color: #f7f7f7;
  font-size: clamp(3.2rem, 6.2vw, 6.8rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.92;
}

.footer-brand p {
  max-width: 48ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.98rem, 1.1vw, 1.12rem);
  line-height: 1.55;
}

.footer-columns {
  grid-area: footer-columns;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  width: 100%;
  justify-self: stretch;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.16);
}

.footer-columns nav,
.footer-status {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 230px;
  padding: clamp(18px, 2vw, 28px);
  background: #121212;
}

.footer-columns h3,
.footer-status h3 {
  margin: 0 0 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #f7f7f7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-columns a,
.footer-status p {
  min-height: 30px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.35;
}

.footer-columns a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  text-decoration: none;
}

.footer-columns a:hover,
.footer-columns a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  grid-area: footer-bottom;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
  color: #f7f7f7;
}

@media (max-width: 980px) {
  .site-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "footer-brand"
      "footer-columns"
      "footer-bottom";
    gap: 32px;
  }

  .footer-brand {
    max-width: 760px;
  }

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

@media (max-width: 720px) {
  .site-footer {
    padding: 42px 16px 26px;
  }

  .footer-brand {
    gap: 14px;
  }

  .footer-brand strong {
    font-size: clamp(2.65rem, 16vw, 4.25rem);
  }

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

  .footer-columns nav,
  .footer-status {
    min-height: auto;
    padding: 18px 16px;
  }

  .footer-bottom {
    display: grid;
    gap: 10px;
  }
}

/* Live agent counter — big landing-page band */
.live-count-band {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 8vw, 104px) 0;
}

.live-count-band .eyebrow {
  margin: 0 0 4px;
}

.live-count {
  margin: 6px 0;
  font-family: var(--font-mono);
  font-weight: 400;
  line-height: 0.86;
  font-size: clamp(4.5rem, 17vw, 13rem);
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}

.live-count-label {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* Agent explorer — search + record viewer + trace DAG */
.explorer { max-width: 920px; margin: 0 auto; }
.explorer-search { position: relative; }
.explorer-input {
  width: 100%;
  padding: 18px 20px;
  font-size: 1.05rem;
  font-family: var(--font-mono);
  color: var(--ink-strong);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.explorer-input:focus { outline: none; border-color: var(--ink-strong); }
.explorer-results {
  list-style: none;
  margin: 6px 0 0;
  padding: 4px;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-height: 320px;
  overflow-y: auto;
}
.explorer-result {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  border-radius: 6px;
}
.explorer-result:hover { background: var(--paper-muted); }
.er-name { color: var(--ink-strong); font-weight: 500; }
.er-meta { color: var(--muted); font-size: 0.78rem; font-family: var(--font-mono); }
.explorer-empty { color: var(--muted); padding: 14px; margin: 0; }
.explorer-detail {
  margin-top: 24px;
  padding: 24px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.ad-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ad-name { margin: 0; font-size: 1.6rem; color: var(--ink-strong); }
.ad-sub { margin: 6px 0 0; color: var(--muted); font-size: 0.85rem; font-family: var(--font-mono); }
.ad-seal { width: 84px; height: 84px; flex: none; }
.ad-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin: 20px 0; }
.ad-grid dt { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; }
.ad-grid dd { margin: 4px 0 0; color: var(--ink); }
.mono { font-family: var(--font-mono); word-break: break-all; font-size: 0.82rem; }
.ad-pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pill { font-size: 0.72rem; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.pill.on { color: var(--ink-strong); border-color: var(--ink-strong); }
.ad-dag-wrap { margin-top: 8px; }
.ad-dag {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-muted);
  padding: 8px;
  overflow-x: auto;
}
.dag-svg { display: block; min-width: 100%; height: auto; }
.dag-edge { fill: none; stroke: var(--muted); stroke-width: 1.5; opacity: 0.55; }
.dag-node rect { fill: var(--paper-raised); stroke: var(--line); }
.dag-node-type { fill: var(--ink-strong); font-size: 13px; font-weight: 500; font-family: var(--font-sans); }
.dag-node-id { fill: var(--muted); font-size: 11px; font-family: var(--font-mono); }
.dag-node-violation rect { stroke: var(--accent); stroke-width: 1.6; }
.ad-links { margin: 20px 0 0; font-size: 0.85rem; }
.ad-links a { color: var(--accent); }
@media (max-width: 640px) {
  .ad-grid { grid-template-columns: 1fr; }
  .ad-head { flex-direction: column; }
}

/* Wall of Trust — public leaderboard */
.trust-board {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 920px;
}
.trust-row {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: none;
  background: var(--paper-raised);
  cursor: pointer;
}
.trust-row:first-child { border-top: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.trust-row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.trust-row:hover { background: var(--paper-muted); }
.trust-row:focus-visible { outline: 2px solid var(--ink-strong); outline-offset: -2px; }
.tr-rank { font-family: var(--font-mono); color: var(--muted); font-size: 1.15rem; text-align: center; }
.tr-name { display: block; color: var(--ink-strong); font-weight: 500; }
.tr-meta { color: var(--muted); font-size: 0.76rem; font-family: var(--font-mono); }
.tr-band {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}
.tr-band-trusted,
.tr-band-exemplary { color: var(--ink-strong); border-color: var(--ink-strong); }
.tr-score {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  color: var(--ink-strong);
  min-width: 2.5ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.trust-empty {
  list-style: none;
  color: var(--muted);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (max-width: 640px) {
  .trust-row { grid-template-columns: 32px 1fr auto; gap: 12px; }
  .tr-band { display: none; }
}

/* Developer API guide surfaces */
.section-api {
  background: #111111;
}

.section-api .section-heading {
  max-width: 920px;
}

.section-api code,
.api-page code {
  color: var(--ink-strong);
}

.api-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.api-shell > *,
.api-page-hero > *,
.api-two-col > *,
.api-page-header > *,
.api-page-header .site-nav {
  min-width: 0;
}

.api-summary,
.api-code-panel,
.endpoint-card,
.api-guide-card,
.api-callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-raised);
}

.api-summary {
  padding: clamp(18px, 2vw, 26px);
}

.api-base {
  margin: 4px 0 22px;
  overflow-wrap: anywhere;
  color: var(--ink-strong);
  font-size: 2.1rem;
  line-height: 1.08;
}

.api-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.api-facts div {
  display: grid;
  grid-template-columns: minmax(110px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.api-facts dt {
  color: var(--ink-strong);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.api-facts dd {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.5;
}

.api-code-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.api-code-head {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
}

.api-code-head span,
.api-code-head a {
  font-size: 0.86rem;
}

.api-code-head a {
  color: var(--ink-strong);
  border-bottom: 1px solid currentColor;
}

.api-code-panel pre,
.api-page pre {
  min-height: 100%;
  margin: 0;
  overflow: auto;
  padding: clamp(16px, 2vw, 24px);
  background: #090909;
  color: var(--ink-strong);
  font-size: 0.88rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

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

.endpoint-card {
  min-height: 220px;
  padding: 20px;
  border: 0;
  border-radius: 0;
}

.endpoint-method {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.endpoint-card h3 {
  margin: 18px 0 0;
  color: var(--ink-strong);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
}

.endpoint-card h3 code {
  overflow-wrap: anywhere;
}

.endpoint-card p {
  margin: 14px 0 0;
  color: var(--muted-strong);
  line-height: 1.55;
}

.api-page {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  overflow-x: hidden;
  padding: 34px 0 88px;
}

.api-page-header {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
}

.api-page-header a {
  color: var(--muted-strong);
}

.api-page-header .site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.api-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  padding: clamp(42px, 6vw, 78px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.api-page h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink-strong);
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 5.8rem;
  font-weight: 300;
  line-height: 0.95;
}

.api-page h2 {
  margin: 0 0 18px;
  color: var(--ink-strong);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
}

.api-page h3 {
  margin: 0 0 10px;
  color: var(--ink-strong);
  font-size: 1.1rem;
  font-weight: 500;
}

.api-page p,
.api-page li,
.api-page td {
  color: var(--muted-strong);
  line-height: 1.58;
}

.api-guide-card,
.api-callout {
  padding: 20px;
}

.api-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.api-guide-card {
  min-height: 190px;
  border: 0;
  border-radius: 0;
}

.api-section-block {
  padding: clamp(48px, 6vw, 76px) 0;
  border-bottom: 1px solid var(--line);
}

.api-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  font-size: 0.92rem;
}

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

.api-table th {
  color: var(--ink-strong);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.api-table td:first-child,
.api-table td:nth-child(2) {
  color: var(--ink-strong);
  font-family: var(--font-mono);
}

.api-table code {
  overflow-wrap: anywhere;
}

.api-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 16px;
  align-items: stretch;
}

.api-callout {
  margin: 24px 0 0;
  color: var(--muted-strong);
}

/* Registration guide */
.register-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.register-fast-card {
  display: grid;
  align-content: start;
  min-height: 420px;
}

.register-mini-steps {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.register-mini-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.register-mini-steps li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.register-mini-steps span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-strong);
  font-family: var(--font-mono);
}

.register-mini-steps strong {
  color: var(--ink-strong);
  font-size: 1.08rem;
  font-weight: 500;
}

.register-mini-steps p {
  grid-column: 2;
  margin: 0;
}

.register-choice-grid .api-guide-card {
  min-height: 300px;
}

.register-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.register-choice-card p {
  flex: 1;
}

.register-choice-card .button {
  margin-top: 18px;
}

.register-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 16px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.register-section-lede {
  max-width: 620px;
  margin: 0 0 24px;
}

.register-checklist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.register-checklist-grid article {
  min-height: 260px;
  padding: 20px;
  background: var(--paper-raised);
}

.register-checklist-grid ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.register-outcome-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.register-final-cta p {
  max-width: 760px;
}

/* Public verifier */
.verifier-page .hero-lede code {
  color: var(--ink-strong);
}

.verifier-hero {
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
}

.verifier-form {
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin-top: 28px;
}

.verifier-form label {
  color: var(--ink-strong);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.verifier-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.verifier-input-row input {
  width: 100%;
  min-height: 52px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-raised);
  color: var(--ink-strong);
  font-family: var(--font-mono);
}

.verifier-input-row input:focus {
  outline: 2px solid var(--ink-strong);
  outline-offset: 2px;
}

.verifier-form p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.verifier-toggle {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  text-transform: none;
}

.verifier-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink-strong);
}

.verifier-status-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 300px;
}

.verifier-status-panel strong {
  display: block;
  color: var(--ink-strong);
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 300;
  line-height: 0.98;
}

.verifier-status-panel p {
  margin: 14px 0 0;
}

.verifier-result-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.verifier-summary-grid,
.verifier-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.verifier-summary-grid .api-guide-card {
  min-height: 150px;
}

.verifier-summary-grid .api-guide-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.verifier-summary-grid .api-guide-card strong {
  display: block;
  margin-top: 18px;
  color: var(--ink-strong);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  overflow-wrap: anywhere;
}

.verifier-check-grid {
  margin-top: 22px;
}

.verifier-check {
  min-height: 218px;
  padding: 20px;
  background: var(--paper-raised);
}

.verifier-check span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.verifier-check h3 {
  margin-top: 18px;
}

.verifier-check-passed span {
  border-color: #91d5a4;
  color: #b8f0c7;
}

.verifier-check-partial span {
  border-color: #d6c27f;
  color: #f1dfa0;
}

.verifier-check-failed span {
  border-color: #dc8f8f;
  color: #ffc2c2;
}

.verifier-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.verifier-mini-links a {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-strong);
  font-size: 0.78rem;
  text-decoration: none;
}

.verifier-links {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.verifier-links a {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-raised);
  color: var(--ink-strong);
  text-decoration: none;
}

.verifier-links span {
  color: var(--ink-strong);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.verifier-links code {
  color: var(--muted-strong);
  overflow-wrap: anywhere;
}

.verifier-json-layout {
  align-items: start;
}

.verifier-json-panel {
  min-height: 580px;
}

.verifier-copy {
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-strong);
  cursor: pointer;
}

.verifier-copy:hover,
.verifier-copy:focus-visible {
  border-color: var(--ink-strong);
  outline: none;
}

@media (max-width: 980px) {
  .api-shell,
  .api-page-hero,
  .api-two-col,
  .verifier-hero,
  .register-hero {
    grid-template-columns: 1fr;
  }

  .endpoint-grid,
  .api-guide-grid,
  .verifier-summary-grid,
  .verifier-check-grid,
  .register-checklist-grid,
  .register-outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .api-page h1 {
    font-size: 4.2rem;
  }

  .api-page h2 {
    font-size: 2.55rem;
  }

  .api-page .hero-lede,
  .api-page-hero .api-guide-card p {
    max-width: 34ch;
  }
}

@media (max-width: 720px) {
  .api-facts div,
  .endpoint-grid,
  .api-guide-grid,
  .verifier-summary-grid,
  .verifier-check-grid,
  .register-checklist-grid,
  .register-outcome-grid,
  .verifier-input-row {
    grid-template-columns: 1fr;
  }

  .verifier-input-row .button {
    width: 100%;
  }

  .verifier-result-header {
    display: grid;
  }

  .api-page {
    width: 100%;
    max-width: 100%;
    padding: 34px 12px 64px;
  }

  .api-page * {
    max-width: 100%;
  }

  .api-page p,
  .api-page li,
  .api-page dd {
    overflow-wrap: break-word;
  }

  .api-page-header {
    display: grid;
  }

  .api-page-header .site-nav {
    justify-content: flex-start;
    gap: 14px;
  }

  .api-page h1 {
    max-width: 100%;
    font-size: 2.55rem;
    line-height: 1;
  }

  .api-page h2 {
    font-size: 2rem;
  }

  .api-base {
    font-size: 1.45rem;
  }

  .api-page .hero-lede,
  .api-page-hero .api-guide-card p {
    max-width: 30ch;
  }

  .api-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Blog */
.blog-page {
  overflow-wrap: break-word;
}

.blog-hero {
  padding: clamp(48px, 7vw, 86px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.blog-hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--ink-strong);
  font-size: 5.2rem;
  font-weight: 300;
  line-height: 0.98;
}

.blog-list {
  display: grid;
  gap: 16px;
  padding: clamp(42px, 6vw, 72px) 0 0;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-raised);
}

.blog-card h2 {
  max-width: 820px;
  margin: 0;
  color: var(--ink-strong);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.12;
}

.blog-card p {
  max-width: 72ch;
  margin: 16px 0 0;
  color: var(--muted-strong);
  line-height: 1.58;
}

.blog-meta {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.blog-post {
  max-width: 880px;
  margin: 0 auto;
  padding-bottom: 32px;
}

.blog-post-header {
  padding: clamp(52px, 7vw, 92px) 0 clamp(34px, 5vw, 54px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.blog-post h1 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 4.6rem;
  font-weight: 300;
  line-height: 0.98;
}

.blog-subtitle {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--ink-strong);
  font-size: 1.36rem;
  line-height: 1.35;
}

.blog-note,
.blog-quote,
.blog-share,
.blog-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-raised);
}

.blog-note {
  margin: 28px 0;
  padding: 18px 20px;
  color: var(--muted-strong);
  line-height: 1.58;
}

.blog-quote {
  margin: 28px 0 0;
  padding: 20px;
  color: var(--ink-strong);
  font-size: 1.12rem;
  line-height: 1.58;
}

.blog-post p,
.blog-post li,
.blog-post td {
  color: var(--muted-strong);
  line-height: 1.72;
}

.blog-post > p,
.blog-post > ul,
.blog-post > pre,
.blog-post > table,
.blog-note,
.blog-share {
  margin-top: 24px;
}

.blog-post h2 {
  margin: 48px 0 0;
  color: var(--ink-strong);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.08;
}

.blog-post ul {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.blog-post strong {
  color: var(--ink-strong);
  font-weight: 500;
}

.blog-post a {
  color: var(--ink-strong);
  border-bottom: 1px solid currentColor;
}

.blog-post code {
  overflow-wrap: anywhere;
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  font-size: 0.94rem;
}

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

.blog-table th {
  color: var(--ink-strong);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.blog-table td:first-child {
  color: var(--ink-strong);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.blog-small {
  font-size: 0.9rem;
}

.blog-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
  padding: 16px;
}

.blog-closing {
  color: var(--ink-strong) !important;
  font-size: 1.28rem;
}

.blog-share {
  padding: clamp(18px, 3vw, 28px);
}

.blog-share h2:first-child {
  margin-top: 0;
}

@media (max-width: 980px) {
  .blog-hero h1 {
    font-size: 3.7rem;
  }

  .blog-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .blog-card .button {
    justify-self: start;
  }

  .blog-post h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 720px) {
  .blog-hero h1 {
    font-size: 2.55rem;
    line-height: 1;
  }

  .blog-card h2 {
    font-size: 1.55rem;
  }

  .blog-post h1 {
    font-size: 2.4rem;
    line-height: 1;
  }

  .blog-subtitle {
    font-size: 1.08rem;
  }

  .blog-post h2 {
    font-size: 1.72rem;
  }

  .blog-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .blog-cta .button {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .site-header,
  .api-page-header {
    grid-template-columns: 1fr;
    gap: 14px;
    overflow: hidden;
  }

  .site-nav,
  .api-page-header .site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    max-width: 100%;
    overflow: hidden;
  }

  .site-nav a,
  .api-page-header .site-nav a {
    flex: 0 0 auto;
  }

  .site-header > .site-nav a:nth-child(n + 6),
  .api-page-header .site-nav a:nth-child(n + 6) {
    display: none;
  }

  .site-header > .button {
    width: 100%;
  }

  .hero {
    padding-top: 56px;
  }

  .api-page,
  .blog-page {
    overflow-x: hidden;
  }
}
