/* Accountable Gateway — marketing home.
   Type: Geist (UI), Instrument Serif italic (accents), Geist Mono (labels, code).
   All fonts are self-hosted under the SIL Open Font License (see /licenses/fonts.txt). */

@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/geist-mono-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f6f4ef;
  --paper-2: #efece5;
  --card: #fbfaf7;
  --ink: #0f1b2d;
  --ink-2: #47515f;
  --ink-3: #8a919b;
  --rule: rgba(15, 27, 45, 0.11);
  --rule-strong: rgba(15, 27, 45, 0.2);
  --blue: #2a59f0;
  --blue-deep: #1b3fc4;
  --blue-wash: #e7edfe;
  --ok: #1d8a5f;
  --ok-wash: #e3f2ea;
  --amber: #b86e12;
  --amber-wash: #f8ecd9;
  --night: #0c1424;
  --night-2: #131d31;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --wrap: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* A faint paper grain keeps large flat areas from feeling digital. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img,
svg {
  display: block;
}
a {
  color: inherit;
}
code {
  font: 500 0.88em var(--mono);
}
::selection {
  background: var(--blue);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}
.skip:focus {
  left: 12px;
}
.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}
em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ── Notice ── */
.notice {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 16px;
  background: var(--ink);
  color: #d8dde6;
  font: 450 13px/1.4 var(--sans);
  text-align: center;
}
.notice b {
  color: #fff;
  font-weight: 560;
}
.notice a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.notice a:hover {
  border-color: #fff;
}
.notice-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f2b046;
  box-shadow: 0 0 0 4px rgba(242, 176, 70, 0.18);
}

/* ── Header ── */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.top.scrolled {
  border-color: var(--rule);
}
.top-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--ink);
}
.brand .accountable-wordmark {
  width: auto;
  height: 26px;
}
.brand-suffix {
  font: 400 21px/1 var(--sans);
  letter-spacing: -0.02em;
  color: var(--ink-2);
  transform: translateY(1px);
}
.top-nav {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}
.top-nav a,
.link-quiet {
  font: 470 14.5px/1 var(--sans);
  color: var(--ink-2);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  transition:
    color 0.2s,
    background 0.2s;
}
.top-nav a:hover,
.link-quiet:hover {
  color: var(--ink);
  background: rgba(15, 27, 45, 0.05);
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  background: transparent;
  position: relative;
  cursor: pointer;
}
.menu-btn span:not(.sr) {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}
.menu-btn span:nth-child(1) {
  top: 15px;
}
.menu-btn span:nth-child(2) {
  top: 23px;
}
.menu-btn[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.menu-btn[aria-expanded='true'] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav {
  display: grid;
  padding: 8px 24px 20px;
  border-bottom: 1px solid var(--rule);
}
.mobile-nav a {
  padding: 13px 0;
  text-decoration: none;
  font-size: 17px;
  border-bottom: 1px solid var(--rule);
}

/* ── Buttons & links ── */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: 520 14.5px/1 var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s,
    background 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-lg {
  height: 50px;
  padding: 0 22px;
  font-size: 15.5px;
}
.btn-blue {
  --bg: var(--blue);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 10px 24px -10px rgba(42, 89, 240, 0.7);
}
.btn-blue:hover {
  --bg: var(--blue-deep);
}
.btn-line {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--rule-strong);
}
.btn-line:hover {
  --bg: var(--card);
}
.btn-paper {
  --bg: var(--paper);
  --fg: var(--ink);
}
.arrow-link {
  display: inline-flex;
  gap: 6px;
  font: 520 15px/1 var(--sans);
  color: var(--blue);
  text-decoration: none;
}
.arrow-link span {
  transition: transform 0.2s var(--ease);
}
.arrow-link:hover span {
  transform: translateX(3px);
}
.arrow-light {
  color: #fff;
}

