:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --ink: #10110f;
  --muted: #64665f;
  --line: #c9c6bc;
  --signal: #26d36b;
  --signal-dark: #087a37;
  --black: #11130f;
  --white: #fbfaf6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button, .button { cursor: pointer; }

.site-header, footer { display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(20px, 5vw, 76px); border-bottom: 1px solid var(--line); }
.wordmark { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.wordmark span { color: var(--signal-dark); }
.site-header nav, footer nav { display: flex; gap: clamp(16px, 3vw, 38px); align-items: center; font-family: ui-monospace, monospace; font-size: 13px; }
.site-header nav a, .link-button { text-decoration: none; border: 0; border-bottom: 1px solid transparent; background: none; padding: 0; color: inherit; }
.site-header nav a:hover, .link-button:hover { border-bottom-color: currentColor; }
.inline { display: inline; }

.hero { min-height: 710px; display: grid; grid-template-columns: minmax(0, .93fr) minmax(480px, 1.07fr); gap: clamp(40px, 6vw, 110px); align-items: center; padding: 72px clamp(20px, 5vw, 76px) 90px; overflow: hidden; }
.eyebrow { font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; color: var(--signal-dark); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-size: clamp(52px, 6.8vw, 104px); line-height: .9; letter-spacing: -.075em; margin: 26px 0 35px; font-weight: 780; }
.hero h1 em { font-family: Georgia, serif; font-weight: 400; }
.lede { max-width: 650px; color: #3f413c; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.55; }
.hero-actions { display: flex; gap: 26px; align-items: center; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); padding: 13px 18px; text-decoration: none; font: 700 13px/1 ui-monospace, monospace; min-height: 45px; }
.button.primary { background: var(--ink); color: var(--white); box-shadow: 5px 5px 0 var(--signal); }
.button.primary:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--signal); }
.button.secondary { background: transparent; }
.text-link { font: 700 13px/1 ui-monospace, monospace; }
.terminal-wrap { background: var(--black); color: #e7e8df; box-shadow: 18px 18px 0 #d4d0c4; transform: rotate(-1deg); animation: terminal-in .7s cubic-bezier(.2,.8,.2,1) both; }
.terminal-bar { display: flex; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid #383a34; color: #989b91; font: 11px/1 ui-monospace, monospace; }
.terminal-wrap pre { margin: 0; min-height: 390px; display: flex; align-items: center; padding: clamp(22px, 4vw, 55px); white-space: pre-wrap; font: clamp(12px, 1.15vw, 16px)/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal-wrap strong { color: white; }
.terminal-wrap .muted { color: #8e9188; }
.signal { color: var(--signal); font-weight: 800; }
.cursor { background: var(--signal); color: #07150b; padding: 1px 4px; animation: blink 1s steps(2) infinite; }

.protocol, .pricing, .access { border-top: 1px solid var(--line); padding: 110px clamp(20px, 7vw, 110px); }
.protocol, .access { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 10vw, 170px); }
.section-heading h2, .access h2 { font-size: clamp(40px, 5vw, 72px); line-height: .98; letter-spacing: -.06em; }
.section-heading > p:last-child { max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li > span { font: 700 12px ui-monospace, monospace; color: var(--signal-dark); }
.steps h3 { font-size: 25px; margin-bottom: 9px; }
.steps p { color: var(--muted); line-height: 1.55; max-width: 600px; }
.data-strip { display: flex; justify-content: space-around; gap: 28px; overflow: auto; padding: 18px 24px; white-space: nowrap; background: var(--ink); color: var(--signal); font: 700 11px/1 ui-monospace, monospace; letter-spacing: .1em; }
.pricing .section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 65px; }
.pricing .section-heading h2 { margin-bottom: 0; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.price-grid article { padding: clamp(35px, 5vw, 76px); min-height: 370px; display: flex; flex-direction: column; align-items: start; }
.price-grid article + article { border-left: 1px solid var(--ink); }
.price-grid .featured { background: #dfffcc; }
.pack { font: 700 12px ui-monospace, monospace; letter-spacing: .14em; }
.price { font-size: clamp(68px, 8vw, 124px); line-height: 1; letter-spacing: -.08em; margin: 35px 0; }
.price sup { font-size: .3em; vertical-align: top; }
.price-grid article > a { margin-top: auto; font: 700 13px ui-monospace, monospace; }
.access { background: var(--white); }
.access > div > p:last-child { color: var(--muted); max-width: 560px; line-height: 1.6; }
.access-form { align-self: center; }
.access-form label, .token-form label span { display: block; margin-bottom: 9px; font: 700 12px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }
.field-row { display: flex; }
input { width: 100%; border: 1px solid var(--ink); border-radius: 0; background: transparent; padding: 14px 16px; min-height: 47px; }
input:focus { outline: 3px solid rgba(38, 211, 107, .5); outline-offset: 1px; }
.field-row .button { box-shadow: none; white-space: nowrap; }
.cf-turnstile { margin-top: 18px; }
.notice { padding: 14px 16px; border: 1px solid var(--line); margin: 18px 0; font-size: 14px; }
.notice.success { border-color: var(--signal-dark); background: #e4f7e9; }
.notice.error { border-color: #a53124; background: #f7e8e4; }

footer { border-top: 1px solid var(--line); border-bottom: 0; align-items: end; padding-top: 50px; padding-bottom: 50px; }
footer p { color: var(--muted); font-size: 13px; margin: 8px 0 0; }

.console { padding: 55px clamp(20px, 5vw, 76px) 100px; }
.console-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 50px; }
.console-head h1 { font-size: clamp(70px, 10vw, 145px); letter-spacing: -.08em; line-height: .82; margin: 28px 0; }
.console-head h1 small { display: block; font: 600 18px/1.4 ui-monospace, monospace; letter-spacing: 0; color: var(--muted); margin-top: 20px; }
.console-head > div > p:last-child, .buy-credits > p { color: var(--muted); }
.buy-credits > div { display: flex; gap: 12px; }
.console-section, .reveal { border-top: 1px solid var(--ink); padding: 38px 0 55px; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 28px; }
.section-title h2, .reveal h2 { font-size: clamp(32px, 4vw, 56px); letter-spacing: -.05em; margin-bottom: 0; }
.section-title > p { color: var(--muted); max-width: 410px; }
.token-form { display: flex; gap: 10px; align-items: end; min-width: min(100%, 480px); }
.token-form label { flex: 1; }
.token-form input { min-width: 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font: 700 11px ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
th, td { padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.fingerprint { display: block; margin-bottom: 6px; font-size: 12px; white-space: nowrap; }
.status { font: 800 10px ui-monospace, monospace; letter-spacing: .08em; }
.status.sent { color: var(--signal-dark); }
.status.failed { color: #a53124; }
.status.queued, .status.sending { color: #885800; }
.status.unknown { color: #7251a1; }
.small-button { background: transparent; border: 1px solid var(--line); padding: 6px 9px; font: 700 11px ui-monospace, monospace; }
.empty { color: var(--muted); text-align: center; padding: 36px; }
.muted-copy { color: var(--muted); }
.reveal { background: #dfffcc; margin: -55px calc(clamp(20px, 5vw, 76px) * -1) 55px; padding: 45px clamp(20px, 5vw, 76px); border-top: 0; }
.secret-line, .code-block > div { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.secret-line { border: 1px solid var(--ink); padding: 13px 16px; background: var(--white); }
.secret-line code { overflow-wrap: anywhere; }
.secret-line button, .code-block button { border: 0; background: transparent; text-decoration: underline; font: 700 11px ui-monospace, monospace; white-space: nowrap; }
.code-block { margin-top: 22px; background: var(--ink); color: var(--white); }
.code-block > div { padding: 12px 16px; border-bottom: 1px solid #383a34; color: #a8aaa1; font: 11px ui-monospace, monospace; }
.code-block button { color: var(--signal); }
.code-block pre { margin: 0; padding: 22px; overflow: auto; max-height: 520px; font-size: 12px; line-height: 1.6; }

.legal, .error-page { min-height: 70vh; padding: 90px clamp(20px, 18vw, 300px); }
.legal article { max-width: 850px; }
.legal h1, .error-page h1 { font-size: clamp(50px, 7vw, 100px); letter-spacing: -.07em; line-height: .95; }
.legal h2 { margin-top: 50px; font-size: 24px; }
.legal p { line-height: 1.75; color: #41433e; }
.legal-date { font: 12px ui-monospace, monospace; }

@keyframes terminal-in { from { opacity: 0; transform: translateY(24px) rotate(-1deg); } }
@keyframes blink { 50% { opacity: .35; } }

@media (max-width: 900px) {
  .hero, .protocol, .access { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .terminal-wrap { transform: none; }
  .pricing .section-heading, .console-head, .section-title { align-items: start; flex-direction: column; }
  .price-grid { grid-template-columns: 1fr; }
  .price-grid article + article { border-left: 0; border-top: 1px solid var(--ink); }
  .console-head { align-items: start; }
}

@media (max-width: 620px) {
  .site-header nav a:not(:last-child), .site-header nav form:not(:last-child) { display: none; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: 53px; }
  .field-row, .token-form, .buy-credits > div { flex-direction: column; align-items: stretch; }
  .terminal-wrap pre { min-height: 330px; font-size: 11px; }
  footer { align-items: start; flex-direction: column; gap: 30px; }
  footer nav { flex-wrap: wrap; }
}

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