/* Reps marketing site styles.
   Monochrome near-black canvas, single amber site accent, Inter only. */

html { scroll-behavior: smooth; }
body {
  background: #0B0B0D;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../assets/images/gym-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  z-index: -1;
  filter: grayscale(0.5) contrast(1.1);
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, transparent 0%, #0B0B0D 85%);
  z-index: -1;
  pointer-events: none;
}

/* Atmosphere: section zones with layered radial glows + mesh gradients */
#top {
  background-color: transparent;
  background-image:
    radial-gradient(ellipse 80% 60% at 25% 45%, color-mix(in oklab, var(--accent) 7%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(255,255,255,0.015), transparent 60%);
  position: relative;
}
#top::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
  background: linear-gradient(to bottom, transparent, #0B0B0D);
  pointer-events: none;
}
/* About/Support reuse id="top" as their whole content wrapper (it holds
   .page-wrap). Suppress the hero's fade-to-dark there so the page doesn't dim
   into the footer. The landing hero's #top has no .page-wrap, so it keeps it. */
#top:has(.page-wrap)::after { content: none; }
#st-features {
  background-color: transparent;
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 35%, color-mix(in oklab, var(--accent) 6%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 50% at 85% 65%, rgba(255,255,255,0.012), transparent 55%);
  position: relative;
}
#st-features::before {
  content: ''; position: absolute; left: 10%; right: 10%; top: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent);
  pointer-events: none;
}
#st-download {
  background-color: transparent;
  background-image:
    radial-gradient(ellipse 55% 65% at 50% 50%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 70%),
    radial-gradient(ellipse 80% 40% at 50% 20%, rgba(255,255,255,0.01), transparent 50%);
  position: relative;
}
#st-download::before {
  content: ''; position: absolute; left: 10%; right: 10%; top: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent);
  pointer-events: none;
}

/* Permanent bottom progressive-blur overlay (fixed, NOT scroll-driven).
   Bottom 20% of the viewport: content scrolls behind it and blurs, fading
   from clear at the top edge to fully frosted at the bottom via a mask. */
