@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Source+Sans+Pro:wght@400;600&display=swap");

:root {
  --bg: #f8f6f4;
  --card: #ffffff;
  --card-muted: #eef3f7;
  --muted: #5e6a71;
  --muted-strong: #3c4650;
  --text: #1e2226;
  --heading: #0d274d;
  --brand: #0d274d;
  --brand-2: #5e6a71;
  --danger: #c0392b;
  --warn: #c97216;
  --ok: #1f7a4d;
  --border: #d7dfe7;
  --shadow: 0 18px 36px rgba(13, 39, 77, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Source Sans Pro", "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--heading);
  margin-top: 0;
}

p {
  margin-top: 0;
  color: var(--text);
  line-height: 1.7;
}

a {
  color: var(--brand);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 4px;
}

a:hover,
a:focus {
  color: #123360;
}

.wrap {
  width: 100%;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 32px) clamp(20px, 5vw, 48px) clamp(48px, 8vw, 96px);
}

.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;
}

header {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 32px);
  margin-bottom: clamp(28px, 4vw, 36px);
  padding-bottom: clamp(6px, 1.2vw, 12px);
  border-bottom: 1px solid rgba(13, 39, 77, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--heading);
}

.brand .logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand h1.wordmark {
  margin: 0;
  display: flex;
  align-items: center;
  height: 28px;
}

.brand h1.wordmark .wordmark-primary {
  display: block;
  height: 100%;
  width: auto;
}

.brand h1.wordmark .wordmark-stacked {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--brand-wordmark-font);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  color: #0d274d;
}

.brand h1.wordmark .wordmark-stacked__line {
  display: block;
}

.brand h1.wordmark .wordmark-stacked__line--primary {
  font-size: 18px;
}

.brand h1.wordmark .wordmark-stacked__line--secondary {
  font-size: 11.5px;
  letter-spacing: 0.12em;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: transparent;
  color: var(--muted-strong);
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: color 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
  color: var(--brand);
}

.menu-toggle:focus-visible {
  outline: 3px solid rgba(13, 39, 77, 0.2);
  outline-offset: 3px;
}

.menu-toggle .menu-bars {
  position: relative;
  width: 34px;
  height: 4px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.3s ease;
}

.menu-toggle .menu-bars::before,
.menu-toggle .menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 34px;
  height: 4px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle .menu-bars::before {
  top: -10px;
}

.menu-toggle .menu-bars::after {
  top: 10px;
}

.menu-toggle[aria-expanded="true"] .menu-bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-bars::before {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bars::after {
  transform: translateY(-10px) rotate(-45deg);
}


.site-nav {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  display: none;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  min-width: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  z-index: 10;
}

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

.header-controls {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  flex-shrink: 0;
  margin-left: auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 38px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #ffffff;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(13, 39, 77, 0.24);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  margin-left: clamp(8px, 2.4vw, 36px);
}

.header-cta:hover,
.header-cta:focus {
  background: #123360;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(13, 39, 77, 0.25);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  color: var(--muted-strong);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--brand);
  background: var(--card-muted);
  border-color: var(--border);
}

.site-nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--card-muted);
  border-color: var(--border);
}

