* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --border: #334155;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --dim: #64748b;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --green: #10b981;
  --orange: #f59e0b;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .875em;
  background: var(--surface);
  padding: .125rem .375rem;
  border-radius: .25rem;
  border: 1px solid var(--border);
}

.hero {
  text-align: center;
  padding: 6rem 1.5rem 3rem;
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: .5rem; }
.hero h1 span { color: var(--accent); }
.hero .tagline { font-size: 1.25rem; color: var(--muted); margin-bottom: 1rem; font-weight: 400; }
.hero .comparison { font-size: .9rem; color: var(--dim); margin-bottom: 2rem; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--orange);
  background: rgba(245, 158, 11, .1);
  border: 1px solid rgba(245, 158, 11, .3);
  padding: .3rem .7rem;
  border-radius: 999px;
  margin: 0 auto 2rem;
}

.code-block {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: .5rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: .85rem;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre-wrap;
  margin: 0 auto;
  max-width: 640px;
}
.code-block .comment { color: #6a737d; }
.code-block .key { color: #79c0ff; }
.code-block .val { color: #a5d6ff; }
.code-block .str { color: #7ee787; }

section { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem; }
section h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
section > p.intro { color: var(--muted); margin-bottom: 1.5rem; }

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: .375rem;
  padding: .9rem 1.1rem;
  font-size: .85rem;
  color: var(--muted);
  margin-top: 1.25rem;
}

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.5rem; }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: .5rem; padding: 1.25rem; }
.card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.card p { font-size: .875rem; color: var(--muted); line-height: 1.5; }

.how-it-works { counter-reset: step; }
.step { display: flex; gap: 1.25rem; margin-bottom: 2rem; align-items: flex-start; }
.step-num {
  counter-increment: step;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  margin-top: .15rem;
}
.step-content h3 { font-size: 1rem; font-weight: 600; margin-bottom: .25rem; }
.step-content p { font-size: .875rem; color: var(--muted); }
.step-content code { font-size: .8rem; }

.fields-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .875rem; }
.fields-table th {
  text-align: left;
  padding: .625rem .75rem;
  border-bottom: 2px solid var(--border);
  color: var(--muted);
  font-weight: 500;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.fields-table td { padding: .625rem .75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.fields-table td:first-child { font-family: 'JetBrains Mono', monospace; font-size: .8rem; color: var(--accent); white-space: nowrap; }
.req { color: var(--orange); font-size: .7rem; font-weight: 600; text-transform: uppercase; }
.rec { color: var(--green); font-size: .7rem; font-weight: 600; text-transform: uppercase; }

.example-tabs { margin-top: 2rem; }
.example-tabs h3 { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; color: var(--muted); }
.example-tabs .code-block { margin-bottom: 1.5rem; font-size: .8rem; }

.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.faq-item p { font-size: .875rem; color: var(--muted); }

.cta-section { text-align: center; padding-top: 1rem; }
.cta-section p.intro { max-width: 480px; margin: 0 auto 2rem; }
.cta-code { max-width: 580px; text-align: left; }

footer { text-align: center; padding: 3rem 1.5rem; font-size: .8rem; color: var(--dim); border-top: 1px solid var(--border); margin-top: 2rem; }
footer a { color: var(--dim); }
footer a:hover { color: var(--muted); }
