/* ============================================================
   Gryter — Pre-launch landing page (redesign)
   Extends colors_and_type.css. Dark-first, one blue accent.
   ============================================================ */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; } /* clear the 68px fixed header on anchor jumps (#main, #top, #offer) */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-family);
  background: var(--bg-app);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; }

a { color: var(--accent); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--accent-hover); }

::selection { background: rgba(47,107,255,.28); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Skip to content — off-screen until keyboard-focused */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 11px 18px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600;
  transform: translateY(calc(-100% - 14px)); transition: transform .16s var(--ease);
}
.skip-link:focus { transform: none; outline: 2px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .skip-link { transition: none; } }

/* ---- Layout primitives ---- */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.section { padding: 96px 0; position: relative; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent-text);
  margin-bottom: 18px;
}
.eyebrow--muted { color: var(--text-muted); font-weight: 600; letter-spacing: 1.1px; }

.section-head { max-width: 720px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.1;
  letter-spacing: -0.025em; color: var(--text-primary); text-wrap: balance;
}
.section-head p {
  margin-top: 18px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6;
  color: var(--text-secondary); max-width: 600px;
}

.divider-top { border-top: 1px solid var(--divider); }

/* ============================================================
   Scroll reveal
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-d="1"] { transition-delay: .08s; }
  .reveal[data-d="2"] { transition-delay: .16s; }
  .reveal[data-d="3"] { transition-delay: .24s; }
  .reveal[data-d="4"] { transition-delay: .32s; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1;
  border-radius: var(--radius-md); cursor: pointer; border: 1px solid transparent;
  transition: background .15s var(--ease), transform .1s var(--ease), box-shadow .2s var(--ease), border-color .15s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.btn--primary {
  color: #fff; background: var(--accent); border-color: var(--accent);
  padding: 17px 28px; box-shadow: 0 6px 26px var(--accent-glow);
}
.btn--primary:hover { background: var(--accent-pressed); border-color: var(--accent-pressed); box-shadow: 0 8px 32px rgba(47,107,255,.34); }
.btn--primary:active { transform: translateY(1px); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--ghost {
  color: var(--text-primary); background: transparent; border-color: var(--divider);
  padding: 16px 24px;
}
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-glow); color: var(--text-primary); }
.btn .arr { transition: transform .2s var(--ease); }
.btn--primary:hover .arr { transform: translateX(3px); }
/* Disabled state — JS sets [disabled] on the submit button mid-send. */
.btn:disabled, .btn[disabled] { opacity: .6; cursor: default; box-shadow: none; }
.btn--primary:disabled:hover, .btn--primary[disabled]:hover { background: var(--accent); border-color: var(--accent); }
.btn:disabled:hover .arr, .btn[disabled]:hover .arr { transform: none; }

/* ============================================================
   Header
   ============================================================ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .25s var(--ease), border-color .25s var(--ease), backdrop-filter .25s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr[data-stuck="true"] {
  background: rgba(11,18,32,.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--divider);
}
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text-primary); }
.brand__logo { width: 34px; height: 34px; border-radius: var(--radius-sm); }
.brand__name { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.hdr__claim {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 14px; font-weight: 600; color: var(--text-primary);
  padding: 0 18px; border: 1px solid var(--divider); border-radius: var(--radius-sm);
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.hdr__claim:hover { color: var(--text-primary); border-color: var(--accent); background: var(--accent-glow); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; padding: 152px 0 88px; overflow: hidden;
}
.hero__glow {
  position: absolute; top: -10%; left: 50%; width: 1200px; height: 900px;
  transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 46% 50% at 62% 34%, rgba(47,107,255,.16) 0%, rgba(47,107,255,0) 66%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
@media (max-width: 920px) { .hero__grid { grid-template-columns: 1fr; gap: 44px; } .hero { padding: 124px 0 64px; } }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent-text); padding: 7px 14px; border: 1px solid var(--divider);
  border-radius: 999px; background: var(--accent-glow); margin-bottom: 24px;
}
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 {
  font-size: clamp(40px, 6vw, 68px); font-weight: 800; line-height: 1.02;
  letter-spacing: -0.035em; color: var(--text-primary); text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub {
  margin-top: 22px; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6;
  color: var(--text-secondary); max-width: 540px;
}
.hero__sub em { color: var(--text-primary); font-style: italic; }
.hero__anchor { color: var(--text-primary); font-weight: 600; }

/* phone column */
.hero__stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
@media (max-width: 920px) { .hero__stage { min-height: 0; } }

