:root {
  --bg: #0a0b10;
  --card: rgba(255,255,255,0.06);
  --card2: rgba(255,255,255,0.09);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.65);
  --line: rgba(255,255,255,0.10);
  --ok: rgba(46, 204, 113, 0.18);
  --err: rgba(231, 76, 60, 0.18);
  --shadow: 0 24px 70px rgba(0,0,0,0.55);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 15% 20%, rgba(96, 165, 250, 0.18), transparent 55%),
    radial-gradient(900px 500px at 75% 40%, rgba(167, 139, 250, 0.15), transparent 50%),
    radial-gradient(800px 500px at 55% 85%, rgba(34, 197, 94, 0.08), transparent 55%);
  filter: blur(0px);
  pointer-events: none;
}

.wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px 44px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.titles .name {
  font-weight: 800;
  letter-spacing: 0.2px;
}
.titles .sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 14px;
  font-size: 14px;
}
.nav a:hover { color: var(--text); }

.hero {
  padding: 54px 0 26px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.6px;
}

.tagline {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  max-width: 850px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 22px;
}
.pill {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.cta-row { display: flex; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
  font-weight: 600;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}
.btn.primary {
  background: rgba(96, 165, 250, 0.18);
  border-color: rgba(96, 165, 250, 0.30);
}
.btn.ghost { background: rgba(255,255,255,0.03); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(10px);
}

.grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 18px;
}

h2 { margin: 0 0 10px; letter-spacing: -0.2px; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); }

.list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li { margin: 8px 0; }

.panel {
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.panel-title { font-weight: 700; margin-bottom: 10px; }
.goal { display: flex; gap: 10px; margin: 12px 0; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  margin-top: 6px;
}
.panel-body .muted { margin-top: 2px; font-size: 13px; }

.signup {
  margin-top: 18px;
}

.form {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
input[type="email"]{
  flex: 1;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline: none;
}
input[type="email"]::placeholder { color: rgba(255,255,255,0.45); }
input[type="email"]:focus { border-color: rgba(96,165,250,0.50); }

.alert {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-top: 10px;
}
.alert.ok { background: var(--ok); }
.alert.err { background: var(--err); }

.fineprint {
  margin-top: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}
