/* Oklahoma Land Sales — main stylesheet
   Palette: cream field, pine green, red-dirt clay, wheat gold.
   Contrast rule: all text/links ≥ 7:1 at rest on their background. */

:root {
  --cream: #FAF7F0;
  --paper: #FFFFFF;
  --ink: #1C2018;
  --pine: #1E3D2B;
  --pine-deep: #142B1E;
  --clay: #9C3B1E;        /* red-dirt accent, 7.2:1 on cream */
  --clay-bright: #C24E28; /* hover only */
  --wheat: #E8C878;
  --wheat-deep: #B98A2E;
  --sage: #6B7D6A;
  --line: #DAD4C4;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(28, 32, 24, 0.08), 0 12px 32px rgba(28, 32, 24, 0.06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand svg { width: 34px; height: 34px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.brand-name span { color: var(--clay); }

.main-nav { display: flex; gap: 28px; align-items: center; }

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover { color: var(--clay-bright); }

.main-nav a.nav-cta {
  background: var(--pine);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.main-nav a.nav-cta:hover { background: var(--pine-deep); color: #fff; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(#F6EEDC 0%, var(--cream) 100%);
}

.hero-art { position: absolute; inset: 0; z-index: 0; }
.hero-art svg { width: 100%; height: 100%; object-fit: cover; }

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 84px 24px 120px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 600;
  color: var(--pine-deep);
  margin-bottom: 18px;
}

.hero p.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto 44px;
}

/* Two-path decision cards */

.path-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 720px;
  margin: 0 auto;
}

.path-card {
  display: block;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.path-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(28,32,24,0.1), 0 18px 44px rgba(28,32,24,0.1);
}

.path-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.path-card.sell .icon { background: #F3E3D8; }
.path-card.buy .icon { background: #E2EADF; }

.path-card h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: 6px; }
.path-card p { color: #4A4A40; font-size: 0.95rem; margin-bottom: 14px; }

.path-card .go {
  font-weight: 700;
  color: var(--clay);
  font-size: 0.95rem;
}

.path-card:hover .go { color: var(--clay-bright); }

/* ---------- Sections ---------- */

section.band { padding: 72px 0; }
section.band.tint { background: #F2EDE0; }

.band h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  color: var(--pine-deep);
  text-align: center;
  margin-bottom: 12px;
}

.band .sub {
  text-align: center;
  color: #4A4A40;
  max-width: 620px;
  margin: 0 auto 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.step .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--clay);
  display: block;
  margin-bottom: 10px;
}

.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: #4A4A40; }

/* County grid */

.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.county-card {
  display: block;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.county-card:hover { border-color: var(--wheat-deep); transform: translateY(-2px); }
.county-card strong { font-family: var(--font-display); font-size: 1.05rem; display: block; }
.county-card span { font-size: 0.85rem; color: #55554A; }

/* ---------- Wizard forms ---------- */

.form-shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.form-shell h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--pine-deep);
  text-align: center;
  margin-bottom: 10px;
}

.form-shell .sub {
  text-align: center;
  color: #4A4A40;
  margin-bottom: 40px;
}

.progress {
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  margin-bottom: 36px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--pine), var(--wheat-deep));
  border-radius: 999px;
  transition: width 0.3s ease;
}

fieldset.wizard-step { border: none; padding: 0; margin: 0; min-width: 0; }

.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeUp 0.25s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.step-label {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

.wizard-step h2 {
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  color: var(--ink);
  margin-bottom: 28px;
  text-align: center;
}

.field { margin-bottom: 24px; }

.field .soft-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: #4A4A40;
  margin: 26px 0 7px;
}

/* Typeform-style inputs: big type, underline only */
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 4px;
  font-size: 1.3rem;
  font-family: inherit;
  border: none;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  transition: border-color 0.15s ease;
}

.field textarea { font-size: 1.05rem; }

.field input::placeholder, .field textarea::placeholder { color: #9A968A; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--pine);
}

.enter-hint { font-size: 0.82rem; color: #55554A; margin-left: 12px; }

@media (max-width: 820px) { .enter-hint { display: none; } }

/* Chip selectors */

.chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.chip {
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 16px 14px;
  font-size: 0.98rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: all 0.12s ease;
}

.chip:hover { border-color: var(--sage); }

.chip[aria-pressed="true"] {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}

/* Wizard nav */

.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  gap: 14px;
}