/* ============================================================
   Phone frame
   ============================================================ */
.phone {
  position: relative; width: 300px; aspect-ratio: 9 / 19.3; color: var(--text-primary);
  flex: none;
}
.phone--sm { width: 264px; }
.phone__frame {
  position: relative; width: 100%; height: 100%; padding: 11px;
  background: linear-gradient(158deg, #20120c00 0%, #0a0f1c 100%), linear-gradient(158deg, #223153 0%, #0b1120 60%);
  border-radius: 46px;
  box-shadow:
    0 50px 90px -30px rgba(0,0,0,.78),
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 0 0 6px rgba(20,28,48,.5);
  overflow: hidden;
}
.phone__notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 26px; background: #02040a; border-radius: 999px; z-index: 4;
}
.phone__statusbar {
  position: absolute; top: 20px; left: 0; right: 0; padding: 0 28px; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 600; pointer-events: none; color: var(--text-primary);
}
.phone__ind { display: flex; gap: 6px; align-items: center; }
.phone__screens { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg-app); }
.phone__screen {
  position: absolute; top: 50px; left: 0; right: 0; bottom: 0; width: 100%; object-fit: cover; object-position: top;
  opacity: 0; transition: opacity .6s var(--ease); will-change: opacity;
}
.phone__screen.on { opacity: 1; }
.phone__glow {
  position: absolute; inset: -8% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(47,107,255,.34) 0%, rgba(47,107,255,0) 70%);
  filter: blur(8px);
}
@media (prefers-reduced-motion: no-preference) {
  .phone--float { animation: phoneFloat 7s ease-in-out infinite; }
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* floating proof chips around hero phone */
.hero__chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px;
  padding: 11px 15px; border-radius: 14px;
  background: rgba(17,27,46,.82); border: 1px solid var(--divider);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.7);
  font-size: 13px; font-weight: 600; color: var(--text-primary); white-space: nowrap;
}
.hero__chip .ic { color: var(--accent); display: flex; }
.hero__chip .ic--ok { color: var(--success); }
.hero__chip--a { top: 27%; left: -6%; }
.hero__chip--b { bottom: 16%; right: -8%; }
@media (max-width: 920px) {
  .hero__chip--a { left: 2%; }
  .hero__chip--b { right: 0%; }
}
@media (max-width: 480px) { .hero__chip { font-size: 12px; padding: 9px 12px; } .hero__chip--a { left: -2%; } .hero__chip--b { right: -2%; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__chip--a { animation: phoneFloat 7s ease-in-out infinite .6s; }
  .hero__chip--b { animation: phoneFloat 7.6s ease-in-out infinite .2s; }
}

/* ============================================================
   Hero CTA + signup modal
   ============================================================ */
.hero__cta { margin-top: 32px; }
.hero__cta-note { margin-top: 16px; font-size: 13.5px; line-height: 1.6; color: var(--text-muted); max-width: 460px; }
.hero__cta-note b { color: var(--text-secondary); font-weight: 600; }

.field { margin-bottom: 16px; }
.field__label { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 7px; }
.field__opt { font-weight: 400; color: var(--text-muted); }
.field__req { color: var(--accent-text); }
.input, .textarea {
  width: 100%; font-family: var(--font-family); font-size: 16px; color: var(--text-primary);
  background: var(--bg-surface-2); border: 1px solid var(--divider); border-radius: var(--radius-md);
  padding: 14px 16px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--text-disabled); }
.input:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.field__hint { display: block; font-size: 13px; line-height: 1.5; color: var(--text-secondary); margin-top: 8px; }
.field__caution { display: block; font-size: 12px; line-height: 1.5; color: var(--text-muted); margin-top: 8px; }

