/* Clean Set — marketing site.
   Hand-written CSS on purpose: no framework, no build step, no npm install.
   The whole point of this being a separate deployment is that it cannot
   break the app, and a static site with zero dependencies cannot. Brand
   tokens are copied from the app's globals.css so the two agree. */

:root {
  --bg: oklch(0.14 0.005 145);
  --bg-soft: oklch(0.18 0.007 145);
  --fg: oklch(0.97 0.005 145);
  --muted: oklch(0.68 0.01 145);
  --primary: oklch(0.86 0.21 131);
  --primary-ink: oklch(0.2 0.05 131);
  --border: oklch(0.28 0.008 145);
  --radius: 14px;
  --max: 1080px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

/* ── header ─────────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklch, var(--bg), transparent 12%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img { width: 30px; height: 30px; }
.brand span i { color: var(--primary); font-style: normal; }
.nav-links { display: none; gap: 26px; font-size: 0.92rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--fg); }
@media (min-width: 820px) { .nav-links { display: flex; } }

/* ── buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 8px 26px -10px color-mix(in oklch, var(--primary), transparent 45%);
}
.btn-primary:hover { background: color-mix(in oklch, var(--primary), white 12%); }
.btn-ghost { border-color: var(--border); color: var(--fg); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }

/* ── hero ───────────────────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 20px; text-align: center; }
.hero::before {
  content: "";
  position: absolute;
  inset: -140px 0 auto 50%;
  translate: -50% 0;
  width: min(820px, 120vw);
  height: 460px;
  background: radial-gradient(
    closest-side,
    color-mix(in oklch, var(--primary), transparent 84%),
    transparent
  );
  pointer-events: none;
}
.hero > * { position: relative; }
.hero .mark { width: 84px; height: 84px; margin: 0 auto 22px; }
h1 {
  font-size: clamp(2.1rem, 6.4vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 680;
  margin: 0 auto;
  max-width: 19ch;
  text-wrap: balance;
}
h1 em { color: var(--primary); font-style: normal; }
.sub {
  color: var(--muted);
  font-size: clamp(1.02rem, 2.1vw, 1.18rem);
  max-width: 56ch;
  margin: 22px auto 0;
  text-wrap: pretty;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}
.cta-note { color: var(--muted); font-size: 0.82rem; margin-top: 14px; }

/* ── generic section ────────────────────────────────────────────── */
section { padding: 68px 0; }
.eyebrow {
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.lede { color: var(--muted); max-width: 60ch; margin: 14px 0 0; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ── phone mockup (CSS, not a screenshot) ───────────────────────── */
.demo { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .demo { grid-template-columns: 1fr 320px; } }

.phone {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--bg-soft);
  padding: 14px 12px 18px;
  box-shadow: 0 30px 70px -30px rgb(0 0 0 / 0.75);
}
.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 12px;
  padding: 0 4px;
}
.pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 9px;
  font-variant-numeric: tabular-nums;
}
.pill.live { border-color: color-mix(in oklch, var(--primary), transparent 55%); color: var(--primary); }
.lift {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 12px;
  margin-bottom: 9px;
  background: color-mix(in oklch, var(--bg), transparent 35%);
}
.lift-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
}
.lift-head small { color: var(--muted); font-weight: 500; font-size: 0.74rem; }
.target {
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 600;
  margin-top: 2px;
}
.sets { display: flex; gap: 6px; margin-top: 9px; }
.set {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 9px;
  text-align: center;
  padding: 6px 0;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.set.done {
  border-color: color-mix(in oklch, var(--primary), transparent 45%);
  background: color-mix(in oklch, var(--primary), transparent 88%);
  color: var(--fg);
}
.bump {
  margin-top: 12px;
  border-radius: var(--radius);
  border: 1px dashed color-mix(in oklch, var(--primary), transparent 55%);
  padding: 9px 11px;
  font-size: 0.76rem;
  color: var(--fg);
}
.bump b { color: var(--primary); }

/* ── feature cards ──────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-soft);
  padding: 20px;
}
.card h3 { margin: 12px 0 6px; font-size: 1.02rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in oklch, var(--primary), transparent 86%);
  color: var(--primary);
  font-size: 1.15rem;
}

/* ── steps ──────────────────────────────────────────────────────── */
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
@media (min-width: 780px) { ol.steps { grid-template-columns: repeat(3, 1fr); } }
ol.steps li {
  counter-increment: s;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: var(--bg-soft);
}
ol.steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 12px;
}
ol.steps h3 { margin: 0 0 6px; font-size: 1rem; }
ol.steps p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ── form guide showcase ────────────────────────────────────────── */
.shots { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 760px) { .shots { grid-template-columns: 1fr 1fr; } }
figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-soft);
}
figure img { aspect-ratio: 16 / 9; object-fit: cover; }
figcaption { padding: 12px 15px; font-size: 0.84rem; color: var(--muted); }

/* A slot for real captures. Labelled as pending on purpose — better an
   honest empty frame than a fake screenshot. */
.slot {
  border: 1px dashed var(--border);
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  background: var(--bg-soft);
  padding: 20px;
}

/* ── pricing ────────────────────────────────────────────────────── */
/* TWO tiers, not three. Basic and Pro are the whole ladder now; the old
   Free/Coach/Pro split described a product that no longer exists. Capped
   and centred so two cards read as a deliberate pair rather than as three
   with one missing. */
.tiers { display: grid; gap: 14px; margin-top: 34px; }
@media (min-width: 780px) {
  .tiers { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-inline: auto; }
}
.tier { border: 1px solid var(--border); border-radius: 16px; padding: 22px; background: var(--bg-soft); }
.tier.hero-tier { border-color: color-mix(in oklch, var(--primary), transparent 50%); }
.tier h3 { margin: 0; font-size: 1.05rem; }
.price { font-size: 1.9rem; font-weight: 680; letter-spacing: -0.02em; margin: 8px 0 2px; }
.price small { font-size: 0.82rem; font-weight: 500; color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.tier li::before { content: "✓"; color: var(--primary); font-weight: 700; margin-right: 8px; }

/* ── faq ────────────────────────────────────────────────────────── */
.faq { margin-top: 30px; display: grid; gap: 10px; }
details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-soft);
  padding: 15px 18px;
}
details[open] { border-color: color-mix(in oklch, var(--primary), transparent 62%); }
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--primary); font-weight: 700; font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); font-size: 0.92rem; margin: 10px 0 0; }

/* ── closing cta + footer ───────────────────────────────────────── */
.closer {
  border: 1px solid color-mix(in oklch, var(--primary), transparent 60%);
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    color-mix(in oklch, var(--primary), transparent 92%),
    transparent
  );
  padding: 46px 24px;
  text-align: center;
}

footer { border-top: 1px solid var(--border); padding: 26px 0 40px; color: var(--muted); font-size: 0.84rem; }
.foot { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }

.disclaimer { margin-top: 14px; font-size: 0.76rem; max-width: 78ch; opacity: 0.75; }

/* ── hero quick-answer list ─────────────────────────────────────────
   Four plain statements under the fold-line, because the headline is a
   promise and some people need the literal feature list before they'll
   read on. */
.quick {
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
  display: grid;
  gap: 8px 26px;
  max-width: 620px;
  text-align: left;
  font-size: 0.94rem;
  color: var(--muted);
}
@media (min-width: 640px) { .quick { grid-template-columns: 1fr 1fr; } }
.quick li { display: flex; gap: 9px; align-items: baseline; }
.quick li::before { content: "→"; color: var(--primary); font-weight: 700; }
.quick b { color: var(--fg); font-weight: 600; }
