/* Hezzo landing. Motion timing follows the playbook: entrances ease out over ~1s, hovers are
   quick, scroll-tied values are linear. The one shape everything is revealed through is the
   slant of the "//" in the logo. */

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DMSans-Variable.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --bg: #000;
  --bg-2: #0b0b0b;
  --panel: #121212;
  --line: rgba(255, 255, 255, 0.1);
  --ink: #fff;
  --ink-2: #d4d4d8;
  --ink-3: #a1a1aa;
  --ink-4: #7a7a82; /* 4.9:1 on black (#71717a was 4.3) */
  --lime: #a6f926;
  --lime-hi: #c4ff5e;
  --cyan: #22d3ee;
  --bell: var(--lime);
  /* the signature slant: how far the "//" leans, as a share of a box's height */
  --slant: 14px;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* ---------- shared pieces ---------- */

.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--gutter) 0; }
.kicker {
  display: inline-block;
  color: var(--lime);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.title {
  margin-top: 14px;
  font-size: clamp(34px, 5.4vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.lead { margin-top: 20px; max-width: 54ch; color: var(--ink-3); font-size: clamp(17px, 1.5vw, 20px); }

/* A phone: a metal band, a black bezel, the screen and a Dynamic Island. Sized by its width. */
.phone {
  position: relative;
  width: 100%;
  padding: 2.6%;
  border-radius: 13% / 6%;
  background: linear-gradient(145deg, #8e97ad 0%, #5a6377 18%, #2e3444 46%, #454d61 72%, #7b8499 100%);
  box-shadow: 0 0 0 1px rgba(8, 11, 20, 0.9), 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}
.phone::before {
  content: "";
  position: absolute;
  inset: 0.8%;
  border-radius: inherit;
  background: #07090f;
}
.phone > img {
  position: relative;
  width: 100%;
  border-radius: 11% / 5%;
  background: #000;
}
.phone::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 3.6%;
  left: 50%;
  width: 31%;
  height: 3.4%;
  translate: -50% 0;
  border-radius: 99px;
  background: #000;
}

/* Buttons: a slanted pill; the label swaps for a copy rising from below on hover. */
.btn {
  position: relative;
  display: inline-grid;
  overflow: hidden;
  padding: 16px 30px;
  background: var(--lime);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  transition: background-color 0.3s var(--ease-out-sine);
}
.btn > span { grid-area: 1 / 1; transition: transform 0.5s var(--ease-out-quart), opacity 0.2s var(--ease-out-sine); }
.btn > span + span { transform: translateY(110%); opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--lime-hi); }
  .btn:hover > span:first-child { transform: translateY(-110%); opacity: 0; }
  .btn:hover > span + span { transform: none; opacity: 1; }
}
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { background: rgba(255, 255, 255, 0.16); } }
.btn-small { padding: 11px 22px; font-size: 13px; }

/* ---------- header ---------- */

.nav {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px var(--gutter);
  transition: transform 0.5s var(--ease-out-quart), background-color 0.2s;
}
.nav[data-solid] { background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-logo svg { display: block; width: 118px; height: 20px; color: var(--ink); }
.nav-links { display: flex; gap: 28px; margin-inline-start: auto; font-size: 14px; color: var(--ink-3); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .btn-small { margin-inline-start: auto; }
}
@media (max-width: 420px) {
  .nav-logo svg { width: 96px; }
  .nav .btn-small { padding: 10px 16px; font-size: 12px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 40px;
  min-height: 100vh;
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--gutter) 60px;
}
.hero-glow {
  position: absolute;
  inset: -10% -20% auto 30%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(166, 249, 38, 0.22), transparent 70%);
  pointer-events: none;
}
/* two giant strokes of the "//", drifting with scroll */
.hero-slashes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-slashes i {
  position: absolute;
  top: -10%;
  width: clamp(60px, 7vw, 110px);
  height: 130%;
  background: linear-gradient(180deg, rgba(166, 249, 38, 0.1), rgba(166, 249, 38, 0));
  transform: skewX(-14deg);
  translate: 0 calc((var(--p, 0.5) - 0.5) * -160px);
}
.hero-slashes i:first-child { left: 58%; }
.hero-slashes i:last-child { left: calc(58% + clamp(90px, 10vw, 160px)); translate: 0 calc((var(--p, 0.5) - 0.5) * -260px); }

