:root {
  --ink: #17293a;
  --muted: #5f6f7b;
  --paper: #f7f3ee;
  --panel: #edf4f8;
  --teal: #496f7c;
  --teal-dark: #17293a;
  --coral: #c46b3c;
  --gold: #d79a5a;
  --line: #d7dde1;
  --cream: #fffdf8;
  --sky: #dfeaf1;
  --copper: #c46b3c;
  --shadow-soft: 0 22px 70px rgba(23, 41, 58, 0.12);
}

body {
  background:
    linear-gradient(180deg, rgba(223, 234, 241, 0.72), rgba(247, 243, 238, 0.92) 380px),
    var(--paper);
}

.site-header {
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 12px 35px rgba(23, 41, 58, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand img {
  display: block;
  width: clamp(148px, 16vw, 206px);
  height: auto;
}

nav {
  gap: clamp(12px, 2.2vw, 28px);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

nav a {
  color: rgba(23, 41, 58, 0.72);
  font-weight: 800;
}

nav a:hover {
  color: var(--copper);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(196, 107, 60, 0.42);
}

.hero {
  min-height: min(860px, calc(100svh - 68px));
  align-items: end;
  justify-items: center;
  padding: clamp(420px, 60svh, 600px) clamp(18px, 5vw, 64px) 116px;
  background: #f6f2ec;
}

.hero-bg {
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
}

.hero picture {
  display: contents;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.20) 0%, rgba(255, 253, 248, 0.04) 52%, rgba(23, 41, 58, 0.58) 100%),
    linear-gradient(90deg, rgba(255, 253, 248, 0.18), rgba(255, 253, 248, 0.00) 45%, rgba(23, 41, 58, 0.10));
}

.hero-copy {
  max-width: 760px;
  width: min(760px, 100%);
  text-align: center;
  color: white;
}

.hero-copy .eyebrow {
  display: none;
  color: #fff2df;
  letter-spacing: 0.2em;
}

.hero-copy .lede {
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.9);
}

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

.button,
button,
.card-bottom a,
.tool-next-steps a {
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.button.primary,
button {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 10px 28px rgba(23, 41, 58, 0.18);
}

.button.primary:hover,
button:hover {
  background: #21384c;
}

.button.secondary {
  border-color: rgba(23, 41, 58, 0.26);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.58);
}

.hero-copy .button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.button.inverse {
  color: var(--ink);
}

.trust-bar {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(23, 41, 58, 0.30);
  box-shadow: 0 18px 48px rgba(23, 41, 58, 0.16);
}

.hero-stats {
  bottom: 22px;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-stats span {
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(23, 41, 58, 0.50);
}

.hero-stats strong {
  color: #fff2df;
}

.photo-credit {
  display: none;
}

.signup-band,
.calculator-strip {
  background:
    linear-gradient(135deg, rgba(23, 41, 58, 0.98), rgba(55, 92, 107, 0.94)),
    var(--ink);
}

.signup-band::before,
.calculator-strip::before {
  content: "";
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  background: url("/assets/brand/baynest-icon.png") center / contain no-repeat;
}

.trust-section,
.section-head,
.methodology-section,
.city-table-wrap,
.blog-shell,
.article-shell {
  position: relative;
}

.section-head::before,
.article-shell article::before {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  background: url("/assets/brand/baynest-icon.png") center / contain no-repeat;
}

.section-head h1,
.section-head h2,
.article-shell h1 {
  color: var(--ink);
}

.eyebrow,
.product-meta,
.blog-row span {
  color: var(--copper);
}

.trust-grid article,
.method-grid article,
.tool-form,
.tool-results,
.blog-row,
.article-cta,
.product-card {
  border-color: rgba(23, 41, 58, 0.12);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 12px 34px rgba(23, 41, 58, 0.06);
}

.product-card {
  position: relative;
}

.product-card::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 184px;
  width: 32px;
  height: 32px;
  background: url("/assets/brand/baynest-icon.png") center / contain no-repeat;
  opacity: 0.88;
}

.product-card.featured {
  border-color: rgba(196, 107, 60, 0.44);
  box-shadow: var(--shadow-soft);
}

.product-media {
  background:
    linear-gradient(135deg, rgba(223, 234, 241, 0.78), rgba(255, 253, 248, 0.92));
  border-bottom-color: rgba(23, 41, 58, 0.10);
}

.best-for {
  background: rgba(223, 234, 241, 0.82);
  color: var(--ink);
}

.card-bottom a,
.tool-next-steps a,
.related-links a {
  color: var(--ink);
}

.card-bottom a:hover,
.tool-next-steps a:hover,
.related-links a:hover {
  color: var(--copper);
}

.city-table th {
  background: var(--ink);
}

.verdict.good {
  background: #e0f0e7;
}

.verdict.near {
  background: #fff0d5;
}

.verdict.bad {
  background: #f7ded6;
}

.article-cta {
  border-left: 4px solid var(--copper);
}

.site-footer {
  align-items: center;
  background: rgba(255, 253, 248, 0.92);
}

.footer-brand img {
  display: block;
  width: 150px;
  height: auto;
}

.hero-refresh {
  min-height: min(900px, calc(100svh - 68px));
  align-items: center;
  justify-items: stretch;
  padding: clamp(92px, 11vw, 152px) clamp(18px, 5vw, 72px) clamp(72px, 9vw, 126px);
  background: #132435;
}

.hero-refresh .hero-bg {
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.07) contrast(1.04);
}

.hero-refresh .hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 21, 32, 0.88) 0%, rgba(12, 28, 42, 0.70) 36%, rgba(13, 34, 50, 0.26) 66%, rgba(13, 34, 50, 0.04) 100%),
    linear-gradient(0deg, rgba(9, 21, 31, 0.68) 0%, rgba(9, 21, 31, 0.12) 52%, rgba(255, 253, 248, 0.10) 100%);
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.hero-refresh .hero-copy {
  width: min(680px, 100%);
  max-width: 680px;
  text-align: left;
  color: white;
}

.hero-lockup {
  display: block;
  width: clamp(190px, 21vw, 292px);
  height: auto;
  margin: 0 0 clamp(18px, 3vw, 30px);
  padding: 12px 14px;
  border: 1px solid rgba(255, 253, 248, 0.36);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 18px 54px rgba(8, 21, 32, 0.20);
  backdrop-filter: blur(14px);
}

.hero-refresh .hero-copy .eyebrow {
  display: block;
  color: #f7c99c;
  letter-spacing: 0.13em;
}

.hero-refresh h1 {
  max-width: 760px;
  color: white;
  font-size: 5.6rem;
  line-height: 0.96;
  text-shadow: 0 16px 48px rgba(8, 21, 32, 0.48);
}

.hero-refresh .hero-copy .lede {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 253, 248, 0.90);
  font-size: 1.24rem;
}

.hero-refresh .hero-actions {
  margin-top: 24px;
}

.hero-refresh .hero-actions .button {
  min-height: 48px;
  padding-inline: 18px;
}

.hero-refresh .trust-bar {
  color: rgba(255, 253, 248, 0.92);
  background: rgba(255, 253, 248, 0.12);
  border-color: rgba(255, 253, 248, 0.24);
}

.hero-refresh .hero-stats {
  display: none;
}

.hero-market-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  color: white;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 8px;
  background: rgba(12, 28, 42, 0.46);
  box-shadow: 0 24px 68px rgba(8, 21, 32, 0.30);
  backdrop-filter: blur(16px);
}

.hero-market-panel > span,
.hero-market-panel > strong {
  grid-column: 1 / -1;
}

.hero-market-panel > span {
  color: #f7c99c;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-market-panel > strong {
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-market-panel div {
  display: grid;
  gap: 2px;
  min-height: 76px;
  align-content: center;
  padding: 10px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.10);
}

.hero-market-panel b {
  color: #fff2df;
  font-size: 1.55rem;
  line-height: 1;
}

.hero-market-panel small {
  color: rgba(255, 253, 248, 0.78);
}

.tool-hero {
  position: relative;
  min-height: clamp(460px, 56svh, 660px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #132435;
}

.tool-hero picture,
.tool-hero img:not(.tool-hero-mark) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tool-hero img:not(.tool-hero-mark) {
  z-index: -2;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(1.04);
}

.tool-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 21, 32, 0.88), rgba(8, 21, 32, 0.52) 48%, rgba(8, 21, 32, 0.08)),
    linear-gradient(0deg, rgba(8, 21, 32, 0.64), rgba(8, 21, 32, 0.04) 58%);
}

.tool-hero-copy {
  max-width: 860px;
  padding-bottom: clamp(86px, 13vw, 150px);
  color: white;
}

.tool-hero-copy::before {
  display: none;
}

.tool-hero-mark {
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(8, 21, 32, 0.34));
}

.tool-hero-copy .eyebrow,
.tool-hero-copy h1,
.tool-hero-copy p {
  color: white;
}

.tool-hero-copy .eyebrow {
  color: #f7c99c;
}

.tool-hero-copy h1 {
  max-width: 760px;
  font-size: 5.1rem;
  text-shadow: 0 16px 44px rgba(8, 21, 32, 0.42);
}

.tool-hero-copy p {
  max-width: 720px;
  color: rgba(255, 253, 248, 0.90);
}

.advanced-tool-shell {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.25fr);
  gap: clamp(18px, 3vw, 30px);
}

.advanced-tool-form,
.advanced-tool-results {
  border-radius: 8px;
}

