
:root{
  --brand-50:#f6f0fa; --brand-100:#ead9f5; --brand-200:#d6b5ea; --brand-300:#bf8cde;
  --brand-400:#a965d2; --brand-500:#8f3cc4; --brand-600:#6f2f9a; --brand-700:#5c277f;
  --brand-800:#481f63; --brand-900:#321646;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#0f172a;background:#fff;scroll-behavior:smooth}
a{color:inherit;text-decoration:none}
.container{max-width:72rem;margin:0 auto;padding:0 1rem}
.section{padding:4rem 0}
.h1{font-size:clamp(1.8rem,4vw,3rem);font-weight:800;line-height:1.15;margin:0}
.h2{font-size:clamp(1.5rem,3vw,2rem);font-weight:700;margin:0}
.subtle{color:#475569}
.btn{display:inline-flex;align-items:center;gap:.5rem;border-radius:16px;padding:.6rem 1rem;font-weight:600;border:1px solid transparent;cursor:pointer}
.btn-primary{background:var(--brand-600);color:#fff}
.btn-primary:hover{background:var(--brand-700)}
.btn-light{background:#fff;color:var(--brand-700);border-color:#e2e8f0}
.btn-link{text-decoration:underline}
.badge{display:inline-block;background:var(--brand-100);color:var(--brand-700);padding:.25rem .6rem;border-radius:999px;font-size:.8rem;font-weight:600}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.card .card-h{padding:1rem 1.25rem;border-bottom:1px solid #e5e7eb;font-weight:600}
.card .card-c{padding:1rem 1.25rem}
.grid{display:grid;gap:1rem}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){.grid-2,.grid-3{grid-template-columns:1fr}}
header.sticky{position:sticky;top:0;background:rgba(255,255,255,.9);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid #e5e7eb;z-index:50}
.nav{display:flex;align-items:center;justify-content:space-between;padding:.75rem 0}
.nav a{padding:.25rem .5rem;border-radius:8px}
.nav a:hover{color:var(--brand-700)}
.logo{width:36px;height:36px;border-radius:12px;background:var(--brand-600);color:#fff;font-weight:800;display:grid;place-items:center}
.hero{background:linear-gradient(135deg,var(--brand-700),var(--brand-500));color:#fff}
.hero p{color:rgba(255,255,255,.85)}
.stat{display:flex;align-items:flex-start;justify-content:space-between}
.stat .k{font-size:1.6rem;font-weight:800;color:var(--brand-700)}
table{width:100%;border-collapse:collapse;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}
th,td{border-bottom:1px solid #e5e7eb;padding:.6rem;text-align:left;font-size:.95rem}
th{background:#fafafa}
footer{border-top:1px solid #e5e7eb}
small, .muted{color:#64748b}
hr.sep{border:none;border-top:1px solid #e5e7eb;margin:1.5rem 0}
.skip{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{left:1rem;top:1rem;width:auto;height:auto;background:#fff;border:2px solid var(--brand-600);padding:.5rem 1rem;border-radius:12px;z-index:100}
.tab-btn{border:1px solid #e5e7eb;border-radius:12px;padding:.5rem 1rem;background:#fff}
.tab-btn.active{background:var(--brand-600);color:#fff;border-color:var(--brand-600)}
.hidden{display:none}
.form input, .form textarea{width:100%;border:1px solid #e5e7eb;border-radius:12px;padding:.6rem .8rem}
.form label{font-weight:600;margin:.5rem 0 .25rem;display:block}
.form .row{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:800px){.form .row{grid-template-columns:1fr}}
.alert{padding:.6rem .8rem;background:#ecfeff;border:1px solid #a5f3fc;color:#0e7490;border-radius:12px}
