:root {
  --blue-950: #081d3a;
  --blue-900: #0f4c81;
  --blue-800: #1b5f9e;
  --blue-700: #2f78c7;
  --blue-600: #5fa9ff;
  --blue-100: #e7f2fc;
  --blue-050: #fbfdff;
  --orange: #2f78c7;
  --orange-dark: #124a86;
  --green: #28794f;
  --ink: #17243a;
  --muted: #5d6b7f;
  --line: #d7e1ea;
  --surface: #ffffff;
  --shadow-sm: 0 8px 24px rgba(10, 36, 84, .10);
  --shadow-lg: 0 28px 70px rgba(6, 24, 60, .18);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
a { color: inherit; }
button { cursor: pointer; }
svg { display: block; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: #fff;
  color: var(--blue-900);
  border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shell { width: var(--shell); margin-inline: auto; }

.demo-strip {
  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 16px;
  background: var(--blue-700);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
}
.demo-strip span {
  padding: 1px 7px;
  border: 1px solid rgba(43, 33, 12, .35);
  border-radius: 999px;
  text-transform: uppercase;
  font-size: .68rem;
  letter-spacing: .08em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 59, 135, .98);
  color: #fff;
  box-shadow: 0 2px 0 rgba(255,255,255,.08);
}
.header-inner {
  width: var(--shell);
  height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-mark { width: 42px; height: 42px; }
.brand-type { display: grid; line-height: 1; }
.brand-type strong { font-size: 1.05rem; letter-spacing: .12em; }
.brand-type small { margin-top: 5px; font-size: .67rem; letter-spacing: .32em; opacity: .8; }
.primary-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.primary-nav a, .contact-link {
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.primary-nav a:hover, .contact-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.contact-stack { display: grid; gap: 2px; text-align: right; }
.contact-link-secondary { font-size: .82rem; opacity: .82; }
.nav-toggle { display: none; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(247,165,26,.45);
  outline-offset: 3px;
}
.button-small { min-height: 40px; padding: 8px 16px; font-size: .86rem; }
.button-wide { width: 100%; }
.button-primary { background: var(--blue-800); color: #fff; box-shadow: 0 8px 18px rgba(18,59,135,.18); }
.button-primary:hover { background: var(--blue-900); }
.button-accent { background: var(--blue-700); color: #0a2342; box-shadow: 0 8px 18px rgba(247,165,26,.2); }
.button-accent:hover { background: #5fa9ff; }
.button-light { background: #fff; color: var(--blue-800); }
.button-outline { background: transparent; color: var(--blue-800); border-color: var(--blue-800); }
.button-outline:hover { background: var(--blue-050); }
.button-ghost { background: transparent; border-color: var(--line); color: var(--blue-800); }

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1b5f9e 0%, #2f78c7 54%, #5fa9ff 100%);
  color: #fff;
  padding: 70px 0 72px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(to top, rgba(6,21,54,.12), transparent);
  pointer-events: none;
}
.hero-orb { position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); }
.orb-one { width: 380px; height: 380px; right: -140px; top: -120px; }
.orb-two { width: 260px; height: 260px; left: 28%; bottom: -180px; }
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .82fr) minmax(290px, .66fr);
  align-items: center;
  gap: 36px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-700);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow-light { color: #d7e8fb; }
.hero-copy { align-self: start; padding-top: 24px; }
.hero h1 {
  max-width: 580px;
  margin: 0;
  font-size: clamp(2.8rem, 4.5vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-lead { max-width: 590px; margin: 26px 0 0; color: rgba(255,255,255,.84); font-size: 1.08rem; }
.hero-proof { display: grid; gap: 9px; margin-top: 28px; color: #fff; font-size: .9rem; font-weight: 700; }
.hero-proof span { display: flex; align-items: center; gap: 9px; }
.hero-proof i {
  width: 22px; height: 22px; display: inline-grid; place-items: center;
  background: rgba(255,255,255,.16); border-radius: 50%; font-style: normal; color: #f7fbff;
}

.quote-card {
  position: relative;
  z-index: 3;
  padding: 26px;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.quote-card-head { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.quote-card-head p { margin: 0; color: var(--muted); font-size: .77rem; font-weight: 700; }
.quote-card-head strong { display: block; margin-top: 2px; font-size: 1.03rem; }
.shield-icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--blue-100); border-radius: 50%; }
.shield-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-800); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.product-picker { margin: 20px 0 18px; padding: 0; border: 0; }
.product-picker legend, .field-label { margin-bottom: 9px; font-size: .86rem; font-weight: 800; }
.product-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.product-option {
  min-height: 78px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 8px 4px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  color: var(--blue-900);
  cursor: pointer;
  transition: .18s ease;
}
.product-option:hover { border-color: var(--blue-600); background: var(--blue-050); }
.product-option.is-selected { border-color: var(--blue-800); background: var(--blue-100); box-shadow: inset 0 0 0 1px var(--blue-800); }
.product-option input { position: absolute; opacity: 0; pointer-events: none; }
.product-option svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-option span { font-size: .72rem; font-weight: 800; }
.money-input {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 54px;
  border: 1.5px solid #aab8c6;
  border-radius: 8px;
  overflow: hidden;
}
.money-input:focus-within { border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(38,112,216,.13); }
.money-input span { padding: 0 14px; font-weight: 900; color: var(--blue-800); border-right: 1px solid var(--line); }
.money-input input { width: 100%; border: 0; outline: 0; padding: 12px 14px; font-size: 1.2rem; font-weight: 900; color: var(--ink); }
.input-help { margin: 6px 0 16px; color: var(--muted); font-size: .72rem; }
.text-button { width: 100%; margin-top: 12px; border: 0; background: transparent; color: var(--blue-800); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.privacy-note { margin: 14px 0 0; color: var(--muted); font-size: .68rem; text-align: center; }

.brand-visual { position: relative; align-self: end; margin-bottom: -72px; }
.brand-visual > svg { width: 100%; max-height: 570px; }
.brand-bubble {
  position: absolute;
  left: 0;
  top: 54px;
  width: 205px;
  padding: 13px 15px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-size: .75rem;
  line-height: 1.4;
}
.brand-bubble::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 28px;
  border: 7px solid transparent;
  border-left-color: #fff;
}
.brand-bubble span { display: block; margin-bottom: 3px; color: var(--orange-dark); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }

.quick-bar { position: relative; z-index: 5; background: #fff; box-shadow: 0 10px 30px rgba(6,21,54,.08); }
.quick-bar-grid { min-height: 104px; display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-bar button, .quick-bar a {
  display: flex; align-items: center; gap: 13px; padding: 20px 24px;
  border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; text-decoration: none;
}
.quick-bar button:first-child { border-left: 1px solid var(--line); }
.quick-bar button:hover, .quick-bar a:hover { background: var(--blue-050); }
.quick-bar strong, .quick-bar small { display: block; }
.quick-bar strong { font-size: .91rem; }
.quick-bar small { color: var(--muted); font-size: .72rem; margin-top: 2px; }
.quick-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; color: var(--blue-800); background: var(--blue-100); border-radius: 50%; font-weight: 900; }

.section { padding: 100px 0; }
.section-intro { background: #fff; }
.section-heading { margin-bottom: 50px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.narrow { max-width: 760px; }
.section-heading h2, .calculator-copy h2, .confidence-copy h2, .faq-intro h2, .final-cta h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.section-heading p:not(.eyebrow), .calculator-copy > p:not(.eyebrow), .confidence-copy > p:not(.eyebrow), .faq-intro > p:not(.eyebrow) { color: var(--muted); }

.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.solution-card {
  position: relative;
  overflow: hidden;
  min-height: 405px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--blue-050);
  border: 1px solid #edf6ff;
  border-radius: var(--radius-md);
  transition: transform .18s ease, box-shadow .18s ease;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.solution-card.featured { background: #f7fbff; border-color: #cfe3f7; }
.solution-card.dark-card { background: var(--blue-900); color: #fff; border-color: var(--blue-900); }
.card-illustration {
  height: 145px;
  display: grid;
  place-items: center;
  margin: -24px -24px 22px;
  background: linear-gradient(135deg, #f4f9ff, #f8fbfd);
}
.featured .card-illustration { background: linear-gradient(135deg, #f2f8ff, #fafcff); }
.dark-card .card-illustration { background: linear-gradient(135deg, #124a86, #0f4c81); }
.card-illustration svg { width: 78%; height: 120px; fill: none; stroke: var(--blue-800); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dark-card .card-illustration svg { stroke: #d7e8fb; }
.card-kicker { color: var(--blue-700); font-size: .69rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.dark-card .card-kicker { color: #dcecff; }
.solution-card h3 { margin: 8px 0 10px; font-size: 1.38rem; line-height: 1.2; }
.solution-card p { margin: 0 0 24px; color: var(--muted); font-size: .9rem; }
.dark-card p { color: rgba(255,255,255,.72); }
.card-link { margin-top: auto; padding: 0; border: 0; background: transparent; color: var(--blue-800); font-weight: 900; text-align: left; }
.dark-card .card-link { color: #fff; }
.card-link span { display: inline-block; margin-left: 4px; transition: transform .18s ease; }
.card-link:hover span { transform: translateX(4px); }

.calculator-section { position: relative; overflow: hidden; background: var(--blue-900); color: #fff; }
.calculator-section::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  right: -240px; top: -260px; background: rgba(38,112,216,.18);
}
.calculator-layout { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; gap: 80px; align-items: center; }
.calculator-copy h2 { color: #fff; }
.calculator-copy > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.check-list { display: grid; gap: 12px; margin: 30px 0 22px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 31px; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.13); color: #9ee7c1; font-size: .75rem; }
.legal-copy { font-size: .75rem; }
.calculator-card { padding: 32px; background: #fff; color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-lg); }
.calculator-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--blue-900); font-weight: 900; }
.demo-pill { padding: 5px 9px; background: var(--blue-100); border-radius: 999px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.range-group { margin-top: 27px; }
.range-label-row { display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.range-label-row label { font-size: .82rem; font-weight: 800; }
.range-label-row output { color: var(--blue-900); font-size: 1.2rem; font-weight: 900; }
input[type="range"] {
  width: 100%; height: 7px; margin: 18px 0 8px; appearance: none; border-radius: 999px; background: linear-gradient(to right, var(--blue-700) 0 var(--progress, 10%), #eaf5ff var(--progress, 10%) 100%);
}
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; border: 4px solid #fff; border-radius: 50%; background: var(--blue-800); box-shadow: 0 0 0 2px var(--blue-800), 0 3px 8px rgba(0,0,0,.18); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 4px solid #fff; border-radius: 50%; background: var(--blue-800); box-shadow: 0 0 0 2px var(--blue-800), 0 3px 8px rgba(0,0,0,.18); }
.range-limits { display: flex; justify-content: space-between; color: var(--muted); font-size: .68rem; }
.estimate-panel { margin: 30px 0 20px; padding: 24px; background: var(--blue-050); border: 1px solid #f4f9ff; border-radius: 14px; }
.estimate-panel > span { display: block; color: var(--muted); font-size: .77rem; font-weight: 700; }
.estimate-panel > strong { display: block; margin: 5px 0 15px; color: var(--blue-900); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.04em; }
.estimate-detail { display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .75rem; }
.estimate-detail span { color: var(--muted); }
.dark-note { color: var(--muted); }

.process-section { background: var(--blue-050); }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.process-grid::before { content: ""; position: absolute; left: 16%; right: 16%; top: 59px; height: 2px; background: #bed3e5; }
.process-grid li { position: relative; padding: 0 30px; text-align: center; }
.step-number { display: block; margin-bottom: 16px; color: var(--blue-700); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.step-icon { position: relative; z-index: 2; width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 20px; background: #fff; border: 2px solid var(--blue-700); border-radius: 50%; color: var(--blue-800); font-size: 1.3rem; font-weight: 900; box-shadow: 0 0 0 8px var(--blue-050); }
.process-grid h3 { margin: 0 0 9px; font-size: 1.18rem; }
.process-grid p { margin: 0; color: var(--muted); font-size: .88rem; }

.confidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 74px; align-items: center; }
.confidence-art svg { width: 100%; }
.confidence-copy > p:not(.eyebrow) { font-size: 1.02rem; }
.benefit-list { display: grid; gap: 19px; margin: 30px 0; }
.benefit-list > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.benefit-list span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-800); font-size: .72rem; font-weight: 900; }
.benefit-list p { margin: 0; color: var(--muted); }
.benefit-list strong { display: block; color: var(--ink); margin-bottom: 2px; }

.protection-section { padding-top: 30px; }
.protection-card { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 54px; background: linear-gradient(135deg, var(--blue-800), var(--blue-900)); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.protection-copy h2 { margin: 0; font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.08; letter-spacing: -.04em; }
.protection-copy > p:not(.eyebrow) { color: rgba(255,255,255,.74); }
.protection-points { display: grid; gap: 16px; }
.protection-points > div { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; }
.protection-points span { color: #dcecff; font-weight: 900; }
.protection-points p { margin: 0; color: rgba(255,255,255,.72); font-size: .86rem; }
.protection-points strong { display: block; color: #fff; margin-bottom: 3px; }

.testimonials-section { background: var(--blue-050); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-grid figure { margin: 0; padding: 28px; background: #fff; border: 1px solid #edf6ff; border-radius: 16px; box-shadow: 0 10px 30px rgba(6,21,54,.06); }
.stars { color: var(--orange); letter-spacing: .1em; font-size: .92rem; }
.testimonial-grid blockquote { margin: 18px 0 24px; font-size: 1rem; line-height: 1.65; }
.testimonial-grid figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-grid figcaption > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-800); font-weight: 900; font-size: .76rem; }
.testimonial-grid figcaption p { margin: 0; color: var(--muted); font-size: .75rem; }
.testimonial-grid figcaption strong { display: block; color: var(--ink); font-size: .86rem; }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro a { color: var(--blue-800); font-weight: 900; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 23px 44px 23px 0; list-style: none; color: var(--blue-950); font-weight: 900; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 5px; top: 17px; font-size: 1.6rem; font-weight: 400; color: var(--blue-700); }
.accordion details[open] summary::after { content: "–"; }
.accordion details p { margin: -6px 0 24px; padding-right: 48px; color: var(--muted); }

.final-cta { padding: 76px 0; background: var(--blue-800); color: #fff; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta h2 { color: #fff; }
.final-cta p:not(.eyebrow) { margin-bottom: 0; color: rgba(255,255,255,.72); }

.site-footer { padding: 65px 0 22px; background: var(--blue-950); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px; }
.brand-footer { margin-bottom: 18px; }
.footer-brand p { max-width: 350px; color: rgba(255,255,255,.55); font-size: .82rem; }
.footer-grid h3 { margin: 0 0 15px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #dcecff; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid a, .footer-grid span, .footer-grid button { color: rgba(255,255,255,.66); font-size: .8rem; text-decoration: none; }
.footer-grid button { padding: 0; border: 0; background: transparent; }
.footer-grid a:hover, .footer-grid button:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.38); font-size: .72rem; }

/* Dialogs */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgba(4, 15, 37, .72); backdrop-filter: blur(5px); }
.request-dialog { width: min(1180px, calc(100% - 28px)); max-height: calc(100vh - 28px); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.dialog-shell { max-height: calc(100vh - 28px); overflow: auto; }
.dialog-topbar { position: sticky; top: 0; z-index: 4; min-height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 10px 18px 10px 24px; background: var(--blue-800); color: #fff; }
.dialog-brand .brand-mark { width: 36px; height: 36px; }
.dialog-close { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.7rem; line-height: 1; }
.dialog-close:hover { background: rgba(255,255,255,.22); }
.dialog-layout { display: grid; grid-template-columns: 330px 1fr; min-height: 690px; }
.dialog-sidebar { padding: 42px 30px; background: var(--blue-900); color: #fff; }
.dialog-sidebar h2 { margin: 0; font-size: 1.9rem; line-height: 1.08; letter-spacing: -.035em; }
.dialog-sidebar > p:not(.eyebrow) { color: rgba(255,255,255,.65); font-size: .85rem; }
.progress-steps { display: grid; gap: 20px; margin: 42px 0; padding: 0; list-style: none; }
.progress-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; opacity: .48; }
.progress-steps li.is-active, .progress-steps li.is-complete { opacity: 1; }
.progress-steps li > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; font-size: .75rem; font-weight: 900; }
.progress-steps li.is-active > span { background: #fff; color: var(--blue-900); border-color: #fff; }
.progress-steps li.is-complete > span { background: var(--green); color: #fff; border-color: var(--green); }
.progress-steps strong, .progress-steps small { display: block; }
.progress-steps strong { font-size: .82rem; }
.progress-steps small { margin-top: 2px; color: rgba(255,255,255,.58); font-size: .68rem; }
.sidebar-help { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.sidebar-help strong, .sidebar-help a { display: block; }
.sidebar-help strong { font-size: .78rem; }
.sidebar-help a { margin-top: 5px; color: #dcecff; font-size: .8rem; }
.request-form { display: flex; flex-direction: column; min-width: 0; padding: 45px 54px 28px; }
.form-step { display: none; }
.form-step.is-active { display: block; animation: formIn .22s ease; }
@keyframes formIn { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }
.step-heading { margin-bottom: 28px; }
.step-heading > span { color: var(--blue-700); font-size: .71rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.step-heading h3 { margin: 6px 0; color: var(--blue-950); font-size: 1.75rem; letter-spacing: -.035em; }
.step-heading p { margin: 0; color: var(--muted); font-size: .88rem; }
.form-field { display: block; margin-bottom: 18px; }
.form-field > span { display: block; margin-bottom: 7px; font-size: .78rem; font-weight: 800; }
.form-field em { color: var(--muted); font-style: normal; font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 49px; padding: 11px 13px; border: 1.5px solid #b5c2cf; border-radius: 8px; background: #fff; color: var(--ink); outline: 0;
}
.form-field textarea { resize: vertical; min-height: 115px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(38,112,216,.12); }
.form-field.is-invalid input, .form-field.is-invalid select, .form-field.is-invalid textarea { border-color: #4a9ae8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row-postal { grid-template-columns: .35fr .65fr; }
.field-error { display: block; min-height: 16px; margin-top: 4px; color: #1e63b8; font-size: .68rem; }
.char-count { display: block; margin-top: 5px; color: var(--muted); font-size: .68rem; text-align: right; }
.form-fieldset { margin: 0 0 24px; padding: 20px 20px 2px; border: 1px solid var(--line); border-radius: 12px; }
.form-fieldset legend { padding: 0 8px; color: var(--blue-900); font-size: .8rem; font-weight: 900; }
.summary-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.summary-card > div { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary-card > div:nth-child(2n) { border-right: 0; }
.summary-card > div:nth-last-child(-n+2) { border-bottom: 0; }
.summary-card span, .summary-card strong { display: block; }
.summary-card span { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.summary-card strong { margin-top: 3px; font-size: .88rem; }
.check-field { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 14px 0 0; font-size: .8rem; }
.check-field input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue-800); }
.check-field button { padding: 0; border: 0; background: transparent; color: var(--blue-800); text-decoration: underline; }
.checkbox-error { margin-left: 32px; }
.demo-notice { margin-top: 22px; padding: 14px 16px; background: #f7fbff; border: 1px solid #d8ebff; border-radius: 10px; color: #0f4c81; font-size: .76rem; }
  .form-actions { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); justify-content: flex-end; }
  .form-actions #prev-step { margin-right: auto; }
.autosave-status { margin-right: auto; color: var(--muted); font-size: .68rem; }
.success-state { margin: auto; max-width: 560px; text-align: center; }
.success-icon { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: #f7fbff; color: var(--green); font-size: 2rem; font-weight: 900; }
.success-state h3 { margin: 4px 0 12px; color: var(--blue-950); font-size: 2rem; line-height: 1.1; letter-spacing: -.04em; }
.success-state > p:not(.eyebrow) { color: var(--muted); }
.reference-box { margin: 25px auto; padding: 17px 20px; background: var(--blue-050); border: 1px solid var(--line); border-radius: 12px; }
.reference-box span, .reference-box strong { display: block; }
.reference-box span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.reference-box strong { margin-top: 4px; color: var(--blue-900); font-size: 1.35rem; letter-spacing: .08em; }
.success-actions { display: flex; justify-content: center; gap: 12px; }

.legal-dialog { width: min(680px, calc(100% - 28px)); max-height: calc(100vh - 40px); border-radius: 18px; box-shadow: var(--shadow-lg); }
.legal-dialog-inner { position: relative; max-height: calc(100vh - 40px); overflow: auto; padding: 38px; }
.legal-close { position: absolute; right: 18px; top: 18px; background: var(--blue-100); color: var(--blue-900); }
.legal-close:hover { background: #dceaf5; }
.legal-dialog h2 { margin: 0 0 22px; color: var(--blue-950); font-size: 2rem; }
.legal-dialog h3 { margin: 22px 0 7px; color: var(--blue-900); font-size: 1rem; }
.legal-dialog p { color: var(--muted); font-size: .88rem; }

@media (max-width: 1080px) {
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: .82rem; }
  .contact-link { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); }
  .hero-copy { grid-column: 1; }
  .quote-card { grid-column: 2; grid-row: 1 / span 2; }
  .brand-visual { grid-column: 1; max-width: 380px; margin: -10px auto -72px; }
  .brand-bubble { left: -15px; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-layout { gap: 45px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 28px, 720px); }
  .site-header { top: 0; }
  .header-inner { height: 66px; }
  .nav-toggle { display: grid; gap: 4px; width: 42px; height: 42px; place-content: center; margin-left: auto; border: 0; border-radius: 8px; background: rgba(255,255,255,.1); }
  .nav-toggle span:not(.sr-only) { width: 20px; height: 2px; background: #fff; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 66px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; background: var(--blue-900); box-shadow: 0 18px 30px rgba(0,0,0,.2);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .header-actions { gap: 0; }
  .header-actions .button { display: none; }
  .hero { padding: 58px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy, .quote-card, .brand-visual { grid-column: 1; grid-row: auto; }
  .hero-copy { padding-top: 0; text-align: center; }
  .hero-copy h1, .hero-lead { margin-inline: auto; }
  .hero-proof { grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: left; }
  .quote-card { width: min(100%, 520px); margin-inline: auto; }
  .brand-visual { width: min(100%, 390px); margin-top: -5px; }
  .brand-bubble { left: 0; top: 35px; }
  .quick-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-bar button:nth-child(2), .quick-bar a { border-right: 1px solid var(--line); }
  .quick-bar button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .calculator-layout, .confidence-grid, .protection-card, .faq-layout { grid-template-columns: 1fr; }
  .calculator-layout { gap: 42px; }
  .confidence-art { max-width: 600px; margin-inline: auto; }
  .protection-card { padding: 38px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-sidebar { padding: 25px 28px; }
  .dialog-sidebar h2, .dialog-sidebar > p:not(.eyebrow), .sidebar-help { display: none; }
  .progress-steps { grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 0; }
  .progress-steps li { grid-template-columns: 30px 1fr; gap: 8px; }
  .progress-steps li > span { width: 30px; height: 30px; }
  .progress-steps small { display: none; }
  .request-form { padding: 34px 30px 24px; }
}

@media (max-width: 600px) {
  .demo-strip { font-size: .68rem; }
  .demo-strip span { display: none; }
  .brand-type strong { font-size: .93rem; }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 3.7rem); }
  .hero-lead { font-size: .96rem; }
  .hero-proof { grid-template-columns: 1fr; width: fit-content; margin-inline: auto; }
  .quote-card { padding: 20px; }
  .product-options { grid-template-columns: repeat(2, 1fr); }
  .product-option { min-height: 70px; }
  .brand-bubble { width: 180px; font-size: .67rem; }
  .quick-bar-grid { grid-template-columns: 1fr; }
  .quick-bar button, .quick-bar a { border: 0; border-bottom: 1px solid var(--line); }
  .quick-bar button:first-child { border-left: 0; }
  .section { padding: 72px 0; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 380px; }
  .calculator-card { padding: 23px; }
  .estimate-panel > strong { font-size: 2.15rem; }
  .estimate-detail { display: grid; gap: 3px; }
  .process-grid { grid-template-columns: 1fr; gap: 38px; }
  .process-grid::before { left: 31px; right: auto; top: 44px; bottom: 44px; width: 2px; height: auto; }
  .process-grid li { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 20px; padding: 0; text-align: left; }
  .step-number { grid-column: 1; grid-row: 1; margin: 0 0 4px; text-align: center; }
  .step-icon { grid-column: 1; grid-row: 2 / span 2; margin: 0; box-shadow: 0 0 0 7px var(--blue-050); }
  .process-grid h3, .process-grid p { grid-column: 2; }
  .protection-card { padding: 28px 22px; border-radius: 18px; }
  .final-cta-inner { display: grid; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { display: grid; gap: 7px; }
  .request-dialog { width: 100%; max-height: 100vh; border-radius: 0; }
  .dialog-shell { max-height: 100vh; }
  .dialog-sidebar { padding: 18px; }
  .progress-steps strong { font-size: .69rem; }
  .request-form { padding: 27px 18px 18px; }
  .form-row, .form-row-postal, .summary-card { grid-template-columns: 1fr; }
  .summary-card > div { border-right: 0; }
  .summary-card > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .summary-card > div:last-child { border-bottom: 0; }
  .form-actions { flex-wrap: wrap; }
  .autosave-status { width: 100%; order: -1; }
  .form-actions .button { flex: 1; }
  .success-actions { flex-direction: column; }
  .legal-dialog-inner { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Brand animation and standalone pages */
@keyframes fadeRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.hero-copy, .quote-card, .section-head, .feature-card, .stat-card, .calculator-card, .final-cta-inner, .footer-grid {
  animation: fadeRise .7s ease both;
}

.hero-copy { animation-delay: .05s; }
.quote-card { animation-delay: .12s; }
.feature-card, .stat-card, .calculator-card { animation-delay: .08s; }

.hero-orb {
  animation: softFloat 11s ease-in-out infinite;
}

.orb-two { animation-duration: 13s; animation-delay: -3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.page-hero {
  padding: 54px 0 36px;
  background:
    radial-gradient(circle at top left, rgba(47, 120, 199, .12), transparent 32%),
    radial-gradient(circle at top right, rgba(15, 76, 129, .10), transparent 28%),
    linear-gradient(180deg, #f8fbfe 0%, #eef5fb 100%);
}

.page-hero-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

.page-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15, 76, 129, .10);
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(6, 24, 60, .10);
  padding: 26px;
  animation: fadeRise .7s ease both;
}

.page-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--ink);
}

.page-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.1;
  color: var(--ink);
}

.page-card p {
  color: var(--muted);
  margin: 0 0 14px;
}

.content-grid {
  display: grid;
  gap: 18px;
}

.content-block {
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.content-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.content-block h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.02rem;
}

.content-block ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.content-block li + li { margin-top: 8px; }

body.thank-you-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(47, 120, 199, .18), transparent 26%),
    radial-gradient(circle at top right, rgba(15, 76, 129, .16), transparent 26%),
    linear-gradient(180deg, #f7fbff 0%, #ecf4fb 100%);
}

.thank-you-main {
  padding: 44px 0 58px;
}

.thank-you-layout {
  display: grid;
  gap: 20px;
}

.thank-you-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15, 76, 129, .10);
  border-radius: 30px;
  box-shadow: 0 24px 72px rgba(6, 24, 60, .12);
  padding: 30px;
  animation: fadeRise .75s ease both;
}

.thank-you-card .eyebrow { margin-bottom: 10px; }

.thank-you-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -.05em;
  color: var(--ink);
}

.thank-you-card p {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 66ch;
}

.thank-you-panel {
  margin-top: 18px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(15, 76, 129, .10);
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: 0 14px 34px rgba(6, 24, 60, .08);
}

.thank-you-panel h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.thank-you-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.thank-you-meta .popup-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 76, 129, .08);
  border-radius: 18px;
  background: #fff;
}

.thank-you-meta .popup-row strong {
  text-align: left;
  font-size: 1.02rem;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.thank-you-actions .button,
.thank-you-actions a {
  text-decoration: none;
}

.missing-data {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff8f9;
  color: #124a86;
  border: 1px solid rgba(15, 76, 129, .12);
}

@media (max-width: 720px) {
  .thank-you-meta {
    grid-template-columns: 1fr;
  }
}

.legal-page-main {
  padding: 40px 0 56px;
}

.legal-page .page-card {
  max-width: 920px;
}

.legal-page .page-card .meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 0;
}

.legal-page .page-card .meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: .84rem;
  font-weight: 700;
}

.check-field a,
.check-field button {
  color: var(--blue-800);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 0;
}
