:root {
  /* Brand palette refresh — Forest Green / Mint Green / Pale Mint */
  --green: #0F3D2E;              /* Forest Green — primary deep, used everywhere as body / nav / CTA gradient bottom */
  --green-deep: #0F3D2E;         /* alias — Forest Green */
  --green-cta-top: #4CAF79;      /* Mint Green — top of CTA gradient */
  --green-cta-bottom: #0F3D2E;   /* Forest Green — bottom of CTA gradient */
  --green-cta-hover-top: #5BBA85;
  --green-cta-hover-bottom: #0F3D2E;
  --green-dark: #0F3D2E;         /* alias — Forest Green */
  --green-mid: #4CAF79;          /* Mint Green — accent (icons, large headings only — fails AA on body) */
  --pale-mint: #B9E0C3;          /* Pale Mint — soft accent / pills */
  --orange: #E87D2E;
  --gold: #f5b100;
  --navy: #0A1F3D;
  --body: #0A1F3D;
  --muted: #6b7b72;
  --bg: #ffffff;
  --soft-mint: #E5F2EA;          /* Surface tint — slightly muted */
  --mint-paper: #F2FAF5;         /* Phase 3h — paper tint for dividers, callouts, form fills */
  --soft-blue: #eef8fb;
  --border: #dbe6df;
  --border-strong: #bcd9c6;
  --card: #ffffff;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 16px 40px rgba(7, 26, 61, 0.1), 0 4px 12px rgba(7, 26, 61, 0.06);
  --shadow-lg: 0 22px 60px rgba(7, 26, 61, 0.14), 0 8px 18px rgba(7, 26, 61, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --header-height: 76px;
  --font-main: "Nunito", "Plus Jakarta Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Nunito", "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

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

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.section-pad {
  padding: 72px 0;
}

.section-pad-sm {
  padding: 34px 0;
}

.text-green {
  color: var(--green-deep);
}

.text-orange {
  color: var(--orange);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(225, 231, 221, 0.7);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  color: var(--navy);
}

.brand-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--green);
}

/* Uploaded PNG brand logo — used in header + footer */
/* Sizing updated for hero-psychology pass: bigger desktop + mobile, footer stays small */
.nav-logo-img {
  height: 48px; /* desktop ≥860px */
  width: auto;
  display: block;
}
@media (max-width: 860px) {
  .nav-logo-img { height: 40px; } /* mobile <860px */
}
.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.6;
}

.brand-wordmark {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.brand-close {
  color: var(--green-dark);
}

.brand-mint {
  color: #4CAF79; /* Mint Green — wordmark accent on large header text */
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a {
  transition: color 200ms ease, opacity 200ms ease;
}

.main-nav a:hover {
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.btn-outline {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}

.btn-primary {
  min-height: 56px;
  padding: 0 24px;
  background: linear-gradient(180deg, var(--green-cta-top), var(--green-cta-bottom));
  color: white;
  box-shadow: 0 12px 26px rgba(76, 175, 121, 0.2), 0 2px 6px rgba(76, 175, 121, 0.16);
}

.btn-primary:hover {
  transform: scale(1.02);
  background: linear-gradient(180deg, var(--green-cta-hover-top), var(--green-cta-hover-bottom));
  box-shadow: 0 16px 32px rgba(76, 175, 121, 0.24), 0 4px 10px rgba(76, 175, 121, 0.18);
}

.btn-primary:active {
  transform: scale(0.99);
}

.btn-full {
  width: 100%;
  font-size: 1.02rem;
}

.mobile-menu-button {
  display: none;
  border: 1px solid var(--border);
  background: white;
  color: var(--navy);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 25%, rgba(76, 175, 121, 0.06), transparent 34%),
    linear-gradient(120deg, #fff 0%, #f8fcff 46%, #eef8fb 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.74) 38%, rgba(255, 255, 255, 0.18) 100%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.4) 82%, #fff 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  gap: clamp(36px, 5vw, 74px);
  align-items: center;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(2.5rem, 4.6vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.underline-sell {
  position: relative;
  display: inline-block;
}

.underline-sell::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 0;
  bottom: 0.03em;
  height: 0.08em;
  border-radius: 999px;
  background: currentColor;
}

/* Hero highlight block — oversized 50% with marker stroke */
.hero-highlight-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 0.18em;
  margin-left: 0.18em;
  vertical-align: baseline;
  white-space: nowrap;
}

.hero-highlight-eyebrow {
  display: inline-block;
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  opacity: 0.7;
  text-transform: uppercase;
  transform: translateY(-0.55em);
  line-height: 1;
}

.hero-highlight-number {
  position: relative;
  display: inline-block;
  font-size: 1.45em;
  font-weight: 900;
  color: var(--green);
  line-height: 0.9;
  letter-spacing: -0.04em;
  z-index: 1;
}

.hero-highlight-mark {
  position: relative;
  display: inline-block;
  padding: 0 0.06em;
  z-index: 1;
}

.hero-highlight-mark::before {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.04em;
  height: 0.42em;
  background: linear-gradient(
    180deg,
    rgba(123, 192, 79, 0) 0%,
    rgba(123, 192, 79, 0.32) 22%,
    rgba(123, 192, 79, 0.42) 100%
  );
  border-radius: 4px;
  transform: skewX(-4deg) rotate(-1deg);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 720px) {
  .hero-highlight-wrap {
    margin-left: 0.12em;
    gap: 0.12em;
  }
  .hero-highlight-number {
    font-size: 1.3em;
  }
  .hero-highlight-eyebrow {
    font-size: 0.4em;
    transform: translateY(-0.45em);
  }
}

/* ============================================
   Stack hero — "Buy or Sell a Home."
                "Walk away with $X,XXX back."
   ============================================ */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  background: var(--soft-mint);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 999px;
  margin-bottom: 18px;
  border: 1px solid rgba(76, 175, 121, 0.18);
  box-shadow: 0 2px 8px rgba(76, 175, 121, 0.08);
}

.hero-kicker i,
.hero-kicker svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.hero-title-stack {
  display: flex;
  flex-direction: column;
  gap: 0.06em;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-size: clamp(2.3rem, 4.3vw, 3.6rem);
}

.stack-line-one,
.stack-line-two {
  display: block;
}

.stack-line-two {
  font-size: 0.68em;
  line-height: 1.1;
  margin-top: 0.1em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .stack-line-two {
    white-space: normal;
    font-size: 0.72em;
  }
}

.stack-line-two .ticker-wrap {
  font-size: 0.95em;
}

@media (max-width: 900px) {
  .stack-line-one,
  .stack-line-two {
    white-space: normal;
  }
}

/* ============================================
   Compact pills row (3 items, single line)
   ============================================ */
.feature-pills-compact {
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 22px;
}

.feature-pills-compact li {
  flex: 0 0 auto;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid rgba(225, 231, 221, 0.95);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 61, 46, 0.04);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
  font-family: var(--font-display);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feature-pills-compact li span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--soft-mint);
}

.feature-pills-compact li span svg,
.feature-pills-compact li span i {
  width: 13px;
  height: 13px;
  color: var(--green);
}

@media (max-width: 900px) {
  .feature-pills-compact {
    flex-wrap: wrap;
  }
}

/* ============================================
   Rebuilt buyer rebate example card (v2)
   Cleanly aligned, no awkward gaps
   ============================================ */
.rebate-example-card-v2 {
  display: flex !important;
  flex-direction: column;
  grid-template-columns: none !important;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  width: min(520px, calc(100% - 24px));
  bottom: -28px;
}

.rebate-example-card-v2 .rebate-card-main {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px 18px 20px;
  width: 100%;
}

.rebate-example-card-v2 .rebate-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--soft-mint);
  border-radius: 14px;
  position: relative;
}

.rebate-example-card-v2 .rebate-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.2;
  color: var(--dark);
}

.rebate-example-card-v2 .rebate-dollar {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 22px;
  height: 22px;
  font-size: 0.82rem;
  border: 2px solid #fff;
}

.rebate-example-card-v2 .rebate-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  line-height: 1.2;
}

.rebate-example-card-v2 .rebate-copy strong {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.rebate-example-card-v2 .rebate-copy span {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}

.rebate-example-card-v2 .rebate-amount {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  line-height: 1;
}

.rebate-example-card-v2 .rebate-amount strong {
  display: block;
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.05rem);
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.03em;
  font-weight: 900;
}

.rebate-example-card-v2 .rebate-amount span {
  display: block;
  margin-top: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rebate-example-card-v2 .rebate-disclaimer {
  position: static;
  margin: 0;
  padding: 8px 16px;
  min-height: 0;
  border-top: 1px solid rgba(225, 231, 221, 0.72);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.72rem;
  background: rgba(232, 245, 237, 0.4);
}

.rebate-example-card-v2 .rebate-disclaimer svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 640px) {
  .rebate-example-card-v2 .rebate-card-main {
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    padding: 14px 16px;
  }
  .rebate-example-card-v2 .rebate-icon {
    width: 44px;
    height: 44px;
  }
  .rebate-example-card-v2 .rebate-icon svg {
    width: 24px;
    height: 24px;
  }
  .rebate-example-card-v2 .rebate-copy strong {
    font-size: 0.7rem;
  }
  .rebate-example-card-v2 .rebate-copy span {
    font-size: 0.88rem;
  }
  .rebate-example-card-v2 .rebate-amount strong {
    font-size: 1.45rem;
  }
}

.ticker-wrap {
  display: inline-block;
  position: relative;
  padding: 0.06em 0.22em;
  margin: 0 0.04em;
  background: linear-gradient(180deg, var(--green), var(--green-deep));
  color: #fff;
  border-radius: 14px;
  vertical-align: -0.05em;
  box-shadow: 0 12px 26px rgba(76, 175, 121, 0.38);
  overflow: hidden;
}

.ticker {
  position: relative;
  display: inline-block;
  height: 1em;
  width: 4.6em;
  vertical-align: -0.05em;
  line-height: 1;
  font-feature-settings: "tnum" 1;
}

.ticker span {
  position: absolute;
  inset: 0;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 350ms ease, transform 350ms ease;
}

.ticker span.is-active {
  opacity: 1;
  transform: translateY(0);
}

.ticker span.is-leaving {
  opacity: 0;
  transform: translateY(-0.4em);
}

@media (max-width: 720px) {
  .stack-line-two {
    font-size: 0.88em;
  }
  .ticker-wrap {
    padding: 0.05em 0.18em;
    border-radius: 10px;
  }
  .ticker {
    width: 4.2em;
  }
}

.hero-subtitle {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--navy);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
}

/* Small qualifier line below the headline ticker — manages expectations on typical rebate */
.hero-typical {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  max-width: 560px;
}

.hero-typical strong {
  color: var(--navy);
  font-weight: 800;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  padding: 0;
  margin: 34px 0 30px;
  list-style: none;
}

.feature-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-pills span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(76, 175, 121, 0.22);
  border-radius: 50%;
  color: var(--green);
  background: rgba(244, 249, 238, 0.72);
}

.feature-pills svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.hero-home-card {
  position: relative;
  min-height: 310px;
}

.hero-home-image,
.banner-home-image,
.chair-image {
  background-size: cover;
  background-position: center;
}

.hero-home-image {
  min-height: 330px;
  width: min(680px, 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(239, 248, 251, 0.2) 54%, rgba(7, 26, 61, 0.18)),
    url("./assets/hero-home.png");
  box-shadow: inset 0 -50px 70px rgba(239, 248, 251, 0.55);
}

.rebate-example-card {
  position: absolute;
  left: 28px;
  bottom: -24px;
  width: min(520px, calc(100% - 24px));
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px 44px;
  border: 1px solid rgba(225, 231, 221, 0.86);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.rebate-icon {
  position: relative;
  width: 62px;
  height: 62px;
  color: var(--navy);
}

.rebate-icon svg {
  width: 56px;
  height: 56px;
  stroke-width: 2.15;
}

.rebate-dollar {
  position: absolute;
  right: -2px;
  bottom: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
}

.rebate-copy {
  display: grid;
  gap: 5px;
  color: var(--navy);
}

.rebate-copy strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.rebate-copy span {
  font-size: 1.08rem;
  font-weight: 800;
}

.rebate-amount {
  text-align: right;
  color: var(--navy);
}

.rebate-amount strong {
  display: block;
  color: var(--green);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.rebate-amount span {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.rebate-disclaimer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  margin: 0;
  padding: 7px 14px;
  border-top: 1px solid rgba(225, 231, 221, 0.72);
  color: var(--muted);
  font-size: 0.76rem;
  font-style: italic;
}

.rebate-disclaimer svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.estimate-card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(225, 231, 221, 0.86);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-lg);
}

.estimate-card-header {
  text-align: center;
}

.estimate-card h2 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.estimate-card-header p {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 34px;
}

.toggle-option {
  min-height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--body);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition:
    border-color 200ms ease,
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}

.toggle-option svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.4;
}

.toggle-option:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.toggle-option.is-active {
  border: 2.5px solid var(--green);
  background: linear-gradient(180deg, rgba(76, 175, 121, 0.08), rgba(244, 249, 238, 0.95));
  color: var(--green);
  box-shadow:
    inset 0 0 0 1px rgba(76, 175, 121, 0.12),
    0 6px 18px rgba(76, 175, 121, 0.16);
}

.toggle-option.is-active.toggle-sell {
  border: 2.5px solid var(--orange);
  background: linear-gradient(180deg, rgba(232, 91, 44, 0.08), rgba(255, 247, 243, 0.98));
  color: var(--orange);
  box-shadow:
    inset 0 0 0 1px rgba(232, 91, 44, 0.14),
    0 6px 18px rgba(232, 91, 44, 0.16);
}

.estimate-form {
  margin-top: 24px;
}

.form-field[hidden] {
  display: none;
}

.seller-only .input-wrap + .input-wrap {
  margin-top: 12px;
}

.input-wrap-value {
  border-color: var(--orange);
  background: linear-gradient(180deg, #fff, rgba(255, 247, 243, 0.55));
  box-shadow: 0 8px 18px rgba(232, 91, 44, 0.08);
}

.input-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange);
}

/* When seller mode is active, recolor the address input border to orange too */
body.mode-sell .seller-only .input-wrap:first-of-type {
  border-color: var(--orange);
  background: linear-gradient(180deg, #fff, rgba(255, 247, 243, 0.55));
  box-shadow: 0 8px 18px rgba(232, 91, 44, 0.08);
}
body.mode-sell .seller-only .input-wrap:first-of-type svg {
  color: var(--orange);
}

.input-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1.5px solid var(--green);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #fff, rgba(244, 249, 238, 0.45));
  box-shadow: 0 8px 18px rgba(76, 175, 121, 0.08);
}

.input-wrap svg {
  width: 21px;
  height: 21px;
  color: var(--muted);
  stroke-width: 2.2;
}

.input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--body);
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
}

.input-wrap input::placeholder {
  color: #839189;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 26px;
  color: rgba(107, 123, 114, 0.48);
  font-size: 0.78rem;
  font-weight: 700;
}

.source-row strong {
  color: rgba(64, 75, 68, 0.46);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mini-checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: var(--body);
  font-size: 0.88rem;
  font-weight: 700;
}

.mini-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mini-checks svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  stroke-width: 2.4;
}

.estimate-message {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(76, 175, 121, 0.18);
  border-radius: var(--radius-sm);
  background: var(--soft-mint);
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.estimate-message.is-visible {
  display: block;
}

.agent-strip {
  display: grid;
  grid-template-columns: auto minmax(220px, 1.1fr) minmax(220px, 0.9fr) auto;
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
  padding: 24px clamp(24px, 4vw, 44px);
  border: 1px solid rgba(225, 231, 221, 0.78);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.agent-strip-icon {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--green);
}

.agent-strip-icon svg {
  width: 50px;
  height: 50px;
  stroke-width: 2.2;
}

.agent-strip-icon span {
  position: absolute;
  right: -3px;
  bottom: 2px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 900;
  font-size: 0.8rem;
}

.agent-strip h2 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 900;
}

.agent-strip p {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.btn-strip {
  min-height: 50px;
  white-space: nowrap;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.section-heading p {
  margin: 10px auto 0;
  color: #0F3D2E; /* AA: Forest Green on white (~12.5:1) for body-size text */
  font-size: 1rem;
  font-weight: 700;
}

.how-section {
  padding-top: 24px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr 44px 1fr;
  align-items: center;
  gap: 18px;
}

.step-card {
  position: relative;
  min-height: 200px;
  padding: 38px 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(76, 175, 121, 0.28);
}

.step-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 6px auto 14px;
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
}

.step-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
}

.step-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.005em;
}

.step-card p {
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
  max-width: 22ch;
}

.step-arrow {
  display: grid;
  place-items: center;
  color: var(--green);
  opacity: 0.85;
}

.step-arrow svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.4;
}

.no-cap-banner {
  position: relative;
  min-height: 164px;
  display: grid;
  grid-template-columns: auto 1fr minmax(240px, 380px);
  align-items: center;
  gap: 34px;
  overflow: hidden;
  padding: 30px clamp(28px, 5vw, 46px);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 72% 40%, rgba(245, 177, 0, 0.1), transparent 22%),
    linear-gradient(100deg, #0a392c 0%, var(--green-dark) 48%, #083326 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.no-cap-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.08) 100%),
    repeating-linear-gradient(
      120deg,
      transparent 0,
      transparent 20px,
      rgba(255, 255, 255, 0.05) 21px,
      transparent 22px
    );
}