.bottom-blur {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  z-index: 40;
  pointer-events: none;
  -webkit-backdrop-filter: blur(24px) saturate(180%);
          backdrop-filter: blur(24px) saturate(180%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 22%, rgba(0,0,0,0.8) 55%, #000 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 22%, rgba(0,0,0,0.8) 55%, #000 100%);
}

/* Nav links */
.nav-link {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 800; letter-spacing: 1.6px;
  color: var(--text-2); text-decoration: none; text-transform: uppercase;
  transition: color 250ms ease, transform 250ms ease;
  white-space: nowrap; position: relative; padding: 4px 0;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--accent); border-radius: 1px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 320ms cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-link:hover { color: var(--text-1); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:active { transform: scale(0.95); }

/* Floating nav pill: neutral monochrome glass, no warm accent */
.nav-pill-wrap {
  position: fixed; top: 22px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center; pointer-events: none;
}
.nav-pill {
  pointer-events: auto; position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 32px;
  padding: 5px 28px 5px 20px;
  border-radius: 999px;
  background: rgba(20, 20, 21, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 18px 50px rgba(0,0,0,0.55);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  transition: background 500ms ease, border-color 500ms ease, box-shadow 500ms ease, transform 300ms ease, padding 500ms ease, gap 500ms ease;
}
/* Scroll-solidified + tightened state */
.nav-pill.nav-scrolled {
  background: rgba(14, 14, 16, 0.92);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 24px 60px rgba(0,0,0,0.7);
  padding: 4px 22px 4px 16px;
  gap: 24px;
}
/* Hover: subtle lift + border brighten */
.nav-pill:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 1px 0 rgba(255,255,255,0.14) inset, 0 22px 56px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  transform: translateY(-1px);
}
/* Click ripple */
.nav-ripple {
  position: absolute; pointer-events: none;
  width: 200px; height: 200px; margin-left: -100px; margin-top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  animation: navRippleOut 600ms ease-out forwards;
}
@keyframes navRippleOut {
  from { transform: scale(0); opacity: 1; }
  to   { transform: scale(2.5); opacity: 0; }
}

.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; transition: transform 250ms ease; }
.nav-brand:hover { transform: scale(1.04); }
.nav-brand:active { transform: scale(0.97); }
.nav-brand-name {
  font-family: var(--font-sans); font-weight: 900; font-size: 17px;
  letter-spacing: -0.4px; color: var(--text-hero); line-height: 1;
}

/* App-icon placeholder (neutral, no warm tint) */
.app-icon-ph {
  width: 26px; height: 26px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font: 900 14px/1 var(--font-sans); color: var(--text-hero); letter-spacing: -0.5px;
  color: rgba(255,255,255,0.5); flex: none;
  transition: border-color 250ms ease, background 250ms ease, color 250ms ease, transform 350ms cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-brand:hover .app-icon-ph {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: var(--accent);
  transform: rotate(12deg);
}
.app-icon-img {
  width: 26px; height: 26px; border-radius: 8px; display: block; object-fit: cover;
  border: 1px solid rgba(255,255,255,0.16);
  transition: transform 250ms ease;
}
.nav-brand:hover .app-icon-img { transform: rotate(12deg); }
.nav-divider {
  width: 1px; height: 14px; background: rgba(255,255,255,0.12);
  transition: background 300ms ease;
}
.nav-pill:hover .nav-divider { background: rgba(255,255,255,0.2); }
.nav-links { display: flex; align-items: center; gap: 24px; }

/* iPhone mockup: floats gently in the hero */
.float-loop { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .float-loop { animation: float var(--duration-float) var(--ease-in-out) infinite; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.phone {
  position: relative; width: 320px; height: 660px; box-sizing: border-box;
  border-radius: 52px; background: #050505;
  border: 1px solid #2A2A2A; padding: 7px;
  box-shadow: inset 0 0 0 3px #000, inset 0 1px 0 rgba(255,255,255,0.25), 0 40px 80px rgba(0,0,0,0.6);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 45px; overflow: hidden;
  background: var(--bg-1); position: relative;
}
.phone-island {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 26px; border-radius: 14px; background: #000; z-index: 3;
}
/* Smaller phone for the feature showcase */
.phone-sm { width: 240px; height: 498px; border-radius: 42px; padding: 6px; }
.phone-sm .phone-screen { border-radius: 36px; }
.phone-sm .phone-island { width: 70px; height: 20px; border-radius: 11px; top: 18px; }

.mini-tile { background: var(--surface-1); border: 1px solid var(--border-1); border-radius: 18px; padding: 12px 14px; }
.mini-name { font-weight: 900; font-size: 15px; letter-spacing: -0.3px; color: var(--text-1); }
.mini-meta { font-weight: 800; font-size: 8px; letter-spacing: 0.5px; color: var(--text-2); margin-top: 3px; }

/* Feature showcase: single auto-cycling card + phone side-by-side */
.feat-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-items: center; margin-top: 48px;
}
@media (max-width: 960px) { .feat-showcase { grid-template-columns: 1fr; } }

/* Phone carousel */
.phone-carousel {
  perspective: 1200px;
  width: 100%; display: flex; justify-content: flex-end;
  overflow: visible;
}
.phone-carousel-stage {
  position: relative; width: 240px; height: 498px;
}
.phone-carousel-slot {
  position: absolute; inset: 0;
  transition: transform 720ms var(--ease-out), opacity 720ms var(--ease-out), filter 720ms var(--ease-out);
  will-change: transform, opacity, filter;
}
@media (prefers-reduced-motion: reduce) {
  .phone-carousel-slot { transition: none; }
}

/* Animated border angle (registered so it can be animated) */
@property --feat-glow {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Auto-cycling feature card with a slow travelling glow tracing its border */
.feat-cycle-card {
  position: relative;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 38px 36px 26px;
  box-shadow: inset 0 1px 0 var(--glass-edge), inset 1px 0 0 var(--glass-edge);
  overflow: hidden;
}
.feat-cycle-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--feat-glow),
    transparent 0deg,
    transparent 230deg,
    color-mix(in oklab, var(--accent) 75%, transparent) 290deg,
    color-mix(in oklab, var(--accent) 25%, transparent) 330deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
@media (prefers-reduced-motion: no-preference) {
  .feat-cycle-card::before { animation: featGlowTravel 7s linear infinite; }
}
@keyframes featGlowTravel { to { --feat-glow: 360deg; } }
.feat-cycle-content { position: relative; z-index: 1; }
@keyframes featSwap {
  from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
  to   { opacity: 1; transform: none;            filter: none; }
}
.feat-cycle-content > .feat-cycle-body {
  animation: featSwap 380ms var(--ease-out, ease-out);
}

/* Navigation dots */
.feat-dots { display: flex; justify-content: center; gap: 18px; margin-top: 30px; position: relative; z-index: 1; }
.feat-dot {
  width: 7px; height: 7px; border-radius: 5px; border: none; padding: 0;
  background: rgba(255, 255, 255, 0.16); cursor: pointer;
  position: relative;
  transition: background 320ms ease, transform 320ms ease, box-shadow 320ms ease;
}
/* Expand the tap target to ~25px without enlarging the visual dot (WCAG 2.5.8).
   gap 18 + dot 7 = 25px pitch, so neighbouring targets meet but never overlap. */
.feat-dot::before { content: ''; position: absolute; top: 50%; left: 50%; width: 25px; height: 25px; transform: translate(-50%, -50%); }
.feat-dot:hover { background: rgba(255, 255, 255, 0.38); }
.feat-dot.is-active {
  background: var(--accent); transform: scale(1.3);
  box-shadow: 0 0 10px color-mix(in oklab, var(--accent) 50%, transparent);
}

.feat-bullets { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 13px; }
.feat-bullet {
  display: flex; align-items: flex-start; gap: 11px;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px; line-height: 1.5; color: var(--text-1);
}
.feat-bullet-check { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }

/* Glass card (About page principles, etc.) */
.feat-card {
  position: relative; box-sizing: border-box;
  background: var(--glass-fill); border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: inset 0 1px 0 var(--glass-edge), inset 1px 0 0 var(--glass-edge);
  padding: 30px 28px 32px;
}
.feat-ic {
  width: 52px; height: 52px; border-radius: 15px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--glass-border); background: var(--glass-fill);
  color: var(--accent); margin-bottom: 22px;
}

#st-show { background: transparent; }

/* Sub-page chrome (About / Support) */
.page-wrap { max-width: 860px; margin: 0 auto; padding: 150px 40px 40px; }
.page-back {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--font-sans); font-weight: 800; font-size: 12px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--text-2); transition: color 200ms ease;
}
.page-back:hover { color: var(--text-1); }

