/* Gym Arc site styles */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  color-scheme: dark;
  --bg: #0d0f13;
  --card: #16191f;
  --card-hi: #1d2128;
  --line: rgba(255, 255, 255, 0.08);
  --line-hi: rgba(255, 255, 255, 0.16);
  --text: #f3f4f6;
  --body: #d3d7dd;
  --muted: #a3a9b3;
  --faint: #767d88;
  --flame: #f08a24;
  --flame-deep: #e2620e;
  --max: 1160px;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
  border-radius: 10px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 15, 19, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line-hi);
}

.nav {
  display: flex;
  gap: 32px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav a { transition: color 0.2s; }
.nav a:hover { color: var(--text); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s;
}

.btn svg { flex: none; width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }

.btn-light {
  background: #fff;
  color: #0d0f13;
  box-shadow: 0 14px 34px -14px rgba(255, 255, 255, 0.45);
}

.btn-light:hover { background: #eceef1; }

.btn-ghost {
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-hi);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

/* Shared pieces */

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--flame);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grad {
  background: linear-gradient(100deg, #ffc47e 0%, var(--flame) 48%, var(--flame-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.glow-cool {
  background: radial-gradient(closest-side, rgba(126, 150, 196, 0.34), rgba(126, 150, 196, 0.1) 55%, transparent);
}

.glow-flame {
  background: radial-gradient(closest-side, rgba(240, 138, 36, 0.34), rgba(226, 98, 14, 0.1) 55%, transparent);
}

.float { animation: float 6s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.section { position: relative; padding: 110px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 { font-size: clamp(34px, 4.2vw, 52px); }

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 19px;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 24px;
}

.hero > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 32px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.eyebrow-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 12px var(--flame);
}

.hero h1 {
  margin: 22px 0;
  font-size: clamp(44px, 5.8vw, 76px);
}

.lead {
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 21px);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts svg {
  width: 20px;
  height: 20px;
  color: var(--flame);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 660px;
  justify-self: center;
}

.hero-visual .phone {
  position: absolute;
  top: 50%;
  left: 50%;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
}

.hero-visual .phone-c {
  z-index: 3;
  width: 300px;
  transform: translate(-50%, -50%);
}

.hero-visual .phone-l,
.hero-visual .phone-r {
  z-index: 2;
  width: 244px;
}

.hero-visual .phone-l { transform: translate(-126%, -46%) rotate(-5deg); }
.hero-visual .phone-r { transform: translate(26%, -46%) rotate(5deg); }

.hero-visual .float-badge {
  position: absolute;
  z-index: 4;
  top: 8%;
  right: 6%;
  width: 150px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

.hero-visual .glow-cool {
  top: 50%;
  left: 50%;
  width: 760px;
  height: 760px;
  transform: translate(-50%, -50%);
}

.hero-visual .glow-flame {
  top: 4%;
  right: -4%;
  width: 360px;
  height: 360px;
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step {
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  box-shadow: inset 0 0 0 1px var(--line);
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: rgba(240, 138, 36, 0.12);
  color: var(--flame);
  font-size: 20px;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.step p {
  color: var(--muted);
  font-size: 16px;
}

/* Features */

.features { padding: 20px 0 40px; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding: 64px 0;
}

.feature:not(.flip) .feature-copy { order: 2; }

.feature h2 { font-size: clamp(34px, 4.2vw, 52px); }

.feature-copy > p {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 19px;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 34px;
  color: var(--body);
  font-size: 16.5px;
  line-height: 1.5;
}

.checks li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(240, 138, 36, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.9' fill='none' stroke='%23f08a24' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 580px;
  min-height: 600px;
  justify-self: center;
}

.visual .glow {
  top: 50%;
  left: 50%;
  width: 640px;
  height: 640px;
  transform: translate(-50%, -50%);
}

.visual .phone {
  position: relative;
  z-index: 1;
  width: clamp(230px, 54%, 300px);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
}

.visual .card {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

.v-workout .card { right: -10%; bottom: 8%; width: min(450px, 78%); }
.v-library .card { left: -10%; bottom: 6%; width: min(450px, 78%); }
.v-streak .card { right: -12%; bottom: 10%; width: min(460px, 80%); }
.v-watch .watch { left: 2%; bottom: 4%; width: min(210px, 36%); }
.v-watch .widget { right: 0; top: 8%; width: min(190px, 33%); }

.v-plan,
.v-progress { min-height: 540px; }

.v-plan .c1 {
  position: relative;
  width: min(580px, 104%);
  transform: translate(-2%, -16%) rotate(-2deg);
}

.v-plan .c2 {
  right: -8%;
  bottom: 12%;
  width: min(540px, 94%);
  transform: rotate(1.5deg);
}

.v-progress .c1 {
  position: relative;
  width: min(480px, 84%);
  transform: translate(-10%, -8%);
}

.v-progress .c2 {
  right: -8%;
  bottom: 4%;
  width: min(540px, 94%);
}

@media (max-width: 760px) {
  .hero-visual .float-badge { display: none; }

  .v-workout .card,
  .v-streak .card { right: -6%; width: 84%; }

  .v-library .card { left: -6%; width: 84%; }

  .v-watch .watch { width: 38%; }
  .v-watch .widget { width: 34%; }

  .v-plan .c1 { width: 100%; transform: translate(0, -14%) rotate(-2deg); }
  .v-plan .c2 { right: -4%; width: 92%; }

  .v-progress .c1 { width: 88%; transform: translate(-6%, -8%); }
  .v-progress .c2 { right: -4%; width: 96%; }
}

/* Benefits */

.benefits {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
  padding: 60px;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(240, 138, 36, 0.16), transparent 55%),
    linear-gradient(180deg, #1b1f26, #14171c);
  box-shadow: inset 0 0 0 1px var(--line);
}

.benefits h2 { font-size: clamp(32px, 3.6vw, 46px); }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin-top: 36px;
}

.stat b {
  display: block;
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.ticker {
  position: relative;
  height: 360px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.ticker-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: ticker 34s linear infinite;
}

.ticker ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticker li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--body);
  font-size: 16px;
  font-weight: 600;
}

@keyframes ticker {
  to { transform: translateY(calc(-50% - 6px)); }
}

/* FAQ */

.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  border-radius: 18px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.2s;
}

.faq details[open] { background: var(--card-hi); }

.faq summary {
  position: relative;
  padding: 22px 64px 22px 24px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 26px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }

.faq .answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 16.5px;
}

.faq .answer a,
.prose a,
.help-card a {
  color: var(--flame);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Call to action */

.cta {
  position: relative;
  overflow: hidden;
  padding: 76px 32px;
  border-radius: 32px;
  background:
    radial-gradient(70% 110% at 50% 0%, rgba(240, 138, 36, 0.22), transparent 60%),
    linear-gradient(180deg, #1c2027, #14171c);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
}

.cta-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  border-radius: 20px;
  box-shadow: 0 0 0 1px var(--line-hi), 0 22px 50px -12px rgba(240, 138, 36, 0.4);
}

.cta h2 { font-size: clamp(34px, 4vw, 52px); }

.cta p {
  max-width: 520px;
  margin: 16px auto 32px;
  color: var(--muted);
  font-size: 19px;
}

/* Footer */

.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand p { margin-top: 14px; }

.footer-title {
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 700;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: var(--text); }

.footer-note {
  display: grid;
  gap: 6px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

/* Inner pages */

.page { padding: 64px 0 96px; }

.page-hero { margin-bottom: 40px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 58px); }

.page-hero .meta {
  margin-top: 14px;
  color: var(--faint);
}

.page-hero .lead { margin-top: 18px; }

.prose { max-width: 780px; }
.prose > :first-child { margin-top: 0; }

.prose h2 {
  margin: 48px 0 12px;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.prose h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.prose p,
.prose li {
  color: #c3c8d0;
  font-size: 16.5px;
  line-height: 1.75;
}

.prose p + p { margin-top: 12px; }

.prose ul {
  margin: 12px 0;
  padding-left: 22px;
}

.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }

.prose .box {
  margin: 28px 0;
  padding: 22px 26px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}

.prose .box ul { margin-bottom: 0; }

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 32px;
  border-radius: 24px;
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(240, 138, 36, 0.16), transparent 60%),
    var(--card-hi);
  box-shadow: inset 0 0 0 1px var(--line);
}

.contact-card h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
}

