/* Repora — Shared Design System (Clean White + Athletic Blue) */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand Athletic Blue */
  --primary:        #1F6FEB;
  --primary-light:  #388BFD;
  --primary-soft:   #EBF3FE;
  --primary-subtle: #F0F6FF;
  --primary-deep:   #154EA6;
  --accent:         #1F6FEB;

  /* Typography / Neutral Slate */
  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-tertiary:  #94A3B8;

  /* Backgrounds */
  --bg-app:         #F8FAFC;
  --bg-card:        #FFFFFF;
  --bg-soft:        #F1F5F9;

  /* Dark Sections (Obsidian / Athletic Slate) */
  --dark-bg:        #0B1120;
  --dark-card:      #0F172A;
  --dark-border:    #1E293B;

  /* Accents */
  --green:          #10B981;
  --green-soft:     #D1FAE5;
  --red:            #EF4444;
  --blue:           #1F6FEB;
  --amber:          #F59E0B;

  /* Borders & Shadows */
  --border:         #E2E8F0;
  --border-light:   #F1F5F9;
  --shadow-sm:      0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md:      0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg:      0 20px 48px rgba(15, 23, 42, 0.12);
  --shadow-blue:    0 12px 32px rgba(31, 111, 235, 0.22);

  /* Radii */
  --radius-sm:      12px;
  --radius-md:      20px;
  --radius-lg:      28px;
  --radius-xl:      40px;

  --nav-height:     72px;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body {
  overflow-x: clip;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-app);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
  height: var(--nav-height);
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(31, 111, 235, 0.25);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}
.nav-link.active {
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-soft);
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-cta {
  margin-left: 0;
}

/* ── LANGUAGE SWITCHER ── */
.lang-switcher { position: relative; flex-shrink: 0; }
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-primary);
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}
.lang-current:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}
.lang-globe { display: block; flex-shrink: 0; }
.lang-code { letter-spacing: 0.02em; }
.lang-caret { font-size: 10px; color: var(--text-tertiary); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 200;
}
.lang-menu.open { display: flex; }
.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-option:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}
.lang-option.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}
.lang-opt-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}
.lang-option.active .lang-opt-code {
  color: var(--primary);
}

/* Mobile language switcher */
.nav-mobile-langs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 0 4px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}
.nav-mobile-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 8px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s ease;
}
.nav-mobile-lang .nml-code { font-size: 10px; font-weight: 700; color: var(--text-tertiary); }
.nav-mobile-lang.active {
  color: var(--primary);
  border-color: var(--primary-light);
  background: var(--primary-soft);
  font-weight: 600;
}
.nav-mobile-lang.active .nml-code { color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.25s ease;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px 24px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.nav-mobile-link:hover, .nav-mobile-link.active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 600;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #1F6FEB 0%, #388BFD 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(31, 111, 235, 0.30);
  letter-spacing: -0.01em;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 111, 235, 0.42);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}
.btn-secondary:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ── STORE BADGES ── */
.store-row { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0F172A;
  color: #fff;
  padding: 10px 20px 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-width: 170px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.35);
  border-color: rgba(56, 139, 253, 0.4);
}
.store-btn.is-soon {
  opacity: 0.88;
  cursor: default;
}
.store-txt { display: flex; flex-direction: column; line-height: 1.15; }
.store-txt small { font-size: 10.5px; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.04em; }
.store-txt strong { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; color: #fff; }

/* ── TYPOGRAPHY & COMMON ── */
.accent { color: var(--primary); }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.eyebrow.center, h2.center { text-align: center; }

.sec { padding: 80px 24px; }
.sec-tight { padding: 48px 24px 60px; }
.sec-inner { max-width: 1140px; margin: 0 auto; }
.sec h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 580px;
}

/* ── PAGE HERO (Trang chủ & Trang con) ── */
.ph {
  padding: 64px 24px 48px;
  background: radial-gradient(1000px 480px at 75% 20%, #DCEBFA 0%, rgba(220, 235, 250, 0) 70%);
  position: relative;
  overflow: hidden;
}
.ph-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.ph-inner.has-art {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.ph-copy { position: relative; z-index: 2; }
.ph h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.ph-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 28px;
}
.ph-meta {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: .02em;
}
.ph-art {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Trust row under hero */
.trust-row {
  list-style: none;
  display: flex;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
}
.trust-row li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.trust-row strong {
  color: var(--text-primary);
  font-weight: 700;
}
.trust-ico {
  color: var(--primary);
  display: grid;
  place-items: center;
}

/* ── PHONE MOCKUP FOR SCREENSHOTS ── */
.hero-phone-wrap {
  position: relative;
  display: inline-block;
  padding: 12px;
}
.phone-frame {
  width: 290px;
  background: #0F172A;
  border-radius: 44px;
  padding: 8px;
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.35), 0 0 0 2px #1E293B, var(--shadow-blue);
  position: relative;
}
.phone-screen-img {
  width: 100%;
  height: auto;
  border-radius: 36px;
  display: block;
}
.phone-badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  z-index: 4;
  animation: floatUpDown 4s ease-in-out infinite alternate;
}
.phone-badge-float.top-left {
  top: 18%;
  left: -32px;
}
.phone-badge-float.bottom-right {
  bottom: 12%;
  right: -28px;
  animation-delay: -2s;
}
.pbf-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pbf-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.pbf-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.pbf-text small {
  font-size: 11px;
  color: var(--text-secondary);
}

