:root {
  --bg: #07111f;
  --panel: #0f1b2f;
  --panel-2: #12233d;
  --text: #eef4ff;
  --muted: #a9bad7;
  --border: rgba(255, 255, 255, 0.09);
  --accent: #7af0b6;
  --accent-2: #76b7ff;
  --danger: #ff8f8f;
  --shadow: 0 24px 70px rgba(5, 10, 20, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(118, 183, 255, 0.16), transparent 26%),
    radial-gradient(circle at right top, rgba(122, 240, 182, 0.16), transparent 18%),
    var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
.shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 2rem 0 4rem; }
.card {
  background: linear-gradient(180deg, rgba(18, 35, 61, 0.95), rgba(11, 23, 42, 0.95));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0 2rem;
}
.brand, .eyebrow, .mini-label { letter-spacing: 0.08em; text-transform: uppercase; }
.brand { font-weight: 800; }
.eyebrow, .mini-label { color: var(--accent); font-size: 0.8rem; }
.mini-label { color: var(--muted); }
.ghost-link { color: var(--muted); }
.hero { padding-bottom: 2rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.98;
  margin: 0.2rem 0 1rem;
  max-width: 11ch;
}
.lede {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 58ch;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin: 1.75rem 0 1rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
}
.button.primary {
  background: linear-gradient(135deg, var(--accent), #6cdcff);
  color: #06111e;
  border-color: transparent;
}
.button.secondary { background: rgba(255, 255, 255, 0.04); }
.price { color: var(--muted); }
.metric-strip, .metrics-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.metric-card {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.metric-card strong { font-size: 1.8rem; }
.metric-card span { color: var(--muted); text-transform: capitalize; }
.compact { background: rgba(255, 255, 255, 0.03); border-radius: 18px; }
.hero-panel { padding: 1.4rem; }
.panel-header, .queue-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}
.panel-header h2, .queue-head h3, .dashboard-header h2 { margin: 0.25rem 0 0; }
.badge {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(118, 183, 255, 0.14);
  color: #cae2ff;
  font-size: 0.85rem;
  white-space: nowrap;
}
.badge.danger { background: rgba(255, 143, 143, 0.14); color: #ffc2c2; }
.member-list { display: grid; gap: 0.9rem; margin-top: 1rem; }
.member-row {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.member-row h3 { margin: 0 0 0.2rem; }
.member-row p { margin: 0.3rem 0 0; color: var(--muted); }
.reason, .play { font-size: 0.95rem; }
.play { color: var(--text); }
.risk-pill {
  display: inline-flex;
  margin-top: 0.7rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}
.risk-pill.high { background: rgba(255, 143, 143, 0.14); color: #ffcaca; }
.risk-pill.medium { background: rgba(255, 215, 138, 0.14); color: #ffd98d; }
.risk-pill.low { background: rgba(122, 240, 182, 0.14); color: #a7ffd7; }
.three-up, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.feature-card, .pricing-card, .signup-card, .proof-card, .sidebar, .dashboard-header, .queue-card, .signups-card, .success-banner {
  padding: 1.4rem;
}
.feature-card h2, .pricing-card h2, .signup-card h2, .proof-card h3 { margin-top: 0; }
.split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}
.steps, .checklist { color: var(--muted); line-height: 1.8; padding-left: 1.2rem; }
.signup-form {
  display: grid;
  gap: 0.9rem;
}
.signup-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
}
textarea { resize: vertical; }

.dashboard-body { min-height: 100vh; }
.dashboard-shell {
  width: min(1280px, calc(100% - 2rem));
  margin: 1rem auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
}
.sidebar { position: sticky; top: 1rem; height: fit-content; }
.side-nav { display: grid; gap: 0.6rem; margin-top: 2rem; }
.side-nav a {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  color: var(--muted);
}
.side-nav a.active { color: var(--text); background: rgba(122, 240, 182, 0.14); }
.dashboard-main { display: grid; gap: 1rem; }
.success-banner {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  background: rgba(122, 240, 182, 0.12);
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
th { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.muted { color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid, .split, .dashboard-shell, .pricing-grid, .three-up { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 640px) {
  .shell, .dashboard-shell { width: min(100% - 1rem, 100%); }
  .hero-copy h1 { max-width: none; }
  .panel-header, .queue-head, .topbar { flex-direction: column; align-items: flex-start; }
}
