/* ============================================================
   LEADWACHE AI — Component & section styles
   ============================================================ */

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: clamp(118px, 15vh, 168px); padding-bottom: clamp(60px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 22px; margin-bottom: 22px; }
.hero .lead { max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: var(--muted); font-size: 0.9rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 15px; height: 15px; color: var(--good-ink); }
.hero-blob-1 { width: 520px; height: 520px; top: -180px; right: -120px; background: oklch(0.74 0.13 261 / 0.5); }
.hero-blob-2 { width: 380px; height: 380px; bottom: -160px; left: -120px; background: oklch(0.85 0.07 230 / 0.45); }

.trustbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--line); }
.trustbar .mono-label { white-space: nowrap; }
.trust-stat { display: flex; flex-direction: column; gap: 2px; }
.trust-stat b { font-family: var(--ff-display); font-size: 1.5rem; letter-spacing: -0.02em; }
.trust-stat span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Hero device / live demo ---------- */
.device {
  position: relative; z-index: 2;
  background: var(--night);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--night-line);
}
.device-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 14px; }
.device-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--night-line); display: block; }
.device-bar .tt { margin-left: auto; font-family: var(--ff-mono); font-size: 0.7rem; color: var(--night-muted); letter-spacing: .04em; }
.device-screen { background: oklch(0.235 0.028 264); border-radius: 14px; padding: 18px; min-height: 392px; display: flex; flex-direction: column; gap: 12px; }
.hero .device-screen { height: 392px; min-height: 392px; overflow: hidden; }

.feed-row { display: flex; align-items: flex-start; gap: 12px; opacity: 0; transform: translateY(10px); animation: feedIn .5s forwards; }
@keyframes feedIn { to { opacity: 1; transform: none; } }
.feed-ico { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; }
.feed-ico svg { width: 18px; height: 18px; }
.feed-ico.miss { background: oklch(0.64 0.18 25 / 0.18); color: oklch(0.78 0.14 30); }
.feed-ico.bot  { background: oklch(0.55 0.215 262 / 0.22); color: var(--blue-300); }
.feed-ico.ok   { background: oklch(0.70 0.135 158 / 0.2); color: var(--good); }
.feed-body { flex: 1; min-width: 0; }
.feed-title { color: var(--night-ink); font-weight: 600; font-size: 0.92rem; }
.feed-sub { color: var(--night-muted); font-size: 0.82rem; margin-top: 2px; }
.feed-time { font-family: var(--ff-mono); font-size: 0.68rem; color: var(--faint); }

.bubble { background: var(--blue); color: #fff; border-radius: 14px 14px 14px 4px; padding: 11px 14px; font-size: 0.88rem; line-height: 1.45; box-shadow: 0 8px 22px oklch(0.55 0.215 262 / 0.35); }
.bubble.typing { display: inline-flex; gap: 4px; align-items: center; padding: 14px; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: oklch(1 0 0 / 0.7); animation: blink 1.2s infinite; }
.bubble.typing i:nth-child(2){ animation-delay:.2s } .bubble.typing i:nth-child(3){ animation-delay:.4s }
@keyframes blink { 0%,60%,100%{ opacity:.3; transform: translateY(0) } 30%{ opacity:1; transform: translateY(-3px) } }

.qtag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-mono); font-size: 0.72rem; padding: 5px 10px; border-radius: 8px; background: oklch(1 0 0 / 0.06); color: var(--night-ink); border: 1px solid var(--night-line); }
.qtag b { color: var(--blue-300); font-weight: 600; }
.qtags { display: flex; flex-wrap: wrap; gap: 7px; }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 oklch(0.70 0.135 158 / 0.6); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0%{ box-shadow: 0 0 0 0 oklch(0.70 0.135 158 / 0.55) } 70%{ box-shadow: 0 0 0 10px oklch(0.70 0.135 158 / 0) } 100%{ box-shadow: 0 0 0 0 oklch(0.70 0.135 158 / 0) } }

