:root {
  --ink: #0b1220; --ink-2: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #f7f9fc;
  --navy: #0b1b3a; --blue: #1d4ed8; --blue-2: #2563eb; --green: #16a34a; --green-bg: #dcfce7; --amber: #f59e0b;
  --radius: 14px; --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 17px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--blue); }
@media (max-width: 760px) { .nav nav a.hide-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .08s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #15803d; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #1e40af; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, #1e3a8a 0%, transparent 60%), var(--navy); color: #fff; padding: 72px 0 0; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #93c5fd; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; margin: 14px 0 18px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: #4ade80; }
.hero p.lead { font-size: 19px; color: #cbd5e1; margin: 0 0 28px; max-width: 540px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .fine { margin-top: 14px; font-size: 14px; color: #94a3b8; }
.hero .shot { border-radius: 14px 14px 0 0; box-shadow: 0 30px 80px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12); border-bottom: 0; align-self: end; margin-top: 10px; }
.hero .grid > div:first-child { padding-bottom: 64px; }
@media (max-width: 900px) { .hero .grid { grid-template-columns: 1fr; } .hero .grid > div:first-child { padding-bottom: 8px; } }

/* sections */
section { padding: 80px 0; }
section.alt { background: var(--bg); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 10px; letter-spacing: -.015em; line-height: 1.15; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: -1px; }
.stats div { background: #fff; padding: 22px; text-align: center; }
.stats b { display: block; font-size: 26px; color: var(--navy); }
.stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 54px; align-items: center; margin-bottom: 84px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip > :first-child { order: 2; }
.feature h3 { font-size: 28px; margin: 6px 0 12px; letter-spacing: -.01em; line-height: 1.2; }
.feature p { color: var(--ink-2); font-size: 17px; margin: 0 0 14px; }
.feature ul { padding: 0; margin: 0; list-style: none; }
.feature li { padding: 6px 0 6px 28px; position: relative; color: var(--ink-2); }
.feature li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.feature img { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(15,23,42,.12); }
.tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; gap: 24px; } .feature.flip > :first-child { order: 0; } }

pre.sample { background: var(--navy); color: #e2e8f0; border-radius: 10px; padding: 16px 18px; font: 14px/1.55 Consolas, Menlo, monospace; overflow-x: auto; margin: 16px 0 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #eff6ff; color: var(--blue); font-weight: 700; margin-bottom: 14px; }
.step h4 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* pricing */
.price-card { max-width: 520px; margin: 0 auto; background: #fff; border: 2px solid var(--green); border-radius: 20px; padding: 34px; box-shadow: 0 24px 60px rgba(22,163,74,.12); position: relative; }
.price-card .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { margin: 0; font-size: 20px; }
.price { font-size: 56px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 0; line-height: 1; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 26px; }
.price-card li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px dashed var(--line); }
.price-card li:last-child { border-bottom: 0; }
.price-card li::before { content: ""; position: absolute; left: 6px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.price-card .btn { width: 100%; }
.price-card .under { text-align: center; color: var(--muted); font-size: 14px; margin: 12px 0 0; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 10px 0 0; }

.cta-band { background: var(--navy); color: #fff; text-align: center; border-radius: 20px; padding: 52px 24px; }
.cta-band h2 { margin: 0 0 10px; font-size: 32px; }
.cta-band p { color: #cbd5e1; margin: 0 0 24px; font-size: 18px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 18px 36px; justify-content: space-between; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--blue); }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer .legal { margin-top: 18px; font-size: 13px; }

/* simple pages */
.page { max-width: 820px; margin: 0 auto; padding: 56px 22px 70px; }
.page h1 { font-size: 36px; margin: 0 0 6px; letter-spacing: -.015em; }
.page h2 { font-size: 21px; margin: 34px 0 8px; color: var(--navy); }
.page .meta { color: var(--muted); margin: 0 0 26px; }
.page table { border-collapse: collapse; width: 100%; font-size: 15px; }
.page td, .page th { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.page th { background: #eff6ff; }
.note { background: #eff6ff; border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 0 10px 10px 0; }

/* checkout */
.checkout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.panel h2 { margin-top: 0; }
label.field { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 6px; }
input[type=email], input[type=text], select { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; }
input:focus, select:focus { outline: 2px solid #93c5fd; border-color: var(--blue); }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 15px; color: var(--ink-2); }
.agree input { margin-top: 5px; width: 18px; height: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary-row.total { font-weight: 700; font-size: 18px; border-bottom: 0; }
.msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 15px; display: none; }
.msg.show { display: block; }
.msg.err { background: #fef2f2; color: #b91c1c; }
.msg.info { background: #fffbeb; color: #92400e; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: 14px; margin-top: 16px; }
.big-check { width: 64px; height: 64px; border-radius: 50%; background: var(--green-bg); display: grid; place-items: center; margin-bottom: 14px; }
.big-check::after { content: ""; width: 24px; height: 13px; border-left: 4px solid var(--green); border-bottom: 4px solid var(--green); transform: rotate(-45deg) translate(2px,-3px); }
.key-demo { font: 700 20px Consolas, Menlo, monospace; background: #eff6ff; border: 1px dashed var(--blue); border-radius: 10px; padding: 12px; text-align: center; letter-spacing: 1px; }
.nav nav a.btn { color: #fff; }
