/* APEX Countersign (5 Nov 2026). Standalone product pages: no nav-v2.js, no apex-v3.css, so no global layer repaints them.
   House palette (CLAUDE.md §7): near-black ground, white text, one neon. The neon is the countersignature ink: it marks the
   signature stroke, the ALLOW state and the one main action per screen, nothing else. Contrast: every text colour >= 4.5:1 on --ink. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/fonts/f/geist-v5-gyByhwUxId8gMEwcGFU.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/f/geistmono-v6-or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/f/cormorantgaramond-v21-co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(/fonts/f/cormorantgaramond-v21-co3ZmX5slCNuHLi8bLeY9MK7whWMhyjYrEtImSo.woff2) format('woff2'); }

:root {
  --ink: #0B0B0B; --paper: #141413; --paper-2: #1B1B19; --line: #2C2C29; --line-2: #3D3D39;
  --text: #F2F2EE; --muted: #A9A9A2; --faint: #8E8E87;
  --neon: #E6FF2E; --on-neon: #0B0B0B;
  --deny: #FF6F61; --review: #FFB547; --unread: #9A9A93;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 66ch;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.6 var(--sans); text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--text); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--neon); }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
code, kbd, .mono { font-family: var(--mono); font-size: .88em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--neon); color: var(--on-neon); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* top bar */
.bar { border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.mark { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--text); }
.mark b { font: 600 22px/1 var(--serif); letter-spacing: .01em; }
.mark span { font: 500 13px/1 var(--sans); color: var(--muted); }
.bar nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.bar nav a { text-decoration: none; color: var(--muted); }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--text); }
@media (max-width: 640px) { .bar nav a.opt { display: none; } .bar nav { gap: 16px; } }

/* type */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--text); margin: 0; letter-spacing: -.005em; font-feature-settings: 'lnum' 1; }
h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
h3 { font-size: 25px; line-height: 1.2; }
p { margin: 0 0 14px; max-width: var(--measure); }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: #DCDCD6; max-width: 52ch; }
.small { font-size: 14px; color: var(--muted); }
section { padding: clamp(56px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
section > .wrap > h2 { max-width: 22ch; margin-bottom: 18px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid var(--line-2); background: transparent; color: var(--text); }
.btn:hover { border-color: var(--text); }
.btn.go { background: var(--neon); border-color: var(--neon); color: var(--on-neon); }
.btn.go:hover { filter: brightness(1.06); }
.btn[disabled], .btn[aria-busy="true"] { cursor: progress; border-style: dashed; }
.btn.go[aria-busy="true"] { background: transparent; color: var(--neon); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); border-top: 0; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hero h1 { max-width: 13ch; margin-bottom: 22px; }
.hero .lede { margin-bottom: 26px; }
.hero .row { margin-bottom: 26px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); max-width: 54ch; }
.facts li { padding-left: 16px; position: relative; }
.facts li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.facts b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero h1 { max-width: 15ch; } }

/* the slip: a payment instruction waiting for its second signature */
.slip { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 18px; position: relative; }
.slip::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 0; border-top: 2px dashed var(--line-2); transform: translateY(-1px); }
.slip header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.slip header h2 { font-size: 24px; }
.slip header .small { white-space: nowrap; }
.fields { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 14px; }
.fields .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line-2);
  background: var(--ink); color: var(--text); font: 400 15px/1.3 var(--sans); }
