:root {
  --warm-ivory: #f7f2ea;
  --bath-stone: #d8c7ad;
  --deep-olive: #3f4938;
  --charcoal-brown: #2e2a25;
  --soft-clay: #b8795b;
  --mist-green: #b8c0a8;
  --stone-grey: #b5aea3;
  --soft-taupe: #a58f7b;
  --deep-navy-green: #1f302e;
  --pale-sky: #dde6e8;
  --surface: rgba(247, 242, 234, 0.94);
  --border: rgba(46, 42, 37, 0.16);
  --shadow: 0 18px 50px rgba(46, 42, 37, 0.12);
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-ivory);
  color: var(--charcoal-brown);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

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

h1,
h2,
h3 {
  color: var(--deep-olive);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.06;
}

h1 {
  margin-bottom: 0.1em;
  font-size: clamp(4rem, 7vw, 8rem);
}

h2 {
  margin-bottom: 0.35em;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}

h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.25rem, 1.6vw, 1.65rem);
}

p {
  margin-bottom: 1rem;
}

ul,
ol {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-180%);
  padding: 0.65rem 1rem;
  background: var(--warm-ivory);
  color: var(--charcoal-brown);
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  color: var(--warm-ivory);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.policy-page .site-header {
  background: rgba(247, 242, 234, 0.96);
  color: var(--charcoal-brown);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(16px);
}

.wordmark,
.footer-brand {
  color: inherit;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.35rem);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.nav-cta) {
  opacity: 0.9;
}

.site-nav a:not(.nav-cta):hover {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 1rem;
  border: 1px solid currentColor;
  border-radius: 0.35rem;
}

.site-header.is-scrolled .nav-cta,
.policy-page .nav-cta {
  border-color: var(--deep-olive);
  color: var(--deep-olive);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 0.35rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(560px, calc(100svh - 126px), 760px);
  overflow: hidden;
  background: var(--deep-navy-green);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(31, 48, 46, 0.76) 0%, rgba(31, 48, 46, 0.42) 45%, rgba(31, 48, 46, 0.12) 100%),
    linear-gradient(0deg, rgba(46, 42, 37, 0.34) 0%, rgba(46, 42, 37, 0.06) 48%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 2rem));
  margin-left: clamp(1rem, 6vw, 6rem);
  padding: 8.5rem 0 5rem;
  color: var(--warm-ivory);
}

.hero-content h1,
.hero-content .eyebrow {
  color: var(--warm-ivory);
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--soft-clay);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.strapline {
  margin-bottom: 1.2rem;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 1.6rem;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--deep-olive);
  color: var(--warm-ivory);
}

.button-primary:hover {
  background: var(--charcoal-brown);
}

.button-secondary {
  border-color: rgba(247, 242, 234, 0.86);
  color: var(--warm-ivory);
  background: rgba(247, 242, 234, 0.08);
}

.button-secondary:hover {
  background: var(--warm-ivory);
  color: var(--deep-olive);
}

.button-light {
  background: var(--warm-ivory);
  color: var(--deep-navy-green);
}

.button-outline-light {
  border-color: var(--warm-ivory);
  color: var(--warm-ivory);
}

.intro-band,
.content-section,
.problem-section,
.agent-section,
.privacy-band,
.pricing-section,
.location-section,
.about-section,
.final-cta {
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1rem, 5vw, 5rem);
}

.intro-band {
  background: var(--warm-ivory);
}

.section-grid,
.split-section,
.agent-section,
.privacy-band,
.location-section,
.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading p,
.copy-stack,
.problem-section p,
.privacy-band p,
.location-section p,
.about-section p {
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
}

.copy-stack p:last-child,
.section-heading p:last-child,
.privacy-band p:last-child,
.location-section p:last-child,
.about-section p:last-child {
  margin-bottom: 0;
}

.content-section {
  background: var(--warm-ivory);
}

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

.feature,
.price-card {
  min-height: 100%;
  padding: clamp(1.25rem, 2vw, 1.8rem);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.28);
}

.feature:nth-child(1) {
  background: rgba(216, 199, 173, 0.54);
}

.feature:nth-child(2) {
  background: rgba(184, 192, 168, 0.44);
}

.feature:nth-child(3) {
  background: rgba(221, 230, 232, 0.5);
}

.feature-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  place-items: center;
  border: 1px solid rgba(63, 73, 56, 0.26);
  border-radius: 0.45rem;
  color: var(--deep-olive);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature p,
.price-copy p,
.price-card p {
  margin-bottom: 0;
}

.problem-section,
.agent-section,
.pricing-section {
  background: var(--bath-stone);
}

.check-list,
.agent-list,
.plain-list {
  padding-left: 0;
  list-style: none;
}

