/* ============================================================
   Gym WP — Landing Page
   Brand: #FF7711 orange · #121212 ink · #f4f4f4 paper · #646464 gray
   Display: Archivo · Body: Hanken Grotesk
   ============================================================ */

:root {
  --accent: #ff7711;
  --accent-deep: #e6620a;
  --accent-soft: rgba(255, 119, 17, 0.12);
  --ink: #121212;
  --ink-2: #1a1a1a;
  --ink-3: #232323;
  --paper: #f4f4f4;
  --paper-2: #ffffff;
  --gray: #646464;
  --gray-2: #8a8a8a;
  --line-dark: rgba(255, 255, 255, 0.10);
  --line-light: rgba(18, 18, 18, 0.10);
  --teal: #27585e;
  --teal-2: #1f474c;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);

  --shadow-card: 0 1px 2px rgba(18,18,18,.04), 0 12px 30px -12px rgba(18,18,18,.18);
  --shadow-float: 0 30px 80px -30px rgba(0,0,0,.55);

  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* radius tweak */
body[data-radius="sharp"] {
  --radius: 6px; --radius-sm: 4px; --radius-lg: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}
.eyebrow.center::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: .01em;
  padding: 15px 26px; border-radius: 999px; border: 0;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -8px var(--accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-light); }