.field input.mono, .field textarea.mono { font-family: var(--mono); font-size: 14px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--neon); outline: none; }
.checks { list-style: none; margin: 0 0 6px; padding: 0; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.checks .ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--sans); border: 1px solid var(--line-2); color: var(--muted); margin-top: 1px; }
.checks .lbl { font-weight: 600; }
.checks .dt { color: var(--muted); font-size: 14px; display: block; overflow-wrap: anywhere; }
.checks li[data-r="pass"] .ic { border-color: var(--neon); color: var(--neon); }
.checks li[data-r="fail"] .ic { border-color: var(--deny); background: var(--deny); color: var(--ink); }
.checks li[data-r="warn"] .ic { border-color: var(--review); color: var(--review); }
.checks li[data-r="unread"] .ic, .checks li[data-r="skip"] .ic { border-style: dashed; color: var(--unread); }
.checks li[data-r="wait"] .ic { border-style: dashed; }
.sigline { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px; padding-top: 16px; min-height: 92px; }
.sigline .ink { position: relative; height: 64px; border-bottom: 1px solid var(--line-2); }
.sigline .ink svg { position: absolute; left: 0; bottom: 4px; width: 100%; max-width: 260px; height: 60px; overflow: visible; }
.sigline .ink path { fill: none; stroke: var(--neon); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.slip[data-v="ALLOW"] .sigline .ink path { animation: sign 1.1s cubic-bezier(.6,.1,.3,1) forwards; }
@keyframes sign { to { stroke-dashoffset: 0; } }
.sigline .cap { font-size: 12px; color: var(--muted); margin-top: 6px; }
.verdict { font: 700 15px/1 var(--sans); letter-spacing: .02em; padding: 9px 12px; border-radius: 8px; border: 1px dashed var(--line-2); color: var(--muted); white-space: nowrap; }
.slip[data-v="ALLOW"] .verdict { border: 1px solid var(--neon); color: var(--neon); }
.slip[data-v="REVIEW"] .verdict { border: 1px solid var(--review); color: var(--review); }
.slip[data-v="DENY"] .verdict { border: 2px solid var(--deny); color: var(--deny); transform: rotate(-4deg); }
.slip[data-v="COULD_NOT_READ"] .verdict { border: 1px dashed var(--unread); color: var(--text); }
.slip .summary { font-size: 14px; color: #D2D2CC; margin: 12px 0 0; min-height: 1.6em; }
.slip .foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.slip .foot .small a { color: var(--muted); }
.examples { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; }
.examples button { font: 500 13px/1 var(--sans); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; cursor: pointer; }
.examples button:hover { color: var(--text); border-color: var(--line-2); }
@media (prefers-reduced-motion: reduce) { .slip[data-v="ALLOW"] .sigline .ink path { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 460px) { .fields .two { grid-template-columns: 1fr; } .slip { padding: 18px 16px 14px; } .slip::before { left: 16px; right: 16px; } }

/* the sequence */
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--line-2); padding-top: 18px; }
.steps li::before { content: counter(s); display: block; font: 600 40px/1 var(--serif); font-feature-settings: 'lnum' 1; color: var(--neon); margin-bottom: 12px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: #D2D2CC; font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.analogy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.analogy blockquote { margin: 0; font: italic 500 clamp(24px, 2.6vw, 32px)/1.3 var(--serif); color: var(--text); border-left: 2px solid var(--neon); padding-left: 20px; }
@media (max-width: 820px) { .analogy { grid-template-columns: minmax(0, 1fr); } }

/* table of checks */
.tbl { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.tbl th { font: 600 13px/1.3 var(--sans); color: var(--muted); }
.tbl td:first-child { font-weight: 600; white-space: nowrap; padding-right: 22px; }
.tbl td.src { color: var(--muted); font-size: 14px; }
.tbl td, .tbl td code { overflow-wrap: anywhere; }
.tbl .tag { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); margin: 0 4px 4px 0; white-space: nowrap; }
.tbl .tag.d { border-color: var(--deny); color: var(--deny); }
.tbl .tag.r { border-color: var(--review); color: var(--review); }
@media (max-width: 760px) {
  .tbl thead { display: none; }
  .tbl tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tbl td { display: block; border: 0; padding: 2px 0; }
  .tbl td:first-child { white-space: normal; font-size: 17px; margin-bottom: 4px; }
}
.notcovered { margin-top: 22px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 10px; color: #D2D2CC; font-size: 15px; max-width: 80ch; }

/* code */
.code { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .code { grid-template-columns: minmax(0, 1fr); } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 0; overflow-x: auto; }
.tabs button { font: 500 14px/1 var(--sans); color: var(--muted); background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 12px 14px; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--neon); }
pre { margin: 0; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; overflow-x: auto;
  font: 400 13.5px/1.6 var(--mono); color: #E6E6E0; tab-size: 2; }
pre .c { color: var(--faint); }
pre .k { color: var(--neon); }
pre .s { color: #CFE3A8; }
.copy { float: right; font: 500 12px/1 var(--sans); color: var(--muted); background: transparent; border: 1px solid var(--line-2); border-radius: 6px; padding: 6px 9px; cursor: pointer; margin: -6px -6px 0 8px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 32px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.plan { padding: 26px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.plan:last-child { border-right: 0; }
.plan.pick { background: var(--paper); }
.plan h3 { font-size: 28px; }
.plan .price { font: 600 44px/1 var(--serif); font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; }
.plan .price small { font: 400 15px/1 var(--sans); color: var(--muted); margin-left: 4px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: #D9D9D3; }
.plan ul li { padding-left: 20px; position: relative; }
.plan ul li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 8px; height: 4px; border-left: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); }
.plan.pick ul li::before { border-color: var(--neon); }
.plan .btn { margin-top: auto; width: 100%; }
.plan .who { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan { border-right: 0; border-bottom: 1px solid var(--line); } .plan:last-child { border-bottom: 0; } }
.x402 { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.x402 b { font: 600 22px/1 var(--serif); font-feature-settings: 'lnum' 1; }
.msg { font-size: 15px; margin-top: 12px; min-height: 1.5em; overflow-wrap: anywhere; }
.msg.err { color: var(--deny); }

/* details (fine print folded: AIs read it anyway) */
details { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; padding: 18px 0; font: 600 18px/1.35 var(--sans); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: '–'; }
details > div { padding: 0 0 18px; color: #D2D2CC; max-width: var(--measure); }
.faq { max-width: 860px; margin-top: 18px; border-top: 1px solid var(--line); }

/* footer */
.foot-site { border-top: 1px solid var(--line); padding: 36px 0 56px; color: var(--muted); font-size: 14px; }
.foot-site .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.foot-site a { color: var(--muted); }

/* account + docs */
.panel { border-top: 1px solid var(--line); padding: 28px 0; }
.panel h2 { font-size: 30px; margin-bottom: 12px; }
.meter { height: 8px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; max-width: 520px; margin: 10px 0 6px; }
.meter > i { display: block; height: 100%; background: var(--neon); width: 0; }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list li { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list .addr { font-family: var(--mono); font-size: 13.5px; overflow-wrap: anywhere; }
.list .empty { color: var(--muted); justify-content: flex-start; }
.mini { min-height: 36px; padding: 0 14px; font-size: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; max-width: 720px; }
@media (max-width: 620px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--neon); margin-top: 2px; }
.keybox { font: 500 15px/1.5 var(--mono); padding: 14px; border: 1px solid var(--neon); border-radius: 10px; overflow-wrap: anywhere; background: var(--paper); }
.logt { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.logt td.mono { white-space: nowrap; }
.logt th, .logt td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.logt th { color: var(--muted); font-weight: 600; font-size: 13px; }
.logt td.mono { font-size: 12.5px; }
.scroll { overflow-x: auto; }
.v-ALLOW { color: var(--neon); } .v-REVIEW { color: var(--review); } .v-DENY { color: var(--deny); } .v-COULD_NOT_READ { color: var(--text); }
.doc h2 { margin-top: 8px; }
.doc h3 { margin: 28px 0 10px; font-size: 24px; }
.doc pre { border-top: 1px solid var(--line); border-radius: 12px; margin: 10px 0 18px; }
.doc .tbl td:first-child { font-family: var(--mono); font-size: 13.5px; font-weight: 500; }
