
:root{
  --primary: #1E3A8A;
  --accent: #F59E0B;
  --neutral: #111827;
  --muted: #6B7280;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --success: #059669;
  --danger: #DC2626;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji"; color: var(--neutral); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1100px, 92%); margin: 0 auto; }
.flex { display:flex; gap: 1rem; }
.between { justify-content: space-between; }
.center { align-items: center; }
.grid-3 { display:grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-2 { display:grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid { display:grid; gap: 1.25rem; }
.small { font-size: 0.9rem; }
.muted { color: var(--muted); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(2,6,23,0.08); padding: 1.25rem; }
.btn { display:inline-block; background: var(--primary); color:white; padding: 0.9rem 1.1rem; border-radius: 12px; border: 0; cursor: pointer; font-weight: 600; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(30,58,138,.25); text-decoration:none; }
.btn-ghost { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.badge { background: var(--accent); color: #111; padding: .25rem .5rem; border-radius: 8px; font-weight: 600; font-size: .85rem; }
.hero { padding: 4rem 0 2rem; background: linear-gradient(180deg, rgba(30,58,138,0.06), rgba(30,58,138,0)); }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 0 0 .5rem; }
.hero p.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.82); backdrop-filter: blur(8px); border-bottom: 1px solid #e5e7eb; }
.logo { display:flex; align-items:center; gap:.5rem; font-weight: 800; color: var(--neutral); }
.logo img { width:28px; height:28px; border-radius:8px; }
.nav { list-style:none; display:flex; gap: 1rem; margin:0; padding:0; }
.nav-link { padding: .75rem .6rem; border-radius: 10px; display:inline-block; }
.nav-link:hover { background: #eef2ff; text-decoration:none; }
.nav-link.active { background: #e0e7ff; font-weight:700; }
.menu-toggle { display:none; }
.section { padding: 3rem 0; }
.section h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); margin: 0 0 .5rem; }
.list { list-style:none; padding:0; margin:0; display:grid; gap:.35rem; }
.site-footer { padding: 2.2rem 0; border-top: 1px solid #e5e7eb; background:#fff; }
.breadcrumb ol { list-style:none; padding:0; margin: .5rem 0 1rem; display:flex; gap:.5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb li::after { content: "/"; margin: 0 .25rem; color: #9ca3af; }
.breadcrumb li:last-child::after { content: ""; }
table { width:100%; border-collapse: collapse; }
td, th { border-bottom: 1px solid #e5e7eb; text-align: left; padding: .75rem; }
kbd { background:#eef2ff; border:1px solid #e0e7ff; border-radius:6px; padding:.1rem .35rem; }
blockquote { margin: 0; padding-left: 1rem; border-left: 4px solid #e5e7eb; color: var(--muted); }
/* Forms */
form { display:grid; gap: .8rem; }
input, select, textarea { padding:.9rem 1rem; border-radius: 10px; border:1px solid #e5e7eb; background:#fff; width:100%; font: inherit; }
label .hint { display:block; font-size:.85rem; color:var(--muted); }
input[type=checkbox] { width:auto; }
.form-row { display:grid; gap: .8rem; grid-template-columns: repeat(2,1fr); }
.form-note { font-size:.9rem; color:var(--muted); }
.alert { padding: .8rem 1rem; border-radius: 10px; font-weight:600; }
.alert.success { background:#ecfdf5; color:#065f46; }
.alert.error { background:#fef2f2; color:#991b1b; }
/* Consent banner/modal */
#consent-banner, #consent-modal { position: fixed; inset: auto 0 0 0; background:#fff; border-top: 1px solid #e5e7eb; box-shadow: 0 -10px 30px rgba(2,6,23,.08); padding: 1rem; z-index: 1000; display:none; }
#consent-modal { inset: 0; margin:auto; width:min(680px, 95%); height:auto; border-radius: 16px; padding:1.25rem; border:1px solid #e5e7eb; }
#consent-overlay { position: fixed; inset:0; background: rgba(0,0,0,.35); z-index: 999; display:none; }
.consent-actions { display:flex; gap:.5rem; flex-wrap:wrap; }
.toggle { display:flex; align-items:center; gap:.6rem; }
.toggle input { width:44px; height:24px; appearance:none; background:#e5e7eb; border-radius:20px; position:relative; outline:none; cursor:pointer; }
.toggle input:checked { background:#c7d2fe; }
.toggle input::after { content:""; width:18px; height:18px; background:#fff; border-radius:50%; position:absolute; top:3px; left:4px; transition: left .15s ease; box-shadow:0 2px 6px rgba(0,0,0,.2); }
.toggle input:checked::after { left:22px; }
.toggle .locked { font-size:.8rem; color:var(--muted); }
/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav { display:none; position:absolute; right:1rem; top:64px; background:#fff; padding:1rem; border-radius: 12px; box-shadow:0 8px 24px rgba(0,0,0,.08); }
  .menu-toggle { display:block; background:transparent; border:1px solid #e5e7eb; padding:.5rem .7rem; border-radius:10px; }
  .site-header .container { align-items: center; }
}
