:root {
  --bg: #0b0e13;
  --bg-elev: #12161f;
  --bg-elev-2: #171c27;
  --border: #232a38;
  --text: #eef1f6;
  --text-dim: #a7b0c0;
  --text-faint: #6b7383;
  --accent: #35d07f;
  --accent-dim: #1f8a54;
  --accent-ink: #06120b;
  --gold: #f2c14e;
  --red: #ef5a5a;
  --radius: 14px;
  --max: 1080px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fa;
    --bg-elev: #ffffff;
    --bg-elev-2: #f0f2f5;
    --border: #e2e5eb;
    --text: #14171f;
    --text-dim: #4c5567;
    --text-faint: #7c8494;
    --accent: #1f9d5c;
    --accent-dim: #17794a;
    --accent-ink: #ffffff;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Nav ---------- */
nav.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--text); text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(155deg, var(--accent), var(--accent-dim));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--accent-ink); flex: none;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: var(--accent-ink) !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 600 !important;
}
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 13px 26px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: 0.92; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-faint); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 20px; }
h1 span { color: var(--accent); }
.sub { font-size: clamp(16px, 2vw, 19px); color: var(--text-dim); max-width: 620px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 13.5px; color: var(--text-faint); }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
section.alt { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 14px; letter-spacing: -0.01em; }
.section-head p { color: var(--text-dim); font-size: 16px; margin: 0; }
.kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 10px; }

/* ---------- Feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; text-align: left;
}
section.alt .card { background: var(--bg); }
.card .icon {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 15%, transparent); font-size: 20px; margin-bottom: 16px;
}
.card h3 { font-size: 17px; margin: 0 0 8px; }
.card p { font-size: 14.5px; color: var(--text-dim); margin: 0; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 780px; margin: 0 auto; align-items: stretch; }
@media (max-width: 680px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 18px;
  padding: 32px; display: flex; flex-direction: column;
}
.plan.featured {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
  position: relative;
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
}
.plan h3 { font-size: 19px; margin: 0 0 6px; }
.plan .price { font-size: 38px; font-weight: 700; margin: 10px 0 4px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--text-faint); }
.plan .price-note { font-size: 13.5px; color: var(--text-faint); margin: 0 0 22px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-dim); padding: 7px 0; }
.plan li b { color: var(--text); font-weight: 500; }
.check { color: var(--accent); flex: none; margin-top: 1px; }

/* ---------- Track record note ---------- */
.proof {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 30px; display: flex; gap: 20px; align-items: flex-start; max-width: 720px; margin: 40px auto 0;
}
.proof .icon { font-size: 26px; flex: none; }
.proof h4 { margin: 0 0 6px; font-size: 16px; }
.proof p { margin: 0; color: var(--text-dim); font-size: 14.5px; }

/* ---------- Waitlist ---------- */
.waitlist-box {
  max-width: 520px; margin: 0 auto; background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 18px; padding: 40px; text-align: center;
}
.waitlist-box h2 { font-size: 24px; margin: 0 0 10px; }
.waitlist-box p { color: var(--text-dim); font-size: 14.5px; margin: 0 0 26px; }
.waitlist-divider {
  display: flex; align-items: center; gap: 14px; margin: 28px 0 22px;
  color: var(--text-faint); font-size: 13px;
}
.waitlist-divider::before, .waitlist-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

form.waitlist-form { display: flex; gap: 10px; }
@media (max-width: 480px) { form.waitlist-form { flex-direction: column; } }
.waitlist-form input[type=email] {
  flex: 1; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 15px; outline: none;
}
.waitlist-form input[type=email]:focus { border-color: var(--accent); }
.form-msg { margin-top: 14px; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: var(--red); }
.fine-print { font-size: 12.5px; color: var(--text-faint); margin-top: 16px; }

/* ---------- Content links ---------- */
.content-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.content-pill {
  display: flex; align-items: center; gap: 10px; background: var(--bg-elev-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 12px 20px; font-size: 14px; color: var(--text-dim);
}
.content-pill b { color: var(--text); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer .fbrand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
footer .disclaimer { font-size: 12px; color: var(--text-faint); max-width: 560px; }
footer .flinks { display: flex; gap: 18px; }
footer .flinks a { color: var(--text-dim); font-size: 13.5px; text-decoration: none; }
footer .flinks a:hover { color: var(--text); }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(5,7,10,0.6); display: none;
  align-items: center; justify-content: center; z-index: 50; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 18px;
  padding: 32px; max-width: 420px; width: 100%; text-align: center;
}
.modal .icon { font-size: 32px; margin-bottom: 14px; }
.modal h3 { margin: 0 0 10px; font-size: 20px; }
.modal p { color: var(--text-dim); font-size: 14.5px; margin: 0 0 22px; }
.modal-close { margin-top: 14px; background: none; border: none; color: var(--text-faint); font-size: 13.5px; cursor: pointer; text-decoration: underline; }
