/* ============ Brand tokens ============ */
:root {
  --cta: #D6001C;
  --cta-dark: #B30017;
  --tg: #229ED9;
  --mint: #13C296;
  --text: #0F1419;
  --muted: #5B6573;
  --bg-section: #F5F7FA;
  --bg: #FFFFFF;
  --border: #E3E8EF;

  --radius: 14px;
  --radius-sm: 12px;
  --maxw: 1080px;
  --maxw-narrow: 720px;

  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ============ Reset / base ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: 1.85rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.12rem; font-weight: 700; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow { max-width: var(--maxw-narrow); }

/* ============ CTA button ============ */
.cta {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 24px;
  border-radius: var(--radius);
  border: 2px solid var(--cta);
  text-align: center;
  transition: background .15s ease;
  cursor: pointer;
}
.cta:hover, .cta:focus-visible { background: var(--cta-dark); border-color: var(--cta-dark); }
.cta:focus-visible { outline: 3px solid rgba(214,0,28,.35); outline-offset: 2px; }

.cta-sm { font-size: .92rem; padding: 9px 14px; border-radius: var(--radius-sm); }

.cta-outline {
  background: #fff;
  color: var(--cta);
}
.cta-outline:hover, .cta-outline:focus-visible {
  background: var(--cta);
  color: #fff;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 800;
  color: var(--text);
}
.brand-mark { flex: none; }
.brand-name { font-size: 1rem; }

/* ============ Sections ============ */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-section); }

/* ============ Hero ============ */
.hero { padding: 40px 0 36px; }
.hero .lead { font-size: 1.08rem; color: var(--muted); max-width: 640px; }
.micro { font-size: .9rem; color: var(--muted); margin-top: 12px; }

.chips {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  background: var(--bg-section);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: .85rem;
  font-weight: 500;
}

/* ============ Steps ============ */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--cta);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); }

/* ============ Value cards ============ */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.card-ico { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.card h3 { margin-bottom: .3em; }
.card p { margin: 0; color: var(--muted); }

/* ============ Test drive ============ */
.testdrive {
  background: var(--mint);
  color: #06382b;
}
.testdrive h2 { color: #06291f; }
.testdrive p { color: #0a4636; }
.testdrive .cta { margin-top: 6px; }

/* ============ Plans ============ */
.plans {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 16px;
}
.plan {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}
.plan-accent { border: 2px solid var(--cta); }
.plan h3 { margin-bottom: .25em; }
.price { font-size: 1.8rem; font-weight: 800; margin: 0; }
.price-note { color: var(--muted); font-size: .9rem; margin: 2px 0 0; }
.plan-feats {
  list-style: none;
  margin: 14px 0 18px;
  padding: 0;
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: .95rem;
}
.plan-feats li::before { content: "✓"; color: var(--mint); font-weight: 800; margin-right: 8px; }
.plan .cta { margin-top: auto; }

.badge {
  align-self: flex-start;
  background: var(--bg-section);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.badge-accent {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
}
.pay-note { color: var(--muted); font-size: .92rem; text-align: center; margin: 0; }

/* ============ Risk ============ */
.risk {
  background: #FFF4F2;
  border: 1px solid #F5C2BB;
  border-left: 5px solid var(--cta);
  border-radius: var(--radius);
  padding: 22px 22px;
}
.risk h2 { color: var(--cta); }
.risk p { margin: 0; }

/* ============ FAQ ============ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--muted);
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.faq code {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: .9em;
}

/* ============ Final CTA ============ */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ============ Footer ============ */
.site-footer {
  background: var(--text);
  color: #C2CAD6;
  padding: 36px 0 96px;
  font-size: .92rem;
}
.footer-lead { color: #fff; font-weight: 600; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 18px;
}
.footer-links a { color: #fff; text-decoration: none; opacity: .9; }
.footer-links a:hover { text-decoration: underline; opacity: 1; }
.footer-legal, .footer-disclaimer { color: #8C96A6; font-size: .82rem; margin: 0 0 8px; }

/* ============ Sticky mobile CTA ============ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  backdrop-filter: blur(6px);
}
.sticky-cta .cta { display: block; width: 100%; padding: 14px 18px; }

/* ============ Responsive ============ */
@media (min-width: 600px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.8rem; }
  .hero { padding: 56px 0 44px; }
  .section { padding: 64px 0; }
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .sticky-cta { display: none; }
}

@media (min-width: 980px) {
  h1 { font-size: 2.7rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
