/* Progload — landing page
 *
 * Single stylesheet, no framework, no build step. Dark gym-native palette
 * matching the app. Mobile-first; the only breakpoint is 820px.
 */

:root {
  --bg: #0b0b0f;
  --surface: #14141b;
  --surface-2: #1b1b24;
  --line: #26262f;
  --text: #f2f2f5;
  --muted: #9a9aa8;
  --accent: #2f7cf6;
  --accent-soft: #12233f;
  --good: #34c759;
  --radius: 14px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

section { padding: 84px 24px; }
section > h2, .section-lede { max-width: var(--maxw); margin-inline: auto; }
.section-lede { color: var(--muted); margin-bottom: 2rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 24px;
  background: rgba(11, 11, 15, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 700; font-size: 1.05rem;
}
.brand:hover { text-decoration: none; }
.brand-icon { border-radius: 8px; }
.nav nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav nav a { color: var(--muted); font-size: .94rem; }
.nav nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1fr; gap: 48px;
  align-items: center; padding-top: 72px;
}
.lede { font-size: 1.16rem; color: #d6d6de; max-width: 34em; }
.sub { color: var(--muted); }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.cta-note { color: var(--muted); font-size: .9rem; }
.appstore:hover { text-decoration: none; opacity: .88; }
.hero-shot img {
  border-radius: 26px; border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
  margin-inline: auto;
}

/* ---------- strip ---------- */
.strip { background: var(--surface); border-block: 1px solid var(--line); padding: 54px 24px; }
.strip p {
  max-width: 780px; margin-inline: auto; margin-bottom: 0;
  font-size: 1.18rem; text-align: center; color: #d6d6de;
}
.strip strong { color: var(--text); }

/* ---------- features ---------- */
.grid {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { color: var(--text); }
.card p { color: var(--muted); margin-bottom: 0; font-size: .97rem; }

/* ---------- gallery ---------- */
.gallery { background: var(--surface); border-block: 1px solid var(--line); }
.gallery h2 { text-align: center; }
.shots {
  max-width: var(--maxw); margin: 32px auto 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.shots figure { margin: 0; text-align: center; }
.shots img {
  border-radius: 18px; border: 1px solid var(--line);
  background: var(--surface-2); margin-inline: auto;
}
.shots figcaption { color: var(--muted); font-size: .88rem; margin-top: 10px; }

/* ---------- programs ---------- */
.proglist {
  max-width: var(--maxw); margin-inline: auto;
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.proglist li {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 16px; font-size: .95rem;
}

/* ---------- pricing ---------- */
.pricing { background: var(--surface); border-block: 1px solid var(--line); }
.plans {
  max-width: 860px; margin: 0 auto 26px;
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.plan {
  position: relative; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
}
.plan.featured { border-color: var(--accent); background: var(--accent-soft); }
.badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--good); color: #04210c;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.plan-name { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 6px; }
.plan-price { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.plan-price small { font-size: .92rem; font-weight: 500; color: var(--muted); }
.fineprint {
  max-width: 720px; margin-inline: auto;
  color: var(--muted); font-size: .84rem; text-align: center;
}

/* ---------- faq ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq h2 { margin-bottom: 1.2em; }
details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
summary {
  cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.4rem; }
details[open] summary::after { content: "\2013"; }
details p { color: var(--muted); margin: 12px 0 0; font-size: .96rem; }

/* ---------- final cta ---------- */
.final-cta { text-align: center; border-top: 1px solid var(--line); }
.final-cta .appstore { display: inline-block; margin-top: 12px; }

/* ---------- footer ---------- */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 44px 24px 28px; }
.foot-inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between;
}
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { color: var(--muted); font-size: .92rem; }
.foot-links a:hover { color: var(--text); }
.muted { color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
.copyright {
  max-width: var(--maxw); margin: 26px auto 0;
  color: #6a6a78; font-size: .82rem;
}

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin-inline: auto; padding: 64px 24px 90px; }
.legal h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); }
.legal h2 { font-size: 1.22rem; margin-top: 2.2em; }
.legal p, .legal li { color: #c9c9d4; font-size: .99rem; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .45em; }
.updated { color: var(--muted); font-size: .9rem; margin-bottom: 2.4em; }
.legal-back { display: inline-block; margin-bottom: 2em; color: var(--muted); font-size: .92rem; }
.callout {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 16px 18px; margin: 1.6em 0;
}
.callout p { margin: 0; font-size: .93rem; }

/* ---------- desktop ---------- */
@media (min-width: 820px) {
  .hero { grid-template-columns: 1.05fr .95fr; padding-top: 96px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .shots { grid-template-columns: repeat(4, 1fr); }
  .proglist { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