.hero-copy { position: relative; z-index: 2; }
.hero-title {
  margin-top: 18px;
  font-size: clamp(48px, 8.4vw, 124px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.hero-sub { margin-top: 26px; max-width: 46ch; color: var(--ink-3); font-size: clamp(17px, 1.4vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-art { position: relative; z-index: 1; height: min(76vh, 680px); }
.hero-phone { position: absolute; width: clamp(200px, 21vw, 300px); }
.hero-phone-front { left: 6%; top: 4%; z-index: 2; }
.hero-phone-back { right: 0; top: 16%; rotate: 7deg; }
.hero-phone-back .phone { filter: brightness(0.85); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 108px; gap: 24px; }
  .hero-art { height: 116vw; max-height: 560px; }
  .hero-phone { width: min(48vw, 250px); }
  .hero-phone-front { left: 4%; top: 0; }
  .hero-phone-back { right: 4%; top: 12%; }
  .hero-slashes i:first-child { left: 40%; }
}

/* ---------- marquee band ---------- */

.band {
  margin-top: 40px;
  padding: 18px 0;
  background: var(--lime);
  color: #000;
  transform: rotate(-2deg);
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.marquee { --gap: 0.5em; --push: -24vw; }
.marquee b { color: rgba(0, 0, 0, 0.35); font-weight: 800; }

/* ---------- three parts ---------- */

.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.part, .tool, .tier, .contact-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #141414, #0d0d0d);
  border-radius: 20px;
}
.part { padding: 30px; }
.part-sub { color: var(--ink-4); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.part h3 { margin-top: 14px; font-size: 24px; letter-spacing: -0.02em; }
.part p { margin-top: 10px; color: var(--ink-3); }
@media (max-width: 860px) { .parts { grid-template-columns: 1fr; } }

/* ---------- the journey: steps pinned while the phone's screen changes ---------- */

.journey { margin-top: clamp(80px, 12vw, 160px); }
.journey-runway { position: relative; }
.journey-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 6vw, 96px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.journey-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 6px; }
.journey-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.journey-steps h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; line-height: 1.2; }
.step-n { padding-top: 7px; color: var(--lime); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; }
.step-body { margin-top: 6px; max-width: 44ch; color: var(--ink-3); }
.journey-phone { width: clamp(220px, 24vw, 320px); }
.phone-stack { display: grid; }
.phone-stack > img { grid-area: 1 / 1; }
/* without the script (or with reduced motion) only the first screen shows and every step is open */
.journey-runway:not([data-on]) .phone-stack > img:not(:first-child) { display: none; }

.journey-runway[data-on] { height: calc(100vh + 4 * 75vh); }
.journey-runway[data-on] .journey-stage { position: sticky; top: 0; height: 100vh; height: 100lvh; }
/* inactive steps are dimmed by colour, not opacity, so they still read at 4.5:1 */
.journey-runway[data-on] .journey-steps li h3,
.journey-runway[data-on] .journey-steps li .step-n { color: var(--ink-4); transition: color 0.5s var(--ease-out-sine); }
.journey-runway[data-on] .journey-steps li[data-active] h3 { color: var(--ink); }
.journey-runway[data-on] .journey-steps li[data-active] .step-n { color: var(--lime); }
.journey-runway[data-on] .step-body { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out-cubic); }
.journey-runway[data-on] li[data-active] .step-body { max-height: 9em; }
/* each screen wipes in through the slant; the one leaving waits underneath until it is covered */
.journey-runway[data-on] .phone-stack > img {
  z-index: 1;
  clip-path: polygon(115% 0, 115% 0, 100% 100%, 100% 100%);
  transition: clip-path 0s 0.75s;
}
.journey-runway[data-on] .phone-stack > img[data-active] {
  z-index: 2;
  clip-path: polygon(0 0, 115% 0, 100% 100%, -15% 100%);
  transition: clip-path 0.75s var(--ease-push);
}

@media (max-width: 860px) {
  .journey-stage { grid-template-columns: minmax(0, 1fr) 36vw; grid-template-areas: "head head" "steps phone"; align-content: center; column-gap: 16px; }
  .journey-copy { display: contents; }
  .journey-head { grid-area: head; }
  .journey-steps { grid-area: steps; margin-top: 20px; }
  .journey-phone { grid-area: phone; width: 36vw; align-self: start; margin-top: 28px; }
  .journey-steps li { grid-template-columns: 1fr; gap: 0; padding: 10px 0; }
  .step-n { padding: 0; font-size: 11px; }
  .journey-steps h3 { font-size: 20px; }
  .step-body { font-size: 14px; }
}

/* ---------- coach to member ---------- */

.coach-art { display: grid; grid-template-columns: minmax(0, 1fr) auto clamp(170px, 18vw, 250px); align-items: center; gap: clamp(16px, 3vw, 40px); margin-top: 56px; }
.browser { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #161616; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { flex: 1; margin-inline-start: 10px; padding: 3px 12px; border-radius: 6px; background: #0b0b0b; color: var(--ink-4); font-size: 11px; }
.coach-arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); }
.coach-arrow svg { width: 24px; fill: none; stroke: #000; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .coach-art { grid-template-columns: 1fr; justify-items: center; }
  .coach-arrow { rotate: 90deg; }
  .coach-phone { width: min(56vw, 240px); }
}