.btn {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-bright); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover { border-color: var(--sage); }

.btn-block { width: 100%; }

.form-note {
  text-align: center;
  font-size: 0.83rem;
  color: #55554A;
  margin-top: 18px;
}

.error-msg {
  color: var(--clay);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 10px;
  text-align: center;
  min-height: 1.2em;
}

/* ---------- County page ---------- */

.county-hero {
  background: linear-gradient(#EFE7D2, var(--cream));
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}

.county-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  color: var(--pine-deep);
  margin-bottom: 12px;
}

.county-hero .lede { max-width: 640px; color: #3E4238; font-size: 1.08rem; }

.crumbs { font-size: 0.85rem; margin-bottom: 20px; }
.crumbs a { color: var(--clay); font-weight: 600; text-decoration: none; }
.crumbs a:hover { color: var(--clay-bright); text-decoration: underline; }
.crumbs span { color: #55554A; }

.county-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 44px;
  padding: 56px 0;
  align-items: start;
}

.county-body article h2 {
  font-size: 1.5rem;
  color: var(--pine-deep);
  margin: 34px 0 12px;
}

.county-body article h2:first-child { margin-top: 0; }
.county-body article p { margin-bottom: 14px; color: #33362E; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }

.tag {
  background: #ECE5D2;
  color: var(--pine-deep);
  font-size: 0.83rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 14px;
}

.side-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}

.side-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.side-card p { font-size: 0.92rem; color: #4A4A40; margin-bottom: 18px; }
.side-card .btn { display: block; text-align: center; text-decoration: none; margin-bottom: 10px; }

/* FAQ */

.faq { max-width: 760px; margin: 0 auto; }

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 18px 22px;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink);
}

.faq details p { margin-top: 10px; color: #3E4238; font-size: 0.95rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--pine-deep);
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  color: #fff;
  margin-bottom: 12px;
}

.cta-band p { color: #D8DFD2; max-width: 520px; margin: 0 auto 32px; }

.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.cta-band .btn-primary { background: var(--wheat); color: var(--pine-deep); }
.cta-band .btn-primary:hover { background: #F0D48E; }

.cta-band .btn-ghost { color: #fff; border-color: #4A6152; }
.cta-band .btn-ghost:hover { border-color: var(--wheat); }

.cta-band a.btn { text-decoration: none; display: inline-block; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--pine-deep);
  color: #C9D2C3;
  padding: 56px 0 36px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.site-footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 14px;
}

/* Footer links ≥7:1 on pine-deep at rest */
.site-footer a { color: #E4EADF; text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--wheat); }

.footer-legal {
  border-top: 1px solid #2C4636;
  padding-top: 22px;
  font-size: 0.8rem;
  color: #ABB8A4;
}

.footer-legal p { margin-bottom: 6px; }

/* ---------- Thanks page ---------- */

.thanks-shell {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 96px 24px 120px;
}

.thanks-shell .mark { width: 72px; height: 72px; margin: 0 auto 26px; }
.thanks-shell h1 { font-size: 2.1rem; color: var(--pine-deep); margin-bottom: 14px; }
.thanks-shell p { color: #3E4238; margin-bottom: 28px; }

/* ---------- Prose pages (about/privacy) ---------- */

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.prose h1 { font-size: 2.2rem; color: var(--pine-deep); margin-bottom: 20px; }
.prose h2 { font-size: 1.4rem; color: var(--pine-deep); margin: 32px 0 10px; }
.prose p, .prose li { color: #33362E; margin-bottom: 12px; }
.prose ul { padding-left: 22px; }

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .main-nav { gap: 18px; }
  .main-nav a:not(.nav-cta) { display: none; }
  .steps { grid-template-columns: 1fr; }
  .county-body { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .site-header .wrap { gap: 10px; padding: 0 16px; }
  .brand { gap: 7px; }
  .brand svg { width: 28px; height: 28px; }
  .brand-name { font-size: 0.9rem; white-space: nowrap; }
  .main-nav a.nav-cta { white-space: nowrap; padding: 9px 16px; font-size: 0.9rem; }
  .path-cards { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-inner { padding: 56px 20px 80px; }
}