/* ── Type ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow-light {
  color: #8d98ab;
}
.hex-mark {
  width: 12px;
  height: 13px;
  background: var(--blue);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.display {
  margin: 0;
  font: 520 clamp(44px, 7.2vw, 100px) / 0.96 var(--sans);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.display em {
  font-size: 1.08em;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.display-sm {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04;
}
.title {
  margin: 0;
  font: 520 clamp(32px, 4vw, 54px) / 1.04 var(--sans);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.title em {
  font-size: 1.06em;
  color: var(--ink-2);
}
.lede {
  margin: 28px 0 0;
  max-width: 34em;
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.body {
  margin: 20px 0 0;
  max-width: 32em;
  color: var(--ink-2);
  font-size: 16.5px;
  text-wrap: pretty;
}
.fine {
  margin: 22px 0 0;
  font-size: 13.5px;
  color: var(--ink-3);
}
.fine a {
  color: var(--ink-2);
}
.fine-light {
  color: #7f8a9d;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 104px);
}
/* Accountable's hexagon, repeated as a quiet lattice that fades out to the right. */
.hero-lattice,
.closing-lattice {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2 53 16.5v31L28 62 3 47.5v-31z' fill='none' stroke='%230f1b2d' stroke-opacity='.07'/%3E%3C/svg%3E");
  background-size: 56px 64px;
  mask-image: radial-gradient(70% 80% at 85% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(70% 80% at 85% 30%, #000 0%, transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.hero-head {
  grid-column: 1 / -1;
}
.hero-copy {
  padding-top: clamp(28px, 3vw, 40px);
}
.hero-copy .lede {
  margin-top: 0;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font: 500 12.5px/1 var(--mono);
  color: var(--ink-3);
}
.hero-meta li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: var(--ok);
}

/* The request trace: a receipt that prints line by line. */
.trace {
  margin: 8px 0 0;
  justify-self: end;
  width: min(100%, 480px);
  transform: rotate(1.2deg);
}
.trace-paper {
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px 12px 0 0;
  padding: 18px 20px 26px;
  box-shadow:
    0 1px 0 #fff inset,
    0 30px 60px -30px rgba(15, 27, 45, 0.35),
    0 12px 24px -16px rgba(15, 27, 45, 0.2);
  font: 450 13px/1 var(--mono);
}
/* Torn, perforated bottom edge. */
.trace-paper::after {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -9px;
  height: 10px;
  background: radial-gradient(circle at 6px 0, transparent 5.5px, var(--card) 6px) 0 0 / 12px 10px
    repeat-x;
}
.trace-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--rule-strong);
}
.trace-verb {
  padding: 4px 6px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.trace-path {
  color: var(--ink);
  font-weight: 550;
}
.trace-id {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 12px;
}
.trace-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.trace-lines li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  color: var(--ink-2);
}
.trace-lines .k {
  color: var(--ink-3);
  white-space: nowrap;
}
.trace-lines .dots {
  flex: 1;
  min-width: 12px;
  border-bottom: 1px dotted var(--rule-strong);
  transform: translateY(-3px);
}
.trace-lines .v {
  color: var(--ink);
  white-space: nowrap;
}
.trace-lines .ok,
.trace-lines .hold {
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 99px;
  white-space: nowrap;
}
.trace-lines .ok {
  color: var(--ok);
  background: var(--ok-wash);
}
.trace-lines .ok::before {
  content: '✓ ';
}
.trace-lines .hold {
  color: var(--amber);
  background: var(--amber-wash);
}
.trace-provider {
  justify-content: center;
  gap: 12px !important;
  margin: 6px 0;
  padding: 10px 0 !important;
  border-block: 1px dashed var(--rule-strong);
  color: var(--ink-3) !important;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pulse {
  position: relative;
  width: 64px;
  height: 2px;
  background: var(--rule-strong);
  overflow: hidden;
  border-radius: 2px;
}
.pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--blue);
  animation: pulse 1.6s var(--ease) infinite;
}
@keyframes pulse {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(260%);
  }
}
.chain {
  width: 22px;
  height: 12px;
  background:
    radial-gradient(
      circle at 6px 6px,
      transparent 3px,
      var(--blue) 3.5px,
      var(--blue) 5px,
      transparent 5.5px
    ),
    radial-gradient(
      circle at 16px 6px,
      transparent 3px,
      var(--blue) 3.5px,
      var(--blue) 5px,
      transparent 5.5px
    );
}
.trace-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule-strong);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.trace figcaption {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--ink-3);
  transform: rotate(-1.2deg);
}
/* Printing animation (only when scripting is on and motion is allowed). */
.js .trace-lines li {
  opacity: 0;
  transform: translateY(4px);
}
.js .trace-lines li.on {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.35s,
    transform 0.35s var(--ease);
}

