:root {
  --navy: #0b1b36;
  --ink: #1a2740;
  --muted: #56647d;
  --line: #e0e6ef;
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --primary: #1f56d6;
  --primary-hover: #1846b3;
  --primary-soft: #e9efff;
  --success: #0e8f64;
  --success-soft: #e2f5ee;
  --danger: #b42323;
  --danger-soft: #fdeeee;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 27, 54, 0.05), 0 6px 20px rgba(11, 27, 54, 0.06);
  --shadow-lg: 0 2px 4px rgba(11, 27, 54, 0.05), 0 18px 40px rgba(11, 27, 54, 0.1);
  --header-h: 68px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-hover);
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3,
.h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1em;
}

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

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.container.narrow {
  max-width: 760px;
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

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

.lead {
  font-size: 1.125rem;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn .icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--primary-soft);
  color: var(--navy);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9375rem;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

/* Top bar + header */

.topbar {
  padding: 8px 16px;
  background: var(--navy);
  color: #d9e2f2;
  font-size: 0.8125rem;
  text-align: center;
}

.topbar strong {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-decoration: none;
}

.brand:hover {
  color: var(--navy);
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.header-phone:hover {
  color: var(--primary);
}

@media (max-width: 480px) {
  .brand {
    gap: 8px;
    font-size: 1.0625rem;
    line-height: 1.15;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-phone strong {
    font-size: 0.9375rem;
    white-space: nowrap;
  }
}

.header-phone .icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.header-phone small {
  display: block;
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--muted);
}

.header-phone strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] {
  color: var(--primary);
}

.nav-toggle {
  display: none;
}

@media (max-width: 640px) {
  .header-phone small,
  .header-cta {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.btn) {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .btn {
    margin-top: 16px;
  }
}

/* Hero */

.hero {
  padding: 48px 0 56px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
}

.badge .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
  stroke-width: 2.2;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero .lead {
  max-width: 560px;
  margin-bottom: 22px;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.hero-points .icon,
.checklist .icon {
  flex: none;
  color: var(--success);
  stroke-width: 3;
}

.hero-points .icon {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: var(--success-soft);
}

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

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 32px 0 40px;
  }

  .hero-actions {
    display: none;
  }
}

/* Quote form */

.quote-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.quote-card h2 {
  margin-bottom: 4px;
  font-size: 1.375rem;
}

.quote-sub {
  margin: 0 0 18px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.quote-card .btn-primary {
  width: 100%;
  padding: 0.9rem;
}

.selected-product {
  margin: 0 0 16px;
  padding: 10px 14px;
  background: var(--primary-soft);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}

.quote-alt {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
}

.quote-alt a {
  font-weight: 700;
}

.consent {
  margin: 14px 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #cdd6e4;
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(31, 86, 214, 0.15);
}

.field input:user-invalid,
.field select:user-invalid {
  border-color: var(--danger);
}

.form-error {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: var(--danger-soft);
  border: 1px solid #f1c4c4;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: var(--danger);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 560px) {
  .quote-card {
    padding: 22px 18px;
  }
}

/* Trust strip */

.trust-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 20px 0;
  list-style: none;
}

.trust-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-grid strong {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--navy);
}

.trust-grid span {
  font-size: 0.8125rem;
  color: var(--muted);
}

.icon-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}

.icon-tile .icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Sections */

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

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

@media (max-width: 560px) {
  .section {
    padding: 48px 0;
  }
}

/* Products */

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.product.is-featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
}

.product-tag {
  position: absolute;
  top: -12px;
  left: 20px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product .icon-tile {
  margin-bottom: 14px;
}

.product h3 {
  margin-bottom: 4px;
}

.product-desc {
  min-height: 3em;
  margin: 0 0 14px;
  font-size: 0.875rem;
  color: var(--muted);
}

.price {
  margin: 0;
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

.price small {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: 6px;
  flex: 1;
  margin: 14px 0 20px;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checklist .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.product .btn {
  width: 100%;
}

.products-note {
  margin: 28px 0 0;
  text-align: center;
  color: var(--muted);
}

.products-note a {
  font-weight: 700;
}

@media (max-width: 800px) {
  .products {
    grid-template-columns: minmax(0, 440px);
    gap: 28px;
  }
}

/* Included + steps */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature,
.step-card,
.info-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature .icon-tile {
  margin-bottom: 14px;
}

.feature h3,
.step-card h3 {
  margin-bottom: 6px;
  font-size: 1.0625rem;
}

.feature p,
.step-card p,
.info-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .features {
    gap: 12px;
  }

  .feature {
    padding: 18px 16px;
  }

  .feature h3 {
    font-size: 1rem;
  }

  .feature p {
    font-size: 0.875rem;
  }
}

/* FAQ */

.faq {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--primary);
  transition: transform 0.15s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

/* CTA band */

.cta-band {
  padding: 52px 0;
  background: var(--navy);
  color: #fff;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin-bottom: 6px;
  color: #fff;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

/* Footer */

.site-footer {
  padding: 56px 0 24px;
  background: #071329;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 32px;
}

.footer-brand .brand {
  margin-bottom: 14px;
  color: #fff;
}

.footer-title {
  margin-bottom: 14px;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
  margin: 0 0 8px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Sticky mobile call bar */

.mobile-cta {
  display: none;
}

@media (max-width: 760px) {
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(11, 27, 54, 0.08);
  }

  .mobile-cta .btn {
    padding: 0.75rem 0.5rem;
    font-size: 0.9375rem;
  }

  body.has-mobile-cta {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

/* Inner pages */

.page-hero {
  padding: 56px 0 40px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 680px;
  margin: 0;
  font-size: 1.0625rem;
  color: var(--muted);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 2em;
  font-size: 1.375rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4em;
}

.updated {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  box-shadow: var(--shadow);
}

.info-card .icon-tile {
  margin-bottom: 16px;
}

.info-card a {
  font-weight: 600;
  word-break: break-word;
}

.detail-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
  margin: 0;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.detail-list dt {
  font-weight: 600;
  color: var(--navy);
}

.detail-list dd {
  margin: 0;
}

.center-cta {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .detail-list {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .detail-list dd {
    margin-bottom: 10px;
  }
}

/* Thank you */

.thanks {
  min-height: 60vh;
  padding: 72px 0;
  background: var(--bg-soft);
  text-align: center;
}

.panel {
  max-width: 600px;
  margin: 0 auto;
  padding: 36px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.thanks-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}

.thanks-icon .icon {
  width: 36px;
  height: 36px;
  stroke-width: 2.4;
}

.thanks .lead {
  margin-bottom: 28px;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
