:root {
  --landing-width: 1240px;
  --landing-gold: #f3d21b;
  --landing-ink: #090e17;
}

html { scroll-behavior: smooth; }
.landing-body {
  overflow-x: hidden;
  --bg: #0b1220;
  --surface: #131e31;
  --surface-2: #1a273d;
  --surface-3: #22314a;
  --line: #31415d;
  --text: #f7f9fc;
  --muted: #94a3b8;
  --accent: #f3d21b;
  --accent-ink: #131824;
}
.landing-body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 75% 4%, rgba(243, 210, 27, .08), transparent 28rem),
    radial-gradient(circle at 6% 38%, rgba(74, 111, 166, .11), transparent 32rem),
    #090f1a;
}

.landing-body main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.landing-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(calc(100% - 40px), var(--landing-width));
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}
.landing-header.scrolled {
  position: sticky;
  top: 0;
  width: 100%;
  padding-inline: max(20px, calc((100% - var(--landing-width)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(9, 15, 26, .88);
  backdrop-filter: blur(20px);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
}

.landing-brand img {
  border-radius: 13px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
}

.landing-brand strong,
.landing-brand small { display: block; line-height: 1; }
.landing-brand strong { font-size: 14px; letter-spacing: .02em; }
.landing-brand small { margin-top: 4px; color: var(--landing-gold); font-size: 12px; font-weight: 900; }
.landing-nav { display: flex; align-items: center; gap: 32px; }
.landing-nav a { color: #9ba8ba; font-size: 13px; font-weight: 700; text-decoration: none; transition: color .16s; }
.landing-nav a:hover { color: #fff; }
.landing-account-actions { display: flex; align-items: center; gap: 9px; }
.landing-login,
.landing-register,
.landing-install,
.landing-text-button,
.landing-footer button {
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 850;
}

.landing-install {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(243, 210, 27, .38);
  border-radius: 10px;
  color: var(--landing-gold);
  font-size: 11px;
}
.landing-login { min-height: 42px; padding: 0 13px; }
.landing-register { min-height: 42px; padding: 0 17px; border-radius: 11px; background: var(--landing-gold); color: #11150d; }
.landing-hero {
  display: grid;
  width: min(calc(100% - 40px), var(--landing-width));
  min-height: 650px;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  margin: 0 auto;
  padding: 70px 0 86px;
}

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--landing-gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .17em;
}

.landing-eyebrow i { width: 22px; height: 2px; background: currentColor; }
.landing-hero h1,
.landing-section h2,
.program-copy h2,
.landing-final-cta h2 {
  margin: 18px 0;
  color: #f8fafc;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .95;
  letter-spacing: -.058em;
}

.landing-hero h1 em,
.landing-section h2 em,
.program-copy h2 em,
.landing-final-cta h2 em { color: var(--landing-gold); font-style: normal; }
.landing-hero-copy > p { max-width: 590px; margin: 0; color: #9ba8ba; font-size: 17px; line-height: 1.65; }
.landing-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.landing-cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.landing-cta.primary { background: var(--landing-gold); color: #11150d; box-shadow: 0 14px 32px rgba(243, 210, 27, .12); }
.landing-cta.secondary { border-color: #2e3b50; background: #141e2d; color: #f4f6fa; }
.landing-cta span { font-size: 18px; }
.landing-install-status {
  min-height: 18px;
  margin: 10px 0 -4px !important;
  color: #d9c754 !important;
  font-size: 11px !important;
}
.landing-small-print { margin-top: 15px !important; font-size: 11px !important; }
.landing-hero-visual { position: relative; min-width: 0; }
.hero-photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  border: 1px solid #28374c;
  border-radius: 28px;
  background: #131d2b;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
  transform: rotate(1.5deg);
}

.hero-photo-frame > img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(5, 10, 18, .28) 55%, rgba(5, 10, 18, .94)); }
.hero-session-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 17px;
  background: rgba(10, 17, 28, .86);
  backdrop-filter: blur(15px);
}

.hero-session-head,
.hero-session-stats { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-session-head span { color: #9ca8b8; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.hero-session-head strong { color: var(--landing-gold); }
.hero-progress { height: 6px; margin: 12px 0 14px; overflow: hidden; border-radius: 99px; background: #293548; }
.hero-progress i { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--landing-gold); }
.hero-session-stats span { color: #8f9caf; font-size: 9px; }
.hero-session-stats strong { display: block; margin-bottom: 2px; color: #fff; font-size: 13px; }
.hero-floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid #2d3b50; border-radius: 14px; background: rgba(13, 21, 34, .96); box-shadow: 0 18px 38px rgba(0, 0, 0, .34); }
.hero-floating-card strong, .hero-floating-card small { display: block; }
.hero-floating-card strong { font-size: 11px; }
.hero-floating-card small { margin-top: 3px; color: #8e9caf; font-size: 9px; }
.hero-floating-top { top: 9%; left: -10%; }
.hero-floating-bottom { right: -9%; bottom: 28%; }
.floating-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #36c879; color: #07150d; font-weight: 950; }
.floating-icon.gold { background: var(--landing-gold); color: #181708; }
.landing-proof {
  display: grid;
  width: min(calc(100% - 40px), var(--landing-width));
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  border-top: 1px solid #253247;
  border-bottom: 1px solid #253247;
}

.landing-proof div { padding: 25px 22px; border-right: 1px solid #253247; }
.landing-proof div:last-child { border-right: 0; }
.landing-proof strong { display: block; color: #fff; font-size: 24px; letter-spacing: -.04em; }
.landing-proof span { display: block; margin-top: 4px; color: #7f8da1; font-size: 10px; }
.landing-section { width: min(calc(100% - 40px), var(--landing-width)); margin: 0 auto; padding: 130px 0; }
.landing-section-head { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 40px; margin-bottom: 48px; }
.landing-section-head .landing-eyebrow { grid-column: 1 / -1; }
.landing-section h2,
.program-copy h2 { margin: 8px 0 0; font-size: clamp(38px, 5vw, 62px); }
.landing-section-head > p { margin: 0; color: #8e9caf; font-size: 14px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature-card { position: relative; overflow: hidden; min-height: 310px; padding: 28px; border: 1px solid #28364b; border-radius: 22px; background: linear-gradient(145deg, #151f2e, #101824); }
.feature-card h3 { margin: 34px 0 10px; font-size: 21px; }
.feature-card p { max-width: 510px; margin: 0; color: #8e9caf; font-size: 13px; line-height: 1.65; }
.feature-mark { color: var(--landing-gold); font-size: 10px; font-weight: 950; letter-spacing: .12em; }
.feature-large { grid-row: span 2; min-height: 634px; }
.feature-wide { grid-column: 1 / -1; display: grid; min-height: 260px; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.feature-wide h3 { margin-top: 24px; }
.mini-workout { margin-top: 45px; padding: 17px; border: 1px solid #304057; border-radius: 16px; background: #0c1420; }
.mini-workout > div:first-child { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; color: #fff; font-size: 12px; }
.mini-workout > div:first-child strong { color: var(--landing-gold); font-size: 10px; }
.mini-set { display: grid; grid-template-columns: 24px 1fr 1fr 25px; align-items: center; gap: 8px; margin-top: 7px; padding: 10px; border-radius: 10px; background: #172231; color: #dce3ec; font-size: 11px; }
.mini-set b { color: #7e8c9e; }
.mini-set em { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 7px; background: #37c779; color: #09150e; font-style: normal; font-weight: 950; }
.mini-set.muted { opacity: .55; }
.technique-lines { display: grid; gap: 10px; margin-top: 38px; }
.technique-lines i { height: 12px; border-radius: 99px; background: linear-gradient(90deg, var(--landing-gold) 8%, #26344a 8%); }
.technique-lines i:nth-child(2) { width: 88%; }
.technique-lines i:nth-child(3) { width: 72%; }
.landing-chart { display: flex; height: 100px; align-items: flex-end; gap: 8px; margin-top: 30px; }
.landing-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--landing-gold), #5e561e); }
.swap-preview { padding: 20px; border: 1px solid #314056; border-radius: 17px; background: #0c1420; }
.swap-preview span, .swap-preview strong { display: block; }
.swap-preview span { color: #8190a3; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.swap-preview strong { margin-top: 5px; font-size: 13px; }
.swap-preview i { display: block; margin: 12px 0; color: var(--landing-gold); font-size: 10px; font-style: normal; }
.program-section {
  display: grid;
  width: min(calc(100% - 40px), var(--landing-width));
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
  margin: 0 auto;
  padding: 90px 0 130px;
}

.program-copy > p { margin: 22px 0; color: #8e9caf; font-size: 14px; line-height: 1.7; }
.program-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 25px 0 30px; padding: 0; list-style: none; }
.program-copy li { color: #dbe2eb; font-size: 12px; font-weight: 750; }
.program-copy li span { margin-right: 7px; color: var(--landing-gold); }
.program-mosaic { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10px; }
.program-mosaic figure { position: relative; overflow: hidden; min-height: 210px; margin: 0; border: 1px solid #2a394f; border-radius: 18px; }
.program-mosaic .mosaic-main { grid-row: span 2; }
.program-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.program-mosaic figcaption { position: absolute; inset: auto 0 0; padding: 35px 14px 13px; background: linear-gradient(transparent, rgba(4, 8, 14, .9)); color: #fff; font-size: 11px; font-weight: 800; }
.program-mosaic figcaption span { margin-right: 7px; color: var(--landing-gold); }
.steps-section { padding-top: 80px; }
.landing-section-head.centered { display: block; text-align: center; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps-grid article { padding: 26px; border-top: 1px solid #35445a; background: linear-gradient(180deg, rgba(24, 34, 49, .65), transparent); }
.steps-grid article > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: var(--landing-gold); color: #11150d; font-size: 13px; font-weight: 950; }
.steps-grid h3 { margin: 34px 0 9px; }
.steps-grid p { margin: 0; color: #8e9caf; font-size: 12px; line-height: 1.65; }
.landing-final-cta {
  display: grid;
  overflow: hidden;
  width: min(calc(100% - 40px), var(--landing-width));
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 50px;
  margin: 0 auto 100px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid #574f18;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 20%, rgba(243, 210, 27, .18), transparent 21rem),
    linear-gradient(135deg, #171d20, #111923);
}

.landing-final-cta h2 { margin: 15px 0; font-size: clamp(35px, 4.6vw, 60px); }
.landing-final-cta p { margin: 0; color: #9ba8ba; }
.final-cta-actions { display: grid; gap: 12px; }
.landing-text-button { color: #c5cdd8; font-size: 12px; }
.landing-footer { display: flex; width: min(calc(100% - 40px), var(--landing-width)); min-height: 100px; align-items: center; justify-content: space-between; gap: 25px; margin: 0 auto; border-top: 1px solid #253247; }
.landing-footer p { margin: 0; color: #6f7c90; font-size: 10px; }
.landing-footer button { color: #9ca8ba; font-size: 11px; }

@media (max-width: 900px) {
  .landing-nav { display: none; }
  .landing-hero { grid-template-columns: 1fr; padding-top: 50px; }
  .landing-hero-copy { text-align: center; }
  .landing-hero-copy > p { margin-inline: auto; }
  .landing-hero-actions { justify-content: center; }
  .landing-hero-visual { width: min(100%, 580px); margin: 10px auto 0; }
  .landing-section-head,
  .program-section,
  .landing-final-cta { grid-template-columns: 1fr; }
  .program-copy { text-align: center; }
  .program-copy ul { text-align: left; }
  .landing-final-cta { text-align: center; }
}

@media (max-width: 640px) {
  .landing-header { width: min(calc(100% - 24px), var(--landing-width)); min-height: 70px; }
  .landing-account-actions { gap: 2px; }
  .landing-install { min-height: 36px; padding: 0 9px; font-size: 10px; }
  .landing-login { display: none; }
  .landing-register { min-height: 38px; padding: 0 12px; font-size: 11px; }
  .landing-brand img { width: 38px; height: 38px; }
  .landing-hero,
  .landing-proof,
  .landing-section,
  .program-section,
  .landing-final-cta,
  .landing-footer { width: min(calc(100% - 24px), var(--landing-width)); }
  .landing-hero { min-height: 0; gap: 45px; padding: 55px 0 70px; }
  .landing-hero h1 { font-size: 48px; }
  .landing-hero-copy > p { font-size: 14px; }
  .landing-hero-actions { display: grid; }
  .landing-cta { width: 100%; }
  .hero-photo-frame { border-radius: 20px; }
  .hero-floating-card { padding: 8px 10px; }
  .hero-floating-top { left: 4px; }
  .hero-floating-bottom { right: 4px; }
  .landing-proof { grid-template-columns: 1fr 1fr; }
  .landing-proof div { border-bottom: 1px solid #253247; }
  .landing-proof div:nth-child(2) { border-right: 0; }
  .landing-proof div:nth-child(3),
  .landing-proof div:nth-child(4) { border-bottom: 0; }
  .landing-section { padding: 95px 0; }
  .landing-section-head { display: block; }
  .landing-section-head > p { margin-top: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-large { grid-row: auto; min-height: 570px; }
  .feature-wide { grid-column: auto; display: block; }
  .swap-preview { margin-top: 25px; }
  .program-section { padding: 30px 0 95px; }
  .program-mosaic { grid-template-columns: 1fr 1fr; }
  .program-mosaic .mosaic-main { grid-column: 1 / -1; grid-row: auto; min-height: 300px; }
  .program-mosaic figure { min-height: 150px; }
  .steps-grid { grid-template-columns: 1fr; }
  .landing-final-cta { margin-bottom: 60px; padding: 32px 20px; }
  .landing-footer { flex-wrap: wrap; justify-content: center; padding: 24px 0; text-align: center; }
}

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