.signup__status {
  margin-top: 16px; font-size: 14px; line-height: 1.5; padding: 13px 15px;
  border-radius: var(--radius-md); border: 1px solid var(--divider);
  color: var(--text-secondary); background: var(--bg-surface-2);
  display: flex; gap: 10px; align-items: flex-start;
}
.signup__status .ic { flex: none; margin-top: 1px; }
.signup__status[data-kind="error"] { color: var(--error); border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.10); }

/* overlay */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center;
  padding: max(24px, 5vh) 16px 24px; overflow-y: auto;
  background: rgba(5,9,16,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: overlayIn .2s var(--ease);
}
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative; width: 100%; max-width: 480px; margin: auto;
  background: var(--bg-surface); border: 1px solid var(--divider); border-radius: var(--radius-xl);
  padding: 32px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.85);
  animation: modalIn .26s var(--ease);
}
@media (prefers-reduced-motion: reduce) { .modal, .modal-overlay { animation: none; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .modal { padding: 24px 20px; } }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); background: var(--bg-surface-2); border: 1px solid var(--divider); border-radius: var(--radius-sm); cursor: pointer;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.modal__close:hover { color: var(--text-primary); border-color: var(--accent); }
.modal__head { margin-bottom: 22px; padding-right: 44px; }
.modal__title { font-size: clamp(22px, 3.5vw, 27px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; color: var(--text-primary); }
.modal__sub { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--text-secondary); }
.modal__consent { font-size: 12px; line-height: 1.55; color: var(--text-muted); margin-top: 16px; }
.modal__consent a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }
.modal__consent a:hover { color: var(--text-primary); }

/* founding opt-in card */
.founding-opt {
  display: flex; gap: 13px; align-items: flex-start; cursor: pointer; margin-top: 4px;
  padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--divider);
  background: var(--bg-surface-2); transition: border-color .18s var(--ease), background .18s var(--ease);
}
.founding-opt:hover { border-color: rgba(47,107,255,.4); }
.founding-opt.on { border-color: rgba(47,107,255,.5); background: linear-gradient(152deg, rgba(47,107,255,.10) 0%, var(--bg-surface-2) 64%); }
.founding-opt__input { position: absolute; opacity: 0; width: 0; height: 0; }
.founding-opt__box {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--text-muted); background: transparent; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s var(--ease), border-color .15s var(--ease); 
}
.founding-opt__box svg { opacity: 0; transition: opacity .12s var(--ease); }
.founding-opt.on .founding-opt__box { background: var(--accent); border-color: var(--accent); }
.founding-opt.on .founding-opt__box svg { opacity: 1; }
.founding-opt__input:focus-visible + .founding-opt__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.founding-opt__title { display: block; font-size: 15px; font-weight: 600; color: var(--text-primary); }
.founding-opt__desc { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }

/* success state */
.modal__done { text-align: center; padding: 8px 0 0; }
.modal__done-seal {
  width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--success); background: rgba(45,212,163,.12); border: 1px solid rgba(45,212,163,.4);
}
.modal__done .modal__title { margin-bottom: 10px; }
.modal__done .modal__sub { margin-bottom: 24px; }

/* ============================================================
   Pains -> Proofs
   ============================================================ */