/* ── Sections ── */
.section {
  padding: clamp(72px, 10vw, 132px) 0;
}
.section-tint {
  background: var(--paper-2);
  border-block: 1px solid var(--rule);
}
.section-head {
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: end;
}
.section-head-row .body {
  justify-self: end;
}

/* Drop-in */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.ticks {
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--ink-2);
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.ticks li::before {
  content: '';
  flex: none;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg) translateY(-3px);
}
.code-card {
  background: var(--night);
  color: #c9d2e3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(12, 20, 36, 0.6);
  border: 1px solid #1f2a40;
}
.code-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 10px;
  border-bottom: 1px solid #1f2a40;
  background: var(--night-2);
}
.code-tabs {
  display: flex;
  gap: 2px;
}
.code-tabs button,
.copy {
  font: 500 12.5px/1 var(--mono);
  color: #8996ad;
  background: transparent;
  border: 0;
  padding: 8px 11px;
  border-radius: 7px;
  cursor: pointer;
}
.code-tabs button[aria-selected='true'] {
  color: #fff;
  background: #22304a;
}
.copy {
  border: 1px solid #2a3753;
}
.copy:hover,
.code-tabs button:hover {
  color: #fff;
}
.code {
  margin: 0;
  padding: 18px 0;
  overflow-x: auto;
  font: 450 13.5px/1.75 var(--mono);
  counter-reset: ln;
}
.code[hidden] {
  display: none;
}
.code code {
  display: grid;
  font: inherit;
}
.ln {
  display: block;
  min-height: 1.75em;
  padding: 0 20px 0 52px;
  position: relative;
  white-space: pre;
}
.ln::before {
  counter-increment: ln;
  content: counter(ln);
  position: absolute;
  left: 0;
  width: 34px;
  text-align: right;
  color: #3f4b63;
}
.ln.add {
  background: rgba(46, 204, 136, 0.09);
  box-shadow: inset 2px 0 #2ecc88;
}
.ln.del {
  background: rgba(255, 99, 99, 0.07);
  box-shadow: inset 2px 0 #ff6b6b;
  color: #8f7c86;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 107, 107, 0.5);
}
.ln.add::after,
.ln.del::after {
  position: absolute;
  left: 40px;
  font-weight: 700;
}
.ln.add::after {
  content: '+';
  color: #2ecc88;
}
.ln.del::after {
  content: '−';
  color: #ff6b6b;
}
.code .c {
  color: #c792ea;
}
.code .s {
  color: #a5d6a7;
}
.code .n {
  color: #f6c177;
}
.code .m {
  color: #5c6b87;
  font-style: italic;
}
.code-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 18px;
  border-top: 1px solid #1f2a40;
  font-size: 13px;
  color: #8996ad;
}
.code-foot code {
  color: #fff;
}
.dot-ok {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ecc88;
  box-shadow: 0 0 0 4px rgba(46, 204, 136, 0.15);
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s,
    border-color 0.35s;
}
.tile:hover {
  transform: translateY(-3px);
  border-color: var(--rule-strong);
  box-shadow: 0 24px 40px -28px rgba(15, 27, 45, 0.35);
}
.tile-wide {
  grid-column: span 2;
}
.tile-sandbox {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 32px;
  align-items: center;
}
.tile-sandbox .tile-art {
  grid-row: 1 / span 2;
  min-height: 150px;
}
.tile-sandbox h3 {
  margin-top: 0;
  align-self: end;
}
.tile-sandbox p {
  align-self: start;
}
.tile h3 {
  margin: 20px 0 0;
  font: 560 18px/1.3 var(--sans);
  letter-spacing: -0.015em;
}
.tile p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.tile-art {
  flex: 1;
  min-height: 170px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background:
    linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--paper);
  background-blend-mode: normal;
  border: 1px solid var(--rule);
  overflow: hidden;
  padding: 16px;
  grid-template-columns: minmax(0, 1fr);
}
.t-mono {
  font: 500 12px var(--mono);
  fill: var(--ink-2);
  color: var(--ink-2);
}
.t-strong {
  fill: #fff;
}
.t-dim {
  fill: var(--ink-3);
  color: var(--ink-3);
  margin: 0;
}
.art-gate svg {
  width: 100%;
  max-width: 620px;
  height: auto;
  color: var(--ink-3);
}
.art-gate .node {
  fill: var(--card);
  stroke: var(--rule-strong);
}
.art-gate .gate {
  fill: var(--blue);
}
.art-gate .wire {
  stroke: var(--ink-3);
  stroke-width: 1.4;
  stroke-dasharray: 4 5;
  animation: flow 1.4s linear infinite;
}
.art-gate .wire-ok {
  stroke: var(--ok);
  color: var(--ok);
}
.art-gate .wire-no {
  stroke: #c9a3a3;
  animation: none;
}
.art-gate .lane {
  fill: var(--card);
  stroke: var(--rule-strong);
}
.art-gate .lane-strong {
  stroke: var(--ok);
  fill: var(--ok-wash);
}
.art-gate .blocked circle {
  fill: #fbeaea;
  stroke: #d27b7b;
}
.art-gate .blocked path {
  stroke: #c25454;
  stroke-width: 1.6;
  stroke-linecap: round;
}
@keyframes flow {
  to {
    stroke-dashoffset: -18;
  }
}
.art-chain {
  display: flex;
  align-items: center;
  gap: 0;
}
.art-chain .block {
  display: grid;
  gap: 6px;
  padding: 10px 11px;
  border-radius: 9px;
  background: var(--card);
  border: 1px solid var(--rule-strong);
  font: 500 11px var(--mono);
  color: var(--ink-3);
}
.art-chain .block code {
  font-size: 11px;
  color: var(--ink);
}
.art-chain .block-live {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-wash);
}
.art-chain i {
  width: 16px;
  height: 2px;
  background: var(--blue);
  position: relative;
}
.art-chain i::before,
.art-chain i::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: var(--paper);
}
.art-chain i::before {
  left: -3px;
}
.art-chain i::after {
  right: -3px;
}
.art-ledger {
  display: grid;
  align-content: center;
  width: min(100%, 260px);
  font: 450 12.5px var(--mono);
  background: var(--card);
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  padding: 6px 14px;
}
.art-ledger .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--ink-2);
  border-bottom: 1px dotted var(--rule-strong);
}
.art-ledger .row b {
  font-weight: 550;
  color: var(--ink);
}
.art-ledger .pos {
  color: var(--ok) !important;
}
.art-ledger .row-total {
  border: 0;
  font-weight: 600;
}
.art-limits {
  display: grid;
  gap: 14px;
  width: min(100%, 270px);
}
.meter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  font: 500 11.5px var(--mono);
  color: var(--ink-2);
}
.meter em {
  font: inherit;
  color: var(--ink-3);
}
.meter .bar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 6px;
  background: rgba(15, 27, 45, 0.08);
  overflow: hidden;
}
.meter .bar i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--blue);
  border-radius: inherit;
}
.meter .bar-warn i {
  background: linear-gradient(90deg, var(--amber) 0%, #d9534f 100%);
}
.void {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 20px 24px;
  border: 1.5px dashed var(--rule-strong);
  border-radius: 12px;
  background: var(--card);
}
.void span {
  font: 500 13px var(--mono);
}
.strike {
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: #d27b7b;
  text-decoration-thickness: 2px;
}
.keep {
  color: var(--ok);
}
.art-key {
  display: grid;
  gap: 14px;
  justify-items: center;
}
.keychip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(15, 27, 45, 0.7);
  transform: rotate(-3deg);
}
.keychip code {
  font-size: 12.5px;
}
.keyhole {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  position: relative;
}
.keyhole::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  width: 4px;
  height: 10px;
  border-radius: 2px;
  background: var(--ink);
}