.site-nav .nav-cta {
  background: var(--brand);
  color: #ffffff;
  border-color: transparent;
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 28px rgba(13, 39, 77, 0.22);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus {
  background: #123360;
  color: #ffffff;
  border-color: transparent;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  header {
    flex-wrap: wrap;
    align-items: center;
  }

  .header-controls {
    gap: 12px;
  }

  .site-nav {
    position: static;
    order: 4;
    width: 100%;
    margin: 16px 0 0;
  }

  .site-nav a {
    font-size: 16px;
    padding: 12px 16px;
    justify-content: flex-start;
  }

  .site-nav .nav-cta {
    box-shadow: none;
    display: inline-flex;
  }
}

@media (max-width: 1100px) {
  .brand h1.wordmark {
    height: 48px;
  }

  .brand h1.wordmark .wordmark-primary {
    display: none;
  }

  .brand h1.wordmark .wordmark-stacked {
    display: flex;
    gap: 2px;
  }
}

@media (max-width: 720px) {
  .header-cta {
    padding: 10px 26px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .header-controls {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .header-cta {
    padding: 8px 17px;
    font-size: 12px;
  }
}


.hero {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  width: 100%;
  margin: 0;
  padding: clamp(52px, 7vw, 112px) clamp(20px, 4vw, 40px);
  min-height: clamp(500px, 72vh, 720px);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image, url("./HVAC%20CAPITAL%20-%20Background%20webp.webp"));
  background-size: cover;
  background-position: 50% 40%;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.page-hero {
  min-height: clamp(320px, 55vh, 520px);
  margin-bottom: clamp(40px, 6vw, 72px);
  padding: clamp(48px, 9vw, 96px) clamp(20px, 5vw, 56px);
  justify-items: start;
  text-align: left;
}

.page-hero .hero-content {
  max-width: 720px;
  justify-items: start;
  gap: clamp(12px, 3vw, 24px);
}

.page-hero .tagline {
  display: none;
}

.page-hero h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.1;
  color: #ffffff;
}

.page-hero p {
  font-size: clamp(18px, 3vw, 24px);
}

@media (max-width: 720px) {
  .page-hero {
    justify-items: center;
    text-align: center;
    padding: clamp(36px, 12vw, 64px) clamp(18px, 6vw, 36px);
  }

  .page-hero .hero-content {
    justify-items: center;
  }
}

.hero-content {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  max-width: 620px;
  justify-items: center;
}

.hero h2 {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: #ffffff;
}

.hero p {
  margin: 0;
  font-size: clamp(20px, 4.6vw, 30px);
  color: #ffffff;
}

.hero-checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(6px, 2vw, 12px);
  justify-self: center;
  text-align: left;
  font-size: clamp(20px, 4.6vw, 30px);
}

.hero-checks li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: clamp(8px, 2vw, 12px);
  line-height: 1.25;
}

.hero-checks li::before {
  content: "✓";
  color: #ffffff;
  font-size: 1.5em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35em;
  height: 1.35em;
}

.hero .btn {
  padding: clamp(10px, 2.1vw, 13px) clamp(22px, 5.4vw, 32px);
  background: #ffffff;
  color: var(--brand);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 32px rgba(9, 18, 30, 0.25);
}

.hero .btn:hover,
.hero .btn:focus {
  background: rgba(255, 255, 255, 0.92);
  color: #0b1c32;
}

@media (max-width: 1100px) {
  .hero {
    padding: clamp(44px, 9vw, 92px) clamp(18px, 6vw, 32px);
    min-height: clamp(460px, 76vh, 680px);
  }
}

@media (max-width: 720px) {
  .hero {
    padding: clamp(36px, 10vw, 64px) clamp(18px, 6vw, 32px);
    min-height: clamp(420px, 82vh, 560px);
  }

  .hero-content {
    width: min(100%, 520px);
  }
}

@media (max-width: 720px) {
  .hero-media {
    background-position: 50% 32%;
  }
}

@media (max-width: 480px) {
  .hero-media {
    background-position: 50% 28%;
  }
}

@media (min-width: 1200px) {
  .hero {
    padding: clamp(64px, 6vw, 140px) clamp(40px, 5vw, 72px);
    min-height: clamp(560px, 64vh, 780px);
  }

  .hero-media {
    background-position: 50% 38%;
    background-size: cover;
  }
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 24px;
  align-items: start;
}

.grid.lead-form-block {
  margin: clamp(16px, 3.2vw, 24px) 0;
}

.lead-form-shell {
  width: 100%;
}

@media (min-width: 960px) {
  .lead-form-shell {
    max-width: 720px;
    margin-inline: auto;
  }
}

.lead-form-layout {
  position: relative;
}

.lead-form-callout {
  display: none;
  font-family: "Source Sans Pro", "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--heading);
}

.lead-form-callout__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.lead-form-callout__eyebrow {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a61ff;
}