/* floating mini cards on device */
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 15px; z-index: 3; }
.float-card .mono-label { font-size: 0.64rem; }
.float-tl { top: 8%; left: -34px; animation: floaty 5s ease-in-out infinite; }
.float-br { bottom: 12%; right: -30px; animation: floaty 6s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-12px) } }
.float-num { font-family: var(--ff-display); font-size: 1.45rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.float-num.good { color: var(--good-ink); }

/* ---------- Mini-audit conversion bridge (keeps hero/motion untouched) ---------- */
.audit-preview { position: relative; background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.audit-preview::before { content: ""; position: absolute; inset: -140px auto auto -120px; width: 360px; height: 360px; border-radius: 50%; background: oklch(0.55 0.215 262 / 0.11); filter: blur(48px); pointer-events: none; }
.audit-preview-grid { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.audit-preview-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.audit-preview-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.audit-proof { display: flex; gap: 11px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: oklch(1 0 0 / 0.78); box-shadow: var(--shadow-sm); }
.audit-proof-ic { width: 28px; height: 28px; flex: none; display: grid; place-items: center; color: var(--good-ink); background: oklch(0.70 0.135 158 / 0.12); border-radius: 9px; }
.audit-proof-ic svg { width: 15px; height: 15px; }
.audit-proof b { display: block; font-size: .88rem; line-height: 1.2; }
.audit-proof span { display: block; color: var(--muted); font-size: .78rem; line-height: 1.38; margin-top: 3px; }
.audit-preview-panel { position: relative; background: var(--night); color: var(--night-ink); border: 1px solid var(--night-line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); overflow: hidden; }
.audit-preview-panel::before { content: ""; position: absolute; right: -120px; top: -120px; width: 300px; height: 300px; border-radius: 50%; background: oklch(0.55 0.215 262 / 0.28); filter: blur(50px); }
.audit-preview-panel > * { position: relative; z-index: 1; }
.audit-panel-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--night-line); }
.audit-panel-top .mono-label { color: var(--night-muted); margin-bottom: 5px; }
.audit-panel-top strong { font-family: var(--ff-display); font-size: clamp(1.55rem, 2.8vw, 2.15rem); letter-spacing: -.03em; line-height: 1; }
.audit-pill { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--ff-mono); font-size: .72rem; color: #fff; background: var(--blue); padding: 8px 11px; border-radius: var(--radius-pill); box-shadow: 0 12px 28px oklch(0.55 0.215 262 / 0.28); }
.audit-flow { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.audit-flow-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px; background: oklch(1 0 0 / 0.055); border: 1px solid var(--night-line); border-radius: var(--radius); }
.audit-flow-num { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: oklch(0.55 0.215 262 / 0.18); color: var(--blue-300); font-family: var(--ff-mono); font-size: .78rem; font-weight: 700; }
.audit-flow-row h3 { color: #fff; font-size: 1.02rem; margin: 0 0 4px; }
.audit-flow-row p { color: var(--night-muted); font-size: .9rem; line-height: 1.48; }
.audit-panel-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.audit-panel-bottom div { border: 1px solid var(--night-line); border-radius: var(--radius); padding: 14px; background: oklch(1 0 0 / 0.035); }
.audit-panel-bottom span { display: block; color: var(--night-muted); font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.audit-panel-bottom b { color: var(--good); font-family: var(--ff-display); font-size: 1.08rem; letter-spacing: -.02em; }

/* ---------- Problem cards ---------- */
.prob-card { position: relative; overflow: hidden; }
.prob-card .leak-meter { height: 6px; border-radius: 6px; background: var(--line); margin-top: 18px; overflow: hidden; }
.prob-card .leak-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--warn), var(--leak)); width: 0; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.prob-card .icon-badge { background: oklch(0.64 0.18 25 / 0.09); color: var(--leak-ink); border-color: oklch(0.64 0.18 25 / 0.18); }

/* ---------- Solution steps (animated chat) ---------- */
.sol-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.sol-list { display: flex; flex-direction: column; gap: 10px; min-height: 374px; overflow-anchor: none; }
.sol-item { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--night-line); cursor: pointer; transition: background .25s, border-color .25s; background: transparent; text-align: left; color: inherit; }
.sol-item.active { background: var(--night-card); border-color: oklch(0.55 0.215 262 / 0.5); min-height: 172px; }
.sol-item .num { font-family: var(--ff-mono); font-size: 0.8rem; color: var(--blue-300); width: 28px; flex: none; padding-top: 2px; }
.sol-item h4 { color: var(--night-ink); margin-bottom: 4px; }
.sol-item p { color: var(--night-muted); font-size: 0.92rem; }
.sol-item.active .chev { transform: rotate(90deg); }
.sol-item .chev { margin-left: auto; color: var(--night-muted); transition: transform .25s; flex: none; }

/* ---------- Calculator ---------- */
.calc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; }
.calc-inputs { padding: clamp(26px, 3vw, 40px); border-right: 1px solid var(--line); }
.calc-out { padding: clamp(26px, 3vw, 40px); background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.calc-field { margin-bottom: 26px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.calc-field label { font-weight: 600; font-size: 0.98rem; }
.calc-val { font-family: var(--ff-mono); font-weight: 600; color: var(--blue-ink); font-size: 1.05rem; }
.calc-hint { font-size: 0.82rem; color: var(--muted); margin-top: 9px; }

input[type=range].range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px;
  background: var(--line); outline: none; cursor: pointer;
}
input[type=range].range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue); box-shadow: 0 3px 10px oklch(0.55 0.215 262 / 0.4), var(--shadow-sm); cursor: grab;
  transition: transform .15s;
}
input[type=range].range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }
input[type=range].range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); cursor: grab; }
.range-wrap { position: relative; }
.range-fill { position: absolute; top: 50%; left: 0; height: 6px; border-radius: 6px; background: var(--blue); transform: translateY(-50%); pointer-events: none; }