/* ---------- tools for gyms ---------- */

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.tool { padding: 26px; }
.tool svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(34, 211, 238, 0.12); fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tool h3 { margin-top: 18px; font-size: 20px; letter-spacing: -0.01em; }
.tool p { margin-top: 6px; color: var(--ink-3); font-size: 15px; }
@media (max-width: 860px) { .tools { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tools { grid-template-columns: 1fr; } }

/* ---------- light and dark ---------- */

.themes-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.switch { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 99px; background: #0d0d0d; }
.switch button {
  min-width: 92px;
  padding: 10px 18px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out-sine), color 0.3s var(--ease-out-sine);
}
.switch button[aria-pressed="true"] { background: var(--lime); color: #000; }
.themes-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 3vw, 40px); margin-top: 56px; }
.themes-row figure { margin: 0; }
.themes-row figcaption { margin-top: 16px; text-align: center; color: var(--ink-4); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.phone-pair { display: grid; }
.phone-pair > img { grid-area: 1 / 1; }
.phone-pair > img + img { clip-path: polygon(115% 0, 115% 0, 100% 100%, 100% 100%); transition: clip-path 0.75s var(--ease-push); }
.themes-row[data-mode="dark"] .phone-pair > img + img { clip-path: polygon(0 0, 115% 0, 100% 100%, -15% 100%); }
.themes-row figure:nth-child(2) img + img { transition-delay: 0.07s; }
.themes-row figure:nth-child(3) img + img { transition-delay: 0.14s; }
.themes-row figure:nth-child(4) img + img { transition-delay: 0.21s; }
@media (max-width: 860px) { .themes-row { grid-template-columns: 1fr 1fr; } }

/* ---------- plans ---------- */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.tier { display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 22px; padding: 22px; }
.tier-gym { border-color: rgba(166, 249, 38, 0.45); }
.tag { display: inline-block; padding: 3px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-3); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.tag-cyan { border-color: rgba(34, 211, 238, 0.4); color: var(--cyan); }
.tag-lime { border-color: rgba(166, 249, 38, 0.5); color: var(--lime); }
.tier h3 { margin-top: 12px; font-size: 26px; letter-spacing: -0.02em; }
.tier ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; color: var(--ink-3); font-size: 14.5px; line-height: 1.4; }
.tier li { position: relative; padding-inline-start: 20px; }
.tier li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.45em; width: 9px; height: 5px; border-left: 2px solid var(--ink-4); border-bottom: 2px solid var(--ink-4); rotate: -45deg; }
.tier-gym li::before { border-color: var(--lime); }
.tier:nth-child(2) li::before { border-color: var(--cyan); }
.note { margin-top: 24px; color: var(--ink-4); font-size: 14px; }
@media (max-width: 1080px) { .tiers { grid-template-columns: 1fr; max-width: 560px; } .tier { grid-template-columns: 34% 1fr; } }

