:root{
  --brand:#0b2a4a;
  --brand2:#163b63;
  --bg:#f6f7f9;
  --text:#111;
  --muted:#555;
  --border:#e7e7e7;
}

*{ box-sizing:border-box; }
body{ margin:0; font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; color:var(--text); line-height:1.55; background:#fff; }
header{ padding:24px 16px; background:var(--brand); color:#fff; }
header .subtitle{ color:#dfe9f5; max-width:1000px; margin:8px auto 0; padding:0 16px; }
main{ padding:24px 16px; max-width:1000px; margin:0 auto; }
nav{ display:flex; gap:12px; flex-wrap:wrap; margin-top:12px; }
nav a{ background:var(--brand2); color:#fff; padding:8px 12px; border-radius:8px; text-decoration:none; }
nav a:hover{ opacity:.9; }
section{ margin:18px 0; padding:18px; border:1px solid #e6e6e6; border-radius:12px; background:#fff; }
h1,h2,h3{ margin:0 0 10px; }
.muted{ color:var(--muted); font-size:.95rem; }
.kbd{ font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; background:#f6f6f6; padding:2px 6px; border-radius:6px; }
.badge{ display:inline-block; padding:2px 8px; border-radius:999px; background:#f0f3f7; font-size:.85rem; }
footer{ padding:16px; background:var(--bg); color:#333; margin-top:28px; }
footer a{ color:var(--brand); }

button{
  border:0; border-radius:10px; padding:10px 12px; cursor:pointer; font-weight:600;
}
.btn-primary{ background:var(--brand); color:#fff; }
.btn-secondary{ background:#e9eef5; color:var(--brand); }
.btn-danger{ background:#f2e7e7; color:#7a1111; }

/* Cookie banner / modal */
.cookie-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.45); display:none; z-index:9998; }
.cookie-modal{
  position:fixed; left:50%; bottom:18px; transform:translateX(-50%);
  width:min(980px, calc(100% - 24px)); background:#fff; border-radius:14px;
  box-shadow:0 18px 60px rgba(0,0,0,.25); border:1px solid var(--border);
  padding:16px; display:none; z-index:9999;
}
.cookie-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.cookie-prefs{ display:none; border-top:1px solid #eee; padding-top:10px; margin-top:10px; }
.pref-row{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:8px 0; }
.pref-row label{ font-weight:700; }
.pref-row .desc{ font-size:.92rem; color:#444; }
.toggle{ display:flex; align-items:center; gap:8px; user-select:none; }
.toggle input{ width:18px; height:18px; }
``