.advanced-tool-form {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.advanced-tool-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(23, 41, 58, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 12px 34px rgba(23, 41, 58, 0.06);
}

.advanced-tool-form legend {
  padding: 0 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advanced-tool-form label {
  min-width: 0;
}

.advanced-tool-form input,
.advanced-tool-form select {
  font-weight: 800;
}

.advanced-tool-results {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.buying-power-hero {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(23, 41, 58, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 234, 241, 0.92), rgba(255, 253, 248, 0.96));
}

.buying-power-hero span,
.buying-power-hero small {
  display: block;
  color: var(--muted);
}

.buying-power-hero strong {
  display: block;
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: 3.4rem;
  line-height: 1;
}

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

.advanced-result-grid div {
  min-height: 96px;
}

.advanced-result-grid strong {
  font-size: 1.3rem;
  overflow-wrap: anywhere;
}

.payment-breakdown,
.action-plan {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(23, 41, 58, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
}

.payment-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.payment-breakdown h2,
.action-plan h2 {
  grid-column: 1 / -1;
  font-size: 1rem;
  line-height: 1.2;
}

.payment-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
}

.payment-breakdown strong {
  color: var(--ink);
}

.action-plan ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.action-plan li + li {
  margin-top: 8px;
}

@media (max-width: 920px) {
  .hero {
    min-height: 820px;
    padding-top: 480px;
  }

  .hero-refresh {
    padding: 92px clamp(18px, 5vw, 56px) 64px;
  }

  .hero-inner,
  .advanced-tool-shell {
    grid-template-columns: 1fr;
  }

  .hero-market-panel {
    max-width: 560px;
  }

  .advanced-tool-results {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 8px;
    padding: 10px 18px;
  }

  .brand img {
    width: 150px;
  }

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    font-size: 0.64rem;
    letter-spacing: 0.04em;
  }

  nav a {
    min-height: 34px;
    justify-content: flex-start;
    min-width: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    padding-left: 8px;
    text-align: left;
    white-space: normal;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .tool-page .section-head.compact,
  .article-shell {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .hero {
    min-height: 760px;
    padding: 430px 18px 184px;
  }

  .hero-bg {
    object-position: left top;
  }

  .hero-refresh {
    min-height: 760px;
    align-items: end;
    padding: 92px 18px 34px;
  }

  .hero-refresh .hero-bg {
    object-position: center center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.05) 0%, rgba(255, 253, 248, 0.00) 55%, rgba(23, 41, 58, 0.70) 100%);
  }

  .hero-refresh .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 20, 30, 0.30) 0%, rgba(7, 20, 30, 0.18) 38%, rgba(7, 20, 30, 0.86) 100%),
      linear-gradient(90deg, rgba(7, 20, 30, 0.58), rgba(7, 20, 30, 0.22));
  }

  .hero-copy {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    text-align: left;
  }

  .hero-refresh .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero-lockup {
    width: 178px;
    margin-bottom: 16px;
    padding: 9px 10px;
  }

  .hero-refresh h1 {
    max-width: 320px;
    font-size: 2.45rem;
    line-height: 0.98;
  }

  .hero-refresh .hero-copy .eyebrow {
    max-width: 320px;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    white-space: normal;
  }

  .hero-copy .lede {
    display: none;
  }

  .hero-refresh .hero-copy .lede {
    display: block;
    max-width: 320px;
    margin-top: 14px;
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 100%;
    min-width: 0;
    white-space: normal;
  }

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

  .hero-stats span {
    min-height: 54px;
    font-size: 0.88rem;
  }

  .hero-market-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 320px;
    padding: 12px;
  }

  .hero-market-panel > strong {
    display: none;
  }

  .hero-market-panel div {
    min-height: 58px;
    padding: 8px;
  }

  .hero-market-panel b {
    font-size: 1.15rem;
  }

  .hero-market-panel small {
    font-size: 0.72rem;
  }

  .tool-hero {
    min-height: 620px;
  }

  .tool-hero img:not(.tool-hero-mark) {
    object-position: center center;
  }

  .tool-hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 20, 30, 0.25) 0%, rgba(7, 20, 30, 0.12) 38%, rgba(7, 20, 30, 0.88) 100%),
      linear-gradient(90deg, rgba(7, 20, 30, 0.56), rgba(7, 20, 30, 0.18));
  }

  .tool-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0 24px 42px;
  }

  .tool-hero-copy h1 {
    width: auto !important;
    max-width: 320px !important;
    font-size: 2.35rem !important;
  }

  .tool-hero-copy p {
    width: auto !important;
    max-width: 300px !important;
    font-size: 0.92rem;
  }

  .tool-hero-mark {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
  }

  .advanced-tool-shell {
    margin: 0 18px;
  }

  .advanced-tool-form fieldset {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .advanced-tool-results {
    padding: 16px;
  }

  .advanced-result-grid,
  .payment-breakdown {
    grid-template-columns: 1fr;
  }

  .tool-page .section-head h1,
  .article-shell h1 {
    font-size: 1.78rem;
    line-height: 1.04;
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .tool-page .section-head p,
  .article-description {
    font-size: 1rem;
    width: calc(100vw - 64px) !important;
    max-width: calc(100vw - 64px) !important;
    overflow-wrap: break-word;
  }

  .advanced-tool-page .tool-hero .section-head.tool-hero-copy p {
    width: 300px !important;
    max-width: 300px !important;
    font-size: 0.92rem;
  }

  .trust-bar {
    display: block;
    width: min(100%, 320px);
    font-size: 0.78rem;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .photo-credit {
    display: none;
  }

  .signup-band::before,
  .calculator-strip::before {
    width: 36px;
    height: 36px;
  }
}

/* Financial editorial refresh */
:root {
  --editorial-ink: #0f0e0c;
  --editorial-fog: #f2efe8;
  --editorial-fog-mid: #e8e3d8;
  --editorial-sand: #c9bfa8;
  --editorial-rust: #b84d2a;
  --editorial-copper: #c46b3c;
  --editorial-teal: #1d5c58;
  --editorial-gold: #c4973a;
  --editorial-white: #faf9f5;
}

body,
body * {
  letter-spacing: 0;
}

body {
  background: var(--editorial-fog);
  color: var(--editorial-ink);
  font-family: "Lora", Georgia, serif;
}

.site-header {
  min-height: 68px;
  padding: 14px clamp(18px, 5vw, 48px);
  background: rgba(242, 239, 232, 0.96);
  border-bottom: 1px solid var(--editorial-sand);
  box-shadow: none;
}

.brand img {
  width: 164px;
}

nav {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

nav a {
  color: rgba(15, 14, 12, 0.62);
  font-weight: 500;
}

nav a:hover {
  color: var(--editorial-rust);
}

.button,
button,
.product-link,
.btn-white,
.mini-upgrade {
  border-radius: 0;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
}

.button.primary,
button {
  background: var(--editorial-ink);
  border-color: var(--editorial-ink);
  box-shadow: none;
}

.button.primary:hover,
button:hover {
  background: var(--editorial-rust);
  border-color: var(--editorial-rust);
}

.button.secondary {
  background: transparent;
  border-color: var(--editorial-sand);
  color: var(--editorial-ink);
}

.editorial-home {
  background: var(--editorial-fog);
  overflow: hidden;
}

.editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.95fr);
  min-height: calc(100svh - 68px);
  border-bottom: 1px solid var(--editorial-sand);
}

.editorial-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(24px, 5vw, 72px);
}

.editorial-kicker,
.section-label,
.products-header span,
.product-num,
.product-type,
.market-board-top span,
.market-note,
.bundle-rate span,
.bundle-rate em,
.tool-data-card span,
.tool-data-card small,
.tool-data-card p {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
}

.editorial-kicker {
  position: relative;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 24px;
  color: var(--editorial-rust);
}

.editorial-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.editorial-hero h1,
.editorial-why h2,
.section-products h2,
.section-cta h2,
.tool-editorial-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  line-height: 0.98;
}

.editorial-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 5.4rem;
}

.editorial-hero h1 em,
.section-cta h2 em {
  color: var(--editorial-rust);
  font-style: italic;
}

.editorial-lede {
  max-width: 600px;
  margin: 28px 0 0;
  color: rgba(15, 14, 12, 0.68);
  font-size: 1.15rem;
  line-height: 1.75;
}

.editorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.editorial-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--editorial-sand);
}

.editorial-stats div {
  min-width: 0;
  padding-right: 16px;
  border-right: 1px solid var(--editorial-fog-mid);
}

.editorial-stats div:last-child {
  border-right: 0;
}

.editorial-stats strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
}

.editorial-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(15, 14, 12, 0.5);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.hero-email-card {
  display: grid;
  gap: 16px;
  max-width: 740px;
  margin-top: 30px;
  padding: clamp(18px, 2.5vw, 26px);
  background: rgba(255, 253, 248, 0.82);
  box-shadow:
    0 0 0 1px rgba(23, 41, 58, 0.14),
    0 26px 70px rgba(23, 41, 58, 0.1);
}

.hero-email-card > div:first-child,
.hero-email-success {
  display: grid;
  gap: 8px;
}

.hero-email-card span,
.hero-email-form p,
.hero-email-success span {
  color: rgba(23, 41, 58, 0.62);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-email-card strong {
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
}

.hero-email-card small {
  max-width: 620px;
  color: rgba(23, 41, 58, 0.68);
  font-size: 0.96rem;
  line-height: 1.55;
}

.hero-email-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.hero-email-form input[type="email"] {
  min-height: 48px;
  border: 1px solid rgba(23, 41, 58, 0.18);
  border-radius: 0;
  background: #fffdf8;
  color: var(--editorial-ink);
  font: 600 0.98rem/1 "Lora", Georgia, serif;
}

.hero-email-form button,
.hero-email-success a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0 18px;
  background: var(--editorial-ink);
  color: var(--editorial-white);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-email-form p {
  grid-column: 1 / -1;
  margin: 0;
}

.hero-email-success[hidden] {
  display: none;
}

.market-board {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(28px, 5vw, 56px);
  background:
    radial-gradient(circle at 80% 20%, rgba(184, 77, 42, 0.16), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(29, 92, 88, 0.22), transparent 36%),
    var(--editorial-ink);
  color: var(--editorial-fog);
}

.market-board-top {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.market-board-top span,
.panel-title {
  color: var(--editorial-sand);
}

.market-board-top strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;
}

.market-table {
  border-top: 1px solid rgba(201, 191, 168, 0.18);
}

.market-row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(82px, auto) minmax(68px, auto);
  gap: 16px;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid rgba(201, 191, 168, 0.14);
}