/* ---------- region ---------- */

.region { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 22vw, 290px); align-items: center; gap: clamp(32px, 8vw, 120px); }
.region-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; max-width: 52ch; color: var(--ink-3); }
.region-list strong { display: block; color: var(--ink); font-size: 19px; }
@media (max-width: 860px) {
  .region { grid-template-columns: 1fr; }
  .region-phone { width: min(56vw, 240px); justify-self: center; }
}

/* ---------- contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
  max-width: var(--max);
  margin: clamp(100px, 14vw, 180px) auto 0;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  border-radius: 28px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(166, 249, 38, 0.18), transparent 55%), #0b0b0b;
  border: 1px solid var(--line);
}
@media (min-width: 1300px) { .contact { padding-inline: 72px; } }
.contact-slash { position: absolute; top: -20%; right: 12%; width: clamp(50px, 6vw, 90px); height: 140%; background: rgba(166, 249, 38, 0.08); transform: skewX(-14deg); pointer-events: none; }
.contact-title { margin-top: 14px; font-size: clamp(42px, 7vw, 100px); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; max-width: 12ch; }
.contact-links { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.contact-card { display: grid; gap: 6px; padding: 26px 28px; transition: border-color 0.3s var(--ease-out-sine), background-color 0.3s; }
.contact-label { color: var(--lime); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.contact-value { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .contact-card:hover { border-color: rgba(166, 249, 38, 0.6); } }
@media (max-width: 700px) { .contact-links { grid-template-columns: 1fr; } .contact { border-radius: 0; border-inline: 0; } }

/* ---------- footer ---------- */

.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 48px; color: var(--ink-4); font-size: 14px; }
.footer-logo { width: 112px; height: 19px; color: var(--ink-3); --bell: var(--ink-3); }
.footer-small { margin-inline-start: auto; }

/* masked lines on big headings: the words slide up from behind their line (playbook §22) */
.title.mo-lines .mo-line, .hero-title .mo-line, .contact-title .mo-line { padding-bottom: 0.14em; margin-bottom: -0.14em; }
@media (prefers-reduced-motion: no-preference) {
  .hero-title.mo-lines .mo-word { transform: translateY(150%); }
  [data-ready] .hero-title.mo-lines .mo-word { transform: none; transition: transform 1s var(--ease-soft) calc(0.15s + var(--i) * 85ms); }
}

/* ---------- round 2: owners first, WhatsApp, /app ---------- */

/* owner benefits: four tools in a row */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
@media (max-width: 1080px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }
.benefits .tool svg { background: rgba(166, 249, 38, 0.12); stroke: var(--lime); }

.section-link { max-width: var(--max); margin: 32px auto 0; padding: 0 var(--gutter); }
.link-arrow { display: inline-flex; gap: 8px; color: var(--lime); font-weight: 600; }
.link-arrow span { transition: translate 0.3s var(--ease-out-sine); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover span { translate: 4px 0; } }

