:root {
  --bg: #0E1012;
  --bg-2: #15181B;
  --well: #0B0D0F;
  --line: #262B30;
  --line-lime: #3A4220;
  --text: #F2F4F5;
  --text-2: #C9CFD4;
  --muted: #8A939B;
  --lime: #C6FF3D;
  --lime-dim: rgba(198, 255, 61, .14);
  --danger: #FF6B5E;
  --r: 14px;
  --sans: "Montserrat", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --label: 11px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--line) var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
::selection { background: var(--lime); color: var(--bg); }
input { caret-color: var(--lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* measuring grid — the same lab grid as the reels */
.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(198,255,61,.08), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 32px 32px;
  opacity: .5;
  mask-image: linear-gradient(#000 0%, transparent 85%);
}

a { color: inherit; text-underline-offset: 3px; }
.mono { font-family: var(--mono); letter-spacing: .06em; }
.lime { color: var(--lime); }
.small { font-size: var(--label); }

main, .top, .foot { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* top */
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.brand, .top-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand { gap: 10px; font-size: 12px; }
.logo {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--lime);
  display: grid; place-items: center; font-weight: 900; font-size: 13px; position: relative; line-height: 1;
}
.logo svg { position: absolute; bottom: 4px; width: 6px; height: 5px; fill: var(--lime); }
.top-link { font-size: 12px; letter-spacing: .02em; color: var(--muted); padding: 0 2px; }
.top-link:hover { color: var(--lime); }

/* hero */
.hero { text-align: center; padding: 20px 0 32px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--label); font-weight: 700; color: var(--lime);
  border: 1px solid var(--lime); border-radius: 99px; padding: 4px 10px; background: rgba(14,16,18,.7);
}
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
h1, h2 { font-weight: 900; line-height: 1.02; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 10vw, 84px); margin: 0 0 16px; }
h1 .ln { display: inline-block; }
@media (max-width: 600px) { h1 .ln { display: block; } }
h2 { font-size: clamp(28px, 6vw, 44px); }
.lead { color: var(--muted); font-size: 17px; max-width: 30em; margin: 0 auto; }
.lead, .sub { text-wrap: pretty; }

/* spec line: the plan in numbers, read like a measurement strip */
.spec {
  list-style: none; margin: 24px auto 0; padding: 12px 0; max-width: 560px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.spec li { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: var(--label); color: var(--muted); text-transform: uppercase; }
.spec li + li { border-left: 1px solid var(--line); }
.spec b { font-family: var(--sans); font-size: 26px; font-weight: 900; letter-spacing: -.01em; color: var(--lime); line-height: 1.1; }

.btn {
  display: inline-block; background: var(--lime); color: var(--bg); font-family: var(--sans); font-weight: 800;
  font-size: 16px; border: 0; border-radius: 12px; padding: 16px 26px; min-height: 52px; text-decoration: none; cursor: pointer;
  transition: transform .15s cubic-bezier(.2,.8,.2,1), filter .15s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: translateY(0); filter: brightness(.96); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; filter: none; }
.btn-full { width: 100%; text-align: center; }

/* ladders */
.ladders { padding: 24px 0 8px; text-align: center; }
.sub { color: var(--muted); font-size: 14px; margin: 8px 0 24px; }
.ladders .sub { font-size: var(--label); }
.ladder-grid { display: grid; grid-template-columns: 1fr; gap: 14px; text-align: left; max-width: 860px; margin: 0 auto; }
@media (min-width: 700px) { .ladder-grid { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.ladder-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 8px; }
.reps { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 8px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.thumb {
  width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--well);
  display: grid; place-items: center; color: var(--muted); font-size: 12px; overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.goal .thumb { border-color: var(--lime); color: var(--lime); background: var(--lime-dim); }
.step-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.step-name { font-weight: 800; font-size: 15px; text-transform: uppercase; }
.step-pct { font-weight: 800; color: var(--lime); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.step-note { font-size: var(--label); color: var(--muted); margin-top: 1px; }
.bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--lime); border-radius: 4px; }

/* rule */
.rule { text-align: center; padding: 48px 0; }
.tag { font-size: var(--label); color: var(--muted); }
.rule p { font-size: clamp(20px, 4.5vw, 30px); font-weight: 800; margin: 10px 0; line-height: 1.3; }
.rule p.small { font-size: var(--label); font-weight: 500; color: var(--muted); line-height: 1.6; }

/* form */
.get { max-width: 480px; margin: 0 auto; padding: 0 0 48px; scroll-margin-top: 16px; }
.form-card, .done-card { padding: 26px 22px; border-color: var(--line-lime); }
.done-card { text-align: center; }
.done-card h2 { margin: 14px 0 20px; }
.field { display: block; border: 0; padding: 0; margin: 0 0 18px; }
.field > span, .field legend { display: block; font-size: var(--label); color: var(--muted); margin-bottom: 6px; padding: 0; }
.opt { text-transform: none; letter-spacing: 0; }
input[type=email] {
  width: 100%; min-height: 50px; font: 600 16px var(--sans); color: var(--text); background: var(--well);
  border: 1px solid var(--line); border-radius: 10px; padding: 14px;
}
input[type=email]::placeholder { color: #7A838C; }
input[type=email]:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-dim); }
input[type=email][aria-invalid=true] { border-color: var(--danger); }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: grid; place-items: center; min-height: 44px; padding: 0 4px; border: 1px solid var(--line); border-radius: 10px;
  font-weight: 700; font-size: 14px; background: var(--well); transition: border-color .15s, background-color .15s, color .15s;
}
.chips label:hover span { border-color: #3A4148; }
.chips input:checked + span { border-color: var(--lime); color: var(--lime); background: var(--lime-dim); }
.chips input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 0 0 20px; padding: 4px 0; cursor: pointer; }
.check input { accent-color: var(--lime); width: 20px; height: 20px; margin: 0; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.error { color: var(--danger); font-size: 14px; margin: 12px 0 0; }
.fine { font-size: 12px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.ghost { display: inline-flex; align-items: center; min-height: 44px; color: var(--lime); font-weight: 700; font-size: 14px; text-decoration: none; }
.ghost:hover { text-decoration: underline; }

/* footer */
.foot { display: flex; gap: 6px 18px; justify-content: center; align-items: center; flex-wrap: wrap; font-size: var(--label); color: var(--muted); padding-top: 16px; padding-bottom: 24px; border-top: 1px solid var(--line); }
.foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot a:hover { color: var(--lime); }

/* privacy & 404 */
.doc { max-width: 680px; padding-top: 24px; padding-bottom: 56px; }
.doc h1 { font-size: clamp(32px, 7vw, 48px); }
.doc h2 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--text-2); }

@media (max-width: 420px) {
  .spec b { font-size: 22px; }
  .card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .chips span { transition: none; }
}