@media (min-width: 1280px) {
  .lead-form-shell {
    max-width: min(100%, 1320px);
  }

  .lead-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: stretch;
  }

  .lead-form-callout {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: clamp(320px, 30vw, 440px);
    color: #0d274d;
  }

  .lead-form-callout__card {
    width: 100%;
    padding: clamp(20px, 2.2vw, 32px);
    background: linear-gradient(135deg, rgba(13, 39, 77, 0.12), rgba(13, 39, 77, 0.04));
    border: 1px solid rgba(13, 39, 77, 0.12);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(13, 39, 77, 0.12);
    gap: clamp(16px, 1.8vw, 24px);
    min-height: clamp(220px, 18vw, 260px);
    text-align: left;
  }

  .lead-form-callout__eyebrow {
    font-size: clamp(14px, 1.1vw, 16px);
  }

  .lead-form-callout p {
    margin: 0;
    font-size: clamp(18px, 1.8vw, 26px);
    line-height: clamp(1.6, 1.1 + 0.38vw, 2.1);
    font-style: italic;
  }

  .lead-form-callout--left {
    justify-content: center;
    text-align: center;
    margin-left: auto;
  }

  .lead-form-callout--right {
    justify-content: center;
    margin-right: auto;
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .lead-form-callout__card {
    text-align: center;
    align-items: center;
  }

  .lead-form-callout__eyebrow {
    letter-spacing: 0.12em;
  }

  .lead-form-callout p {
    text-align: center;
    font-size: clamp(18px, 1.6vw, 22px);
  }
}

@media (min-width: 900px) {
  .grid.two-column {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
  color: var(--heading);
}

.card .inner {
  padding: clamp(22px, 4.6vw, 32px);
  display: grid;
  gap: 18px;
}

.lead-form-shell .card .inner {
  --form-stack-gap: clamp(20px, 4vw, 28px);
  gap: var(--form-stack-gap);
}

.lead-form-shell .progress {
  margin-bottom: 0;
}

.lead-form-shell .q {
  margin: 0;
  display: grid;
  gap: var(--form-stack-gap, clamp(20px, 4vw, 28px));
}

.lead-form-shell .q label {
  margin: 0;
}

.lead-form-shell fieldset .q + .q,
.lead-form-shell fieldset > .notice {
  margin-top: var(--form-stack-gap, clamp(20px, 4vw, 28px));
}

.progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.progress .bar {
  flex: 1;
  height: 8px;
  background: var(--card-muted);
  border-radius: 999px;
  overflow: hidden;
}

.progress .bar > i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--brand);
  transition: width 0.25s ease;
}

.progress .step {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-strong);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: none;
}

fieldset.active {
  display: block;
}


.q {
  margin-bottom: 24px;
  padding-top: 0;
  text-align: center;
}

.q label {
  display: block;
  font-weight: 600;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  margin-bottom: 16px;
  color: var(--heading);
  letter-spacing: 0.01em;
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.3;
}

.help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

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

.seg input[type="radio"],
.seg input[type="checkbox"] {
  display: none;
}

.seg label.btn {
  user-select: none;
  cursor: pointer;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--card-muted);
  font-size: 14px;
  font-weight: 600;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  flex: 0 1 220px;
  max-width: 240px;
  text-align: center;
  color: var(--muted-strong);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
}

.seg label.btn:hover,
.seg label.btn:focus {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: none;
  transform: none;
}

.seg input:checked + label.btn {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  box-shadow: none;
}

@media (max-width: 540px) {
  .seg {
    gap: 10px;
  }

  .seg label.btn {
    flex-basis: 100%;
    max-width: none;
  }
}

@media (min-width: 960px) {
  .seg {
    justify-content: center;
  }
}

