/* Shared phone experience for the Utah and Realtor landing pages. */
.hero-tagline {
  max-width: 440px;
  margin: 0 0 18px;
  color: #08766c;
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.35px;
}
.menu-toggle, .mobile-action-bar { display: none; }
.hero-note > span + span::before { content: "·"; margin-right: 7px; }

@media (max-width: 700px), (max-width: 1000px) and (max-height: 500px) {
  :root {
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --serif: Georgia, "Times New Roman", serif;
    scroll-padding-top: 90px;
    scroll-padding-bottom: 110px;
  }
  html { scroll-padding-top: 90px; scroll-padding-bottom: 110px; }
  body {
    font-family: var(--sans);
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
  }
  .wrap { width: calc(100% - 40px); }
  .container { width: 100%; padding-inline: 20px; }
  .section-space, .section { padding-block: 56px; }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #f3f5f2;
    padding-top: env(safe-area-inset-top, 0px);
    border-bottom: 1px solid #dde3dd;
  }
  .header-inner { height: 64px; gap: 12px; justify-content: space-between; }
  .header-inner .brand { min-height: 44px; font-size: 23px; }
  .header-inner > .button { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    flex: none;
    margin-left: auto;
    padding: 12px;
    background: #fff;
    color: #121417;
    border: 1px solid #dde3dd;
    border-radius: 12px;
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .15s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header-inner nav, .header-inner .desktop-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 20px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #f3f5f2;
    border-bottom: 1px solid #dde3dd;
    box-shadow: 0 14px 24px #1a274412;
    max-height: calc(100dvh - 170px);
    overflow-y: auto;
  }
  .header-inner nav.open { display: flex; }
  .header-inner nav a, .header-inner nav .realtor-nav {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    font-size: 16px;
    white-space: normal;
  }
  .header-inner nav a:hover { background: #e8efff; }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 28px;
    padding-block: 28px 40px;
  }
  .hero-copy { min-width: 0; padding: 0; }
  .hero-tagline { font-size: 20px; max-width: 360px; margin-bottom: 20px; }
  .hero-copy > .eyebrow { font-size: 11px; letter-spacing: 1px; margin: 0 0 16px; }
  .hero h1 {
    font-size: clamp(38px, 10.5vw, 60px);
    line-height: 1.08;
    letter-spacing: -1.7px;
    margin: 0;
    max-width: 100%;
  }
  .hero-description { font-size: 16px; line-height: 1.65; margin: 22px 0; max-width: 100%; }
  .button, .hero .button, .offer-card > .button, .final-cta .button {
    min-height: 54px;
    font-size: 16px;
    padding: 15px 18px;
    border-radius: 12px;
    gap: 16px;
    white-space: normal;
    text-align: center;
  }
  .button:hover { transform: none; }
  .button:active { transform: scale(.98); }
  .hero-copy > .button, .hero-actions .button { width: 100%; }
  .hero-actions { margin: 0; gap: 10px; align-items: stretch; flex-direction: column; }
  .text-link, .hero-actions .text-link, .hero-explore, .offer-copy > .text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    gap: 10px;
  }
  .hero-actions .text-link { justify-content: center; }
  .hero-note, .hero-reassurance { font-size: 12px; line-height: 1.6; flex-wrap: wrap; gap: 6px 10px; margin: 12px 0 0; }
  .hero-note .separator { display: none; }
  .hero-note { display: block; text-align: center; }
  .hero-note > span { display: block; }
  .hero-note > span + span::before { content: none; }
  .hero-note .mini-check { margin-right: 4px; }
  .hero-reassurance { justify-content: center; margin-bottom: 8px; }
  .hero-explore { display: flex; justify-content: center; }
  .hero-visual {
    min-width: 0;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
  }
  .photo-frame, .hero-image-wrap { position: relative; inset: auto; width: 100%; height: 240px; min-height: 0; border-radius: 18px; }
  .photo-frame img, .hero-image-wrap img { object-position: 50% 45%; }
  .photo-caption { top: auto; left: 16px; right: 16px; bottom: 18px; width: fit-content; max-width: calc(100% - 32px); font-size: 12px; padding: 8px 10px; border-radius: 8px; }
  .photo-tag { top: 14px; left: 14px; right: 14px; font-size: 11px; line-height: 1.5; width: fit-content; max-width: calc(100% - 28px); }
  .location-stamp { display: none; }
  .brief-card, .briefing-card {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    margin: 16px 0 0;
    padding: 20px 18px 0;
    border-radius: 16px;
    transform: none;
    box-shadow: 0 8px 24px #1a274408;
  }
  .brief-top, .briefing-header { gap: 8px; flex-wrap: wrap; }
  .brief-brand, .mini-brand { font-size: 12px; letter-spacing: .2px; }
  .example-label, .demo-label { font-size: 11px; letter-spacing: .3px; }
  .brief-date { font-size: 11px; letter-spacing: 1px; }
  .brief-card h2, .briefing-card h2 { font-size: 28px; line-height: 1.15; margin-block: 12px 18px; }
  .brief-item, .briefing-item { gap: 10px; padding-block: 14px; }
  .brief-item strong, .briefing-item p { font-size: 14px; line-height: 1.55; }
  .brief-item div > span, .briefing-topic { font-size: 12px; line-height: 1.55; }
  .brief-bottom, .briefing-footer { font-size: 11px; line-height: 1.6; padding-block: 14px; }
  .briefing-footer { margin-inline: -18px; padding-inline: 18px; }
  .image-caption { position: static; font-size: 11px; line-height: 1.55; margin: 12px 0 0; }
  .trust-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; padding-block: 28px; }
  .trust-inner > p { display: block; grid-column: 1 / -1; }
  .trust-inner > div { min-width: 0; gap: 10px; }
  .trust-inner > p, .trust-inner div span, .trust-inner > a { font-size: 12px; }
  .trust-inner div strong, .trust-inner > p strong { font-size: 14px; }
  .trust-inner > a { grid-column: 1 / -1; min-height: 44px; display: flex; align-items: center; justify-self: start; white-space: normal; }
  .ribbon-inner > p { font-size: 13px; }
  .coverage-stat small { font-size: 13px; }
  .section-intro, .section-heading, .context-heading { gap: 20px; margin-bottom: 30px; }
  .section-intro h2, .section-heading h2, .context-heading h2, .cities-copy h2,
  .city-copy h2, .time-copy h2, .faq-section h2, .faq-heading h2, .venn-copy h2,
  .offer-copy h2, .how-section .section-intro h2 { font-size: clamp(34px, 9.5vw, 44px); letter-spacing: -1.2px; line-height: 1.12; }
  .section-intro > p, .section-heading > p:last-child, .context-heading > p:last-child,
  .venn-copy > p:not(.eyebrow), .cities-copy > p:not(.eyebrow), .city-copy > p:not(.eyebrow),
  .time-copy > p:not(.eyebrow), .offer-copy > p:not(.eyebrow), .faq-heading > p:last-child { font-size: 16px; line-height: 1.7; }
  .venn-layout, .offer-section { padding-block: 52px; gap: 28px; }
  .venn-factors strong, .offer-steps strong, .offer-includes strong { font-size: 16px; }
  .venn-factors p, .offer-steps p, .offer-includes p, .offer-cadence { font-size: 15px; line-height: 1.65; }
  .venn-figure-header strong, .venn-figure-header span { font-size: 12px; letter-spacing: .2px; }
  .venn-figure figcaption { font-size: 13px; }
  .venn-label { font-size: 34px; }
  .venn-center-label, .venn-center-label-realtor { font-size: 31px; }
  .feature-primary, .feature-secondary { padding: 24px; border-radius: 16px; }
  .feature-primary > p, .feature-secondary > p { font-size: 16px; }
  .feature-index, .illustration-note { font-size: 11px; line-height: 1.6; }
  .project-timeline > div { width: 30%; min-width: 0; }
  .project-timeline strong { font-size: 11px; }
  .project-timeline small { font-size: 10px; white-space: normal; }
  .topic-rail span, .audience-topics span { font-size: 13px; padding: 8px 11px; }
  .audience-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; margin-right: 0; padding-right: 0; }
  .audience-tabs button {
    padding: 12px;
    font-size: 14px;
    line-height: 1.4;
    min-height: 60px;
    border: 1px solid #dde3dd;
    border-radius: 12px;
    background: #fff;
    white-space: normal;
  }
  .audience-tabs button[aria-selected="true"] { border: 2px solid #2058d8; color: #143d99; background: #e8efff; padding: 11px; }
  .audience-copy h3, .explorer-copy h3 { font-size: 34px; line-height: 1.15; }
  .audience-kicker, .section-index { font-size: 12px; }
  .audience-copy > p:not(.audience-kicker), .explorer-copy #topic-description { font-size: 16px; line-height: 1.7; min-height: 0; }
  .audience-actions { gap: 10px; flex-direction: column; align-items: stretch; }
  .audience-actions .button, .audience-actions .text-link { font-size: 15px; justify-content: center; }
  .perspective-card { transform: none; border-radius: 16px; padding-inline: 20px; }
  .perspective-header, .perspective-header small, .perspective-bottom { font-size: 11px; }
  .perspective-header { gap: 6px; flex-wrap: wrap; }
  .perspective-row strong { font-size: 15px; }
  .perspective-row div > span { font-size: 14px; }
  .check-list, .city-benefits p { font-size: 15px; line-height: 1.65; }
  .visual-caption { flex-wrap: wrap; padding: 16px; }
  .visual-caption > span, .visual-caption small, .city-list > span { font-size: 11px; }
  .city-list > a { display: flex; align-items: center; min-height: 44px; font-size: 13px; margin-left: 0; }
  .source-stage > p, .flow-stage > p:last-child { font-size: 15px; line-height: 1.7; }
  .source-stack span { font-size: 14px; }
  .delivery-card > span:not(.delivery-icon) { font-size: 14px; }
  .delivery-card > div, .source-footnote { font-size: 12px; }
  .source-footnote a { min-height: 44px; display: inline-flex; align-items: center; }
  .offer-card { padding: 24px 20px; border-radius: 16px; }
  .offer-card-top > span:first-child { font-size: 11px; }
  .offer-reassurance, .offer-extras { font-size: 13px; }
  .realtor-banner { border-radius: 16px; }
  .realtor-banner p:last-child { font-size: 15px; }
  .topic-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .topic-tabs button { font-size: 14px; min-height: 48px; padding: 10px 2px; }
  .visual-topline { font-size: 11px; line-height: 1.5; flex-wrap: wrap; gap: 8px; }
  .example-signal h4 { font-size: 20px; }
  .example-signal p { font-size: 15px; line-height: 1.65; }
  .visual-note { font-size: 12px; line-height: 1.6; }
  .flow-stage { grid-template-columns: 1fr; }
  .flow-art { display: none; }
  .stage-number, .flow-stage h3, .flow-stage > p:last-child { grid-column: 1; }
  .stage-number { font-size: 12px; }
  .timeline { gap: 10px; }
  .timeline strong { font-size: 13px; line-height: 1.5; }
  .timeline-step > span:last-of-type, .timeline-note { font-size: 11px; line-height: 1.5; }
  .watchlist-demo { padding: 22px 16px 0; border-radius: 16px; }
  .watchlist-header .eyebrow { font-size: 11px; line-height: 1.5; }
  .watchlist-instruction { font-size: 14px; line-height: 1.6; }
  .city-chips { gap: 8px; }
  .city-chips button { min-height: 44px; padding: 10px 12px; font-size: 14px; border-radius: 10px; }
  .watchlist-result { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  .watchlist-result > span:first-child, .watchlist-result > span:last-child { font-size: 13px; line-height: 1.6; max-width: none; }
  .watchlist-demo .visual-note { font-size: 12px; }
  .watchlist-map .map-city text { font-size: 20px; }
  .watchlist-map .map-small-label { font-size: 14px; }
  .watchlist-map svg { overflow: visible; }
  .research-path > span { font-size: 12px; padding: 6px 8px; }
  .research-path strong { font-size: 14px; }
  .estimator { padding: 24px 20px; border-radius: 16px; }
  .estimate-controls label { font-size: 14px; line-height: 1.6; }
  input[type="range"] { height: 44px; margin: 4px 0 8px; background: transparent; }
  input[type="range"]:focus-visible { outline: 3px solid #2058d8; outline-offset: 4px; border-radius: 8px; }
  .estimate-bar-row { font-size: 12px; grid-template-columns: 64px 1fr 58px; }
  .estimate-note { font-size: 12px; line-height: 1.65; }
  .faq-list summary { min-height: 56px; font-size: 16px; line-height: 1.55; gap: 16px; }
  .faq-list details > p { font-size: 15px; line-height: 1.7; margin-right: 0; padding-right: 0; }
  .final-cta h2, .final-inner h2 { font-size: clamp(38px, 10.5vw, 52px); line-height: 1.1; }
  .final-cta p:not(.eyebrow), .final-inner > p:not(.eyebrow) { font-size: 16px; line-height: 1.7; }
  .final-cta .offer-final-note, .final-note { font-size: 13px; }
  .final-inner .eyebrow { font-size: 11px; line-height: 1.7; }
  .footer-top > p, .site-footer > div p { font-size: 14px; }
  .site-footer nav, .footer-top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .site-footer nav a, .footer-top nav a, .footer-bottom a { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; white-space: normal; }
  .footer-bottom, .footer-fineprint, .footer-fine { font-size: 12px; line-height: 1.7; }
  .mobile-action-bar {
    display: flex;
    position: fixed;
    z-index: 40;
    bottom: 0;
    left: 0;
    right: 0;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: #ffffff;
    border-top: 1px solid #dde3dd;
    box-shadow: 0 -8px 28px #1a274409;
  }
  .mobile-action-bar > div { min-width: 0; }
  .mobile-action-bar strong { display: block; font-size: 14px; line-height: 1.4; color: #1a2744; }
  .mobile-action-bar div > span { display: block; font-size: 12px; line-height: 1.5; color: #667085; margin-top: 3px; }
  .mobile-action-bar .button { min-height: 48px; padding: 12px 16px; font-size: 15px; gap: 10px; flex: none; }
  .mobile-action-bar .icon { width: 18px; height: 18px; }
}

@media (max-width: 360px) {
  .hero-tagline { font-size: 19px; }
  .photo-frame, .hero-image-wrap { height: 210px; }
  .mobile-action-bar { gap: 8px; padding-inline: 12px; }
  .mobile-action-bar strong { font-size: 13px; }
  .mobile-action-bar div > span { font-size: 11px; }
  .mobile-action-bar .button { padding-inline: 12px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
