/* ============================================================================
   The Forehand Lab — marketing site
   "Instrument" design language: clinical-lab precision. Near-white paper,
   hairline rules, Hanken Grotesk display + Space Mono data readouts, corner
   registration ticks, one electric-chartreuse signal rationed to CTAs and
   live data. Ported faithfully from the Claude Design handoff (web-kit /
   web-logo / web-parts1-4).
   ========================================================================== */

:root {
  --paper: #F7F7F5;
  --card: #FFFFFF;
  --sunk: #F0F0EC;
  --ink: #0C0D0E;
  --ink2: #5B5E63;
  --faint: #9A9DA2;
  --line: rgba(12, 13, 14, 0.10);
  --line2: rgba(12, 13, 14, 0.055);
  --accent: #D6FF3E;
  --accent-deep: #9FC400;
  --accent-ink: #1A2400;
  --bad: #E8643C;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', monospace;
  --max: 1180px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: var(--paper); }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }

button {
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  cursor: pointer;
}
button:hover { filter: brightness(0.97); }

/* ── Layout frame ─────────────────────────────────────────────── */
.section {
  background: var(--paper);
  color: var(--ink);
  padding: 108px 40px;
  position: relative;
  border-top: 1px solid var(--line);
}
.section--sunk { background: var(--sunk); }
.section--dark { background: var(--ink); color: #fff; border-top: 1px solid rgba(255, 255, 255, 0.10); }
.section--flush { border-top: none; }
.container { max-width: var(--max); margin: 0 auto; position: relative; }

.grid { display: grid; }
.center { text-align: center; }

/* ── Type primitives ──────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--faint);
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--bad { color: var(--bad); }
.eyebrow--center { justify-content: center; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--faint);
}
.mono--deep { color: var(--accent-deep); }
.mono--bad { color: var(--bad); }
.mono--ink2 { color: var(--ink2); }

.h2 {
  font-family: var(--sans);
  font-size: 56px;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -1.8px;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.section--dark .h2 { color: #fff; }

/* Chartreuse swipe behind an emphasized word */
.hl {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.34em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.dim { color: var(--ink2); }

.lead {
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink2);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.2px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 12px;
  white-space: nowrap;
  font-size: 14.5px;
  padding: 11px 18px;
  transition: transform .12s ease;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  font-weight: 800;
}
.btn--lg { font-size: 16.5px; padding: 15px 24px; }
.btn--dark { color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.btn--block { width: 100%; }

/* ── Panels (hairline surfaces) ───────────────────────────────── */
.panel {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.panel--dark { background: var(--ink); color: #fff; border: none; }
.panel--sunk { background: var(--sunk); }
.panel--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
}
.panel > * { position: relative; }

/* Corner registration ticks */
.ticks { position: absolute; inset: 0; pointer-events: none; }
.ticks span {
  position: absolute;
  width: 11px;
  height: 11px;
  --tick: var(--line);
}
.ticks span::before, .ticks span::after { content: ""; position: absolute; background: var(--tick); }
.ticks span::before { width: 11px; height: 1px; }
.ticks span::after { width: 1px; height: 11px; }
.ticks .tl { top: 10px; left: 10px; }
.ticks .tr { top: 10px; right: 10px; }
.ticks .bl { bottom: 10px; left: 10px; }
.ticks .br { bottom: 10px; right: 10px; }
.ticks .tl::before, .ticks .tl::after { top: 0; left: 0; }
.ticks .tr::before { top: 0; right: 0; }
.ticks .tr::after { top: 0; right: 0; }
.ticks .bl::before { bottom: 0; left: 0; }
.ticks .bl::after { bottom: 0; left: 0; }
.ticks .br::before { bottom: 0; right: 0; }
.ticks .br::after { bottom: 0; right: 0; }
.ticks--light span { --tick: rgba(255, 255, 255, 0.16); }

/* ── Status tags ──────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.tag--pass, .tag--live { background: var(--accent); color: var(--accent-ink); }
.tag--accent { color: var(--accent-deep); border-color: var(--accent-deep); }
.tag--stay { color: var(--bad); border-color: var(--bad); }
.tag--muted { color: var(--faint); border-color: var(--line); }
.tag--dark { background: rgba(255, 255, 255, 0.10); color: #fff; }

/* ── Instrument readout (big mono number) ─────────────────────── */
.readout { text-align: left; }
.readout--right { text-align: right; }
.readout .row { display: flex; align-items: flex-end; gap: 3px; }
.readout--right .row { justify-content: flex-end; }
.readout .val { font-family: var(--mono); font-weight: 700; letter-spacing: -2px; line-height: 0.85; color: var(--ink); }
.readout .unit { font-family: var(--mono); color: var(--ink2); font-weight: 700; }
.readout .cap { font-size: 12.5px; color: var(--ink2); margin-top: 7px; line-height: 1.3; }
.readout .delta { font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: var(--accent-deep); margin-top: 5px; }
.readout--dark .val { color: #fff; }
.readout--dark .unit { color: rgba(255, 255, 255, 0.55); }
.readout--dark .cap { color: rgba(255, 255, 255, 0.55); }
.readout .delta--bad { color: var(--bad); }

/* ── Social-proof bits ────────────────────────────────────────── */
.stars { display: inline-flex; gap: 1.5px; }
.avatar {
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

/* Pass-condition gate row */
.gate {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line2);
}
.gate .dot {
  width: 22px; height: 22px; border-radius: 999px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
}
.gate .lbl { flex: 1; font-size: 14px; font-weight: 600; color: var(--ink); }
.gate .v { font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--accent-deep); }

/* ============================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 247, 245, 0.82);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
  padding: 13px 40px;
}
.nav__inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 9px; }
.nav__brand-name { font-family: var(--sans); font-weight: 800; font-size: 17px; letter-spacing: -0.6px; line-height: 1; }
.nav__links { flex: 1; display: flex; gap: 28px; justify-content: center; }
.nav__links a { font-family: var(--sans); font-size: 14.5px; color: var(--ink2); font-weight: 600; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; gap: 12px; align-items: center; }
.nav__signin { font-family: var(--sans); font-size: 14px; color: var(--ink2); font-weight: 600; white-space: nowrap; }
.nav__signin:hover { color: var(--ink); }

/* ============================================================================
   HERO
   ========================================================================== */
.hero {
  background: var(--paper);
  padding: 72px 40px 96px;
  position: relative;
  overflow: hidden;
}
.hero__texture {
  position: absolute;
  top: 0; right: 0;
  width: 360px; height: 360px;
  opacity: 0.5;
  background-image:
    linear-gradient(var(--line2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line2) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle at top right, #000, transparent 70%);
  mask-image: radial-gradient(circle at top right, #000, transparent 70%);
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--ink2);
  margin-bottom: 26px;
}
.hero__badge .pulse { width: 7px; height: 7px; border-radius: 999px; background: var(--accent-deep); }
.hero h1 {
  font-family: var(--sans);
  font-size: 82px;
  line-height: 0.93;
  font-weight: 800;
  margin: 0;
  letter-spacing: -3px;
  color: var(--ink);
  text-wrap: balance;
}
.hero__sub { font-family: var(--sans); font-size: 20px; line-height: 1.5; color: var(--ink2); margin-top: 26px; max-width: 480px; }
.hero__cta { display: flex; gap: 16px; align-items: center; margin-top: 32px; flex-wrap: wrap; }
.hero__proof { display: flex; align-items: center; gap: 10px; }
.hero__proof .stack { display: flex; }
.hero__proof .stack .avatar { width: 30px; height: 30px; font-size: 10.2px; }
.hero__proof .stack .avatar + .avatar { margin-left: -9px; }
.hero__proof .who { font-family: var(--sans); font-size: 12.5px; color: var(--ink2); margin-top: 2px; }
.hero__note {
  display: flex; align-items: center; gap: 8px; margin-top: 30px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 1px; color: var(--faint); text-transform: uppercase;
}
.hero__note::before { content: ""; width: 18px; height: 1px; background: var(--line); }

.hero__device { position: relative; display: flex; justify-content: center; align-items: center; }
.hero__glow {
  position: absolute; width: 360px; height: 360px; border-radius: 999px;
  background: var(--accent); opacity: 0.28; filter: blur(60px); z-index: 0;
}
.hero__device .phone-scale { position: relative; z-index: 1; }

.pin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 10px 30px -14px rgba(12, 13, 14, 0.4);
}
.pin--accent { background: var(--accent); border-color: transparent; }
.pin--tr { position: absolute; top: 38px; right: -2px; z-index: 3; }
.pin--bl { position: absolute; bottom: 70px; left: -6px; z-index: 3; }
.pin .pct { font-family: var(--mono); font-weight: 700; color: var(--accent-deep); }

/* ============================================================================
   PROBLEM
   ========================================================================== */
.problem__grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 72px; align-items: center; }
.problem__lead { font-family: var(--sans); font-size: 19px; color: var(--ink2); line-height: 1.55; margin-top: 24px; max-width: 500px; }
.problem__punch { font-family: var(--sans); font-size: 19px; color: var(--ink); font-weight: 700; margin-top: 16px; line-height: 1.45; max-width: 500px; }
.problem__legend { display: flex; gap: 22px; margin-top: 8px; font-family: var(--sans); font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.problem__legend span { display: flex; align-items: center; gap: 7px; }
.problem__legend .swatch { width: 11px; height: 11px; border-radius: 999px; background: var(--accent); border: 1px solid #fff; }
.problem__legend .x { color: var(--bad); font-weight: 800; font-size: 16px; }
.problem__quote {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--mono); font-size: 12.5px; color: rgba(255, 255, 255, 0.45); font-style: italic;
}

/* ============================================================================
   HOW IT WORKS
   ========================================================================== */
.how__head { text-align: center; margin-bottom: 56px; }
.how__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 20px; border-radius: 16px; min-height: 290px; }
.step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.step__title { font-family: var(--sans); font-weight: 800; font-size: 22px; letter-spacing: -0.6px; margin-bottom: 14px; }
.step__body { font-family: var(--sans); font-size: 14px; color: var(--ink2); line-height: 1.5; }
.step__art {
  height: 116px; background: var(--sunk); border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 16px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.step__art .drill-row { display: flex; flex-direction: column; gap: 8px; padding: 0 18px; width: 100%; }
.step__art .drill-row > div { display: flex; align-items: center; gap: 9px; }
.step__art .drill-row .bullet { width: 13px; height: 13px; border-radius: 999px; border: 1.4px solid var(--line); background: var(--card); flex-shrink: 0; }
.step__art .drill-row .bullet--on { border-color: var(--accent-deep); background: var(--accent); }
.step__art .drill-row .t { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink2); }
.step__art .drill-row .t--on { font-weight: 700; color: var(--ink); }
.step__art .count-num { font-family: var(--mono); font-size: 42px; font-weight: 700; letter-spacing: -2px; line-height: 1; color: var(--ink); }
.step__art .count-num span { color: var(--faint); }
.step__art .count-dots { display: flex; gap: 4px; justify-content: center; margin-top: 8px; }
.step__art .count-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--card); border: 1.3px solid var(--line); }
.step__art .count-dots span.on { background: var(--accent); border-color: var(--accent-deep); }
.step__art .count-cap { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--faint); margin-top: 6px; }
.step__art .pass-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--accent);
  border-radius: 10px; font-family: var(--sans); font-weight: 800; font-size: 15px; color: var(--accent-ink);
}
.step__art .pass-cap { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--ink2); margin-top: 9px; }