.infinity-shield {
  position: relative;
  z-index: 1;
  width: 94px;
  height: 104px;
  display: grid;
  place-items: center;
  color: var(--gold);
}

.infinity-shield svg {
  width: 92px;
  height: 102px;
  stroke-width: 1.8;
}

.infinity-shield span {
  position: absolute;
  font-size: 3.25rem;
  line-height: 1;
  font-weight: 800;
  transform: translateY(1px);
}

.no-cap-copy {
  position: relative;
  z-index: 1;
}

.no-cap-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 900;
}

.no-cap-copy p {
  max-width: 560px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  font-weight: 700;
}

.banner-home-image {
  position: relative;
  z-index: 1;
  min-height: 144px;
  align-self: stretch;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background-image:
    linear-gradient(90deg, rgba(19, 75, 61, 0.9) 0%, rgba(19, 75, 61, 0.12) 45%, rgba(19, 75, 61, 0) 100%),
    url("./assets/banner-home.png");
  background-position: center;
  opacity: 0.82;
}

.savings-section {
  padding-top: 28px;
}

.savings-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.savings-card {
  position: relative;
  min-height: 136px;
  display: grid;
  place-items: center;
  padding: 20px 14px;
  border: 1px solid rgba(225, 231, 221, 0.9);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.savings-card h3 {
  margin: 0;
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.05;
  font-weight: 800;
}

.savings-card span:not(.no-cap-badge) {
  margin-top: -4px;
  color: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
}

.savings-card strong {
  color: var(--green);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.savings-card em {
  margin-top: -4px;
  color: var(--body);
  font-style: normal;
  font-weight: 700;
}

.no-cap-badge {
  position: absolute;
  top: -13px;
  right: 12px;
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.savings-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 600;
}

.savings-disclaimer svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.final-cta-section {
  padding-top: 8px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
  padding: 34px clamp(26px, 5vw, 58px);
  border: 1px solid rgba(225, 231, 221, 0.88);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 18% 35%, rgba(76, 175, 121, 0.06), transparent 28%),
    linear-gradient(120deg, #fff 0%, #fbfcf8 52%, #f9fbf4 100%);
  box-shadow: var(--shadow-sm);
}

.chair-image {
  min-height: 210px;
  border-radius: var(--radius-md);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1)),
    url("./assets/chair.png");
  background-position: center;
}

.final-cta-copy {
  text-align: center;
}

.final-cta-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.85rem, 3.3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.final-cta-copy p {
  margin: 10px 0 20px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-final {
  width: min(100%, 360px);
}

.mini-checks-centered {
  justify-content: center;
  margin-top: 18px;
}

.trust-section {
  padding: 28px 0 54px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(225, 231, 221, 0.9);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: flex;
  gap: 16px;
  padding: 26px 24px;
  border-right: 1px solid rgba(225, 231, 221, 0.9);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item > svg {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--green);
  stroke-width: 1.9;
}

.trust-item h3 {
  margin: 0;
  color: var(--body);
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 800;
}

.trust-item p {
  margin: 6px 0 0;
  color: var(--body);
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 500;
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .estimate-card {
    max-width: 720px;
    margin-inline: auto;
  }

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

  .step-arrow {
    display: none;
  }

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

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(225, 231, 221, 0.9);
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .main-nav,
  .btn-signin {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
    place-items: center;
    justify-self: end;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .section-pad {
    padding: 48px 0;
  }

  .hero-title {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .feature-pills {
    gap: 12px;
  }

  .feature-pills li {
    width: calc(50% - 8px);
  }

  .rebate-example-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -36px auto 0;
    width: calc(100% - 24px);
  }

  .agent-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .agent-strip-icon {
    margin-inline: auto;
  }

  .no-cap-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .infinity-shield {
    margin-inline: auto;
  }

  .banner-home-image {
    min-height: 180px;
    border-radius: var(--radius-md);
  }

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

  .final-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .chair-image {
    order: -1;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-grid {
    gap: 28px;
  }

  .estimate-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

  .toggle-group {
    grid-template-columns: 1fr;
  }

  .input-wrap {
    min-height: 58px;
  }

  .mini-checks {
    justify-content: center;
  }

  .rebate-example-card {
    grid-template-columns: 56px 1fr;
    padding: 18px 18px 42px;
  }

  .rebate-icon {
    width: 52px;
    height: 52px;
  }

  .rebate-icon svg {
    width: 48px;
    height: 48px;
  }

  .rebate-amount {
    grid-column: 1 / -1;
    text-align: left;
    padding-left: 0;
  }

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

  .trust-item,
  .trust-item:nth-child(2),
  .trust-item:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(225, 231, 221, 0.9);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }
}

/* ============================================================
   FAQ section
   ============================================================ */
.faq-section {
  background: var(--soft-mint);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(225, 231, 221, 0.78);
  border-radius: 12px;
  background: #fff;
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.faq-item:hover {
  background: var(--soft-mint);
  border-color: var(--border-strong);
}

.faq-item[open] {
  background: #fff;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

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

.faq-toggle {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(76, 175, 121, 0.1);
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 280ms ease, background 220ms ease;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  background: var(--green);
  color: #fff;
}

.faq-answer {
  padding: 0 24px 22px;
  margin-top: -4px;
  color: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--soft-mint);
  border-top: 1px solid rgba(225, 231, 221, 0.86);
  padding: 64px 0 40px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}

.footer-brand .brand-footer {
  display: inline-flex;
}

.footer-brand p {
  max-width: 320px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links a {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 200ms ease;
}

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

.footer-fineprint {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(225, 231, 221, 0.86);
}

.footer-fineprint p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.55;
}

.footer-fineprint p:last-child {
  font-style: normal;
  font-weight: 600;
  color: rgba(107, 123, 114, 0.85);
}

/* ============================================================
   Mobile drawer
   ============================================================ */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 49;
  background: #fff;
  border-bottom: 1px solid rgba(225, 231, 221, 0.86);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 20px 50px rgba(7, 26, 61, 0.16);
  padding: 24px;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms ease, opacity 280ms ease;
}

.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
}

.mobile-drawer-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(225, 231, 221, 0.72);
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  transition: color 200ms ease;
}

.mobile-drawer-nav a:hover {
  color: var(--green);
}

.mobile-drawer-signin {
  margin-top: 18px;
  width: 100%;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(7, 26, 61, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   Estimate result (real calculator)
   ============================================================ */
.estimate-result {
  display: none;
  margin-top: 16px;
  padding: 22px 22px 18px;
  border: 1px solid rgba(76, 175, 121, 0.22);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff, rgba(244, 249, 238, 0.7));
  box-shadow: var(--shadow-sm);
}

.estimate-result.is-visible {
  display: block;
}

.estimate-result.is-info {
  background: var(--soft-mint);
  border-color: rgba(76, 175, 121, 0.18);
}

.got-it {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: rgba(76, 175, 121, 0.08);
  border-left: 3px solid var(--green);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--deep);
  line-height: 1.4;
}

.got-it strong {
  color: var(--dark);
  font-weight: 700;
}

body.mode-sell .got-it {
  background: rgba(232, 91, 44, 0.08);
  border-left-color: #E87D2E;
  color: #8c3a16;
}

body.mode-sell .got-it strong {
  color: #5a2710;
}

.state-warning {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: #fff5e8;
  border: 1px solid #f0b478;
  border-left: 4px solid #d97509;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #6b3a09;
  line-height: 1.45;
}

.state-warning strong {
  color: #4a2806;
  font-weight: 700;
}

.result-amount {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.result-amount strong {
  color: var(--green);
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

body.mode-sell .result-amount strong {
  color: var(--orange);
}

.result-amount span {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.result-math {
  margin-top: 16px;
  border-top: 1px solid rgba(225, 231, 221, 0.72);
  padding-top: 12px;
}

.result-math summary {
  cursor: pointer;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  list-style: none;
  text-align: center;
}

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

.result-math summary::after {
  content: " ↓";
}

.result-math[open] summary::after {
  content: " ↑";
}

.result-math ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--body);
}

.result-math li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(225, 231, 221, 0.8);
  font-weight: 600;
}

.result-math li:last-child {
  border-bottom: 0;
  font-weight: 800;
  color: var(--green);
}

body.mode-sell .result-math li:last-child {
  color: var(--orange);
}

.result-math li span:last-child {
  font-weight: 800;
  color: var(--navy);
}

.result-math li:last-child span:last-child {
  color: inherit;
}

.result-cta {
  margin: 14px 0 0;
  text-align: center;
  color: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
}

.result-link {
  color: var(--green);
  font-weight: 800;
}

.result-link:hover {
  text-decoration: underline;
}

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 100;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   Responsive overrides for new sections
   ============================================================ */
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

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

  .faq-item summary {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 20px 18px;
  }
}

/* =========================================================
   Savings subtext (added with new math)
   ========================================================= */
.savings-subtext {
  margin: 8px 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
}

/* =========================================================
   URL-detected inline confirmation in estimate-result
   ========================================================= */
.url-detected {
  display: grid;
  gap: 6px;
}
.url-detected-msg {
  margin: 0;
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1.35;
}
.url-detected-msg strong {
  color: var(--green);
}
.url-detected-prompt {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}

/* =========================================================
   Rebate detail page
   ========================================================= */
.rebate-page {
  background: linear-gradient(180deg, #ffffff 0%, var(--soft-mint) 100%);
}

/* --- Section 1: hero / confirmation --- */
.rebate-hero {
  background:
    radial-gradient(900px 360px at 20% -10%, rgba(76, 175, 121, 0.10), transparent 60%),
    radial-gradient(700px 320px at 100% 10%, rgba(76, 175, 121, 0.06), transparent 70%);
}

.rebate-hero-inner {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.rebate-eyebrow {
  margin: 0;
  font-family: var(--font-main);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rebate-address {
  margin: 0;
  color: var(--navy);
  font-family: "Plus Jakarta Sans", var(--font-main);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.rebate-source-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: -2px;
}

.rebate-source-badge,
.rebate-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}

.rebate-source-badge svg,
.rebate-mode-badge svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  stroke-width: 2.5;
}

.rebate-big-number {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 32px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.rebate-big-number strong {
  display: block;
  font-family: "Plus Jakarta Sans", var(--font-main);
  font-size: clamp(2.8rem, 8vw, 4rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--green);
}

.rebate-big-number span {
  color: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
}

.rebate-math-grid {
  display: grid;
  gap: 0;
  margin-top: 8px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.rebate-math-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
  color: var(--body);
}

.rebate-math-row:last-child {
  border-bottom: 0;
}

.rebate-math-row span {
  color: var(--muted);
  font-weight: 600;
}

.rebate-math-row strong {
  color: var(--navy);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.rebate-math-row-total {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border-strong);
  border-bottom: 0;
}

.rebate-math-row-total span {
  color: var(--navy);
  font-weight: 800;
}

.rebate-math-row-total strong {
  font-size: 1.15rem;
}

.rebate-fineprint {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px auto 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
}

.rebate-fineprint svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Section 2: property image --- */
.rebate-image-section {
  padding-top: 0;
}

.rebate-image-card {
  max-width: 980px;
  margin: 0 auto;
}

.rebate-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: #1a2620;
}

.rebate-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rebate-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 4vw, 36px);
  background: linear-gradient(
    180deg,
    rgba(7, 26, 61, 0) 35%,
    rgba(7, 26, 61, 0.45) 70%,
    rgba(7, 26, 61, 0.85) 100%
  );
  color: #fff;
}

.rebate-image-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.rebate-image-address {
  display: block;
  margin-top: 4px;
  font-family: "Plus Jakarta Sans", var(--font-main);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.4vw, 1.6rem);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.rebate-image-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 600;
}

.rebate-image-note svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

/* --- Section 3: lead capture --- */
.rebate-lead-section {
  background: transparent;
}

.rebate-lead-card {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.rebate-lead-heading {
  text-align: center;
  margin-bottom: 24px;
}

.rebate-lead-heading h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: "Plus Jakarta Sans", var(--font-main);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.rebate-lead-heading p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.rebate-lead-form {
  display: grid;
  gap: 14px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
}

.form-row .req {
  color: var(--orange);
  margin-left: 2px;
}

.form-row .opt {
  color: var(--muted);
  font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(76, 175, 121, 0.15);
}

.btn-claim {
  margin-top: 6px;
  min-height: 56px;
  font-size: 1.05rem;
}

.btn-claim:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-claim-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-claim-loading svg {
  animation: cm-spin 800ms linear infinite;
}

@keyframes cm-spin {
  to { transform: rotate(360deg); }
}

.spin {
  animation: cm-spin 800ms linear infinite;
}

.form-error {
  margin: 0;
  padding: 10px 14px;
  background: rgba(232, 91, 44, 0.08);
  border: 1px solid rgba(232, 91, 44, 0.25);
  border-radius: var(--radius-sm);
  color: var(--orange);
  font-size: 0.88rem;
  font-weight: 600;
}

.rebate-lead-success {
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  padding: 16px 8px 4px;
}

.rebate-lead-success .success-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(76, 175, 121, 0.12);
  color: var(--green);
}

.rebate-lead-success .success-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 2.4;
}

.rebate-lead-success h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Plus Jakarta Sans", var(--font-main);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.rebate-lead-success p {
  margin: 0;
  color: var(--body);
  font-weight: 600;
}

/* --- Section 4: timeline / next steps --- */
.rebate-next-section {
  background: #fff;
  border-top: 1px solid var(--border);
}

.next-timeline {
  max-width: 760px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.next-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.next-step::before {
  content: "";
  position: absolute;
  left: 41px;
  top: 100%;
  width: 2px;
  height: 18px;
  background: var(--border-strong);
}

.next-step:last-child::before {
  display: none;
}

.next-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.next-step-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 3;
}

.next-step-body {
  display: grid;
  gap: 4px;
}

.next-step-when {
  display: inline-block;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.next-step-body h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Plus Jakarta Sans", var(--font-main);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.next-step-body p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* --- Responsive --- */
@media (max-width: 720px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .rebate-big-number {
    padding: 24px 16px;
  }
  .rebate-math-grid {
    padding: 10px 14px;
  }
  .next-step {
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 14px 16px;
  }
  .next-step::before {
    left: 33px;
  }
  .next-step-icon {
    width: 30px;
    height: 30px;
  }
  .next-step-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* Ensure [hidden] beats display: grid / inline-flex on cards */
[hidden] {
  display: none !important;
}


/* ============================================================
   ---- COMPARE PAGE ----
   Scoped styles for /compare.html.
   Reuses existing tokens (--green, --orange, --navy, --soft-mint,
   --border, --muted, --shadow-md, etc.) from :root above.
   ============================================================ */

/* Hero — secondary page (smaller than homepage) */
.hero-compare {
  padding-top: 56px;
  padding-bottom: 28px;
  background:
    radial-gradient(ellipse at 90% -10%, rgba(76, 175, 121, 0.07) 0%, rgba(76, 175, 121, 0) 55%),
    linear-gradient(180deg, #fbfdf8 0%, #ffffff 100%);
}

.hero-compare .compare-hero-copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-compare .hero-kicker {
  margin-bottom: 22px;
}

/* Smaller than homepage stack */
.hero-title-compare {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  align-items: center;
  text-align: center;
}

.hero-title-compare .stack-line-one {
  text-align: center;
}

.hero-title-compare .stack-line-two {
  font-size: 0.62em;
  white-space: normal;
  text-align: center;
  color: var(--green-dark);
}

.hero-compare .hero-subtitle {
  max-width: 640px;
  margin: 18px auto 0;
  text-align: center;
}

.hero-compare .feature-pills-compact {
  justify-content: center;
  margin-top: 22px;
}

.compare-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.compare-hero-cta .btn i,
.compare-hero-cta .btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 720px) {
  .hero-compare {
    padding-top: 38px;
  }
  .hero-title-compare .stack-line-two {
    font-size: 0.7em;
  }
  .compare-hero-cta .btn {
    flex: 1 1 100%;
  }
}

/* ---- Section heading shared (already present elsewhere but
       ensure consistent compare look) ---- */
.compare-section .section-heading,
.compare-example-section .section-heading,
.compare-catch-section .section-heading,
.compare-diff-section .section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.compare-section .section-heading h2,
.compare-example-section .section-heading h2,
.compare-catch-section .section-heading h2,
.compare-diff-section .section-heading h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  font-weight: 900;
}

.compare-section .section-heading p,
.compare-example-section .section-heading p,
.compare-catch-section .section-heading p,
.compare-diff-section .section-heading p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}

/* ---- Comparison table ---- */
.compare-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.compare-table {
  width: 100%;
  min-width: 880px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.94rem;
  color: var(--body);
}

.compare-table thead th {
  position: sticky;
  top: 0;
  background: #f9fbf6;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  text-align: left;
  padding: 18px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  white-space: normal;
  vertical-align: top;
  letter-spacing: -0.005em;
}

