@import url("/static/site-header.css?v=20261013-compact");

:root {
  --pine: #18302a;
  --table-header: #333333;
  --forest: #3f8060;
  --forest-dark: #2e674b;
  --sage: #dfece4;
  --cream: #f4f7f3;
  --paper: #ffffff;
  --ink: #1c302b;
  --muted: #687872;
  --line: #d4ded7;
  --amber: #be7a16;
  --amber-bg: #fff1d8;
  --radius: 16px;
  --shadow: 0 18px 42px rgba(24, 48, 42, 0.1);
  --page-pad: clamp(22px, 5vw, 80px);
  --section-pad: clamp(40px, 6vw, 80px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

button,
select {
  cursor: pointer;
}

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

:focus-visible {
  outline: 3px solid #e4a52e;
  outline-offset: 3px;
}

.hero {
  min-height: 0;
  padding: var(--section-pad) var(--page-pad);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(circle at 84% 20%, rgba(223, 236, 228, 0.82), transparent 30%),
    var(--cream);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--forest-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--pine);
  font-size: clamp(2.55rem, 4vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.hero-intro {
  max-width: 640px;
  margin: 22px 0 28px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-city-heading {
  margin: 0;
  color: var(--pine);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.hero-copy {
  min-width: 0;
}

.single-line-title {
  white-space: nowrap;
}

.city-inline {
  position: relative;
  display: inline-block;
  width: auto;
  min-width: 7.2em;
  max-width: 100%;
  border-bottom: 4px solid var(--forest);
}

.city-select-trigger {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='m4 7 5 5 5-5' fill='none' stroke='%233f8060' stroke-width='2.5'/%3E%3C/svg%3E")
    no-repeat right 0.08em center / 0.65em 0.65em;
  padding: 0 1em 0 0;
  color: var(--forest);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: left;
}

.city-select-trigger:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(63, 128, 96, 0.24);
  outline-offset: 4px;
}

.city-options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  left: 0;
  width: min(320px, calc(100vw - 40px));
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(24, 48, 42, 0.2);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
}

.city-options[hidden] {
  display: none;
}

.city-option {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 9px 11px;
  font: inherit;
  text-align: left;
}

.city-option:hover,
.city-option:focus-visible {
  background: var(--sage);
  color: var(--pine);
  outline: 0;
}

.city-option[aria-selected="true"] {
  background: var(--forest);
  color: #fff;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 820px;
  margin-top: 16px;
}

.search-combobox {
  position: relative;
  min-width: 0;
}

.search-box {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(24, 48, 42, 0.05);
}

.search-box:focus-within {
  border-color: var(--forest);
  outline: 3px solid rgba(63, 128, 96, 0.18);
}

.search-box svg {
  width: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 17px 0;
  color: var(--ink);
  font-size: 0.92rem;
}

.search-suggestions-toggle {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pine);
}

.search-suggestions-toggle:hover {
  background: var(--sage);
}

.search-suggestions-toggle:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 1px;
}

.search-chevron {
  display: block;
  width: 0;
  height: 0;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 7px solid currentColor;
}

.search-suggestions-toggle[aria-expanded="true"] .search-chevron {
  transform: rotate(180deg);
}

.search-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: min(360px, 50vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(17, 46, 38, 0.2);
}

.search-suggestions[hidden] {
  display: none;
}

.search-suggestion {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 8px;
  padding: 11px 13px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.search-suggestion:hover,
.search-suggestion[aria-selected="true"] {
  background: var(--sage);
  color: var(--pine);
}

.button {
  min-height: 56px;
  border: 0;
  border-radius: 10px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-weight: 800;
}

.primary-button {
  background: var(--pine);
  color: #fff;
}

.primary-button:hover,
.footer-cta:hover {
  background: var(--forest-dark);
}

.hero-art {
  margin: 0;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.section {
  padding: var(--section-pad) var(--page-pad);
}

.home-city-comparison {
  background: var(--paper);
}

.home-city-comparison,
.guides {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.home-section-heading,
.guides-heading {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.home-section-heading h2,
.guides-heading h2 {
  margin: 0;
  color: var(--pine);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.home-section-heading > p,
.guides-heading > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.stacked-heading {
  display: block;
}

.stacked-heading > p {
  max-width: 680px;
  margin-top: 14px;
}

.home-city-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 360px)) auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 20px;
}

.home-city-controls .home-comparison-cta {
  min-height: 50px;
  justify-content: center;
  justify-self: start;
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--forest-dark);
  color: #fff;
  white-space: nowrap;
}

.home-city-controls .home-comparison-cta:hover {
  background: var(--pine);
  text-decoration: none;
}

.home-snapshot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.home-snapshot-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(2, minmax(150px, 1fr));
  align-items: center;
  gap: 24px;
  padding: 17px 22px;
}

.home-snapshot-row + .home-snapshot-row {
  border-top: 1px solid var(--line);
}

.home-snapshot-header {
  padding-block: 0;
  align-items: stretch;
  background: var(--table-header);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-snapshot-header > span {
  position: relative;
  display: flex;
  align-items: center;
  padding-block: 17px;
}

.home-snapshot-header > span + span::before {
  position: absolute;
  inset: 0 auto 0 -12px;
  border-left: 1px solid #fff;
  content: "";
}

.home-snapshot-row h3 {
  margin: 0;
  color: var(--pine);
  font-family: inherit;
  font-size: 0.92rem;
}

.home-snapshot-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.home-snapshot-row > strong {
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.2;
}

.home-snapshot-seasonal > strong {
  font-family: inherit;
  font-size: clamp(0.76rem, 1.15vw, 0.9rem);
  line-height: 1.45;
}

.home-rule-compare-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
  border-radius: 16px;
  background: #edf5ef;
  padding: 24px 26px;
  color: var(--ink);
  text-decoration: none;
}

.home-rule-compare-cta:hover strong {
  text-decoration: underline;
}

.home-rule-compare-cta .eyebrow {
  display: block;
  margin-bottom: 8px;
}

.home-rule-compare-cta strong {
  display: block;
  color: var(--pine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
}

.home-rule-compare-cta small {
  display: block;
  margin: 8px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.home-rule-compare-cta > span:last-child {
  color: var(--forest-dark);
  font-size: 1.5rem;
  font-weight: 900;
}

.home-comparison-cta,
.guides-directory-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  color: var(--forest-dark);
  font-weight: 850;
  text-decoration: none;
}

.home-comparison-cta:hover,
.guides-directory-cta:hover {
  text-decoration: underline;
}

.section-heading {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 34px;
}

.section-heading h2,
.guides-title,
.how h2,
footer h2 {
  margin: 0;
  color: var(--pine);
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.guides {
  background: #edf5ef;
}

.guides-title {
  width: 100%;
  margin-bottom: 0;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-category-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.home-category-card > img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.home-category-body {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
}

.home-category-body > strong {
  color: var(--pine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.home-category-examples {
  display: grid;
}

.home-category-examples > span {
  min-height: 33px;
  border-top: 1px solid var(--line);
  padding: 8px 0;
  font-size: 0.78rem;
  line-height: 1.3;
}

.home-category-more {
  color: var(--forest-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.guide-directory-page .hero,
.guide-directory-page .home-city-comparison,
.guide-directory-page .how {
  display: none;
}

.guide-directory-page .guides {
  min-height: 70vh;
}

.guide-directory-page .guides-directory-cta {
  display: none;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px;
}

.topic-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.topic-card-body {
  padding: 20px 20px 18px;
}

.topic-card h3 {
  margin: 0 0 13px;
  color: var(--pine);
  font-size: 1.28rem;
}

.topic-links {
  display: grid;
  gap: 0;
}

.topic-link {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 11px 0;
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.35;
  text-decoration: none;
}

.topic-link:hover {
  color: var(--forest-dark);
}

.empty-card {
  grid-column: 1 / -1;
  padding: 42px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.compare {
  background: var(--cream);
}

.compare-heading h2 {
  max-width: 720px;
}

.compare-heading {
  display: block;
}

.compare-heading > p {
  max-width: 720px;
  margin: 14px 0 30px;
}

.compare-field {
  display: grid;
  gap: 8px;
}

.compare-field label {
  font-weight: 800;
}

.compare-field select {
  width: 100%;
  min-height: 50px;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%2318302a' stroke-width='2'/%3E%3C/svg%3E")
    no-repeat right 16px center;
  padding: 12px 44px 12px 15px;
  color: var(--pine);
  font-weight: 700;
}

.moving-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  background: var(--pine);
  color: #fff;
}

.moving-teaser > div {
  max-width: 800px;
}

.moving-kicker {
  margin: 0 0 14px;
  color: #a9d1b8;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.moving-teaser h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.moving-teaser p:not(.moving-kicker) {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
}

.moving-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 12px 20px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.moving-cta:hover {
  background: #fff;
  color: var(--pine);
}

.evidence + .evidence {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.source-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--forest-dark);
  font-weight: 800;
}

.meta {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.loading-card {
  grid-column: 1 / -1;
  margin: 0;
  padding: 32px;
  color: var(--muted);
  text-align: center;
}

.retry {
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 7px 12px;
  font-weight: 700;
}

.how {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  background: var(--paper);
}

.how-copy,
.trust-preview {
  min-width: 0;
}

.how-intro {
  max-width: 600px;
  color: var(--muted);
}

.steps {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.steps span {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 1.12rem;
}

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

.trust-preview {
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.trust-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 750;
}

.trust-preview h3 {
  margin: 0;
  color: var(--pine);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.08;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.review-badge {
  border-radius: 999px;
  background: var(--sage);
  color: var(--forest-dark);
  padding: 6px 11px;
  font-weight: 850;
}

.review-badge.progress {
  background: var(--amber-bg);
  color: var(--amber);
}

.trust-summary {
  color: var(--muted);
}

.direct-answer {
  margin: 0 0 20px;
  color: var(--pine);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.trust-answer {
  margin-top: 18px;
}

.trust-source {
  margin-top: 22px;
  padding: 17px;
  border-left: 4px solid var(--forest);
  background: var(--paper);
}

.trust-source strong,
.trust-source a {
  color: var(--pine);
}

.trust-disclaimer {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.practical-notes {
  margin: 22px 0;
  padding: 18px;
  border-radius: 12px;
  background: #edf6f0;
}

.practical-notes h3 {
  margin: 0 0 8px;
  font-family: inherit;
  font-size: 0.9rem;
}

.practical-notes p {
  margin: 0;
  color: #344d45;
}

.practical-notes p + p {
  margin-top: 8px;
}

.decision-list {
  margin: 24px 0;
}

.faq-list {
  margin: 24px 0;
}

.faq-list > h3 {
  margin: 0 0 12px;
  color: var(--pine);
  font-size: 1.08rem;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  padding: 13px 30px 13px 0;
  cursor: pointer;
  font-weight: 800;
}

.faq-item p {
  margin: 0;
  padding: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.decision-list > h3 {
  margin: 0 0 6px;
  color: var(--pine);
  font-size: 1.08rem;
}

.decision-list-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

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

.decision-group {
  border: 1px solid var(--line);
  border-top: 4px solid var(--amber);
  border-radius: 12px;
  background: #f8faf8;
  padding: 15px 16px;
}

.decision-group-not-required {
  border-top-color: var(--forest);
}

.decision-group-check-first {
  border-top-color: var(--muted);
}

.decision-group > h4 {
  margin: 0 0 10px;
  font-size: 0.88rem;
}

.decision-group ul {
  margin: 0;
  padding-left: 19px;
}

.decision-group li + li {
  margin-top: 9px;
}

.decision-group li strong,
.decision-group li span {
  display: block;
}

.decision-group li strong {
  color: var(--pine);
  font-size: 0.86rem;
}

.decision-group li span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

footer {
  background: var(--pine);
  color: #c4d1cb;
  padding: 0 var(--page-pad);
}

.growth-callout {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 46px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.growth-callout .eyebrow {
  color: #97c2a7;
}

.growth-callout h2 {
  color: #fff;
}

.growth-callout p:last-child {
  margin-bottom: 0;
}

.footer-cta {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 14px 18px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer-guides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-guides .eyebrow {
  margin-bottom: 8px;
  color: #97c2a7;
}

.footer-guides a {
  color: #fff;
  font-weight: 800;
  line-height: 1.4;
}

.footer-row {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.82rem;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
}

dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  border: 0;
  border-radius: 22px;
  padding: 0;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(10, 28, 23, 0.76);
  backdrop-filter: blur(4px);
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 32px 24px;
  border-bottom: 1px solid var(--line);
}

.dialog-head h2 {
  margin: 4px 0;
  color: var(--pine);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.dialog-kicker {
  margin: 0;
  color: var(--forest-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #edf0ed;
  font-size: 1.6rem;
  line-height: 1;
}

#dialog-content {
  padding: 28px 32px 34px;
}

#dialog-content .supporting-summary {
  font-size: 1.08rem;
  line-height: 1.7;
}

.guide-evidence + .guide-evidence {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.guide-evidence > h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.researching {
  border-left: 4px solid var(--forest);
  border-radius: 0 10px 10px 0;
  background: #eff7f1;
  padding: 18px;
}

.skeleton {
  height: 16px;
  margin: 12px 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #dce6df, #f5f8f5, #dce6df);
  background-size: 200%;
  animation: pulse 1.2s infinite;
}

.skeleton:last-child {
  width: 65%;
}

@keyframes pulse {
  to {
    background-position: -200% 0;
  }
}

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

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

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

  .hero-art {
    width: min(100%, 680px);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .home-section-heading,
  .guides-heading {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .home-city-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }

  .home-city-controls .home-comparison-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .how-copy {
    max-width: 680px;
  }
}

@media (max-width: 660px) {
  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(2rem, 7.5vw, 3rem);
  }

  .city-select-trigger {
    width: auto;
    max-width: none;
  }

  .city-inline {
    display: inline-block;
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
  }

  .city-options {
    right: auto;
    left: -60px;
    width: min(270px, calc(100vw - 40px));
  }

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

  .hero-search .button {
    width: 100%;
  }

  .search-suggestions {
    position: static;
    max-height: min(320px, 45vh);
    margin-top: 8px;
  }

  .home-category-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .home-city-controls {
    grid-template-columns: 1fr;
  }

  .home-city-controls .home-comparison-cta {
    grid-column: auto;
    justify-self: start;
    white-space: normal;
  }

  .home-snapshot-row {
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 14px 12px;
  }

  .home-snapshot-header {
    padding-block: 0;
  }

  .home-snapshot-header > span {
    padding-block: 14px;
  }

  .home-snapshot-header > span + span::before {
    left: -4px;
  }

  .home-snapshot-row p {
    display: none;
  }

  .home-snapshot-row h3,
  .home-snapshot-header {
    font-size: 0.68rem;
  }

  .home-snapshot-row > strong {
    overflow-wrap: anywhere;
    font-size: 0.88rem;
  }

  .home-section-heading h2,
  .guides-heading h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .how {
    gap: 30px;
  }

  .moving-teaser {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .moving-cta {
    width: 100%;
  }

  .how-intro {
    margin-bottom: 0;
  }

  .steps {
    margin-top: 26px;
  }

  .steps li {
    padding: 14px 0;
  }

  .trust-preview {
    min-height: 0;
    padding: 24px;
  }

  .growth-callout,
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .growth-callout {
    min-height: 0;
    padding: 38px 0;
  }

  .footer-guides {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-row {
    min-height: 0;
    padding: 28px 0;
  }

  .dialog-head,
  #dialog-content {
    padding-left: 22px;
    padding-right: 22px;
  }

  .decision-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
