/* ==========================================================================
   CODABITE — stylesheet
   ========================================================================== */
:root {
  --bg: #0b0608;
  --bg-2: #150a0e;
  --wine: #6d1430;
  --wine-deep: #3a0a1a;
  --rose: #e9b9b4;
  --blush: #f3d5cf;
  --gold: #d8b98c;
  --ivory: #f6ede7;
  --muted: #b8a3a1;
  --line: rgba(233, 185, 180, 0.16);
  --line-strong: rgba(216, 185, 140, 0.4);
  --glass: rgba(28, 13, 19, 0.62);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ivory);
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(109, 20, 48, 0.55), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(109, 20, 48, 0.28), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--rose); color: #1a0a10; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ivory); color: #000; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- 3D canvas + atmosphere ---------- */
#scene {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  transition: opacity 0.6s linear;
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(233, 185, 180, 0.10), transparent 62%);
  transition: opacity 0.5s;
  will-change: transform;
}
main, .site-header, .site-footer { position: relative; z-index: 2; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.4vw, 6.2rem); }
h2 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); }
h3 { font-size: 1.65rem; line-height: 1.15; }
em, .it { font-style: italic; font-weight: 400; }
.gilt {
  background: linear-gradient(100deg, var(--blush) 0%, var(--gold) 45%, var(--rose) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.08em;
}
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 58ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); font-weight: 600;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); opacity: 0.7; }

/* ---------- buttons ---------- */
.btn {
  --pad: 17px 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font: 600 0.95rem/1 var(--sans); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-primary {
  color: #1c0a11;
  background: linear-gradient(110deg, var(--blush), var(--gold) 55%, var(--rose));
  background-size: 180% 100%;
  box-shadow: 0 10px 40px -10px rgba(233, 185, 180, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 50px -10px rgba(233, 185, 180, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { color: var(--ivory); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--rose); background: rgba(233, 185, 180, 0.08); transform: translateY(-2px); }
.btn-sm { --pad: 12px 20px; font-size: 0.85rem; }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(11, 6, 8, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.brand svg { width: 30px; height: 30px; color: var(--gold); }
.brand span { font-family: var(--serif); font-size: 1.7rem; letter-spacing: 0.12em; font-weight: 500; line-height: 1; padding-bottom: 4px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 0.88rem; color: var(--muted); letter-spacing: 0.03em; transition: color 0.25s; }
.nav-links a:not(.btn):hover { color: var(--ivory); }
.menu-btn { display: none; background: none; border: 0; color: var(--ivory); width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px auto; transition: transform 0.3s, opacity 0.3s; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(11, 6, 8, 0.82) 0%, rgba(11, 6, 8, 0.55) 38%, rgba(11, 6, 8, 0) 68%); }
.hero-inner { max-width: 760px; position: relative; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.2s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: none; } }
.hero .lede, .hero .cta-row, .hero .eyebrow, .hero-facts { opacity: 0; animation: fade 1.2s var(--ease) 0.5s forwards; }
.hero .eyebrow { animation-delay: 0s; }
.hero .cta-row { animation-delay: 0.65s; }
.hero-facts { animation-delay: 0.85s; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 640px; }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts b { font-family: var(--serif); font-weight: 500; font-size: 2.3rem; line-height: 1; color: var(--blush); }
.hero-facts span { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); overflow: hidden; opacity: 0.7; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--ivory); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(11, 6, 8, 0.55); overflow: hidden; padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--blush); white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; width: 7px; height: 7px; border: 1px solid var(--gold); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.veil { background: linear-gradient(180deg, rgba(11, 6, 8, 0) 0, rgba(11, 6, 8, 0.72) 140px, rgba(11, 6, 8, 0.72) calc(100% - 140px), rgba(11, 6, 8, 0) 100%); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.section-head h2 { margin-bottom: 22px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- cards ---------- */
.card {
  position: relative; border-radius: 24px; padding: 34px 32px;
  background: linear-gradient(160deg, rgba(40, 18, 27, 0.72), rgba(18, 9, 13, 0.72));
  border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(233, 185, 180, 0.16), transparent 60%);
}
.card:hover { border-color: var(--line-strong); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.card:hover::before { opacity: 1; }
.card > * { transform: translateZ(22px); }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.card h3 { margin-bottom: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1400px; }
.num { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold); display: block; margin-bottom: 26px; }

/* ---------- calculator ---------- */
.calc {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border-radius: 32px; border: 1px solid var(--line-strong); overflow: hidden;
  background: linear-gradient(150deg, rgba(44, 18, 28, 0.86), rgba(14, 7, 10, 0.9));
  box-shadow: 0 60px 140px -50px rgba(109, 20, 48, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.calc-in { padding: clamp(26px, 4vw, 48px); border-right: 1px solid var(--line); }
.calc-out { padding: clamp(26px, 4vw, 48px); position: relative; background: radial-gradient(600px 380px at 80% 0%, rgba(109, 20, 48, 0.55), transparent 70%); }
.field { margin-bottom: 28px; }
.field:last-child { margin-bottom: 0; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.field label { font-size: 0.92rem; color: var(--ivory); }
.field small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.field output { font-family: var(--serif); font-size: 1.6rem; color: var(--blush); white-space: nowrap; line-height: 1; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--rose) var(--p, 50%), rgba(233, 185, 180, 0.18) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(233, 185, 180, 0.18); }
input[type="range"]::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--rose); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; margin-top: -9.5px;
  background: var(--bg); border: 2px solid var(--blush); box-shadow: 0 0 0 6px rgba(233, 185, 180, 0.12); transition: box-shadow 0.25s, transform 0.25s;
}
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--blush); box-shadow: 0 0 0 6px rgba(233, 185, 180, 0.12); }
input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(233, 185, 180, 0.18); transform: scale(1.08); }
input[type="range"]:focus-visible { outline: none; }

