:root {
  --paper: #fbf7ef;
  --paper-strong: #f2eadb;
  --ink: #243029;
  --muted: #657168;
  --line: #ded2c0;
  --green: #275846;
  --green-2: #3f735e;
  --clay: #b35f35;
  --gold: #c59b45;
  --blue: #365f7d;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(36, 48, 41, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 239, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(36, 48, 41, 0.12);
}

.nav {
  min-height: 76px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  border: 1px solid rgba(36, 48, 41, 0.16);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  white-space: nowrap;
  border-radius: 999px;
  text-decoration: none;
  color: #3d4a42;
  font-size: 0.94rem;
}

.nav-links a:hover {
  background: var(--paper-strong);
}

.nav-links .nav-cta {
  background: var(--green);
  color: var(--white);
  padding-inline: 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

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

.hero {
  position: relative;
  min-height: min(700px, calc(80svh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 35, 29, 0.8), rgba(22, 35, 29, 0.48) 46%, rgba(22, 35, 29, 0.1)),
    linear-gradient(0deg, rgba(22, 35, 29, 0.22), rgba(22, 35, 29, 0));
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(280px, 360px);
  gap: 56px;
  align-items: center;
  color: var(--white);
}

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

.hero-portrait {
  justify-self: end;
  width: min(100%, 340px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
}

.hero-portrait div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(23, 35, 29, 0.82);
}

.hero-portrait strong,
.hero-portrait span {
  display: block;
}

.hero-portrait span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3c979;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 4.4rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-content p {
  max-width: 580px;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--clay);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Secondary buttons on light backgrounds need dark, high-contrast styling */
.listing-search-cta .button.secondary,
.calculator-form .button.secondary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.listing-search-cta .button.secondary:hover,
.calculator-form .button.secondary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--green);
  color: var(--white);
}

.intro-band div {
  min-height: 128px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2)) 28px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.intro-band span {
  color: rgba(255, 255, 255, 0.76);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 48px;
  align-items: start;
}

.about p {
  max-width: 720px;
  color: #49554d;
  font-size: 1.08rem;
}

.bio-card {
  max-width: 760px;
  padding: 24px;
  border-left: 5px solid var(--clay);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(36, 48, 41, 0.08);
}

.bio-card p:last-child {
  margin-bottom: 0;
}

.bio-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.bio-facts span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--paper-strong);
  color: #405148;
  font-size: 0.9rem;
  font-weight: 800;
}

.brokerage-strip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green);
  font-weight: 900;
}

.brokerage-strip span {
  color: var(--green);
}

.brokerage-strip a,
.facebook-link,
.footer a {
  color: inherit;
  font-weight: 900;
}

.brokerage-strip img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profile-panel div {
  padding: 24px;
}

.profile-panel div + div {
  border-top: 1px solid var(--line);
}

.profile-panel span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-panel strong {
  display: block;
  line-height: 1.35;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
}

.listing-search-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

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

.listing-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(36, 48, 41, 0.08);
}

.listing-placeholder {
  display: grid;
  align-content: center;
  gap: 10px;
  aspect-ratio: 4 / 3;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(39, 88, 70, 0.12), rgba(197, 155, 69, 0.16)),
    var(--paper-strong);
  color: var(--ink);
  text-align: center;
}

.listing-placeholder span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-placeholder strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.listing-card-body {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.listing-price {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.listing-address {
  font-weight: 800;
}

.listing-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.listing-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.market {
  border-bottom: 1px solid var(--line);
}

.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 16px;
}

.market-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(36, 48, 41, 0.08);
}

.market-card.primary-rate {
  background: var(--green);
  color: var(--white);
}

.market-label {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-rate .market-label {
  color: #f0bd67;
}

.market-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.market-card strong:empty {
  min-height: 4.4rem;
}

.market-card span:not(.market-label),
.market-card p {
  color: var(--muted);
}

.primary-rate span:not(.market-label) {
  color: rgba(255, 255, 255, 0.76);
}

.market-card a {
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
}

.primary-rate a {
  color: var(--white);
}

.market-explainer {
  background: var(--paper-strong);
}

.market-updated {
  display: block;
  margin-top: auto;
  font-size: 0.9rem;
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.calculator-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(36, 48, 41, 0.08);
}

.calculator-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}

.calculator-form input,
.calculator-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.calc-down-group,
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.calc-use-rate {
  justify-self: start;
}

.calculator-result {
  display: grid;
  gap: 14px;
  padding: 28px 24px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow);
}

.calc-result-label {
  color: #f0bd67;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-result > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1;
}

.calc-breakdown {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.calc-breakdown div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.calc-breakdown span {
  color: rgba(255, 255, 255, 0.76);
}

.calc-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.calculator-result .button.primary {
  justify-self: start;
}

.classroom {
  background: var(--paper-strong);
  max-width: none;
}

.classroom > * {
  max-width: 1180px;
  margin-inline: auto;
}

.lesson-grid,
.seller-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.lesson-grid article,
.seller-steps article,
.resource-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.lesson-grid article {
  min-height: 260px;
}

.lesson-number {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--clay);
  font-family: Georgia, serif;
  font-size: 2.25rem;
  line-height: 1;
}

.lesson-grid p,
.seller-steps p,
.resource-card p,
.resource-card li {
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.filter.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

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

.resource-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
}

