:root {
  color-scheme: dark;
  --ink: #171a16;
  --ink-2: #292e28;
  --paper: #f5f2e9;
  --muted: #aeb4aa;
  --line: rgb(245 242 233 / 0.16);
  --acid: #d7ff43;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: #0c0e0c; }

body {
  min-height: 100vh;
  max-width: 800px;
  margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 52px) 40px;
  background:
    radial-gradient(circle at 18% 8%, rgb(215 255 67 / 0.09), transparent 25rem),
    linear-gradient(145deg, #111410, #1d211c);
  color: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 0.2em; }

a:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
  border-radius: 3px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand img { display: block; border-radius: 10px; }

.brand span { display: grid; gap: 2px; }

.brand strong { font-size: 1rem; line-height: 1; letter-spacing: -0.02em; }

.brand small,
.eyebrow,
.section-label,
.status {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand small { color: var(--muted); }

.status {
  padding: 5px 8px;
  border: 1px solid rgb(215 255 67 / 0.34);
  border-radius: 999px;
  color: var(--acid);
  white-space: nowrap;
}

main { padding: clamp(54px, 9vw, 86px) 0 48px; }

.eyebrow,
.section-label { margin: 0 0 10px; color: var(--acid); }

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h2 {
  margin: 0 0 9px;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p { margin: 0; color: #d6d9d2; }

.lede {
  max-width: 680px;
  margin-top: 26px;
  color: var(--paper);
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
}

section,
.cards { margin-top: 34px; }

section p + p { margin-top: 12px; }

.notice,
.endpoint,
.cards section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(0 0 0 / 0.16);
}

.notice { border-color: rgb(215 255 67 / 0.36); }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cards section { margin: 0; }

code {
  display: block;
  overflow-wrap: anywhere;
  margin: 13px 0;
  padding: 12px 14px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--acid);
  font: 700 0.85rem/1.5 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

footer {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }

footer p { margin-top: 16px; color: var(--muted); }

@media (max-width: 600px) {
  body { padding-top: 20px; }
  .cards { grid-template-columns: 1fr; }
  .status { font-size: 0.62rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
