:root {
  --cyan: #0dc0df;
  --cyan-soft: rgba(13, 192, 223, 0.14);
  --ink: #ffffff;
  --ink-dim: rgba(255, 255, 255, 0.62);
  --gray: #333333;
  --bg: #07090c;
  --bg-panel: #0b0e12;
  --bg-alt: #0e1217;
  --line: rgba(255, 255, 255, 0.08);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
html { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.cyan { color: var(--cyan); }

/* ---------- Fixed nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 36px;
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.85), rgba(7, 9, 12, 0));
  backdrop-filter: blur(2px);
}
.brand { display: block; text-decoration: none; }
.brand img {
  display: block;
  height: 38px;
  width: auto;
}
.brand-foot img {
  display: block;
  height: 30px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--cyan); }

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  color: #04252b;
  background: var(--cyan);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(13, 192, 223, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(13, 192, 223, 0.55); }
.btn-big { font-size: 1.05rem; padding: 16px 36px; }

/* ---------- Scrub sections ---------- */
.scrub { position: relative; }
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--bg);
}
.sticky canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 45%, rgba(4, 6, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(4, 6, 8, 0.55) 0%, transparent 24%, transparent 72%, rgba(4, 6, 8, 0.8) 100%);
}

/* ---------- Overlay copy ---------- */
.overlay {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
}
.reveal-line {
  /* engine overwrites `transform` each frame — center with inset+flex, not translate */
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 5vw;
  text-align: center;
  opacity: 0;
  will-change: opacity, transform;
  pointer-events: none;
}
.reveal-line h1 { max-width: 1100px; }
.reveal-line h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 6.4vw, 5.4rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.8);
}
.reveal-line .sub {
  margin-top: 26px;
  font-family: var(--font-head);
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #eafcff;
  background: rgba(4, 8, 10, 0.55);
  border: 1px solid rgba(13, 192, 223, 0.4);
  border-radius: 999px;
  padding: 12px 26px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

/* ---------- Scrub progress + hint ---------- */
.scrub-progress {
  position: absolute;
  left: 36px; right: 36px; bottom: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 12;
  border-radius: 2px;
}
.scrub-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  border-radius: 2px;
}
.scroll-hint {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--ink-dim);
  animation: bob 1.8s ease-in-out infinite;
  transition: opacity 0.4s;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Content panels ---------- */
.panel {
  position: relative;
  padding: 140px 36px;
  background: var(--bg-panel);
}
.panel-alt { background: var(--bg-alt); }
.panel-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.panel h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 900px;
}
.lede {
  margin-top: 26px;
  max-width: 720px;
  color: var(--ink-dim);
  font-size: 1.12rem;
  line-height: 1.75;
}

/* ---------- Cards ---------- */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 64px;
}
.card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: rgba(13, 192, 223, 0.45); transform: translateY(-4px); }
.card-num {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--cyan-soft);
  color: var(--cyan);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 16px;
  letter-spacing: -0.01em;
}
.card p {
  margin-top: 12px;
  color: var(--ink-dim);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ---------- Stats band ---------- */
.stats {
  padding: 110px 36px;
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(13, 192, 223, 0.09), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  color: var(--cyan);
  text-shadow: 0 0 40px rgba(13, 192, 223, 0.35);
}
.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.stats-foot {
  max-width: 1180px;
  margin: 46px auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.82rem;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 64px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 34px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
.step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(13, 192, 223, 0.65);
}
.step h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 14px;
}
.step p {
  margin-top: 10px;
  color: var(--ink-dim);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ---------- Therapy chips ---------- */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 64px;
}
.chip {
  padding: 28px 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(13, 192, 223, 0.05), rgba(255, 255, 255, 0.015));
  transition: border-color 0.3s;
}
.chip:hover { border-color: rgba(13, 192, 223, 0.5); }
.chip h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--cyan);
}
.chip p {
  margin-top: 8px;
  color: var(--ink-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- Comparison table ---------- */
.compare-wrap {
  margin-top: 64px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.compare th, .compare td {
  padding: 16px 24px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: none; }
.compare thead th {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding-top: 24px;
  padding-bottom: 24px;
}
.compare thead .feat-col { text-align: left; }
.compare tbody th {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.compare .us {
  background: rgba(13, 192, 223, 0.07);
  border-left: 1px solid rgba(13, 192, 223, 0.3);
  border-right: 1px solid rgba(13, 192, 223, 0.3);
}
.compare thead .us img {
  display: block;
  height: 26px;
  width: auto;
  margin: 0 auto;
}
.compare .th-short { display: none; }
.mark { font-size: 1.05rem; font-weight: 700; }
.mark.yes {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(13, 192, 223, 0.6);
}
.mark.dim { color: rgba(255, 255, 255, 0.35); }
.mark.no { color: rgba(255, 255, 255, 0.22); }

/* ---------- Video testimonials ---------- */
.video-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
  margin-top: 64px;
}
.shorts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.video-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.video-card:hover { border-color: rgba(13, 192, 223, 0.45); }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-frame.tall { aspect-ratio: 9 / 16; }
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card figcaption {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.video-card figcaption b { font-size: 0.98rem; }
.video-card figcaption span { color: var(--ink-dim); font-size: 0.82rem; }
.video-card figcaption p {
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Quotes ---------- */
.quote {
  padding: 40px 36px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
}
.quote p {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.quote-wide { margin-top: 22px; }
.quote .quote-body {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-dim);
  letter-spacing: 0;
}
.quote footer {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quote footer b { font-size: 0.95rem; }
.quote footer span { color: var(--ink-dim); font-size: 0.84rem; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 64px; max-width: 860px; }
.faq {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 14px;
  transition: border-color 0.3s;
}
.faq[open], .faq:hover { border-color: rgba(13, 192, 223, 0.4); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--cyan);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 26px 24px;
  color: var(--ink-dim);
  font-size: 0.98rem;
  line-height: 1.75;
}
.faq-a p + p { margin-top: 14px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 160px 36px 0;
  background:
    radial-gradient(80% 70% at 50% 100%, rgba(13, 192, 223, 0.13), transparent 65%),
    var(--bg);
  text-align: center;
}
.cta-inner { max-width: 880px; margin: 0 auto; }
.cta h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.cta .lede { margin: 26px auto 44px; }
.calendar-wrap {
  max-width: 940px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(13, 192, 223, 0.45);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 0 60px rgba(13, 192, 223, 0.22);
  text-align: left;
}
.calendar-wrap iframe {
  display: block;
  min-height: 640px;
  border-radius: 12px;
}
.footer {
  margin-top: 140px;
  padding: 34px 36px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-dim);
  font-size: 0.84rem;
}
.footer > span:first-child {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

/* ---------- Scroll reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .nav { padding: 14px 18px; }
  .nav-links { display: none; }
  .panel, .stats { padding-left: 20px; padding-right: 20px; }
  .panel { padding-top: 96px; padding-bottom: 96px; }
  .scrub-progress { left: 18px; right: 18px; }
  .cta { padding-left: 20px; padding-right: 20px; }
  .footer { justify-content: center; text-align: center; }

  /* comparison table: compress to fit without horizontal scroll */
  .compare { min-width: 0; }
  .compare th, .compare td { padding: 13px 10px; }
  .compare thead th { font-size: 0.62rem; letter-spacing: 0.06em; padding-top: 16px; padding-bottom: 16px; }
  .compare tbody th { font-size: 0.85rem; }
  .compare thead .us img { height: 17px; }
  .compare .th-full { display: none; }
  .compare .th-short { display: inline; }
  .mark { font-size: 0.95rem; }
}
