:root {
  --blue: #0338c7; --blue-d: #022a96; --ink: #14161c; --muted: #5b6270; --line: #e3e6ec;
  --soft: #f4f6fb; --gold: #ffd24a; --green: #16a34a; --red: #dc2626;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
h1, h2, h3 { font-family: Poppins, Inter, sans-serif; line-height: 1.15; margin: 0 0 .5em; }
a { color: var(--blue); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); color: #fff; border: 0; border-radius: 10px; padding: 14px 22px; font: 600 16px Inter, sans-serif; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--blue-d); }
.btn.light { background: #fff; color: var(--blue); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--blue); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav img { height: 26px; display: block; }
.nav a.link { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }

/* hero */
.hero { background: var(--blue); color: #fff; padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -200px; border-radius: 50%; border: 70px solid rgba(255,255,255,.06); }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.tag { display: inline-block; background: #fff; color: var(--blue); font: 700 12px Poppins; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; margin: 18px 0 14px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.sub { font-size: 18px; color: rgba(255,255,255,.88); max-width: 540px; }
.hero .ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 8px; }
.hero .ticks li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 10px; }
.covers { display: flex; gap: 16px; justify-content: center; }
.covers img { width: 46%; max-width: 230px; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.covers img:first-child { transform: rotate(-4deg) translateY(10px); }
.covers img:last-child { transform: rotate(4deg); }

section.block { padding: 64px 0; }
section.block.soft { background: var(--soft); }
.center { text-align: center; }
.kicker { font: 700 12px Poppins; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; margin-top: 8px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; }
.card.best { border: 2px solid var(--blue); position: relative; }
.card.best .ribbon { position: absolute; top: -13px; left: 22px; background: var(--gold); color: var(--ink); font: 700 12px Poppins; padding: 4px 10px; border-radius: 6px; }
.card h3 { font-size: 20px; margin-top: 6px; }
.card .price { font: 800 32px Poppins; margin: 8px 0 2px; }
.card .price s { font: 500 16px Inter; color: var(--muted); margin-left: 8px; }
.card ul { padding-left: 18px; color: #333; margin: 12px 0 20px; flex: 1; }
.card .btn { width: 100%; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.step { background: #fff; border-radius: 14px; padding: 22px; border: 1px solid var(--line); }
.step b { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; align-items: center; justify-content: center; font-family: Poppins; margin-bottom: 10px; }

.toc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.toc .col { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.toc ol { padding-left: 20px; margin: 10px 0 0; columns: 1; }
.toc li { margin: 4px 0; }

.faq { max-width: 760px; margin: 28px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 17px; }
.faq p { color: #333; margin: 10px 0 0; }

/* checkout */
.checkout { max-width: 560px; margin: 28px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 10px 40px rgba(3,56,199,.08); }
.opts { display: grid; gap: 10px; margin-bottom: 18px; }
.opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--blue); background: #f2f6ff; }
.opt input { accent-color: var(--blue); width: 18px; height: 18px; }
.opt .n { flex: 1; font-weight: 600; }
.opt .p { font: 700 16px Poppins; }
label.f { display: block; font-size: 14px; font-weight: 600; margin: 12px 0 6px; }
input.in { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: 16px Inter, sans-serif; }
input.in:focus { outline: none; border-color: var(--blue); }
.phone { display: flex; }
.phone span { padding: 13px 12px; border: 1.5px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; background: var(--soft); }
.phone input { border-radius: 0 10px 10px 0; }
.err { color: var(--red); font-size: 14px; min-height: 20px; margin: 10px 0; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.secure { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: 13px; color: var(--muted); margin-top: 10px; }

footer { background: #0c1222; color: #aab2c5; padding: 34px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
footer a { color: #dfe5f3; text-decoration: none; margin-right: 18px; }

/* simple pages */
.page { max-width: 760px; margin: 40px auto; padding: 0 20px 60px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.lib a { text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: block; }
.lib img { width: 100%; display: block; aspect-ratio: 1075/1521; object-fit: cover; background: var(--soft); }
.lib div { padding: 14px; }
.legal h2 { margin-top: 28px; font-size: 20px; }

@media (max-width: 860px) {
  .hero .grid, .cards, .steps, .toc { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 50px; }
  .covers { margin-top: 10px; }
}
