:root{
  --blue:#2563eb; --blue-d:#1d4ed8; --blue-l:#eff6ff;
  --ink:#0f172a; --mut:#64748b; --line:#e2e8f0; --bg:#f8fafc; --card:#fff;
  --ok:#15803d; --ok-bg:#f0fdf4; --warn:#b45309; --warn-bg:#fffbeb; --err:#b91c1c; --err-bg:#fef2f2;
  --radius:12px; --shadow:0 1px 2px rgba(15,23,42,.06), 0 4px 12px rgba(15,23,42,.05);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.6; -webkit-font-smoothing:antialiased;
}
a{color:var(--blue); text-decoration:none}
a:hover{text-decoration:underline}
code{background:var(--blue-l); color:var(--blue-d); padding:1px 5px; border-radius:4px; font-size:.85em; font-family:ui-monospace,Menlo,Consolas,monospace}

/* nav */
.nav{position:sticky; top:0; z-index:40; background:rgba(255,255,255,.92); backdrop-filter:blur(8px); border-bottom:1px solid var(--line)}
.nav-inner{max-width:1060px; margin:0 auto; padding:12px 20px; display:flex; align-items:center; justify-content:space-between; gap:16px}
.brand{display:flex; align-items:center; gap:9px; font-weight:700; font-size:16px; color:var(--ink)}
.brand:hover{text-decoration:none}
.brand-mark{width:26px; height:26px; flex:none}
.nav-links{display:flex; gap:20px; font-size:14px}
.nav-links a{color:var(--mut)}
.nav-links a:hover{color:var(--blue); text-decoration:none}

