/* ============ alarmpriser.no — light scandinavian ============ */
:root {
  --accent: #0E9F6E;
  --accent-ink: #0B7E58;
  --accent-soft: #E5F6EF;
  --green: #0E9F6E;
  --green-soft: #E5F6EF;
  --red: #E2554A;
  --bg: #F8F9FB;
  --bg-alt: #FFFFFF;
  --ink: #0E1B2C;
  --muted: #5A6B80;
  --line: #E5EAF1;
  --card: #FFFFFF;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 44, 0.05), 0 4px 14px rgba(14, 27, 44, 0.05);
  --shadow-lg: 0 2px 6px rgba(14, 27, 44, 0.06), 0 24px 60px -18px rgba(14, 27, 44, 0.18);
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- reveal on scroll ---------- */
[data-reveal] { opacity: 1; transform: none; transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
body[data-motion="off"] [data-reveal] { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.is-scrolled { background: rgba(255, 255, 255, 0.96); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; display: flex; align-items: center; gap: 9px; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; flex: none; }
.logo-mark svg { display: block; }
.logo span em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }

/* burger + mobile menu */
.nav-burger { display: none; }
@media (max-width: 760px) {
  .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; padding: 12px 4px 12px 12px; cursor: pointer; }
  .nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
  .nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav.menu-open { background: #fff; box-shadow: 0 1px 0 var(--line); }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 20px 20px; box-shadow: var(--shadow-lg);
  }
  .nav.menu-open .nav-links { display: flex; animation: menuIn 0.25s cubic-bezier(0.2, 0.6, 0.2, 1); }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav-links a { padding: 13px 10px; font-size: 17px; color: var(--ink); border-radius: 10px; }
  .nav-links a:active { background: var(--bg); }
  .nav-links .btn { margin-top: 10px; justify-content: center; padding: 14px 20px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; border: none; cursor: pointer;
  text-decoration: none; transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px color-mix(in oklab, var(--accent) 65%, transparent); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: 15px; }

/* ---------- hero shared ---------- */
.hero { position: relative; padding: 160px 0 90px; overflow: clip; }
@media (max-width: 760px) {
  .hero { padding: 118px 0 56px; }
  .hero h1 { font-size: clamp(33px, 9.5vw, 44px); }
  .hero .lede { font-size: 17px; }
  .hero-ctas .btn { width: 100%; }
  .trust-row { gap: 12px 18px; font-size: 13.5px; }
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.blob-1 { width: 540px; height: 540px; right: -140px; top: -120px; background: var(--accent-soft); }
.blob-2 { width: 420px; height: 420px; left: -160px; top: 320px; background: var(--green-soft); }
.hero .wrap { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.hero h1 { font-size: clamp(40px, 5.6vw, 68px); margin-bottom: 22px; }
.hero h1 .accent { color: var(--accent); }
.hero h1 .strike { position: relative; white-space: nowrap; }
.hero h1 .strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: 0.09em; background: var(--red); border-radius: 99px; transform: rotate(-2deg); }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 36px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.trust-row > div { display: flex; align-items: center; gap: 8px; }
.trust-row svg { color: var(--green); flex: none; }

/* hero variants visibility */
.hero-a { display: block; }
.hero-b, .hero-c { display: none; }

/* ---- hero A: split with call stack ---- */
.hero-a .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
@media (max-width: 920px) { .hero-a .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.callstack { position: relative; display: grid; gap: 14px; max-width: 420px; margin: 0 auto; }
.call-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.call-card .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; background: #EEF1F6; color: var(--muted); }
.call-card .who { flex: 1; min-width: 0; }
.call-card .who strong { display: block; font-size: 15.5px; font-weight: 600; }
.call-card .who span { font-size: 13px; color: var(--muted); }
.call-card .tag { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; flex: none; }
.call-card.bad { opacity: 0.92; }
.call-card.bad .tag { background: #FBECEB; color: var(--red); }
.call-card.bad { animation: shake 5s ease-in-out infinite; }
.call-card.bad:nth-child(2) { animation-delay: 1.2s; }
.call-card.bad:nth-child(3) { animation-delay: 2.6s; }
@keyframes shake {
  0%, 6%, 100% { transform: none; }
  1.5% { transform: translateX(-3px) rotate(-0.5deg); }
  3% { transform: translateX(3px) rotate(0.5deg); }
  4.5% { transform: translateX(-2px); }
}
body[data-motion="off"] .call-card.bad { animation: none; }
.call-card.good {
  border: 1.5px solid var(--accent); box-shadow: var(--shadow-lg);
  transform: scale(1.04); position: relative; z-index: 2;
}
.call-card.good .avatar { background: var(--accent); color: #fff; }
.call-card.good .tag { background: var(--green-soft); color: var(--green); }
.callstack .divider { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.callstack .divider::before, .callstack .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---- hero B: savings-first ---- */
.hero-b { text-align: center; }
.hero-b .lede { margin-left: auto; margin-right: auto; }
.hero-b .big-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(72px, 11vw, 150px); letter-spacing: -0.04em; line-height: 1; color: var(--accent); margin: 8px 0 4px; }
.hero-b .big-num small { font-size: 0.32em; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.hero-b .num-note { font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.hero-b .hero-ctas, .hero-b .trust-row { justify-content: center; }

/* ---- hero C: minimal typographic ---- */
.hero-c { text-align: center; padding-bottom: 110px; }
.hero-c h1 { font-size: clamp(48px, 7.5vw, 96px); }
.hero-c .lede { margin: 26px auto 38px; }
.hero-c .hero-ctas, .hero-c .trust-row { justify-content: center; }

/* ---------- provider strip ---------- */
.providers { padding: 26px 0 70px; }
.providers .label { text-align: center; font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.provider-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 48px; }
.provider-row span { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: #9AA7B8; transition: color 0.25s; }
.provider-row span:hover { color: var(--ink); }
.provider-row .more { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--muted); }

/* ---------- story (pinned scroll) ---------- */
.story { position: relative; height: 340vh; background: var(--ink); color: #fff; }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: clip; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; }
@media (max-width: 920px) { .story-grid { grid-template-columns: 1fr; gap: 36px; } }
.story-copy .kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8FB1F5; margin-bottom: 18px; }
.story-copy h2 { font-size: clamp(34px, 4.4vw, 56px); color: #fff; min-height: 2.2em; }
.story-copy h2 .swap { display: block; }
.story-copy .swap-1, .story-copy .swap-2 { transition: opacity 0.5s, transform 0.5s; }
.story .counter { margin-top: 26px; display: inline-flex; align-items: baseline; gap: 12px; font-family: var(--font-display); }
.story .counter strong { font-size: 88px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #F2766B; transition: color 0.4s; }
.story .counter span { font-size: 17px; color: #93A3B8; font-family: var(--font-body); }
.story.phase2 .counter strong { color: #4ADE9C; }

.story-phone {
  width: min(340px, 80vw); margin: 0 auto; background: #16263C; border: 1px solid #243650;
  border-radius: 36px; padding: 22px 16px 26px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
  position: relative; overflow: hidden; min-height: 480px;
}
.story-phone .notch { width: 110px; height: 8px; border-radius: 99px; background: #243650; margin: 0 auto 18px; }
.story-phone .ph-time { text-align: center; font-family: var(--font-display); font-size: 34px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.story-phone .ph-date { text-align: center; font-size: 13px; color: #7E91AB; margin-bottom: 20px; }
.story-calls { display: grid; gap: 10px; }
.s-call {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px; padding: 11px 14px;
  opacity: 0; transform: translateY(-14px) scale(0.97);
  transition: opacity 0.45s, transform 0.45s;
}
.s-call.show { opacity: 1; transform: none; }
.s-call .s-ava { width: 34px; height: 34px; border-radius: 50%; background: rgba(242, 118, 107, 0.18); color: #F2766B; display: grid; place-items: center; flex: none; }
.s-call strong { display: block; font-size: 13.5px; color: #fff; font-weight: 600; line-height: 1.3; }
.s-call span { font-size: 11.5px; color: #7E91AB; }
.s-call.s-good { background: rgba(74, 222, 156, 0.1); border-color: rgba(74, 222, 156, 0.35); }
.s-call.s-good .s-ava { background: rgba(74, 222, 156, 0.18); color: #4ADE9C; }
.story.phase2 .s-call.s-bad { opacity: 0; transform: translateX(60px) rotate(2deg); }
.story-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #5C7191; display: flex; align-items: center; gap: 8px; }
.story-hint svg { animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* story on small screens: compact so copy + phone fit one viewport */
@media (max-width: 920px) {
  .story { height: 300vh; }
  .story-grid { gap: 22px; }
  .story-copy .kicker { margin-bottom: 10px; font-size: 12.5px; }
  .story-copy h2 { font-size: clamp(23px, 6.4vw, 34px); min-height: 0; }
  .story .counter { margin-top: 12px; }
  .story .counter strong { font-size: 48px; }
  .story .counter span { font-size: 14.5px; }
  .story-phone { min-height: 0; width: min(300px, 86vw); padding: 14px 12px 42px; border-radius: 28px; }
  .story-phone .ph-time { font-size: 23px; }
  .story-phone .ph-date { margin-bottom: 12px; font-size: 12px; }
  .story-phone .notch { margin-bottom: 12px; }
  .story-calls { gap: 8px; }
  .s-call { padding: 8px 12px; }
  .s-call:nth-child(6), .s-call:nth-child(7) { display: none; }
  .story-hint { bottom: 14px; }
}

/* ---------- sections ---------- */
.section { padding: 110px 0; }
@media (max-width: 760px) { .section { padding: 68px 0; } .section-head { margin-bottom: 36px; } }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head .kicker { font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.section-head p { font-size: 17.5px; color: var(--muted); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; position: relative; box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step .num {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 22px;
}
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--muted); }
.step .step-time { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 5px 12px; border-radius: 999px; }

/* ---- compare ---- */
.compare-section { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td { padding: 20px 24px; text-align: left; font-size: 16px; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-family: var(--font-display); font-size: 18px; font-weight: 700; border-bottom: 2px solid var(--ink); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .col-them { color: var(--muted); }
.compare-table .col-us { background: var(--accent-soft); font-weight: 600; }
.compare-table thead .col-us { background: var(--accent); color: #fff; border-radius: 14px 14px 0 0; border-bottom-color: var(--accent); }
.compare-table tbody tr:last-child .col-us { border-radius: 0 0 14px 14px; }
.compare-table td:first-child { font-weight: 600; }
.compare-wrap { overflow-x: auto; }
@media (max-width: 700px) { .compare-table th, .compare-table td { padding: 14px 14px; font-size: 14px; } }

.statbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
@media (max-width: 760px) { .statbar { grid-template-columns: 1fr; } }
.stat { text-align: center; padding: 36px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat .v { font-family: var(--font-display); font-weight: 800; font-size: 54px; letter-spacing: -0.03em; line-height: 1; color: var(--accent); }
.stat .v small { font-size: 0.45em; }
.stat .l { margin-top: 10px; font-size: 15px; color: var(--muted); font-weight: 500; }

/* ---- savings example ---- */
.savings-card {
  margin-top: 64px; background: var(--ink); color: #fff; border-radius: 28px;
  padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
@media (max-width: 820px) { .savings-card { grid-template-columns: 1fr; padding: 36px 28px; } }
.savings-card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: rgba(34, 97, 230, 0.25); filter: blur(60px); }
.savings-card .s-label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8FB1F5; margin-bottom: 14px; }
.savings-card h3 { font-size: clamp(24px, 3vw, 34px); color: #fff; margin-bottom: 10px; }
.savings-card p { color: #A9B7C9; font-size: 16px; max-width: 440px; }
.savings-num { position: relative; z-index: 1; text-align: center; }
.savings-num .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 7vw, 84px); letter-spacing: -0.04em; line-height: 1; color: #4ADE9C; }
.savings-num .l { font-size: 14px; color: #A9B7C9; margin-top: 8px; }
@media (max-width: 760px) { .statbar { margin-top: 40px; gap: 14px; } .savings-card { margin-top: 40px; } }

/* ---- testimonials ---- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.quote .stars { display: flex; gap: 3px; color: #F5A623; }
.quote p { font-size: 16px; flex: 1; }
.quote .by { display: flex; align-items: center; gap: 12px; }
.quote .by .ava { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.quote .by strong { display: block; font-size: 14.5px; }
.quote .by span { font-size: 13px; color: var(--muted); }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow 0.2s; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; font-weight: 600; font-size: 17px; font-family: var(--font-display);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; transition: transform 0.25s; color: var(--muted); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; max-width: 640px; }

/* ---- about ---- */
.about { background: var(--bg-alt); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.about-points { display: grid; gap: 16px; }
.about-points > div { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.about-points svg { color: var(--green); flex: none; margin-top: 3px; }
.about-points strong { display: block; font-size: 15.5px; }
.about-points span { font-size: 14.5px; color: var(--muted); }

/* ---------- lead form ---------- */
.lead { padding: 110px 0 130px; position: relative; overflow: clip; }
@media (max-width: 760px) { .lead { padding: 68px 0 84px; } }
.lead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, var(--accent-soft) 100%); z-index: 0; }
.lead .wrap { position: relative; z-index: 1; }
.lead-card {
  max-width: 620px; margin: 0 auto; background: var(--card); border: 1px solid var(--line);
  border-radius: 28px; box-shadow: var(--shadow-lg); padding: 48px;
}
@media (max-width: 640px) { .lead-card { padding: 32px 24px; } }
.lead-progress { display: flex; gap: 8px; margin-bottom: 36px; }
.lead-progress i { flex: 1; height: 5px; border-radius: 99px; background: var(--line); transition: background 0.3s; }
.lead-progress i.on { background: var(--accent); }
.lead-step { display: none; }
.lead-step.active { display: block; animation: stepIn 0.4s cubic-bezier(0.2, 0.6, 0.2, 1); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
body[data-motion="off"] .lead-step.active { animation: none; }
.lead-step .q { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin-bottom: 6px; }
.lead-step .q-sub { font-size: 15px; color: var(--muted); margin-bottom: 26px; }
.choice-grid { display: grid; gap: 12px; }
.choice-grid.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .choice-grid.cols-2 { grid-template-columns: 1fr; } }
.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1.5px solid var(--line); border-radius: 16px; background: var(--card);
  padding: 17px 20px; font-size: 16.5px; font-weight: 600; font-family: var(--font-body);
  cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.1s;
  text-align: left; color: var(--ink);
}
.choice:hover { border-color: var(--accent); transform: translateY(-1px); }
.choice.selected { border-color: var(--accent); background: var(--accent-soft); }
.choice .check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; color: transparent; transition: all 0.15s; }
.choice.selected .check { background: var(--accent); border-color: var(--accent); color: #fff; }
.lead-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; }
.lead-back { background: none; border: none; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; padding: 10px 14px; border-radius: 10px; }
.lead-back:hover { color: var(--ink); }
.lead-back[hidden] { visibility: hidden; display: inline-flex; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.field input {
  width: 100%; font: inherit; font-size: 16.5px; padding: 15px 18px;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg);
  transition: border-color 0.15s, background 0.15s; color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--accent); background: #fff; }
.field input.error { border-color: var(--red); }
.lead-fine { font-size: 13px; color: var(--muted); margin-top: 18px; text-align: center; }
.lead-success { text-align: center; padding: 20px 0; }
.lead-success .big-check { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 24px; }
.lead-success h3 { font-size: 28px; margin-bottom: 10px; }
.lead-success p { color: var(--muted); max-width: 380px; margin: 0 auto; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #93A3B8; padding: 64px 0 40px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; margin-bottom: 44px; }
.footer .logo { color: #fff; }
.footer-links { display: flex; gap: 28px; font-size: 14.5px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1F3048; padding-top: 28px; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* tweaks mount */
#tweaks-root { position: relative; z-index: 999; }