.market-row span,
.market-row strong,
.market-row em {
  min-width: 0;
}

.market-head {
  min-height: 38px;
  color: rgba(201, 191, 168, 0.62);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.market-row strong,
.city-median {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: right;
}

.market-row em {
  justify-self: end;
  min-width: 66px;
  padding: 4px 8px;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  font-style: normal;
  text-align: center;
  text-transform: uppercase;
}

.signal-hot {
  background: rgba(184, 77, 42, 0.28);
  color: #e8855e;
}

.signal-value {
  background: rgba(29, 92, 88, 0.34);
  color: #65beb8;
}

.market-note {
  margin: 28px 0 0;
  color: rgba(242, 239, 232, 0.52);
  line-height: 1.7;
  text-transform: none;
}

.ticker-wrap {
  overflow: hidden;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 191, 168, 0.22);
  background: var(--editorial-ink);
}

.ticker {
  display: flex;
  width: max-content;
  animation: baynestTicker 34s linear infinite;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 42px;
  color: var(--editorial-sand);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--editorial-rust);
}

@keyframes baynestTicker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.ai-moat-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  width: min(1220px, calc(100% - 36px));
  margin: clamp(50px, 7vw, 92px) auto;
  padding: clamp(34px, 5vw, 58px) 0;
  border-top: 1px solid rgba(23, 41, 58, 0.18);
  border-bottom: 1px solid rgba(23, 41, 58, 0.18);
}

.ai-moat-section h2 {
  max-width: 680px;
  margin: 0;
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.96;
}

.ai-moat-section p {
  max-width: 720px;
  color: rgba(23, 41, 58, 0.72);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.72;
}

.ai-moat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  align-self: stretch;
  background: rgba(23, 41, 58, 0.16);
}

.ai-moat-grid article {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: clamp(20px, 3vw, 28px);
  background: rgba(255, 253, 248, 0.9);
}

.ai-moat-grid span,
.product-moat-strip strong {
  color: var(--editorial-copper);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.ai-moat-grid strong {
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  line-height: 1;
}

.ai-moat-grid p {
  margin: 0;
  color: rgba(23, 41, 58, 0.68);
  font-size: 0.98rem;
  line-height: 1.62;
}

.editorial-why,
.section-products {
  max-width: 1220px;
  margin: 0 auto;
  padding: 92px clamp(22px, 5vw, 48px);
}

.editorial-why {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 70px;
}

.section-label {
  position: sticky;
  top: 98px;
  align-self: start;
  color: var(--editorial-rust);
}

.why-body h2 {
  max-width: 820px;
  margin: 0 0 28px;
  font-size: 3.35rem;
}

.why-body p {
  max-width: 820px;
  color: rgba(15, 14, 12, 0.68);
  font-size: 1.08rem;
  line-height: 1.82;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  background: transparent;
}

.principles-grid article {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 24px;
  background: var(--editorial-fog);
  box-shadow: 0 0 0 1px var(--editorial-sand);
}

.principles-grid strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
}

.principles-grid span {
  color: rgba(15, 14, 12, 0.62);
}

.products-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--editorial-sand);
}

.products-header h2 {
  margin: 0;
  font-size: 3rem;
}

.products-header span {
  color: rgba(15, 14, 12, 0.48);
}

.product-source {
  max-width: 760px;
  margin: 0 0 34px;
  color: rgba(15, 14, 12, 0.56);
  font-size: 0.86rem;
  line-height: 1.7;
}

.product-moat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -10px 0 34px;
  background: rgba(23, 41, 58, 0.16);
}

.product-moat-strip span {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.88);
  color: rgba(23, 41, 58, 0.68);
  font-size: 0.94rem;
  line-height: 1.5;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: transparent;
}

.product-card,
.product-card.featured {
  position: relative;
  display: flex;
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.product-card {
  flex-direction: column;
  min-height: 370px;
  padding: 34px;
  background: var(--editorial-fog);
  box-shadow: 0 0 0 1px var(--editorial-sand);
}

.product-card:hover {
  background: var(--editorial-white);
}

.product-card::after {
  display: none;
}

.product-card.featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.2fr 1fr 0.72fr;
  gap: 44px;
  min-height: auto;
  padding: 44px;
  background: var(--editorial-ink);
  box-shadow: none;
  color: var(--editorial-fog);
}

.product-card h3,
.product-card p,
.product-card .product-meta,
.product-card .card-bottom {
  margin-left: 0;
  margin-right: 0;
}

.bundle-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  padding: 5px 10px;
  background: var(--editorial-rust);
  color: white;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.product-num {
  margin-bottom: 18px;
  color: rgba(15, 14, 12, 0.38);
}

.featured .product-num {
  color: rgba(201, 191, 168, 0.72);
}

.product-type {
  margin-bottom: 10px;
  color: var(--editorial-teal);
}

.product-name {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.18;
}

.featured .product-name {
  font-size: 2.3rem;
}

.product-desc {
  flex: 1;
  margin: 0 0 28px;
  color: rgba(15, 14, 12, 0.62);
  font-size: 0.98rem;
  line-height: 1.72;
}

.featured .product-desc {
  color: rgba(242, 239, 232, 0.66);
  font-size: 1.08rem;
}

.product-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.product-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(15, 14, 12, 0.14);
  color: rgba(15, 14, 12, 0.66);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.featured .product-proof span {
  border-color: rgba(201, 191, 168, 0.26);
  color: rgba(242, 239, 232, 0.72);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.product-price {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.featured .product-price,
.bundle-rate strong {
  color: var(--editorial-gold);
}

.featured .product-price {
  font-size: 3.6rem;
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--editorial-sand);
  color: var(--editorial-ink);
  text-decoration: none;
}

.featured .product-link {
  color: var(--editorial-fog);
  border-color: rgba(201, 191, 168, 0.34);
}

.product-link:hover {
  background: var(--editorial-rust);
  border-color: var(--editorial-rust);
  color: white;
}

.featured-includes {
  display: grid;
  gap: 10px;
}

.featured-includes span {
  padding: 14px 16px;
  border-left: 2px solid rgba(201, 191, 168, 0.32);
  background: rgba(242, 239, 232, 0.06);
  color: rgba(242, 239, 232, 0.72);
}

.bundle-rate {
  align-self: center;
}

.bundle-rate strong {
  display: block;
  margin: 6px 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.bundle-rate em {
  display: block;
  color: rgba(201, 191, 168, 0.68);
  font-style: normal;
  text-transform: none;
}

.section-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  gap: 72px;
  align-items: center;
  padding: 92px clamp(22px, 5vw, 64px);
  background: var(--editorial-teal);
  color: var(--editorial-white);
}

.cta-left {
  max-width: 660px;
}

.section-cta .editorial-kicker {
  color: rgba(250, 249, 245, 0.7);
}

.section-cta .editorial-kicker::before {
  background: rgba(250, 249, 245, 0.7);
}

.section-cta h2 {
  margin: 0 0 22px;
  font-size: 3.7rem;
}

.section-cta h2 em {
  color: rgba(250, 249, 245, 0.54);
}

.section-cta p {
  color: rgba(250, 249, 245, 0.72);
  font-size: 1.06rem;
  line-height: 1.75;
}

.trust-faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 64px);
  width: min(1220px, calc(100% - 36px));
  margin: clamp(50px, 7vw, 90px) auto;
  padding: clamp(34px, 5vw, 54px) 0;
  border-top: 1px solid rgba(23, 41, 58, 0.18);
  border-bottom: 1px solid rgba(23, 41, 58, 0.18);
}

.trust-faq-section h2 {
  max-width: 620px;
  margin: 0;
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 4.6vw, 4.7rem);
  line-height: 0.98;
}

.trust-faq-section p {
  color: rgba(23, 41, 58, 0.72);
  font-size: 1.04rem;
  line-height: 1.72;
}

.trust-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(23, 41, 58, 0.16);
}

.trust-faq-grid article {
  display: grid;
  gap: 12px;
  min-height: 190px;
  align-content: start;
  padding: clamp(20px, 3vw, 28px);
  background: rgba(255, 253, 248, 0.9);
}

.trust-faq-grid strong {
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.02;
}

.trust-faq-grid p {
  margin: 0;
  color: rgba(23, 41, 58, 0.68);
  font-size: 0.98rem;
  line-height: 1.62;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 26px;
  padding: 0 20px;
  background: var(--editorial-white);
  color: var(--editorial-teal);
  text-decoration: none;
}

.calc-widget {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(250, 249, 245, 0.28);
  background: rgba(250, 249, 245, 0.08);
}

.calc-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calc-widget h3 {
  margin: 0 0 8px;
  color: var(--editorial-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
}

.calc-widget label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: rgba(250, 249, 245, 0.72);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.calc-widget input,
.calc-widget select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(250, 249, 245, 0.24);
  border-radius: 0;
  padding: 0 12px;
  background: rgba(15, 14, 12, 0.24);
  color: var(--editorial-white);
  font: 500 1rem "DM Mono", ui-monospace, monospace;
}

.calc-widget select option {
  color: var(--editorial-ink);
}

.mini-result {
  display: grid;
  gap: 6px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(250, 249, 245, 0.22);
}

.mini-result span,
.mini-result small {
  color: rgba(250, 249, 245, 0.66);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.75rem;
}

.mini-result strong {
  color: var(--editorial-gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.8rem;
  line-height: 1;
}

.mini-upgrade {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--editorial-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 249, 245, 0.36);
}