.compare-table thead th.closemint-col {
  background: linear-gradient(180deg, #eaf6e5 0%, #e1f1d8 100%);
  color: var(--green-dark);
  position: relative;
}

.compare-table thead th.closemint-col .provider-name {
  display: block;
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.compare-table thead th.closemint-col .provider-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.compare-table thead th.feature-col {
  background: #fff;
}

.compare-table tbody th {
  text-align: left;
  font-weight: 800;
  color: var(--navy);
  background: #fbfcfa;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.92rem;
  white-space: nowrap;
  position: sticky;
  left: 0;
  z-index: 1;
}

.compare-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--body);
  font-size: 0.93rem;
  line-height: 1.45;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:hover td:not(.cell-win):not(.cell-care),
.compare-table tbody tr:hover th {
  background: #f6faf2;
}

/* CloseMint column emphasis */
.compare-table tbody td:nth-child(2) {
  background: rgba(234, 246, 229, 0.45);
  border-left: 1px solid rgba(76, 175, 121, 0.18);
  border-right: 1px solid rgba(76, 175, 121, 0.18);
}

.compare-table tbody tr:last-child td:nth-child(2) {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

/* Cell states */
.cell-win {
  color: var(--green-dark);
}

.cell-win strong {
  color: var(--green-dark);
  font-weight: 900;
}

.cell-care {
  color: #8a4a1a;
}

.cell-neutral {
  color: var(--muted);
}

.cell-meta {
  display: inline-block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  margin-left: 4px;
}

/* Worked example table — total row */
.compare-table-example tbody tr.row-total th,
.compare-table-example tbody tr.row-total td {
  background: #f4faef;
  font-size: 1.02rem;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 2px solid rgba(76, 175, 121, 0.25);
}

.compare-table-example tbody tr.row-total strong {
  font-size: 1.15rem;
  font-weight: 900;
}

.compare-table-example tbody tr.row-total td.cell-win {
  background: linear-gradient(180deg, #e6f4dd 0%, #d9eccb 100%);
  color: var(--green-dark);
}

/* Compare callout under the main table */
.compare-callout {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 26px;
  background: linear-gradient(135deg, #E5F2EA 0%, #e9f4dc 100%);
  border: 1px solid rgba(76, 175, 121, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(15, 61, 46, 0.05);
}

.compare-callout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  color: var(--green);
}

.compare-callout-icon i,
.compare-callout-icon svg {
  width: 26px;
  height: 26px;
}

.compare-callout p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--green-dark);
  font-weight: 600;
  line-height: 1.5;
}

.compare-callout strong {
  color: var(--green-dark);
  font-weight: 900;
}

/* Fine-print row */
.compare-fineprint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 22px auto 0;
  max-width: 920px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: left;
}

.compare-fineprint i,
.compare-fineprint svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--muted);
}

/* ---- "What's the catch?" 4-card grid ---- */
.catch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.catch-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.catch-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.catch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.catch-icon i,
.catch-icon svg {
  width: 22px;
  height: 22px;
}

.catch-icon-green {
  background: #e6f4dd;
  color: var(--green-dark);
}

.catch-icon-mint {
  background: var(--soft-mint);
  color: var(--green);
}

.catch-icon-amber {
  background: #fcefdc;
  color: #b46a18;
}

.catch-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.catch-card p {
  margin: 0;
  color: var(--body);
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .catch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ---- CloseMint difference (3-column) ---- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.diff-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.diff-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.diff-card-feature {
  background: linear-gradient(180deg, #E5F2EA 0%, #ffffff 100%);
  border-color: rgba(76, 175, 121, 0.22);
}

.diff-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.diff-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.diff-card p {
  margin: 0;
  color: var(--body);
  font-size: 0.96rem;
  line-height: 1.55;
}

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

/* ---- Sources strip ---- */
.compare-sources-section {
  padding-top: 4px;
  padding-bottom: 28px;
}

.compare-sources {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.compare-sources a {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-color: rgba(15, 61, 46, 0.4);
}

.compare-sources a:hover {
  text-decoration-color: var(--green-deep);
}

/* ---- Mobile compare table — keep horizontal scroll with hint shadow ---- */
@media (max-width: 720px) {
  .compare-table-wrap {
    border-radius: var(--radius-md);
    position: relative;
    background:
      linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)),
      linear-gradient(to right, rgba(255, 255, 255, 0), #fff 70%) right,
      radial-gradient(ellipse at left, rgba(7, 26, 61, 0.08), transparent 70%),
      radial-gradient(ellipse at right, rgba(7, 26, 61, 0.08), transparent 70%) right;
    background-size: 32px 100%, 32px 100%, 12px 100%, 12px 100%;
    background-repeat: no-repeat;
    background-attachment: local, local, scroll, scroll;
  }

  .compare-table {
    font-size: 0.86rem;
    min-width: 720px;
  }

  .compare-table thead th,
  .compare-table tbody th,
  .compare-table tbody td {
    padding: 13px 12px;
    font-size: 0.86rem;
  }

  .compare-table-example tbody tr.row-total strong {
    font-size: 1.02rem;
  }

  .compare-callout {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px 18px;
  }

  .compare-callout-icon {
    margin: 0 auto;
  }

  .compare-callout p {
    font-size: 0.95rem;
  }
}

/* ---- PRIVACY PAGE ---- */
.privacy-hero {
  padding: 88px 0 32px;
  background: linear-gradient(180deg, #f4faf6 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(15, 61, 46, 0.08);
}
.privacy-hero .container { max-width: 760px; }
.privacy-eyebrow {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 12px;
}
.privacy-title {
  font-family: "Nunito", "Inter", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  line-height: 1.08;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.privacy-effective {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.98rem;
  color: var(--navy);
  margin: 0 0 18px;
  opacity: 0.85;
}
.privacy-lede {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #1f2a44;
  margin: 0;
  max-width: 65ch;
}
.privacy-body { padding: 40px 0 96px; background: #ffffff; }
.privacy-container { max-width: 760px; }

.privacy-toc {
  background: #f6faf7;
  border: 1px solid rgba(76, 175, 121, 0.18);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 48px;
}
.privacy-toc-title {
  font-family: "Nunito", "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0 0 14px;
}
.privacy-toc ol {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
}
.privacy-toc a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.privacy-toc a:hover {
  color: var(--green-deep);
  border-bottom-color: var(--green);
}

.privacy-article {
  font-family: "Inter", system-ui, sans-serif;
  color: #1f2a44;
  line-height: 1.7;
  font-size: 1rem;
}
.privacy-article h2 {
  font-family: "Nunito", "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--green-deep);
  margin: 44px 0 14px;
  scroll-margin-top: 100px;
  letter-spacing: -0.005em;
}
.privacy-article h2:first-child { margin-top: 8px; }
.privacy-article h3 {
  font-family: "Nunito", "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin: 24px 0 10px;
}
.privacy-article p { margin: 0 0 16px; max-width: 65ch; }
.privacy-article ul {
  margin: 0 0 18px;
  padding-left: 22px;
  max-width: 65ch;
}
.privacy-article li {
  margin: 0 0 10px;
  line-height: 1.65;
}
.privacy-article a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.privacy-article a:hover { color: var(--green); }
.privacy-article code {
  background: #f1f5f0;
  color: var(--green-deep);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.privacy-quote {
  margin: 0 0 18px;
  padding: 16px 20px;
  border-left: 4px solid var(--green);
  background: #f6faf7;
  border-radius: 0 10px 10px 0;
  font-size: 0.98rem;
  color: #1f2a44;
  font-style: italic;
  max-width: 65ch;
}
.privacy-note {
  font-size: 0.92rem;
  color: #4a5568;
  font-style: italic;
}
.privacy-todo {
  margin-top: 18px;
  padding: 14px 16px;
  background: #fff8e6;
  border: 1px dashed #d4a017;
  border-radius: 10px;
  color: #5a4500;
  font-size: 0.95rem;
}
.privacy-todo strong { color: #7a5c00; }

@media (max-width: 640px) {
  .privacy-hero { padding-top: 64px; }
  .privacy-toc { padding: 18px 18px; }
  .privacy-toc ol { grid-template-columns: 1fr; }
  .privacy-article h2 { font-size: 1.3rem; margin-top: 36px; }
}

.privacy-toc ol { list-style: none; padding-left: 0; }
.privacy-toc ol li { padding-left: 0; }

/* ============================================================
   ---- BUYERS PAGE ----
   Scoped overrides for /buyers.html — green accent landing page.
   Reuses .hero, .hero-grid, .estimate-card, .faq-item, .feature-pills-compact,
   .ticker-wrap, .toggle-option, .rebate-example-card-v2 etc. from above.
   ============================================================ */

.hero-landing {
  padding-top: clamp(60px, 8vw, 110px);
}

.hero-landing .hero-title-stack {
  font-size: clamp(2.2rem, 4.1vw, 3.45rem);
}

/* Inline estimate-message used by landing.js (replaces homepage's result block) */
.estimate-message {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(76, 175, 121, 0.08);
  border: 1px solid rgba(76, 175, 121, 0.18);
  color: var(--green-deep);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}
.estimate-message.is-visible {
  display: block;
}
body.mode-sell .estimate-message {
  background: rgba(232, 91, 44, 0.08);
  border-color: rgba(232, 91, 44, 0.2);
  color: var(--orange);
}

/* "How buyer rebates work" 3-step grid */
.landing-how .section-heading {
  margin-bottom: 36px;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.landing-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.landing-step:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.landing-step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--soft-mint);
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 14px;
  border: 1px solid rgba(76, 175, 121, 0.18);
}

.landing-step h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.landing-step p {
  margin: 0;
  color: var(--body);
  font-size: 0.97rem;
  line-height: 1.55;
}

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

/* Buyer callout (green left border, mint tint) */
.landing-callout {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 26px 28px;
  background: linear-gradient(135deg, #E5F2EA 0%, #e9f4dc 100%);
  border: 1px solid rgba(76, 175, 121, 0.18);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(15, 61, 46, 0.05);
}

.landing-callout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  color: var(--green);
}
.landing-callout-icon i,
.landing-callout-icon svg {
  width: 26px;
  height: 26px;
}

.landing-callout-copy h3 {
  margin: 0 0 6px;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.005em;
}
.landing-callout-copy p {
  margin: 0;
  color: var(--body);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 68ch;
}

/* Examples table */
.landing-examples-section .section-heading p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 1rem;
}

.landing-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}

.landing-table {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.96rem;
  color: var(--body);
}

.landing-table thead th {
  background: #f9fbf6;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  letter-spacing: -0.005em;
}

.landing-table thead th:last-child {
  background: linear-gradient(180deg, #eaf6e5 0%, #e1f1d8 100%);
  color: var(--green-deep);
}

.landing-table tbody th {
  text-align: left;
  font-weight: 800;
  color: var(--navy);
  background: #fbfcfa;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.96rem;
  white-space: nowrap;
}

.landing-table tbody td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--body);
  font-size: 0.96rem;
}

.landing-table tbody tr:last-child th,
.landing-table tbody tr:last-child td {
  border-bottom: 0;
}

.landing-table tbody td:last-child {
  background: rgba(234, 246, 229, 0.45);
  border-left: 1px solid rgba(76, 175, 121, 0.18);
}

.landing-table .cell-win strong {
  color: var(--green-deep);
  font-weight: 900;
  font-size: 1.02rem;
}

.landing-table tbody tr:hover td {
  background: #f6faf2;
}
.landing-table tbody tr:hover td:last-child {
  background: rgba(234, 246, 229, 0.7);
}

.landing-table-fine {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 880px;
}

@media (max-width: 640px) {
  .landing-table thead th,
  .landing-table tbody th,
  .landing-table tbody td {
    padding: 14px 14px;
    font-size: 0.9rem;
  }
}

/* ============================================================
   ---- SELLERS PAGE ----
   Scoped overrides for /sellers.html — orange accent landing page.
   ============================================================ */

/* Body class swaps the hero kicker to a warm tone */
.hero-kicker-sell {
  background: linear-gradient(180deg, #fff2eb, #ffe5d6);
  border-color: rgba(232, 91, 44, 0.22);
  color: #7a2a0c;
  box-shadow: 0 2px 8px rgba(232, 91, 44, 0.1);
}
.hero-kicker-sell i,
.hero-kicker-sell svg {
  color: var(--orange);
}

/* Seller hero rebate card — orange accent */
.rebate-example-card-sell .rebate-icon {
  background: linear-gradient(180deg, #fff2eb, #ffe5d6);
  color: var(--orange);
}
.rebate-example-card-sell .rebate-dollar {
  background: var(--orange);
}
.rebate-example-card-sell .rebate-amount strong {
  color: var(--orange);
}

/* Sell-themed orange CTA */
.btn-orange,
.btn-primary.btn-orange {
  background: linear-gradient(180deg, #f06b3a, #d94e1f);
  color: #fff;
  box-shadow: 0 12px 26px rgba(232, 91, 44, 0.22), 0 2px 6px rgba(232, 91, 44, 0.18);
}
.btn-orange:hover,
.btn-primary.btn-orange:hover {
  background: linear-gradient(180deg, #f37444, #e5562a);
  box-shadow: 0 16px 32px rgba(232, 91, 44, 0.26), 0 4px 10px rgba(232, 91, 44, 0.2);
}

/* Seller "step" cards — orange number badge */
.landing-step-sell .landing-step-num {
  background: #fff2eb;
  color: var(--orange);
  border-color: rgba(232, 91, 44, 0.22);
}

/* Seller callout — orange left border, warm tint */
.landing-callout-sell {
  background: linear-gradient(135deg, #fff5ee 0%, #ffe7d6 100%);
  border: 1px solid rgba(232, 91, 44, 0.22);
  border-left: 4px solid var(--orange);
}
.landing-callout-sell .landing-callout-icon {
  color: var(--orange);
}
.landing-callout-sell .landing-callout-copy h3 {
  color: #7a2a0c;
}

/* Seller examples table — orange right column */
.landing-table-sell thead th:last-child {
  background: linear-gradient(180deg, #ffe7d6 0%, #ffd6bb 100%);
  color: #7a2a0c;
}
.landing-table-sell tbody td:last-child {
  background: rgba(255, 231, 214, 0.55);
  border-left: 1px solid rgba(232, 91, 44, 0.22);
}
.landing-table-sell tbody tr:hover td:last-child {
  background: rgba(255, 231, 214, 0.85);
}
.cell-win-sell strong {
  color: #7a2a0c;
  font-weight: 900;
  font-size: 1.02rem;
}

/* Seller FAQ accents — orange open/toggle */
.faq-item-sell:hover {
  background: #fff5ee;
  border-color: rgba(232, 91, 44, 0.3);
}
.faq-item-sell[open] {
  border-color: rgba(232, 91, 44, 0.3);
}
.faq-item-sell .faq-toggle {
  background: rgba(232, 91, 44, 0.12);
  color: var(--orange);
}
.faq-item-sell[open] .faq-toggle {
  background: var(--orange);
  color: #fff;
}

/* Sellers-page body overrides the active toggle so the calculator-card matches */
.sellers-page .estimate-card-header h2 {
  /* keep navy heading — no override needed */
}

/* Seller hero image variant — slightly warmer mood */
.hero-home-image-sell {
  /* image is decorative via existing .hero-home-image; just keep selector available */
}

/* Active-nav state polish (optional) */
.main-nav a[aria-current="page"],
.mobile-drawer-nav a[aria-current="page"] {
  color: var(--green-deep);
  font-weight: 800;
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
}
.sellers-page .main-nav a[aria-current="page"],
.sellers-page .mobile-drawer-nav a[aria-current="page"] {
  color: #7a2a0c;
  border-bottom-color: var(--orange);
}

/* Sellers page — orange dollar ticker to match sell-mode visual language */
body.mode-sell .ticker-wrap,
.sellers-page .ticker-wrap {
  background: linear-gradient(180deg, #f06b3a, #c84618);
  box-shadow: 0 12px 26px rgba(232, 91, 44, 0.38);
}

/* ---------- Compliance: inline disclosures + ToU/Privacy checkbox ---------- */
.form-disclosure {
  margin: 10px 4px 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
  font-style: italic;
}
.form-disclosure-buy {
  border-left: 2px solid rgba(76, 175, 121, 0.35);
  padding-left: 10px;
}
.form-disclosure-sell {
  border-left: 2px solid rgba(232, 91, 44, 0.45);
  padding-left: 10px;
}
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 2px 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.form-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--green);
  cursor: pointer;
}
.form-consent span { flex: 1 1 auto; }
.form-consent a {
  color: var(--green);
  text-decoration: underline;
  font-weight: 600;
}
.form-consent a:hover { color: var(--green-deep); }
.form-consent-error {
  color: #b1361e;
  font-size: 11.5px;
  margin: 4px 2px 0;
  display: none;
}
.form-consent-error.is-visible { display: block; }

.commission-note {
  margin: 8px 0 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--muted);
  font-style: italic;
}

/* =============================================================
   OPTION C TWO-STAGE FLOW
   Scoped styles for /rebate.html (Step 2 + Step 3 + Success).
   ============================================================= */

.optc-page {
  background: #f5faf6;
}

/* ---- STEP 2 ---- */
.optc-step2 {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.optc-step2-inner {
  max-width: 760px;
  text-align: center;
}

.optc-step2 .rebate-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.optc-address {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  color: #14352a;
  margin: 0 0 0.85rem;
  line-height: 1.25;
}

.optc-step2 .rebate-source-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

/* Hero rebate number — the wow moment */
.optc-hero-rebate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin: 1.5rem auto 0.5rem;
}

.optc-hero-label {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.optc-hero-amount {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.025em;
  display: block;
  margin: 0.15rem 0 0.05rem;
  text-shadow: 0 1px 0 rgba(20, 53, 42, 0.04);
}

.optc-hero-suffix {
  font-size: 1rem;
  color: #14352a;
  font-weight: 600;
}

.optc-hero-subtitle {
  font-size: 1.05rem;
  color: #14352a;
  margin: 0.5rem 0 0.35rem;
}

.optc-hero-subtitle strong {
  font-weight: 700;
}

.optc-commission-footnote {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted);
  margin: 0.35rem auto 1rem;
  max-width: 540px;
  line-height: 1.45;
}

.optc-lender-disclosure {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: #eef7f0;
  border: 1px solid #cce4d3;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #1f4a36;
  margin: 0 auto 1.4rem;
  max-width: 580px;
  text-align: left;
}

.optc-lender-disclosure i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

/* ----- Phase 4a-i: collapsible closing-cost + lender disclosure ----- */
.optc-closing-cost-disclosure {
  max-width: 580px;
  margin: 0 auto 1.6rem;
  text-align: left;
  background: #f6fbf8;
  border: 1px solid #d9ead9;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #1f4a36;
  overflow: hidden;
}

.optc-closing-cost-disclosure > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: #0F3D2E;
  user-select: none;
  list-style: none;
}

.optc-closing-cost-disclosure > summary::-webkit-details-marker { display: none; }
.optc-closing-cost-disclosure > summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.1rem;
  color: #4CAF79;
  font-weight: 700;
}
.optc-closing-cost-disclosure[open] > summary::after { content: "–"; }

.optc-closing-cost-disclosure > summary i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--green);
}

.optc-closing-cost-disclosure-body {
  padding: 0.2rem 1rem 0.95rem;
  border-top: 1px solid #e3eee5;
}
.optc-closing-cost-disclosure-body p {
  margin: 0.6rem 0 0;
  font-size: 0.84rem;
}
.optc-closing-cost-disclosure-body p:first-child { margin-top: 0.6rem; }
.optc-closing-cost-disclosure-link a {
  color: #0F3D2E;
  text-decoration: underline;
}

/* ----- Phase 4a-i: lender status radio pills (step 3) ----- */
.optc-lender-status-row {
  margin-top: 1rem;
}
.optc-lender-status-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: #0F3D2E;
  margin-bottom: 0.5rem;
}
.optc-optional-tag {
  font-weight: 400;
  color: #6b7e74;
  font-size: 0.82rem;
  margin-left: 0.3rem;
}
.optc-radio-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.optc-radio-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  background: #ffffff;
  border: 1.5px solid #d9ead9;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1f4a36;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  user-select: none;
  min-height: 44px; /* mobile touch target */
}
.optc-radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.optc-radio-pill:hover { border-color: #4CAF79; }
.optc-radio-pill:has(input:checked) {
  background: #E5F2EA;
  border-color: #4CAF79;
  color: #0F3D2E;
  font-weight: 600;
}
.optc-radio-pill:has(input:focus-visible) {
  outline: 2px solid #4CAF79;
  outline-offset: 2px;
}
.optc-lender-status-note {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: #6b7e74;
  line-height: 1.4;
}

/* ----- Phase 4a-iii: homepage closing-cost disclosure card (position #11) ----- */
.closing-cost-disclosure-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%);
}
.closing-cost-disclosure-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.4rem;
  background: #ffffff;
  border: 1px solid #d9ead9;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 61, 46, 0.04);
}
.closing-cost-disclosure-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E5F2EA;
  color: #0F3D2E;
  border-radius: 12px;
}
.closing-cost-disclosure-icon i {
  width: 22px;
  height: 22px;
}
.closing-cost-disclosure-body { flex: 1; min-width: 0; }
.closing-cost-disclosure-body h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #0F3D2E;
  font-weight: 700;
}
.closing-cost-disclosure-list {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  color: #1f4a36;
  font-size: 0.92rem;
  line-height: 1.55;
}
.closing-cost-disclosure-list li { margin: 0.35rem 0; }
.closing-cost-disclosure-list li strong { color: #0F3D2E; }
.closing-cost-disclosure-link {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: #6b7e74;
}
.closing-cost-disclosure-link a {
  color: #0F3D2E;
  text-decoration: underline;
  font-weight: 600;
}
@media (max-width: 640px) {
  .closing-cost-disclosure-card {
    flex-direction: column;
    padding: 1.2rem 1.1rem;
    gap: 0.8rem;
  }
  .closing-cost-disclosure-body h2 { font-size: 1.05rem; }
  .closing-cost-disclosure-list { font-size: 0.88rem; }
}

.optc-state-notice,
.optc-min-notice {
  background: #fff7e6;
  border: 1px solid #f4d8a0;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #6b4a13;
  margin: 0 auto 1.4rem;
  max-width: 580px;
  text-align: left;
}

.optc-state-notice strong,
.optc-min-notice strong {
  color: #5a3d0e;
}

/* Email-capture sub-form (extension of step 2) */
.optc-email-card {
  background: #ffffff;
  border: 1px solid #d6e7d9;
  border-radius: 16px;
  padding: 1.6rem 1.4rem 1.3rem;
  box-shadow: 0 10px 30px rgba(20, 53, 42, 0.06);
  max-width: 540px;
  margin: 1rem auto 0;
  text-align: left;
}

.optc-email-heading {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #14352a;
  margin: 0 0 0.4rem;
}

.optc-email-subtext {
  font-size: 0.9rem;
  color: #4b5b53;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.optc-email-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.optc-email-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.optc-email-row input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1.5px solid #d6e7d9;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #fafdfb;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.optc-email-row input[type="email"]:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(76, 175, 121, 0.15);
}

.optc-email-submit {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
}

.optc-email-error {
  font-size: 0.85rem;
  color: #b3261e;
  margin: 0;
  padding: 0.35rem 0.05rem 0;
  font-weight: 600;
}

.optc-email-privacy {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted);
  margin: 0.4rem 0 0;
  line-height: 1.5;
}

