/* static/css/site.css */
:root{
  --bg:#0b0f17;
  --panel:#0f1625;
  --text:#0b1220;
  --muted:#5b6577;
  --line:rgba(15, 23, 42, .12);
  --white:#ffffff;
  --accent:#2563eb;
  --accent2:#22c55e;
  --shadow:0 14px 40px rgba(2,6,23,.15);
  --radius:16px;
  --container:1100px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background: #f7f8fb;
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

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

.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;
}

.skip{
  position:absolute; left:-999px; top:12px;
  background:var(--white); padding:10px 12px; border-radius:12px; box-shadow:var(--shadow);
}
.skip:focus{ left:12px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:12px;
  background:var(--accent);
  color:var(--white);
  font-weight:700;
  border:1px solid rgba(37,99,235,.25);
  box-shadow:0 10px 26px rgba(37,99,235,.18);
}
.btn:hover{ text-decoration:none; filter:brightness(1.03); }
.btn--ghost{
  background:transparent;
  color:var(--accent);
  border:1px solid rgba(37,99,235,.35);
  box-shadow:none;
}
.btn--ghost:hover{ background:rgba(37,99,235,.06); }

.muted{ color:var(--muted); }
.small{ font-size:12px; }

.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(247,248,251,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(2,6,23,.06);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:14px 0;
}

.brand{ display:flex; align-items:center; gap:12px; }
.brand__logo{ width:60px; height:60px; object-fit:contain; }
.brand__text{ display:flex; flex-direction:column; line-height:1.1; }
.brand__name{ font-weight:900; letter-spacing:.2px; }
.brand__tag{ font-size:12px; color:var(--muted); }

.nav{ display:flex; align-items:center; gap:14px; position:relative; }
.nav__menu{ display:flex; align-items:center; gap:14px; list-style:none; margin:0; padding:0; }
.nav__link{
  padding:10px 10px;
  border-radius:10px;
  color:#0b1220;
  font-weight:700;
}
.nav__link:hover{ background:rgba(2,6,23,.04); text-decoration:none; }
.nav__link.is-active{ background:rgba(37,99,235,.10); color:var(--accent); }

.header-cta{ display:flex; gap:10px; align-items:center; }

.nav__toggle{
  display:none;
  width:42px; height:42px;
  border-radius:12px;
  border:1px solid rgba(2,6,23,.10);
  background:var(--white);
  box-shadow:0 10px 26px rgba(2,6,23,.06);
}
.nav__toggle-lines{
  display:block; width:18px; height:2px; margin:0 auto;
  background:#0b1220; position:relative;
}
.nav__toggle-lines::before,.nav__toggle-lines::after{
  content:""; position:absolute; left:0; width:18px; height:2px; background:#0b1220;
}
.nav__toggle-lines::before{ top:-6px; }
.nav__toggle-lines::after{ top:6px; }

.hero{
  padding:56px 0 26px;
  background:
    radial-gradient(1200px 520px at 20% 10%, rgba(37,99,235,.18), transparent 55%),
    radial-gradient(900px 520px at 90% 30%, rgba(34,197,94,.14), transparent 55%),
    linear-gradient(180deg, #f7f8fb 0%, #ffffff 55%, #f7f8fb 100%);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:start;
}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px; border-radius:999px;
  background:rgba(2,6,23,.04);
  border:1px solid rgba(2,6,23,.06);
  font-weight:700; color:#1f2a3d;
}
h1{ margin:14px 0 12px; font-size:44px; line-height:1.1; letter-spacing:-.6px; }
.accent{ color:var(--accent); }

.lead{ font-size:17px; margin:0 0 18px; max-width:56ch; }
.hero-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:16px; }

.hero-points{ display:flex; gap:10px; flex-wrap:wrap; }
.point{
  padding:10px 12px;
  border-radius:12px;
  background:var(--white);
  border:1px solid rgba(2,6,23,.06);
  box-shadow:0 10px 26px rgba(2,6,23,.05);
  font-weight:700;
}

.card{
  background:var(--white);
  border:1px solid rgba(2,6,23,.06);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.card-title{ font-weight:900; font-size:16px; margin-bottom:6px; }
.card-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:14px 0;
}
.card-item .label{ font-size:12px; color:var(--muted); }
.card-item .value{ font-weight:900; }
.card-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.divider{ height:1px; background:rgba(2,6,23,.08); margin:14px 0; }

.section{ padding:42px 0; }
.section-head h2{ margin:0; font-size:28px; letter-spacing:-.3px; }
.section-head p{ margin:6px 0 0; }

.grid-3{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.tile{
  background:var(--white);
  border:1px solid rgba(2,6,23,.06);
  border-radius:var(--radius);
  box-shadow:0 10px 26px rgba(2,6,23,.05);
  padding:16px;
}
.tile h3{ margin:0 0 6px; font-size:18px; }
.tile p{ margin:0; }

.section--dark{
  background:
    radial-gradient(900px 360px at 20% 20%, rgba(37,99,235,.26), transparent 55%),
    radial-gradient(900px 360px at 85% 60%, rgba(34,197,94,.16), transparent 55%),
    linear-gradient(180deg, #0b0f17, #0f1625);
  color:var(--white);
}
.section--dark .muted{ color:rgba(255,255,255,.75); }
.section--dark .btn--ghost{ color:#cfe0ff; border-color:rgba(207,224,255,.35); }
.section--dark .btn--ghost:hover{ background:rgba(207,224,255,.08); }
.section--dark .btn{ box-shadow:0 10px 26px rgba(37,99,235,.28); }

.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.cta-actions{ display:flex; gap:10px; flex-wrap:wrap; }

.steps{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.step{
  background:var(--white);
  border:1px solid rgba(2,6,23,.06);
  border-radius:var(--radius);
  box-shadow:0 10px 26px rgba(2,6,23,.05);
  padding:16px;
  display:flex;
  gap:12px;
}
.step-num{
  width:34px; height:34px; border-radius:12px;
  background:rgba(37,99,235,.10);
  border:1px solid rgba(37,99,235,.20);
  color:var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
}
.step-title{ font-weight:900; margin-bottom:2px; }

.prose h1{ font-size:34px; margin:0 0 10px; }
.prose p{ margin:0 0 12px; }

.site-footer{
  background: #0b0f17;
  color: var(--white);
  padding:38px 0 18px;
  margin-top:30px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:18px;
}
.footer-title{ font-weight:900; margin-bottom:10px; }
.footer-list{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.footer-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.footer-badges{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.badge{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  font-weight:700;
  font-size:12px;
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.10);
  padding-top:14px;
  margin-top:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

@media (max-width: 980px){
  h1{ font-size:36px; }
  .hero-grid{ grid-template-columns:1fr; }
  .grid-3{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .cta{ flex-direction:column; align-items:flex-start; }
  .header-cta{ display:none; }

  .nav__toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav__menu{
    display:none;
    position:absolute;
    right:0;
    top:52px;
    background:var(--white);
    border:1px solid rgba(2,6,23,.10);
    border-radius:16px;
    box-shadow:var(--shadow);
    padding:10px;
    width:min(340px, calc(100vw - 32px));
    flex-direction:column;
    align-items:stretch;
    gap:6px;
  }
  .nav__menu.is-open{ display:flex; }
  .nav__link{ padding:12px 12px; }
}
