:root{
  --bg:#F6F7FB;
  --surface:#FFFFFF;
  --surface2:#FBFCFE;
  --text:#0F172A;
  --muted:#475569;
  --muted2:#64748B;
  --border:#E5E7EB;
  --border2:#EEF2F6;
  --shadow:0 10px 30px rgba(15, 23, 42, .08);
  --shadow2:0 2px 10px rgba(15, 23, 42, .06);
  --radius:16px;
  --radius2:12px;
  --max:1120px;
  --accent:#2563EB;
  --accent2:#0EA5E9;
  --ring:rgba(37, 99, 235, .22);
  --font:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 15% -10%, rgba(37, 99, 235, .06), transparent 60%),
    radial-gradient(900px 600px at 95% 0%, rgba(14, 165, 233, .05), transparent 60%),
    linear-gradient(180deg, #F7F8FC, #FFFFFF 55%, #FFFFFF);
  line-height:1.6;
}

a{color:inherit}
a:hover{color:var(--accent)}
code{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:.92em;
  padding:.12em .34em;
  border-radius:10px;
  background:var(--surface2);
  border:1px solid var(--border2);
}

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:12px;
  padding:10px 14px;
  border-radius:12px;
  background:var(--surface);
  border:1px solid var(--border);
  box-shadow:var(--shadow2);
  z-index:9999;
}
.skip-link:focus{left:14px}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  background:rgba(246, 247, 251, .72);
  border-bottom:1px solid rgba(229, 231, 235, .8);
}

.nav{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-width:260px;
}
.brand-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(37, 99, 235, 1), rgba(14, 165, 233, 1));
  border:1px solid rgba(37, 99, 235, .18);
  box-shadow:0 8px 18px rgba(37, 99, 235, .18);
  font-weight:700;
  letter-spacing:.02em;
  color:#fff;
}
.brand-text{display:flex; flex-direction:column; line-height:1.15}
.brand-title{font-weight:650; font-size:14px}
.brand-subtitle{color:var(--muted2); font-size:12px; margin-top:3px}

.nav-links{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav-link{
  text-decoration:none;
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
  font-weight:520;
  font-size:14px;
}
.nav-link:hover{
  background:rgba(255,255,255,.7);
  border-color:var(--border);
  color:var(--text);
}
.nav-link.is-active{
  background:var(--surface);
  border-color:var(--border);
  color:var(--text);
  box-shadow:var(--shadow2);
}

.nav-toggle{
  display:none;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
  box-shadow:var(--shadow2);
}
.nav-toggle:focus{outline:3px solid var(--ring); outline-offset:2px}
.nav-toggle-icon{
  width:18px;
  height:2px;
  background:rgba(15,23,42,.85);
  display:block;
  position:relative;
  border-radius:2px;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:rgba(15,23,42,.85);
  border-radius:2px;
}
.nav-toggle-icon::before{top:-6px}
.nav-toggle-icon::after{top:6px}

main{padding:30px 0 40px}

.hero{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:28px;
  padding:34px 0 16px;
  align-items:stretch;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--muted2);
  font-weight:600;
  font-size:13px;
  letter-spacing:.04em;
  text-transform:uppercase;
  margin:0 0 10px;
}
.hero-title{
  margin:0;
  font-size:44px;
  line-height:1.08;
  letter-spacing:-.02em;
}
.text-gradient{
  background:linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-lead{
  margin:14px 0 18px;
  color:var(--muted);
  font-size:16px;
  max-width:65ch;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  border-radius:14px;
  padding:12px 14px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  font-weight:650;
  font-size:14px;
  letter-spacing:.01em;
  transition:transform .12s ease, background .2s ease, border-color .2s ease;
  box-shadow:var(--shadow2);
}
.btn:hover{transform:translateY(-1px); background:var(--surface2); border-color:var(--border)}
.btn:active{transform:translateY(0)}
.btn:focus{outline:3px solid var(--ring); outline-offset:2px}
.btn-primary{
  border-color:rgba(37, 99, 235, .22);
  background:linear-gradient(135deg, rgba(37, 99, 235, 1), rgba(14, 165, 233, 1));
  box-shadow:0 12px 26px rgba(37, 99, 235, .18);
  color:#fff;
}
.btn-primary:hover{border-color:rgba(37, 99, 235, .32)}
.btn-ghost{background:transparent}
.btn-small{padding:10px 12px; border-radius:12px; font-size:13px}

.hero-metrics{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}
.metric{
  padding:14px;
  border-radius:var(--radius2);
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:var(--shadow2);
}
.metric-title{color:var(--muted2); font-size:12px; font-weight:650; text-transform:uppercase; letter-spacing:.06em}
.metric-value{font-size:18px; font-weight:750; margin-top:6px}
.metric-desc{color:var(--muted); font-size:13px; margin-top:2px}

.hero-right{display:grid; align-items:stretch}
.glass-card{
  border-radius:24px;
  padding:18px;
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.glass-badge{
  align-self:flex-start;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface2);
  color:var(--muted2);
}
.glass-title{font-size:18px; font-weight:780}
.glass-text{color:var(--muted); font-size:14px}
.glass-text p{margin:0}
.glass-text p + p{margin-top:10px}
.glass-chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:auto}
.chip{
  font-size:12px;
  font-weight:650;
  color:var(--muted);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface2);
}

