:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --text:#0b1220;
  --muted:#445066;
  --border:#e6eaf2;
  --blue:#2563eb;
  --blue-600:#1d4ed8;
  --blue-700:#1e40af;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  --shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.10);
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}
img,svg{max-width:100%; height:auto}
a{color:var(--blue); text-decoration:none}
a:hover{color:var(--blue-700); text-decoration:underline}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:999px;
  box-shadow:var(--shadow-sm);
  z-index:9999;
}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.stack{display:flex; flex-direction:column; gap:14px}
.row{display:flex; gap:16px; align-items:center; flex-wrap:wrap}
.grid{display:grid; gap:16px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width: 900px){
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 760px){
  .grid-3,.grid-2{grid-template-columns:1fr}
}

.badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(37,99,235,0.06);
  color:var(--blue-700);
  font-weight:600;
  font-size:13px;
}
.badge-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--blue);
  box-shadow:0 0 0 3px rgba(37,99,235,0.15);
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(160%) blur(10px);
  background:rgba(255,255,255,0.85);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:-0.02em;
  color:var(--text);
}
.brand:hover{text-decoration:none}
.brand-logo{
  width:34px;
  height:34px;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav-links a{
  color:var(--text);
  font-weight:650;
  padding:8px 10px;
  border-radius:999px;
}
.nav-links a[aria-current="page"]{
  background:rgba(37,99,235,0.10);
  color:var(--blue-700);
}
.nav-links a:hover{
  text-decoration:none;
  background:rgba(15,23,42,0.05);
}
.nav-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:var(--blue);
  color:white;
  font-weight:750;
  box-shadow:var(--shadow-sm);
  border:1px solid rgba(0,0,0,0.05);
}
.nav-cta:hover{
  text-decoration:none;
  background:var(--blue-600);
}

.hero{
  padding:54px 0 28px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-200px -200px auto -200px;
  height:520px;
  background:radial-gradient(closest-side, rgba(37,99,235,0.18), rgba(37,99,235,0.00));
  pointer-events:none;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:24px;
  align-items:center;
}
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
}
.h1{
  font-size:44px;
  line-height:1.1;
  margin:10px 0 10px;
  letter-spacing:-0.03em;
}
@media (max-width: 760px){
  .h1{font-size:36px}
}
.lead{
  font-size:18px;
  color:var(--muted);
  margin:0;
  max-width:60ch;
}
.hero-actions{
  display:flex;
  gap:12px;
  margin-top:16px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  font-weight:750;
  box-shadow:var(--shadow-sm);
}
.btn:hover{
  text-decoration:none;
  background:rgba(15,23,42,0.03);
}
.btn-primary{
  background:var(--blue);
  border-color:rgba(0,0,0,0.05);
  color:white;
}
.btn-primary:hover{background:var(--blue-600)}
.btn-ghost{
  box-shadow:none;
  background:transparent;
}

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--surface);
  box-shadow:var(--shadow-sm);
  padding:18px;
}
.card-soft{
  background:linear-gradient(180deg, rgba(37,99,235,0.06), rgba(37,99,235,0.00));
}
.card h2,.card h3{margin:0 0 8px}
.card p{margin:0; color:var(--muted)}

.section{
  padding:28px 0;
}
.section-title{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.section-title h2{
  margin:0;
  font-size:26px;
  letter-spacing:-0.02em;
}
.section-title p{
  margin:0;
  color:var(--muted);
  max-width:70ch;
}
.kpi{
  display:flex;
  gap:14px;
  align-items:center;
}
.kpi strong{font-size:22px}
.kpi span{color:var(--muted)}

.icon{
  width:40px;
  height:40px;
  border-radius:12px;
  background:rgba(37,99,235,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(37,99,235,0.18);
}
.icon svg{width:22px; height:22px}

.toc{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0 0;
}
.toc a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(15,23,42,0.02);
  color:var(--text);
  font-weight:650;
}
.toc a:hover{
  text-decoration:none;
  background:rgba(37,99,235,0.07);
  border-color:rgba(37,99,235,0.22);
}

details{
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:12px 14px;
  background:var(--surface);
  box-shadow:var(--shadow-sm);
}
details + details{margin-top:12px}
summary{
  cursor:pointer;
  font-weight:800;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
summary::-webkit-details-marker{display:none}
.summary-meta{color:var(--muted); font-weight:650; font-size:13px}
.details-body{margin-top:10px; color:var(--muted)}
.details-body ul{margin:8px 0 0 18px; padding:0}
.details-body li{margin:6px 0}

.form{
  display:grid;
  gap:12px;
}
label{
  font-weight:700;
  display:block;
  margin-bottom:6px;
}
input,textarea{
  width:100%;
  padding:12px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  font:inherit;
  background:white;
}
textarea{min-height:120px; resize:vertical}
input:focus,textarea:focus{
  outline:none;
  border-color:rgba(37,99,235,0.55);
  box-shadow:0 0 0 4px rgba(37,99,235,0.12);
}
.form-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.form-note{
  color:var(--muted);
  font-size:13px;
  margin:0;
}
.notice{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(37,99,235,0.18);
  background:rgba(37,99,235,0.08);
  color:var(--blue-700);
}

footer{
  border-top:1px solid var(--border);
  padding:26px 0;
  margin-top:30px;
  background:rgba(15,23,42,0.02);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:16px;
}
@media (max-width: 900px){
  .footer-grid{grid-template-columns:1fr}
}
.small{font-size:13px; color:var(--muted)}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:white;
  font-weight:650;
  color:var(--text);
}
.pill:hover{text-decoration:none; background:rgba(15,23,42,0.03)}

.page-head{
  padding:28px 0 10px;
}
.page-head h1{
  margin:8px 0 8px;
  font-size:36px;
  letter-spacing:-0.03em;
}
.page-head p{margin:0; color:var(--muted); max-width:75ch}

.divider{
  height:1px;
  background:var(--border);
  margin:18px 0;
}

.visually-hidden{
  position:absolute !important;
  height:1px; width:1px;
  overflow:hidden;
  clip:rect(1px, 1px, 1px, 1px);
  white-space:nowrap;
}