/* how it starts */
.steps-row { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 56px 0 0; padding: 0; }
.steps-row li { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #141414, #0d0d0d); }
.step-big { display: block; color: var(--lime); font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; transform: skewX(-8deg); }
.steps-row h3 { margin-top: 18px; font-size: 21px; letter-spacing: -0.01em; }
.steps-row p { margin-top: 8px; color: var(--ink-3); font-size: 15px; }
@media (max-width: 860px) { .steps-row { grid-template-columns: 1fr; } }

/* the WhatsApp card in Contact */
.contact-wa {
  position: relative; display: flex; align-items: center; gap: 18px; margin-top: 44px; padding: 24px 28px;
  border-radius: 20px; background: var(--lime); color: #000;
  transition: background-color 0.3s var(--ease-out-sine);
}
@media (hover: hover) and (pointer: fine) { .contact-wa:hover { background: var(--lime-hi); } }
.contact-wa .wa-icon { width: 44px; height: 44px; flex: none; stroke: #000; }
.contact-wa .contact-label { color: rgba(0, 0, 0, 0.62); display: block; }
.contact-wa .contact-value { display: block; font-size: clamp(22px, 2.6vw, 32px); }
.contact-go { margin-inline-start: auto; font-size: 30px; font-weight: 700; transition: translate 0.3s var(--ease-out-sine); }
@media (hover: hover) and (pointer: fine) { .contact-wa:hover .contact-go { translate: 6px 0; } }
.contact-wa + .contact-links { margin-top: 14px; }
.wa-icon { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* floating WhatsApp button: after the hero, bottom right */
.wa-float {
  position: fixed; z-index: 60; inset-inline-end: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px 12px 14px; border-radius: 99px; background: var(--lime); color: #000; font-weight: 700; font-size: 14px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s var(--ease-out-quart), opacity 0.3s var(--ease-out-sine);
}
.wa-float .wa-icon { width: 22px; height: 22px; stroke: #000; }
.wa-float:not([data-show]) { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--ink); }

/* /app hero */
.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); font-size: 14px; }
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(166, 249, 38, 0.18); }

/* the tour: a sideways row of screens (a column on phones and without the script) */
.tour { margin-top: 24px; }
.tour .mo-sideways-track { align-items: center; gap: 40px; padding: 0 var(--gutter); }
.tour-intro { max-width: 420px; flex: none; }
.shot { margin: 0; flex: none; width: min(70vw, 280px); }
.shot figcaption { margin-top: 18px; display: grid; gap: 4px; }
.shot figcaption strong { font-size: 18px; letter-spacing: -0.01em; }
.shot figcaption span { color: var(--ink-3); font-size: 14px; }
.tour:not([data-on]) .mo-sideways-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); max-width: var(--max); margin: 0 auto; gap: 40px 24px; align-items: start; }
.tour:not([data-on]) .tour-intro { grid-column: 1 / -1; max-width: none; }
.tour:not([data-on]) .shot { width: auto; }
.tour[data-on] .mo-sideways-track { gap: 72px; padding: 0 8vw; }
.tour[data-on] .tour-intro { width: 420px; margin-inline-end: 40px; }
.tour[data-on] .shot { width: clamp(220px, 21vw, 300px); }
.tour[data-on] .shot:nth-child(odd) { translate: 0 6vh; }
.tour[data-on] .shot:nth-child(3n) { translate: 0 -5vh; }

/* onboarding fan */
.fan-phones { margin-top: 64px; padding-bottom: 14vh; }
.fan-card { width: clamp(120px, 17vw, 220px); }
.fan-phones:not([data-on]) .fan-card { width: clamp(130px, 28vw, 200px); }
.fan-phones { --spread: clamp(3.4rem, 12vw, 12rem); --drop: 0.9rem; --turn: 7deg; --start: 10rem; }