.section{padding:22px 0}
.section-head{margin-bottom:14px}
.section-title{
  margin:0;
  font-size:22px;
  letter-spacing:-.01em;
}
.section-subtitle{
  margin:8px 0 0;
  color:var(--muted);
  max-width:75ch;
}

.grid-3{display:grid; grid-template-columns:repeat(3, 1fr); gap:14px}
.grid-2{display:grid; grid-template-columns:repeat(2, 1fr); gap:14px}

.card{
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:var(--surface);
  padding:16px;
  box-shadow:var(--shadow2);
}
.card-title{margin:0; font-size:16px; font-weight:780}
.card-text{margin:10px 0 0; color:var(--muted)}
.card-link{
  display:inline-flex;
  margin-top:12px;
  color:var(--accent);
  text-decoration:none;
  font-weight:700;
  padding:10px 0;
}
.card-link:hover{text-decoration:underline}
.card-note{margin:12px 0 0; color:var(--muted2)}
.pill-row{display:flex; flex-wrap:wrap; gap:10px; margin-top:10px}
.pill{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface2);
  color:var(--muted);
  font-weight:650;
  font-size:13px;
}

.page-head{padding:10px 0 6px}
.page-title{margin:0; font-size:34px; line-height:1.15; letter-spacing:-.02em}
.page-subtitle{margin:10px 0 0; color:var(--muted); max-width:80ch}
.page-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:14px}
.hint{margin:10px 0 0; color:var(--muted2)}

.list{margin:12px 0 0; padding-left:18px; color:var(--muted)}
.list li{margin:6px 0}

.timeline{
  display:grid;
  gap:12px;
}
.timeline-item{
  display:grid;
  grid-template-columns:18px 1fr;
  gap:12px;
  padding:14px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:var(--shadow2);
}
.timeline-dot{
  width:14px;
  height:14px;
  margin-top:4px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow:0 0 0 4px rgba(37, 99, 235, .10);
}
.timeline-top{display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap}
.timeline-title{margin:0; font-size:16px; font-weight:780}
.timeline-meta{color:var(--muted2); font-size:13px; font-weight:650}
.timeline-text{margin:8px 0 0; color:var(--muted)}

.tag-row{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.tag{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface2);
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}

.doc-card{
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:var(--surface);
  padding:16px;
  box-shadow:var(--shadow2);
}
.doc-card-top{display:flex; gap:12px; align-items:flex-start}
.doc-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:850;
  letter-spacing:.03em;
  border:1px solid var(--border);
  background:linear-gradient(135deg, rgba(37, 99, 235, 1), rgba(14, 165, 233, 1));
  color:#fff;
}
.doc-icon-alt{
  background:linear-gradient(135deg, rgba(15, 23, 42, 1), rgba(51, 65, 85, 1));
  color:#fff;
}
.doc-title{margin:0; font-size:16px; font-weight:820}
.doc-meta{margin-top:4px; color:var(--muted2); font-size:13px; font-weight:650}
.doc-text{margin:12px 0 0; color:var(--muted)}
.doc-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}

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

.callout{
  margin-top:16px;
  border-radius:var(--radius);
  padding:14px 16px;
  border:1px solid rgba(37, 99, 235, .22);
  background:linear-gradient(180deg, rgba(37, 99, 235, .06), rgba(255,255,255,.75));
}
.callout-title{font-weight:850}
.callout-text{margin-top:6px; color:var(--muted)}

.note{
  border-radius:var(--radius);
  padding:14px 16px;
  border:1px solid rgba(14, 165, 233, .20);
  background:linear-gradient(180deg, rgba(14, 165, 233, .05), rgba(255,255,255,.75));
}
.note-title{font-weight:850}
.note-text{margin-top:6px; color:var(--muted)}

.contact-card{
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:var(--surface);
  padding:18px;
  box-shadow:var(--shadow2);
}
.contact-icon{
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  font-weight:900;
  border:1px solid rgba(37, 99, 235, .22);
  background:linear-gradient(135deg, rgba(37, 99, 235, 1), rgba(14, 165, 233, 1));
  margin-bottom:10px;
  color:#fff;
}
.contact-icon-alt{
  background:linear-gradient(135deg, rgba(15, 23, 42, 1), rgba(51, 65, 85, 1));
  color:#fff;
}

.site-footer{
  border-top:1px solid rgba(229, 231, 235, .85);
  background:rgba(246, 247, 251, .72);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 0;
}
.footer-name{font-weight:820}
.footer-meta{color:var(--muted2); font-size:13px; margin-top:2px}
.footer-right{display:flex; gap:12px; flex-wrap:wrap}
.footer-link{
  text-decoration:none;
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
}
.footer-link:hover{
  color:var(--text);
  border-color:var(--border);
  background:var(--surface);
}

@media (max-width: 980px){
  .hero{grid-template-columns:1fr; padding-top:24px}
  .hero-title{font-size:38px}
  .hero-right{order:-1}
}

@media (max-width: 860px){
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .hero-metrics{grid-template-columns:1fr}

  .nav-toggle{display:inline-flex}
  .nav-links{
    position:absolute;
    right:20px;
    top:68px;
    width:min(420px, calc(100% - 40px));
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:10px;
    border-radius:18px;
    border:1px solid var(--border);
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    box-shadow:var(--shadow);
  }
  .nav-links.is-open{display:flex}
  .nav-link{padding:12px 12px}
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important; transition:none !important}
}