.optc-email-privacy a {
  color: var(--green-deep);
  text-decoration: underline;
}

/* ---- STEP 3 ---- */
.optc-step3 {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.optc-step3.optc-step3-revealed {
  opacity: 1;
  transform: translateY(0);
}

.optc-step3-card {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d6e7d9;
  border-radius: 18px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 14px 36px rgba(20, 53, 42, 0.07);
}

.optc-step3-heading h2 {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 700;
  color: #14352a;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.optc-step3-heading p {
  font-size: 0.98rem;
  color: #4b5b53;
  margin: 0 0 1.2rem;
  line-height: 1.55;
}

.optc-lender-disclosure-step3 {
  display: flex;
  max-width: 100%;
  margin: 0 0 1.4rem;
}

.optc-step3-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.optc-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.optc-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.optc-form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #14352a;
  letter-spacing: 0.01em;
}

.optc-form-row .req {
  color: #b3261e;
  margin-left: 2px;
}

.optc-form-row input[type="text"],
.optc-form-row input[type="tel"],
.optc-form-row input[type="email"],
.optc-form-row select {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1.5px solid #d6e7d9;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #fafdfb;
  color: #14352a;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.optc-form-row input:focus,
.optc-form-row select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(76, 175, 121, 0.15);
}

.optc-form-row input:invalid:not(:placeholder-shown),
.optc-form-row select:invalid:not(:focus) {
  /* Subtle hint — full error only after submit attempt */
}

.optc-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #4b5b53;
  padding: 0.6rem 0.1rem 0;
  cursor: pointer;
}

.optc-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
  cursor: pointer;
}

.optc-consent a {
  color: var(--green-deep);
  text-decoration: underline;
}

.optc-consent-error {
  font-size: 0.85rem;
  color: #b3261e;
  margin: 0;
  font-weight: 600;
}

.optc-step3-submit {
  margin-top: 0.4rem;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.optc-step3-error {
  font-size: 0.9rem;
  color: #b3261e;
  margin: 0;
  text-align: center;
  font-weight: 600;
}

/* ---- SUCCESS ---- */
.optc-success {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 360ms ease, transform 360ms ease;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.optc-success.optc-step3-revealed {
  opacity: 1;
  transform: translateY(0);
}

.optc-success-card {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d6e7d9;
  border-radius: 18px;
  padding: clamp(1.8rem, 3.6vw, 2.6rem);
  box-shadow: 0 14px 36px rgba(20, 53, 42, 0.08);
  text-align: center;
}

.optc-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CAF79, #0F3D2E);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.optc-success-icon i {
  width: 34px;
  height: 34px;
}

.optc-success-card h2 {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 700;
  color: #14352a;
  margin: 0 0 0.7rem;
}

.optc-success-card > p {
  font-size: 1.02rem;
  color: #14352a;
  line-height: 1.55;
  margin: 0 0 0.8rem;
}

.optc-success-card strong {
  color: var(--green-deep);
  font-weight: 700;
}

.optc-success-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.4rem 0 1.4rem;
}

.optc-success-sub a {
  color: var(--green-deep);
  text-decoration: underline;
}

.optc-success-actions {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
}

.optc-success-actions .btn {
  flex: 0 0 auto;
}

/* ---- Spinner ---- */
.optc-email-submit .spin,
.optc-step3-submit .spin {
  animation: optc-spin 0.9s linear infinite;
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

@keyframes optc-spin {
  to { transform: rotate(360deg); }
}

.optc-email-submit-loading,
.optc-step3-submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* ---- Mobile (≤ 390px) ---- */
@media (max-width: 480px) {
  .optc-step2-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .optc-hero-amount {
    font-size: clamp(2.5rem, 14vw, 3.6rem);
  }

  .optc-hero-label {
    font-size: 0.85rem;
  }

  .optc-email-card {
    padding: 1.25rem 1.1rem 1.1rem;
    border-radius: 14px;
  }

  .optc-email-row {
    flex-direction: column;
  }

  .optc-email-row input[type="email"],
  .optc-email-submit {
    width: 100%;
    flex: 1 1 auto;
  }

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

  .optc-step3-card {
    padding: 1.25rem 1.1rem;
    border-radius: 14px;
  }

  .optc-lender-disclosure {
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
  }

  .optc-success-actions {
    flex-direction: column;
  }

  .optc-success-actions .btn {
    width: 100%;
  }
}

/* ============================================
   Phase 1 — Trust strip (icon-circle row)
   Replaces feature-pills-compact on hero pages
   ============================================ */
.trust-strip {
  list-style: none;
  margin: 22px 0 0;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 22px 28px;
  background: var(--soft-mint);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: 0.005em;
}

.trust-strip-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15, 61, 46, 0.08);
}

.trust-strip-icon svg,
.trust-strip-icon i {
  width: 14px;
  height: 14px;
  color: var(--green);
  stroke-width: 2.4;
}

@media (max-width: 700px) {
  .trust-strip {
    gap: 12px 20px;
    padding: 12px 14px;
  }
  .trust-strip li {
    font-size: 0.84rem;
  }
}

@media (max-width: 420px) {
  .trust-strip li {
    flex: 1 1 100%;
  }
}

/* ============================================
   Phase 1 — Rebate page back/edit link
   ============================================ */
/* Wrap in a left-aligned block so it overrides the centered parent. */
.optc-step2-inner > .back-edit-link {
  text-align: left;
  display: flex;
  justify-content: flex-start;
}

.back-edit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  margin: 0 0 14px;
  padding: 4px 0;
  transition: color 0.18s ease;
}

.back-edit-link i,
.back-edit-link svg {
  width: 14px;
  height: 14px;
}

.back-edit-link:hover,
.back-edit-link:focus-visible {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   Phase 1 — Step 3 reassurance anchor
   ============================================ */
.step3-anchor {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 14px;
  padding: 12px 14px;
  background: var(--soft-mint);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--navy);
}

.step3-anchor strong {
  color: var(--green-dark);
  font-weight: 700;
}

.step3-anchor i,
.step3-anchor svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   Phase 1 — Step 2 / Step 3 reassurance microcopy
   ============================================ */
.reassurance {
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.55;
  margin: 8px 0 0;
}

.reassurance-email {
  text-align: center;
}

.reassurance-phone {
  text-align: left;
  margin-top: 6px;
}

/* ========================================================== */
/*  Phase 2 (Conversion) — sticky CTA, live calculator,        */
/*  exit-intent modal. Appended Jan 2026.                      */
/* ========================================================== */

/* ---------- Item 1: Mobile sticky CTA ---------- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 100;
  padding: 14px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green-cta-top), var(--green-cta-bottom));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 22px rgba(76, 175, 121, 0.32);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}
.mobile-sticky-cta i {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}
.mobile-sticky-cta.mobile-sticky-cta--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-sticky-cta:active {
  transform: translateY(0) scale(0.98);
}

@media (max-width: 720px) {
  .mobile-sticky-cta {
    display: inline-flex;
  }
}

/* ---------- Item 2: Live rebate calculator ---------- */
.calc-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--soft-mint) 100%);
}

.calc-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--soft-mint);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.calc-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 24px;
}
.calc-toggle-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.calc-toggle-opt i {
  width: 16px;
  height: 16px;
}
.calc-toggle-opt.is-active {
  background: var(--green);
  color: #fff;
}

.calc-readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.calc-readout-label {
  font-family: var(--font-main);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}
.calc-readout-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  color: var(--navy);
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green) var(--calc-pct, 20%), #d8e6df var(--calc-pct, 20%), #d8e6df 100%);
  outline: none;
  margin: 0;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--green);
  box-shadow: 0 4px 10px rgba(76, 175, 121, 0.3);
  cursor: pointer;
  transition: transform 120ms ease;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.08); }
.calc-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--green);
  box-shadow: 0 4px 10px rgba(76, 175, 121, 0.3);
  cursor: pointer;
}
.calc-slider:focus-visible {
  box-shadow: 0 0 0 3px rgba(76, 175, 121, 0.25);
}

.calc-slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--font-main);
  font-weight: 500;
}

.calc-rebate {
  margin: 28px 0 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
}
.calc-rebate-label {
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}
.calc-rebate-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3rem);
  color: var(--green);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.calc-rebate-suffix {
  font-family: var(--font-main);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.calc-rebate.calc-rebate--zero .calc-rebate-amount {
  color: var(--muted);
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
}

.calc-footnote {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 8px 0 24px;
  font-family: var(--font-main);
}

.calc-cta {
  text-decoration: none;
}
.calc-cta i {
  width: 18px;
  height: 18px;
  margin-left: 8px;
}

.calc-fineprint {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  font-family: var(--font-main);
  font-style: italic;
}

@media (max-width: 600px) {
  .calc-card { padding: 24px 20px; }
  .calc-readout { flex-direction: column; align-items: flex-start; gap: 4px; }
  .calc-toggle { width: 100%; justify-content: center; }
  .calc-toggle-opt { flex: 1; justify-content: center; }
}

/* ---------- Item 3: Exit-intent modal ---------- */
.exit-modal-root {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.exit-modal-root.is-open {
  display: flex;
}
.exit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 61, 0.6);
  opacity: 0;
  transition: opacity 200ms ease;
}
.exit-modal-root.is-open .exit-modal-backdrop {
  opacity: 1;
}
.exit-modal {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: scale(0.94);
  opacity: 0;
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 200ms ease;
}
.exit-modal-root.is-open .exit-modal {
  transform: scale(1);
  opacity: 1;
}
.exit-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 140ms ease;
}
.exit-modal-close:hover {
  background: var(--soft-mint);
  color: var(--body);
}
.exit-modal-close i {
  width: 18px;
  height: 18px;
}
.exit-modal-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.2;
}
.exit-modal-subtext {
  color: var(--muted);
  font-family: var(--font-main);
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.exit-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exit-modal-toggle {
  display: inline-flex;
  background: var(--soft-mint);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  align-self: stretch;
}
.exit-modal-toggle-opt {
  flex: 1;
  padding: 8px 14px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
}
.exit-modal-toggle-opt.is-active {
  background: var(--green);
  color: #fff;
}
.exit-modal-form input[type="text"] {
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--body);
  background: #fff;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.exit-modal-form input[type="text"]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(76, 175, 121, 0.18);
}
.exit-modal-fineprint {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin: 4px 0 0;
  font-family: var(--font-main);
  font-style: italic;
}

@media (max-width: 480px) {
  .exit-modal { padding: 28px 22px 22px; }
}

/* ============================================================
   Phase 3a (Jan 2026) — friction-reduction fixes
   ============================================================ */

/* ---------- Item 6: ZIP gating status ---------- */
.zip-gate-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 4px;
}
.zip-gate-status[hidden] { display: none; }
.zip-gate-status--available {
  background: rgba(76, 175, 121, 0.10);
  color: var(--green-deep);
  border: 1px solid rgba(76, 175, 121, 0.25);
}
.zip-gate-status--unavailable {
  background: rgba(245, 177, 0, 0.12);
  color: #8a5a00;
  border: 1px solid rgba(245, 177, 0, 0.35);
}
.zip-gate-status--unavailable a {
  color: #8a5a00;
  text-decoration: underline;
}
.zip-gate-status .zip-gate-icon {
  display: inline-flex;
  align-items: center;
}
.zip-gate-status .zip-gate-icon i { width: 14px; height: 14px; }
.zip-gate-status--inline {
  font-size: 13px;
  padding: 6px 10px;
}

