/* Vanilla modern CSS — no framework, no build step.
 * Mirrors the app's design tokens so the marketing site feels
 * like the same product. */

:root {
  --bg: oklch(0.985 0.003 80);
  --surface: oklch(1 0 0);
  --surface-2: oklch(0.97 0.005 250);
  --fg: oklch(0.17 0.02 260);
  --fg-muted: oklch(0.45 0.012 260);
  --fg-subtle: oklch(0.62 0.005 260);
  --line: oklch(0.93 0.005 260);
  --brand: oklch(0.45 0.08 200);
  --brand-2: oklch(0.55 0.10 195);
  --brand-soft: oklch(0.95 0.025 200);
  --brand-fg: oklch(0.98 0 0);
  --success: oklch(0.55 0.13 145);
  --danger: oklch(0.56 0.2 25);
  --warn: oklch(0.68 0.13 65);

  --radius: 16px;
  --shadow-card:
    0 1px 1px oklch(0 0 0 / 0.03),
    0 4px 12px oklch(0 0 0 / 0.04);

  --font:
    "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ───────────────────── nav ───────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark-img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}
.brand-coach {
  color: var(--fg-muted);
  font-weight: 400;
}
.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-links a {
  color: var(--fg-muted);
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
}
.nav-links a:hover { color: var(--fg); background: oklch(0 0 0 / 0.04); }
.nav-links a.cta {
  color: var(--brand-fg);
  background: var(--brand);
  padding: 0.5rem 0.95rem;
}
.nav-links a.cta:hover { background: color-mix(in oklch, var(--brand), black 8%); text-decoration: none; }
@media (max-width: 720px) {
  .nav-links .hide-sm { display: none; }
}

/* ───────────────────── hero ───────────────────── */

.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 50% 0%, color-mix(in oklch, var(--brand) 10%, transparent), transparent 60%);
  z-index: -1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 880px;
  margin: 0 auto;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 640px;
  margin: 1.25rem auto 0;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ───────────────────── buttons ───────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(0.5px); }
.btn-primary {
  background: var(--brand);
  color: var(--brand-fg);
  box-shadow: 0 1px 2px oklch(0.45 0.08 200 / 0.3);
}
.btn-primary:hover { background: color-mix(in oklch, var(--brand), black 8%); }
.btn-outline {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--line);
}
.btn-outline:hover { background: var(--surface-2); border-color: color-mix(in oklch, var(--line), black 10%); }

/* ───────────────────── sections ───────────────────── */

section {
  padding: 4rem 0;
}
.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section-sub {
  color: var(--fg-muted);
  max-width: 640px;
  margin-top: 0.75rem;
  font-size: 1rem;
}
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 1px oklch(0 0 0 / 0.04), 0 8px 28px oklch(0 0 0 / 0.06);
}
.card .icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
}

/* ───────────────────── two-col split ───────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
}
.split .stat-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.stat .num {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.stat .lbl {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}

/* ───────────────────── pricing pills ───────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.pricing {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.pricing.highlight {
  border-color: var(--brand);
  box-shadow:
    0 0 0 1px var(--brand),
    var(--shadow-card);
}
.pricing h3 {
  font-size: 1.05rem;
  font-weight: 600;
}
.pricing .price {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 1rem 0 0.25rem;
  font-variant-numeric: tabular-nums;
}
.pricing .price small {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--fg-muted);
}
.pricing ul {
  margin: 1.5rem 0;
  padding: 0;
}
.pricing li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--fg-muted);
  display: flex;
  gap: 0.6rem;
  align-items: start;
}
.pricing li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--brand);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* ───────────────────── CTA strip ───────────────────── */

.cta-strip {
  background: var(--brand);
  color: var(--brand-fg);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
}
.cta-strip p {
  color: color-mix(in oklch, var(--brand-fg), transparent 25%);
  margin-top: 0.6rem;
  font-size: 1.05rem;
}
.cta-strip .btn-outline {
  background: white;
  color: var(--fg);
  border-color: transparent;
  margin-top: 1.5rem;
}

/* ───────────────────── form ───────────────────── */

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  max-width: 560px;
  margin: 0 auto;
}
.form .field { margin-bottom: 1.25rem; }
.form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 0.4rem;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--fg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand) 25%, transparent);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .helper { color: var(--fg-subtle); font-size: 0.8rem; margin-top: 0.3rem; }
.form .alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.form .alert-ok { background: oklch(0.96 0.04 145); color: var(--success); }
.form .alert-err { background: oklch(0.96 0.04 25); color: var(--danger); }

/* ───────────────────── prose (privacy/terms) ───────────────────── */

.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.02rem;
  color: var(--fg);
  line-height: 1.75;
}
.prose h1 { font-size: 2rem; margin: 0 0 1rem; }
.prose h2 { font-size: 1.4rem; margin: 2.5rem 0 1rem; font-weight: 600; }
.prose h3 { font-size: 1.1rem; margin: 1.5rem 0 0.75rem; font-weight: 600; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.25rem; color: var(--fg-muted); }
.prose ul, .prose ol { padding-left: 1.5rem; list-style: revert; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--fg); font-weight: 600; }

/* ───────────────────── footer ───────────────────── */

.footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 4rem;
  margin-top: 4rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: var(--fg-muted); }
