:root {
  --paper: #f9faff;
  --cream: #eff6ff;
  --white: #ffffff;
  --teal: #1d4ed8;
  --teal-deep: #1e3a8a;
  --teal-hover: #112954;
  --teal-soft: #dbeafe;
  --charcoal: #0f172a;
  --ink: #0f172a;
  --muted: #5a6368;
  --line: #e6e6e6;
  --error: #8a3a32;
  --ok: #2d5d48;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.035) 1px, transparent 0) 0 0 / 7px 7px,
    var(--paper);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-deep);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--teal);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(239, 246, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex: 0 1 auto;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.logo-lockup {
  display: block;
  object-fit: contain;
  object-position: center;
}

.logo-lockup-nav {
  /* Transparent lockup (exact mark, white field knocked out). */
  height: 48px;
  width: auto;
  max-width: min(240px, 62vw);
  object-fit: contain;
  object-position: left center;
}

.logo-lockup-hero {
  position: relative;
  z-index: 1;
  width: min(100%, 36rem);
  height: auto;
  max-height: 24rem;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px 18px;
}

.nav a:not(.btn) {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
}

.nav a:not(.btn):hover {
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-hover);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--teal-deep);
  border-color: var(--teal);
}

.btn-light {
  background: var(--white);
  color: var(--teal);
}

.btn-light:hover {
  background: var(--cream);
  color: var(--teal-deep);
}

.hero {
  padding: 40px 0 28px;
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 700;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 650;
}

.lede,
.section-lede {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 44rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.trust-chips li {
  display: inline-flex;
  align-items: center;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.trust-chips li:not(:last-child)::after {
  content: "·";
  margin: 0 10px;
  color: var(--muted);
  font-weight: 500;
}

.trust-chips-on-teal {
  margin: 0 0 22px;
}

.trust-chips-on-teal li {
  color: var(--cream);
}

.trust-chips-on-teal li:not(:last-child)::after {
  color: rgba(239, 246, 255, 0.55);
}

.section-for-whom {
  padding: 8px 0 36px;
}

.for-whom {
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--teal);
  color: var(--charcoal);
  font-size: 1.08rem;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.72);
  border-block: 1px solid var(--line);
}

.section-narrow {
  max-width: 720px;
}

.problem p {
  margin: 0;
  font-size: 1.15rem;
  color: var(--charcoal);
}

.steps {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.trust {
  display: grid;
  gap: 12px;
  padding: 8px 0 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal);
  font-weight: 550;
  font-size: 0.98rem;
}

.trust-item svg {
  flex: 0 0 auto;
}

.mid-cta {
  background: var(--teal);
  color: var(--cream);
}

.mid-cta h2,
.mid-cta p {
  color: var(--cream);
}

.mid-cta p {
  max-width: 36rem;
  margin: 0 0 22px;
  opacity: 0.92;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.req {
  color: var(--teal);
}

input,
textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14);
  background: var(--white);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.field.error input,
.field.error textarea {
  border-color: var(--error);
}

.field-error {
  display: none;
  margin-top: 6px;
  color: var(--error);
  font-size: 0.82rem;
}

.field.error .field-error {
  display: block;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.success {
  display: none;
  padding: 8px 0 4px;
}

.success.is-visible {
  display: block;
}

.success h3 {
  color: var(--ok);
}

.success p {
  margin: 0;
  color: var(--charcoal);
}

.form-card.is-sent .quote-form {
  display: none;
}

.closing {
  text-align: center;
  padding-bottom: 36px;
}

.closing p {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1.25rem;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links a {
  color: var(--charcoal);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--teal);
}

.legal-page {
  padding: 48px 0 80px;
}

.legal-page p {
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 8px 0 8px;
  }

  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .form-card {
    padding: 32px;
  }
}

@media (min-width: 980px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 560px) {
  .nav a:not(.btn) {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}

/* v2 additions */
.quick-quote{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 6px}
.quick-quote input{flex:1 1 140px;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font:inherit;background:var(--white)}
.quick-quote input[type=number]{flex:0 1 100px}
@media(min-width:760px){.cards-3{grid-template-columns:repeat(3,1fr)}.cards-2{grid-template-columns:repeat(2,1fr)}}
.card-link{display:inline-block;margin-top:10px;font-weight:600;color:var(--teal)}
.volume-note{margin-top:16px;font-size:.95rem;opacity:.9}
#faq details{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:14px 18px;margin-top:10px}
#faq summary{font-weight:600;cursor:pointer}
#faq details p{margin:8px 0 0;color:var(--muted)}
.subpage h1{font-size:clamp(2rem,4vw,2.6rem);line-height:1.15;margin:.2em 0 .4em}
.checklist{padding-left:1.2em}.checklist li{margin:6px 0}
.glossary dt{font-weight:700;margin-top:10px}.glossary dd{margin:0;color:var(--muted)}
.calc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin-bottom:14px}
.calc-grid label{display:flex;flex-direction:column;font-weight:600;font-size:.92rem;gap:4px}
.calc-grid input{padding:9px 10px;border:1px solid var(--line);border-radius:10px;font:inherit}
.calc-out{margin-top:14px}.calc-out p{margin:4px 0}
.fine{font-size:.88rem;color:var(--muted);margin-top:14px}
.nav{flex-wrap:wrap}
