:root {
  --ink: #17150f;
  --ink-soft: #4f4a3c;
  --paper: #f4f0e5;
  --paper-dark: #e8e1d0;
  --amber: #ffb000;
  --amber-light: #ffd36d;
  --green: #b9f37c;
  --line: rgba(23, 21, 15, .18);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: white; }
.skip:focus { top: 12px; }

.nav { height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 11px; align-items: center; color: inherit; text-decoration: none; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: -.03em; }
.brand-mark { position: relative; display: inline-grid; place-items: center; width: 26px; height: 20px; border: 2px solid currentColor; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 14px; height: 2px; background: currentColor; top: 7px; }
.brand-mark::before { left: -1px; transform: rotate(34deg); transform-origin: left; }
.brand-mark::after { right: -1px; transform: rotate(-34deg); transform-origin: right; }
.brand-mark i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); right: -5px; top: -5px; box-shadow: 0 0 0 3px var(--paper); }
.nav nav { display: flex; gap: 28px; align-items: center; font-family: var(--mono); font-size: 12px; }
.nav nav a { text-decoration: none; }
.nav nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta { padding: 10px 14px; border: 1px solid var(--ink); }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 9vw; align-items: center; padding-block: 76px 92px; }
.eyebrow, .kicker { margin: 0 0 22px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #44a21b; box-shadow: 0 0 0 4px rgba(68,162,27,.13); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-size: clamp(52px, 7vw, 100px); line-height: .92; letter-spacing: -.075em; font-weight: 800; }
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 2px var(--ink); }
@supports not (-webkit-text-stroke: 2px black) { h1 em { color: var(--ink); } }
.lede { max-width: 650px; margin-bottom: 32px; color: var(--ink-soft); font-size: clamp(18px, 2vw, 23px); line-height: 1.45; letter-spacing: -.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; padding: 0 20px; align-items: center; justify-content: center; border: 1px solid var(--ink); text-decoration: none; font-family: var(--mono); font-size: 12px; font-weight: 700; transition: transform .15s, box-shadow .15s, background .15s; }
.button:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); }
.button.primary { color: var(--ink); background: var(--amber); }
.button.secondary { background: transparent; }
.microcopy { margin: 17px 0 0; color: #6a6350; font-family: var(--mono); font-size: 11px; }

.inbox-card { width: min(100%, 380px); justify-self: end; background: var(--ink); box-shadow: 18px 18px 0 var(--amber); transform: rotate(1.5deg); }
.card-top { display: flex; height: 43px; padding: 0 15px; align-items: center; justify-content: space-between; color: #afa991; border-bottom: 1px solid #3b382e; font-family: var(--mono); font-size: 10px; }
.window-dots { display: flex; gap: 5px; }
.window-dots span { width: 6px; height: 6px; border-radius: 50%; background: #5b5749; }
.window-dots span:first-child { background: var(--amber); }
.receipt { position: relative; margin: 18px; padding: 30px 28px 22px; overflow: hidden; background: #fffdf5; }
.receipt::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: repeating-linear-gradient(90deg, transparent 0 6px, var(--ink) 6px 8px); opacity: .15; }
.receipt-stamp { position: absolute; right: 22px; top: 22px; padding: 3px 7px; border: 2px solid #4a8e20; color: #4a8e20; font-family: var(--mono); font-weight: 800; transform: rotate(-7deg); }
.receipt-key { margin-bottom: 8px; color: #6a6350; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; }
.receipt-address { margin-bottom: 24px; font-family: var(--mono); font-size: 19px; font-weight: 700; line-height: 1.35; word-break: break-all; }
.rule { border-top: 1px dashed #a59e8c; }
.receipt dl { margin: 17px 0; font-family: var(--mono); font-size: 10px; }
.receipt dl div { display: flex; padding: 4px 0; justify-content: space-between; }
.receipt dt { color: #6a6350; }
.receipt dd { margin: 0; font-weight: 700; }
.token-line { display: flex; padding: 11px; justify-content: space-between; background: #ece7d9; font-family: var(--mono); font-size: 10px; }
.token-line code { font-size: 10px; }
.receipt-foot { margin: 18px 0 0; text-align: center; color: #6a6350; font-family: var(--mono); font-size: 10px; }

.ticker { overflow: hidden; padding: 13px 0; color: var(--paper); background: var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.ticker div { display: flex; width: max-content; min-width: 100%; justify-content: space-around; gap: 34px; padding-inline: 24px; }
.ticker b { color: var(--amber); }

.section { padding-block: 118px; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 760px; }
.section-heading h2 { margin-bottom: 24px; font-size: clamp(38px, 5vw, 65px); line-height: .99; letter-spacing: -.055em; }
.section-heading > p:last-of-type { max-width: 630px; color: var(--ink-soft); font-size: 18px; }
.steps { margin: 70px 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.steps li { display: grid; grid-template-columns: 90px 1fr; padding: 30px 0; border-bottom: 1px solid var(--line); }
.step-number { color: #6a6350; font-family: var(--mono); font-size: 11px; }
.steps h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.025em; }
.steps p { max-width: 680px; margin: 0; color: var(--ink-soft); }

.code-section { color: var(--paper); background: var(--ink); }
.code-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; align-items: start; }
.inverse > p:last-of-type { color: #aaa38e; }
.doc-links { display: grid; gap: 10px; margin-top: 38px; }
.doc-links a { padding: 12px 0; border-bottom: 1px solid #3b382e; color: var(--amber-light); font-family: var(--mono); font-size: 11px; text-decoration: none; }
.doc-links a span { float: right; }
.terminal { min-width: 0; border: 1px solid #4b473a; background: #0d0c09; box-shadow: 12px 12px 0 #29261e; }
.terminal-bar { display: flex; min-height: 43px; padding: 0 14px; align-items: center; justify-content: space-between; border-bottom: 1px solid #373329; color: #8d8775; font-family: var(--mono); font-size: 10px; }
.copy { padding: 5px 9px; color: var(--paper); border: 1px solid #4b473a; background: transparent; font: inherit; cursor: pointer; }
.copy:hover { border-color: var(--amber); color: var(--amber); }
.terminal pre { margin: 0; padding: 28px; overflow: auto; font: 12px/1.75 var(--mono); }
.terminal code { font-family: inherit; }
.comment { color: #777160; }
.cmd, .key { color: var(--amber-light); }
.string { color: var(--green); }

.split-heading { display: grid; max-width: none; grid-template-columns: 1fr 1fr; gap: 10vw; align-items: end; }
.split-heading > p { margin-bottom: 28px; }
.endpoint-list { margin-top: 70px; border-top: 1px solid var(--ink); }
.endpoint { display: grid; grid-template-columns: 78px 1fr 90px 70px; gap: 16px; align-items: center; min-height: 78px; border-bottom: 1px solid var(--line); }
.endpoint code { overflow: hidden; font: 12px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.endpoint p { margin: 0; color: #6a6350; font-size: 12px; text-align: right; }
.method { width: fit-content; padding: 4px 7px; font: 700 10px var(--mono); }
.method.post { color: #5a3b00; background: #ffd875; }
.method.get { color: #154c34; background: #aee5c6; }
.method.delete { color: #721e1e; background: #f0b0a7; }
.endpoint-note { color: #6a6350; font: 10px var(--mono); text-align: right; }
.endpoint-note.paid { color: var(--ink); font-weight: 700; }

.trust-section { background: var(--paper-dark); }
.centered { margin-inline: auto; text-align: center; }
.centered > p:last-of-type { margin-inline: auto; }
.guard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 65px; border: 1px solid var(--line); background: var(--line); }
.guard-grid article { min-height: 285px; padding: 28px; background: var(--paper-dark); }
.guard-icon { display: grid; width: 42px; height: 42px; margin-bottom: 55px; place-items: center; border: 1px solid var(--ink); font: 700 12px var(--mono); }
.guard-grid h3 { margin-bottom: 12px; font-size: 17px; }
.guard-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.final-cta { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.final-cta h2 { margin: 0; font-size: clamp(48px, 7vw, 86px); line-height: .92; letter-spacing: -.065em; }
.button.large { min-height: 58px; padding-inline: 28px; }
.final-cta > div:last-child p { margin: 14px 0 0; color: #6a6350; font: 10px var(--mono); text-align: center; }

footer { padding-block: 44px; color: #c5bfac; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr 2fr auto; gap: 30px; align-items: center; }
.footer-brand { color: var(--paper); }
.footer-brand .brand-mark i { box-shadow: 0 0 0 3px var(--ink); }
footer p { margin: 0; font-size: 12px; }
footer nav { display: flex; gap: 18px; justify-content: flex-end; font: 10px var(--mono); }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--amber); }
.copyright { font: 10px var(--mono); white-space: nowrap; }

.legal { min-height: 70vh; padding-block: 80px 120px; }
.legal h1 { max-width: 780px; font-size: clamp(48px, 7vw, 82px); }
.legal .updated { color: #6a6350; font: 10px var(--mono); }
.legal article { max-width: 760px; margin-top: 65px; }
.legal article h2 { margin-top: 48px; font-size: 24px; letter-spacing: -.03em; }
.legal article p, .legal article li { color: var(--ink-soft); }
.legal article li + li { margin-top: 9px; }

.content-hero { padding-block: 92px 88px; border-bottom: 1px solid var(--line); }
.content-hero h1 { max-width: 980px; }
.content-hero .lede { max-width: 760px; }
.status-chip { display: inline-flex; margin-bottom: 28px; padding: 7px 10px; border: 1px solid var(--ink); background: var(--amber-light); font: 700 10px var(--mono); text-transform: uppercase; }
.content-section { padding-block: 88px; border-bottom: 1px solid var(--line); }
.content-section h2 { max-width: 760px; margin-bottom: 24px; font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -.05em; }
.content-section > p { max-width: 760px; color: var(--ink-soft); font-size: 18px; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; border: 1px solid var(--line); background: var(--line); }
.use-case-grid article { min-height: 230px; padding: 28px; background: var(--paper); }
.use-case-grid .number { display: block; margin-bottom: 50px; color: #6a6350; font: 10px var(--mono); }
.use-case-grid h3 { margin-bottom: 12px; font-size: 19px; }
.use-case-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.product-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border: 1px solid var(--ink); }
.product-facts div { padding: 24px; border-right: 1px solid var(--line); }
.product-facts div:last-child { border-right: 0; }
.product-facts dt { margin-bottom: 10px; color: #6a6350; font: 10px var(--mono); text-transform: uppercase; }
.product-facts dd { margin: 0; font-size: 18px; font-weight: 700; }
.comparison { width: 100%; margin-top: 45px; border-collapse: collapse; }
.comparison th, .comparison td { padding: 18px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { background: var(--paper-dark); font: 700 11px var(--mono); text-transform: uppercase; }
.comparison td:first-child { width: 27%; font-weight: 700; }
.flow-list { max-width: 880px; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.flow-list li { display: grid; grid-template-columns: 70px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.flow-list span { color: #6a6350; font: 10px var(--mono); }
.flow-list h3 { margin-bottom: 7px; }
.flow-list p { margin: 0; color: var(--ink-soft); }
.resource-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.resource-links a { padding: 12px 15px; border: 1px solid var(--ink); font: 700 11px var(--mono); text-decoration: none; }
.resource-links a:hover { color: var(--paper); background: var(--ink); }

@media (max-width: 900px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .inbox-card { justify-self: start; margin-top: 30px; }
  .code-grid, .split-heading { grid-template-columns: 1fr; }
  .terminal { margin-top: 22px; }
  .guard-grid { grid-template-columns: 1fr 1fr; }
  .use-case-grid { grid-template-columns: 1fr; }
  .product-facts { grid-template-columns: 1fr 1fr; }
  .product-facts div:nth-child(2) { border-right: 0; }
  .product-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  footer nav { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 24px, 1180px); }
  .nav { height: 70px; }
  .nav-cta { padding: 8px 10px; }
  .hero { min-height: 0; padding-block: 56px 76px; gap: 25px; }
  h1 { font-size: 52px; }
  h1 em { -webkit-text-stroke-width: 1.5px; }
  .inbox-card { width: calc(100% - 12px); box-shadow: 10px 10px 0 var(--amber); }
  .receipt { margin: 12px; padding-inline: 20px; }
  .ticker div span:nth-of-type(n+4), .ticker div b:nth-of-type(n+4) { display: none; }
  .section { padding-block: 82px; }
  .steps li { grid-template-columns: 50px 1fr; }
  .terminal pre { padding: 20px 15px; font-size: 10px; }
  .endpoint { grid-template-columns: 62px 1fr 62px; min-height: 70px; gap: 8px; }
  .endpoint p { display: none; }
  .endpoint code { font-size: 10px; }
  .guard-grid { grid-template-columns: 1fr; }
  .product-facts { grid-template-columns: 1fr; }
  .product-facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .product-facts div:last-child { border-bottom: 0; }
  .comparison { font-size: 12px; }
  .comparison th, .comparison td { padding: 11px; }
  .guard-grid article { min-height: auto; }
  .guard-icon { margin-bottom: 30px; }
  .final-cta { grid-template-columns: 1fr; }
  .final-cta > div:last-child { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  footer nav { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
