/* agol_fdw promo — design tokens, reset, typography, primitives */
:root {
  --ink: #0A1628;
  --bg: #0F1E33;
  --surface: #15294A;
  --surface-2: #1B335A;
  --cyan: #22D3EE;
  --cyan-bright: #67E8F9;
  --cyan-dim: rgba(34, 211, 238, 0.14);
  --text: #E5EDF7;
  --muted: #8FA3C2;
  --border: #243A5E;
  --ok: #34D399;
  --wip: #FBBF24;
  --danger: #F87171;

  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1080px;
  --maxw-prose: 760px;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 0 1px rgba(34, 211, 238, 0.25), 0 12px 40px rgba(34, 211, 238, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0 0 0.6em; }
h3 { font-size: 1.25rem; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-bright); }
code, pre, kbd { font-family: var(--mono); }

.wordmark {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.wordmark .sep { color: var(--cyan); }

/* layout helpers */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.prose { max-width: var(--maxw-prose); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 600; color: var(--cyan); margin: 0 0 12px;
}
.muted { color: var(--muted); }
.center { text-align: center; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.98rem; cursor: pointer;
  border: 1px solid transparent; transition: all 0.15s ease;
  text-decoration: none;
}
.btn--primary { background: var(--cyan); color: var(--ink); }
.btn--primary:hover { background: var(--cyan-bright); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan-bright); }

/* badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px;
  border: 1px solid transparent;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--ok { color: var(--ok); background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.35); }
.badge--wip { color: var(--wip); background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.35); }

/* cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card--hover:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-glow);
}
.card .icon { color: var(--cyan); margin-bottom: 12px; }

/* code blocks */
pre {
  background: var(--ink); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 20px; overflow-x: auto;
  font-size: 0.9rem; line-height: 1.55;
}
pre code { color: var(--text); }
:not(pre) > code {
  background: var(--surface); border: 1px solid var(--border);
  padding: 2px 6px; border-radius: 4px; font-size: 0.88em; color: var(--cyan-bright);
}
.code-comment { color: var(--muted); }
.code-kw { color: var(--cyan-bright); }
.code-str { color: var(--ok); }

/* grid */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* utility */
hr.rule { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.lead { font-size: 1.15rem; color: var(--muted); }
.list-checks { list-style: none; padding: 0; margin: 0 0 1em; }
.list-checks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.list-checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--cyan); font-weight: 700;
}