.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.9rem; color: var(--muted); transition: background .2s, color .2s; white-space: nowrap; }
.seg button.on { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }

.calc-blob { width: 320px; height: 320px; border-radius: 50%; filter: blur(70px); background: oklch(0.55 0.215 262 / 0.45); position: absolute; top: -120px; right: -90px; }
.calc-big { font-family: var(--ff-display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.95; font-size: clamp(2.8rem, 6vw, 4.2rem); position: relative; }
.calc-big .cur { font-size: 0.5em; vertical-align: top; color: var(--night-muted); margin-right: 4px; }
.calc-out .leak-num { color: oklch(0.82 0.13 32); }
.calc-out .save-num { color: var(--good); }
.calc-meta { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.calc-out hr { border: 0; border-top: 1px solid var(--night-line); margin: 26px 0; }
.calc-recover { background: oklch(0.70 0.135 158 / 0.12); border: 1px solid oklch(0.70 0.135 158 / 0.3); border-radius: var(--radius); padding: 18px 20px; }
.calc-disc { font-size: 0.76rem; color: var(--night-muted); margin-top: 20px; line-height: 1.5; }

/* ---------- Scorecard ---------- */
.score-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 4vw, 56px); align-items: center; }
.score-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 36px); }
.score-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.score-ring { position: relative; width: 96px; height: 96px; flex: none; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .rval { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; }
.score-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.score-row:last-child { border-bottom: 0; }
.score-row .nm { font-weight: 600; flex: 1; }
.score-row .nm small { display: block; font-weight: 450; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.score-bar { width: 130px; height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; flex: none; }
.score-bar i { display: block; height: 100%; border-radius: 8px; width: 0; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.score-grade { font-family: var(--ff-mono); font-weight: 600; font-size: 0.84rem; width: 34px; text-align: right; flex: none; }
.toggle-vorher { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; }

/* ---------- Process stepper ---------- */
.steps { position: relative; overflow-anchor: none; }
.steps-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { position: relative; cursor: pointer; }
.step-dot { width: 100%; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.step-dot i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 4px; transition: width .5s; }
.step.done .step-dot i, .step.active .step-dot i { width: 100%; }
.step-n { font-family: var(--ff-mono); font-size: 0.74rem; color: var(--faint); margin-top: 14px; }
.step.active .step-n, .step.done .step-n { color: var(--blue-ink); }
.step h4 { margin-top: 6px; font-size: 1.05rem; transition: color .2s; }
.step:not(.active):not(.done) h4 { color: var(--muted); }
.step-detail { margin-top: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; min-height: 188px; }
.step-detail .big-n { font-family: var(--ff-display); font-weight: 700; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: var(--blue-100); letter-spacing: -0.04em; }
.step-play { display: inline-flex; align-items: center; gap: 9px; font-size: 0.86rem; font-weight: 600; color: var(--blue-ink); background: var(--blue-50); border: 1px solid var(--blue-100); padding: 8px 14px; border-radius: var(--radius-pill); }

/* ---------- Industries ---------- */
.ind-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff; border: 1px solid var(--night-line); background: var(--night); isolation: isolate; }
.ind-card .ind-bg { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.ind-card h3 { color: #fff; }
.ind-card p { color: oklch(0.86 0.02 264); font-size: 0.92rem; margin-top: 6px; }
.ind-card .icon-badge { background: oklch(1 0 0 / 0.12); border-color: oklch(1 0 0 / 0.2); color: #fff; margin-bottom: auto; }
.ind-tag { position: absolute; top: 20px; right: 20px; font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: .08em; text-transform: uppercase; color: oklch(1 0 0 / 0.7); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform .25s, box-shadow .3s, border-color .25s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.feat { background: var(--night); color: var(--night-ink); border-color: var(--night); box-shadow: var(--shadow-lg); transform: scale(1.015); }
.price-card.feat:hover { transform: scale(1.015) translateY(-4px); }
.price-card.feat h3 { color: #fff; }
.price-tier { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.price-tier .mono-label { color: var(--blue-ink); }
.price-card.feat .price-tier .mono-label { color: var(--blue-300); }
.price-badge { font-family: var(--ff-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: .08em; background: var(--blue); color: #fff; padding: 5px 11px; border-radius: var(--radius-pill); }
.price-amt { font-family: var(--ff-display); font-weight: 700; font-size: 2.6rem; letter-spacing: -0.03em; margin-top: 14px; line-height: 1; }
.price-amt small { font-size: 0.9rem; font-weight: 500; color: var(--muted); font-family: var(--ff-body); letter-spacing: 0; }
.price-card.feat .price-amt small { color: var(--night-muted); }
.price-setup { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }
.price-card.feat .price-setup { color: var(--night-muted); }
.price-feats { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.price-card.feat .price-feats li { color: oklch(0.88 0.015 264); }
.price-feats svg { width: 18px; height: 18px; color: var(--good-ink); flex: none; margin-top: 2px; }
.price-card.feat .price-feats svg { color: var(--good); }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(26px, 3vw, 40px); }
.field { margin-bottom: 18px; }
.field.half-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.field label .req { color: var(--leak-ink); }
.input {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface-2); font-family: var(--ff-body); font-size: 1rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px oklch(0.55 0.215 262 / 0.12); }
.input.bad { border-color: var(--leak); box-shadow: 0 0 0 4px oklch(0.64 0.18 25 / 0.1); }
textarea.input { resize: vertical; min-height: 96px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a8194' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.err-msg { color: var(--leak-ink); font-size: 0.8rem; margin-top: 6px; font-weight: 500; }
.form-secure { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.form-secure svg { width: 17px; height: 17px; color: var(--good-ink); flex: none; margin-top: 1px; }

.form-success { text-align: center; padding: clamp(30px, 4vw, 52px) 20px; }
.success-ring { width: 76px; height: 76px; border-radius: 50%; background: oklch(0.70 0.135 158 / 0.14); display: grid; place-items: center; margin: 0 auto 22px; color: var(--good-ink); }
.success-ring svg { width: 38px; height: 38px; }

.form-aside .a-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.form-aside .a-item:last-child { border-bottom: 0; }
.form-aside .a-num { font-family: var(--ff-mono); font-weight: 600; color: var(--blue-ink); font-size: 0.86rem; flex: none; width: 26px; }

/* progress bar in form */
.form-progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 26px; }
.form-progress i { display: block; height: 100%; background: var(--blue); border-radius: 4px; transition: width .4s cubic-bezier(.2,.8,.2,1); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 24px 0; display: flex; align-items: center; gap: 20px; font-family: var(--ff-display); font-weight: 650; font-size: clamp(1.05rem, 1.6vw, 1.28rem); letter-spacing: -0.015em; color: var(--ink); }
.faq-q .pm { margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, color .2s, transform .3s; }
.faq-item.open .faq-q .pm { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(135deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s cubic-bezier(.2,.8,.2,1); }
.faq-a-inner { padding-bottom: 24px; color: var(--muted); max-width: 720px; font-size: 1.02rem; }

/* ---------- Final CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--night); border-radius: clamp(24px, 3vw, 36px); padding: clamp(44px, 6vw, 84px); text-align: center; color: var(--night-ink); }
.cta-band .glow-blob { width: 480px; height: 480px; background: oklch(0.55 0.215 262 / 0.55); top: -180px; left: 50%; transform: translateX(-50%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band .lead { position: relative; max-width: 600px; margin: 18px auto 0; color: oklch(0.84 0.02 264); }
.cta-band .hero-cta { justify-content: center; position: relative; }
.cta-band .btn-ghost { color: #fff; border-color: oklch(1 0 0 / 0.32); }
.cta-band .btn-ghost:hover { border-color: #fff; background: oklch(1 0 0 / 0.07); }

/* ---------- Footer ---------- */
.footer { background: oklch(0.17 0.025 264); color: oklch(0.78 0.02 264); padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h5 { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; color: oklch(0.6 0.02 264); margin: 0 0 16px; font-weight: 600; }
.footer a { display: block; color: oklch(0.8 0.015 264); padding: 6px 0; font-size: 0.94rem; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 48px; padding-top: 28px; border-top: 1px solid oklch(0.3 0.02 264); font-size: 0.82rem; color: oklch(0.6 0.02 264); }
.footer-imp { font-size: 0.84rem; line-height: 1.7; color: oklch(0.72 0.015 264); }
.footer-imp b { color: oklch(0.9 0.01 264); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 22px; box-shadow: var(--shadow); }
  .nav-links.open .nav-link { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links.open .nav-cta { margin-top: 12px; }
}
@media (max-width: 980px) {
  .hero-grid, .sol-grid, .score-grid, .form-grid, .audit-preview-grid { grid-template-columns: 1fr; }
  .audit-preview-proof { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-inputs { border-right: 0; border-bottom: 1px solid var(--line); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card.feat { transform: none; } .price-card.feat:hover { transform: translateY(-4px); }
  .steps-track { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .step h4 { font-size: 0.86rem; }
  .device { margin-top: 10px; }
  .float-tl, .float-br { display: none; }
}
@media (max-width: 720px) {
  .g-3, .g-2, .g-4 { grid-template-columns: 1fr; }
  .steps-track { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .step-detail { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .field.half-grid { grid-template-columns: 1fr; }
  .score-bar { width: 84px; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}