.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .row.two {
    grid-template-columns: 1fr 1fr;
  }

  .row.three {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="range"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

input[type="range"] {
  padding: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(13, 39, 77, 0.14);
}

.range-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.range-wrap output {
  min-width: 44px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 12px;
  width: 100%;
  flex-wrap: wrap;
}

.actions button {
  flex: 1 1 160px;
  min-width: clamp(140px, 18vw, 220px);
  max-width: clamp(180px, 26vw, 240px);
}

.actions .btn-nav {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 24px;
}

.btn-nav__icon {
  display: inline-flex;
  align-items: center;
  font-size: 1em;
}

.btn-nav__icon--prefix {
  margin-right: 4px;
}

.btn-nav__icon--suffix {
  margin-left: 4px;
}

.btn-nav--back .btn-nav__icon {
  color: var(--brand);
}

.btn-nav--next .btn-nav__icon,
.btn-nav--submit .btn-nav__icon {
  color: #ffffff;
}

.actions--solo {
  justify-content: center;
}

.actions--solo button {
  flex: 0 1 auto;
  min-width: clamp(160px, 32vw, 280px);
  max-width: clamp(200px, 36vw, 320px);
}

.actions--dual {
  justify-content: space-between;
}

.actions--dual #nextBtn,
.actions--dual #submitBtn {
  margin-left: 0;
}

#consentNotice {
  margin-top: 20px;
}

@media (max-width: 640px) {
  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions button {
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    margin-left: 0;
  }
}

button {
  appearance: none;
  border: 0;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 16px 32px rgba(13, 39, 77, 0.22);
  text-decoration: none;
}

.btn:hover,
.btn:focus {
  background: #123360;
  box-shadow: 0 18px 34px rgba(13, 39, 77, 0.26);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(13, 39, 77, 0.2);
}

.btn.secondary {
  background: var(--card);
  color: var(--brand);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn.secondary:hover,
.btn.secondary:focus {
  background: var(--card-muted);
  color: var(--brand);
  box-shadow: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.notice {
  background: var(--card-muted);
  border: 1px dashed var(--border);
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  color: var(--muted-strong);
}

.danger {
  border-color: rgba(192, 57, 43, 0.4);
  background: rgba(192, 57, 43, 0.08);
  color: #8f2f24;
}

footer {
  margin-top: clamp(32px, 4vw, 48px);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
}

footer a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover,
footer a:focus {
  color: #123360;
  text-decoration: underline;
}

.footer-nav,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-meta {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
  max-width: 720px;
}

@media (max-width: 600px) {
  .footer-nav,
  .footer-meta {
    gap: 12px;
  }
}

/* ------------ Spoke Layouts ------------ */

main.page {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 600px) {
  main.page {
    gap: 24px;
  }
}

article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 40px);
  box-shadow: var(--shadow);
  color: var(--text);
}

article header h1 {
  font-size: clamp(30px, 4.4vw, 38px);
  margin-bottom: 12px;
  color: var(--heading);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

article header p.lead {
  font-size: 18px;
  color: var(--muted-strong);
}

.section-title {
  margin: 32px 0 16px;
  font-size: 24px;
  color: var(--heading);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

table thead {
  background: var(--card-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
}

table th,
table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

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

.badge-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card-muted);
  font-size: 12px;
  color: var(--muted-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

ul.checklist {
  list-style: none;
  padding-left: 0;
}

ul.checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

ul.checklist li:before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
}

.faq {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(13, 39, 77, 0.12);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--heading);
}

.cta-block {
  background: linear-gradient(135deg, rgba(13, 39, 77, 0.08) 0%, rgba(94, 106, 113, 0.16) 100%);
  border-radius: var(--radius);
  padding: clamp(24px, 4.5vw, 36px);
  display: grid;
  gap: 16px;
  border: 1px solid var(--border);
  margin-top: 32px;
  color: #0f1724;
}

.cta-block strong {
  font-size: clamp(22px, 3.6vw, 26px);
  line-height: 1.35;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--heading);
}

.cta-block span {
  line-height: 1.6;
  color: rgba(15, 23, 36, 0.78);
}

.cta-block .btn {
  justify-self: flex-start;
  text-decoration: none;
  font-size: 15px;
}

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

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-step {
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 22px;
  position: relative;
  box-shadow: 0 10px 30px rgba(13, 39, 77, 0.12);
}

