:root {
  --ink: #17120d;
  --paper: #fffaf3;
  --paper-deep: #f5eadb;
  --orange: #ed7c24;
  --orange-bright: #ff9d31;
  --orange-deep: #b64b08;
  --white: #fff;
  --muted: #6f665d;
  --line: rgba(66, 42, 20, .14);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #ffd08e;
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: #080705 url("images/gym0-landing-hero.85128eccabdf.png") center / cover no-repeat;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 6, 10, .76) 0%, rgba(4, 6, 10, .54) 45%, rgba(4, 6, 10, .82) 100%),
    radial-gradient(circle at 50% 52%, rgba(237, 124, 36, .12), transparent 43%);
}
.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  width: min(100% - 40px, var(--max-width));
  min-height: 96px;
  margin: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 104px; height: 76px; object-fit: contain; }
.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav-menu a {
  position: relative;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  background: var(--orange-bright);
  transition: transform .2s ease;
}
.nav-menu a:hover::after { transform: scaleX(1); }
.login-button,
.primary-button,
.price-card button {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange-deep));
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(196, 84, 12, .28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.login-button { min-width: 106px; padding: 12px 24px; }
.primary-button { min-height: 52px; padding: 14px 26px; }
.login-button:hover,
.primary-button:hover,
.price-card button:hover {
  transform: translateY(-2px);
  filter: saturate(1.1);
  box-shadow: 0 18px 34px rgba(196, 84, 12, .36);
}
button:disabled {
  cursor: not-allowed;
  opacity: .56;
  transform: none !important;
  box-shadow: none !important;
}
.nav-toggle { display: none; }

.hero-content {
  width: min(100% - 40px, 900px);
  padding: 140px 0 100px;
  text-align: center;
}
.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--orange-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-content h1 {
  max-width: 900px;
  margin: 0 auto;
  font-family: "Sora", "Montserrat", "Poppins", sans-serif;
  font-size: clamp(40px, 6.2vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.06em;
  text-shadow: 0 16px 44px rgba(0, 0, 0, .34);
  text-wrap: balance;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-content h1 {
    background: linear-gradient(112deg, #fff 0%, #fff 64%, #ffd09b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.hero-copy {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.secondary-button {
  min-height: 52px;
  padding: 13px 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 8px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  transition: border-color .2s ease, background .2s ease;
}
.secondary-button:hover { border-color: var(--orange-bright); background: rgba(237, 124, 36, .13); }
.trial-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .63);
  font-size: 12px;
}
.signin-status { min-height: 20px; margin: 8px 0 0; font-size: 13px; color: #ffe0b9; }
.signin-status.is-error { color: #ffd0cf; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-decoration: none;
  text-transform: uppercase;
}
.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 22px;
  margin: 8px auto 0;
  background: var(--orange-bright);
}

.content-section {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 110px 0;
}
.section-heading { max-width: 720px; }
.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.section-heading > p:last-child:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.7;
}
.about-section { text-align: center; }
.about-section .section-heading { margin: 0 auto; }
.section-intro {
  max-width: 900px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.stat-row {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}
.stat-row div { padding: 28px 18px; }
.stat-row div + div { border-left: 1px solid var(--line); }
.stat-row strong, .stat-row span { display: block; }
.stat-row strong { color: var(--orange-deep); font-size: clamp(24px, 3vw, 34px); }
.stat-row span { margin-top: 5px; color: var(--muted); font-size: 12px; }

.feature-section { border-top: 1px solid var(--line); }
.feature-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature-card {
  position: relative;
  min-height: 250px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 20px 60px rgba(81, 47, 16, .06);
}
.feature-number {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}
.feature-card h3 { margin: 64px 0 12px; font-size: 24px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.feature-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -68px;
  top: -68px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 124, 36, .22), transparent 70%);
}