@keyframes floatUpDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ── ART CARD (fallback for hero) ── */
.art-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  max-width: 380px;
}
.art-card b { font-size: 18px; letter-spacing: -0.01em; }
.art-card p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; }
.art-ico {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.art-tags span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 99px;
}

/* ── WORKOUT HIGHLIGHT RIBBON ── */
.workout-ribbon {
  background: linear-gradient(135deg, #154EA6 0%, #1F6FEB 50%, #388BFD 100%);
  color: #fff;
  padding: 20px 24px;
}
.workout-ribbon-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ribbon-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  border-radius: 99px;
}
.ribbon-items {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14.5px;
  font-weight: 600;
}
.ribbon-dot { opacity: 0.4; }

/* ── APP SHOWCASE SECTION (2-COL WITH REAL SCREENSHOTS) ── */
.sec-showcase {
  background: #FFFFFF;
}
.showcase-list {
  display: grid;
  gap: 72px;
  margin-top: 48px;
}
.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.showcase-row.reverse .showcase-media { order: -1; }
.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 5px 12px;
  border-radius: 99px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.showcase-content h3 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.showcase-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.showcase-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.showcase-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.showcase-points li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.showcase-media {
  display: flex;
  justify-content: center;
  position: relative;
}
.showcase-phone {
  width: 270px;
  background: #0F172A;
  border-radius: 40px;
  padding: 7px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18), 0 0 0 2px #1E293B;
  transition: transform 0.3s ease;
}
.showcase-phone:hover {
  transform: translateY(-4px);
}
.showcase-phone img {
  border-radius: 33px;
  width: 100%;
  height: auto;
}

/* ── FEATURE CARDS ── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.sec-tight .feat-grid { margin-top: 0; }
.feat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}
.perk-ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--primary-soft);
  color: var(--primary);
}
.feat-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feat-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ── HOW IT WORKS (STEPS) ── */
.sec-why { background: #F8FAFC; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.step-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.step-n {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1F6FEB, #388BFD);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(31, 111, 235, 0.28);
}
.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ── FAQ ── */
.sec-faq .faq-list, .faq-group .faq-list {
  display: grid;
  gap: 12px;
}
.faq-group { margin-bottom: 36px; }
.faq-group-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: #CBD5E1; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  font-family: inherit;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question[aria-expanded="true"] {
  color: var(--primary);
}
.faq-arrow {
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1;
}
.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.faq-answer.open { display: block; }

/* ── CTA & DARK BANDS ── */
.cta, .band {
  background: radial-gradient(1100px 480px at 85% 20%, #154EA6 0%, #0B1120 70%);
  color: #fff;
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}
.cta-inner, .band-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta h2, .band h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.cta p, .band p {
  color: #94A3B8;
  font-size: 16.5px;
  margin-bottom: 24px;
  max-width: 520px;
}
.band p { margin-bottom: 0; }
.cta .store-btn {
  background: #FFFFFF;
  color: #0F172A;
  border-color: transparent;
}
.cta .store-btn .store-txt small { color: #64748B; }
.cta .store-btn .store-txt strong { color: #0F172A; }
.cta .store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.band-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── INNER PAGES & LEGAL LAYOUT ── */
.page-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.page-main.narrow { max-width: 820px; }
.page-main.notfound {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 100px;
}
.big404 {
  align-items: center;
  text-align: center;
  padding: 36px;
}
.big404 b {
  font-size: 96px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--primary);
}

.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.legal-toc-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.legal-toc ol { list-style: none; display: grid; gap: 3px; }
.legal-toc a {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 8px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.legal-toc a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}
.legal-toc a span {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.legal-body { display: grid; gap: 20px; }
.lsec {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--nav-height) + 20px);
}
.lsec h2 {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.lico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.lsec h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 8px;
}
.lsec p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.lsec p:last-child, .lsec ul:last-child { margin-bottom: 0; }
.lsec ul {
  margin: 0 0 14px 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
.lsec li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.lsec li::marker { color: var(--primary); }
.lsec a { color: var(--primary); font-weight: 600; text-decoration: none; }
.lsec a:hover { text-decoration: underline; }

.callout {
  background: var(--primary-subtle);
  border: 1px solid #BFDBFE;
  border-radius: 14px;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-primary);
}
.callout.warn {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #92400E;
}

/* ── CONTACT ── */
.contact-info { display: grid; gap: 16px; }
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.info-card-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.info-card-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.info-card-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}
.info-card-link {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.info-card-link:hover { text-decoration: underline; }

/* ── FOOTER ── */
.footer {
  background: var(--dark-bg);
  color: #E2E8F0;
  padding: 64px 24px 36px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: #fff; }
.footer-tagline {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 280px;
}
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: #F8FAFC;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.footer-link {
  font-size: 14px;
  color: #94A3B8;
  transition: color 0.15s ease;
}
.footer-link:hover { color: #388BFD; }
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: #64748B; }
.footer-privacy-note { font-size: 13px; color: #64748B; }

/* ── ANIMATION & UTILITIES ── */
.anim-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.anim-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .ph-inner.has-art { grid-template-columns: minmax(0, 1fr); }
  .ph-art { margin-top: 24px; }
  .showcase-row { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .showcase-row.reverse .showcase-media { order: 0; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .sec { padding: 60px 20px; }
  .step-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .workout-ribbon-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .phone-badge-float.top-left { left: 0; }
  .phone-badge-float.bottom-right { right: 0; }
  .lsec { padding: 24px 20px; }
}
