/* ============================================================
   Golden Land Buyers — goldenlandbuyers.com
   Palette: Deed Navy / Harvest Gold / Warm Paper / Survey Green
   Type: Besley (display) · Public Sans (body) · IBM Plex Mono (data)
   ============================================================ */

:root {
  --navy: #1C2E4A;
  --navy-deep: #14213A;
  --navy-soft: #2A3F63;
  --gold: #C9962E;
  --gold-bright: #E3B84D;
  --gold-tint: #F6ECD4;
  --paper: #FBF9F3;
  --paper-card: #FFFFFF;
  --green: #43614F;
  --ink: #22293A;
  --ink-soft: #4D5468;
  --line: #DCD5C6;
  --font-display: "Besley", Georgia, serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --radius: 8px;
  --shadow: 0 2px 6px rgba(20, 33, 58, 0.08), 0 12px 32px rgba(20, 33, 58, 0.10);
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 10px 18px;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 0; }

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Header / nav ---------- */
header {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(201, 150, 46, 0.35);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand .brand-gold { color: var(--gold-bright); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.nav-links a {
  color: #E8E4DA;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a[aria-current="page"] {
  color: var(--gold-bright);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.nav-cta .btn { padding: 10px 18px; font-size: 0.95rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
  border: 2px solid var(--gold);
}
.btn-ghost:hover { background: rgba(201, 150, 46, 0.12); }

/* ---------- Eyebrow (surveyor stamp) ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 10px;
  margin-bottom: 14px;
  background: #FFFFFF;
}
.on-dark .eyebrow,
.hero .eyebrow {
  color: var(--gold-bright);
  border-color: rgba(201, 150, 46, 0.45);
  background: rgba(20, 33, 58, 0.5);
}

/* ---------- Headings ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.18; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 700; margin-bottom: 14px; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }

.section-intro {
  max-width: 720px;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.section-intro strong { color: var(--ink); }

section { padding: 72px 0; }
section.tight { padding: 48px 0; }

/* ---------- Hero (plat-grid signature) ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #F2EFE7;
  padding: 72px 0 80px;
  overflow: hidden;
}
.hero .plat {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero .container { position: relative; }

.hero h1 { color: #FFFFFF; margin-bottom: 18px; }
.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
}
.hero .lede {
  font-size: 1.15rem;
  color: #D7D3C8;
  max-width: 540px;
  margin-bottom: 26px;
}

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

.hero-points {
  list-style: none;
  display: grid;
  gap: 14px;
}
.hero-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
  color: #EFEBE0;
}
.hero-points svg { flex-shrink: 0; margin-top: 3px; }

/* ---------- Offer form card ---------- */
.offer-card {
  background: var(--paper-card);
  color: var(--ink);
  border-radius: var(--radius);
  border-top: 5px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}
.offer-card h2 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.offer-card .sub {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--navy);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
  outline: 2px solid var(--gold-tint);
}
.offer-card .btn { width: 100%; margin-top: 4px; }
.fine-print {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 12px;
  text-align: center;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--gold-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  justify-content: center;
}
.trust-item {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}
.trust-item::before {
  content: "✓ ";
  color: var(--gold);
}

/* ---------- Card grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.card h3 { color: var(--navy); }
.card p { font-size: 0.97rem; color: var(--ink-soft); }

/* Linked geo cards */
a.card {
  display: block;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
a.card .card-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.step p { font-size: 0.97rem; color: var(--ink-soft); }

/* Vertical detailed steps (how-it-works page) */
.steps-vertical { display: grid; gap: 22px; max-width: 780px; }
.steps-vertical .step { display: grid; grid-template-columns: 40px 1fr; gap: 18px; }
.steps-vertical .step-num { margin-bottom: 0; }

/* ---------- Dark band sections ---------- */
.band-dark {
  background: var(--navy);
  color: #E9E5DA;
}
.band-dark h2 { color: #FFFFFF; }
.band-dark .section-intro { color: #C9C4B6; }
.band-dark .step { background: var(--navy-soft); border-color: rgba(201, 150, 46, 0.3); }
.band-dark .step h3 { color: #FFFFFF; }
.band-dark .step p { color: #C9C4B6; }
.band-dark a { color: var(--gold-bright); }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.97rem;
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--navy);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.compare-table thead th:last-child { color: var(--gold-bright); }
.compare-table tbody th {
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-tint);
  white-space: nowrap;
}
.compare-table td:last-child { font-weight: 600; color: var(--green); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }
.faq-list details {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 20px;
}
.faq-list summary {
  font-weight: 700;
  color: var(--navy);
  padding: 16px 0;
  cursor: pointer;
  list-style-position: outside;
}
.faq-list summary::marker { color: var(--gold); }
.faq-list details[open] { border-color: var(--gold); }
.faq-list .answer {
  padding: 0 0 18px;
  color: var(--ink-soft);
}
.faq-list .answer a { color: var(--green); font-weight: 600; }

/* ---------- ZIP code grid ---------- */
.zip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 26px 0;
}
.zip-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 14px 16px;
}
.zip-code {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
.zip-area {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 0.85rem;
  padding: 14px 0;
  color: var(--ink-soft);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumbs li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--gold);
}
.breadcrumbs a { color: var(--green); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Prose (text-heavy pages) ---------- */
.prose { max-width: 760px; }
.prose p { margin-bottom: 18px; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 28px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--green); font-weight: 600; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: var(--navy);
  color: #F2EFE7;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.page-hero .plat { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #FFFFFF; margin-bottom: 12px; max-width: 800px; }
.page-hero h1 em { font-style: italic; color: var(--gold-bright); }
.page-hero .lede { font-size: 1.12rem; color: #D7D3C8; max-width: 680px; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--navy-deep);
  color: #E9E5DA;
  text-align: center;
  padding: 72px 0;
}
.final-cta h2 { color: #FFFFFF; }
.final-cta p { max-width: 560px; margin: 0 auto 26px; color: #C9C4B6; }

/* Compact CTA form band (subpages) */
.cta-form-band { background: var(--navy-deep); padding: 72px 0; }
.cta-form-band .cta-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.cta-form-band h2 { color: #FFFFFF; }
.cta-form-band p { color: #C9C4B6; }

.cta-row { text-align: center; margin-top: 36px; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(201, 150, 46, 0.35);
  padding: 28px 0;
  font-size: 0.9rem;
  color: #A9A493;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}
footer a { color: #D7D3C8; text-decoration: none; }
footer a:hover { color: var(--gold-bright); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .cta-form-band .cta-form-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav { justify-content: center; }
  .nav-links { justify-content: center; gap: 16px; }
  section { padding: 52px 0; }
  .hero { padding: 52px 0 60px; }
}
