/* ===================== Landing page ===================== */
.l-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--wheat); margin-bottom: 10px; }
.eyebrow.dark { color: var(--wheat-deep); }
.l-h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 8px; }
.btn.ghost-light { background: transparent; border-color: rgba(255,255,255,.28); color: #f4efe3; }
.btn.ghost-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

/* Hero */
.l-hero {
  background:
    radial-gradient(1200px 500px at 85% 0%, rgba(217,164,65,.22), transparent 60%),
    repeating-linear-gradient(100deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px),
    var(--ink);
  color: #f4efe3; padding: 56px 0 64px;
}
.l-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.l-hero h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: .98; color: #fff; }
.l-hero .lead { font-size: 19px; color: #d8d1bd; max-width: 560px; margin: 18px 0 26px; }
.l-search { display: flex; gap: 10px; max-width: 560px; }
.l-search .search { flex: 1; }
.l-search input { border-color: transparent; }
.l-search .btn { min-height: 50px; padding: 0 22px; font-size: 16px; }
.l-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.l-live {
  background: var(--card); color: var(--ink); border-radius: 18px; padding: 18px 20px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 1px solid rgba(217,164,65,.5);
}
.l-live-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.l-live { display: flex; flex-direction: column; }
#liveMap { height: 400px; border-radius: 12px; border: 1px solid var(--line); background: #dcd5c2; }
.l-live-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; font-weight: 600; margin: 10px 0 12px; color: var(--ink-2); }
.l-live-legend span { display: inline-flex; align-items: center; gap: 6px; }
.l-live-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.l-live > .go { display: block; text-decoration: none; }
.l-live > .go:hover { background: #2d3a29; }
.l-live-link { display: block; text-decoration: none; color: inherit; }
.l-live-name { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.l-live-name h3 { font-size: 26px; }
.l-live .where { font-size: 14px; color: var(--muted); margin: 2px 0 12px; }
.l-live-bars .fill { margin: 0; }
.l-live-gauge { max-width: 250px; margin: 6px auto 4px; }
.l-live .eta { margin: 4px 0 12px; }
.l-live .go { background: var(--ink); color: #fff; text-align: center; border-radius: 10px; padding: 11px; font-weight: 700; }
.l-live-link:hover .go { background: #2d3a29; }

/* Live strip */
.l-strip { background: var(--wheat); color: var(--ink); }
.l-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.l-strip-grid div { padding: 18px 10px; text-align: center; border-right: 1px solid rgba(28,36,25,.15); }
.l-strip-grid div:last-child { border-right: 0; }
.l-strip b { display: block; font-family: var(--head); font-size: 36px; line-height: 1; }
.l-strip span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* Sections */
.l-section { padding: 64px 0; }
.l-section.alt { background: #ebe4d2; }
.l-section.dark { background: var(--ink); color: #f4efe3; }
.l-section.dark .l-h2 { color: #fff; }
.l-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.l-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.l-cards .farm-card .bars { margin: 12px 0 10px; }

.l-how { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.l-how-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.who { display: inline-block; background: var(--ink); color: #fff; padding: 5px 12px; border-radius: 8px; font-size: 16px; letter-spacing: .06em; }
.who.farmer { background: var(--wheat); color: var(--ink); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 20px 0 22px; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 50px; color: var(--ink-2); }
.steps li b { color: var(--ink); display: block; font-size: 17px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  background: #f3e3b8; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}

.l-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feat h3 { font-size: 20px; margin: 12px 0 6px; }
.feat p { margin: 0; color: var(--ink-2); }
.feat .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.feat .ico svg { width: 26px; height: 26px; fill: none; stroke: var(--wheat); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat .ico svg .fillc { fill: var(--wheat); }

.l-why { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why-list li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 16px; color: #d8d1bd; font-size: 17px; }
.why-list b { color: var(--wheat); }

.l-faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; }
.l-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.l-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: '+'; font-family: var(--head); font-size: 24px; line-height: 1; color: var(--wheat-deep); }
.l-faq details[open] summary::after { content: '−'; }
.l-faq details p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); }

.l-cta-band { background: var(--wheat); padding: 40px 0; }
.l-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.l-cta-inner p { margin: 4px 0 0; font-size: 17px; color: var(--ink-2); }
.l-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.l-cta-band .btn.wheat { background: var(--ink); border-color: var(--ink); color: #fff; }
.l-cta-band .btn.ghost-light { color: var(--ink); border-color: rgba(28,36,25,.35); }

@media (max-width: 960px) {
  .l-hero-grid, .l-how, .l-why, .l-faq-wrap { grid-template-columns: 1fr; }
  .l-cards, .l-features { grid-template-columns: 1fr 1fr; }
  .l-hero { padding: 36px 0 44px; }
}
@media (max-width: 620px) {
  #liveMap { height: 320px; }
  .l-cards, .l-features { grid-template-columns: 1fr; }
  .l-strip-grid { grid-template-columns: 1fr 1fr; }
  .l-strip-grid div:nth-child(2) { border-right: 0; }
  .l-strip-grid div:nth-child(-n+2) { border-bottom: 1px solid rgba(28,36,25,.15); }
  .l-search { flex-direction: column; }
  .l-section { padding: 44px 0; }
}
