:root {
  --ink: #0b1a30;
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --text: #1e2a3d;
  --muted: #475569;
  --line: #d9e1ec;
  --bg: #ffffff;
  --bg-alt: #f3f6fb;
  --accent: #ffb020;
  --accent-hover: #ffc247;
  --accent-edge: #c98400;
  --good: #0f7a4d;
  --bad: #b42318;
  --focus: #1d4ed8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 26, 48, .06), 0 8px 24px rgba(11, 26, 48, .06);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7.2vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--focus); }
small { font-size: .85em; color: var(--muted); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.final :focus-visible, .final a:focus-visible { outline-color: #fff; }
.form-wrap :focus-visible { outline-color: var(--focus); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }
.narrow-wrap { max-width: 800px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font: inherit; font-weight: 700; line-height: 1.2;
  padding: 14px 22px; min-height: 48px;
  border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .15s, transform .05s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--ink); border-color: var(--accent-edge); box-shadow: 0 6px 16px rgba(255, 176, 32, .3); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-sm { padding: 10px 14px; min-height: 44px; font-size: .95rem; }
.btn-lg { font-size: 1.05rem; padding: 16px 24px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.long { display: none; }
@media (min-width: 640px) { .long { display: inline; } .short { display: none; } }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.kicker { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; color: var(--navy-2); margin-bottom: .5rem; }
.kicker.light { color: #bcd0ee; }
.lead { font-size: 1.1rem; color: var(--muted); }
.muted { color: var(--muted); }
.subhead { margin-top: 2.5rem; font-size: 1.4rem; }
.section-cta { margin-top: 2rem; text-align: center; }
.section-cta.left { text-align: left; }
@media (min-width: 900px) { .section { padding: 88px 0; } }

/* Hero */
.hero { padding: 36px 0 8px; background: linear-gradient(180deg, #f3f6fb 0%, #fff 100%); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--navy-2); background: #e3ecf9; padding: 6px 12px; border-radius: 999px; margin-bottom: 1rem; }
.cta-row { display: grid; gap: 12px; margin: 1.5rem 0 .75rem; }
.trust { color: var(--muted); font-size: .95rem; margin: 0; }
@media (min-width: 560px) { .cta-row { display: flex; flex-wrap: wrap; } }
@media (min-width: 900px) { .hero { padding: 64px 0 16px; } .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; } }

.strip { list-style: none; margin: 32px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-weight: 600; color: var(--navy-2); font-size: .95rem; }
@media (min-width: 760px) { .strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; } }
.strip li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; margin-right: 8px; }

/* Cards */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; margin-top: 1.75rem; }
@media (min-width: 700px) { .grid.two { grid-template-columns: repeat(2, 1fr); } .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }

/* Placeholder tag */
.ph-tag { position: absolute; top: 10px; right: 10px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #7a4b00; background: #fff4d6; border: 1px dashed #c98400; padding: 2px 8px; border-radius: 999px; }
.ph-tag.inline { position: static; margin-left: 6px; vertical-align: middle; }
body[data-placeholders="off"] .ph-tag { display: none; }

/* Hero compare */
.compare { padding: 24px 22px; }
.compare-title { font-size: 1rem; color: var(--muted); font-weight: 600; margin-bottom: 1.25rem; padding-right: 90px; }
.compare-row + .compare-row { margin-top: 1.25rem; }
.compare-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.compare-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.compare-head strong { font-size: 1.15rem; color: var(--ink); }
.bar { height: 16px; background: #e8edf5; border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; width: 100%; }
.bar-before { background: #94a3b8; }
.bar-after { background: var(--good); }
.compare-foot { margin: 1.25rem 0 0; font-size: .95rem; color: var(--muted); }

/* New */
.old { background: #fbfcfe; }
.new { border: 2px solid var(--navy); box-shadow: 0 10px 30px rgba(11, 31, 58, .14); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; margin-bottom: .75rem; }
.tag-old { background: #eceff4; color: var(--muted); }
.tag-new { background: var(--navy); color: #fff; }
.card h3, .card h4 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.flow { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; gap: 28px; counter-reset: none; }
.flow li { position: relative; display: grid; gap: 4px; background: var(--navy); color: #dbe6f7; padding: 20px 20px 20px 70px; border-radius: var(--radius); }
.flow li strong { color: #fff; font-size: 1.1rem; }
.flow-num { position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; display: grid; place-items: center; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 31px; bottom: -22px; width: 12px; height: 12px; border-right: 3px solid var(--navy-2); border-bottom: 3px solid var(--navy-2); transform: rotate(45deg); }
@media (min-width: 800px) {
  .flow { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .flow li { padding: 70px 20px 22px; }
  .flow li:not(:last-child)::after { left: auto; right: -26px; bottom: auto; top: 50%; margin-top: -6px; transform: rotate(-45deg); }
}
.mini h4 { font-size: 1rem; }
.mini p { font-size: .95rem; color: var(--muted); }

.ticks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .4em; width: 8px; height: 14px; border-right: 3px solid var(--good); border-bottom: 3px solid var(--good); transform: rotate(40deg); }
.ticks.light li { color: #e7effb; }
.ticks.light li::before { border-color: var(--accent); }

/* Results */
.outcome { text-align: left; padding-top: 34px; }
.outcome .big { font-size: clamp(1.7rem, 6vw, 2.2rem); font-weight: 800; color: var(--navy); line-height: 1.1; margin-bottom: .4rem; }
.day { margin-top: 1.5rem; background: var(--bg-alt); box-shadow: none; }
.calc { margin-top: 1.5rem; padding: 24px 20px; border: 2px solid var(--navy); }
.calc-grid { display: grid; gap: 20px; margin-top: 1rem; }
@media (min-width: 860px) { .calc-grid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; } .calc { padding: 32px; } }
.calc-inputs { display: grid; gap: 14px; }
.calc-inputs label, .field label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); font-size: .95rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 12px 14px; min-height: 48px;
  border: 1.5px solid #8b9ab0; border-radius: 10px; background: #fff;
}
input:hover, select:hover, textarea:hover { border-color: var(--navy-2); }
.input-pair { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.calc-out { background: var(--navy); color: #dbe6f7; border-radius: var(--radius); padding: 22px; }
.out-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #a9bcd9; }
.out-big { display: block; font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1.1; }
.out-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.out-row strong { display: block; font-size: clamp(1.25rem, 5vw, 1.6rem); color: var(--accent); overflow-wrap: anywhere; }
.calc-note { margin: 1rem 0 0; font-size: .9rem; color: #a9bcd9; }

/* Proof */
.founder { display: grid; gap: 18px; margin-top: 1.75rem; padding-top: 34px; }
.photo { width: 96px; height: 96px; border-radius: 50%; background: #e3e9f2; display: grid; place-items: center; border: 2px dashed #9fb0c9; }
.quote-lead { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.who { margin: 0; }
@media (min-width: 760px) { .founder { grid-template-columns: 120px 1fr; gap: 28px; } .photo { width: 120px; height: 120px; } }
.case { padding-top: 38px; }
.ba { margin: 0; display: grid; gap: 8px; }
.ba div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.ba dt { color: var(--muted); }
.ba dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
blockquote { margin: 0 0 1rem; padding: 0 0 0 14px; border-left: 4px solid var(--accent); font-size: 1.05rem; color: var(--ink); }
.case blockquote { margin: 1rem 0 0; }
.testi { margin: 0; padding-top: 38px; }
.testi figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #e3e9f2; border: 2px dashed #9fb0c9; }
.demo { margin-top: 2rem; padding: 34px 16px 16px; }
.demo-frame { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0f2747; }
.demo-frame iframe, .demo-frame video { width: 100%; height: 100%; border: 0; display: block; }
.demo-ph { height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; color: #dbe6f7; padding: 16px; }
.demo-ph p { margin: 0; }
.logos { margin-top: 2rem; text-align: center; }
.logos-title { font-weight: 700; color: var(--muted); margin-bottom: .75rem; }
.logos ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.logos li { border: 2px dashed #9fb0c9; border-radius: 10px; padding: 14px 8px; color: var(--muted); background: #fff; }
@media (min-width: 700px) { .logos ul { grid-template-columns: repeat(5, 1fr); } }

/* Guarantee */
.guarantee { background: #eaf3ff; text-align: center; }
.guarantee .lead { margin-inline: auto; }
.shield { margin-bottom: 8px; filter: drop-shadow(0 8px 16px rgba(11, 31, 58, .25)); }
.g { text-align: left; border: 2px solid var(--navy); padding-top: 38px; }
.g p { font-size: 1.05rem; }

/* Audit steps */
.steps { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 16px; }
.steps .card { padding-top: 64px; }
.step-num { position: absolute; left: 22px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq { margin-top: 1.5rem; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--ink); position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 3px solid var(--navy-2); border-bottom: 3px solid var(--navy-2); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* Final */
.final { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #dbe6f7; }
.final h2 { color: #fff; }
.final .lead { color: #dbe6f7; }
.final-grid { display: grid; gap: 28px; align-items: start; }
.scarcity { margin-top: 1.5rem; color: #fff; }
@media (min-width: 940px) { .final-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.form-wrap { color: var(--text); padding: 22px 18px; }
@media (min-width: 560px) { .form-wrap { padding: 28px; } }
.field { display: grid; margin-top: 14px; }
.opt { font-weight: 400; color: var(--muted); }
textarea { resize: vertical; min-height: 88px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--bad); font-size: .9rem; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--bad); }
#submitBtn { margin-top: 18px; }
.fine { font-size: .85rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.calendar-slot { margin-top: 12px; min-height: 420px; border-radius: 10px; overflow: hidden; }
.calendar-slot iframe { width: 100%; height: 680px; border: 0; display: block; }
.calendar-ph { min-height: 320px; display: grid; place-content: center; text-align: center; padding: 20px; border: 2px dashed #9fb0c9; border-radius: 10px; color: var(--muted); background: var(--bg-alt); }

/* Footer */
.site-footer { background: var(--ink); color: #a9bcd9; padding: 28px 0; font-size: .9rem; }
.site-footer a { color: #dbe6f7; }
.footer-inner p { margin: 0 0 .5rem; }
.site-footer a { display: inline-block; padding: 12px 4px; }
@media (min-width: 760px) { .footer-inner { display: flex; justify-content: space-between; gap: 16px; } }

[hidden] { display: none !important; }
