/* LandMatch Pro — shared styles (beta) */
:root {
  --bg: #0e1116;
  --panel: #161b22;
  --panel-2: #1f262f;
  --border: #2a323d;
  --text: #e6edf3;
  --muted: #9aa4b2;
  --brand: #4ade80;          /* land/green accent */
  --brand-2: #16a34a;
  --danger: #f87171;
  --link: #7dd3fc;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { color-scheme: dark; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Skip link for accessibility */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #000; padding: 8px 14px; z-index: 100;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* Header */
.site-header {
  background: rgba(14, 17, 22, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  max-width: 1100px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
nav.primary { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
nav.primary a { color: var(--muted); font-weight: 500; }
nav.primary a:hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-block; padding: 9px 16px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--panel-2); color: var(--text);
  font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none;
  transition: background 120ms, border-color 120ms;
}
.btn:hover { background: #2a323d; text-decoration: none; }
.btn.primary { background: var(--brand-2); border-color: var(--brand-2); color: #001b0c; }
.btn.primary:hover { background: var(--brand); border-color: var(--brand); }
.btn.block { display: block; width: 100%; text-align: center; padding: 12px 16px; font-size: 15px; }

/* Main */
main { flex: 1; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero {
  padding: 80px 20px 60px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(74, 222, 128, 0.12), transparent 60%);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em;
}
.hero .accent { color: var(--brand); }
.hero p.lede { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 60px 20px; border-top: 1px solid var(--border); }
section h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -0.01em; }
section .sub { color: var(--muted); margin: 0 0 30px; max-width: 640px; }

/* Card grid */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 22px; transition: border-color 120ms, transform 120ms;
}
.card:hover { border-color: var(--brand-2); }
.card .tag {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: rgba(74, 222, 128, 0.15); color: var(--brand);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 12px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card .meta { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; font-size: 14px; }

/* Sample-data banner */
.sample-banner {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: var(--danger);
  padding: 10px 14px; border-radius: 8px; font-size: 13px;
  margin-bottom: 24px; text-align: center;
}

/* How it works */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--brand-2); color: #001b0c; font-weight: 800; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { color: var(--muted); margin: 0; }

/* Auth pages */
.auth-shell {
  min-height: calc(100vh - 140px);
  display: flex; align-items: center; justify-content: center; padding: 40px 20px;
}
.auth-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px; width: 100%; max-width: 420px;
}
.auth-card h1 { margin: 0 0 6px; font-size: 24px; }
.auth-card .sub { color: var(--muted); margin: 0 0 24px; font-size: 14px; }
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px;
}
.field input {
  width: 100%; padding: 11px 12px; border-radius: 8px;
  background: #0a0d12; border: 1px solid var(--border); color: var(--text);
  font: inherit; font-size: 15px;
}
.field input:focus {
  outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}
.field .row { display: flex; gap: 8px; align-items: center; }
.field .show-pw {
  background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 11px 12px; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 600;
}
.consent { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0 18px; font-size: 13px; color: var(--muted); }
.consent input[type=checkbox] { margin-top: 2px; }
.auth-msg {
  padding: 10px 12px; border-radius: 8px; font-size: 13px;
  margin-bottom: 14px; display: none;
}
.auth-msg.error { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.3); color: var(--danger); display: block; }
.auth-msg.success { background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3); color: var(--brand); display: block; }
.auth-switch { text-align: center; margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 20px 32px;
  color: var(--muted);
  font-size: 13px;
  background: var(--panel);
}
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: 2fr 1fr 1fr; }
.site-footer h4 { color: var(--text); margin: 0 0 10px; font-size: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.site-footer .copyright { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); text-align: center; }
@media (max-width: 700px) {
  .site-footer .wrap { grid-template-columns: 1fr; }
  nav.primary { display: none; }
}

/* Doc pages (privacy, terms, about) */
.doc {
  padding: 50px 20px 80px;
}
.doc h1 { margin: 0 0 6px; font-size: 32px; }
.doc .updated { color: var(--muted); font-size: 13px; margin-bottom: 32px; }
.doc h2 { margin: 36px 0 10px; font-size: 20px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }

/* ── Homepage v2: explainer videos ── */
.videos { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.video-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
}
.video-card:hover { border-color: var(--brand-2); }
.video-card .vhead { padding: 16px 18px 6px; }
.video-card .vtag {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: rgba(74,222,128,.15); color: var(--brand);
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px;
}
.video-card h3 { margin: 0 0 4px; font-size: 18px; }
.video-card .vsub { color: var(--muted); font-size: 13px; margin: 0; }
.video-frame {
  position: relative; aspect-ratio: 16/9; background: #0a0d12;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 12px;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-pending {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--muted); text-align: center; padding: 20px;
  background: radial-gradient(ellipse at center, rgba(74,222,128,.08), transparent 70%);
}
.video-card .vbody { padding: 14px 18px 18px; }
.video-card .vbody ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.video-card .vbody li strong { color: var(--text); }

/* ── Coverage map ── */
.cov-legend { display: flex; gap: 18px; flex-wrap: wrap; margin: 0 0 22px; font-size: 13px; color: var(--muted); }
.cov-dot { display: inline-block; width: 10px; height: 10px; border-radius: 999px; margin-right: 6px; vertical-align: middle; }
.cov-dot.live { background: var(--brand); }
.cov-dot.soon { background: #d8a13a; }
.coverage { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cov-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px;
}
.cov-card.is-live { border-color: rgba(74,222,128,.4); }
.cov-card .cov-state { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cov-card .cov-state strong { font-size: 16px; color: var(--text); }
.cov-pill { font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.cov-pill.live { background: rgba(74,222,128,.18); color: var(--brand); }
.cov-pill.soon { background: rgba(216,161,58,.18); color: #e6b65a; }
.cov-card .cov-metros { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ── Buyer strip ── */
.buyers-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.buyer-chip {
  border: 1px solid var(--border); background: var(--panel-2); color: var(--text);
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.stat-row { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; margin-top: 6px; }
.stat { text-align: center; }
.stat .num { font-size: 30px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.stat .lbl { color: var(--muted); font-size: 13px; }
@media (max-width: 700px){ .videos { grid-template-columns: 1fr; } }
