:root {
  color-scheme: light dark;
  --background: #f7f9fc;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5f6b7d;
  --border: #dce3ee;
  --accent: #1677ff;
  --code: #eef4ff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0d1420;
    --surface: #131e2d;
    --text: #edf3ff;
    --muted: #aab7ca;
    --border: #29384d;
    --accent: #65a4ff;
    --code: #1c2d46;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

main {
  width: min(860px, calc(100% - 32px));
  margin: 32px auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.brand {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 800;
}

.language {
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  padding: 6px 14px;
  text-decoration: none;
}

article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgb(24 39 75 / 8%);
  padding: clamp(24px, 5vw, 56px);
}

.eyebrow {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: -.04em;
  line-height: 1.1;
  margin: 0 0 20px;
}

h2 {
  border-top: 1px solid var(--border);
  font-size: 1.25rem;
  margin: 36px 0 12px;
  padding-top: 28px;
}

p, li { color: var(--muted); }

.lead {
  color: var(--text);
  font-size: 1.1rem;
}

.effective {
  background: var(--code);
  border-radius: 10px;
  display: inline-block;
  padding: 8px 12px;
}

code {
  background: var(--code);
  border-radius: 5px;
  color: var(--text);
  padding: 2px 5px;
}

a { color: var(--accent); }

footer {
  color: var(--muted);
  font-size: .85rem;
  padding: 20px 4px 40px;
  text-align: center;
}
