/* Landing page: one card per view. Extends style.css. */
body.landing { height: auto; min-height: 100%; }
.landing main { max-width: 1320px; margin: 0 auto; padding: 48px 24px 32px; }
.landing h1 { font-size: 32px; margin: 0; letter-spacing: -0.01em; }
.landing .lede { color: var(--muted); font-size: 16px; margin: 6px 0 28px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .landing main { padding: 28px 16px; }
}
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover, .card:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); border-color: var(--accent); }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card-map { height: 360px; pointer-events: none; background: var(--bg); }
.card-body { padding: 18px 20px 20px; border-top: 1px solid var(--line); }
.card-label { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.card-label::after { content: " →"; color: var(--accent); }
.card-stat { margin: 6px 0 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.card-desc { margin: 6px 0 0; color: var(--muted); }
.footnote { margin-top: 24px; }
.card-map .maplibregl-ctrl-attrib { display: none; }
.card-tiles { display: grid; place-items: center; padding: 18px; }
.card-tiles svg { width: 100%; max-width: 360px; height: auto; }
/* The live map: one wide, shorter card under the explorers. */
.card.live { flex-direction: row; margin-top: 20px; }
.card.live .card-map { flex: 0 0 42%; height: auto; min-height: 180px; }
.card.live .card-body { flex: 1; align-self: center; border-top: 0; border-left: 1px solid var(--line); }
.card.live .card-label { font-size: clamp(18px, 1.8vw, 22px); }
.live-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
@media (max-width: 760px) {
  .card-map { height: 260px; }
  .card.live { flex-direction: column; }
  .card.live .card-map { flex: none; height: 160px; }
  .card.live .card-body { border-left: 0; border-top: 1px solid var(--line); }
}
/* The address box: a way in for anyone asking about their own electricity. */
.address { display: flex; flex-direction: column; gap: 8px; margin: -8px 0 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.address label { font-size: 15px; }
.address-row { display: flex; gap: 8px; }
.address input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); }
.address button { font: inherit; font-weight: 600; padding: 10px 18px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; cursor: pointer; }
@media (max-width: 760px) {
  .address-row { flex-direction: column; }
  .address input, .address button { min-height: 48px; }
}

/* Text pages (About). */
.landing .prose { max-width: 720px; }
.prose h2 { margin: 32px 0 8px; font-size: 20px; }
.prose ul { margin: 0; padding-left: 20px; line-height: 1.55; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--accent); }