/* hero */
.hero{background:linear-gradient(160deg,#f8fafc 0%, #eff6ff 60%, #e0ecff 100%); border-bottom:1px solid var(--line)}
.hero-inner{max-width:1060px; margin:0 auto; padding:56px 20px 48px}
.eyebrow{display:inline-block; background:#fff; border:1px solid var(--line); color:var(--blue-d); font-size:12px; font-weight:600; padding:4px 12px; border-radius:999px; margin-bottom:16px}
.hero h1{margin:0; font-size:40px; line-height:1.15; letter-spacing:-.02em; max-width:760px}
.lede{margin:16px 0 0; font-size:18px; color:#334155; max-width:680px}
.hero-cta{display:flex; flex-wrap:wrap; gap:12px; margin-top:26px}
.hero-note{margin:14px 0 0; font-size:13px; color:var(--mut)}
.hero-art{margin:36px 0 0}
.hero-art img{display:block; width:100%; height:auto; border-radius:16px; box-shadow:0 14px 44px rgba(37,99,235,.16), 0 2px 8px rgba(15,23,42,.06)}

/* buttons */
.btn{display:inline-block; background:var(--blue); color:#fff; border:1px solid var(--blue); font-size:15px; font-weight:600; padding:11px 20px; border-radius:10px; cursor:pointer; transition:.15s}
.btn:hover{background:var(--blue-d); border-color:var(--blue-d); text-decoration:none; color:#fff}
.btn-ghost{background:#fff; color:var(--blue-d); border-color:var(--line)}
.btn-ghost:hover{background:var(--blue-l); color:var(--blue-d); border-color:var(--line)}
.btn-primary{background:var(--blue); border-color:var(--blue)}
.btn-block{display:block; width:100%; text-align:center}
.btn:disabled{opacity:.5; cursor:not-allowed}

/* sections */
.section{padding:52px 0}
.section-alt{background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.wrap{max-width:1060px; margin:0 auto; padding:0 20px}
.sec-title{margin:0; font-size:28px; letter-spacing:-.01em}
.sec-sub{margin:8px 0 26px; color:var(--mut); font-size:16px}

/* cards */
.card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); margin-bottom:20px}
.card-head{display:flex; align-items:center; gap:12px; margin-bottom:14px}
.step{display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; flex:none; border-radius:999px; background:var(--blue); color:#fff; font-size:13px; font-weight:700}
.card-head h3{margin:0; font-size:17px}
.row{display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:12px}
.row-end{justify-content:flex-end; margin-top:14px; margin-bottom:0}
.lbl{font-size:14px; color:var(--mut)}
select{font-size:14px; font-family:inherit; padding:9px 10px; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--ink)}
textarea{width:100%; min-height:170px; padding:13px; border:1px solid var(--line); border-radius:10px; font-family:ui-monospace,Menlo,Consolas,monospace; font-size:12.5px; line-height:1.5; resize:vertical; color:var(--ink); background:#fcfdff}
textarea:focus, select:focus{outline:2px solid var(--blue); outline-offset:0; border-color:var(--blue)}
.stat{margin-top:10px; font-size:13.5px; color:var(--mut)}

/* report */
.report:empty{display:none}
.rpt{border-radius:10px; padding:12px 14px; margin-bottom:12px; font-size:13.5px}
.rpt-h{font-weight:700; margin-bottom:6px}
.rpt ul{margin:0; padding-left:20px}
.rpt li{margin:3px 0}
.rpt-more{margin-top:6px; color:var(--mut); font-size:12.5px}
.rpt-err{background:var(--err-bg); border:1px solid #fecaca; color:var(--err)}
.rpt-warn{background:var(--warn-bg); border:1px solid #fde68a; color:var(--warn)}
.rpt-ok{background:var(--ok-bg); border:1px solid #bbf7d0; color:var(--ok); font-weight:600}

/* preview */
.preview{background:#0f172a; color:#e2e8f0; padding:14px; border-radius:10px; overflow:auto; max-height:340px; font-size:12px; font-family:ui-monospace,Menlo,Consolas,monospace; margin:0; white-space:pre; line-height:1.5}

/* tiles */
.grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(250px,1fr)); gap:16px}
.tile{background:var(--bg); border:1px solid var(--line); border-radius:var(--radius); padding:18px}
.tile h4{margin:0 0 10px; font-size:15px; color:var(--blue-d)}
.tile ul{margin:0; padding-left:18px; font-size:13.5px; color:#334155}
.tile li{margin:6px 0}

/* pricing */
.plans{display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:18px; max-width:760px; margin:0 auto}
.plan{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow); position:relative}
.plan h3{margin:0; font-size:16px; color:var(--mut); font-weight:600}
.price{font-size:38px; font-weight:800; letter-spacing:-.02em; margin:6px 0 14px}
.per{font-size:16px; font-weight:600; color:var(--mut)}
.plan-featured{border:2px solid var(--blue); box-shadow:0 4px 20px rgba(37,99,235,.12)}
.flag{position:absolute; top:-11px; left:20px; background:var(--blue); color:#fff; font-size:11px; font-weight:700; padding:3px 10px; border-radius:999px; letter-spacing:.02em}
.ticks{list-style:none; margin:0 0 18px; padding:0; font-size:14px}
.ticks li{padding:5px 0 5px 24px; position:relative; color:#334155}
.ticks li::before{content:""; position:absolute; left:4px; top:12px; width:5px; height:9px; border:solid var(--ok); border-width:0 2px 2px 0; transform:rotate(45deg)}
.plan-note{margin:10px 0 0; font-size:12.5px; color:var(--mut); text-align:center}

/* faq */
.faq{max-width:760px}
details{border:1px solid var(--line); border-radius:10px; padding:14px 16px; margin-bottom:10px; background:#fff}
details[open]{background:var(--blue-l); border-color:#bfdbfe}
summary{font-weight:600; cursor:pointer; font-size:15px}
details p{margin:10px 0 2px; font-size:14.5px; color:#334155}

/* footer */
.foot{border-top:1px solid var(--line); background:#fff; padding:24px 0}
.foot-inner{display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px}
.muted{color:var(--mut)}

/* toast */
#toast{position:fixed; left:50%; bottom:26px; transform:translateX(-50%) translateY(8px); background:var(--ink); color:#fff; padding:11px 20px; border-radius:10px; font-size:14px; opacity:0; pointer-events:none; transition:.25s; z-index:60; max-width:90vw; text-align:center}
#toast.show{opacity:1; transform:translateX(-50%) translateY(0)}

@media(max-width:640px){
  .hero h1{font-size:30px}
  .lede{font-size:16px}
  .sec-title{font-size:23px}
  .nav-links{display:none}
  .row-end{justify-content:stretch}
  .row-end .btn{width:100%}
}
