:root{
  --bg:#f5f8fc;
  --surface:#ffffff;
  --surface-2:#eef4fb;
  --text:#0b1730;
  --muted:#5e6d86;
  --line:#d9e2ef;
  --brand:#0b2a57;
  --brand-2:#174b91;
  --success:#0b7a46;
  --warning:#9a5a00;
  --shadow:0 12px 32px rgba(11,42,87,.08);
  --radius:18px;
  --max:1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
}
a{color:var(--brand-2)}
img{max-width:100%}
.container{width:min(var(--max),calc(100% - 34px));margin:auto}
.site-header{
  position:sticky;top:0;z-index:20;
  backdrop-filter:saturate(1.2) blur(12px);
  background:rgba(245,248,252,.93);
  border-bottom:1px solid rgba(217,226,239,.85)
}
.nav{
  min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:22px
}
.brand{
  display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text);font-weight:800
}
.brand-mark{
  width:38px;height:38px;border-radius:12px;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  display:grid;place-items:center;color:#fff;font-weight:900;letter-spacing:-1px
}
.brand small{display:block;color:var(--muted);font-weight:600;font-size:12px}
.nav-links{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.nav-links a{text-decoration:none;color:var(--text);font-weight:650;font-size:14px}
.nav-links a:hover{color:var(--brand-2)}
.mobile-toggle{display:none;background:none;border:0;font-size:26px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:46px;padding:0 18px;border-radius:12px;
  border:1px solid var(--brand);background:var(--brand);color:white;
  text-decoration:none;font-weight:750;cursor:pointer
}
.btn.secondary{background:white;color:var(--brand);border-color:var(--line)}
.btn.ghost{background:transparent;color:var(--brand);border-color:transparent}
.btn.small{min-height:38px;padding:0 14px;font-size:14px}
.hero{
  padding:78px 0 48px;
  background:
    radial-gradient(circle at 80% 8%,rgba(23,75,145,.13),transparent 28%),
    radial-gradient(circle at 12% 36%,rgba(11,122,70,.08),transparent 22%);
}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:46px;align-items:center}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid var(--line);border-radius:999px;padding:7px 11px;
  background:#fff;color:var(--brand);font-weight:750;font-size:13px
}
h1{font-size:clamp(42px,6vw,70px);line-height:1.02;letter-spacing:-2.4px;margin:18px 0 20px}
h2{font-size:clamp(28px,4vw,42px);line-height:1.1;letter-spacing:-1px;margin:0 0 18px}
h3{font-size:21px;line-height:1.25;margin:0 0 10px}
.lead{font-size:20px;color:var(--muted);max-width:760px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.hero-card{
  background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:26px;
  box-shadow:var(--shadow)
}
.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
.metric{border:1px solid var(--line);background:var(--surface-2);border-radius:14px;padding:16px}
.metric strong{display:block;font-size:24px}
.metric span{font-size:13px;color:var(--muted)}
.section{padding:66px 0}
.section.tight{padding:42px 0}
.section-alt{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{max-width:760px;margin-bottom:28px}
.section-head p{color:var(--muted);font-size:18px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 6px 22px rgba(11,42,87,.045)
}
.card p:last-child{margin-bottom:0}
.icon{
  width:44px;height:44px;display:grid;place-items:center;border-radius:13px;
  background:var(--surface-2);font-size:22px;margin-bottom:16px
}
.kicker{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--brand-2)}
.check-list,.plain-list{padding:0;margin:16px 0 0;list-style:none}
.check-list li{padding:7px 0 7px 29px;position:relative}
.check-list li:before{content:"✓";position:absolute;left:0;color:var(--success);font-weight:900}
.plain-list li{padding:6px 0;border-bottom:1px solid var(--line)}
.plain-list li:last-child{border:0}
.steps{counter-reset:step;display:grid;gap:16px}
.step{
  counter-increment:step;display:grid;grid-template-columns:52px 1fr;gap:18px;
  background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px
}
.step:before{
  content:counter(step);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  background:var(--brand);color:#fff;font-weight:900
}
.price-card{position:relative;overflow:hidden}
.price-card.featured{border-color:#8aa9cf;box-shadow:var(--shadow)}
.price{font-size:42px;line-height:1;font-weight:850;letter-spacing:-1px;margin:14px 0 8px}
.price small{font-size:15px;color:var(--muted);font-weight:600;letter-spacing:0}
.badge{
  display:inline-flex;padding:6px 9px;border-radius:999px;background:#e7f7ef;
  color:var(--success);font-size:12px;font-weight:800
}
.note{
  background:#fff8e9;border:1px solid #f0d7a5;color:#6f4500;border-radius:14px;padding:16px
}
.info{
  background:#eef6ff;border:1px solid #cfe2fb;color:#173d6c;border-radius:14px;padding:16px
}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px;background:#fff}
table{width:100%;border-collapse:collapse;min-width:680px}
th,td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left}
th{background:var(--surface-2);font-size:13px;text-transform:uppercase;letter-spacing:.04em}
tr:last-child td{border-bottom:0}
.faq{display:grid;gap:12px}
details{
  background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px 18px
}
summary{cursor:pointer;font-weight:780}
details p{color:var(--muted);margin-bottom:0}
.callout{
  border-radius:22px;padding:30px;background:linear-gradient(135deg,var(--brand),#123d75);color:#fff
}
.callout p{color:#dbe7f8;max-width:720px}
.callout .btn.secondary{background:#fff;border-color:#fff}
.site-footer{padding:36px 0;border-top:1px solid var(--line);background:#fff}
.footer-grid{display:grid;grid-template-columns:1.3fr repeat(3,.7fr);gap:28px}
.footer-grid h4{margin:0 0 10px}
.footer-grid a{display:block;text-decoration:none;color:var(--muted);margin:7px 0}
.footer-bottom{margin-top:28px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}
.page-hero{padding:56px 0 34px}
.page-hero h1{font-size:clamp(38px,5vw,56px)}
.content{max-width:860px}
.content h2{font-size:30px;margin-top:38px}
.content h3{margin-top:28px}
.content p,.content li{color:#34435d}
.content li{margin:7px 0}
.codeish{
  padding:3px 8px;border-radius:7px;background:#eef2f7;border:1px solid #d8e0eb;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em
}
.muted{color:var(--muted)}
.small{font-size:13px}
.center{text-align:center}
@media (max-width:900px){
  .hero-grid,.grid-3,.grid-2,.footer-grid{grid-template-columns:1fr}
  .hero{padding-top:46px}
  .nav-links{
    display:none;position:absolute;left:17px;right:17px;top:70px;background:#fff;
    border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow)
  }
  .nav-links.open{display:flex;flex-direction:column;align-items:stretch}
  .mobile-toggle{display:block}
  h1{letter-spacing:-1.6px}
}
@media (max-width:560px){
  .container{width:min(var(--max),calc(100% - 22px))}
  .metric-grid{grid-template-columns:1fr}
  .hero-actions .btn{width:100%}
  .step{grid-template-columns:42px 1fr;padding:17px}
}


/* v1.0.2 readability fixes */
.nav-links a.btn,
.nav-links a.btn:visited,
.nav-links a.btn:hover,
.nav-links a.btn:focus {
  color:#fff;
}

.callout .btn.secondary,
.callout .btn.secondary:visited,
.callout .btn.secondary:hover,
.callout .btn.secondary:focus {
  color:var(--brand);
  background:#fff;
  border-color:#fff;
}

.setup-reference{
  margin:24px 0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
}
.setup-reference .title{
  padding:14px 18px;
  font-weight:800;
  background:var(--surface-2);
  border-bottom:1px solid var(--line);
}
.setup-reference .row{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:16px;
  padding:13px 18px;
  border-bottom:1px solid var(--line);
}
.setup-reference .row:last-child{border-bottom:0}
.setup-reference .label{font-weight:750;color:var(--muted)}
.setup-reference code{
  white-space:normal;
  word-break:break-all;
}
.guide-shot{
  margin:22px 0 30px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px;
  box-shadow:0 8px 28px rgba(11,42,87,.06);
}
.guide-shot img{
  display:block;
  width:100%;
  border-radius:12px;
  border:1px solid var(--line);
}
.guide-shot figcaption{
  padding:10px 4px 2px;
  color:var(--muted);
  font-size:13px;
}
.substeps{
  margin:12px 0 0 0;
  padding-left:20px;
}
.substeps li{margin:8px 0}
@media (max-width:620px){
  .setup-reference .row{
    grid-template-columns:1fr;
    gap:5px;
  }
}
