:root {
  color-scheme: light;
  --ink: #1c2738;
  --muted: #536178;
  --paper: #ffffff;
  --wash: #f4f6fa;
  --line: #dce3ed;
  --accent: #3154b8;
  --code: #172236;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #7996ed; outline-offset: 5px; border-radius: 2px; }
.skip-link { position: absolute; top: -6rem; left: 1rem; z-index: 2; padding: 0.5rem 1rem; background: white; }
.skip-link:focus { top: 0.75rem; }
.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: 1200px; margin: auto; padding: 1.1rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--ink); font-size: 1.15rem; font-weight: 760; letter-spacing: -0.025em; text-decoration: none; }
.brand-mark { color: var(--accent); }
.toplinks { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; font-size: 0.87rem; }
.languages { display: inline-flex; align-items: center; gap: 0.5rem; padding-left: 1.2rem; border-left: 1px solid var(--line); }
.languages [aria-current] { color: var(--ink); font-weight: 700; }
.layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 3.5rem; max-width: 1200px; margin: auto; padding: 3rem 2rem 5rem; }
.sidebar { align-self: start; position: sticky; top: 1.5rem; }
.sidebar p { margin: 0 0 0.6rem; font-size: 0.75rem; font-weight: 750; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.sidebar ul { padding: 0; margin: 0; list-style: none; }
.sidebar li { margin: 0.4rem 0; }
.sidebar a { display: block; padding: 0.1rem 0; color: var(--muted); font-size: 0.87rem; text-decoration: none; }
.sidebar a:hover { color: var(--accent); }
main { min-width: 0; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: 0.76rem; font-weight: 750; letter-spacing: 0.1em; margin: 0 0 0.6rem; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.03em; }
h1 { max-width: 760px; font-size: clamp(2.1rem, 4vw, 3.25rem); margin: 0 0 1rem; }
h2 { font-size: 1.65rem; margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 1.8rem 0 0.65rem; }
p { margin: 0 0 1rem; }
.lead { color: var(--muted); max-width: 720px; font-size: 1.15rem; }
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0 2rem; }
.badge { font-size: 0.75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 0.15rem 0.65rem; background: var(--wash); }
section { margin-top: 3.4rem; padding-top: 2.8rem; border-top: 1px solid var(--line); }
pre { overflow-x: auto; margin: 1rem 0 1.3rem; padding: 1.3rem 1.5rem; background: var(--code); color: #edf3ff; border-radius: 9px; font-size: 0.85rem; line-height: 1.65; tab-size: 4; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; }
p code, li code, td code { font-size: 0.86em; padding: 0.1em 0.25em; background: #edf1f7; border-radius: 3px; overflow-wrap: anywhere; }
pre code { display: block; }
.note { background: var(--wash); border-left: 3px solid var(--accent); padding: 1rem 1.2rem; margin: 1.4rem 0; border-radius: 0 5px 5px 0; }
.note p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3rem; }
li { padding-left: 0.2rem; margin: 0.5rem 0; }
.table-scroll { overflow-x: auto; margin: 1rem 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th { background: var(--wash); text-align: left; font-size: 0.82rem; }
th, td { padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
td:first-child { min-width: 195px; }
footer { padding: 1.8rem 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }
.footer-inner { max-width: 1132px; margin: auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem 1.5rem; }
.footer-inner p { margin: 0; }
.landing { max-width: 860px; min-height: 75vh; margin: auto; padding: 5rem 2rem; }
.landing h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); }
.language-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.5rem 0; }
.language-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; transition: border-color 120ms ease; }
.language-card:hover { border-color: var(--accent); }
.language-card strong { display: block; color: var(--accent); font-size: 1.3rem; margin-bottom: 0.3rem; }
.language-card span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 850px) {
  .layout { grid-template-columns: 1fr; gap: 2.2rem; padding: 2rem 1.3rem 3rem; }
  .sidebar { position: static; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
  .sidebar ul { display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; }
  .sidebar li { margin: 0; }
  .topbar-inner { padding: 1rem 1.3rem; }
  section { margin-top: 2.5rem; padding-top: 2rem; }
}
@media (max-width: 520px) {
  :root { font-size: 16px; }
  .topbar-inner { align-items: flex-start; }
  .toplinks { gap: 0.6rem; justify-content: flex-end; }
  .languages { padding-left: 0.6rem; }
  .language-cards { grid-template-columns: 1fr; }
  .landing { padding: 3rem 1.3rem; }
  pre { padding: 1rem; font-size: 0.8rem; }
  h2 { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .language-card { transition: none; }
}
@media print {
  .topbar, .sidebar, footer, .skip-link { display: none; }
  .layout { display: block; max-width: none; padding: 0; }
  pre { white-space: pre-wrap; color: black; background: #f4f4f4; border: 1px solid #ddd; }
  section { break-inside: avoid; }
}