.leak-label { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.leak-num { font-family: var(--serif); font-size: clamp(3.2rem, 7vw, 5.6rem); line-height: 1; margin: 14px 0 10px; font-weight: 500; font-variant-numeric: tabular-nums; }
.leak-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 26px; }
.leak-sub b { color: var(--ivory); font-weight: 600; }

.report { position: relative; border-top: 1px solid var(--line); padding-top: 24px; }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; color: var(--muted); }
.rows li b { color: var(--ivory); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin: 26px 0 8px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--blush), rgba(109, 20, 48, 0.7)); min-height: 3px; transition: height 0.7s var(--ease); }
.bars-cap { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.insight { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: rgba(233, 185, 180, 0.08); border: 1px solid var(--line); font-size: 0.95rem; color: var(--blush); }
.report.locked .report-body { filter: blur(9px); opacity: 0.55; pointer-events: none; user-select: none; max-height: 250px; overflow: hidden; }
.report-body { transition: filter 0.9s var(--ease), opacity 0.9s var(--ease); }
.lock {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 20px;
  background: linear-gradient(180deg, rgba(14, 7, 10, 0), rgba(14, 7, 10, 0.75) 60%);
}
.lock p { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; margin: 0; max-width: 20ch; }
.lock small { color: var(--muted); font-size: 0.8rem; }
.report:not(.locked) .lock { display: none; }
.after-cta { display: none; margin-top: 24px; }
.report:not(.locked) .after-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.calc-note { text-align: center; color: var(--muted); font-size: 0.78rem; margin-top: 22px; max-width: 80ch; margin-inline: auto; }

/* ---------- modal form ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(6, 3, 4, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow-y: auto; }
.modal.open { display: flex; animation: fade 0.5s var(--ease); }
.modal-card { width: min(520px, 100%); margin: auto; border-radius: 28px; padding: clamp(26px, 5vw, 42px); background: linear-gradient(160deg, #2a1119, #12080c); border: 1px solid var(--line-strong); box-shadow: 0 50px 120px -30px #000; position: relative; }
.modal-card h3 { font-size: 2.1rem; margin-bottom: 10px; }
.modal-card > p { color: var(--muted); font-size: 0.95rem; }
.x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ivory); font-size: 1.2rem; cursor: pointer; }
.x:hover { border-color: var(--rose); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.form .full { grid-column: 1 / -1; }
.form label.f { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"] {
  width: 100%; margin-top: 8px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  color: var(--ivory); font: 500 1rem var(--sans); transition: border-color 0.25s, background 0.25s;
}
.form input:focus { outline: none; border-color: var(--rose); background: rgba(233, 185, 180, 0.06); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.76rem; line-height: 1.5; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--rose); flex: none; }
.consent a { color: var(--blush); }
.form .btn { width: 100%; }
.form-msg { font-size: 0.85rem; color: var(--rose); min-height: 1.2em; margin: 0; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

/* ---------- offer ---------- */
.offer { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.offer h2 { margin-bottom: 22px; }
.stack { list-style: none; margin: 0; padding: 0; }
.stack li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.stack li:first-child { border-top: 1px solid var(--line); }
.stack svg { flex: none; width: 22px; height: 22px; margin-top: 4px; color: var(--gold); }
.stack small { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
.seal {
  margin-top: 34px; padding: 30px; border-radius: 24px; border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(109, 20, 48, 0.5), rgba(28, 13, 19, 0.6));
}
.seal h3 { font-size: 1.9rem; margin-bottom: 10px; }
.seal p { color: var(--blush); margin: 0; font-size: 0.98rem; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; perspective: 1400px; }
.step .big { font-family: var(--serif); font-size: 5rem; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--gold); display: block; margin-bottom: 28px; opacity: 0.85; }

/* ---------- qualified ---------- */
.q-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.q { padding: 34px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.q:nth-child(2n) { border-right: 0; }
.q:nth-last-child(-n + 2) { border-bottom: 0; }
.q h3 { font-size: 1.45rem; margin-bottom: 8px; }
.q p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- compare ---------- */
.table-scroll { overflow-x: auto; border-radius: 26px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
table.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.94rem; }
.compare th, .compare td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font: 600 0.72rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { font-weight: 500; color: var(--muted); width: 22%; }
.compare td { color: var(--muted); }
.compare .us { background: linear-gradient(180deg, rgba(109, 20, 48, 0.42), rgba(109, 20, 48, 0.22)); color: var(--ivory); border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); }
.compare thead .us { color: var(--gold); }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; transition: color 0.25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blush); }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 300 1.8rem var(--sans); color: var(--gold); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 48px 26px 0; margin: 0; max-width: 70ch; }