/* ---------- Item 7: "Vetted" tooltip ---------- */
.cm-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  cursor: help;
  color: var(--muted);
  vertical-align: middle;
}
.cm-tooltip i {
  width: 14px;
  height: 14px;
  display: inline-block;
}
.cm-tooltip-content {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  width: 240px;
  max-width: 80vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  text-align: left;
}
.cm-tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--navy);
}
.cm-tooltip:hover .cm-tooltip-content,
.cm-tooltip:focus .cm-tooltip-content,
.cm-tooltip:focus-within .cm-tooltip-content {
  opacity: 1;
  pointer-events: auto;
}
.trust-strip-vetted {
  position: relative;
}
@media (max-width: 720px) {
  .cm-tooltip-content {
    width: 220px;
    left: auto;
    right: 0;
    transform: none;
  }
  .cm-tooltip-content::after { left: auto; right: 12px; transform: none; }
}

/* ---------- Item 5: Exit modal dollar number emphasis ---------- */
.exit-modal-dollars {
  color: var(--green-deep);
  font-weight: 800;
}

/* ---------- Item 9: "Your information is safe" reminder ---------- */
.optc-safe-reminder {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(76, 175, 121, 0.08);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid rgba(76, 175, 121, 0.18);
}
.optc-safe-reminder i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Item 10: Step 3 sticky bottom bar (mobile only) ---------- */
.step3-sticky-bar {
  display: none;
}
@media (max-width: 720px) {
  .step3-sticky-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: -80px;
    z-index: 90;
    background: var(--navy);
    color: #fff;
    padding: 12px 18px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
    transition: bottom 0.32s ease;
    font-family: var(--font-display);
  }
  .step3-sticky-bar--visible {
    bottom: 0;
  }
  .step3-sticky-bar-label {
    font-size: 13px;
    opacity: 0.92;
    font-weight: 600;
  }
  .step3-sticky-bar-amount {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
  }
}

/* ============================================================
   Phase 3a — Slider psychology refinements (homepage live calc)
   ============================================================ */
.calc-unlock-teaser {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  font-style: italic;
  color: #6b7280;
  text-align: center;
  line-height: 1.45;
}
.calc-rebate--zero .calc-unlock-teaser[hidden] { display: none; }

.calc-unlock-note {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  font-style: italic;
  color: #6b7280;
  text-align: center;
  line-height: 1.45;
}

.calc-cta--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(76, 175, 121, 0); transform: scale(1); }
  50%  { box-shadow: 0 0 0 8px rgba(76, 175, 121, 0.28); transform: scale(1.015); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 121, 0); transform: scale(1); }
}
.calc-cta.cta-pulse { animation: ctaPulse 600ms ease-out; }

@media (prefers-reduced-motion: reduce) {
  .calc-cta.cta-pulse { animation: none; }
}

/* ============================================== */
/* Dual-side (buy + sell) phase styles            */
/* ============================================== */

/* --- Calculator: dual sliders + breakdown --- */
.calc-toggle { flex-wrap: wrap; }
.calc-toggle-opt[data-calc-mode="both"] i {
  width: 16px;
  height: 16px;
}

.calc-dual {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 8px;
}
.calc-dual-row {
  padding: 18px 18px 16px;
  background: var(--soft-mint);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.calc-dual-row .calc-readout { margin-bottom: 12px; }
.calc-dual-row .calc-slider { background: linear-gradient(90deg, var(--green) 0%, var(--green) var(--calc-pct, 20%), #d8e6df var(--calc-pct, 20%), #d8e6df 100%); }

.calc-side-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}
.calc-side-pill--buy {
  background: rgba(76, 175, 121, 0.12);
  color: var(--green-deep);
}
.calc-side-pill--sell {
  background: rgba(7, 26, 61, 0.10);
  color: var(--navy);
}

.calc-dual-min {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
}
.calc-dual-min i { width: 14px; height: 14px; }

.calc-rebate-breakdown {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--font-main);
}
.calc-rebate-breakdown em {
  font-style: italic;
}
.calc-rebate-breakdown span {
  font-weight: 700;
  color: var(--navy);
  font-style: normal;
}

@media (max-width: 600px) {
  .calc-toggle-opt { padding: 8px 12px; font-size: 0.9rem; }
  .calc-dual-row { padding: 14px 14px 12px; }
  .calc-dual { gap: 18px; }
}

/* --- Homepage rebate-example: combined alt line --- */
.rebate-example-combined {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
  font-weight: 500;
  border-top: 1px dashed var(--border-strong);
  padding-top: 10px;
}
.rebate-example-combined i { width: 14px; height: 14px; color: var(--green-deep); flex-shrink: 0; }
.rebate-example-combined strong { color: var(--green-deep); font-weight: 800; }

/* --- Dual-side explainer card on homepage --- */
.dual-explainer-section { }

.dual-explainer-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: var(--soft-mint);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(7, 26, 61, 0.04);
}
.dual-explainer-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.dual-explainer-icon i { width: 28px; height: 28px; }
.dual-explainer-copy { flex: 1; }
.dual-explainer-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.6vw, 1.6rem);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.dual-explainer-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  font-family: var(--font-main);
}
.dual-explainer-copy p em {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
}
.dual-explainer-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-deep);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}
.dual-explainer-cta i { width: 16px; height: 16px; }
.dual-explainer-cta:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

@media (max-width: 700px) {
  .dual-explainer-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    gap: 16px;
  }
  .dual-explainer-icon { flex: 0 0 56px; width: 56px; height: 56px; }
  .dual-explainer-icon i { width: 24px; height: 24px; }
}

/* --- Rebate Step 3 dual-transaction row --- */
.optc-dual-row {
  padding: 16px;
  background: var(--soft-mint);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.optc-consent--dual {
  margin-bottom: 6px;
}
.optc-dual-note {
  margin: 4px 0 8px 28px;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--font-main);
}
.optc-dual-note em { font-style: italic; }

.optc-dual-price-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-strong);
}
.optc-dual-price-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--navy);
}
.optc-dual-price-row input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-main);
  background: #fff;
}
.optc-dual-price-row input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(76, 175, 121, 0.15);
}
.optc-optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
}

/* --- Agents page: dual-side value prop --- */
.agents-value-card--dual {
  background: linear-gradient(135deg, var(--soft-mint) 0%, #fff 100%);
  border: 1px solid var(--border-strong);
}
.agents-value-card--dual .step-icon {
  color: var(--green-deep);
}

/* Agents page value-grid layout (was relying on default block; add proper grid for dual-side phase) */
.agents-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.agents-value-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}
.agents-value-card .step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--soft-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--green);
}
.agents-value-card .step-icon i { width: 24px; height: 24px; }
.agents-value-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}
.agents-value-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  font-family: var(--font-main);
}

@media (max-width: 700px) {
  .agents-value-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================ */
/* TIER FEE — Option C additions                                */
/* ============================================================ */

/* "See the math" expander under live calc */
.calc-math {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fafbfc;
  font-size: 0.9rem;
  color: var(--navy);
}
.calc-math > summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--green);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.calc-math > summary::-webkit-details-marker { display: none; }
.calc-math > summary::after {
  content: "▾";
  font-size: 0.7em;
  transition: transform 0.18s ease;
}
.calc-math[open] > summary::after { transform: rotate(180deg); }
.calc-math-body {
  margin-top: 14px;
  display: grid;
  gap: 4px;
}
.calc-math-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-variant-numeric: tabular-nums;
  padding: 3px 0;
}
.calc-math-row > span:first-child {
  color: #4b5563;
}
.calc-math-row > span:last-child {
  font-weight: 600;
  color: var(--navy);
}
.calc-math-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 6px 0;
}
.calc-math-tier {
  font-weight: 600;
  color: var(--green);
  font-size: 0.88em;
}
.calc-math-total > span:last-child strong {
  color: var(--green);
  font-size: 1.05em;
}
.calc-math-section {
  margin-bottom: 12px;
}
.calc-math-section h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin: 8px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calc-math-combined {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1.5px solid var(--green);
}
.calc-math-empty {
  color: #6b7280;
  font-style: italic;
  margin: 4px 0;
}

/* "Where does the rebate come from?" explainer card */
.rebate-source-section {
  background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
}
.rebate-source-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 820px;
  margin: 0 auto;
}
.rebate-source-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ecfdf5;
  display: grid;
  place-items: center;
  color: var(--green);
}
.rebate-source-icon svg { width: 22px; height: 22px; stroke-width: 2.2; }
.rebate-source-copy h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.rebate-source-copy p {
  margin: 0;
  color: #374151;
  line-height: 1.65;
  font-size: 0.98rem;
}
@media (max-width: 640px) {
  .rebate-source-card { padding: 22px 18px; gap: 14px; }
  .rebate-source-copy h2 { font-size: 1.2rem; }
}

/* Agents tier table */
.agents-tier-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.agents-tier-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.agents-tier-table th,
.agents-tier-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}
.agents-tier-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.agents-tier-table tbody th {
  font-weight: 700;
  color: var(--navy);
}
.agents-tier-table tbody td strong { color: var(--green); font-size: 1.05em; }
.agents-tier-table tbody tr:last-child th,
.agents-tier-table tbody tr:last-child td { border-bottom: 0; }
.agents-tier-note {
  margin-top: 18px;
  font-size: 0.93rem;
  line-height: 1.65;
  color: #4b5563;
  max-width: 760px;
}
@media (max-width: 640px) {
  .agents-tier-table th,
  .agents-tier-table td { padding: 10px 12px; font-size: 0.88rem; }
}

/* Compare CTA card (public-facing replacement for the proprietary $1M worked example) */
.compare-cta-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 28px;
  background: linear-gradient(180deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.compare-cta-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-cta-icon i { width: 24px; height: 24px; }
.compare-cta-copy { flex: 1; }
.compare-cta-copy h3 {
  margin: 0 0 8px 0;
  color: #064e3b;
  font-size: 1.15rem;
}
.compare-cta-copy p {
  margin: 0 0 14px 0;
  color: #065f46;
  line-height: 1.6;
  font-size: 0.97rem;
}
@media (max-width: 640px) {
  .compare-cta-card { flex-direction: column; padding: 22px 20px; gap: 14px; }
  .compare-cta-icon { width: 44px; height: 44px; flex: 0 0 44px; }
}

/* Agents tier teaser card (public-facing replacement for tier table) */
.agents-tier-teaser {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 28px;
  background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.agents-tier-teaser-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agents-tier-teaser-icon i { width: 24px; height: 24px; }
.agents-tier-teaser-copy { flex: 1; }
.agents-tier-teaser-copy h3 {
  margin: 0 0 8px 0;
  color: var(--navy);
  font-size: 1.15rem;
}
.agents-tier-teaser-copy p {
  margin: 0 0 12px 0;
  color: #374151;
  line-height: 1.6;
  font-size: 0.97rem;
}
.agents-tier-teaser-note { color: #111827 !important; }
.agents-tier-teaser-copy .btn { margin-top: 4px; }
@media (max-width: 640px) {
  .agents-tier-teaser { flex-direction: column; padding: 22px 20px; gap: 14px; }
  .agents-tier-teaser-icon { width: 44px; height: 44px; flex: 0 0 44px; }
}

/* FAQ tier list */
.faq-tier-list {
  margin: 10px 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}
.faq-tier-list li {
  color: #374151;
  line-height: 1.55;
}
.faq-tier-list strong { color: var(--navy); }

/* ============================================================ */
/* PHASE 3C — Mobile-first refit (Jan 2026)                      */
/* All changes start mobile-first at 390x844 then scale up.      */
/* ============================================================ */

/* ---------- #1 Mobile header — hide Agents:Join below 860px ---------- */
@media (max-width: 859px) {
  .btn-agents { display: none !important; }
  .header-inner {
    height: 68px;
    grid-template-columns: auto 1fr !important;
    align-items: center;
  }
  .site-header { min-height: 68px; }
}

/* ---------- #17 Hamburger restyle — mint-green icon, no box ---------- */
/* PHASE 3D FIX: scope visibility — hidden on desktop (>=860px), visible on mobile */
.mobile-menu-button {
  border: none !important;
  background: transparent !important;
  color: var(--green) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px;
  display: none; /* base = hidden; mobile media query below overrides to grid */
  place-items: center;
  transition: background 180ms ease;
  padding: 0;
  cursor: pointer;
}
@media (max-width: 860px) {
  .mobile-menu-button {
    display: grid !important;
    justify-self: end;
  }
}
@media (min-width: 861px) {
  .mobile-menu-button {
    display: none !important;
  }
}
.mobile-menu-button:hover,
.mobile-menu-button:focus-visible {
  background: var(--soft-mint) !important;
  outline: none;
}
.mobile-menu-button:active {
  background: #e6f4ec !important;
}
.mobile-menu-button i,
.mobile-menu-button svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.4;
  color: var(--green) !important;
}

/* ---------- #2 Sticky CTA scrim + safe-area + main padding ---------- */
@media (max-width: 720px) {
  .mobile-sticky-cta {
    /* Solid white scrim wrapping the green pill so it stays readable */
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow:
      0 -10px 24px -8px rgba(7, 26, 61, 0.12),
      0 8px 22px rgba(76, 175, 121, 0.32);
  }
  /* When the sticky CTA is visible, push main content up so the bar
     doesn't cover the bottom of any section. */
  body.has-sticky-cta main {
    padding-bottom: 96px;
  }
}

/* ---------- #5 Option C hero pattern (mobile-first) ---------- */
.opt-c-frame {
  background: linear-gradient(135deg, #E5F2EA 0%, #f0fdf4 50%, #ffffff 100%);
  border-radius: 32px;
  padding: 6px;
  box-shadow: 0 32px 80px -32px rgba(34, 169, 96, 0.28);
  margin-top: 18px;
}
.opt-c-inner {
  background: #fff;
  border-radius: 26px;
  padding: 18px;
}
.opt-c-trust {
  background: linear-gradient(90deg, #f0fdf4 0%, #E5F2EA 100%);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}
.opt-c-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.opt-c-trust .ico {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.opt-c-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 16 / 10;
}
.opt-c-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 31, 61, 0.55) 100%);
}
.opt-c-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 9px 12px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.18);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0F3D2E;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.opt-c-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 169, 96, 0.18);
  animation: optcPulse 2.2s ease-in-out infinite;
}
@keyframes optcPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 169, 96, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(34, 169, 96, 0.06); }
}
.opt-c-bottom {
  background: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  margin-top: -44px;
  margin-left: 14px;
  margin-right: 14px;
  box-shadow: 0 20px 50px -16px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}
.opt-c-bottom .left b {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 4px;
}
.opt-c-bottom .left span {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.opt-c-bottom .amt b {
  display: block;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  color: var(--green);
}
.opt-c-bottom .amt span {
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
  display: block;
}
.opt-c-combined {
  background: linear-gradient(90deg, #f0fdf4 0%, #ffffff 100%);
  border-top: 1px dashed rgba(34, 169, 96, 0.3);
  padding: 12px 16px 4px;
  margin: 14px -18px -4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: #0F3D2E;
  border-radius: 0 0 18px 18px;
  gap: 10px;
}
.opt-c-combined .right {
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
.opt-c-disclaimer {
  margin-top: 14px;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  text-align: center;
}
@media (min-width: 860px) {
  .opt-c-frame { margin-top: 24px; }
  .opt-c-inner { padding: 22px; }
  .opt-c-trust { padding: 14px 20px; gap: 12px 28px; font-size: 0.88rem; }
  .opt-c-bottom { padding: 20px 24px; margin-left: 24px; margin-right: 24px; gap: 20px; }
  .opt-c-bottom .amt b { font-size: 32px; }
  .opt-c-combined { padding: 14px 22px 4px; margin: 14px -22px -4px; font-size: 13px; }
  .opt-c-combined .right { font-size: 17px; }
}

/* The original hero-home-card visual is hidden on pages using Option C */
.hero-copy.has-opt-c .hero-home-card { display: none; }

/* ---------- #3 Mobile vendor cards (compare, buyers, sellers) ---------- */
.mobile-vendor-stack {
  display: none;
}
@media (max-width: 859px) {
  .compare-table-wrap,
  .landing-table-wrap {
    display: none !important;
  }
  .mobile-vendor-stack {
    display: block;
    margin-top: 16px;
  }
}
.mvs-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-sm);
}
.mvs-card.is-closemint {
  background: linear-gradient(180deg, var(--soft-mint) 0%, #fff 100%);
  border-color: var(--border-strong);
  margin-bottom: 14px;
}
.mvs-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 2px;
}
.mvs-card.is-closemint .mvs-name { color: var(--green-deep); }
.mvs-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mvs-card.is-closemint .mvs-tag {
  color: var(--green-deep);
  background: rgba(34, 169, 96, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
}
.mvs-rows {
  display: grid;
  gap: 10px;
}
.mvs-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.mvs-row:first-child { border-top: none; padding-top: 0; }
.mvs-row dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
}
.mvs-row dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.mvs-row.is-win dd { color: var(--green-deep); font-weight: 800; }

/* Competitor carousel */
.mvs-carousel-wrap { position: relative; }
.mvs-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 8px;
  padding: 4px 8px 16px;
  margin: 0 -8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mvs-carousel::-webkit-scrollbar { display: none; }
.mvs-carousel .mvs-card {
  scroll-snap-align: start;
  min-height: 100%;
}
.mvs-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.mvs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background 180ms, transform 180ms;
}
.mvs-dot.is-active {
  background: var(--green);
  transform: scale(1.18);
}

