/* Base setup */
:root{
  --brand:#005faf;
  --brand-dark:#003f7f;
  --bg:#f5f7fb;
  --card:#ffffff;
  --ink:#24292f;
  --muted:#6b7280;
  --radius:14px;
  --shadow:0 6px 14px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{left:10px;top:10px;width:auto;height:auto;background:#000;color:#fff;padding:.5rem;border-radius:6px}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(120deg,var(--brand),var(--brand-dark));
  color:#fff;
}
.hero__content{
  max-width:1100px;
  margin:0 auto;
  padding:32px 20px 16px;
  text-align:center;
}
.hero .logo{width:52px;height:52px;margin:0 6px;vertical-align:middle}
.hero h1{margin:.5rem 0 0;font-weight:800;letter-spacing:.2px}
.byline{margin:.4rem 0 1rem;color:#dbeafe}
.tabs{
  display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:16px 0 8px;
}
.tabs a{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.14);color:#fff;text-decoration:none;
  padding:8px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.22);
  font-weight:600;backdrop-filter: blur(4px);
}
.tabs img{width:18px;height:18px}
.tabs a:hover{background:rgba(255,255,255,.24)}

.hero__bg{
  position:absolute;inset:auto 0 0 0;width:100%;height:auto;opacity:.14;pointer-events:none
}

/* Layout */
.container{max-width:1000px;margin:26px auto;padding:0 18px}
.card{
  background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);
  padding:22px;margin:0 0 22px 0
}
.card__header{display:flex;align-items:center;gap:10px;margin:-6px 0 10px}
.card__header img{width:26px;height:26px}

h2{color:var(--brand);margin:0}
h3{margin:1rem 0 .4rem}
p{margin:.4rem 0 .8rem}

table{width:100%;border-collapse:collapse;margin:.6rem 0 .2rem}
th,td{border:1px solid #e5e7eb;padding:.6rem .7rem;text-align:left}
th{background:#eff6ff;color:#0c2346}

pre{
  background:#0b1020;color:#e6edf3;padding:14px;border-radius:10px;overflow:auto;
  border:1px solid #1f2937
}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}

/* Grid helpers */
.grid.two{display:grid;grid-template-columns:1fr;gap:18px}
@media(min-width:820px){.grid.two{grid-template-columns:1.1fr .9fr}}

.illus{margin:0}
.illus img{width:100%;height:auto;border-radius:12px;border:1px solid #e5e7eb}

/* Buttons */
.btn{display:inline-block;padding:.6rem 1rem;border-radius:10px;text-decoration:none;border:1px solid var(--brand);font-weight:700}
.btn--primary{background:var(--brand);color:#fff;border-color:var(--brand)}
.btn--primary:hover{filter:brightness(.96)}
.btn--ghost{background:transparent;color:var(--brand)}
.btn--ghost:hover{background:#e6f2ff}

/* Footer */
.site-footer{
  text-align:center;color:var(--muted);padding:24px 18px 40px
}