.btn-ghost:hover { border-color: var(--ink); }
[data-section-dark] .btn-ghost { color: #fff; border-color: var(--line-dark); }
[data-section-dark] .btn-ghost:hover { border-color: #fff; }

/* ---------- Store badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff;
  padding: 11px 20px 11px 18px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.badge:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0,0,0,.6); }
.badge svg { width: 26px; height: 26px; flex: none; }
.badge .b-txt { display: flex; flex-direction: column; line-height: 1.1; }
.badge .b-top { font-size: 11px; letter-spacing: .04em; opacity: .85; }
.badge .b-store { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .01em; }
body[data-hero-theme="light"] .hero .badge { background: var(--ink); }

/* ---------- Store badges (official PNG art) ---------- */
.badge-img {
  display: inline-block; line-height: 0; border-radius: 13px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.badge-img img { height: 56px; width: auto; display: block; }
.badge-img:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0,0,0,.55); }
.cta .badges .badge-img img { height: 60px; }
@media (max-width: 560px) {
  .badge-img img, .cta .badges .badge-img img { height: 52px; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(14px);
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand .name { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a.navlink { font-weight: 600; font-size: 15.5px; color: inherit; opacity: .82; transition: opacity .15s, color .15s; white-space: nowrap; }
.nav a.navlink:hover { opacity: 1; color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }

/* language toggle */
.lang {
  display: inline-flex; align-items: center; border: 1.5px solid var(--line-light);
  border-radius: 999px; overflow: hidden; font-family: var(--font-display); font-weight: 700; font-size: 13px;
}
.lang button { background: none; border: 0; padding: 7px 12px; color: inherit; opacity: .55; letter-spacing: .04em; }
.lang button[aria-pressed="true"] { background: var(--accent); color: #fff; opacity: 1; }

/* header theme: dark when over dark hero */
body[data-hero-theme="dark"] .site-header { color: #fff; }
body[data-hero-theme="dark"] .site-header .lang { border-color: var(--line-dark); }
.site-header.scrolled {
  background: color-mix(in srgb, var(--page-bg, #f4f4f4) 86%, transparent);
  border-bottom-color: var(--line-light);
  box-shadow: 0 8px 30px -20px rgba(0,0,0,.4);
}
body[data-hero-theme="dark"] .site-header.scrolled {
  background: rgba(18,18,18,.82); border-bottom-color: var(--line-dark);
}

.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: inherit; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
section[id], main [id] { scroll-margin-top: 90px; }
.section { padding-block: clamp(64px, 9vw, 128px); }
[data-section-dark] { background: var(--ink); color: #fff; --page-bg: #121212; }
[data-section-teal] { background: var(--teal); color: #fff; --page-bg: #27585e; }
[data-section-paper] { background: var(--paper); color: var(--ink); --page-bg: #f4f4f4; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 5.2vw, 60px); margin-top: 18px; }
.section-head .lede { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); color: var(--gray); }
[data-section-dark] .section-head .lede,
[data-section-teal] .section-head .lede { color: rgba(255,255,255,.72); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: calc(74px + clamp(28px, 5vw, 64px)); padding-bottom: clamp(60px, 8vw, 110px); }
body[data-hero-theme="dark"] .hero { background: var(--ink); color: #fff; --page-bg:#121212; }
body[data-hero-theme="light"] .hero { background: var(--paper); color: var(--ink); --page-bg:#f4f4f4; }

.hero-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
body[data-hero-theme="dark"] .hero-glow {
  background:
    radial-gradient(60% 70% at 78% 18%, rgba(255,119,17,.28), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(255,119,17,.10), transparent 60%);
}
body[data-hero-theme="light"] .hero-glow {
  background: radial-gradient(55% 65% at 85% 0%, rgba(255,119,17,.16), transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, var(--line-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(80% 80% at 50% 30%, #000, transparent 75%);
}
body[data-hero-theme="light"] .hero-grid {
  background-image:
    linear-gradient(to right, var(--line-light) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-light) 1px, transparent 1px);
}

.hero .wrap { position: relative; z-index: 1; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(42px, 6.8vw, 86px);
  font-weight: 900;
  line-height: 0.98;
  margin-top: 22px;
}
.hero h1 .hl { color: var(--accent); }
.hero .sub { margin-top: 24px; font-size: clamp(17px, 2.1vw, 21px); color: var(--gray); max-width: 540px; }
body[data-hero-theme="dark"] .hero .sub { color: rgba(255,255,255,.74); }
.hero .cta-row { margin-top: 34px; }

/* hero stats inline */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 28px 38px; margin-top: 38px;
  padding-top: 30px; border-top: 1px solid var(--line-dark);
}
body[data-hero-theme="light"] .hero-stats { border-top-color: var(--line-light); }
.hero-stats .stat .num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1; letter-spacing: -.02em;
}
.hero-stats .stat .num .accent { color: var(--accent); }
.hero-stats .stat .lbl { font-size: 15.5px; color: var(--gray); margin-top: 8px; letter-spacing: .01em; }
body[data-hero-theme="dark"] .hero-stats .stat .lbl { color: rgba(255,255,255,.74); }

/* hero rating row */
.rating-row { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 15px; }
.stars { display: inline-flex; gap: 3px; color: var(--accent); }
.stars svg { width: 18px; height: 18px; }
.rating-row .muted { color: var(--gray); }
body[data-hero-theme="dark"] .rating-row .muted { color: rgba(255,255,255,.62); }

/* hero phones */
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 480px; }
.phone-duo { position: relative; width: 100%; max-width: 460px; height: 560px; }
.phone-duo .phone { position: absolute; }
.phone-duo .phone.back { width: 230px; right: 4%; top: 0; rotate: 5deg; z-index: 1; }
.phone-duo .phone.front { width: 252px; left: 2%; top: 70px; z-index: 2; }

/* centered hero layout */
body[data-hero-layout="centered"] .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
body[data-hero-layout="centered"] .hero-copy { max-width: 760px; }
body[data-hero-layout="centered"] .hero .badges,
body[data-hero-layout="centered"] .hero .eyebrow,
body[data-hero-layout="centered"] .hero-stats { justify-content: center; }
body[data-hero-layout="centered"] .hero .sub { margin-inline: auto; }
body[data-hero-layout="centered"] .hero-art { margin-top: 54px; min-height: 0; }
body[data-hero-layout="centered"] .phone-duo { height: 520px; max-width: 540px; }
body[data-hero-layout="centered"] .phone-duo .phone.back { right: 16%; }
body[data-hero-layout="centered"] .phone-duo .phone.front { left: 16%; }

/* ---------- Phone frame ---------- */
.phone {
  border-radius: 38px; background: #0b0b0b; padding: 9px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow-float);
  position: relative;
}
/* notch removed — bezel only */
.phone .screen {
  border-radius: 30px; overflow: hidden; aspect-ratio: 9 / 19.5; background: #1d1d1d;
  display: block; width: 100%;
}
.phone image-slot, .phone media-slot { width: 100%; height: 100%; }

/* ============================================================
   STAT STRIP
   ============================================================ */
.stripe { background: var(--accent); color: #121212; }
.stripe .wrap { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between; gap: 18px 22px; padding-block: 28px; }
.stripe .s-item { display: flex; flex-direction: column; gap: 4px; }
.stripe .s-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px,2.3vw,31px); color: #121212; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.stripe .s-lbl { font-size: 18px; font-weight: 700; color: #121212; opacity: .88; max-width: 17ch; }
.stripe .divider { width: 1px; background: rgba(18,18,18,.2); align-self: stretch; }
@media (min-width: 861px) { .stripe .wrap { flex-wrap: nowrap; } }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feature-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.fcard {
  border-radius: var(--radius); padding: 30px 28px 32px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line-dark);
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
[data-section-paper] .fcard { background: var(--paper-2); border-color: var(--line-light); box-shadow: var(--shadow-card); }
.fcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
body[data-cards="outline"] .fcard { background: transparent !important; box-shadow: none; }
.ficon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 20px;
}
.ficon svg { width: 28px; height: 28px; }
.fcard h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.fcard p { margin-top: 10px; font-size: 18px; color: var(--gray); }
[data-section-dark] .fcard p { color: rgba(255,255,255,.66); }
.fcard .tag {
  display: inline-block; margin-top: 16px; font-family: var(--font-display); font-weight: 700;
  font-size: 12.5px; letter-spacing: .03em; color: var(--accent);
  background: var(--accent-soft); padding: 4px 10px; border-radius: 999px;
}

/* ============================================================
   SHOWCASE (teal) — staggered screenshots
   ============================================================ */
.showcase-rail {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px);
  align-items: start;
}
.showcase-rail .phone { width: 100%; }
.showcase-rail .phone:nth-child(even) { margin-top: 48px; }
.showcase-cap { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 46px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); font-weight: 600; font-size: 17px; color: #fff;
}
.chip svg { width: 18px; height: 18px; color: var(--accent); }

/* ============================================================
   DEEP FEATURE ROWS
   ============================================================ */
.frow {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px);
  align-items: center; margin-top: clamp(54px, 7vw, 96px);
}
.frow:first-of-type { margin-top: clamp(40px, 5vw, 64px); }
.frow.flip .frow-media { order: -1; }
.frow-copy .num-badge {
  font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--accent);
  letter-spacing: .04em;
}
.frow-copy h3 { font-size: clamp(28px, 3.6vw, 44px); margin-top: 12px; }
.frow-copy p { margin-top: 18px; font-size: 18px; color: var(--gray); }
.frow-list { margin-top: 24px; display: grid; gap: 12px; }
.frow-list li { display: flex; gap: 12px; align-items: flex-start; list-style: none; font-size: 18.5px; }
.frow-list { padding: 0; }
.frow-list .ck {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; margin-top: 2px;
}
.frow-list .ck svg { width: 14px; height: 14px; }
.frow-media { display: flex; justify-content: center; position: relative; }
.frow-media .phone { width: 290px; max-width: 80%; }
.frow-media .glow-behind {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 45% at 50% 45%, var(--accent-soft), transparent 70%);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tgrid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.tcard {
  background: var(--paper-2); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 16px;
}
body[data-cards="outline"] .tcard { background: transparent !important; box-shadow: none; }
.tcard .stars svg { width: 18px; height: 18px; }
.tcard .quote { font-size: 17.5px; line-height: 1.5; }
.tcard .quote b { font-weight: 700; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 17px;
}
.tcard .who .meta b { display: block; font-weight: 700; font-size: 15.5px; }
.tcard .who .meta span { font-size: 15.5px; color: var(--gray); }

/* ============================================================
   CTA + help form
   ============================================================ */
.cta { text-align: center; overflow: hidden; }
.cta .wrap { position: relative; z-index: 1; }
.cta .cta-glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(50% 80% at 50% 0%, rgba(255,119,17,.25), transparent 60%);
}
.cta h2 { font-size: clamp(40px, 6vw, 76px); font-weight: 900; }
.cta .sub { margin: 22px auto 0; max-width: 560px; font-size: 19px; color: rgba(255,255,255,.74); }
.cta .badges { justify-content: center; margin-top: 36px; }

.help {
  margin-top: clamp(54px, 7vw, 80px); background: rgba(255,255,255,.05);
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 50px); max-width: 640px; margin-inline: auto;
}
.help h3 { font-size: clamp(24px, 3vw, 32px); }
.help p { margin-top: 12px; color: rgba(255,255,255,.7); }
.help form { margin-top: 24px; display: grid; gap: 14px; }
.help input, .help textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: #fff;
  background: rgba(255,255,255,.04); border: 1.5px solid var(--line-dark);
  border-radius: 999px; padding: 15px 22px; transition: border-color .18s;
}
.help textarea { border-radius: var(--radius); min-height: 110px; resize: vertical; }
.help input::placeholder, .help textarea::placeholder { color: rgba(255,255,255,.45); }
.help input:focus, .help textarea:focus { outline: none; border-color: var(--accent); }
.help .btn-primary { justify-self: center; margin-top: 6px; min-width: 180px; }
.device-field { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 4px 2px; }
.device-label { font-size: 15px; color: rgba(255,255,255,.72); font-weight: 600; }
.device-opts { display: flex; gap: 22px; }
.device-opt { display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-size: 15px; color: rgba(255,255,255,.85); transition: color .18s; }
.device-opt:hover { color: #fff; }
.help .device-opt input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; padding: 0;
  border: 2px solid rgba(255,255,255,.35); border-radius: 50%; flex: none;
  transition: border-color .18s, background .18s; }
.help .device-opt input:checked { border-color: var(--accent);
  background: radial-gradient(circle at center, var(--accent) 0 45%, transparent 49%); }
.help .sent-msg { color: var(--accent); font-weight: 600; margin-top: 6px; min-height: 1.2em; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--paper); color: var(--ink); padding-top: clamp(56px,7vw,84px); padding-bottom: 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer .brand .name { font-size: 24px; }
.footer .f-about { margin-top: 18px; color: var(--gray); font-size: 17.5px; max-width: 300px; }
.footer .f-about a { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color .15s; }
.footer .f-about a:hover { color: var(--accent); }
.footer h4 { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { color: var(--gray); font-size: 17.5px; transition: color .15s; }
.footer ul a:hover { color: var(--accent); }
.footer .contact-list a { display: inline-flex; align-items: center; gap: 10px; }
.footer .contact-list .ci { width: 18px; height: 18px; flex: none; color: var(--gray); transition: color .15s; }
.footer .contact-list a:hover .ci { color: var(--accent); }
.footer-bottom b a { color: inherit; }
.footer-bottom b a:hover { color: var(--accent); }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--line-light); color: var(--ink); transition: all .18s var(--ease);
}
.socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom {
  margin-top: clamp(40px,5vw,60px); padding-top: 26px; border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--gray);
}
.footer-bottom b { font-family: var(--font-display); color: var(--ink); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  body.anim-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  body.anim-ready .reveal.in { opacity: 1; transform: none; }
  body.anim-ready .reveal.d1 { transition-delay: .07s; }
  body.anim-ready .reveal.d2 { transition-delay: .14s; }
  body.anim-ready .reveal.d3 { transition-delay: .21s; }
  body.anim-ready .reveal.d4 { transition-delay: .28s; }
  body.anim-ready .reveal.d5 { transition-delay: .35s; }

  /* Title entrance — stronger rise + de-blur (text only, no static transform) */
  body.anim-ready .reveal.reveal-title { transform: translateY(46px); filter: blur(10px); transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease); }
  body.anim-ready .reveal.reveal-title.in { transform: none; filter: none; }

  /* Mockup entrance — rise + scale. Uses individual translate/scale so a
     static `rotate` on the phone composes instead of being overwritten. */
  body.anim-ready .reveal.reveal-phone { transform: none; opacity: 0; translate: 0 74px; scale: .86; transition: opacity .9s var(--ease), translate .9s var(--ease), scale .9s var(--ease); }
  body.anim-ready .reveal.reveal-phone.in { opacity: 1; translate: 0 0; scale: 1; }
}
/* hard fallback: never leave content stuck hidden (frozen-frame capture / paused tabs) */
body.anim-done .reveal { opacity: 1 !important; transform: none !important; translate: 0 0 !important; scale: 1 !important; filter: none !important; transition: none !important; }
/* print / PDF: always show everything, no entrance state */
@media print {
  .reveal { opacity: 1 !important; transform: none !important; translate: 0 0 !important; scale: 1 !important; filter: none !important; transition: none !important; }
}