.check-list li,
.agent-list li,
.plain-list li {
  position: relative;
  margin-bottom: 0.7rem;
  padding-left: 1.55rem;
}

.check-list li::before,
.agent-list li::before,
.plain-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--soft-clay);
  content: "";
}

.statement {
  padding: 0 0 0 1.35rem;
  border-left: 4px solid var(--soft-clay);
}

.agent-section {
  align-items: center;
}

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

.agent-list {
  margin: 0;
  padding: clamp(1.25rem, 2vw, 1.8rem);
  border: 1px solid rgba(63, 73, 56, 0.2);
  border-radius: 0.5rem;
  background: rgba(247, 242, 234, 0.46);
}

.two-column,
.pricing-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.two-column > div,
.price-copy {
  padding: clamp(1.25rem, 2vw, 1.8rem);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: rgba(216, 199, 173, 0.34);
}

.privacy-band {
  background: var(--deep-olive);
  color: var(--warm-ivory);
}

.privacy-band h2,
.privacy-band .eyebrow {
  color: var(--warm-ivory);
}

.price-card {
  background: var(--warm-ivory);
  box-shadow: var(--shadow);
}

.price-label {
  margin-bottom: 0.4rem;
  color: var(--soft-clay);
  font-weight: 700;
}

.price {
  margin-bottom: 0;
  color: var(--deep-olive);
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 600;
  line-height: 0.9;
}

.price-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.compact li {
  margin-bottom: 0.42rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 180px;
  padding: 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(247, 242, 234, 0.4);
}

.steps span {
  display: block;
  margin-bottom: 1rem;
  color: var(--soft-clay);
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
}

.steps p {
  margin: 0;
  font-weight: 600;
}

.location-section {
  background: var(--mist-green);
}

.faq-section {
  background: var(--warm-ivory);
}

.faq-list {
  max-width: 980px;
}

details {
  border-top: 1px solid var(--border);
}

details:last-child {
  border-bottom: 1px solid var(--border);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
  padding: 1.1rem 0;
  color: var(--deep-olive);
  font-weight: 700;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--soft-clay);
  content: "+";
  display: grid;
  place-items: center;
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 760px;
  padding-bottom: 1.2rem;
}

.about-section {
  background: var(--pale-sky);
}

.final-cta {
  background: var(--deep-navy-green);
  color: var(--warm-ivory);
}

.final-cta h2,
.final-cta .eyebrow {
  color: var(--warm-ivory);
}

.final-cta p {
  max-width: 720px;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 5vw, 5rem);
  background: var(--deep-navy-green);
  color: var(--warm-ivory);
  border-top: 1px solid rgba(247, 242, 234, 0.16);
}

.site-footer p {
  margin-bottom: 0.3rem;
}

.site-footer nav {
  display: grid;
  gap: 0.35rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.policy-page {
  background: var(--warm-ivory);
}

.policy-main {
  padding: 9rem clamp(1rem, 5vw, 5rem) 5rem;
}

.policy-content {
  max-width: 820px;
}

.policy-content h1 {
  color: var(--deep-olive);
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.policy-content h2 {
  margin-top: 2rem;
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
}

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

  .site-nav {
    position: fixed;
    inset: 76px 0 0 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: var(--warm-ivory);
    color: var(--charcoal-brown);
    box-shadow: 0 16px 30px rgba(46, 42, 37, 0.12);
    pointer-events: none;
    transform: translateY(-130%);
    transition: transform 180ms ease;
    visibility: hidden;
  }

  .site-nav.is-open,
  .policy-nav {
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .policy-nav {
    position: static;
    display: flex;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 0.8rem 0;
  }

  .nav-cta {
    margin-top: 0.5rem;
  }

  .section-grid,
  .split-section,
  .agent-section,
  .privacy-band,
  .location-section,
  .about-section,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

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

  .two-column {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 70px;
    padding: 0.85rem 1rem;
  }

  .site-nav {
    inset: 70px 0 0 0;
  }

  .wordmark {
    font-size: 1.55rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(31, 48, 46, 0.82) 0%, rgba(31, 48, 46, 0.6) 64%, rgba(31, 48, 46, 0.3) 100%),
      linear-gradient(0deg, rgba(46, 42, 37, 0.44) 0%, rgba(46, 42, 37, 0.1) 56%);
  }

  .hero-content {
    width: calc(100% - 2rem);
    margin: 0 1rem;
    padding: 8rem 0 4rem;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.35rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .intro-band,
  .content-section,
  .problem-section,
  .agent-section,
  .privacy-band,
  .pricing-section,
  .location-section,
  .about-section,
  .final-cta {
    padding: 4rem 1rem;
  }

  .price {
    font-size: 4.5rem;
  }

  summary {
    align-items: flex-start;
    min-height: 64px;
  }

  .policy-nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