.editorial-signup {
  background: var(--editorial-ink);
}

.editorial-signup h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
}

.tool-editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 64px;
  align-items: center;
  min-height: 560px;
  padding: 76px clamp(22px, 5vw, 64px);
  overflow: hidden;
  border-bottom: 1px solid var(--editorial-sand);
  background:
    linear-gradient(115deg, rgba(242, 239, 232, 0.96), rgba(242, 239, 232, 0.80)),
    url("/assets/brand/baynest-brand-poster-desktop.png") center / cover;
}

.tool-editorial-hero .tool-hero-copy {
  max-width: 760px;
  padding: 0;
  color: var(--editorial-ink);
}

.tool-editorial-hero .tool-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--editorial-ink);
  font-size: 4.7rem;
  text-shadow: none;
}

.tool-editorial-hero .tool-hero-copy p:not(.editorial-kicker) {
  max-width: 640px;
  margin-top: 24px;
  color: rgba(15, 14, 12, 0.68);
  font-size: 1.12rem;
}

.tool-data-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(201, 191, 168, 0.42);
  background: rgba(15, 14, 12, 0.92);
  color: var(--editorial-fog);
}

.tool-data-card > span {
  color: var(--editorial-sand);
}

.tool-data-card > strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;
}

.tool-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(201, 191, 168, 0.2);
}

.tool-data-grid div {
  display: grid;
  min-height: 92px;
  align-content: center;
  gap: 4px;
  padding: 14px;
  background: rgba(242, 239, 232, 0.07);
}

.tool-data-grid b {
  color: var(--editorial-gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
}

.tool-data-card p {
  margin: 0;
  color: rgba(242, 239, 232, 0.58);
  line-height: 1.65;
  text-transform: none;
}

.advanced-tool-shell {
  margin-top: -44px;
}

.advanced-tool-form fieldset,
.advanced-tool-results,
.methodology-section {
  border-radius: 0;
  background: rgba(250, 249, 245, 0.94);
}

.advanced-tool-form legend,
.advanced-tool-form label,
.result-grid span,
.buying-power-hero span,
.buying-power-hero small {
  font-family: "DM Mono", ui-monospace, monospace;
}

.buying-power-hero {
  border-radius: 0;
  background: var(--editorial-ink);
}

.buying-power-hero span,
.buying-power-hero small {
  color: rgba(242, 239, 232, 0.62);
}

.buying-power-hero strong {
  color: var(--editorial-gold);
  font-family: "Playfair Display", Georgia, serif;
}

.site-footer {
  background: var(--editorial-fog);
  border-top-color: var(--editorial-sand);
}

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

@media (max-width: 980px) {
  .editorial-hero,
  .editorial-why,
  .section-cta,
  .tool-editorial-hero {
    grid-template-columns: 1fr;
  }

  .editorial-hero {
    min-height: auto;
  }

  .market-board {
    min-height: 620px;
  }

  .editorial-stats,
  .principles-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card.featured {
    grid-template-columns: 1fr;
  }

  .section-label {
    position: static;
  }
}

@media (max-width: 640px) {
  html,
  body,
  .editorial-home,
  .tool-page {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    gap: 10px;
  }

  .brand img {
    width: 146px;
  }

  .editorial-hero,
  .market-board,
  .editorial-why,
  .section-products,
  .section-cta,
  .tool-editorial-hero {
    min-width: 0;
    max-width: 100%;
  }

  .editorial-hero-copy {
    padding: 52px 20px;
  }

  .editorial-hero-copy > *,
  .market-board > *,
  .tool-editorial-hero .tool-hero-copy,
  .tool-data-card {
    width: 100%;
    max-width: 350px;
  }

  .editorial-hero h1,
  .tool-editorial-hero .tool-hero-copy h1 {
    max-width: 350px;
    font-size: 2.65rem;
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .editorial-lede,
  .why-body p,
  .section-cta p {
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .editorial-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .editorial-actions .button,
  .btn-white {
    width: 100%;
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
    white-space: normal;
  }

  .editorial-stats,
  .principles-grid,
  .products-grid,
  .tool-data-grid {
    grid-template-columns: 1fr;
  }

  .editorial-stats strong {
    font-size: 2rem;
  }

  .editorial-stats div {
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--editorial-fog-mid);
  }

  .editorial-stats div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .market-board {
    min-height: auto;
    align-items: flex-start;
    padding: 42px 20px;
  }

  .market-board-top strong {
    font-size: 1.65rem;
    overflow-wrap: break-word;
  }

  .market-row {
    grid-template-columns: minmax(0, 1fr) minmax(68px, auto) minmax(52px, auto);
    gap: 8px;
  }

  .market-row span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .market-row strong {
    font-size: 0.78rem;
  }

  .market-row em {
    min-width: 52px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 0.58rem;
  }

  .editorial-why,
  .section-products,
  .section-cta {
    padding: 58px 20px;
  }

  .why-body h2,
  .products-header h2,
  .section-cta h2 {
    font-size: 2.25rem;
  }

  .products-header {
    align-items: start;
    flex-direction: column;
  }

  .product-card,
  .product-card.featured {
    padding: 28px 22px;
  }

  .featured .product-price,
  .bundle-rate strong {
    font-size: 3rem;
  }

  .product-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-link {
    width: 100%;
  }

  .section-cta {
    gap: 34px;
  }

  .calc-field-grid {
    grid-template-columns: 1fr;
  }

  .calc-widget {
    padding: 22px;
  }

  .mini-result strong {
    font-size: 2.25rem;
    overflow-wrap: anywhere;
  }

  .tool-editorial-hero {
    min-height: auto;
    gap: 30px;
    justify-items: start;
    padding: 54px 20px 84px;
  }

  .tool-data-card {
    width: 100%;
    padding: 22px;
  }

  .advanced-tool-shell {
    margin: -48px 18px 0;
  }
}

/* Audit hardening: final mobile overrides beat legacy cascade. */
@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
  }

  .site-header nav a {
    min-width: 0;
    min-height: 44px;
    justify-content: flex-start;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .editorial-hero-copy {
    padding: 44px 20px;
  }

  .editorial-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 36px;
  }

  .editorial-stats div {
    min-height: 86px;
    padding: 0 12px 14px 0;
    border-right: 1px solid var(--editorial-fog-mid);
    border-bottom: 1px solid var(--editorial-fog-mid);
  }

  .editorial-stats div:nth-child(2n) {
    padding-right: 0;
    border-right: 0;
  }

  .editorial-stats div:nth-last-child(-n + 2) {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .market-board {
    padding: 36px 20px;
  }

  .tool-editorial-hero {
    gap: 22px;
    padding: 40px 20px 56px;
    background:
      linear-gradient(115deg, rgba(242, 239, 232, 0.96), rgba(242, 239, 232, 0.80)),
      url("/assets/brand/baynest-brand-poster-mobile.png") center / cover;
  }

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

  .tool-data-grid div {
    min-height: 68px;
    padding: 10px 8px;
  }

  .tool-data-card > strong {
    font-size: 1.45rem;
  }

  .advanced-tool-shell {
    grid-template-columns: minmax(0, 1fr);
    margin: -28px 16px 0;
  }

  .advanced-tool-form,
  .advanced-tool-results,
  .advanced-tool-form fieldset {
    width: 100%;
    min-width: 0;
  }

  .product-link,
  .mini-upgrade,
  .tool-next-steps a {
    min-height: 44px;
  }
}

@media (max-width: 360px) {
  .editorial-hero h1,
  .tool-editorial-hero .tool-hero-copy h1 {
    font-size: 2.35rem;
  }

  .market-row {
    grid-template-columns: minmax(0, 1fr) minmax(62px, auto) minmax(50px, auto);
    gap: 6px;
  }

  .market-row em {
    min-width: 50px;
  }
}

/* Final premium pass: larger lockup, denser editorial sections, and balanced product cards. */
.site-header {
  min-height: 86px;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}

.brand {
  line-height: 0;
}

.brand img[src*="baynest-logo"] {
  width: clamp(218px, 17vw, 276px);
  height: auto;
}

.footer-brand img[src*="baynest-logo"] {
  width: 164px;
  height: auto;
}

.editorial-why,
.section-products {
  padding-top: clamp(64px, 7vw, 84px);
  padding-bottom: clamp(66px, 7vw, 88px);
}

.editorial-why {
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 46px);
}

.section-label {
  font-size: 0.78rem;
  line-height: 1.2;
}

.why-body h2 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 4.2vw, 3.65rem);
  line-height: 0.98;
}

.why-body p {
  max-width: 880px;
  font-size: clamp(1.12rem, 1.25vw, 1.24rem);
  line-height: 1.72;
  color: rgba(15, 14, 12, 0.76);
}

.principles-grid {
  gap: 14px;
  margin-top: 28px;
}

.principles-grid article {
  min-height: 0;
  padding: 22px;
}

.principles-grid strong {
  font-size: 1.38rem;
  line-height: 1.08;
}

.principles-grid span {
  font-size: 0.98rem;
  line-height: 1.55;
}

.products-header {
  align-items: end;
  gap: 18px;
}

.products-grid {
  gap: 18px;
  align-items: stretch;
}

.product-card,
.product-card.featured {
  border-color: rgba(15, 14, 12, 0.14);
  box-shadow: 0 16px 44px rgba(15, 14, 12, 0.055);
}

.product-card {
  min-height: 392px;
  padding: 30px;
  justify-content: space-between;
}

.product-card.featured {
  padding: clamp(30px, 4vw, 42px);
}

.product-name {
  margin-top: 12px;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.04;
}

.product-desc {
  font-size: 1rem;
  line-height: 1.62;
}

.product-type,
.product-num,
.bundle-badge,
.product-proof span,
.featured-includes span {
  line-height: 1.25;
}

.product-visual {
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid rgba(15, 14, 12, 0.13);
  background: rgba(237, 244, 248, 0.82);
}

