:root {
  --ink: #14213d;
  --ink-soft: #31415f;
  --muted: #5f6f84;
  --line: #dce5ee;
  --paper: #ffffff;
  --wash: #f5f8fb;
  --navy: #0b2545;
  --teal: #0e9f9a;
  --teal-dark: #087b78;
  --green: #2d9f65;
  --amber: #f4a62a;
  --rose: #c45a6a;
  --shadow: 0 18px 45px rgba(20, 33, 61, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
iframe {
  max-width: 100%;
}

img {
  display: block;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text span:last-child {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.nav-toggle svg,
.icon svg {
  width: 22px;
  height: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a,
.dropbtn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.site-nav a:hover,
.dropbtn:hover {
  color: var(--teal-dark);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 280px;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-radius: 6px;
}

.dropdown-menu a:hover {
  background: var(--wash);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1rem;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(14, 159, 154, 0.22);
}

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

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

.btn.light {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.home-hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.home-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 47, 0.68);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 72vh;
  padding: 5rem 0 4rem;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero .eyebrow {
  color: #80e6d7;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

h3 {
  font-size: 1.22rem;
}

.hero-lead {
  margin: 1.1rem 0 1.45rem;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.quick-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.quick-benefits li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.section {
  padding: 4.7rem 0;
}

.section.compact {
  padding: 3.2rem 0;
}

.section-band {
  background: var(--wash);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 0.8rem;
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-head.offset {
  margin-top: 2rem;
}

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

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.06);
}

.service-card {
  display: grid;
  gap: 0.8rem;
  min-height: 245px;
  padding: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.service-card:hover {
  border-color: rgba(14, 159, 154, 0.45);
  box-shadow: var(--shadow);
  color: var(--ink);
  transform: translateY(-2px);
}

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

.icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--navy);
  background: #e8f6f4;
  border-radius: 8px;
}

.service-card:nth-child(2) .icon,
.info-list li:nth-child(2)::before {
  background: #eef7ea;
  color: var(--green);
}

.service-card:nth-child(3) .icon,
.info-list li:nth-child(3)::before {
  background: #fff4df;
  color: var(--amber);
}

.service-card:nth-child(4) .icon,
.info-list li:nth-child(4)::before {
  background: #edf2ff;
  color: #506ccf;
}

.service-card:nth-child(5) .icon,
.info-list li:nth-child(5)::before {
  background: #fff0f2;
  color: var(--rose);
}

.card-link {
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 850;
}

.info-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--ink-soft);
}

.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38rem;
  width: 1rem;
  height: 1rem;
  border-radius: 5px;
  background: #e8f6f4;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 160px;
  padding: 1.25rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

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

.page-hero {
  padding: 3.8rem 0 3.2rem;
  background: linear-gradient(180deg, #f6fbfc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2.2rem;
  align-items: center;
}

.page-hero p.lead {
  margin: 1.1rem 0 1.3rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-panel strong {
  font-size: 0.88rem;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.metric {
  min-height: 86px;
  padding: 0.8rem;
  border-radius: 8px;
  background: var(--wash);
}

.metric b {
  display: block;
  color: var(--navy);
  font-size: 1.35rem;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.breadcrumb {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: #9aa9ba;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}

.article-body {
  display: grid;
  gap: 2.4rem;
}

.content-section {
  display: grid;
  gap: 0.95rem;
}

.content-section h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
}

.aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

.aside-box {
  padding: 1.1rem;
}

.aside-box h2,
.aside-box h3 {
  font-size: 1.05rem;
}

.aside-box ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.comparison-table th,
.comparison-table td {
  padding: 0.95rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--navy);
  background: #eef7f6;
  font-weight: 850;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.lead-section {
  scroll-margin-top: 94px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.mini-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(14, 159, 154, 0.28);
  border-radius: 8px;
  background: #f1fbfa;
}

.mini-cta h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.mini-cta p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.aside-box .btn {
  width: 100%;
  margin-top: 0.8rem;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 1rem;
  align-items: stretch;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.06);
}

.calculator-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  color: var(--ink-soft);
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--wash);
  font: inherit;
}

.calculator-result {
  display: grid;
  align-content: center;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.calculator-result strong {
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  line-height: 1;
}

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

.calculator-disclosure {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.calculator-disclosure h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.note {
  color: var(--muted);
  font-size: 0.92rem;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  min-height: 46px;
  padding: 0 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  box-shadow: var(--shadow);
  font-weight: 850;
  text-decoration: none;
}

.lead-copy {
  display: grid;
  gap: 0.65rem;
  padding: 1.35rem;
  background: #f1fbfa;
  border-bottom: 1px solid var(--line);
}

.lead-copy h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.lead-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.iframe-wrap {
  width: 100%;
  min-height: 720px;
  background: var(--wash);
}

.iframe-wrap iframe {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.faq summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: var(--ink);
  font-weight: 850;
}

.faq details p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-weight: 750;
  text-decoration: none;
}

.pill-link:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.guide-card {
  min-height: 220px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--ink);
}

.guide-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.guide-card:hover {
  color: var(--ink);
  border-color: rgba(14, 159, 154, 0.45);
  box-shadow: var(--shadow);
}

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

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

.site-footer {
  padding: 3rem 0 2rem;
  color: rgba(255, 255, 255, 0.78);
  background: #081a31;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

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

.site-footer a:hover {
  color: #8ee8dd;
}

.footer-list {
  display: grid;
  gap: 0.42rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-title {
  color: #fff;
  font-weight: 850;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.legal-copy {
  display: grid;
  gap: 1.1rem;
}

.legal-copy h2 {
  font-size: 1.35rem;
}

.legal-copy p {
  margin: 0;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a,
  .dropbtn {
    justify-content: space-between;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin: 0.2rem 0 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .grid.three,
  .grid.four,
  .page-hero-layout,
  .article-layout,
  .footer-grid,
  .calculator {
    grid-template-columns: 1fr;
  }

  .aside {
    position: static;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 24px, var(--max));
  }

  .header-inner {
    min-height: 66px;
  }

  .home-hero,
  .hero-content {
    min-height: 640px;
  }

  .hero-content {
    padding: 2.75rem 0 2.2rem;
  }

  .home-hero h1 {
    font-size: 2.05rem;
    line-height: 1.08;
  }

  .hero-lead {
    margin: 0.9rem 0 1rem;
    font-size: 1rem;
  }

  .quick-benefits {
    gap: 0.45rem;
    margin-top: 0.85rem;
  }

  .quick-benefits li {
    min-height: 30px;
    font-size: 0.88rem;
  }

  .section {
    padding: 3.3rem 0;
  }

  .grid.two,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .calculator-fields {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    display: inline-flex;
    left: 16px;
    right: 16px;
  }

  .button-row {
    align-items: stretch;
  }

  .button-row .btn,
  .mini-cta .btn {
    width: 100%;
  }

  .mini-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }

  .comparison-table th,
  .comparison-table td {
    min-width: 190px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