/* Contact form (Support page) */
.contact-form { display: flex; flex-direction: column; gap: 20px; max-width: 520px; }
.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-label {
  font-family: var(--font-sans); font-weight: 800; font-size: 11px;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-2);
}
.contact-input, .contact-textarea {
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  color: var(--text-1); background: var(--glass-fill);
  border: 1px solid var(--glass-border); border-radius: 14px;
  padding: 14px 18px; outline: none; transition: border-color 200ms ease;
}
.contact-input:focus, .contact-textarea:focus { border-color: var(--accent); }
.contact-textarea { min-height: 140px; resize: vertical; }
.contact-input::placeholder, .contact-textarea::placeholder { color: var(--text-faint); }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 64px; position: relative; z-index: 50; background: transparent; }
.site-footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 30px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* Prevent horizontal drift / left-shift when zoomed or on narrow screens */
html, body { overflow-x: hidden; max-width: 100%; }

/* =========================================================================
   RESPONSIVE — phones & narrow tablets
   The page is built around a 1160px max-width; below that things need to
   reflow. Tablet break at 900px (stack hero columns, scale type) and a
   phone break at 560px (compact nav, reflow CTA layout, smaller phone bezel).
   ========================================================================= */

/* Tablet & smaller: stack the hero and feature columns */
@media (max-width: 900px) {
  /* Hero: stack vertically, scale down hero type */
  header#top > div {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 28px !important;
    padding: 130px 28px 40px !important;
    text-align: left !important;
  }
  header#top h1 {
    font-size: 64px !important;
    letter-spacing: -2.6px !important;
  }
  header#top p { margin-left: 0 !important; margin-right: 0 !important; }

  /* Features: stack columns (already at 960 via feat-showcase rule) */
  #st-features { padding: 56px 28px !important; }
  #st-features h2 { font-size: 38px !important; letter-spacing: -1.6px !important; }
  .feat-cycle-card { padding: 30px 26px 24px; }
  .feat-cycle-card h3 { font-size: 26px !important; letter-spacing: -1px !important; }

  /* Stack section header on video showcase */
  #st-show { padding: 48px 28px !important; }
  #st-show > .reveal > div:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  #st-show h2 { font-size: 40px !important; letter-spacing: -1.4px !important; }

  /* Download CTA */
  #st-download { padding: 80px 28px 64px !important; }
  #st-download h2 { font-size: 48px !important; letter-spacing: -1.8px !important; }
}

