:root {
  --bg: #06080c;
  --card: #0f131a;
  --line: #1e2633;
  --text: #f3f5f8;
  --muted: #8b95a8;
  --accent: #6ee7b7;
  --accent-dim: #1a3d32;
  font-family: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
}
.app { max-width: 480px; margin: 0 auto; padding: 0 0 72px; min-height: 100dvh; }
.hidden { display: none !important; }
.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(6,8,12,.95); z-index: 10;
}
.top__brand { font-weight: 700; font-size: 15px; }
.top__brand span { color: var(--accent); font-weight: 500; }
.countdown { font-size: 12px; color: var(--muted); }
.hero, .dash, .task, .done, .leaderboard { padding: 20px 16px; }
.kicker { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
h1 { font-size: 28px; line-height: 1.15; margin-bottom: 10px; }
h2 { font-size: 20px; margin-bottom: 12px; }
.sub { color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.legal { font-size: 11px; color: var(--muted); line-height: 1.45; margin-bottom: 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px 16px; border-radius: 12px; border: none;
  font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn--solid { background: var(--accent); color: #04120d; }
.btn--line { background: transparent; border: 1px solid var(--line); color: var(--text); margin-top: 10px; }
.btn--pulse { margin-top: 16px; }
.btn--share { width: auto; flex: 1; min-width: calc(50% - 6px); padding: 10px; font-size: 13px; background: var(--card); border: 1px solid var(--line); color: var(--text); }
.join-email input { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); margin-bottom: 10px; }
.check { display: flex; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 12px; align-items: flex-start; }
.member-badge { font-size: 13px; color: var(--accent); margin-bottom: 12px; }
.member-badge--internal { color: #f5a623; font-weight: 600; letter-spacing: 0.02em; }
.points-card {
  background: linear-gradient(135deg, var(--accent-dim), var(--card));
  border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 14px;
}
.points-card__label { display: block; font-size: 12px; color: var(--muted); }
.points-card__value { font-size: 40px; font-weight: 700; color: var(--accent); }
.grid-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px;
}
.grid-stats div {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 6px; text-align: center;
}
.grid-stats span { display: block; font-size: 18px; font-weight: 600; }
.grid-stats small { font-size: 10px; color: var(--muted); }
.eligibility {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px; margin-bottom: 4px;
}
.eligibility span { font-weight: 600; color: var(--accent); }
.eligibility small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.task-options { display: flex; flex-direction: column; gap: 10px; }
.task-opt {
  text-align: left; padding: 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font-size: 14px; line-height: 1.4; cursor: pointer;
}
.share-msg { color: var(--muted); font-size: 14px; margin: 12px 0; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
#lb-list { list-style: none; }
#lb-list li {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border-top: 1px solid var(--line); padding: 8px 4px;
}
.nav button {
  background: none; border: none; color: var(--muted); font-size: 11px; padding: 8px 4px; cursor: pointer;
}
.nav button.active { color: var(--accent); }
