:root {
  --bg: #0c0e12;
  --bg-elev: #141820;
  --text: #e8eaef;
  --text-muted: #8b93a3;
  --accent: #5ee0d0;
  --accent-dim: rgba(94, 224, 208, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --radius: 12px;
  --max: 640px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.site-header {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.site-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.dot {
  color: var(--accent);
}

.lede {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36ch;
}

.content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  margin-bottom: 1.25rem;
}

.panel.muted {
  background: rgba(20, 24, 32, 0.6);
}

.panel h2 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.example-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.example-list li {
  margin-bottom: 0.75rem;
}

.card-link {
  display: block;
  padding: 1rem 1.125rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.card-link:hover {
  border-color: rgba(94, 224, 208, 0.35);
  background: var(--accent-dim);
}

.card-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.card-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hint {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hint code {
  font-size: 0.8em;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

.panel.muted p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.panel.muted a {
  color: var(--accent);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}