/* one slanted wipe between pages (browsers without view transitions just change page) */
/* the opt-in itself is inline in each page's head, so it is read before anything renders */
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: page-wipe 0.7s cubic-bezier(.65, .05, 0, 1) both; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-new(root) { animation: none; }
}
@keyframes page-wipe {
  from { clip-path: polygon(115% 0, 115% 0, 100% 100%, 100% 100%); }
  to { clip-path: polygon(0 0, 115% 0, 100% 100%, -15% 100%); }
}
@media (max-width: 767px) {
  .tour:not([data-on]) .mo-sideways-track { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .shot figcaption { margin-top: 12px; }
  .shot figcaption strong { font-size: 15px; }
  .shot figcaption span { font-size: 12.5px; }
}
@media (max-width: 520px) {
  .wa-float { padding: 13px; inset-inline-end: 14px; bottom: 14px; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .wa-float .wa-icon { width: 26px; height: 26px; }
}

/* ---------- Arabic and Kurdish (Sorani): right to left ---------- */
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/assets/fonts/NotoSansArabic-Variable.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
[dir="rtl"] body { font-family: "Noto Sans Arabic", "DM Sans", system-ui, sans-serif; line-height: 1.75; }
/* Arabic script joins its letters: any letter-spacing breaks the joins, and capitals do not exist */
[dir="rtl"] * { letter-spacing: 0 !important; text-transform: none !important; }
[dir="rtl"] .kicker, [dir="rtl"] .contact-label, [dir="rtl"] .tag, [dir="rtl"] .part-sub { font-size: 14px; }
[dir="rtl"] .title { line-height: 1.3; font-weight: 800; }
[dir="rtl"] .hero-title { line-height: 1.22; font-size: clamp(42px, 7vw, 104px); }
[dir="rtl"] .contact-title { line-height: 1.3; }
[dir="rtl"] .title.mo-lines .mo-line, [dir="rtl"] .hero-title .mo-line, [dir="rtl"] .contact-title .mo-line { padding-bottom: 0.3em; margin-bottom: -0.3em; padding-top: 0.12em; }
/* mirrored arrows and art */
[dir="rtl"] .coach-arrow svg { scale: -1 1; }
@media (max-width: 860px) { [dir="rtl"] .coach-arrow svg { scale: 1 1; } }
[dir="rtl"] .hero-slashes, [dir="rtl"] .contact-slash { scale: -1 1; }
[dir="rtl"] .hero-glow { inset: -10% 30% auto -20%; }
/* the marquee and the sideways tour keep their own left-to-right mechanics */
[dir="rtl"] .marquee { direction: ltr; }
[dir="rtl"] .tour[data-on] .mo-sideways-stage { direction: ltr; }
[dir="rtl"] .tour[data-on] .shot, [dir="rtl"] .tour .tour-intro { direction: rtl; }

/* language switcher in the header */
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; }
.lang a { padding: 5px 10px; border-radius: 99px; color: var(--ink-3); transition: background-color 0.2s, color 0.2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
@media (max-width: 860px) { .lang { margin-inline-start: auto; } .nav .btn-small { margin-inline-start: 0; } }
@media (max-width: 520px) { .nav { gap: 10px; } .lang a { padding: 5px 7px; font-size: 12px; } .nav .btn-small { display: none; } }
[dir="rtl"] .contact-go, [dir="rtl"] .link-arrow span { scale: -1 1; }
@media (hover: hover) and (pointer: fine) {
  [dir="rtl"] .contact-wa:hover .contact-go { translate: -6px 0; }
  [dir="rtl"] .link-arrow:hover span { translate: -4px 0; }
}

/* the onboarding fan only spreads with scroll: no lift on hover */
.fan-phones[data-on] > *, .fan-phones[data-on] > [data-lift] { transform: none; z-index: calc(10 - var(--a)); }
.tour-head .lead { margin-top: 14px; }

/* ---------- two audiences: gyms (dark) and members (light) ---------- */

/* the switch in the header says which side you are on */
.audience { display: flex; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); font-size: 14px; font-weight: 600; }
.audience a { padding: 7px 16px; border-radius: 99px; color: var(--ink-3); white-space: nowrap; transition: background-color 0.3s var(--ease-out-sine), color 0.3s var(--ease-out-sine); }
.audience a:hover { color: var(--ink); }
.audience a[aria-current="page"] { background: var(--lime); color: #000; }
.nav-links { margin-inline-start: auto; }
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; row-gap: 10px; }
  .audience { order: 3; flex-basis: 100%; justify-content: center; }
  .audience a { flex: 1; text-align: center; }
  .hero { padding-top: 150px; }
}