/* ============================================================================
   WHAT IT SEES
   ========================================================================== */
.sees__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center; }
.sees__proof-head { display: flex; justify-content: space-between; align-items: flex-start; }
.sees__proof-title { font-family: var(--sans); font-weight: 800; font-size: 20px; letter-spacing: -0.5px; margin-top: 6px; }
.sees__proof-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; margin-top: 16px; align-items: center; }
.sees__features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.feature { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.feature__title { font-family: var(--sans); font-weight: 800; font-size: 16px; letter-spacing: -0.3px; margin-top: 10px; }
.feature__body { font-family: var(--sans); font-size: 13px; color: var(--ink2); line-height: 1.45; margin-top: 4px; }
.sees__callout {
  margin-top: 18px; padding: 15px 18px; background: var(--ink); color: #fff; border-radius: 14px;
  font-family: var(--sans); font-size: 14.5px; line-height: 1.5;
}
.sees__callout span { color: rgba(255, 255, 255, 0.7); }

/* ============================================================================
   SESSION TRACKING
   ========================================================================== */
.track__head { text-align: center; margin-bottom: 48px; }
.track__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.panel-head__title { font-family: var(--sans); font-weight: 800; font-size: 22px; letter-spacing: -0.6px; margin-top: 5px; }
.section--dark .panel-head__title, .panel--dark .panel-head__title { color: #fff; }
.streak { display: flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: 13.5px; font-weight: 700; }

.heatmap { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.heatmap .hd { font-family: var(--mono); font-size: 10px; color: var(--faint); text-align: center; margin-bottom: 2px; }
.heatmap .cell { aspect-ratio: 1; border-radius: 7px; border: 1px solid transparent; }
.heatmap .cell.l0 { background: var(--card); border-color: var(--line); }
.heatmap .cell.l1 { background: #EAF2C9; }
.heatmap .cell.l2 { background: #CFE873; }
.heatmap .cell.l3 { background: var(--accent); }
.heat-legend { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.heat-legend .sw { width: 13px; height: 13px; border-radius: 4px; border: 1px solid transparent; }
.heat-legend .sw.l0 { background: var(--card); border-color: var(--line); }
.heat-legend .sw.l1 { background: #EAF2C9; }
.heat-legend .sw.l2 { background: #CFE873; }
.heat-legend .sw.l3 { background: var(--accent); }
.heat-legend .total { margin-left: auto; color: var(--ink2); font-weight: 700; }

.trend__cap { font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, 0.45); font-style: italic; margin-top: 4px; }

.sessions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.session {
  border: 1px solid var(--line); border-radius: 14px; padding: 15px; background: var(--card);
  display: flex; flex-direction: column; gap: 8px;
}
.session--stay { background: var(--sunk); }
.session__top { display: flex; justify-content: space-between; align-items: center; }
.session__stroke { font-family: var(--mono); font-size: 9.5px; font-weight: 700; padding: 2px 6px; border-radius: 5px; }
.session__stroke.fh { background: var(--accent); color: var(--accent-ink); }
.session__stroke.bh { background: var(--ink); color: #fff; }
.session__title { font-family: var(--sans); font-weight: 700; font-size: 14.5px; line-height: 1.2; letter-spacing: -0.3px; }
.session__stat { font-family: var(--sans); font-size: 13px; color: var(--ink2); }
.session__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; }
.session__pass { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 10.5px; color: var(--accent-deep); font-weight: 700; }
.session__stayflag { font-family: var(--mono); font-size: 10.5px; color: var(--bad); font-weight: 700; }
.session__replay { font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
.seeall { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); font-weight: 700; cursor: pointer; }

/* ============================================================================
   DRILLS / SKILL TREE
   ========================================================================== */
.drills__grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: 56px; align-items: start; }
.strokes { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.stroke { display: flex; gap: 11px; align-items: center; }
.stroke__icn {
  width: 26px; height: 26px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stroke__icn--live { background: var(--accent); border-color: transparent; }
.stroke__txt { font-family: var(--sans); font-size: 15.5px; color: var(--faint); }
.stroke__txt--live { color: var(--ink); }
.levels { display: flex; flex-direction: column; gap: 9px; }
.level {
  display: flex; align-items: center; gap: 14px; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--card);
}
.level--pass { background: var(--sunk); }
.level--now { border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(214, 255, 62, 0.25); }
.level--lock { opacity: 0.55; }
.level__badge {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.level__badge--pass { background: var(--accent); }
.level__badge--now { background: var(--ink); color: #fff; }
.level__name { font-family: var(--sans); font-weight: 700; font-size: 15.5px; letter-spacing: -0.3px; }
.level__goal { font-family: var(--sans); font-size: 12.5px; color: var(--ink2); margin-top: 1px; }
.level__main { flex: 1; min-width: 0; }

/* ============================================================================
   WHO IT'S FOR
   ========================================================================== */
.who__head { text-align: center; margin-bottom: 48px; }
.who__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 940px; margin: 0 auto; }
.who__list { list-style: none; padding: 0; margin: 16px 0 0; }
.who__list li { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line2); }
.who__list li span.t { font-family: var(--sans); font-size: 16px; color: var(--ink); }
.who__yes .mk {
  width: 22px; height: 22px; border-radius: 999px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.who__no li span.t { color: var(--ink2); }
.who__no .mk {
  width: 22px; height: 22px; border-radius: 999px; border: 1.4px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--bad); font-weight: 800; font-size: 13px;
}

/* ============================================================================
   TESTIMONIALS
   ========================================================================== */
.tst__head { text-align: center; margin-bottom: 44px; }
.tst__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tst { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }
.tst__q { font-family: var(--sans); font-size: 18.5px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.panel--dark .tst__q { color: #fff; }
.tst__q .stars { display: flex; gap: 1.5px; margin-bottom: 14px; }
.tst__who { display: flex; align-items: center; gap: 11px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.panel--dark .tst__who { border-top-color: rgba(255, 255, 255, 0.14); }
.tst__who .avatar { width: 36px; height: 36px; font-size: 12.2px; background: var(--accent); border: none; }
.panel--dark .tst__who .avatar { background: rgba(255, 255, 255, 0.1); color: #fff; }
.tst__name { font-family: var(--sans); font-weight: 700; font-size: 14.5px; }
.panel--dark .tst__name { color: #fff; }
.tst__meta { font-family: var(--mono); font-size: 11px; color: var(--ink2); }
.panel--dark .tst__meta { color: rgba(255, 255, 255, 0.55); }

/* ============================================================================
   PRICING
   ========================================================================== */
.price__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.price__seats { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.price__seats .chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; background: var(--ink); color: #fff;
  border-radius: 10px; font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.5px;
}
.price__seats .left { font-family: var(--sans); font-size: 14px; color: var(--ink2); }
.price__card { box-shadow: 0 30px 70px -30px rgba(12, 13, 14, 0.35); }
.price__cardhead { display: flex; justify-content: space-between; align-items: flex-start; }
.price__amount { display: flex; align-items: flex-end; gap: 12px; margin-top: 14px; }
.price__amount .num { font-family: var(--mono); font-size: 66px; font-weight: 700; letter-spacing: -3px; line-height: 0.85; }
.price__amount .per { font-family: var(--sans); font-size: 18px; color: var(--ink2); margin-bottom: 6px; }
.price__was { font-family: var(--sans); font-size: 15px; color: var(--ink2); margin-top: 8px; }
.price__was s { text-decoration-color: var(--bad); text-decoration-thickness: 2px; }
.price__rule { border-top: 1px solid var(--line); margin: 22px 0 6px; }
.price__perks { list-style: none; padding: 0; margin: 0; }
.price__perks li { display: flex; gap: 11px; padding: 9px 0; align-items: flex-start; }
.price__perks li .t { font-family: var(--sans); font-size: 15px; color: var(--ink); line-height: 1.4; }
.price__perks li .mk { margin-top: 2px; flex-shrink: 0; }
.price__refund { text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 12px; letter-spacing: 0.5px; }

/* ============================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: 64px; }
.faq__intro { font-family: var(--sans); font-size: 16.5px; color: var(--ink2); margin-top: 18px; max-width: 300px; line-height: 1.5; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: transparent; border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; cursor: pointer; }
.faq-item[open], .faq-item.open { background: var(--card); border-color: var(--line); }
.faq-item__q { padding: 17px 20px; display: flex; align-items: center; gap: 14px; list-style: none; }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q .mono { color: var(--faint); }
.faq-item.open .faq-item__q .mono { color: var(--accent-deep); }
.faq-item__q .q { flex: 1; font-family: var(--sans); font-weight: 700; font-size: 17.5px; letter-spacing: -0.3px; }
.faq-item__q .plus { font-family: var(--mono); font-size: 18px; color: var(--ink2); transition: transform .18s; }
.faq-item.open .faq-item__q .plus { transform: rotate(45deg); }
.faq-item__a { display: none; padding: 0 20px 18px 54px; font-family: var(--sans); font-size: 15.5px; color: var(--ink2); line-height: 1.55; }
.faq-item.open .faq-item__a { display: block; }

/* ============================================================================
   FINAL CTA
   ========================================================================== */
.cta { background: var(--ink); color: #fff; padding: 100px 40px; position: relative; overflow: hidden; }
.cta__texture {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 75%);
  mask-image: radial-gradient(circle at center, #000, transparent 75%);
}
.cta__inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.cta h2 { font-family: var(--sans); font-size: 76px; line-height: 0.95; font-weight: 800; letter-spacing: -2.5px; margin: 0; color: #fff; }
.cta h2 .lime { color: var(--accent); }
.cta__sub { font-family: var(--sans); font-size: 20px; color: rgba(255, 255, 255, 0.7); max-width: 540px; margin: 22px auto 36px; line-height: 1.5; }
.cta__stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 11px; padding: 13px 22px; background: #fff; color: var(--ink);
  border-radius: 13px;
}
.store .icn { width: 20px; height: 20px; border-radius: 5px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.store .lines { text-align: left; line-height: 1.1; }
.store .small { font-family: var(--mono); font-size: 9.5px; opacity: 0.6; letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; }
.store .big { font-family: var(--sans); font-weight: 800; font-size: 16px; white-space: nowrap; }
.cta__fine { font-family: var(--mono); font-size: 11.5px; color: rgba(255, 255, 255, 0.4); margin-top: 32px; letter-spacing: 1px; text-transform: uppercase; }

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--paper); padding: 56px 40px 36px; border-top: 1px solid var(--line); }
.footer__inner { max-width: var(--max); margin: 0 auto; }
.footer__cols { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.footer__legal { display: flex; gap: 22px; align-items: center; }
.footer__legal a { font-family: var(--sans); font-size: 14.5px; color: var(--ink2); }
.footer__legal a:hover { color: var(--ink); }
.footer__bar { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: 0.5px; }

/* Wordmark lockup */
.wordmark { display: flex; align-items: center; gap: 11px; }
.wordmark__name { font-family: var(--sans); font-weight: 800; letter-spacing: -0.7px; line-height: 1; color: var(--ink); }

/* ============================================================================
   PHONE / iOS frame + Instrument home screen (hero)
   ========================================================================== */
.phone-scale { width: 282.24px; height: 604.8px; position: relative; }
.phone-scale__inner { position: absolute; top: 0; left: 0; transform: scale(0.72); transform-origin: top left; }

.device {
  width: 392px; height: 840px; border-radius: 48px; overflow: hidden; position: relative;
  background: #F2F2F7;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.12);
  font-family: -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.device__island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 126px; height: 37px; border-radius: 24px; background: #000; z-index: 50; }
.device__statusbar { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 21px 30px 19px; }
.device__time { font-family: -apple-system, "SF Pro", system-ui; font-weight: 590; font-size: 17px; color: #000; }
.device__status-icons { display: flex; align-items: center; gap: 7px; }
.device__screen { position: absolute; inset: 0; overflow: hidden; }
.device__home-ind { position: absolute; bottom: 0; left: 0; right: 0; z-index: 60; height: 34px; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 8px; pointer-events: none; }
.device__home-ind span { width: 139px; height: 5px; border-radius: 100px; background: rgba(0, 0, 0, 0.25); }

/* Instrument app home screen */
.app {
  position: absolute; inset: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); padding: 60px 22px 120px; overflow: hidden;
}
.app__lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); }
.app__header { display: flex; justify-content: space-between; align-items: flex-start; }
.app__greet { font-size: 30px; font-weight: 800; letter-spacing: -0.8px; margin-top: 7px; line-height: 1; white-space: nowrap; }
.app__avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 14px; }
.app__streak { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 9px 13px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.app__streak .d { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.app__streak .next { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-left: auto; }
.app__today { margin-top: 12px; background: var(--ink); color: #fff; border-radius: 20px; padding: 20px; position: relative; overflow: hidden; }
.app__today .grid-tex { position: absolute; inset: 0; opacity: 0.5; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 26px 26px; }
.app__today > .inner { position: relative; }
.app__today .row { display: flex; justify-content: space-between; align-items: center; }
.app__today .lvl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; color: var(--accent); border: 1px solid var(--accent-deep); padding: 2px 7px; border-radius: 6px; }
.app__today .name { font-size: 27px; font-weight: 800; letter-spacing: -0.6px; margin-top: 14px; line-height: 1.02; }
.app__today .goal { font-size: 13.5px; color: rgba(255, 255, 255, 0.62); margin-top: 7px; line-height: 1.35; }
.app__today .actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.app__today .start { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--ink); border: none; border-radius: 13px; padding: 14px 18px; font-family: var(--sans); font-weight: 800; font-size: 15.5px; letter-spacing: -0.2px; white-space: nowrap; }
.app__today .meta { text-align: right; }
.app__today .meta div { font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, 0.5); }
.app__progress { margin-top: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.app__progress .row { display: flex; justify-content: space-between; align-items: flex-start; }
.app__progress .delta { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--accent-deep); white-space: nowrap; }
.app__progress .big { display: flex; align-items: flex-end; gap: 4px; margin-top: 10px; }
.app__progress .big .v { font-family: var(--mono); font-size: 52px; font-weight: 700; letter-spacing: -2px; line-height: 0.85; }
.app__progress .big .u { font-family: var(--mono); font-size: 22px; color: var(--ink2); font-weight: 700; margin-bottom: 4px; }
.app__progress .axis { display: flex; justify-content: space-between; margin-top: 4px; }
.app__progress .axis .app__lbl { font-size: 9.5px; }
.app__sub { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; margin-bottom: 9px; }
.app__upnext { display: flex; flex-direction: column; gap: 8px; }
.app__row { display: flex; align-items: center; gap: 13px; padding: 13px 15px; background: var(--card); border: 1px solid var(--line); border-radius: 13px; }
.app__row .idx { font-family: var(--mono); font-size: 12px; color: var(--faint); width: 18px; }
.app__row .nm { font-size: 14.5px; font-weight: 700; letter-spacing: -0.2px; }
.app__row .sb { font-family: var(--mono); font-size: 10.5px; color: var(--faint); letter-spacing: 0.5px; margin-top: 2px; }
.app__last { margin-top: 10px; display: flex; align-items: center; gap: 13px; padding: 13px 15px; background: var(--card); border: 1px solid var(--line); border-radius: 13px; }
.app__last .score { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 13px; }
.app__last .nm { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.app__last .wn { font-family: var(--mono); font-size: 10.5px; color: var(--faint); letter-spacing: 0.4px; margin-top: 2px; }
.app__tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 40; padding-bottom: 26px;
  display: flex; justify-content: center; pointer-events: none;
}
.app__tabbar .bar {
  display: flex; gap: 4px; align-items: center; background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 0.75px solid var(--line); border-radius: 999px; padding: 7px 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.app__tabbar .tab { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 16px; border-radius: 999px; min-width: 52px; color: var(--faint); }
.app__tabbar .tab.on { background: var(--ink); color: #fff; }
.app__tabbar .tab span { font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1px; white-space: nowrap; }
.app__tabbar .tab.on span { font-weight: 700; }

/* ============================================================================
   LEGAL / CONTENT PAGES (privacy, terms)
   ========================================================================== */
.legal { background: var(--paper); padding: 64px 40px 96px; }
.legal__inner { max-width: 820px; margin: 0 auto; }
.legal__back {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono);
  font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink2); margin-bottom: 28px;
}
.legal__back:hover { color: var(--ink); }
.legal__title { font-family: var(--sans); font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -2px; margin: 18px 0 0; }
.legal__meta { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; margin-top: 20px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.8px; color: var(--faint); text-transform: uppercase; }
.legal__meta span { display: inline-flex; align-items: center; gap: 8px; }
.legal__meta span + span::before { content: ""; width: 4px; height: 4px; border-radius: 999px; background: var(--line); margin-right: 10px; }
.legal__lede { font-family: var(--sans); font-size: 18.5px; line-height: 1.6; color: var(--ink2); margin-top: 24px; }
.legal__note {
  margin-top: 24px; padding: 14px 18px; border: 1px dashed var(--accent-deep); border-radius: 12px;
  background: var(--card); font-family: var(--sans); font-size: 13.5px; color: var(--ink2); line-height: 1.55;
}
.legal__note strong { color: var(--ink); }
.legal__doc { margin-top: 8px; }
.legal__sec { padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--line); }
.legal__sec .mono { display: block; margin-bottom: 10px; }
.legal__sec h2 { font-family: var(--sans); font-size: 24px; font-weight: 800; letter-spacing: -0.6px; margin: 0 0 14px; color: var(--ink); }
.legal p { font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--ink2); margin: 0 0 14px; }
.legal p:last-child { margin-bottom: 0; }
.legal strong { color: var(--ink); font-weight: 700; }
.legal a.inline { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-deep); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.legal ul { margin: 0 0 14px; padding: 0; list-style: none; }
.legal ul li { position: relative; padding-left: 22px; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink2); margin-bottom: 9px; }
.legal ul li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); border: 1px solid var(--accent-deep); }

/* ============================================================================
   MOTION — gentle scroll reveal (respects reduced-motion)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================================
   RESPONSIVE — desktop is the source of truth; collapse gracefully below.
   ========================================================================== */
@media (max-width: 1040px) {
  .hero h1 { font-size: 68px; }
  .h2 { font-size: 46px; }
  .how__grid { grid-template-columns: repeat(2, 1fr); }
  .sessions { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav { padding: 12px 22px; }
  .nav__links { display: none; }
  .section { padding: 72px 22px; }
  .hero { padding: 48px 22px 64px; }
  .hero__inner,
  .problem__grid,
  .sees__grid,
  .drills__grid,
  .price__grid,
  .faq__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__device { order: -1; }
  .hero h1 { font-size: 56px; letter-spacing: -2px; }
  .cta h2 { font-size: 52px; }
  .who__grid, .tst__grid, .track__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .cta, .section--flush { padding-left: 22px; padding-right: 22px; }
  .legal { padding: 48px 22px 64px; }
  .legal__title { font-size: 42px; }
}

@media (max-width: 560px) {
  .how__grid, .sessions { grid-template-columns: 1fr; }
  .hero h1 { font-size: 46px; }
  .h2 { font-size: 36px; letter-spacing: -1.2px; }
  .cta h2 { font-size: 40px; }
  .footer__cols { grid-template-columns: 1fr; gap: 24px; }
  .footer__bar { flex-direction: column; gap: 8px; }
  .legal__title { font-size: 34px; letter-spacing: -1px; }
  .sees__proof-body { grid-template-columns: 1fr; }
  .sees__features { grid-template-columns: 1fr; }
  .nav__brand-name { font-size: 15px; }
  .nav__signin { display: none; }
}