.timeline-step::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-sm) - 4px);
  border: 1px dashed rgba(94, 106, 113, 0.16);
  pointer-events: none;
}

.timeline-step h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-strong);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.timeline-step p {
  position: relative;
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .content-grid.two-col {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

aside.sidebar {
  display: grid;
  gap: 18px;
}

aside.sidebar .card {
  padding: 20px;
}

aside.sidebar .card h3 {
  margin-top: 0;
}

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

.embed-frame {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  min-height: 420px;
  box-shadow: var(--shadow);
  background: var(--card);
  border: 1px solid var(--border);
}

.tagline {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.stats-strip {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stats-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 12px 28px rgba(13, 39, 77, 0.12);
}

.stats-card h4 {
  margin: 0 0 4px;
  font-size: 26px;
  color: var(--heading);
}

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

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

@media (min-width: 1040px) {
  .two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
  }
}

blockquote {
  margin: 0;
  padding: 18px 22px;
  border-left: 4px solid var(--brand);
  background: var(--card-muted);
  border-radius: var(--radius-sm);
}

blockquote strong {
  display: block;
  margin-bottom: 8px;
}

.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.list-inline li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card-muted);
  font-size: 12px;
  color: var(--muted-strong);
}

.small-note {
  font-size: 12px;
  color: var(--muted);
}

.calculator {
  display: grid;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.calculator h1 {
  margin: 0;
  color: var(--heading);
}

.calculator .grid {
  margin: 0;
}

.calculator-results {
  display: grid;
  gap: 12px;
  background: var(--card-muted);
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1px solid var(--border);
}

.result-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, SFMono, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.result-line span.value {
  font-weight: 600;
  color: var(--text);
}

.alert {
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(192, 57, 43, 0.4);
  background: rgba(192, 57, 43, 0.08);
  color: #8f2f24;
  font-size: 13px;
}

.success {
  background: rgba(31, 122, 77, 0.12);
  color: #1f7a4d;
  border-color: rgba(31, 122, 77, 0.28);
}

@media (max-width: 720px) {
  article {
    padding: 22px;
  }
}

.blog-index .blog-hero {
  margin-bottom: 32px;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.filter-button {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-strong);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.filter-button:hover,
.filter-button:focus {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(13, 39, 77, 0.12);
}

.filter-button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(13, 39, 77, 0.18);
}

.blog-list {
  display: grid;
  gap: 24px;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 36px rgba(13, 39, 77, 0.12);
}

.blog-card h2 {
  margin: 0 0 12px;
  color: var(--heading);
}

.blog-card p {
  margin: 0 0 12px;
  color: var(--muted-strong);
}

.blog-card .text-link {
  font-weight: 600;
}

.blog-card.hidden {
  display: none;
}

.blog-post .post-hero {
  margin-bottom: 32px;
}

.blog-post .post-hero .tagline {
  display: none;
}

.blog-post .post-meta {
  color: var(--muted);
  font-size: 14px;
}

.article-body {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}

.article-body h2,
.article-body h3 {
  margin: 24px 0 12px;
}

.article-body p {
  margin: 0;
  line-height: 1.7;
}

.article-body ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.related-guides,
.related-posts {
  margin: 40px 0;
}

.related-guides .lead {
  margin-bottom: 16px;
}

.guide-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.guide-links a {
  color: var(--brand);
  font-weight: 600;
}

.post-pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
}

.pager-link {
  flex: 1;
  display: inline-block;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(13, 39, 77, 0.12);
}

.pager-link:hover,
.pager-link:focus {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 16px 32px rgba(13, 39, 77, 0.16);
}

.pager-link.prev {
  text-align: left;
}

.pager-link.next {
  text-align: right;
}

@media (max-width: 900px) {
  .blog-card {
    padding: 20px;
  }

  .post-pager {
    flex-direction: column;
  }

  .pager-link {
    width: 100%;
  }
}

.related-articles-block {
  margin-top: 48px;
}

.related-articles-block .guide-links {
  gap: 10px;
}