.pp { background: linear-gradient(180deg, var(--bg-app) 0%, #0c1424 100%); }
.pp__map { margin-top: 52px; display: flex; flex-direction: column; gap: 14px; }
.pp__legend {
  display: grid; grid-template-columns: 1fr 64px 1fr; gap: 18px; align-items: end; margin-bottom: 4px;
}
.pp__legend span {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.pp__legend .lived { color: var(--text-muted); }
.pp__legend .proof { color: var(--accent-text); }
.pp__row {
  display: grid; grid-template-columns: 1fr 64px 1fr; gap: 18px; align-items: stretch;
}
.pp__cell {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px;
  border-radius: var(--radius-lg); border: 1px solid var(--divider);
  font-size: clamp(15px, 1.5vw, 17px); line-height: 1.4;
}
.pp__cell--lived { background: var(--bg-surface); color: var(--text-secondary); }
.pp__cell--lived .pp__ic { color: var(--text-muted); }
.pp__cell--proof {
  background: linear-gradient(152deg, rgba(47,107,255,.10) 0%, var(--bg-surface) 62%);
  border-color: rgba(47,107,255,.36); color: var(--text-primary); font-weight: 600;
}
.pp__cell--proof .pp__ic { color: var(--accent); }
.pp__ic { flex: none; display: flex; width: 24px; height: 24px; }
.pp__arrow {
  display: flex; align-items: center; justify-content: center; color: var(--text-disabled);
}
.pp__arrow svg { width: 26px; height: 26px; }
.pp__row.in .pp__arrow { color: var(--accent); }
.pp__foot {
  margin-top: 30px; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.55;
  color: var(--text-secondary); max-width: 640px;
}
.pp__foot b { color: var(--text-primary); font-weight: 600; }
@media (max-width: 720px) {
  .pp__legend { grid-template-columns: 1fr; gap: 0; }
  .pp__legend .pp__legend-mid, .pp__legend .proof { display: none; }
  .pp__row { grid-template-columns: 1fr; gap: 0; }
  .pp__arrow { transform: rotate(90deg); padding: 8px 0; }
  .pp__cell { padding: 16px 18px; }
}

/* ============================================================
   Signature goal demo
   ============================================================ */
.demo { background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(47,107,255,.07) 0%, var(--bg-app) 68%); }
.demo__stage {
  margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch;
}
@media (max-width: 860px) { .demo__stage { grid-template-columns: 1fr; } }
.demo__panel {
  position: relative; background: var(--bg-surface); border: 1px solid var(--divider);
  border-radius: var(--radius-xl); padding: 26px 26px 28px; overflow: hidden; min-height: 280px;
}
.demo__panel--hears {
  background: linear-gradient(152deg, rgba(47,107,255,.10) 0%, var(--bg-surface) 64%);
  border-color: rgba(47,107,255,.36);
}
.demo__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
  color: var(--text-muted); background: var(--bg-surface-2); border: 1px solid var(--divider);
}
.demo__tag--hears { color: var(--text-primary); background: var(--accent-glow); border-color: rgba(47,107,255,.4); }
.demo__tag .ic { display: flex; }
.demo__say {
  font-size: clamp(19px, 2.4vw, 26px); line-height: 1.4; font-weight: 500; color: var(--text-primary);
  letter-spacing: -0.01em; min-height: 4.2em;
}
.demo__say .cursor {
  display: inline-block; width: 2px; height: 1.05em; vertical-align: -0.16em;
  background: var(--accent); margin-left: 2px; animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.demo__hears-lead { font-size: 15px; color: var(--text-secondary); margin-bottom: 18px; line-height: 1.5; }
.demo__readout { display: flex; flex-direction: column; gap: 12px; }
.demo__chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.demo__chip {
  font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--divider); background: var(--bg-surface-2); color: var(--text-secondary);
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.demo__chip--target {
  color: var(--text-primary); background: var(--accent-glow); border-color: rgba(47,107,255,.42);
}
.demo__chip.show { opacity: 1; transform: none; }
.demo__line {
  display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.45; color: var(--text-secondary);
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.demo__line.show { opacity: 1; transform: none; }
.demo__line .ic { flex: none; color: var(--success); margin-top: 1px; display: flex; }
.demo__line b { color: var(--text-primary); font-weight: 600; }
.demo__watermark {
  position: absolute; right: -6px; bottom: -26px; font-size: 150px; font-weight: 800;
  line-height: 1; color: var(--text-primary); opacity: .04; pointer-events: none; letter-spacing: -0.04em;
}
.demo__replay {
  position: absolute; top: 22px; right: 22px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--text-muted); background: transparent;
  border: 1px solid var(--divider); border-radius: 999px; padding: 6px 12px; cursor: pointer;
  transition: color .15s var(--ease), border-color .15s var(--ease); z-index: 3;
}
.demo__replay:hover { color: var(--text-primary); border-color: var(--accent); }
.demo__note { margin-top: 22px; font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 620px; }

/* ============================================================
   Product showcase (sticky phone)
   ============================================================ */
.showcase__grid {
  margin-top: 56px; display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start;
}
@media (max-width: 920px) { .showcase__grid { grid-template-columns: 1fr; gap: 0; } }
.showcase__phonecol { position: sticky; top: 96px; justify-self: center; }
@media (max-width: 920px) { .showcase__phonecol { display: none; } }
.showcase__beats { display: flex; flex-direction: column; gap: 18px; }
.beat {
  padding: 30px 30px; border-radius: var(--radius-xl);
  border: 1px solid var(--divider); background: var(--bg-surface);
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.beat[data-active="true"] {
  border-color: rgba(47,107,255,.45);
  background: linear-gradient(152deg, rgba(47,107,255,.09) 0%, var(--bg-surface) 60%);
}
.beat__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.beat[data-active="true"] .beat__eyebrow { color: var(--accent-text); }
.beat h3 { font-size: clamp(21px, 2.2vw, 26px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--text-primary); }
.beat p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--text-secondary); }
/* inline phone shown on mobile only, inside each beat */
.beat__phone { display: none; }
@media (max-width: 920px) { .beat__phone { display: flex; justify-content: center; margin-top: 24px; } }

/* live strength chart card */
.beat--chart .chart {
  margin-top: 20px; background: var(--bg-surface-2); border: 1px solid var(--divider);
  border-radius: var(--radius-lg); padding: 18px 18px 14px;
}
.chart__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.chart__label { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--text-muted); }
.chart__delta { font-size: 13px; font-weight: 700; color: var(--success); display: inline-flex; align-items: center; gap: 4px; }
.chart__svg { width: 100%; height: 96px; display: block; }
.chart__path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.4s var(--ease); }
.beat--chart.in .chart__path { stroke-dashoffset: 0; }
.chart__area { fill: url(#chartFill); opacity: 0; transition: opacity 1s var(--ease) .5s; }
.beat--chart.in .chart__area { opacity: 1; }
.chart__dot { fill: var(--accent); opacity: 0; transition: opacity .4s var(--ease) 1.3s; }
.beat--chart.in .chart__dot { opacity: 1; }
.chart__x { font-size: 10px; fill: var(--text-muted); font-weight: 600; }

/* ============================================================
   Exercise demos
   ============================================================ */
.quality { background: linear-gradient(180deg, #0c1424 0%, var(--bg-app) 100%); }
.quality__grid {
  margin-top: 52px; display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center;
}
@media (max-width: 860px) { .quality__grid { grid-template-columns: 1fr; gap: 36px; justify-items: center; } }
.demo-phone__stage { position: relative; }
.exwrap { position: absolute; inset: 11px; border-radius: 36px; overflow: hidden; background: var(--bg-app); }
.exwrap__inner { position: absolute; inset: 0; display: flex; flex-direction: column; }
.exwrap__top { padding: 56px 22px 0; }
.exwrap__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--text-muted); }
.exwrap__title { margin-top: 6px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-primary); line-height: 1.15; }
.exwrap__meta { margin-top: 6px; font-size: 13px; color: var(--text-secondary); }
.exwrap__stageimg { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; }
.exwrap__img { position: absolute; width: 86%; height: 86%; object-fit: contain; opacity: 0; transition: opacity .5s var(--ease); }
.exwrap__img.on { opacity: 1; }
.exwrap__dots { display: flex; gap: 6px; justify-content: center; padding: 0 0 22px; }
.exwrap__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--divider); transition: background .3s var(--ease), transform .3s var(--ease); }
.exwrap__dot.on { background: var(--accent); transform: scale(1.3); }
/* Hero variant: larger figure than the in-page showcase card.
   max-width:none lifts the global `img{max-width:100%}` cap so width can exceed the stage; overflow clipped by .exwrap */