/* gyms: the dashboard leads, the member's phone sits on top of it */
.hero-art-gym { height: min(70vh, 600px); }
.hero-browser { position: absolute; top: 8%; inset-inline-start: 2%; width: min(40vw, 600px); margin: 0; }
.hero-browser img { display: block; width: 100%; height: auto; }
.hero-phone-gym { width: clamp(150px, 15vw, 220px); inset-inline-start: -6%; top: 34%; z-index: 2; }
@media (max-width: 860px) {
  .hero-art-gym { height: 92vw; max-height: 520px; }
  .hero-browser { width: 100%; top: 0; }
  .hero-phone-gym { width: 34vw; inset-inline-start: auto; inset-inline-end: 2%; top: 30%; }
}

/* members: the light look of the app itself */
.members {
  --bg: #ffffff; --bg-2: #f5f5f4; --panel: #f5f5f4;
  --line: rgba(0, 0, 0, 0.08);
  --ink: #111111; --ink-2: #3f3f46; --ink-3: #52525b; --ink-4: #6b6b73;
  --accent-ink: #3f6212;
  color-scheme: light;
}
.members .kicker, .members .step-n, .members .link-arrow, .members .tag-lime, .members .step-big,
.members .contact-label, .members .tour-head .kicker { color: var(--accent-ink); }
.members .tag-cyan { color: #0e7490; border-color: rgba(14, 116, 144, 0.35); }
.members .tier-gym { border-color: #84cc16; }
.members .tier-gym li::before { border-color: var(--accent-ink); }
.members .tier:nth-child(2) li::before { border-color: #0e7490; }
.members .part, .members .tool, .members .tier, .members .contact-card, .members .steps-row li {
  background: #f5f5f4; border-color: transparent;
}
.members .tier-gym { background: #f3fbe4; }
.members .btn-ghost { background: rgba(0, 0, 0, 0.06); }
@media (hover: hover) and (pointer: fine) { .members .btn-ghost:hover { background: rgba(0, 0, 0, 0.11); } }
.members .nav[data-solid] { background: rgba(255, 255, 255, 0.82); }
.members .hero-glow { background: radial-gradient(closest-side, rgba(166, 249, 38, 0.38), transparent 70%); }
.members .hero-slashes i { background: linear-gradient(180deg, rgba(166, 249, 38, 0.28), rgba(166, 249, 38, 0)); }
.members .switch { background: #f2f2f1; }
.members .audience { background: rgba(0, 0, 0, 0.06); }
.members .lang a[aria-current="page"] { background: rgba(0, 0, 0, 0.07); }
.members .soon { border-color: rgba(0, 0, 0, 0.12); }
.members .phone { box-shadow: 0 0 0 1px rgba(8, 11, 20, 0.5), 0 30px 60px -24px rgba(0, 0, 0, 0.35); }
.members .contact { background: radial-gradient(120% 120% at 100% 0%, rgba(166, 249, 38, 0.32), transparent 55%), #f5f5f4; border-color: transparent; }
.members .contact-slash { background: rgba(132, 204, 22, 0.16); }
.members .footer-logo { color: var(--ink-3); --bell: #65a30d; }
.members .nav-logo svg { --bell: #65a30d; }
.members .wa-float { box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.35); }
