:root{
  --bg:#f8fafc;
  --panel:#ffffff;
  --panel-2:#f8fafc;
  --text:#1f2937;
  --muted:#4b5563;
  --accent:#2563eb;
  --accent-2:#1d4ed8;
  --border:#e5e7eb;
  --code:#0f172a;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;
  line-height:1.6;
  background:var(--bg);
  color:var(--text);
}
.container{max-width:1100px;margin:0 auto;padding:24px}
header{
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  backdrop-filter:blur(8px);
  z-index:20;
  box-shadow:0 1px 2px rgba(15,23,42,.06);
}
nav{display:flex;flex-wrap:wrap;gap:6px 14px}
nav a{
  color:var(--accent);
  text-decoration:none;
  display:inline-block;
  padding:8px 0;
  font-weight:500;
}
nav a:hover{text-decoration:underline}
nav a:focus{outline:2px dashed var(--accent);outline-offset:2px}
.hero,.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px;
  margin:20px 0;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}
h1,h2,h3{line-height:1.2;color:#111827}
h1{margin-top:0;font-size:2.1rem;letter-spacing:-.02em}
h2{margin-top:34px;border-bottom:1px solid var(--border);padding-bottom:8px}
h3{margin-top:24px;color:#111827}
p,li{color:var(--muted)}
ul{padding-left:22px}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:18px;
}
.tile{
  background:var(--panel-2);
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px;
}
.tile h3{margin-top:0}
.tile a{
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
}
.tile a:hover{text-decoration:underline}
code{
  background:var(--code);
  padding:2px 6px;
  border-radius:6px;
  color:#e2e8f0;
}
pre{
  background:var(--code);
  border:1px solid #1e293b;
  padding:14px;
  border-radius:12px;
  overflow:auto;
  color:#e2e8f0;
}
table{
  width:100%;
  border-collapse:collapse;
  margin:16px 0;
  background:#fff;
}
th,td{
  border:1px solid var(--border);
  padding:10px;
  text-align:left;
  vertical-align:top;
}
th{background:#f3f4f6;color:#111827}
.footer{
  color:var(--muted);
  font-size:.95rem;
  margin-top:40px;
  padding-top:18px;
  border-top:1px solid var(--border);
}
.small{font-size:.95rem;color:var(--muted)}
.badge{
  display:inline-block;
  background:#eff6ff;
  color:#1d4ed8;
  border:1px solid #bfdbfe;
  padding:4px 8px;
  border-radius:999px;
  font-size:.85rem;
  margin-right:8px;
  margin-bottom:6px;
}