.pricing-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max-width)) / 2));
  color: var(--white);
  background: #15110d;
}
.pricing-section .section-kicker { color: var(--orange-bright); }
.pricing-section .section-heading > p:last-child { color: rgba(255, 255, 255, .62); }
.pricing-grid {
  max-width: 900px;
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.price-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: #211a14;
}
.price-card.featured {
  border-color: rgba(255, 157, 49, .55);
  background: linear-gradient(145deg, #2c1e12, #1b1510);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  margin: 0;
  color: var(--orange-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.plan-name { margin: 0; color: rgba(255, 255, 255, .7); font-weight: 700; }
.price { margin: 18px 0 20px; font-size: 52px; font-weight: 800; line-height: 1; }
.price span { margin-right: 4px; color: var(--orange-bright); font-size: 25px; vertical-align: top; }
.price small { color: rgba(255, 255, 255, .55); font-size: 13px; font-weight: 500; }
.price-card > p:not(.plan-name, .plan-badge, .price) { min-height: 76px; color: rgba(255, 255, 255, .64); line-height: 1.65; }
.price-card button { width: 100%; min-height: 48px; margin-top: 18px; }

.faq-section .section-heading { margin: 0 auto; text-align: center; }
.faq-list { max-width: 860px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--orange-deep);
  font-size: 24px;
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 720px; margin: -6px 0 24px; color: var(--muted); line-height: 1.75; }

.landing-legal-section { border-top: 1px solid var(--line); }
.landing-legal-section .section-heading { max-width: 790px; }
.landing-legal-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.landing-legal-card {
  position: relative;
  min-height: 310px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(250, 237, 219, .72));
  box-shadow: 0 20px 60px rgba(81, 47, 16, .075);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.landing-legal-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -85px;
  top: -92px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 124, 36, .2), transparent 70%);
}
.landing-legal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(237, 124, 36, .38);
  box-shadow: 0 26px 68px rgba(81, 47, 16, .12);
}
.landing-legal-card > span {
  color: var(--orange-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.landing-legal-card h3 { margin: 42px 0 13px; font-size: 26px; letter-spacing: -.025em; }
.landing-legal-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.landing-legal-card strong { margin-top: auto; padding-top: 28px; color: var(--orange-deep); font-size: 13px; }

.contact-section {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto 90px;
  padding: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 20px;
  color: var(--white);
  background: linear-gradient(120deg, #1a1510, #35200f);
  box-shadow: 0 28px 70px rgba(63, 35, 10, .18);
}
.contact-section h2 { max-width: 680px; font-size: clamp(28px, 3.6vw, 46px); }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; flex: 0 0 auto; }
.contact-actions > a { color: rgba(255, 255, 255, .68); font-size: 13px; text-align: center; }

.site-footer {
  padding: 34px max(20px, calc((100vw - var(--max-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 54px; height: 54px; object-fit: contain; }
.footer-brand strong { font-size: 18px; }
.footer-brand p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--orange-deep); }

@media (max-width: 860px) {
  .site-nav { min-height: 82px; grid-template-columns: auto 1fr auto; gap: 14px; }
  .brand img { width: 82px; height: 62px; }
  .nav-toggle {
    display: inline-grid;
    justify-self: end;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    background: rgba(0, 0, 0, .26);
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 2px; background: var(--white); }
  .nav-menu {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(15, 12, 9, .96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .36);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 12px; text-align: center; }
  .nav-menu a::after { display: none; }
  .login-button { min-width: 84px; padding: 11px 16px; }
  .stat-row, .feature-grid, .pricing-grid, .landing-legal-grid { grid-template-columns: 1fr; }
  .stat-row div + div { border-left: 0; border-top: 1px solid var(--line); }
  .contact-section { align-items: flex-start; flex-direction: column; }
  .contact-actions { width: 100%; }
}

@media (max-width: 560px) {
  .site-nav { width: min(100% - 24px, var(--max-width)); }
  .login-button { display: none; }
  .site-nav { grid-template-columns: 1fr auto; }
  .hero-content { width: min(100% - 28px, 900px); padding-top: 112px; }
  .hero-content h1 { font-size: clamp(38px, 12vw, 54px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions > * { width: 100%; }
  .content-section { width: min(100% - 28px, var(--max-width)); padding: 76px 0; }
  .feature-card { min-height: 0; padding: 26px; }
  .feature-card h3 { margin-top: 42px; }
  .landing-legal-card { min-height: 280px; padding: 26px; }
  .price-card { padding: 28px 24px; }
  .price-card > p:not(.plan-name, .plan-badge, .price) { min-height: 0; }
  .contact-section { width: min(100% - 28px, var(--max-width)); margin-bottom: 58px; padding: 32px 24px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-links { gap: 14px 20px; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