/* ---------- final ---------- */
.final { text-align: center; }
.final h2 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); max-width: 16ch; margin: 0 auto 26px; }
.final .lede { margin-inline: auto; }
.final .cta-row { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(8, 4, 6, 0.86); padding: 64px 0 34px; font-size: 0.9rem; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot h4 { font: 600 0.72rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a, .linklike { color: var(--muted); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.foot a:hover, .linklike:hover { color: var(--ivory); }
.foot .brand { margin-bottom: 16px; }
.fine { margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 0.76rem; line-height: 1.7; color: #8d7a79; }
.fine p { margin-bottom: 0.8em; }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(430px, calc(100% - 40px));
  padding: 24px; border-radius: 22px; background: rgba(26, 12, 17, 0.94); border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 80px -20px #000;
  transform: translateY(140%); transition: transform 0.8s var(--ease);
}
.cookie.show { transform: none; }
.cookie h4 { font: 500 1.4rem var(--serif); margin: 0 0 8px; }
.cookie p { font-size: 0.84rem; color: var(--muted); margin: 0 0 18px; }
.cookie a { color: var(--blush); }
.cookie .row { display: flex; gap: 10px; }
.cookie .btn { flex: 1; }

/* ---------- legal pages ---------- */
.legal { padding: 160px 0 100px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 12px; }
.legal .date { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 48px; }
.legal h2 { font-size: 1.9rem; margin: 52px 0 16px; }
.legal p, .legal li { color: #cdbcba; font-size: 0.98rem; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--blush); }
.legal .box { padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--glass); margin: 26px 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .offer { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 26px;
    background: rgba(11, 6, 8, 0.97); border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform 0.5s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links .btn { margin-top: 20px; }
  .menu-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .q-grid { grid-template-columns: 1fr; }
  .q { border-right: 0; }
  .q:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .form { grid-template-columns: 1fr; }
  .hero-facts { gap: 20px 30px; }
  .hero-facts b { font-size: 1.9rem; }
  .cta-row .btn { width: 100%; }
  .glow { display: none; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ==========================================================================
   v2 — lighting, guarantee, comparison centerpiece, "free" emphasis
   ========================================================================== */
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes halo { to { --a: 360deg; } }
.halo-border { position: relative; }
.halo-border::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--a), rgba(216, 185, 140, 0.25) 0 55%, var(--gold) 72%, #fff3e6 80%, var(--rose) 88%, rgba(216, 185, 140, 0.25) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: halo 7s linear infinite;
}

/* ---------- lighting ---------- */
body {
  background:
    radial-gradient(1200px 760px at 82% -8%, rgba(150, 34, 70, 0.6), transparent 62%),
    radial-gradient(900px 700px at -12% 45%, rgba(109, 20, 48, 0.3), transparent 60%),
    radial-gradient(1000px 700px at 110% 90%, rgba(109, 20, 48, 0.25), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(46% 55% at 76% 40%, rgba(243, 213, 207, 0.17), transparent 70%),
    radial-gradient(30% 30% at 76% 40%, rgba(216, 185, 140, 0.12), transparent 70%);
}
.veil { background: linear-gradient(180deg, rgba(11, 6, 8, 0) 0, rgba(11, 6, 8, 0.6) 160px, rgba(11, 6, 8, 0.6) calc(100% - 160px), rgba(11, 6, 8, 0) 100%); }
.guarantee::before, .compare-sec::before, #calculator::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(233, 185, 180, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(11, 6, 8, 0) 0, rgba(11, 6, 8, 0.5) 140px, rgba(11, 6, 8, 0.5) calc(100% - 140px), rgba(11, 6, 8, 0) 100%);
}
.guarantee > .wrap, .compare-sec > .wrap, #calculator > .wrap { position: relative; }
.wrap.wide { width: min(1320px, 100% - 40px); }

/* ---------- "free" ---------- */
.tag { display: inline-block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 9px 4px; border-radius: 999px; background: #1c0a11; color: var(--blush); line-height: 1; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0 0 34px; }
.chips li { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--blush); background: rgba(28, 13, 19, 0.6); }
.chips li.hot { color: #1c0a11; border-color: transparent; background: linear-gradient(110deg, var(--blush), var(--gold)); box-shadow: 0 8px 30px -8px rgba(233, 185, 180, 0.6); }
.final .chips { margin: 0 0 26px; }
.calc-wrap { position: relative; }
.calc { box-shadow: 0 60px 140px -50px rgba(150, 34, 70, 0.9), 0 0 90px -30px rgba(233, 185, 180, 0.28); }
.free-badge {
  position: absolute; top: -44px; right: -18px; z-index: 5; width: 118px; height: 118px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(12deg);
  color: #1c0a11; background: radial-gradient(circle at 32% 28%, #fff6ee, var(--blush) 38%, var(--gold) 100%);
  box-shadow: 0 18px 50px -10px rgba(233, 185, 180, 0.75), inset 0 0 0 5px rgba(28, 10, 17, 0.08), inset 0 0 0 6px rgba(255, 255, 255, 0.35);
  animation: bob 4.5s ease-in-out infinite;
}
.free-badge span { font-family: var(--serif); font-style: italic; font-size: 2.3rem; line-height: 0.9; font-weight: 600; }
.free-badge small { font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; margin-top: 5px; }
@keyframes bob { 50% { transform: rotate(8deg) translateY(-8px); } }
.lock small b { color: var(--blush); }
.leak-num { filter: drop-shadow(0 0 34px rgba(233, 185, 180, 0.35)); }

/* ---------- guarantee ---------- */
.guarantee { padding-bottom: clamp(30px, 5vw, 60px); }
.g-card {
  border-radius: 36px; padding: clamp(28px, 5vw, 64px);
  background:
    radial-gradient(70% 90% at 15% 0%, rgba(150, 34, 70, 0.75), transparent 70%),
    linear-gradient(150deg, rgba(58, 18, 32, 0.92), rgba(16, 8, 11, 0.94));
  box-shadow: 0 70px 160px -60px rgba(150, 34, 70, 0.95), 0 0 120px -40px rgba(233, 185, 180, 0.35);
}
.g-top { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.g-seal { filter: drop-shadow(0 0 30px rgba(216, 185, 140, 0.45)); }
.g-seal svg { width: 100%; height: auto; overflow: visible; }
.g-seal text { font: 600 10.5px var(--sans); letter-spacing: 0.3em; fill: var(--gold); }
.g-spin { transform-origin: 100px 100px; animation: sealspin 26s linear infinite; }
@keyframes sealspin { to { transform: rotate(360deg); } }
.g-ring { fill: rgba(11, 6, 8, 0.55); stroke: var(--gold); stroke-width: 1.4; }
.g-ring.thin { fill: none; stroke-width: 0.5; opacity: 0.7; }
.g-seal .g-zero-txt { font: 500 54px var(--serif); letter-spacing: 0; fill: var(--blush); }
.g-copy h2 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); margin-bottom: 20px; }
.g-copy .lede { color: var(--blush); max-width: 52ch; }
.g-zero { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(30px, 5vw, 56px); border-top: 1px solid var(--line-strong); }
.g-zero > div { padding: clamp(22px, 3vw, 38px) clamp(12px, 2vw, 30px) 0; text-align: center; border-right: 1px solid var(--line); }
.g-zero > div:last-child { border-right: 0; }
.g-zero b { display: block; font: 500 clamp(4rem, 9vw, 7.5rem)/0.9 var(--serif); filter: drop-shadow(0 0 30px rgba(233, 185, 180, 0.35)); }
.g-zero span { display: block; margin-top: 14px; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory); font-weight: 600; }

/* ---------- comparison centerpiece ---------- */
.compare-sec { padding-top: clamp(60px, 8vw, 110px); }
.compare-sec .section-head h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.table-scroll { border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; padding: 26px 26px 40px; margin: 0 -26px; overflow-x: auto; }
.compare-inner { position: relative; min-width: 940px; padding: 26px 0; }
.compare-inner::before { content: ""; position: absolute; inset: 26px 0; border-radius: 28px; border: 1px solid var(--line); background: rgba(24, 11, 16, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.us-glow {
  position: absolute; top: 0; bottom: 0; right: 0; width: 30%; border-radius: 28px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(233, 185, 180, 0.3), transparent 70%),
    linear-gradient(180deg, #7d1a3b, #48102a 55%, #2c0a19);
  box-shadow: 0 0 90px -10px rgba(233, 185, 180, 0.5), 0 50px 100px -30px rgba(150, 34, 70, 0.95);
}
table.compare { position: relative; z-index: 4; table-layout: fixed; min-width: 0; font-size: 1.02rem; }
.compare col.c-label { width: 17%; }
.compare col.c-us { width: 30%; }
.compare th, .compare td { padding: 26px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { padding: 30px 22px 24px; font-size: 0.74rem; vertical-align: bottom; }
.compare tbody th { color: var(--ivory); font: 500 1.3rem/1.2 var(--serif); width: auto; }
.compare td { color: #a08d8b; }
.compare .us { background: none; border-left: 0; border-right: 0; border-bottom-color: rgba(243, 213, 207, 0.22); padding-left: 30px; padding-right: 30px; }
.compare td.us { color: #fff; font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
.compare tr:last-child .us { border-bottom: 0; }
.us-pill { display: inline-block; margin-bottom: 12px; padding: 6px 12px 5px; border-radius: 999px; font-size: 0.62rem; letter-spacing: 0.2em; color: #1c0a11; background: linear-gradient(110deg, var(--blush), var(--gold)); }
.us-name { display: flex; align-items: center; gap: 10px; font: 500 2rem/1 var(--serif); letter-spacing: 0.1em; text-transform: none; color: var(--ivory); }
.us-name svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.compare td i { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; margin-right: 12px; vertical-align: -5px; font-style: normal; font-size: 0.7rem; flex: none; }
.compare td i.no { border: 1px solid rgba(200, 120, 120, 0.4); color: #c98a8a; }
.compare td i.no::before { content: "✕"; }
.compare td i.yes { width: 28px; height: 28px; vertical-align: -7px; background: linear-gradient(135deg, var(--blush), var(--gold)); color: #1c0a11; font-size: 0.9rem; font-weight: 800; box-shadow: 0 0 22px rgba(233, 185, 180, 0.7); }
.compare td i.yes::before { content: "✓"; }
.cta-row.center { justify-content: center; margin-top: 10px; }
.compare td { position: relative; padding-left: 58px; }
.compare td i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); margin: 0; }
.compare td.us { padding-left: 74px; }
.compare td.us i { left: 30px; }

@media (max-width: 980px) {
  .g-top { grid-template-columns: 1fr; text-align: center; }
  .g-seal { width: 190px; margin-inline: auto; }
  .g-copy .eyebrow { justify-content: center; }
  .g-copy .lede { margin-inline: auto; }
}
@media (max-width: 760px) {
  .free-badge { width: 92px; height: 92px; top: -38px; right: -6px; }
  .free-badge span { font-size: 1.8rem; }
  .g-zero { grid-template-columns: 1fr; }
  .g-zero > div { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .g-zero > div:last-child { border-bottom: 0; padding-bottom: 0; }
  /* comparison becomes one card per question, Codabite's answer first and loudest */
  .table-scroll { padding: 0; margin: 0; overflow: visible; }
  .compare-inner { min-width: 0; padding: 0; }
  .compare-inner::before, .us-glow, .compare thead, .compare colgroup { display: none; }
  table.compare, .compare tbody { display: block; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-bottom: 18px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: rgba(24, 11, 16, 0.75); }
  .compare tbody th { grid-column: 1 / -1; display: block; padding: 18px 18px 12px; border: 0; font-size: 1.45rem; }
  .compare td { display: block; padding: 14px 12px 16px; border: 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 0.82rem; line-height: 1.35; }
  .compare td:nth-of-type(3) { border-right: 0; }
  .compare td::before { content: attr(data-col); display: block; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
  .compare td i.no { display: none; }
  .compare td { padding-left: 12px; }
  .compare td.us { padding-left: 58px; }
  .compare td.us i { left: 18px; top: auto; bottom: 16px; transform: none; }
  .compare td.us { grid-column: 1 / -1; grid-row: 2; padding: 18px; border-right: 0; font-size: 1.2rem; background: linear-gradient(120deg, #7d1a3b, #3d0d22); box-shadow: inset 0 0 40px rgba(233, 185, 180, 0.18); }
  .compare td.us::before { color: var(--gold); }
}
@media (prefers-reduced-motion: reduce) { .halo-border::after, .g-spin, .free-badge { animation: none; } }