.product-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  display: block;
  transform: scale(1.01);
}

.pro-card .product-visual img {
  object-position: top center;
}

.command-center-visual img {
  object-fit: contain;
  object-position: center;
  transform: none;
  background: #f2efe8;
}

.product-proof {
  gap: 8px;
  margin-top: 18px;
}

.product-footer {
  margin-top: 24px;
  gap: 14px;
}

.product-link {
  text-align: center;
  justify-content: center;
}

.pro-card {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(237, 244, 248, 0.72)),
    var(--editorial-white);
  border-color: rgba(196, 107, 60, 0.34);
}

.pro-card .product-num,
.pro-card .product-price {
  color: var(--editorial-copper);
}

.pro-card .product-link {
  border-color: rgba(196, 107, 60, 0.44);
  color: var(--editorial-ink);
}

.blog-list {
  gap: 18px;
}

.blog-shell .section-head {
  max-width: 860px;
}

.blog-shell .section-head h1 {
  max-width: 820px;
  font-size: clamp(2.55rem, 4.6vw, 4rem);
  line-height: 0.98;
}

.blog-shell .section-head > p:not(.eyebrow) {
  max-width: 720px;
}

.blog-row {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.blog-row img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
}

.blog-row-body {
  display: grid;
  gap: 6px;
  padding: 22px;
}

.article-shell {
  padding-top: 44px;
}

.article-shell article {
  max-width: 980px;
  margin: 0 auto;
}

.article-shell h1 {
  max-width: 920px;
  font-size: clamp(3rem, 5.6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.article-description {
  max-width: 780px;
  font-size: clamp(1.16rem, 1.45vw, 1.34rem);
  line-height: 1.6;
}

.article-shell h2 {
  margin-top: 42px;
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  line-height: 1.08;
}

.article-shell p,
.article-shell li {
  font-size: 1.08rem;
  line-height: 1.78;
}

.article-hero-media {
  margin: 30px 0;
  border: 1px solid rgba(15, 14, 12, 0.14);
  background: var(--editorial-white);
}

.article-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.article-hero-media figcaption {
  padding: 10px 14px;
  color: rgba(15, 14, 12, 0.58);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.photo-credit {
  display: block;
  margin-top: 4px;
  color: rgba(15, 14, 12, 0.46);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.photo-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0;
  border: 1px solid rgba(15, 14, 12, 0.13);
  background: rgba(15, 14, 12, 0.12);
}

.article-summary div {
  min-height: 130px;
  padding: 18px;
  background: var(--editorial-white);
}

.article-summary strong,
.article-callout strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.1;
}

.article-summary span,
.article-callout span {
  color: rgba(15, 14, 12, 0.66);
  line-height: 1.55;
}

.article-callout {
  margin: 34px 0;
  padding: 24px;
  border-left: 4px solid var(--editorial-copper);
  background: rgba(237, 244, 248, 0.72);
}

.source-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.source-list a {
  color: var(--editorial-ink);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 82px;
  }

  .brand img[src*="baynest-logo"] {
    width: 220px;
  }

  .editorial-why {
    gap: 22px;
  }

  .products-grid {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 18px 16px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand img[src*="baynest-logo"] {
    width: min(252px, 72vw);
  }

  .site-header nav {
    width: 100%;
    justify-content: center;
    gap: 10px clamp(14px, 5vw, 24px);
    text-align: center;
  }

  .footer-brand img[src*="baynest-logo"] {
    width: 140px;
  }

  .editorial-why,
  .section-products {
    padding-top: 50px;
    padding-bottom: 54px;
  }

  .editorial-why {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .why-body h2 {
    max-width: 360px;
    font-size: 2.48rem;
  }

  .why-body p {
    font-size: 1.05rem;
    line-height: 1.68;
  }

  .principles-grid {
    gap: 12px;
  }

  .product-card,
  .product-card.featured {
    min-height: 0;
    padding: 24px 20px;
  }

  .product-name {
    font-size: 1.58rem;
  }

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

  .blog-shell .section-head {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .blog-shell .section-head::before {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
  }

  .blog-shell .section-head h1 {
    max-width: 340px;
    font-size: clamp(2rem, 9.2vw, 2.42rem);
    line-height: 1.02;
  }

  .blog-shell .section-head > p:not(.eyebrow) {
    max-width: 340px;
    font-size: 1rem;
    line-height: 1.58;
  }

  .blog-row img {
    min-height: 180px;
    aspect-ratio: 16 / 9;
  }

  .blog-row-body {
    padding: 18px;
  }

  .article-shell {
    padding-top: 30px;
  }

  .article-shell h1 {
    max-width: 340px;
    font-size: 2.62rem;
    width: auto !important;
  }

  .article-description {
    width: auto !important;
    max-width: 340px !important;
  }

  .article-summary {
    grid-template-columns: 1fr;
  }

  .article-hero-media img {
    aspect-ratio: 4 / 3;
  }
}

/* Final homepage funnel overrides. Keep this at the end so it beats older generated rules. */
.button.text-link {
  border-color: transparent;
  background: transparent;
  color: rgba(15, 14, 12, 0.68);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.button.text-link:hover {
  background: transparent;
  border-color: transparent;
  color: var(--editorial-rust);
}

.market-table {
  display: grid;
  gap: 8px;
  border-top: 0;
}

.market-row {
  grid-template-columns: minmax(0, 1fr) minmax(84px, auto) minmax(88px, auto);
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid rgba(201, 191, 168, 0.12);
  background: rgba(250, 249, 245, 0.035);
}

.market-head {
  min-height: 32px;
  border: 0;
  background: transparent;
}

.market-row em {
  min-width: 82px;
  border: 1px solid currentColor;
  letter-spacing: 0.02em;
}

.signal-stretch,
.signal-hot {
  background: rgba(184, 77, 42, 0.22);
  color: #ee8b63;
}

.signal-value {
  background: rgba(29, 92, 88, 0.32);
  color: #73cdc7;
}

.signal-tech {
  background: rgba(196, 151, 58, 0.24);
  color: #e6bd64;
}

.signal-entry {
  background: rgba(242, 239, 232, 0.12);
  color: #f2efe8;
}

.market-insight {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(201, 191, 168, 0.16);
  background: rgba(15, 14, 12, 0.26);
}

.market-insight span {
  color: var(--editorial-sand);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.market-insight strong {
  color: rgba(242, 239, 232, 0.84);
  font-family: "Lora", Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.45;
}

.founder-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 86px) clamp(22px, 5vw, 48px);
  border-bottom: 1px solid rgba(201, 191, 168, 0.46);
}

.founder-proof h2 {
  max-width: 680px;
  margin: 0 0 20px;
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 1.02;
}

.founder-proof p {
  max-width: 690px;
  color: rgba(15, 14, 12, 0.72);
  font-size: 1.08rem;
  line-height: 1.75;
}

.founder-proof-grid {
  display: grid;
  gap: 1px;
  background: rgba(15, 14, 12, 0.16);
  border: 1px solid rgba(15, 14, 12, 0.14);
}

.founder-proof-grid article {
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 22px;
  background: var(--editorial-white);
}

.founder-proof-grid strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.08;
}

.founder-proof-grid span {
  color: rgba(15, 14, 12, 0.64);
  line-height: 1.56;
}

.editorial-why.combined-proof {
  border-bottom: 1px solid rgba(201, 191, 168, 0.46);
}

.combined-proof .editorial-kicker {
  margin-bottom: 14px;
}

.combined-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid rgba(15, 14, 12, 0.14);
  background: rgba(15, 14, 12, 0.14);
}

.combined-proof-grid article {
  display: grid;
  gap: 9px;
  min-height: 154px;
  padding: 22px;
  background: var(--editorial-white);
}

.combined-proof-grid strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.34rem;
  line-height: 1.08;
}

.combined-proof-grid span {
  color: rgba(15, 14, 12, 0.64);
  line-height: 1.56;
}

.section-products {
  max-width: 1320px;
}

.products-header {
  align-items: start;
}

.products-header .editorial-kicker {
  margin-bottom: 12px;
}

.products-header h2 {
  max-width: 820px;
  font-size: clamp(2.45rem, 4.2vw, 3.85rem);
}

.products-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.product-lanes {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 2px;
}

.product-lanes .product-card.featured.bundle-feature,
.product-lanes .product-card.pro-feature {
  grid-column: auto;
  min-height: 640px;
}

.product-lanes .product-card.featured.bundle-feature {
  border-top: 6px solid var(--editorial-gold);
}

.product-lanes .product-card.pro-feature {
  border-top: 6px solid var(--editorial-copper);
}

.lane-label {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid currentColor;
  color: rgba(242, 239, 232, 0.28);
}

.lane-label span {
  color: var(--editorial-gold);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.lane-label strong {
  color: var(--editorial-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.08;
}

.pro-feature .lane-label {
  color: rgba(15, 14, 12, 0.14);
}

.pro-feature .lane-label span {
  color: var(--editorial-copper);
}

.pro-feature .lane-label strong {
  color: var(--editorial-ink);
}

.product-card.featured.bundle-feature {
  grid-column: span 7;
  grid-template-columns: minmax(0, 1.05fr) minmax(210px, 0.7fr);
  gap: clamp(24px, 3vw, 42px);
  min-height: 520px;
  padding: clamp(34px, 4vw, 52px);
  background:
    radial-gradient(circle at 82% 16%, rgba(196, 151, 58, 0.18), transparent 34%),
    linear-gradient(135deg, #0f0e0c, #162823 72%);
}

.product-card.pro-feature {
  grid-column: span 5;
  min-height: 520px;
  padding: clamp(28px, 3vw, 36px);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(237, 244, 248, 0.86)),
    var(--editorial-white);
  border: 1px solid rgba(184, 77, 42, 0.34);
  box-shadow: 0 22px 58px rgba(15, 14, 12, 0.12);
}

.supporting-card {
  grid-column: span 4;
  min-height: 0;
}

.supporting-card .product-desc {
  display: -webkit-box;
  min-height: 5.05em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.bundle-feature .product-name {
  max-width: 560px;
  font-size: clamp(2.8rem, 5.1vw, 4.55rem);
  line-height: 0.92;
}

.bundle-feature .product-desc {
  max-width: 610px;
  font-size: 1.14rem;
}

.featured-includes span {
  display: flex;
  gap: 10px;
  align-items: center;
}

.featured-includes strong {
  color: var(--editorial-gold);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.74rem;
}

.bundle-value {
  display: grid;
  gap: 6px;
  align-content: center;
  grid-column: 1 / -1;
  min-height: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 191, 168, 0.22);
}

.bundle-value small {
  display: block;
  margin-top: 12px;
  color: rgba(242, 239, 232, 0.62);
  line-height: 1.5;
}

.pro-feature .bundle-badge {
  background: var(--editorial-teal);
}

.pro-feature .product-name {
  font-size: clamp(2rem, 2.7vw, 2.55rem);
}

.pro-feature .product-price {
  color: var(--editorial-rust);
}

.pro-feature .product-link {
  border-color: rgba(184, 77, 42, 0.36);
  background: var(--editorial-ink);
  color: var(--editorial-white);
}

.purchase-reassurance {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(15, 14, 12, 0.1);
  border-bottom: 1px solid rgba(15, 14, 12, 0.1);
}

.purchase-reassurance span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: rgba(15, 14, 12, 0.68);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.purchase-reassurance span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--editorial-copper);
}

.section-cta {
  position: relative;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 0.88fr);
  gap: clamp(44px, 6vw, 90px);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(196, 151, 58, 0.17), transparent 32%),
    linear-gradient(135deg, #153f3c, #0d2624);
}

