/* FarmMapper landing — brand tokens from docs/DESIGN.md */
:root {
  --green:        #2E6B34;  /* seed green: chrome, headings */
  --green-deep:   #245529;
  --orange:       #E65100;  /* safety orange: accents, CTA */
  --cream:        #FBF9F3;  /* surface */
  --paper:        #F6F3E7;  /* page ground */
  --pasture:      #EAE5CE;
  --bush:         #C2CEA7;
  --ink:          #1C1B17;  /* body text */
  --ink-soft:     #4E4A3A;
  --line:         #E0DAC6;
  --maxw:         1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2 {
  font-family: "Roboto Slab", Georgia, serif;
  line-height: 1.15;
  color: var(--green-deep);
  margin: 0;
}

a { color: var(--green); }

/* ---- Header ---- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.mark { display: block; flex: none; }
.wordmark-text {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.45rem;
  color: var(--ink);
}
.wm-farm   { font-weight: 400; }
.wm-mapper { font-weight: 700; }

.badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}

/* ---- Hero ---- */
.hero {
  background:
    radial-gradient(120% 120% at 80% -10%, var(--bush) 0%, transparent 55%),
    linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--cream);
  padding: clamp(48px, 9vw, 110px) 24px clamp(56px, 10vw, 120px);
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bush);
  margin: 0 0 14px;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lede {
  max-width: 38ch;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  margin: 22px 0 0;
  color: #EFEDE3;
}
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.95rem;
}
.coming-soon .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(230, 81, 0, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(230, 81, 0, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(230, 81, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 81, 0, 0); }
}

/* ---- Features ---- */
.features {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.feature {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
}
.feature-icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 14px;
}
.feature h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---- Field band ---- */
.band {
  background: var(--pasture);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.field-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) 24px;
}
.field-inner h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.field-lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 14px 0 28px;
  max-width: 46ch;
}
.field-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.field-points li {
  padding-left: 22px;
  position: relative;
  color: var(--ink-soft);
}
.field-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
}
.field-points strong { color: var(--ink); }

/* ---- Legal / prose pages ---- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) 24px clamp(56px, 9vw, 96px);
}
.legal .eyebrow { color: var(--green); }
.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 0 12px;
}
.legal h2 {
  font-size: 1.3rem;
  margin: 40px 0 10px;
}
.legal h3 {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 24px 0 6px;
}
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a { font-weight: 500; }

/* ---- Footer ---- */
.site-footer {
  background: var(--green-deep);
  color: var(--cream);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.footer-contact { margin: 0; }
.footer-contact a { color: var(--cream); font-weight: 500; }
.footer-legal {
  margin: 0;
  margin-left: auto;
  color: var(--bush);
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .footer-legal { margin-left: 0; width: 100%; }
}