/* Models */
.models {
  border-top: 1px solid var(--ink);
}
.m-row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) 1fr 1fr 0.8fr 1.3fr;
  gap: 16px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
.m-row:not(.m-head):hover {
  background: rgba(15, 27, 45, 0.025);
}
.m-head {
  padding: 12px 4px;
  font: 500 11.5px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-3);
}
.m-row b {
  display: block;
  font: 550 16px var(--mono);
  letter-spacing: -0.01em;
}
.m-row small {
  display: block;
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 13.5px;
}
.m-row .num {
  font: 450 14.5px var(--mono);
  font-variant-numeric: tabular-nums;
}
.m-row-soft b {
  font-family: var(--sans);
  font-weight: 560;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 500 12px var(--mono);
  font-style: normal;
  padding: 5px 10px;
  border-radius: 99px;
}
.chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.chip-test {
  color: var(--blue);
  background: var(--blue-wash);
}
.chip-review {
  color: var(--amber);
  background: var(--amber-wash);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-strong);
}
.step {
  position: relative;
  padding: 30px 28px 6px 0;
}
/* A dot travels the rail between steps. */
.step::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--ink);
}
.step:first-child::before {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 5px var(--blue-wash);
}
.step-n {
  font: 500 12px var(--mono);
  color: var(--ink-3);
}
.step h3 {
  margin: 14px 0 0;
  font: 560 21px/1.2 var(--sans);
  letter-spacing: -0.02em;
}
.step p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.price-big {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 40px;
}
.price-zero {
  font: 520 clamp(96px, 12vw, 150px) / 0.8 var(--sans);
  letter-spacing: -0.06em;
}
.price-unit {
  font: 500 13px/1.6 var(--mono);
  color: var(--ink-3);
  padding-bottom: 6px;
}
.calc {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 30px 60px -40px rgba(15, 27, 45, 0.4);
}
.calc-label {
  display: block;
  font: 500 12px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.calc-spend {
  display: block;
  margin: 10px 0 18px;
  font: 520 48px/1 var(--sans);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.calc-spend::after {
  content: ' / mo';
  font-size: 16px;
  letter-spacing: 0;
  color: var(--ink-3);
}
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    var(--blue) var(--fill, 50%),
    rgba(15, 27, 45, 0.1) var(--fill, 50%)
  );
}
input[type='range']::-moz-range-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    var(--blue) var(--fill, 50%),
    rgba(15, 27, 45, 0.1) var(--fill, 50%)
  );
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--rule-strong);
  box-shadow: 0 4px 12px rgba(15, 27, 45, 0.25);
}
input[type='range']::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--rule-strong);
  box-shadow: 0 4px 12px rgba(15, 27, 45, 0.25);
}
.calc-scale {
  display: flex;
  justify-content: space-between;
  font: 500 11px var(--mono);
  color: var(--ink-3);
  margin-top: 4px;
}
.calc-result {
  margin: 26px 0 0;
  border-top: 1px dashed var(--rule-strong);
}
.calc-result div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--rule);
  font-variant-numeric: tabular-nums;
}
.calc-result dt {
  color: var(--ink-2);
}
.calc-result dd {
  margin: 0;
  font: 500 15px var(--mono);
}
.calc-total {
  border-bottom: 0 !important;
}
.calc-total dt,
.calc-total dd {
  font-weight: 620 !important;
  color: var(--ink) !important;
  font-size: 17px !important;
}