.contact-card p {
  margin-top: 6px;
  color: var(--muted);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.help-card {
  padding: 28px;
  border-radius: 22px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}

.help-card h2 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.help-card p {
  color: var(--muted);
  font-size: 16px;
}

.help-card p + p { margin-top: 10px; }

.help-more {
  margin-top: 36px;
  color: var(--muted);
}

.help-more a {
  color: var(--text);
  font-weight: 700;
}

/* Reveal on scroll */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1080px) {
  .hero > .container {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-cta,
  .hero-facts { justify-content: center; }

  .feature {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0;
  }

  .feature:not(.flip) .feature-copy { order: 0; }
  .feature-copy { max-width: 640px; }

  .benefits {
    grid-template-columns: 1fr;
    padding: 44px 32px;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding-top: 40px; }

  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; max-width: 380px; }

  .hero-visual { height: 520px; }
  .hero-visual .phone-c { width: 230px; }
  .hero-visual .phone-l,
  .hero-visual .phone-r { width: 184px; }

  .hero-visual .float-badge {
    top: 5%;
    right: 0;
    width: 112px;
  }

  .hero-visual .glow-cool { width: 520px; height: 520px; }
  .hero-visual .glow-flame { width: 240px; height: 240px; }

  .steps { grid-template-columns: 1fr; }

  .visual {
    min-height: 0;
    padding: 12px 0;
  }

  .visual .phone { width: 60%; }
  .visual .glow { width: 460px; height: 460px; }

  .v-plan,
  .v-progress { min-height: 360px; }

  .stats { gap: 28px; }

  .ticker { height: 300px; }

  .faq summary { font-size: 17px; }

  .cta { padding: 56px 22px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .help-grid { grid-template-columns: 1fr; }

  .contact-card { padding: 26px 22px; }
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .float,
  .ticker-track { animation: none; }

  .btn:hover { transform: none; }
}