.resource-card.is-hidden {
  display: none;
}

.resource-meta {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.resource-card ul {
  padding-left: 19px;
}

.resource-card a {
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
}

.checklist {
  max-width: none;
  background: var(--ink);
  color: var(--white);
}

.checklist > * {
  max-width: 1180px;
  margin-inline: auto;
}

.checklist .section-kicker {
  color: #f0bd67;
}

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

.checklist-grid label {
  display: flex;
  min-height: 64px;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.checklist-grid input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold);
}

.seller-steps article {
  border-top: 5px solid var(--gold);
}

.seo-local {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.local-tags,
.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.local-tags span,
.guide-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--white);
  color: #405148;
  font-weight: 700;
  text-decoration: none;
}

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

.guide-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 24px 56px;
}

.guide-hero h1 {
  max-width: 900px;
  color: var(--ink);
}

.guide-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.guide-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.guide-main {
  display: grid;
  gap: 18px;
}

.guide-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(36, 48, 41, 0.08);
}

.guide-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.guide-card h3 {
  margin: 22px 0 6px;
  font-size: 1.1rem;
}

.guide-card p,
.guide-card li {
  color: var(--muted);
}

.guide-card ul,
.guide-card ol {
  padding-left: 1.25rem;
}

.guide-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.guide-profile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.guide-profile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 18%;
}

.guide-profile div {
  padding: 20px;
}

.guide-profile p {
  color: var(--muted);
}

.guide-cta {
  display: grid;
  gap: 10px;
}

.guide-cta a {
  min-height: 46px;
}

.related-guides {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--paper-strong);
}

.related-guides a {
  display: block;
  padding: 9px 0;
  color: var(--green);
  font-weight: 900;
}

.guide-footer-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-panel {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-panel.compact {
  margin-top: 0;
  border-color: var(--line);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(36, 48, 41, 0.08);
}

.contact-panel h3 {
  margin-bottom: 4px;
  color: inherit;
}

.contact-panel a {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  text-decoration: none;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-panel.compact a {
  background: var(--paper-strong);
  color: var(--green);
}

.contact-panel a:hover {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.contact-panel span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel.compact span {
  color: var(--blue);
}

.faq {
  padding-top: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.reviews {
  padding-top: 0;
}

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

.review-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(36, 48, 41, 0.08);
}

.review-card img,
.review-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.review-card img {
  object-fit: cover;
  object-position: top center;
}

.review-placeholder {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(39, 88, 70, 0.12), rgba(197, 155, 69, 0.16)),
    var(--paper-strong);
  color: var(--ink);
  text-align: center;
}

.review-placeholder span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-placeholder strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.05;
}

.review-card figcaption {
  padding: 14px 16px;
  color: var(--green);
  font-weight: 900;
}

.review-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.review-note code,
.listing-note code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--paper-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
}

.contact {
  background: var(--green);
  color: var(--white);
}

.contact-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 52px;
}

.contact .section-kicker {
  color: #f0bd67;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.form-status {
  margin: 0;
  min-height: 1.6em;
  font-weight: 800;
}

.form-status.is-error {
  color: #ffd2bd;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.facebook-link {
  display: inline-flex;
  width: fit-content;
  color: var(--white);
}

.footer {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 24px;
  padding: 26px max(24px, calc((100vw - 1180px) / 2));
  background: #17231d;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    border-radius: 8px;
  }
}

@media (max-width: 980px) {
  .hero-content {
    padding-top: 0;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 24px;
  }

  .section-heading,
  .about-grid,
  .seo-local,
  .contact-content,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
  }

  .lesson-grid,
  .seller-steps,
  .resource-grid,
  .review-grid,
  .market-grid,
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-explainer {
    grid-column: 1 / -1;
  }

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

@media (max-width: 700px) {
  .nav {
    min-height: 68px;
    padding-inline: 16px;
  }

  .brand small {
    display: none;
  }

  .nav-links {
    inset: 68px 16px auto 16px;
  }

  .hero {
    min-height: min(700px, calc(82svh - 68px));
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(22, 35, 29, 0.82), rgba(22, 35, 29, 0.34));
  }

  .hero img {
    object-position: center;
  }

  .hero-inner {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 36px 0 44px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-portrait {
    width: 132px;
    justify-self: start;
    order: -1;
    border-radius: 50%;
  }

  .hero-portrait img {
    aspect-ratio: 1 / 1;
  }

  .hero-portrait div {
    display: none;
  }

  h1 {
    font-size: 2.52rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .intro-band,
  .lesson-grid,
  .seller-steps,
  .resource-grid,
  .market-grid,
  .review-grid,
  .listing-grid,
  .checklist-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .calc-down-group,
  .calc-row {
    grid-template-columns: 1fr;
  }

  .listing-search-cta {
    flex-direction: column;
  }

  .listing-search-cta .button {
    text-align: center;
  }

  .market-explainer {
    grid-column: auto;
  }

  .intro-band div {
    min-height: auto;
    padding: 22px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .section,
  .contact-content {
    padding: 68px 18px;
  }

  .lesson-grid article,
  .resource-card {
    min-height: auto;
  }

  .resource-card {
    padding: 20px;
  }

  .filter {
    flex: 1 1 auto;
  }
}