/* Launch gates */
.section-ink {
  background: var(--night);
  color: #e8ecf3;
  position: relative;
  overflow: hidden;
}
.section-ink .title em {
  color: #9db4ff;
}
.section-ink .body {
  color: #9aa6ba;
}
.gates {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #263252;
}
.gate-row {
  display: grid;
  grid-template-columns: 24px minmax(180px, 0.8fr) minmax(0, 2fr) 150px;
  gap: 18px;
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid #1e2944;
}
.gate-row b {
  font-weight: 560;
  color: #fff;
}
.gate-row span:not(.state) {
  color: #93a0b6;
  font-size: 15px;
}
.gate-row em {
  text-align: right;
  font: 500 12px var(--mono);
  font-style: normal;
  color: #8592a8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.state {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
}
.state-done {
  color: #3ccf8e;
  background: #3ccf8e;
}
.state-done::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  width: 4px;
  height: 7px;
  border: solid var(--night);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.state-part {
  color: #f2b046;
  background: conic-gradient(#f2b046 0 50%, transparent 0);
}
.state-open {
  color: #5c6b87;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 96px);
}
.faq-list {
  border-top: 1px solid var(--ink);
}
.faq-list details {
  border-bottom: 1px solid var(--rule);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font: 520 18px/1.35 var(--sans);
  letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  font: 300 24px/1 var(--sans);
  color: var(--ink-3);
  transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  margin: -6px 0 22px;
  max-width: 38em;
  color: var(--ink-2);
}

/* Closing */
.closing {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  padding: clamp(72px, 9vw, 120px) 0;
}
.closing-lattice {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2 53 16.5v31L28 62 3 47.5v-31z' fill='none' stroke='%23ffffff' stroke-opacity='.14'/%3E%3C/svg%3E");
  mask-image: radial-gradient(60% 120% at 100% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 120% at 100% 50%, #000, transparent 75%);
}
.closing-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.closing .display em {
  color: #dbe5ff;
}
.closing-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Footer */
.foot {
  padding: 64px 0 28px;
  font-size: 14.5px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
.foot-brand p {
  margin: 16px 0 0;
  color: var(--ink-3);
}
.foot h4 {
  margin: 4px 0 14px;
  font: 500 11.5px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.foot nav {
  display: grid;
  align-content: start;
  gap: 10px;
}
.foot nav a {
  text-decoration: none;
  color: var(--ink-2);
}
.foot nav a:hover {
  color: var(--ink);
}
.foot-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font: 500 12px var(--mono);
  color: var(--ink-3);
}
.foot-hex {
  width: 14px;
  height: 16px;
  background: var(--ink);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* Reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* ── Lab lineup ── */
.labs {
  border-block: 1px solid var(--rule);
  background: var(--card);
  padding-block: 28px 22px;
}
.labs-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
.labs-label {
  margin: 0;
  font: 500 11.5px/1.55 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.labs-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.labs-list li + li {
  border-left: 1px solid var(--rule);
}
.labs-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 8px;
  color: var(--ink-2);
  font: 550 15px/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.lab-mark {
  flex: none;
  width: 22px;
  height: 22px;
  transition: transform 0.4s var(--ease);
}
.labs-list a:hover,
.labs-list a:focus-visible {
  color: var(--ink);
}
.labs-list a:hover .lab-mark {
  transform: rotate(-8deg) scale(1.08);
}
.labs-note {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 12.5px;
  color: var(--ink-3);
}
.labs-note a {
  color: var(--ink-2);
  text-underline-offset: 3px;
}

/* ── Responsive ── */
@media (max-width: 1020px) {
  .labs-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .labs-label br {
    display: none;
  }
  .hero-grid,
  .split,
  .pricing,
  .faq,
  .section-head-row {
    grid-template-columns: 1fr;
  }
  .section-head-row .body {
    justify-self: start;
  }
  .trace {
    justify-self: start;
    transform: none;
  }
  .trace figcaption {
    transform: none;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .labs-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .labs-list li + li {
    border-left: 0;
  }
  .labs-list li:nth-child(n + 4) {
    border-top: 1px solid var(--rule);
  }
  .labs-list li:not(:nth-child(3n + 1)) {
    border-left: 1px solid var(--rule);
  }
  .labs-list a {
    padding: 14px 4px;
    font-size: 14px;
  }
  .top-nav,
  .top-actions .link-quiet,
  .top-actions .btn {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .brand-suffix {
    display: none;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .tile-wide {
    grid-column: auto;
  }
  .tile-sandbox {
    display: flex;
  }
  .steps {
    grid-template-columns: 1fr;
    border-top: 0;
    border-left: 1px solid var(--rule-strong);
    margin-left: 4px;
  }
  .step {
    padding: 0 0 28px 24px;
  }
  .step::before {
    top: 2px;
    left: -5px;
  }
  .m-head {
    display: none;
  }
  .m-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }
  .m-row > span:first-child {
    grid-column: 1 / -1;
  }
  .m-row > span:nth-child(2)::before {
    content: 'in ';
    color: var(--ink-3);
  }
  .m-row > span:nth-child(3)::before {
    content: 'out ';
    color: var(--ink-3);
  }
  .gate-row {
    grid-template-columns: 24px 1fr;
  }
  .gate-row span:not(.state),
  .gate-row em {
    grid-column: 2;
    text-align: left;
  }
  .trace-lines li {
    font-size: 12px;
  }
  .trace-id {
    display: none;
  }
  .foot-base {
    flex-direction: column;
    gap: 10px;
  }
  .closing-cta {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal,
  .js .trace-lines li {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

.m-lab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.m-lab svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.m-lab div {
  min-width: 0;
}