/* ---------- #11 3-dot step progress indicator ---------- */
.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 18px;
  padding: 0;
}
.step-progress-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  cursor: default;
  background: transparent;
  border: none;
  padding: 4px 2px;
  min-height: 44px;
  flex: 0 0 auto;
}
.step-progress-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  transition: all 200ms;
}
.step-progress-item.is-active .step-progress-dot {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(34, 169, 96, 0.16);
}
.step-progress-item.is-complete .step-progress-dot {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.step-progress-item.is-complete .step-progress-dot::before {
  content: "✓";
  font-size: 0.95rem;
}
.step-progress-item.is-complete .step-progress-dot span { display: none; }
.step-progress-item.is-active { color: var(--green-deep); }
.step-progress-item.is-complete { color: var(--green-deep); cursor: pointer; }
.step-progress-line {
  flex: 1;
  height: 2px;
  background: var(--border-strong);
  max-width: 40px;
}
.step-progress-line.is-complete { background: var(--green); }
.step-progress-label {
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ---------- #8 Cross-state dual transaction dropdowns ---------- */
.optc-cross-state {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-strong);
}
.optc-cross-state label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}
.optc-cross-state select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  font-size: 1rem;
  color: var(--navy);
}
.optc-cross-state-note {
  font-style: italic;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 4px 0 0;
  line-height: 1.45;
}
@media (min-width: 720px) {
  .optc-cross-state-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* ---------- #9 Military bonus checkbox + callout ---------- */
.optc-military-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-strong);
}
.optc-military-row .optc-consent {
  align-items: center;
}
.optc-military-flag {
  display: inline-block;
  margin-right: 4px;
}
.optc-military-callout {
  display: none;
  margin-top: 10px;
  background: var(--soft-mint);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.92rem;
}
.optc-military-callout.is-on { display: block; }
.optc-military-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 6px 0 0;
  line-height: 1.5;
}

/* ---------- #12 How does this work? link ---------- */
.hero-how-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--green-deep);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  padding: 8px 0;
}
.hero-how-link:hover,
.hero-how-link:focus-visible { text-decoration: underline; }

/* ---------- #13 Static US state-availability SVG map ---------- */
.state-map-section {
  padding: 40px 0 32px;
  background: linear-gradient(180deg, #fff 0%, var(--soft-mint) 100%);
}
.state-map-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.state-map {
  width: 100%;
  height: auto;
  max-width: 660px;
  display: block;
  margin: 0 auto;
}
.state-map .state {
  fill: var(--green);
  stroke: #fff;
  stroke-width: 1.2;
  transition: fill 180ms;
}
.state-map .state.is-unavailable {
  fill: #cfd6db;
}
/* Tile-grid variant (#13) injected by script.js */
.state-map-svg {
  width: 100%;
  height: auto;
  max-width: 560px;
  display: block;
  margin: 8px auto 0;
}
.state-map-svg .state-tile rect { transition: opacity 180ms; }
.state-map-svg .state-tile:hover rect { opacity: 0.85; }
.state-map-svg .state-tile.is-unavailable text { opacity: 0.85; }
.state-map-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}
.state-map-legend {
  display: inline-flex;
  gap: 18px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--muted);
  justify-content: center;
  flex-wrap: wrap;
}
.state-map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.state-map-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}
.state-map-legend .swatch-on { background: var(--green); }
.state-map-legend .swatch-off { background: #cfd6db; }

/* ---------- #14 Savings cards — per-card estimate disclaimer ---------- */
.savings-card .savings-est {
  display: block;
  font-size: 0.7rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.3;
}
.savings-card strong .est-prefix {
  font-size: 0.6em;
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

/* ---------- #16 Footer link tap targets ---------- */
.site-footer .footer-links a,
.site-footer .footer-brand a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 4px 0;
}
.site-footer .footer-brand .brand-footer {
  min-height: auto;
  display: inline-flex;
  padding: 0;
  margin-bottom: 10px;
}
.site-footer .footer-links a + a { margin-top: 2px; }

/* ---------- #18 Press hero h1 max-width ---------- */
.press-hero h1,
.press-page .press-hero h1,
.press-page .hero h1 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Restore hero ticker rotation on mobile (#6) ---------- */
/* The ticker animation was previously gated for desktop. Make sure
   the mobile rotation runs by setting the keyframe wherever needed. */
@media (max-width: 720px) {
  .ticker-wrap { display: inline-block; vertical-align: baseline; }
  .ticker { display: inline-flex; }
}


/* ============================================================
   Phase 3e — Scoreboard hero rebuild (.hero-scoreboard)
   Scoped to homepage hero. Additive only; does not affect
   buyers/sellers/compare/rebate hero variants.
   ============================================================ */

:root {
  --ticker-glow: 0 0 24px rgba(76, 175, 121, 0.5);
  --dot-grid: radial-gradient(circle, rgba(185, 224, 195, 0.08) 1px, transparent 1px);
  --sb-navy-deep: #050d1c;
  --sb-mint-bright: #5fc78b;
  --sb-mint-glow: #6ee5a3;
}

/* Reset homepage hero background to the scoreboard backdrop */
.hero.hero-scoreboard {
  position: relative;
  overflow: hidden;
  background: var(--sb-navy-deep);
  color: #ffffff;
  padding: 0;
  isolation: isolate;
}
/* Override the white wash from generic .hero::before */
.hero.hero-scoreboard::before { content: none; display: none; }

.hero-scoreboard .sb-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 22%, rgba(76,175,121,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 8% 92%, rgba(76,175,121,0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--sb-navy-deep) 0%, var(--navy) 100%);
}
.hero-scoreboard .sb-grid-overlay {
  position: absolute; inset: 0; z-index: 0; opacity: 0.08; pointer-events: none;
  background-image:
    linear-gradient(rgba(76,175,121,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,175,121,1) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%);
}
.hero-scoreboard .sb-shape {
  position: absolute; right: -14%; top: -18%; z-index: 0; pointer-events: none;
  width: min(640px, 80vw); height: min(640px, 80vw);
  background: radial-gradient(circle, rgba(76,175,121,0.32) 0%, transparent 70%);
  filter: blur(4px);
}

.hero-scoreboard .sb-hero-grid {
  position: relative; z-index: 2;
  padding: 56px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

/* --- Trust strip --- */
.hero-scoreboard .sb-trust {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.82rem; font-weight: 700;
  color: var(--pale-mint);
  margin: 0 0 18px;
}
.hero-scoreboard .sb-trust > span {
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.hero-scoreboard .sb-trust .sb-check {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green-mid); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 900;
}
.hero-scoreboard .sb-trust .sb-sep { color: rgba(255,255,255,0.35); }

/* --- Headline --- */
.hero-scoreboard .sb-h1 {
  color: #ffffff;
  font-size: clamp(2.05rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 900;
  margin: 0 0 14px;
  font-family: var(--font-display);
}
.hero-scoreboard .sb-h1 .sb-green { color: var(--sb-mint-bright); }
.hero-scoreboard .sb-h1 .sb-orange { color: var(--orange); position: relative; }
.hero-scoreboard .sb-h1 .stack-line-two { white-space: normal; }

/* --- Scoreboard ticker boxed value --- */
.hero-scoreboard .sb-ticker {
  display: inline-flex; align-items: center;
  background: rgba(76,175,121,0.10);
  border: 1px solid rgba(76,175,121,0.42);
  border-radius: 14px;
  padding: 4px 14px;
  vertical-align: 4px;
  box-shadow:
    inset 0 0 24px rgba(76,175,121,0.18),
    0 0 32px rgba(76,175,121,0.28);
  position: relative;
  overflow: hidden;
  margin: 0 4px;
  min-width: 0;
}
.hero-scoreboard .sb-ticker-v {
  display: inline-block;
  font-family: "JetBrains Mono", "Nunito", monospace;
  font-weight: 800;
  font-size: clamp(1.6rem, 4.4vw, 2.8rem);
  color: var(--sb-mint-glow);
  letter-spacing: -0.02em;
  text-shadow: 0 0 24px rgba(110,229,163,0.6);
  text-align: center;
  min-width: 4.4em;
  line-height: 1;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes sbFlipUp {
    0%   { transform: translateY(0);     opacity: 1; filter: blur(0); }
    35%  { transform: translateY(-100%); opacity: 0; filter: blur(2px); }
    36%  { transform: translateY(100%);  opacity: 0; filter: blur(2px); }
    100% { transform: translateY(0);     opacity: 1; filter: blur(0); }
  }
  .hero-scoreboard .sb-ticker-v.is-flipping {
    animation: sbFlipUp 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  @keyframes sbGlowPulse {
    0%, 100% { text-shadow: 0 0 24px rgba(110,229,163,0.6); }
    50%      { text-shadow: 0 0 40px rgba(110,229,163,1), 0 0 60px rgba(110,229,163,0.5); }
  }
  .hero-scoreboard .sb-ticker-v.is-glow {
    animation: sbGlowPulse 1.4s ease-in-out;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scoreboard .sb-ticker-v {
    transition: opacity 400ms ease;
  }
  .hero-scoreboard .sb-ticker-v.is-flipping { opacity: 0; }
}

/* Sub-headline + ticker label */
.hero-scoreboard .sb-sub {
  margin: 6px 0 8px;
  color: rgba(255,255,255,0.82);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  font-weight: 600;
  max-width: 480px;
}
.hero-scoreboard .sb-ticker-label {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--pale-mint);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-scoreboard .sb-ticker-label .sb-asterisk { color: rgba(185,224,195,0.6); }

/* Calculator card variant inside scoreboard */
.hero-scoreboard .sb-card {
  background: #ffffff;
  color: var(--navy);
  border-radius: 22px;
  box-shadow: 0 32px 80px -28px rgba(0,0,0,0.55);
}
.hero-scoreboard .sb-card-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.hero-scoreboard .sb-card-header h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 900;
  margin: 0;
  color: var(--navy);
}
.hero-scoreboard .sb-card-sub {
  margin: 6px 0 14px;
  font-size: 0.86rem;
  color: var(--muted);
}
.hero-scoreboard .sb-live-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--soft-mint);
  color: var(--green);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-scoreboard .sb-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(76,175,121,0.3);
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes sbLivePulse {
    0%, 100% { opacity: 0.7; box-shadow: 0 0 0 3px rgba(76,175,121,0.3); }
    50%      { opacity: 1;   box-shadow: 0 0 0 5px rgba(76,175,121,0.15); }
  }
  .hero-scoreboard .sb-live-dot { animation: sbLivePulse 2s infinite; }
  .hero-scoreboard .sb-recent-pulse { animation: sbLivePulse 2s infinite; }
}

/* --- Recently calculated tile --- */
.hero-scoreboard .sb-recent-wrap {
  position: relative; z-index: 2;
  padding-top: 6px;
  padding-bottom: 4px;
}
.hero-scoreboard .sb-recent {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(76,175,121,0.22);
  border-radius: 16px;
  padding: 12px 16px;
  color: #ffffff;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex; flex-direction: column; gap: 6px;
}
.hero-scoreboard .sb-recent-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pale-mint);
}
.hero-scoreboard .sb-recent-body {
  display: flex; align-items: center; gap: 10px;
}
.hero-scoreboard .sb-recent-pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--sb-mint-bright);
  box-shadow: 0 0 0 4px rgba(76,175,121,0.25);
  flex: 0 0 auto;
}
.hero-scoreboard .sb-recent-text {
  font-size: 0.92rem; line-height: 1.4;
  color: #ffffff;
  display: inline-block;
}
.hero-scoreboard .sb-recent-text b {
  color: var(--sb-mint-bright);
  font-weight: 900;
}
.hero-scoreboard .sb-recent-meta {
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-scoreboard .sb-recent-text {
    transition: opacity 380ms ease;
  }
  .hero-scoreboard .sb-recent-text.is-fading { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scoreboard .sb-recent-text { transition: opacity 400ms ease; }
  .hero-scoreboard .sb-recent-text.is-fading { opacity: 0; }
}

.hero-scoreboard .sb-recent-disclaimer {
  margin: 8px 2px 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(185,224,195,0.78);
  font-weight: 500;
}
.hero-scoreboard .sb-recent-disclaimer a {
  color: var(--pale-mint);
  text-decoration: underline;
  font-weight: 700;
}

/* --- Forest Green stat strip --- */
.hero-scoreboard .sb-stats {
  position: relative; z-index: 2;
  background: var(--green);
  color: #ffffff;
  margin-top: 22px;
}
.hero-scoreboard .sb-stats-inner {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 3vw, 36px);
  padding: 18px 0;
  flex-wrap: wrap;
}
.hero-scoreboard .sb-stat {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 0;
  text-align: center;
}
.hero-scoreboard .sb-stat-v {
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  font-weight: 900;
  color: var(--sb-mint-bright);
  letter-spacing: -0.01em;
}
.hero-scoreboard .sb-stat-l {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.hero-scoreboard .sb-stat-div {
  width: 1px; height: 34px;
  background: rgba(255,255,255,0.18);
}

/* --- How does this work link --- */
.hero-scoreboard .sb-howlink-wrap {
  position: relative; z-index: 2;
  padding: 14px 0 28px;
  text-align: center;
}
.hero-scoreboard .sb-how-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--sb-mint-bright);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.hero-scoreboard .sb-how-link:hover,
.hero-scoreboard .sb-how-link:focus-visible {
  text-decoration: underline;
}

/* --- Embed section: Real estate, real rebates --- */
.sb-embed-section {
  background: #ffffff;
  padding: clamp(40px, 6vw, 72px) 0;
}
.sb-embed-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.sb-embed-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(10,31,61,0.32);
  background: var(--soft-mint);
}
.sb-embed-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
}
.sb-embed-copy { min-width: 0; }
.sb-embed-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}
.sb-embed-h {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--green);
}
.sb-embed-body {
  margin: 0 0 20px;
  font-size: clamp(0.98rem, 1.6vw, 1.05rem);
  line-height: 1.6;
  color: var(--navy);
  max-width: 56ch;
}
.sb-embed-cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green);
  font-weight: 800;
  font-size: 0.98rem;
  border-bottom: 2px solid var(--green-mid);
  padding-bottom: 2px;
}
.sb-embed-cta:hover { color: var(--green-mid); }