/* ============================================================
   EXPORT MODE — hover zooms the whole mockup (bezel + screen)
   Only active when the page is marked data-gymwp-export (offline / zip builds).
   ============================================================ */
body[data-gymwp-export] .phone { transition: transform .5s cubic-bezier(.22,.61,.36,1); }
/* keep the entrance transitions for reveal phones AND add transform so the hover zoom animates smoothly */
@media (prefers-reduced-motion: no-preference) {
  body[data-gymwp-export] .reveal.reveal-phone {
    transition: opacity .9s var(--ease), translate .9s var(--ease), scale .9s var(--ease), transform .5s var(--ease);
  }
}
/* Whole-mockup hover zoom only on devices with a real (mouse) pointer —
   never on touch screens, where a tap would otherwise stick the zoom. */
@media (hover: hover) and (pointer: fine) {
  body[data-gymwp-export] .phone:hover { transform: scale(1.07); z-index: 6; }
}
body[data-gymwp-export] .phone .screen { overflow: hidden; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tgrid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 30px; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; gap: 12px; }
  .header-actions .lang { display: none; }
  .header-actions .btn { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-art { margin-top: 46px; min-height: 0; justify-content: center; }
  .phone-duo { height: 500px; max-width: 420px; }
  .showcase-rail { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .showcase-rail .phone:nth-child(even) { margin-top: 0; }
  .frow { grid-template-columns: 1fr; gap: 36px; }
  .frow.flip .frow-media { order: 0; }
  /* tablets: keep the orange stripe centered */
  .stripe .wrap { justify-content: center; gap: 20px 32px; }
  .stripe .s-item { align-items: center; text-align: center; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  /* keep logo on a single line, smaller on phones */
  .site-header .wrap { gap: 12px; }
  .brand img { width: 34px; height: 34px; }
  .brand .name { font-size: 19px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 11px 16px; font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .stripe .wrap { flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
  .stripe .s-item { flex: 0 0 auto; width: 100%; align-items: center; text-align: center; }
  .stripe .s-lbl { max-width: none; }
  /* separator line between each data point */
  .stripe .divider {
    display: block; width: auto; height: auto; flex: 0 0 auto;
    background: none; align-self: center; margin: 2px 0;
  }
  .stripe .divider::before {
    content: ""; display: block; width: 80px; height: 2px; margin: 0 auto;
    background: rgba(18,18,18,.32); border-radius: 2px;
  }
  .hero-art { margin-top: 36px; }
  .phone-duo { height: 440px; max-width: 360px; }
}

/* mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: rgba(18,18,18,.6); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav .panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(82vw, 340px);
  background: var(--ink); color: #fff; padding: 26px 26px; display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%); transition: transform .3s var(--ease);
}
.mobile-nav.open .panel { transform: none; }
.mobile-nav .panel a { padding: 14px 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; border-bottom: 1px solid var(--line-dark); }
.mobile-nav .panel .btn { margin-top: 18px; }
.mobile-nav .panel .lang-mobile { margin-top: 22px; align-self: stretch; width: 100%; display: flex; border-color: var(--line-dark); font-size: 15px; }
.mobile-nav .panel .lang-mobile button { flex: 1; padding: 14px 0; }
.mobile-nav .closex { align-self: flex-end; background: none; border: 0; color: #fff; padding: 6px; margin-bottom: 8px; }
.mobile-nav .closex svg { width: 26px; height: 26px; }