/* Phone: compact nav, smaller bezel, single-column footer */
@media (max-width: 560px) {
  /* Nav pill: much tighter, smaller download */
  .nav-pill-wrap { top: 16px; padding: 0 14px; }
  .nav-pill { gap: 14px; padding: 5px 10px 5px 14px; }
  .nav-pill.nav-scrolled { padding: 4px 9px 4px 12px; gap: 12px; }
  .nav-links { gap: 16px; }
  .nav-link { font-size: 12px; letter-spacing: 1.3px; padding: 4px 0; }
  .nav-divider { display: none; }
  .nav-brand-name { font-size: 16px; }
  .nav-brand { gap: 9px; }
  .app-icon-ph { width: 24px; height: 24px; border-radius: 7px; }
  .app-icon-img { width: 24px; height: 24px; border-radius: 7px; }
  /* Download lives in the bottom CTA on mobile, not the pill */
  .nav-download { display: none; }

  /* Hero: tighter, left-aligned, smaller bezel scale */
  header#top > div { padding: 116px 20px 20px !important; gap: 22px !important; align-items: flex-start !important; text-align: left !important; }
  header#top h1 { font-size: 48px !important; letter-spacing: -2px !important; line-height: 0.96 !important; }
  header#top p { font-size: 15px !important; line-height: 24px !important; }
  /* Scale the hero phone down ~25% so it fits comfortably */
  #top .phone { transform: scale(0.78); transform-origin: top center; }
  /* Smaller, left-aligned content inside the hero phone */
  .hero-phone-content { padding-top: 48px !important; }
  .hero-phone-title { font-size: 22px !important; }
  .mini-tile { padding: 9px 12px; }
  .mini-name { font-size: 13px; }
  .mini-meta { font-size: 7px; }

  /* Features section: pulled up closer to the hero phone */
  #st-features { padding: 24px 20px 48px !important; }
  #st-features h2 { font-size: 30px !important; letter-spacing: -1.2px !important; }
  .feat-showcase { gap: 20px !important; margin-top: 24px !important; }
  .feat-cycle-card { padding: 26px 22px 20px; border-radius: 22px; }
  .feat-cycle-card h3 { font-size: 22px !important; letter-spacing: -0.8px !important; }
  .feat-cycle-card p { font-size: 13.5px !important; line-height: 21px !important; }
  /* Center the phone carousel and shrink an extra 15% so neighbour phones fit */
  .phone-carousel { justify-content: center !important; }
  .phone-carousel-stage { transform: scale(0.72); transform-origin: top center; }

  /* Video showcase */
  #st-show { padding: 40px 20px !important; }
  #st-show h2 { font-size: 32px !important; letter-spacing: -1.2px !important; }
  #st-show p { font-size: 14px !important; line-height: 21px !important; }
  /* Shrink the corner label badge so it doesn't cover the clip */
  .video-badge { left: 10px !important; top: 10px !important; padding: 3px 7px !important; }
  .video-badge * { font-size: 8px !important; letter-spacing: 0.8px !important; }

  /* Stop the section below jumping as the feature card cycles through
     features of different text lengths: reserve a stable card height. */
  .feat-cycle-body { min-height: 300px; }
  /* The phone carousel is visually scaled down (transform), but its layout
     box stays full-height — reclaim the empty space it leaves behind. */
  .phone-carousel-stage { margin-bottom: -140px; }

  /* Sub-pages (About / Support): readable heading + single-column cards.
     (Left-alignment is handled by scoping the hero rules to header#top.) */
  .page-wrap h1 { font-size: 38px !important; letter-spacing: -1.6px !important; }
  .about-principles { grid-template-columns: 1fr !important; }

  /* Download CTA */
  #st-download { padding: 64px 20px 48px !important; }
  #st-download h2 { font-size: 38px !important; letter-spacing: -1.5px !important; line-height: 1.02 !important; }
  #st-download p { font-size: 14px !important; line-height: 22px !important; }

  /* Footer: stack & center */
  .site-footer-inner { flex-direction: column; gap: 16px; padding: 24px 20px; text-align: center; }
  .footer-links { justify-content: center; }

  /* Sub-pages */
  .page-wrap { padding: 116px 20px 32px; }
}