/* ===== Mobile (≤860px) ===== */
@media (max-width: 1040px) {
  .hero-scoreboard .sb-hero-grid {
    grid-template-columns: 1fr;
    padding: 36px 0 24px;
  }
  .sb-embed-wrap {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .hero-scoreboard .sb-hero-grid {
    padding: 28px 0 20px;
    gap: 22px;
  }
  .hero-scoreboard .sb-h1 {
    font-size: clamp(1.95rem, 9vw, 2.6rem);
  }
  .hero-scoreboard .sb-ticker {
    padding: 2px 10px;
    border-radius: 12px;
    margin: 0 2px;
  }
  .hero-scoreboard .sb-ticker-v {
    font-size: clamp(1.4rem, 8vw, 2rem);
    min-width: 4em;
  }
  .hero-scoreboard .sb-trust {
    font-size: 0.78rem;
    gap: 6px 10px;
  }
  .hero-scoreboard .sb-trust .sb-sep { display: none; }
  .hero-scoreboard .sb-stats-inner {
    gap: 14px 18px;
    padding: 16px 0;
  }
  .hero-scoreboard .sb-stat-div { display: none; }
  .hero-scoreboard .sb-stat { flex: 1 1 40%; }
  .hero-scoreboard .sb-stat-v { font-size: 1.1rem; }
  .hero-scoreboard .sb-recent-text { font-size: 0.86rem; }
  .sb-embed-img { max-height: 280px; }
}

/* ========================================================== */
/*  Phase 3f — a11y/UX bucket A                               */
/*  - Focus ring + paused state for ticker + recent tile      */
/*  - Sticky CTA outline-on-navy variant                       */
/* ========================================================== */

/* Make ticker/recent obviously interactive */
.hero-scoreboard .sb-ticker { cursor: default; outline: none; }
.hero-scoreboard .sb-recent { cursor: default; outline: none; }

/* Keyboard focus ring (mint, brand palette) */
.hero-scoreboard .sb-ticker:focus-visible {
  box-shadow:
    inset 0 0 24px rgba(76,175,121,0.18),
    0 0 0 3px rgba(76,175,121,0.55),
    0 0 32px rgba(76,175,121,0.28);
}
.hero-scoreboard .sb-recent:focus-visible {
  box-shadow: 0 0 0 3px rgba(76,175,121,0.55);
}

/* Paused state (hover OR focus OR explicit class set by JS).
   Subtle mint ring as the visual cue. */
.hero-scoreboard .sb-ticker.is-paused,
.hero-scoreboard .sb-ticker:hover {
  box-shadow:
    inset 0 0 24px rgba(76,175,121,0.22),
    0 0 0 2px rgba(185,224,195,0.45),
    0 0 32px rgba(76,175,121,0.32);
}
.hero-scoreboard .sb-recent.is-paused,
.hero-scoreboard .sb-recent:hover {
  border-color: rgba(76,175,121,0.55);
  box-shadow: 0 0 0 2px rgba(185,224,195,0.35);
}

/* ---- Sticky CTA outline-on-navy variant (Phase 3f #5) ---- */
.mobile-sticky-cta {
  /* default: keep existing filled mint look; add a transition for the swap.
     Browsers that obey prefers-reduced-motion get an instant swap (below). */
  transition:
    opacity 200ms ease,
    transform 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease,
    -webkit-backdrop-filter 200ms ease,
    backdrop-filter 200ms ease;
  border: 2px solid transparent;
}
.mobile-sticky-cta.mobile-sticky-cta--over-navy {
  background: transparent;
  border: 2px solid #4CAF79;
  color: #ffffff;
  box-shadow:
    0 8px 22px rgba(10, 31, 61, 0.45),
    inset 0 0 0 1px rgba(76,175,121,0.25);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.mobile-sticky-cta.mobile-sticky-cta--over-navy i {
  color: #4CAF79;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-sticky-cta {
    transition: opacity 1ms linear, transform 1ms linear;
  }
}

/* =========================================================
   Phase 3g — Blueprint background layers
   Decorative SVG overlays inside the scoreboard hero.
   ========================================================= */

.hero-scoreboard .sb-blueprint {
  position: absolute;
  pointer-events: none;
  z-index: 1; /* above sb-bg / sb-grid-overlay, below content */
}
.hero-scoreboard .sb-blueprint svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.hero-scoreboard .sb-blueprint .bp-stroke {
  fill: none;
  stroke: var(--sb-pale-mint, #B9E0C3);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-scoreboard .sb-blueprint .bp-stroke.bp-bright {
  stroke: var(--sb-mint-bright, #5fc78b);
  stroke-width: 1.2;
}
.hero-scoreboard .sb-blueprint .bp-stroke.bp-dim {
  opacity: 0.7;
}
.hero-scoreboard .sb-blueprint .bp-label {
  fill: var(--sb-pale-mint, #B9E0C3);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Layer placements */
.hero-scoreboard .sb-blueprint-house {
  left: -20px;
  bottom: 90px;
  width: 400px;
  height: 340px;
  opacity: 0.13;
}
.hero-scoreboard .sb-blueprint-plan {
  right: 30%;
  top: 10%;
  width: 240px;
  height: 180px;
  opacity: 0.06;
}
.hero-scoreboard .sb-blueprint-detail {
  right: 4%;
  bottom: 18%;
  width: 130px;
  height: 150px;
  opacity: 0.10;
}

/* Mobile placement — shrink + reposition so they don't overlap content */
@media (max-width: 900px) {
  .hero-scoreboard .sb-blueprint-house {
    left: -20px;
    bottom: auto;
    top: 40px;
    width: 260px;
    height: 220px;
    opacity: 0.10;
  }
  .hero-scoreboard .sb-blueprint-plan {
    display: none; /* avoid headline overlap on mobile */
  }
  .hero-scoreboard .sb-blueprint-detail {
    right: -8px;
    top: 38px;
    bottom: auto;
    width: 90px;
    height: 110px;
    opacity: 0.09;
  }
}

/* Draw-in animation v2: pathLength="1" normalizes all stroke speeds
   so short and long lines complete at the same proportional rate. */
@keyframes bp-draw {
  from { stroke-dashoffset: 1; opacity: 0; }
  15%  { opacity: 1; }
  to   { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes bp-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-scoreboard .sb-blueprint .bp-stroke {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: bp-draw 3.2s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
  }
  /* Stagger across the three blueprint layers */
  .hero-scoreboard .sb-blueprint-house .bp-stroke   { animation-delay: 0.4s; }
  .hero-scoreboard .sb-blueprint-plan  .bp-stroke   { animation-delay: 1.2s; }
  .hero-scoreboard .sb-blueprint-detail .bp-stroke  { animation-delay: 2.0s; }
  .hero-scoreboard .sb-blueprint .bp-label {
    opacity: 0;
    animation: bp-fade-in 700ms ease-out 3.4s forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* No motion — render static */
  .hero-scoreboard .sb-blueprint .bp-stroke {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
  .hero-scoreboard .sb-blueprint .bp-label { opacity: 1; }
}

/* Boost the bottom-left forest glow to balance the composition */
.hero-scoreboard .sb-bg {
  background:
    radial-gradient(ellipse at 78% 22%, rgba(76,175,121,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 8% 88%, rgba(15,61,46,0.55) 0%, transparent 55%),
    linear-gradient(180deg, #050d1c 0%, #0A1F3D 100%);
}

/* =========================================================
   Phase 3h — More Mint Surface Coverage
   Brand strategist directive: increase mint PRESENCE without
   changing palette values. ~12% → ~30% surface coverage.
   All overrides are additive and scoped to avoid breaking
   existing structure.
   ========================================================= */

/* --- 1. HERO GLOW INTENSITY (0.22 → 0.30 alpha) --- */
/* Combine with blueprint via balance: glow up, blueprint stroke weight up */
.hero-scoreboard .sb-bg {
  background:
    radial-gradient(ellipse at 78% 22%, rgba(76,175,121,0.30) 0%, transparent 58%),
    radial-gradient(ellipse at 8% 88%, rgba(15,61,46,0.55) 0%, transparent 55%),
    linear-gradient(180deg, #050d1c 0%, #0A1F3D 100%);
}
/* Blueprint stroke weight bump for balance against stronger glow */
.hero-scoreboard .sb-blueprint .bp-stroke {
  stroke-width: 1.6;
}
.hero-scoreboard .sb-blueprint .bp-stroke.bp-bright {
  stroke-width: 1.4;
}

/* --- 2. NAV CTA — Pale Mint fill on "Agents: Join" outline buttons --- */
.site-nav .nav-cta--outline,
.site-nav a[href*="agents"].nav-cta,
header .nav-cta--outline {
  background: var(--soft-mint) !important;
  transition: background 200ms ease, box-shadow 200ms ease;
}
.site-nav .nav-cta--outline:hover,
.site-nav a[href*="agents"].nav-cta:hover {
  background: var(--pale-mint) !important;
  box-shadow: 0 4px 14px rgba(76,175,121,0.25);
}

/* --- 3. SECTION DIVIDERS — Mint paper bands with diamond marker --- */
.mint-divider {
  position: relative;
  height: 44px;
  background: var(--mint-paper);
  border-top: 1px solid var(--pale-mint);
  border-bottom: 1px solid var(--pale-mint);
  overflow: hidden;
}
.mint-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(76,175,121,0.10) 50%, transparent 100%);
}
.mint-divider::after {
  content: '◆';
  color: var(--green-mid);
  font-size: 9px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* --- 4. FAQ ITEMS — Mint left border + Pale Mint fill --- */
.faq-list details,
.faq-item,
.faq details {
  background: var(--mint-paper) !important;
  border-left: 4px solid var(--green-mid) !important;
  border-top: 1px solid var(--pale-mint);
  border-right: 1px solid var(--pale-mint);
  border-bottom: 1px solid var(--pale-mint);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 200ms ease;
}
.faq-list details:hover,
.faq-item:hover,
.faq details:hover {
  box-shadow: 0 4px 14px rgba(76,175,121,0.18);
}
.faq-list details summary,
.faq-item summary,
.faq details summary {
  color: var(--green) !important;
  font-weight: 800;
}
.faq-list details summary::before,
.faq-item summary::before,
.faq details summary::before {
  color: var(--green-mid);
}

/* --- 5. STAT STRIP — Forest gradient + 4px mint top stripe + Pale Mint labels --- */
.sb-stats,
.hero-scoreboard .sb-stats {
  background: linear-gradient(135deg, var(--green) 0%, #1a4d3d 100%) !important;
  position: relative;
}
.sb-stats::before,
.hero-scoreboard .sb-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--sb-mint-bright, #5fc78b), var(--green-mid));
  z-index: 1;
}
.sb-stats .sb-stat-label,
.sb-stats .stat-label,
.hero-scoreboard .sb-stats .sb-stat-label {
  color: var(--pale-mint) !important;
}

/* --- 6. FORM INPUTS — Mint border + Pale Mint paper fill + focus halo --- */
input[type="text"]:not([class*="ticker"]):not([class*="ig-"]),
input[type="email"]:not([class*="ticker"]):not([class*="ig-"]),
input[type="tel"]:not([class*="ticker"]):not([class*="ig-"]),
input[type="url"]:not([class*="ticker"]):not([class*="ig-"]),
input[type="number"]:not([class*="ticker"]):not([class*="ig-"]),
textarea,
select {
  border: 1.5px solid var(--green-mid) !important;
  background: var(--mint-paper) !important;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: var(--green-mid) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(76,175,121,0.22) !important;
}

/* --- 7. CALLOUT / PULL-QUOTE BOXES --- */
.mint-callout,
blockquote.mint-callout {
  background: linear-gradient(135deg, var(--mint-paper) 0%, var(--soft-mint) 100%);
  border: 1.5px solid var(--pale-mint);
  border-left: 5px solid var(--green-mid);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--green);
  font-weight: 600;
  line-height: 1.55;
  margin: 24px 0;
}

/* --- 8. TRUST ICONS — Mint dots throughout --- */
.trust-strip .check,
.trust .check,
.sb-trust .sb-check,
.benefits-row .check {
  background: var(--green-mid) !important;
  color: white !important;
}

/* --- 9. FOOTER — 4px Mint accent stripe at bottom --- */
.site-footer,
footer.site-footer,
footer {
  position: relative;
}
.site-footer::after,
footer.site-footer::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--sb-mint-bright, #5fc78b), var(--green-mid));
}

/* --- 10. AGENT-PAGE RESTRAINT (50% intensity) --- */
/* Agent pages keep professional restraint - mint shows up but less aggressively */
body[data-page="agents"] .faq-list details,
body[data-page="agents-rates"] .faq-list details,
body[data-page="agents"] .faq-item {
  background: #ffffff !important;
  border-left: 3px solid var(--green-mid) !important;
}
body[data-page="agents"] .mint-divider,
body[data-page="agents-rates"] .mint-divider {
  background: #f9fbfa;
}

/* =========================================================
   Phase 3h — Blueprint propagation to sub-page heroes
   Lighter opacity (8%) so it whispers, doesn't shout
   ========================================================= */
.subpage-hero {
  position: relative;
  overflow: hidden;
}
.subpage-hero .sb-blueprint-house {
  position: absolute;
  right: -40px;
  bottom: 20px;
  width: 320px;
  height: 270px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}
.subpage-hero .sb-blueprint-house svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.subpage-hero .sb-blueprint-house .bp-stroke {
  fill: none;
  /* Light-background subpages need a darker mint stroke to remain visible */
  stroke: var(--green-mid);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}
/* Bump container opacity to compensate for darker stroke */
.subpage-hero .sb-blueprint-house {
  opacity: 0.10 !important;
}
@media (max-width: 900px) {
  .subpage-hero .sb-blueprint-house {
    opacity: 0.09 !important;
  }
}
@media (max-width: 900px) {
  .subpage-hero .sb-blueprint-house {
    width: 200px;
    height: 170px;
    right: -20px;
    opacity: 0.07;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .subpage-hero .sb-blueprint-house .bp-stroke {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: bp-draw 3.2s cubic-bezier(0.65, 0, 0.35, 1) 0.4s forwards;
  }
}

/* =========================================================
   Phase 3i — Polish: hover glows, table mint rows, rebate bg
   ========================================================= */

/* --- Mint glow hover on primary CTAs --- */
.btn-primary,
.cta-primary,
button.btn-primary,
a.btn-primary,
.submit-cta,
.sb-card .submit-cta {
  transition: box-shadow 220ms ease, transform 180ms ease;
}
.btn-primary:hover,
.cta-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover,
.submit-cta:hover {
  box-shadow:
    0 14px 32px -10px rgba(76, 175, 121, 0.70),
    0 0 0 4px rgba(76, 175, 121, 0.18);
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .cta-primary,
  button.btn-primary,
  a.btn-primary,
  .submit-cta { transition: none !important; }
  .btn-primary:hover,
  .cta-primary:hover,
  button.btn-primary:hover,
  a.btn-primary:hover,
  .submit-cta:hover { transform: none !important; }
}

/* --- Agents-rates tier table: mint accent rows --- */
.agents-tier-table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--pale-mint);
}
.agents-tier-table thead th {
  background: var(--green) !important;
  color: white;
}
.agents-tier-table thead th:first-child {
  border-top-left-radius: 12px;
}
.agents-tier-table thead th:last-child {
  border-top-right-radius: 12px;
}
.agents-tier-table tbody tr {
  background: white;
  transition: background 180ms ease;
}
.agents-tier-table tbody tr:nth-child(even) {
  background: var(--mint-paper);
}
.agents-tier-table tbody tr:hover {
  background: var(--soft-mint);
}
.agents-tier-table tbody td,
.agents-tier-table tbody th {
  border-bottom: 1px solid var(--pale-mint);
}
.agents-tier-table tbody tr:last-child td,
.agents-tier-table tbody tr:last-child th {
  border-bottom: 0;
}
/* Subtle mint left accent on row hover */
.agents-tier-table tbody tr {
  position: relative;
}
.agents-tier-table tbody tr:hover th[scope="row"],
.agents-tier-table tbody tr:hover td:first-child {
  box-shadow: inset 4px 0 0 var(--green-mid);
}

/* --- Rebate page background — subtle blueprint behind form --- */
body[data-page="rebate"] .rebate-shell,
main.rebate {
  position: relative;
  overflow: hidden;
}
main.rebate::before {
  content: '';
  position: absolute;
  top: 80px;
  right: -60px;
  width: 360px;
  height: 300px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 340' fill='none'><g stroke='%234CAF79' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><line x1='20' y1='305' x2='380' y2='305'/><rect x='80' y='160' width='240' height='145'/><polyline points='60,165 200,70 340,165'/><polyline points='250,108 250,75 275,75 275,123'/><rect x='180' y='240' width='40' height='65'/><rect x='108' y='235' width='50' height='42'/><line x1='133' y1='235' x2='133' y2='277'/><line x1='108' y1='256' x2='158' y2='256'/><rect x='242' y='235' width='50' height='42'/><line x1='267' y1='235' x2='267' y2='277'/><line x1='242' y1='256' x2='292' y2='256'/><rect x='108' y='178' width='38' height='34'/><line x1='127' y1='178' x2='127' y2='212'/><rect x='181' y='178' width='38' height='34'/><line x1='200' y1='178' x2='200' y2='212'/><rect x='254' y='178' width='38' height='34'/><line x1='273' y1='178' x2='273' y2='212'/><polygon points='185,120 215,120 200,100'/></g></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
main.rebate > * {
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  main.rebate::before {
    width: 220px;
    height: 180px;
    top: 50px;
    right: -30px;
    opacity: 0.05;
  }
}

/* =========================================================
   Phase 3i continued — Polish pass 2
   1. Tier table mobile responsiveness (card-style at <600px)
   2. Card hover states (rebate-source, dual-explainer, step cards)
   3. Loading spinners — mint with pulse
   4. Buy/Sell toggle inactive state — Pale Mint instead of white
   5. rebate.html source-confirmation chip
   ========================================================= */

/* --- 1. Tier table mobile card view --- */
@media (max-width: 600px) {
  .agents-tier-table {
    border: 0;
    background: transparent;
  }
  .agents-tier-table thead {
    /* visually hide but keep accessible */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .agents-tier-table tbody tr {
    display: block;
    background: var(--mint-paper) !important;
    border: 1px solid var(--pale-mint);
    border-left: 4px solid var(--green-mid);
    border-radius: 12px;
    margin-bottom: 14px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(15, 61, 46, 0.06);
  }
  .agents-tier-table tbody tr:nth-child(even) {
    background: var(--mint-paper) !important; /* override the desktop alternating */
  }
  .agents-tier-table tbody td,
  .agents-tier-table tbody th {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    border: 0;
    text-align: right;
  }
  .agents-tier-table tbody td::before,
  .agents-tier-table tbody th[scope="row"]::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--slate);
    text-align: left;
    margin-right: 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  /* First row (price-range header in mobile) gets bigger emphasis */
  .agents-tier-table tbody tr td:first-child,
  .agents-tier-table tbody tr th[scope="row"] {
    font-weight: 900;
    color: var(--green);
    font-size: 16px;
    border-bottom: 1px dashed var(--pale-mint);
    padding-bottom: 10px;
    margin-bottom: 8px;
    justify-content: flex-start;
  }
  .agents-tier-table tbody tr td:first-child::before,
  .agents-tier-table tbody tr th[scope="row"]:first-child::before {
    display: none;
  }
}

/* --- 2. Card hover states --- */
.rebate-source-card,
.dual-explainer-card,
.step-card {
  transition: box-shadow 220ms ease, transform 180ms ease, border-color 200ms ease;
}
.rebate-source-card:hover,
.dual-explainer-card:hover,
.step-card:hover {
  box-shadow: 0 18px 38px -12px rgba(76, 175, 121, 0.30),
              0 0 0 1px rgba(76, 175, 121, 0.18);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .rebate-source-card:hover,
  .dual-explainer-card:hover,
  .step-card:hover {
    transform: none;
    transition: none;
  }
}

/* --- 3. Loading spinners — mint with pulse --- */
.spinner,
.loader,
.is-loading::after {
  border-color: var(--pale-mint) !important;
  border-top-color: var(--green-mid) !important;
  animation: spin 800ms linear infinite, mintPulse 1600ms ease-in-out infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes mintPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 121, 0.0); }
  50%      { box-shadow: 0 0 14px 0 rgba(76, 175, 121, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .spinner,
  .loader,
  .is-loading::after { animation: spin 1200ms linear infinite; }
}

/* --- 4. Buy/Sell toggle inactive state — Pale Mint instead of white --- */
.toggle-option:not(.is-active),
.toggle-pill:not(.is-active),
[role="tab"][aria-selected="false"] {
  background: var(--mint-paper) !important;
  border-color: var(--pale-mint) !important;
  transition: background 180ms ease, border-color 180ms ease;
}
.toggle-option:not(.is-active):hover,
.toggle-pill:not(.is-active):hover {
  background: var(--soft-mint) !important;
  border-color: var(--green-mid) !important;
}

/* --- 5. rebate.html source-confirmation chip --- */
.cm-source-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--mint-paper);
  border: 1.5px solid var(--pale-mint);
  border-left: 4px solid var(--green-mid);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 16px;
  max-width: 100%;
  box-shadow: 0 2px 8px rgba(15, 61, 46, 0.04);
}
.cm-source-chip-source {
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
}
.cm-source-chip-arrow {
  color: var(--green-mid);
  font-size: 11px;
  opacity: 0.7;
}
.cm-source-chip-addr {
  color: var(--navy);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.cm-source-chip-confidence {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  background: var(--green-mid);
  color: white;
  flex-shrink: 0;
}
.cm-source-chip--medium {
  border-left-color: var(--orange);
}
.cm-source-chip--medium .cm-source-chip-confidence {
  background: var(--orange);
}
@media (max-width: 600px) {
  .cm-source-chip {
    font-size: 12px;
    padding: 7px 12px;
    gap: 6px;
  }
  .cm-source-chip-addr {
    font-size: 11.5px;
  }
}

/* =========================================================
   Phase 3i — Polish pass 3
   1. Edit link on confirmation chip
   4. Print stylesheet
   5. Mobile :focus state for sticky CTA
   6. Card-flash micro-animation on first chip appearance
   ========================================================= */

/* --- 1. Edit link on confirmation chip --- */
.cm-source-chip-edit {
  margin-left: 8px;
  padding: 4px 10px;
  background: transparent;
  color: var(--green);
  border: 1px solid var(--pale-mint);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 150ms ease, border-color 150ms ease;
  flex-shrink: 0;
}
.cm-source-chip-edit:hover,
.cm-source-chip-edit:focus-visible {
  background: var(--green-mid);
  color: white;
  border-color: var(--green-mid);
  outline: none;
}
@media (max-width: 600px) {
  .cm-source-chip-edit {
    padding: 3px 8px;
    font-size: 10px;
  }
}

/* --- 6. Card-flash micro-animation on first chip appearance --- */
@keyframes cmChipFlash {
  0%   { background: var(--mint-paper);                     box-shadow: 0 2px 8px rgba(15, 61, 46, 0.04); }
  35%  { background: var(--soft-mint);                      box-shadow: 0 0 0 6px rgba(76, 175, 121, 0.18), 0 4px 14px rgba(76, 175, 121, 0.28); }
  100% { background: var(--mint-paper);                     box-shadow: 0 2px 8px rgba(15, 61, 46, 0.04); }
}
@media (prefers-reduced-motion: no-preference) {
  .cm-source-chip:not([hidden]) {
    animation: cmChipFlash 900ms ease-out 200ms 1;
  }
}

/* --- 4. Print stylesheet --- */
@media print {
  /* Hide decorative + interactive moments */
  .sb-blueprint,
  .sb-grid-overlay,
  .sb-shape,
  .subpage-hero .sb-blueprint-house,
  main.rebate::before,
  .mobile-sticky-cta,
  .mobile-menu-button,
  .nav-cta,
  #mobile-drawer,
  #mobile-drawer-backdrop,
  .ticker,
  #sb-ticker,
  .sb-recent,
  .mint-divider,
  .cm-source-chip-edit { display: none !important; }

  /* Flatten dark hero so it prints cleanly */
  .hero-scoreboard,
  .hero-scoreboard .sb-bg {
    background: white !important;
    color: var(--green) !important;
  }
  .hero-scoreboard *,
  .hero-scoreboard .h1,
  .hero-scoreboard .h1 .green,
  .hero-scoreboard .h1 .orange,
  .sb-trust,
  .sb-trust span { color: var(--green) !important; }

  /* Disable hover lifts + box-shadows */
  .rebate-source-card,
  .dual-explainer-card,
  .step-card,
  .btn-primary { box-shadow: none !important; transform: none !important; }

  /* Print friendly footer mint stripe \u2014 remove */
  .site-footer::after,
  footer.site-footer::after { display: none !important; }

  /* Show URLs for important links so print captures the destination */
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; color: #666; }
  a[href^="mailto:"]::after { content: " (" attr(href) ")"; font-size: 10px; color: #666; }

  /* Force confirmation chip to print as simple text */
  .cm-source-chip {
    background: white !important;
    border: 1px solid #999 !important;
    box-shadow: none !important;
    animation: none !important;
  }
}

/* --- 5. Mobile :focus-visible state for sticky CTA --- */
.mobile-sticky-cta:focus-visible,
.mobile-sticky-cta button:focus-visible,
.mobile-sticky-cta a:focus-visible {
  outline: 3px solid var(--green-mid);
  outline-offset: 3px;
  box-shadow:
    0 14px 32px -10px rgba(76, 175, 121, 0.70),
    0 0 0 4px rgba(76, 175, 121, 0.18);
}

/* =========================================================
   ITER 2 — Hero motion polish (Phase 3k)
   - Item 1: Ambient drifting mint glow (60s + 75s loops)
   - Item 2: Multi-stop mint gradient in hero glow
   - Item 3: Larger mobile blueprint house
   - Refinement A: Choreographed motion (3.5s delay)
   - Refinement B: Softer card breathing (alpha 0.12, 7s cycle)
   - Refinement C: Subtle ticker shimmer (15s cycle, 4.5s delay)
   - Refinement D: Desktop scroll parallax on blueprint
   All animations respect prefers-reduced-motion.
   ========================================================= */

/* Item 1 + 2: Multi-stop ambient mint glow layers */
.hero-scoreboard .sb-ambient-glow {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 78% 22%,
      rgba(110, 229, 163, 0.30) 0%,
      rgba(76, 175, 121, 0.20) 40%,
      rgba(15, 61, 46, 0.05) 75%,
      transparent 100%);
  will-change: transform;
  pointer-events: none;
}
.hero-scoreboard .sb-ambient-glow-2 {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 45% 40% at 25% 65%,
      rgba(76, 175, 121, 0.18) 0%,
      rgba(76, 175, 121, 0.08) 40%,
      transparent 70%);
  will-change: transform;
  pointer-events: none;
}
@keyframes cmAmbientDrift {
  0%   { transform: translate(0, 0)    scale(1); }
  50%  { transform: translate(-3%, 2%) scale(1.04); }
  100% { transform: translate(2%, -1%) scale(1.02); }
}
@keyframes cmAmbientDrift2 {
  0%   { transform: translate(0, 0)    scale(1); }
  50%  { transform: translate(4%, -2%) scale(1.03); }
  100% { transform: translate(-2%, 3%) scale(1.01); }
}
@media (prefers-reduced-motion: no-preference) {
  /* Refinement A: stagger ambient drift to start AFTER blueprint draw-in (3.5s) */
  .hero-scoreboard .sb-ambient-glow {
    animation: cmAmbientDrift 60s ease-in-out 3.5s infinite alternate;
  }
  .hero-scoreboard .sb-ambient-glow-2 {
    animation: cmAmbientDrift2 75s ease-in-out 3.5s infinite alternate;
  }
}

/* Item 3: Larger mobile blueprint house with better positioning */
@media (max-width: 900px) {
  .hero-scoreboard .sb-blueprint-house {
    left: -10px !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%);
    width: 360px !important;
    height: 300px !important;
    opacity: 0.11 !important;
  }
}

/* Refinement B: Calculator card breathing (softer than Iter 1) */
@keyframes cmCardBreathe {
  0%, 100% { box-shadow: 0 32px 80px -28px rgba(0,0,0,0.5), 0 0 0 0 rgba(76,175,121,0.0); }
  50%      { box-shadow: 0 32px 80px -28px rgba(0,0,0,0.5), 0 0 32px 0 rgba(76,175,121,0.12); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-scoreboard .sb-card,
  .hero-scoreboard .sb-calculator-card,
  .hero-scoreboard #sb-calculator-card {
    animation: cmCardBreathe 7s ease-in-out 3.5s infinite;
    will-change: box-shadow;
  }
}

/* Refinement C: Subtle ticker shimmer every 15s */
@keyframes cmTickerShimmer {
  0%, 88%, 100% { box-shadow: inset 0 0 24px rgba(76,175,121,0.18), 0 0 36px rgba(76,175,121,0.28); }
  92%           { box-shadow: inset 0 0 30px rgba(110,229,163,0.32), 0 0 56px rgba(110,229,163,0.45); }
  96%           { box-shadow: inset 0 0 24px rgba(76,175,121,0.20), 0 0 40px rgba(76,175,121,0.32); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-scoreboard #sb-ticker {
    animation: cmTickerShimmer 15s ease-in-out 4.5s infinite;
    will-change: box-shadow;
  }
}

/* Refinement D: Desktop scroll parallax variable (JS sets --cm-bp-parallax) */
.hero-scoreboard .sb-blueprint-house {
  transform: translateY(var(--cm-bp-parallax, 0px));
}
@media (max-width: 900px) {
  /* Mobile: keep the existing translateY(-50%) centering, parallax disabled */
  .hero-scoreboard .sb-blueprint-house {
    transform: translateY(-50%) !important;
  }
}



/* === BYO (Bring Your Own Agent) callout band — Iter 2 === */
.byo-band {
  background: linear-gradient(180deg, #F2FAF5 0%, #E5F2EA 100%);
  padding: 88px 0;
  border-top: 1px solid rgba(76, 175, 121, 0.14);
  border-bottom: 1px solid rgba(76, 175, 121, 0.14);
  position: relative;
  overflow: hidden;
}
.byo-band::before {
  /* subtle dot grid texture, keeps energy without competing */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(76, 175, 121, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.55;
}
.byo-band > .container {
  position: relative;
  z-index: 1;
}
.byo-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.byo-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(76, 175, 121, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 6px 20px rgba(15, 61, 46, 0.06);
}
.byo-headline {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
  color: #0F3D2E;
  letter-spacing: -0.6px;
  margin: 0 0 16px;
  max-width: 620px;
}
.byo-sub {
  font-size: 18px;
  line-height: 1.55;
  color: #0F3D2E;
  opacity: 0.92;
  margin: 0 0 18px;
  max-width: 560px;
}
.byo-disclaimer {
  font-size: 14px;
  line-height: 1.45;
  color: #0F3D2E;
  opacity: 0.65;
  margin: 0;
  max-width: 540px;
}
@media (max-width: 720px) {
  .byo-band { padding: 56px 0; }
  .byo-inner { padding: 0 20px; }
  .byo-icon { width: 80px; height: 80px; margin-bottom: 20px; }
  .byo-icon svg { width: 44px; height: 44px; }
  .byo-headline { font-size: 28px; letter-spacing: -0.4px; margin-bottom: 12px; }
  .byo-sub { font-size: 16px; margin-bottom: 14px; }
  .byo-disclaimer { font-size: 13px; }
}
/* === end BYO band === */

/* === Iter 6 additions: steps mini-flow + motion (combines iter 3 + iter 5) === */

/* Steps from iter 3 */
.byo-steps {
  list-style: none;
  padding: 0;
  margin: 24px 0 18px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 720px;
}
.byo-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(76, 175, 121, 0.18);
  border-radius: 999px;
  font-size: 14px;
  color: #0F3D2E;
  position: relative;
}
.byo-steps li:hover { background: rgba(255, 255, 255, 0.82); }
.byo-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #4CAF79;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.byo-step-text { font-weight: 500; white-space: nowrap; }

@media (max-width: 720px) {
  .byo-steps { gap: 8px; }
  .byo-steps li { padding: 6px 12px 6px 6px; font-size: 13px; }
  .byo-step-num { width: 22px; height: 22px; font-size: 12px; }
}

/* Motion from iter 5 */
.byo-band::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 30% 50%, rgba(76, 175, 121, 0.10), transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(185, 224, 195, 0.18), transparent 50%);
  animation: byo-drift 22s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes byo-drift {
  0%   { transform: translate(-2%, 0) scale(1); }
  100% { transform: translate(2%, 1%) scale(1.05); }
}
.byo-icon { position: relative; transition: transform 0.4s ease; }
.byo-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%);
  background-size: 220% 220%;
  animation: byo-shimmer 4.5s linear infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}
@keyframes byo-shimmer {
  0%   { background-position: 200% 50%; }
  100% { background-position: -100% 50%; }
}
.byo-icon svg circle:nth-of-type(3) {
  transform-origin: 48px 20px;
  animation: byo-pulse 3.2s ease-in-out infinite;
}
@keyframes byo-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .byo-band::after, .byo-icon::before, .byo-icon svg circle:nth-of-type(3) {
    animation: none;
  }
}
/* === end iter 6 === */

/* === BYO (Bring Your Own Agent) form row - Phase 4a === */
.optc-byo-row {
  background: rgba(76, 175, 121, 0.05);
  border: 1px solid rgba(76, 175, 121, 0.18);
  border-radius: 14px;
  padding: 18px 18px 16px;
  margin: 18px 0;
}
.optc-byo-toggle {
  margin: 0;
}
.optc-byo-toggle strong {
  color: #0F3D2E;
}
.optc-byo-note {
  margin: 8px 0 0 28px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #0F3D2E;
  opacity: 0.75;
}
.optc-byo-fields {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(76, 175, 121, 0.3);
  display: grid;
  gap: 12px;
}
.optc-byo-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.optc-byo-field label {
  font-size: 14px;
  font-weight: 600;
  color: #0F3D2E;
}
.optc-byo-field input,
.optc-byo-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D1E4D9;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #FFFFFF;
  color: #0F3D2E;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.optc-byo-field input:focus,
.optc-byo-field select:focus {
  outline: none;
  border-color: #4CAF79;
  box-shadow: 0 0 0 3px rgba(76, 175, 121, 0.18);
}
.optc-byo-disclaimer {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #0F3D2E;
  opacity: 0.65;
}
.optc-byo-disclaimer em { font-style: normal; }

@media (max-width: 720px) {
  .optc-byo-row { padding: 14px 14px 12px; }
  .optc-byo-note { font-size: 13px; margin-left: 24px; }
}
/* === end BYO form === */

/* === Phase 4a: Existing agreement qualifier === */
.optc-agreement-row {
  background: rgba(76, 175, 121, 0.05);
  border: 1px solid rgba(76, 175, 121, 0.18);
  border-radius: 14px;
  padding: 18px;
  margin: 18px 0;
}
.optc-form-label {
  font-size: 15px;
  font-weight: 600;
  color: #0F3D2E;
  display: block;
  margin-bottom: 12px;
  line-height: 1.35;
}
.optc-radio-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.optc-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.optc-radio input[type=radio] {
  width: 18px;
  height: 18px;
  accent-color: #4CAF79;
  margin: 0;
  flex-shrink: 0;
}
.optc-radio span {
  font-size: 14.5px;
  color: #0F3D2E;
}
.optc-agreement-helper {
  font-size: 13px;
  color: #0F3D2E;
  opacity: 0.65;
  margin: 10px 0 0;
  line-height: 1.45;
}
.optc-agreement-followup {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(76, 175, 121, 0.3);
  display: grid;
  gap: 14px;
}
.optc-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.optc-form-field label {
  font-size: 14px;
  font-weight: 600;
  color: #0F3D2E;
}
.optc-form-field select,
.optc-form-field input {
  padding: 10px 12px;
  border: 1px solid #D1E4D9;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #FFFFFF;
  color: #0F3D2E;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.optc-form-field select:focus,
.optc-form-field input:focus {
  outline: none;
  border-color: #4CAF79;
  box-shadow: 0 0 0 3px rgba(76, 175, 121, 0.18);
}
.optc-agreement-note {
  font-size: 12.5px;
  color: #0F3D2E;
  opacity: 0.72;
  margin: 4px 0 0;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .optc-agreement-row { padding: 14px; }
  .optc-radio-group { gap: 14px; flex-direction: column; }
}
/* === end agreement qualifier === */

/* === Phase 4a: state availability soft-warning === */
.optc-state-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(232, 125, 46, 0.08);
  border: 1px solid rgba(232, 125, 46, 0.32);
  border-left: 4px solid #E87D2E;
  border-radius: 10px;
  margin: 0 0 18px;
}
.optc-state-notice-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(232, 125, 46, 0.18);
  color: #C25E15;
  display: flex;
  align-items: center;
  justify-content: center;
}
.optc-state-notice-icon svg { width: 16px; height: 16px; }
.optc-state-notice-text {
  font-size: 14px;
  line-height: 1.5;
  color: #0F3D2E;
}
.optc-state-notice-text strong { color: #C25E15; font-weight: 700; }
.optc-state-notice-name { font-weight: 700; color: #0F3D2E; }

@media (max-width: 720px) {
  .optc-state-notice { padding: 12px 14px; gap: 10px; }
  .optc-state-notice-text { font-size: 13.5px; }
}
/* === end state-availability notice === */
