@font-face {
  font-family: 'VTCDuBois';
  src: url('https://wgfdjv2jfqz2dlpx.public.blob.vercel-storage.com/fonts/VTCDuBois-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'VTCDuBois';
  src: url('https://wgfdjv2jfqz2dlpx.public.blob.vercel-storage.com/fonts/VTCDuBois-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg:        light-dark(#ffffff, #0a0a0a);
  --surface:   light-dark(#fafafa, #141414);
  --surface-2: light-dark(#f4f4f4, #1c1c1c);
  --border:    light-dark(#e4e4e4, #262626);
  --text:      light-dark(#0a0a0a, #fafafa);
  --muted:     light-dark(#525252, #a3a3a3);
  --dim:       light-dark(#737373, #737373);
  --accent:    light-dark(#0a0a0a, #ffffff);
  --accent-inv:light-dark(#ffffff, #0a0a0a);
  --green:     #00c853;
  --radius: 10px;
  --mono: ui-monospace, 'Geist Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  --display: 'VTCDuBois', ui-serif, Georgia, serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s; }
a:hover { border-bottom-color: var(--text); }

code { font-family: var(--mono); font-size: 0.92em; }
:not(pre) > code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: baseline; gap: 6px; border: none !important; }
.brand .dollar { font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--green); }
.brand .logo { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.nav nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--text); }

/* ---------- Layout ---------- */
main { max-width: 1040px; margin: 0 auto; padding: 0 32px; }
.section { padding: 72px 0; border-top: 1px solid var(--border); }
.section:first-of-type { border-top: none; }

.hero { padding: 100px 0 80px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px;
  color: var(--muted); margin: 0 0 18px; font-family: var(--mono);
}
h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
h1 .dim { color: var(--muted); font-weight: 400; }
.lede { font-size: 18px; color: var(--muted); max-width: 64ch; margin: 0 0 28px; }

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}

.cta { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center;
  padding: 10px 16px;
  font-family: var(--mono); font-size: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: all .15s;
}
.btn:hover { background: var(--surface-2); border-color: var(--text); }
.btn.primary {
  background: var(--accent); color: var(--accent-inv); border-color: var(--accent);
}
.btn.primary:hover { opacity: .88; }

/* ---------- Terminal ---------- */
.term, .code {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.65;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  overflow-x: auto;
  color: var(--text);
  white-space: pre;
}
.term code, .code code { font-size: inherit; background: none; border: none; padding: 0; }
.dim { color: var(--dim); }
.k { color: light-dark(#9333ea, #c084fc); }
.s { color: light-dark(#16a34a, #86efac); }
.c { color: var(--muted); font-style: italic; }

/* ---------- Cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
  transition: border-color .15s;
}
.card:hover { border-color: var(--text); }
.card .row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.card code { font-size: 13px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }
.method {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  padding: 2px 7px; border-radius: 4px; letter-spacing: .05em;
}
.method.post { background: #3b82f6; color: white; }
.method.get  { background: #10b981; color: white; }
.price {
  margin-left: auto;
  font-family: var(--mono); font-size: 12px;
  padding: 3px 8px; border-radius: 4px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--muted);
}
.price.free { color: var(--green); }

/* ---------- Pay grid ---------- */
.pay-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px; margin-top: 20px;
}
.pill {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: var(--mono); font-size: 13px;
  color: var(--muted);
}

/* ---------- Steps ---------- */
.steps {
  counter-reset: step;
  list-style: none; padding: 0; margin: 0 0 20px;
}
.steps li {
  counter-increment: step;
  padding: 14px 16px 14px 50px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 8px;
  color: var(--muted);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  background: var(--accent); color: var(--accent-inv);
  border-radius: 50%;
}
.steps li strong { color: var(--text); }

/* ---------- Footer ---------- */
footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding: 32px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--muted); font-size: 13px; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono);
}
footer .dollar { color: var(--green); font-weight: 700; }
footer code { font-size: 11px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--text); }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .nav { padding: 12px 16px; }
  .nav nav { gap: 14px; font-size: 13px; }
  main { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  .term, .code { font-size: 12px; padding: 14px; }
}