/* Very narrow phones */
@media (max-width: 380px) {
  header#top h1 { font-size: 42px !important; }
  #st-features h2 { font-size: 26px !important; }
  #st-download h2 { font-size: 32px !important; }
  .nav-pill { gap: 11px; padding: 4px 12px 4px 12px; }
  .nav-links { gap: 13px; }
  .nav-link { font-size: 11px; }
}

/* ─── Light theme: site chrome overrides ─────────────────────────────────────
   Token-driven colors flip via tokens/colors.css; this section re-skins the
   hardcoded dark chrome (page canvas, atmosphere, nav pill, hairlines). */
:root[data-theme="light"] body { background: #F4F4F2; }
:root[data-theme="light"] body::before {
  background-image: url('../../assets/images/gym-background-light.jpg');
  opacity: 0.5;
  filter: grayscale(0.3) contrast(1.02);
}
:root[data-theme="light"] body::after {
  background: radial-gradient(circle at 50% 50%, transparent 0%, #F4F4F2 85%);
}
:root[data-theme="light"] #top::after {
  background: linear-gradient(to bottom, transparent, #F4F4F2);
}
:root[data-theme="light"] #top,
:root[data-theme="light"] #st-features,
:root[data-theme="light"] #st-download { background-image:
  radial-gradient(ellipse 70% 55% at 50% 40%, color-mix(in oklab, var(--accent) 7%, transparent), transparent 70%);
}
:root[data-theme="light"] #st-features::before,
:root[data-theme="light"] #st-download::before {
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.10), transparent);
}
:root[data-theme="light"] .nav-pill {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 18px 50px rgba(0,0,0,0.14);
}
:root[data-theme="light"] .nav-pill.nav-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 24px 60px rgba(0,0,0,0.18);
}
:root[data-theme="light"] .nav-pill:hover {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 22px 56px rgba(0,0,0,0.16);
}
:root[data-theme="light"] .nav-ripple {
  background: radial-gradient(circle, rgba(0,0,0,0.10) 0%, transparent 70%);
}
:root[data-theme="light"] .nav-divider { background: rgba(0,0,0,0.14); }
:root[data-theme="light"] .nav-pill:hover .nav-divider { background: rgba(0,0,0,0.22); }
:root[data-theme="light"] .feat-dot { background: rgba(0, 0, 0, 0.18); }
:root[data-theme="light"] .feat-dot:hover { background: rgba(0, 0, 0, 0.40); }
:root[data-theme="light"] .site-footer { border-top: 1px solid rgba(0,0,0,0.10); }
:root[data-theme="light"] .app-icon-ph,
:root[data-theme="light"] .app-icon-img { border-color: rgba(0,0,0,0.14); }
:root[data-theme="light"] .app-icon-ph { background: rgba(0,0,0,0.05); color: rgba(0,0,0,0.5); }
:root[data-theme="light"] .nav-brand:hover .app-icon-ph { border-color: rgba(0,0,0,0.25); background: rgba(0,0,0,0.08); }

/* Theme toggle (sun/moon) in the nav pill */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 999px;
  border: none; background: transparent; cursor: pointer; padding: 0;
  color: var(--text-2); transition: color 200ms ease, transform 350ms cubic-bezier(0.23, 1, 0.32, 1);
}
.theme-toggle:hover { color: var(--text-1); transform: rotate(24deg); }

/* Light mode glass: frosted white with real depth (drop shadow + backdrop
   blur over the gym photo). Dark mode keeps its flat white-alpha glass. */
:root[data-theme="light"] .feat-cycle-card,
:root[data-theme="light"] .feat-card {
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 1px 0 var(--glass-edge), inset 1px 0 0 var(--glass-edge),
    0 18px 40px rgba(0, 0, 0, 0.12),
    0 3px 10px rgba(0, 0, 0, 0.07);
}
:root[data-theme="light"] .feat-ic {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .contact-input,
:root[data-theme="light"] .contact-textarea {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
