:root {
  --bg: #ffffff;
  --bg-alt: #f6f4fc;
  --ink: #120d2b;
  --ink-soft: #57516f;
  --line: #e6e2f3;
  --brand: #3300cc;
  --brand-dark: #24008f;
  --accent: #ffcc33;
  --ok: #12a150;
  --warm: #ffcc33;
  --hero: radial-gradient(900px 420px at 90% -20%, #5b2ff5 0%, rgba(91, 47, 245, 0) 65%), #3300cc;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(51, 0, 204, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .form-title { font-family: 'Space Grotesk', Inter, sans-serif; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; margin: .2em 0 .4em; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 1.6em 0 .6em; }
h3 { font-size: 1.1rem; margin: 0 0 .4em; }
em { font-style: normal; color: var(--accent); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.mt { margin-top: 32px; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; margin: 0; }
.logo img { height: 28px; width: auto; display: block; }
.footer .logo img { height: 32px; margin-bottom: 8px; }
.logo:hover { text-decoration: none; }
.mainnav { display: flex; gap: 20px; margin-left: auto; }
.mainnav a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-pro { color: var(--brand) !important; font-weight: 700 !important; }

/* Buttons */
.btn { display: inline-block; border: 0; cursor: pointer; background: var(--accent); color: #1a0066; font: 700 1rem Inter, sans-serif; padding: 13px 22px; border-radius: 10px; transition: transform .1s, background .2s; }
.btn:hover { text-decoration: none; background: #ffd65c; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: #f1ecff; }

/* Hero */
.hero { background: var(--hero); color: #fff; padding: 56px 0 64px; }
.hero-pro { background: radial-gradient(900px 420px at 90% -20%, #3a1aa8 0%, rgba(58, 26, 168, 0) 65%), #1a0066; }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.hero-copy { padding-top: 24px; }
.eyebrow::before { content: ''; display: inline-block; width: 10px; height: 10px; background: var(--accent); margin-right: 10px; vertical-align: 1px; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; opacity: .8; margin: 0; }
.lead { font-size: 1.15rem; opacity: .92; max-width: 560px; }
.section .lead { color: var(--ink-soft); }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.trust li { padding-left: 30px; position: relative; }
.trust li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 4px; background: var(--accent); color: #1a0066; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }

/* Cards & grids */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.section > .wrap > h2:first-child, .section > .wrap > h2.center { margin-top: 0; }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px; }

.brand-card { display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.brand-card:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.brand-card p { margin: .3em 0; color: var(--ink-soft); }
.brand-card .tag { margin-top: auto; align-self: flex-start; }
.brand-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price { font-weight: 700; color: var(--brand); letter-spacing: .05em; white-space: nowrap; }
.price .muted { color: #c3ccd6; }

.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin: 0; }
.tag-cold-1 { background: #fff2e8; color: #b44d14; }
.tag-cold-2 { background: #efe9ff; color: #3300cc; }
.tag-cold-3 { background: #e3faf3; color: #00785a; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .9rem; color: var(--ink); background: #fff; }
.pill:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.block-link { display: block; padding: 6px 0; }

.vs-card { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 1.05rem; text-align: center; }
.vs-card:hover { text-decoration: none; box-shadow: var(--shadow); }
.vs { color: var(--brand); font-weight: 800; text-transform: uppercase; font-size: .8rem; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { background: var(--bg-alt); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.cmp tbody tr:last-child td, .cmp tbody tr:last-child th { border-bottom: 0; }
.vs-table tbody th { width: 160px; color: var(--ink-soft); font-weight: 600; }
.vs-table thead th:not(:first-child) { color: var(--ink); font-size: 1rem; text-transform: none; }

ul.check, ul.warn { list-style: none; padding: 0; margin: 0 0 12px; }
ul.check li, ul.warn li { padding-left: 24px; position: relative; margin: 6px 0; }
ul.check li::before { content: '✓'; color: var(--ok); position: absolute; left: 0; font-weight: 700; }
ul.warn li::before { content: '!'; color: #e0731b; position: absolute; left: 6px; font-weight: 800; }
.facts h2 { margin-top: 0; font-size: 1.15rem; }
.facts .card h2 + ul + h2 { margin-top: 20px; }
.dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; margin: 0; }
.dl dt { color: var(--ink-soft); }
.dl dd { margin: 0; font-weight: 500; }
.verdict { margin-top: 24px; border-left: 4px solid var(--accent); }
.verdict h2 { margin-top: 0; }

.callout { background: var(--hero); color: #fff; border-radius: var(--radius); padding: 36px; display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.callout h2 { margin-top: 0; }
.callout p { opacity: .9; margin-bottom: 0; }
.callout .btn { flex-shrink: 0; }

.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 20px; }
.prose h2 { margin-top: 1.4em; }
.note { background: #fff8e6; border: 1px solid #ffe2a0; border-radius: 10px; padding: 12px 16px; font-size: .9rem; }

.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--brand); }
.faq[open] summary::after { content: '–'; }
.faq p { color: var(--ink-soft); margin: 10px 0 0; }

/* Form */
.form-card { box-shadow: 0 24px 60px rgba(0, 0, 0, .25); border: 0; padding: 28px; }
.form-title { margin: 0; font-size: 1.35rem; }
.progress { height: 6px; background: var(--bg-alt); border-radius: 999px; margin: 14px 0 20px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .3s; }
.quote-form fieldset { border: 0; padding: 0; margin: 0; }
.quote-form .step { display: none; }
.quote-form .step.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.quote-form legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; height: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, background .15s; }
.choice strong { display: block; font-size: .95rem; }
.choice small { color: var(--ink-soft); font-size: .8rem; }
.choice:hover span { border-color: var(--brand); }
.choice input:checked + span { border-color: var(--brand); background: #f1ecff; }
.choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.field { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 12px; }
.field input, .field select { display: block; width: 100%; margin-top: 5px; font: 400 1rem Inter, sans-serif; color: var(--ink); padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(51, 0, 204, .15); }
.consent { display: flex; gap: 10px; font-size: .8rem; color: var(--ink-soft); margin: 6px 0 4px; align-items: flex-start; }
.consent input { margin-top: 3px; flex-shrink: 0; }
.brands-check { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: .88rem; margin-bottom: 12px !important; }
.brands-check legend { font-size: .85rem !important; color: var(--ink-soft); font-weight: 600; margin-bottom: 6px !important; }
.form-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 18px; }
.form-nav .btn:last-child, .form-nav [data-next] { margin-left: auto; }
.form-nav [type=submit] { flex: 1; }
.quote-form.single .form-nav [type=submit] { margin-left: 0; }
.form-error { color: #c62828; font-size: .9rem; margin: 12px 0 0; }
.form-success { text-align: center; padding: 20px 0; }
.success-icon { width: 64px; height: 64px; border-radius: 12px; background: var(--brand); color: var(--accent); font-size: 2rem; display: grid; place-items: center; margin: 0 auto 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { background: #14004d; color: #d9d3f5; padding: 48px 0 24px; margin-top: 0; }
.footer .logo { color: #fff; }
.footer .muted { color: #a99fd6; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-grid a { display: block; color: #d9d3f5; padding: 3px 0; font-size: .92rem; }
.footer-legal { border-top: 1px solid #2a0f7a; margin-top: 32px; padding-top: 20px; font-size: .8rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding-top: 0; }
  .grid3, .steps3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mainnav { display: none; }
  .topbar-inner { justify-content: space-between; }
}
@media (max-width: 600px) {
  .hero { padding: 32px 0 40px; }
  .grid2, .grid3, .steps3, .choices { grid-template-columns: 1fr; }
  .callout { flex-direction: column; align-items: flex-start; padding: 24px; }
  .dl { grid-template-columns: 1fr; gap: 2px; }
  .dl dd { margin-bottom: 10px; }
  .form-card { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .btn-sm { padding: 8px 12px; font-size: .82rem; }
}

/* Blog */
.post-card { display: flex; flex-direction: column; gap: 4px; transition: box-shadow .2s, transform .2s; }
.post-card:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card .tag { align-self: flex-start; }
.post-card h3 { margin: 8px 0 4px; color: var(--ink); }
.post-card p { margin: 0; }
.post-card .small { margin-top: auto; padding-top: 10px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.article { font-size: 1.05rem; }
.article h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: 10px; }
.article h2 { scroll-margin-top: 80px; }
.article h3 { margin-top: 1.4em; }
.article p, .article li { color: #24364c; }
.article li { margin: 6px 0; }
.article .table-wrap { margin: 20px 0; }
.article .cmp { min-width: 520px; font-size: .95rem; }
.article-aside { position: sticky; top: 84px; }
.article-aside .form-card { box-shadow: var(--shadow); border: 1px solid var(--line); }
.toc { margin: 24px 0; padding: 18px 22px; background: var(--bg-alt); border: 0; }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.toc li { margin: 4px 0; font-size: .95rem; }
.cta-box { display: flex; gap: 20px; align-items: center; justify-content: space-between; background: var(--hero); color: #fff; border-radius: var(--radius); padding: 22px 26px; margin: 32px 0; }
.cta-box p { color: #ddd5ff !important; margin: 4px 0 0; font-size: .95rem; }
.cta-box .btn { flex-shrink: 0; }
@media (max-width: 960px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 600px) {
  .cta-box { flex-direction: column; align-items: flex-start; }
}