.section-cta::before {
  content: "";
  position: absolute;
  inset: 26px;
  pointer-events: none;
  border: 1px solid rgba(250, 249, 245, 0.12);
}

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

.calculator-proof-grid {
  display: none;
  gap: 10px;
  margin-top: 28px;
}

.has-home-result .calculator-proof-grid {
  display: grid;
}

.calculator-empty-state {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 18px;
  border-left: 2px solid rgba(196, 151, 58, 0.8);
  background: rgba(250, 249, 245, 0.08);
}

.calculator-empty-state strong {
  color: var(--editorial-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.48rem;
  line-height: 1.08;
}

.calculator-empty-state span {
  color: rgba(250, 249, 245, 0.68);
  line-height: 1.6;
}

.has-home-result .calculator-empty-state {
  display: none;
}

.calculator-proof-grid span {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-left: 2px solid rgba(196, 151, 58, 0.8);
  background: rgba(250, 249, 245, 0.08);
  color: rgba(250, 249, 245, 0.68);
}

.calculator-proof-grid strong {
  color: var(--editorial-white);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.calculator-proof-grid b {
  display: block;
  color: var(--editorial-gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.38rem;
  line-height: 1.05;
}

.calc-widget {
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(250, 249, 245, 0.12);
  box-shadow: 0 26px 70px rgba(15, 14, 12, 0.28);
  backdrop-filter: blur(10px);
}

.calc-widget-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(250, 249, 245, 0.2);
}

.calc-widget-top span {
  color: rgba(250, 249, 245, 0.56);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.calc-widget-top strong {
  color: var(--editorial-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  line-height: 1;
  text-align: right;
}

.mini-result {
  display: none;
  gap: 16px;
  margin-top: 0;
  padding: 18px;
  border: 1px solid rgba(250, 249, 245, 0.18);
  background: rgba(15, 14, 12, 0.22);
}

.has-home-result .mini-result {
  display: grid;
}

.section-cta,
.section-products,
.founder-proof,
.editorial-why {
  scroll-margin-top: 132px;
}

.mini-result > div:first-child {
  display: grid;
  gap: 8px;
}

.mini-result > div:first-child strong {
  display: block;
}

.mini-result > div:first-child small {
  display: block;
  max-width: 56ch;
  line-height: 1.65;
}

.mini-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(250, 249, 245, 0.18);
}

.mini-result-grid span {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 12px;
  background: rgba(13, 38, 36, 0.94);
}

.mini-result-grid b {
  color: rgba(250, 249, 245, 0.54);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 400;
  text-transform: uppercase;
}

.mini-result-grid strong {
  color: var(--editorial-white);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
  overflow-wrap: anywhere;
}

.mini-suggestions {
  margin: 0;
  color: rgba(250, 249, 245, 0.72);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  line-height: 1.55;
}

.run-calc-button {
  min-height: 48px;
  width: 100%;
  background: var(--editorial-white);
  border: 1px solid var(--editorial-white);
  color: var(--editorial-teal);
}

.run-calc-button:hover {
  background: var(--editorial-gold);
  border-color: var(--editorial-gold);
  color: var(--editorial-ink);
}

.mini-upgrade {
  display: none;
}

.has-home-result .mini-upgrade {
  display: inline-flex;
}

/* Site expansion: product pages, city guides, methodology, and About. */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(15, 14, 12, 0.66);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.product-detail-shell,
.city-shell,
.directory-shell {
  padding: clamp(42px, 6vw, 78px) clamp(20px, 5vw, 72px) clamp(72px, 8vw, 112px);
}

.product-detail-hero,
.city-hero,
.home-directory-bridge {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.product-detail-copy h1,
.city-hero h1,
.directory-hero h1,
.trust-page h1,
.home-directory-bridge h2 {
  max-width: 850px;
  margin: 0;
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.product-detail-copy p,
.city-hero p,
.directory-hero p,
.home-directory-bridge p {
  max-width: 720px;
  color: rgba(15, 14, 12, 0.72);
  font-size: clamp(1.08rem, 1.3vw, 1.24rem);
  line-height: 1.7;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.detail-preview,
.city-hero figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 14, 12, 0.14);
  background: var(--editorial-white);
  box-shadow: 0 28px 74px rgba(15, 14, 12, 0.11);
}

.detail-preview img,
.city-hero img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.detail-preview img[src$=".svg"] {
  object-fit: contain;
  object-position: center;
  padding: 16px;
  background: #f2efe8;
}

.city-hero figcaption,
.city-directory-card small {
  display: block;
  padding: 10px 12px;
  color: rgba(15, 14, 12, 0.52);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.city-hero figcaption a,
.city-directory-card small a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.detail-band,
.city-stats {
  max-width: 1220px;
  margin: clamp(28px, 5vw, 56px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(15, 14, 12, 0.14);
  background: rgba(15, 14, 12, 0.12);
  gap: 1px;
}

.detail-band article,
.city-stats article {
  min-height: 150px;
  padding: 22px;
  background: var(--editorial-white);
}

.detail-band span,
.city-stats span,
.city-directory-card span {
  color: var(--editorial-rust);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-band strong,
.city-stats strong {
  display: block;
  margin-top: 8px;
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 0.98;
}

.detail-band p,
.city-stats p {
  color: rgba(15, 14, 12, 0.64);
  line-height: 1.55;
}

.detail-grid,
.city-grid {
  max-width: 1220px;
  margin: clamp(42px, 6vw, 76px) auto 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

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

.detail-grid h2,
.city-grid h2,
.city-tools h2,
.detail-cta h2 {
  margin: 0;
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  line-height: 1;
}

.city-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(15, 14, 12, 0.13);
  background: rgba(255, 253, 248, 0.7);
}

.city-grid p,
.detail-grid p,
.check-list,
.detail-cta p,
.city-tools p {
  color: rgba(15, 14, 12, 0.72);
  font-size: 1.04rem;
  line-height: 1.68;
}

.detail-list {
  display: grid;
  gap: 12px;
}

.detail-list p,
.check-list li {
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 48px;
  border: 1px solid rgba(15, 14, 12, 0.12);
  background: var(--editorial-white);
}

.detail-list p::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 25px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--editorial-rust);
  background: rgba(196, 107, 60, 0.12);
}

.product-moat-detail {
  padding: clamp(28px, 4vw, 42px);
  background: var(--editorial-ink);
  color: var(--editorial-white);
}

.product-moat-detail h2 {
  color: var(--editorial-white);
}

.product-moat-detail .detail-list p {
  border-color: rgba(250, 249, 245, 0.18);
  background: rgba(250, 249, 245, 0.08);
  color: rgba(250, 249, 245, 0.74);
}

.product-moat-detail .detail-list strong {
  color: var(--editorial-gold);
}

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

.muted-detail {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(15, 14, 12, 0.13);
  background: rgba(237, 244, 248, 0.58);
}

.detail-cta,
.city-tools {
  max-width: 1220px;
  margin: clamp(42px, 6vw, 76px) auto 0;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(15, 14, 12, 0.14);
  background:
    linear-gradient(135deg, rgba(15, 14, 12, 0.95), rgba(29, 49, 64, 0.92)),
    var(--editorial-ink);
  color: #fffdf8;
}

.detail-cta h2,
.detail-cta p,
.city-tools h2,
.city-tools p {
  color: #fffdf8;
}

.detail-cta .editorial-kicker,
.city-tools .editorial-kicker {
  color: var(--editorial-sand);
}

.detail-cta .button.primary {
  border-color: #fffdf8;
  background: #fffdf8;
  color: var(--editorial-ink);
}

.directory-hero {
  max-width: 960px;
  margin: 0 auto clamp(30px, 5vw, 56px);
}

.city-directory-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.city-directory-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 14, 12, 0.14);
  background: var(--editorial-white);
  color: var(--editorial-ink);
  text-decoration: none;
  box-shadow: 0 16px 44px rgba(15, 14, 12, 0.05);
}

.city-directory-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.city-directory-card span,
.city-directory-card strong,
.city-directory-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.city-directory-card span {
  margin-top: 18px;
}

.city-directory-card strong {
  margin-top: 8px;
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.city-directory-card p {
  margin-top: 6px;
  color: rgba(15, 14, 12, 0.66);
  line-height: 1.55;
}

.city-directory-card small {
  margin-top: auto;
  padding: 10px 18px 16px;
}

.tool-chip-grid,
.home-city-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.tool-chip-grid a,
.home-city-links a {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  background: rgba(255, 253, 248, 0.08);
  color: #fffdf8;
  text-decoration: none;
}

.tool-chip-grid a span,
.home-city-links a span {
  color: var(--editorial-sand);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tool-chip-grid a strong,
.home-city-links a strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.tool-chip-grid a em {
  color: rgba(255, 253, 248, 0.68);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-style: normal;
  text-transform: uppercase;
}

.home-directory-bridge {
  margin-top: clamp(46px, 6vw, 72px);
  padding: clamp(28px, 5vw, 54px);
  border-top: 1px solid rgba(15, 14, 12, 0.16);
  border-bottom: 1px solid rgba(15, 14, 12, 0.16);
}

.home-directory-bridge .home-city-links a {
  border-color: rgba(15, 14, 12, 0.14);
  background: var(--editorial-white);
  color: var(--editorial-ink);
}

.home-directory-bridge .home-city-links a span {
  color: var(--editorial-rust);
}

.product-page-links {
  max-width: 1220px;
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.product-page-links span,
.product-page-links a {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-page-links span {
  color: rgba(15, 14, 12, 0.5);
}

.product-page-links a {
  padding: 8px 10px;
  border: 1px solid rgba(15, 14, 12, 0.14);
  background: rgba(255, 253, 248, 0.72);
  color: var(--editorial-ink);
  text-decoration: none;
}

.product-page-links a:hover {
  border-color: rgba(196, 107, 60, 0.45);
  color: var(--editorial-rust);
}

.trust-page .related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trust-page .related-links a {
  padding: 16px;
  border: 1px solid rgba(15, 14, 12, 0.12);
  background: var(--editorial-white);
  color: var(--editorial-ink);
  text-decoration: none;
}

@media (max-width: 980px) {
  .product-detail-hero,
  .city-hero,
  .home-directory-bridge,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .city-directory-grid,
  .city-grid,
  .tool-chip-grid,
  .home-city-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .product-detail-shell,
  .city-shell,
  .directory-shell {
    padding: 30px 20px 64px;
  }

  .product-detail-copy h1,
  .city-hero h1,
  .directory-hero h1,
  .trust-page h1,
  .home-directory-bridge h2 {
    max-width: 350px;
    font-size: clamp(2.35rem, 11vw, 3rem);
    line-height: 0.98;
  }

  .detail-actions {
    display: grid;
  }

  .detail-band,
  .city-stats,
  .city-directory-grid,
  .city-grid,
  .tool-chip-grid,
  .home-city-links,
  .trust-page .related-links {
    grid-template-columns: 1fr;
  }

  .detail-band article,
  .city-stats article {
    min-height: 0;
  }

  .city-grid article {
    min-height: 0;
  }

  .muted-detail,
  .detail-cta,
  .city-tools,
  .home-directory-bridge {
    padding: 24px 20px;
  }
}

.email-gate {
  display: grid;
  grid-template-columns: minmax(220px, 320px) auto;
  gap: 10px;
  align-items: start;
  min-width: min(100%, 520px);
}

.email-gate[hidden] {
  display: none;
}

.email-gate input[type="email"] {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid rgba(250, 249, 245, 0.36);
  border-radius: 8px;
  background: rgba(250, 249, 245, 0.1);
  color: var(--editorial-white);
  font: 0.95rem/1 "DM Mono", ui-monospace, monospace;
}

.email-gate input[type="email"]::placeholder {
  color: rgba(250, 249, 245, 0.52);
}

.email-gate .button {
  min-height: 48px;
  white-space: nowrap;
}

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

.email-gate [data-form-note] {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(250, 249, 245, 0.68);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  line-height: 1.5;
}

.cheat-conversion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.55fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  padding: clamp(64px, 8vw, 104px) clamp(22px, 7vw, 96px);
  background:
    radial-gradient(circle at 14% 18%, rgba(196, 151, 58, 0.16), transparent 28%),
    linear-gradient(135deg, #0f0e0c, #173330 78%);
}

.cheat-conversion::before {
  display: none;
}

.cheat-copy {
  max-width: 820px;
}

.cheat-copy h2 {
  max-width: 780px;
  margin: 0;
  color: var(--editorial-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
}

.cheat-copy p:not(.editorial-kicker) {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(250, 249, 245, 0.76);
  font-size: clamp(1.05rem, 1.35vw, 1.24rem);
  line-height: 1.72;
}

.cheat-includes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 32px;
  background: rgba(250, 249, 245, 0.18);
}

.cheat-includes span {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 18px;
  background: rgba(250, 249, 245, 0.08);
  color: rgba(250, 249, 245, 0.68);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.cheat-includes strong {
  color: var(--editorial-gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.35rem;
  line-height: 0.9;
}

.cheat-form-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(250, 249, 245, 0.2);
  background: rgba(250, 249, 245, 0.1);
  box-shadow: 0 26px 70px rgba(15, 14, 12, 0.28);
}

.cheat-form-card > span {
  color: var(--editorial-gold);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.cheat-form-card > strong {
  color: var(--editorial-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.02;
}

.cheat-form-card .email-gate {
  grid-template-columns: 1fr;
  min-width: 0;
  width: 100%;
}

.cheat-form-card .email-gate .button {
  justify-content: center;
  width: 100%;
}

.cheat-success {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.cheat-success[hidden] {
  display: none;
}

.cheat-success span {
  color: var(--editorial-gold);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.cheat-success strong {
  color: var(--editorial-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 2.7vw, 2.6rem);
  line-height: 1.02;
}

.cheat-success a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  background: var(--editorial-white);
  color: var(--editorial-ink);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  text-decoration: none;
  text-transform: uppercase;
}

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

  .ai-moat-section {
    grid-template-columns: 1fr;
  }

  .trust-faq-section {
    grid-template-columns: 1fr;
  }

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

  .product-lanes,
  .cheat-conversion {
    grid-template-columns: 1fr;
  }

  .product-card.featured.bundle-feature,
  .product-card.pro-feature,
  .supporting-card {
    grid-column: 1 / -1;
  }

  .product-card.featured.bundle-feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bundle-value {
    min-height: 0;
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid rgba(201, 191, 168, 0.22);
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .founder-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .button.text-link {
    justify-content: center;
  }

  .market-row {
    grid-template-columns: minmax(0, 1fr) minmax(76px, auto) minmax(68px, auto);
    padding: 0 8px;
  }

  .market-row em {
    min-width: 66px;
  }

  .founder-proof {
    padding: 48px 20px;
  }

  .founder-proof h2 {
    font-size: 2.15rem;
  }

  .combined-proof-grid,
  .cheat-includes,
  .ai-moat-grid,
  .trust-faq-grid,
  .product-moat-strip {
    grid-template-columns: 1fr;
  }

  .combined-proof-grid article,
  .cheat-includes span,
  .product-moat-strip span {
    min-height: 0;
  }

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

  .hero-email-form button {
    width: 100%;
  }

  .product-lanes .product-card.featured.bundle-feature,
  .product-lanes .product-card.pro-feature {
    min-height: 0;
  }

  .product-card.featured.bundle-feature,
  .product-card.pro-feature,
  .supporting-card {
    min-height: 0;
    padding: 26px 20px;
  }

  .bundle-feature .product-name {
    font-size: 2.72rem;
  }

  .bundle-feature .product-desc,
  .pro-feature .product-desc,
  .supporting-card .product-desc {
    display: block;
    min-height: 0;
    overflow: visible;
  }

  .featured-includes span {
    padding: 12px 14px;
  }

  .section-cta {
    grid-template-columns: 1fr;
    padding: 52px 20px;
  }

  .section-cta::before {
    inset: 14px;
  }

  .calc-widget-top {
    align-items: start;
    flex-direction: column;
  }

  .calc-widget-top strong {
    text-align: left;
  }

  .mini-result-grid {
    grid-template-columns: 1fr;
  }

  .email-gate {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .email-gate .button {
    justify-content: center;
    width: 100%;
  }

  .cheat-conversion {
    padding: 56px 20px;
  }

  .cheat-copy h2 {
    font-size: 2.48rem;
  }
}

.free-tools-shell,
.closing-cost-shell,
.email-funnel-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 86px) 0 72px;
}

.free-tools-hero,
.closing-hero,
.email-funnel-hero,
.home-free-tools-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: stretch;
  margin-bottom: clamp(34px, 5vw, 64px);
  border-top: 1px solid rgba(23, 41, 58, 0.18);
  border-bottom: 1px solid rgba(23, 41, 58, 0.18);
  padding: clamp(30px, 5vw, 54px) 0;
}

.free-tools-hero h1,
.closing-hero h1,
.email-funnel-hero h1,
.home-free-tools-bridge h2 {
  max-width: 820px;
  margin: 0;
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: 0.92;
}

.home-free-tools-bridge h2 {
  font-size: clamp(2.45rem, 5vw, 4.6rem);
}

.free-tools-hero p,
.closing-hero p,
.email-funnel-hero p,
.home-free-tools-bridge p {
  max-width: 720px;
  color: rgba(23, 41, 58, 0.72);
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
  line-height: 1.72;
}

.free-tools-ledger,
.closing-source-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 340px;
  padding: clamp(24px, 3.5vw, 38px);
  background: var(--editorial-ink);
  color: var(--editorial-white);
  box-shadow: 0 26px 70px rgba(23, 41, 58, 0.16);
}

.closing-source-card {
  background: #496f7c;
}

.free-tools-ledger > span,
.closing-source-card > span,
.email-tags span,
.free-tool-card > span,
.email-card > span,
.home-free-tool-links span {
  color: var(--editorial-gold);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.free-tools-ledger div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  min-height: 72px;
  border-bottom: 1px solid rgba(250, 249, 245, 0.16);
}

.free-tools-ledger strong {
  color: var(--editorial-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.9;
}

.free-tools-ledger small {
  color: rgba(250, 249, 245, 0.62);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-align: right;
  text-transform: uppercase;
}

.free-tools-ledger p,
.closing-source-card p {
  margin: 0;
  color: rgba(250, 249, 245, 0.72);
  font-size: 0.98rem;
  line-height: 1.7;
}

.closing-source-card strong {
  color: var(--editorial-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
}

.free-tools-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1px;
  margin-bottom: clamp(44px, 7vw, 82px);
  background: rgba(23, 41, 58, 0.16);
}

.free-tool-card {
  display: grid;
  align-content: start;
  gap: 20px;
  min-height: 420px;
  padding: clamp(28px, 4vw, 44px);
  background: rgba(255, 253, 248, 0.92);
}

.primary-tool-card {
  grid-row: span 2;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(23, 41, 58, 0.94), rgba(73, 111, 124, 0.92)),
    var(--editorial-ink);
  color: var(--editorial-white);
}

.cash-tool-card {
  background: #e7f0ef;
}

.cheat-tool-card {
  background: #fbf4e8;
}

.free-tool-card h2 {
  margin: 0;
  color: inherit;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 0.98;
}

.free-tool-card p {
  max-width: 660px;
  margin: 0;
  color: rgba(23, 41, 58, 0.72);
  font-size: 1.02rem;
  line-height: 1.72;
}

.primary-tool-card p {
  color: rgba(250, 249, 245, 0.72);
}

.tool-card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tool-card-metrics b {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(23, 41, 58, 0.18);
  padding: 0 10px;
  color: rgba(23, 41, 58, 0.72);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
}

.primary-tool-card .tool-card-metrics b {
  border-color: rgba(250, 249, 245, 0.2);
  color: rgba(250, 249, 245, 0.72);
}

.free-tool-card a,
.tools-upgrade-grid a,
.closing-cta a {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 16px;
  background: var(--editorial-ink);
  color: var(--editorial-white);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-tool-card a,
.closing-cta a:first-child {
  background: var(--editorial-gold);
  color: var(--editorial-ink);
}

.tools-upgrade-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  padding: clamp(28px, 5vw, 54px);
  background: var(--editorial-ink);
  color: var(--editorial-white);
}

.tools-upgrade-band h2 {
  margin: 0;
  color: var(--editorial-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.tools-upgrade-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(250, 249, 245, 0.18);
}

.tools-upgrade-grid a {
  display: grid;
  gap: 14px;
  width: auto;
  min-height: 260px;
  justify-content: start;
  align-content: start;
  padding: 24px;
  background: rgba(250, 249, 245, 0.1);
  color: var(--editorial-white);
  text-align: left;
}

.tools-upgrade-grid span {
  color: var(--editorial-gold);
}

.tools-upgrade-grid strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.02;
  text-transform: none;
}

.tools-upgrade-grid small {
  color: rgba(250, 249, 245, 0.68);
  font-family: "Lora", Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.6;
  text-transform: none;
}

.home-free-tools-bridge {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(52px, 7vw, 84px);
}

.home-free-tool-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  align-self: stretch;
  background: rgba(23, 41, 58, 0.16);
}

.home-free-tool-links a {
  display: grid;
  gap: 10px;
  align-content: center;
  min-height: 148px;
  padding: 22px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--editorial-ink);
  text-decoration: none;
}

.home-free-tool-links strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.72rem;
  line-height: 1;
}

.home-free-tool-links small {
  color: rgba(23, 41, 58, 0.66);
  font-size: 0.96rem;
  line-height: 1.5;
}

.closing-cost-tool {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 1px;
  margin-bottom: clamp(44px, 7vw, 78px);
  background: rgba(23, 41, 58, 0.16);
}

.closing-cost-form,
.closing-cost-results {
  background: rgba(255, 253, 248, 0.94);
}

.closing-cost-form {
  display: grid;
  gap: 1px;
  background: rgba(23, 41, 58, 0.14);
}

.closing-cost-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  border: 0;
  padding: clamp(22px, 3vw, 30px);
  background: rgba(255, 253, 248, 0.94);
}

.closing-cost-form legend {
  grid-column: 1 / -1;
  color: var(--editorial-copper);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.closing-cost-form label {
  display: grid;
  gap: 8px;
  color: rgba(23, 41, 58, 0.76);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.closing-cost-form input,
.closing-cost-form select {
  min-height: 46px;
  border: 1px solid rgba(23, 41, 58, 0.18);
  border-radius: 0;
  background: #fffdf8;
  color: var(--editorial-ink);
  font: 600 1rem "Lora", Georgia, serif;
}

.closing-cost-results {
  position: sticky;
  top: 86px;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 720px;
  padding: clamp(24px, 3.5vw, 38px);
}

.closing-verdict {
  width: fit-content;
  padding: 9px 12px;
  background: rgba(196, 107, 60, 0.12);
  color: var(--editorial-copper);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.closing-verdict.good {
  background: rgba(75, 123, 104, 0.14);
  color: #32634e;
}

.closing-verdict.near {
  background: rgba(215, 154, 90, 0.18);
  color: #8b5a22;
}

.closing-total-card {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid rgba(23, 41, 58, 0.18);
  padding-bottom: 22px;
}

.closing-total-card span {
  color: rgba(23, 41, 58, 0.58);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.closing-total-card strong {
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 0.9;
}

.closing-total-card small {
  color: rgba(23, 41, 58, 0.66);
  font-size: 1rem;
  line-height: 1.5;
}

.cost-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(23, 41, 58, 0.14);
}

.cost-breakdown-grid div {
  display: grid;
  gap: 10px;
  min-height: 118px;
  padding: 14px;
  background: rgba(247, 243, 238, 0.92);
}

.cost-breakdown-grid span {
  color: rgba(23, 41, 58, 0.58);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.67rem;
  text-transform: uppercase;
}

.cost-breakdown-grid strong {
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
}

.closing-read {
  padding: 20px;
  background: #e7f0ef;
}

.closing-read h2 {
  margin: 0 0 10px;
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
}

.closing-read ul,
.closing-notes ul {
  margin: 0;
  padding-left: 20px;
  color: rgba(23, 41, 58, 0.76);
  line-height: 1.7;
}

.closing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.closing-notes {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  padding: clamp(30px, 4vw, 48px);
  background: rgba(255, 253, 248, 0.88);
}

.closing-notes h2 {
  margin: 0;
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1;
}

.closing-notes p {
  color: rgba(23, 41, 58, 0.72);
  font-size: 1.02rem;
  line-height: 1.72;
}

.source-link-grid {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-link-grid a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(23, 41, 58, 0.18);
  padding: 0 10px;
  color: var(--editorial-ink);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  text-decoration: none;
  text-transform: uppercase;
}

.email-funnel-shell {
  width: min(1080px, calc(100% - 36px));
}

.email-funnel-hero {
  grid-template-columns: 1fr;
}

.email-funnel-hero h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.email-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.email-tags span {
  border: 1px solid rgba(23, 41, 58, 0.18);
  padding: 9px 10px;
  color: rgba(23, 41, 58, 0.68);
}

.email-system-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 1px;
  padding: clamp(26px, 4vw, 42px);
  background: var(--editorial-ink);
  color: var(--editorial-white);
}

.email-system-panel h2 {
  margin: 0;
  color: var(--editorial-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.email-system-panel p,
.email-system-panel li {
  color: rgba(250, 249, 245, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

.email-system-panel code {
  color: var(--editorial-gold);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.88em;
}

.email-system-panel ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.email-sequence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(23, 41, 58, 0.16);
}

.email-card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 520px;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255, 253, 248, 0.94);
}

.email-card.sales-card {
  background: #e7f0ef;
}

.email-card h2 {
  margin: 0;
  color: var(--editorial-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  line-height: 1;
}

.email-card p {
  margin: 0;
  color: rgba(23, 41, 58, 0.74);
  font-size: 1rem;
  line-height: 1.72;
}

@media (max-width: 1040px) {
  .free-tools-hero,
  .closing-hero,
  .home-free-tools-bridge,
  .tools-upgrade-band,
  .closing-cost-tool,
  .closing-notes {
    grid-template-columns: 1fr;
  }

  .closing-cost-results {
    position: static;
    min-height: 0;
  }

  .free-tools-grid {
    grid-template-columns: 1fr;
  }

  .primary-tool-card {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .free-tools-shell,
  .closing-cost-shell,
  .email-funnel-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 34px;
  }

  .free-tools-hero h1,
  .closing-hero h1,
  .email-funnel-hero h1 {
    font-size: 2.75rem;
  }

  .free-tools-hero,
  .closing-hero,
  .email-funnel-hero,
  .home-free-tools-bridge {
    gap: 24px;
    padding: 30px 0;
  }

  .free-tools-ledger,
  .closing-source-card,
  .free-tool-card,
  .tools-upgrade-band,
  .closing-notes,
  .email-card {
    padding: 22px;
  }

  .free-tool-card {
    min-height: 0;
  }

  .tools-upgrade-grid,
  .email-sequence-grid,
  .email-system-panel,
  .cost-breakdown-grid,
  .closing-cost-form fieldset {
    grid-template-columns: 1fr;
  }

  .closing-cost-form fieldset {
    padding: 20px;
  }

  .closing-total-card strong {
    font-size: 3rem;
  }

  .cost-breakdown-grid div {
    min-height: 94px;
  }
}