.hero .exwrap__img { width: 150%; height: 150%; max-width: none; }
.quality__list { display: flex; flex-direction: column; gap: 6px; }
.quality__item {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-md);
  cursor: pointer; border: 1px solid transparent; transition: background .2s var(--ease), border-color .2s var(--ease);
  background: transparent; text-align: left; width: 100%; color: inherit;
}
.quality__item:hover { background: var(--bg-surface); }
.quality__item[data-active="true"] { background: var(--bg-surface); border-color: rgba(47,107,255,.4); }
.quality__num { font-size: 13px; font-weight: 700; color: var(--text-muted); width: 22px; flex: none; }
.quality__item[data-active="true"] .quality__num { color: var(--accent-text); }
.quality__name { font-size: 17px; font-weight: 600; color: var(--text-primary); }
.quality__muscle { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.quality__bar { margin-left: auto; width: 4px; align-self: stretch; border-radius: 2px; background: transparent; }
.quality__item[data-active="true"] .quality__bar { background: var(--accent); }
.quality__cap { margin-top: 22px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   Vs human coach
   ============================================================ */
.vs__lede { margin-top: 18px; font-size: clamp(16px,1.6vw,18px); line-height: 1.6; color: var(--text-secondary); max-width: 660px; }
.vs__table { margin-top: 40px; border: 1px solid var(--divider); border-radius: var(--radius-xl); overflow: hidden; }
.vs__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: stretch; }
.vs__row + .vs__row { border-top: 1px solid var(--divider); }
.vs__row--head .vs__c { padding: 18px 22px; }
.vs__c { padding: 20px 22px; display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.4; }
.vs__c--label { color: var(--text-secondary); font-weight: 500; }
.vs__row--head .vs__c--label { color: var(--text-muted); font-size: 13px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.vs__c--human { color: var(--text-muted); border-left: 1px solid var(--divider); }
.vs__c--us { color: var(--text-primary); font-weight: 600; border-left: 1px solid var(--divider); background: rgba(47,107,255,.05); }
.vs__row--head .vs__c--us { color: var(--accent-text); font-weight: 700; font-size: 14px; letter-spacing: .3px; text-transform: uppercase; background: rgba(47,107,255,.08); }
.vs__row--head .vs__c--human { color: var(--text-secondary); font-size: 14px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.vs__ic { flex: none; display: flex; }
.vs__ic--ok { color: var(--success); }
.vs__ic--no { color: var(--text-disabled); }
.vs__ic--win { color: var(--success); }
.vs__c--concede { color: var(--text-secondary); }
.vs__hint { margin-top: 16px; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.vs__hint .sw { width: 12px; height: 12px; border-radius: 3px; background: rgba(47,107,255,.5); flex: none; }
@media (max-width: 680px) {
  .vs__c { padding: 14px 14px; font-size: 13.5px; gap: 7px; }
  .vs__row { grid-template-columns: 1.2fr 1fr 1fr; }
  .vs__c--label { font-size: 13.5px; }
}

/* ============================================================
   Offer + guarantee
   ============================================================ */
.offer { background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(47,107,255,.08) 0%, var(--bg-app) 70%); }
.offer__card {
  position: relative; margin-top: 44px; max-width: 720px; overflow: hidden;
  background: var(--coach-card-gradient); border: 1px solid rgba(47,107,255,.3);
  border-radius: var(--radius-xl); padding: 40px;
  box-shadow: 0 40px 90px -44px rgba(0,0,0,.8);
}
@media (max-width: 600px) { .offer__card { padding: 28px 22px; } }
.offer__wm { position: absolute; right: 18px; top: -18px; font-size: 150px; font-weight: 800; color: var(--text-primary); opacity: .04; line-height: 1; pointer-events: none; }
.offer__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.offer__amt { font-size: clamp(48px, 8vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--text-primary); }
.offer__per { font-size: 17px; font-weight: 500; color: var(--text-secondary); }
.offer__pitch { margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--text-secondary); max-width: 560px; }
.offer__points { margin-top: 22px; display: grid; gap: 11px; }
.offer__points li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; color: var(--text-primary); }
.offer__points .ic { color: var(--accent); flex: none; display: flex; }
.offer__guarantee {
  margin-top: 26px; display: flex; gap: 16px; padding: 22px; border-radius: var(--radius-lg);
  background: rgba(11,18,32,.5); border: 1px solid var(--divider);
}
.offer__seal { flex: none; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--success); background: rgba(45,212,163,.12); border: 1px solid rgba(45,212,163,.4); }
.offer__guarantee h3 { font-size: 17px; font-weight: 700; color: var(--text-primary); }
.offer__guarantee p { margin-top: 7px; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.offer__cta { margin-top: 26px; }
.offer__fine { margin-top: 18px; display: grid; gap: 6px; }
.offer__fine p { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.offer__fine a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   Founder note
   ============================================================ */
.founder__card {
  margin-top: 44px; display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: start;
  background: var(--bg-surface); border: 1px solid var(--divider); border-radius: var(--radius-xl); padding: 40px;
}
@media (max-width: 720px) { .founder__card { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; } }
/* No-portrait state: founder photo omitted for now — narrow the card to one readable column so it reads as
   an intentional letter instead of stretching into empty space on wide screens. */
.founder__card--no-portrait { grid-template-columns: 1fr; max-width: 820px; }
.founder__portrait {
  width: 100%; height: 300px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-surface-2); border: 1px solid var(--divider); display: block;
}
@media (max-width: 720px) { .founder__portrait { max-width: 200px; height: 250px; } }
.founder__quote p { font-size: clamp(17px, 1.9vw, 21px); line-height: 1.6; color: var(--text-primary); font-weight: 400; letter-spacing: -0.01em; }
.founder__quote p + p { margin-top: 18px; }
.founder__sign { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.founder__sign-name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.founder__sign-role { font-size: 14px; color: var(--text-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { margin-top: 44px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq__item { background: var(--bg-surface); border: 1px solid var(--divider); border-radius: var(--radius-md); overflow: hidden; transition: border-color .15s var(--ease); }
.faq__item[open] { border-color: rgba(47,107,255,.4); }
.faq__q { position: relative; display: flex; align-items: center; padding: 20px 56px 20px 24px; font-size: 16.5px; font-weight: 600; color: var(--text-primary); cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: ''; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: translateY(-65%) rotate(45deg); transition: transform .2s var(--ease), border-color .15s var(--ease); }
.faq__item[open] .faq__q::after { transform: translateY(-25%) rotate(-135deg); border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .faq__q::after, .faq__item[open] .faq__q::after { transition: none; } }
.faq__a { padding: 0 24px 22px; }
.faq__a p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); }

/* ============================================================
   Closing CTA
   ============================================================ */
.closing { text-align: center; background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(47,107,255,.12) 0%, var(--bg-app) 68%); }
.closing__in { max-width: 640px; margin: 0 auto; }
.closing h2 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--text-primary); text-wrap: balance; }
.closing__sub { margin-top: 18px; font-size: clamp(16px,1.7vw,19px); line-height: 1.6; color: var(--text-secondary); }
.closing__cta { margin-top: 30px; }
.closing__note { margin-top: 18px; font-size: 14px; color: var(--text-muted); }
.closing__trust { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--divider); font-size: 13.5px; color: var(--text-muted); }

/* ============================================================
   Sticky mobile CTA
   ============================================================ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(11,18,32,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--divider);
  transform: translateY(110%); transition: transform .3s var(--ease); display: none;
}
.sticky-cta[data-show="true"] { transform: translateY(0); }
@media (max-width: 720px) { .sticky-cta { display: block; } body { padding-bottom: 76px; } }
.sticky-cta .btn { width: 100%; padding: 15px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--divider); padding: 40px 0 48px; }
.footer__in { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: var(--text-muted); font-size: 14px; }
.footer__links a:hover { color: var(--text-primary); }
.footer__med { font-size: 12.5px; color: var(--text-disabled); max-width: 520px; line-height: 1.6; }
.footer__copy { font-size: 13px; color: var(--text-disabled); }

/* ============================================================
   [hidden] guards — these elements declare display:flex above, which
   beats the UA [hidden]{display:none} rule. JS toggles `hidden` on
   them, so re-assert none here. (See js/landing.js: signup modal.)
   ============================================================ */
.modal-overlay[hidden] { display: none; }
.signup__status[hidden] { display: none; }
