:root {
  color-scheme: dark;
  /* design tokens: typography and buttons (mobile values in the 600px block at the end) */
  --fs-body: 16px;
  --lh-body: 26px;
  --btn-h: 60px;
  --btn-fs: 16px;
  --background: #000;
  --card: #090909;
  --gold: #e9d19c;
  --gold-light: #f4e7ba;
  --muted: #9d9d9d;
  --content-width: 1200px;
  --page-pad: clamp(24px, 12.5vw, 180px);
  --radius: 24px;
  --font-display: "Noto Serif", Georgia, serif;
  --font-body: Inter, Arial, sans-serif;
  --font-logo: Cinzel, "Noto Serif", Georgia, serif;
  --text-80: rgba(255, 255, 255, .8);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: #fff; font-family: var(--font-body); }
img { max-width: 100%; display: block; }
button, a { font: inherit; }
a { color: inherit; }
.container { width: calc(100% - 2 * var(--page-pad)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 10; padding: 12px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }
h2 { color: var(--gold); text-transform: uppercase; }
p { line-height: 1.65; }
.button, .brand__subtitle { font-family: var(--font-body); }
.ornament { width: 204px; height: 30px; object-fit: contain; margin-inline: auto; }
.section-heading { text-align: center; margin-bottom: 64px; }
.section-heading h2 { font-size: 30px; line-height: 1.25; letter-spacing: 7.2px; margin: 20px 0; }
.section-heading p { color: var(--muted); font-size: 16px; line-height: 26px; }
.button { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; min-height: 60px; align-items: center; justify-content: center; margin: 3px; padding: 12px 36px; border: 3px solid #0b0b0b; border-radius: 18px; text-decoration: none; font-size: 16px; line-height: 24px; font-weight: 600; cursor: pointer; }
.button--gold { color: #000; background: linear-gradient(125deg, #c9af71, #ffe9b6 47%, #c9af71); box-shadow: 0 0 0 3px #c8ae71; }
.button--gold::after { content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: 0; width: 38%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75) 50%, transparent); transform: translateX(-160%) skewX(-20deg); animation: button-shine 2s ease-in-out infinite; pointer-events: none; }
.button:disabled { cursor: not-allowed; }
.button:focus-visible, a:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
@keyframes button-shine { 0%, 65% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(380%) skewX(-20deg); } }

.hero { min-height: 560px; height: 100vh; height: 100svh; display: grid; place-items: center; background: linear-gradient(#0005, #0005), url("/fitness-rpg-assets/hero-source-4.webp") center / cover no-repeat; text-align: center; }
.hero__content { display: flex; flex-direction: column; align-items: center; }
.brand { display: flex; flex-direction: column; align-items: center; color: #f5f1d6; margin-bottom: 48px; }
.brand__name { font-family: var(--font-logo); font-size: 30.8px; font-weight: 700; letter-spacing: 3.5px; }
.brand__subtitle { font-size: 8px; font-weight: 500; letter-spacing: 5.6px; }
.hero h1 { max-width: 720px; margin-bottom: 12px; font-size: 45px; line-height: 49px; font-weight: 600; letter-spacing: 4px; color: #fff; text-transform: uppercase; }
.hero p { max-width: 600px; font-size: 18px; line-height: 28px; }
.hero .button { margin-top: 20px; }
.hero__content { position: relative; isolation: isolate; }
.hero__content::before { content: ""; position: absolute; z-index: -1; top: -40px; bottom: -40px; left: 50%; width: min(980px, 100vw); transform: translateX(-50%); background: radial-gradient(ellipse 50% 50% at 50% 52%, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, .34) 50%, rgba(0, 0, 0, 0) 100%); pointer-events: none; }
.hero h1, .hero p { text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.hero__medal { display: none; }
.menu-btn, .menu-panel { display: none; }
.br-d { display: none; }
@media (min-width: 901px) {
  .hero-wrap { --wrap-h: clamp(900px, 100svh, 1100px); position: relative; height: var(--wrap-h); background: #000; }
  .hero { height: 77%; min-height: 0; padding: calc(var(--wrap-h) * .117 - 3px) 0 0; place-items: start center; background: linear-gradient(rgba(0, 0, 0, .28), rgba(0, 0, 0, .28)), url("/fitness-rpg-assets/hero-source-4.webp") 56.2% 50% / 136.8% auto no-repeat; }
  .hero .brand { margin-bottom: 60px; }
  .hero .brand { transform: translateX(8px); }
  .hero .brand img { width: 30px; height: auto; }
  .hero .brand__name { letter-spacing: 4.1px; }
  .hero .brand__subtitle { display: inline-flex; align-items: center; gap: 8px; letter-spacing: 5.4px; }
  .hero .brand__subtitle::before, .hero .brand__subtitle::after { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .8; }
  .hero h1 { margin-bottom: 6px; }
  .hero p { max-width: 640px; margin-bottom: 0; }
  .hero .button { margin-top: 33px; min-height: 48px; padding: 9px 36px; font-size: 14px; }
  .br-d { display: inline; }
  .hero__medal { position: absolute; z-index: 2; left: 50%; --mw: clamp(230px, calc(var(--wrap-h) * 1.073 - 730px), 281px); top: calc(77% - var(--mw) * .7225); display: flex; flex-direction: column; align-items: center; width: var(--mw); margin: 0; transform: translateX(-50%); text-align: center; }
  .hero__medal img { width: var(--mw); height: auto; }
  .hero__medal figcaption { max-width: 230px; margin-top: calc(var(--mw) * -.139); font-family: var(--font-body); font-size: 22px; line-height: 29px; font-weight: 600; color: #fff; }
  .hero__medal p { margin: 8px 0 0; font-family: var(--font-body); font-size: 18px; line-height: 24px; color: var(--text-80); }
}

.intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding-block: 160px 100px; }
.intro__copy { max-width: 550px; }
.intro__copy .ornament { margin-left: 0; }
.intro h2 { font-size: 30px; line-height: 1.25; font-weight: 400; letter-spacing: 7.2px; }
.intro p { color: var(--muted); font-size: 16px; line-height: 26px; letter-spacing: .6px; }
.intro__image { width: 100%; max-height: 820px; object-fit: contain; }

.journey { padding-block: 80px 120px; }
.journey__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding: 0; list-style: none; counter-reset: step; }
.journey__steps li { counter-increment: step; position: relative; padding-top: 50px; border-top: 1px solid var(--gold); }
.journey__steps li::before { content: counter(step); position: absolute; top: -19px; left: 0; width: 36px; height: 36px; display: grid; place-items: center; color: #000; background: var(--gold); transform: rotate(45deg); font-weight: 700; }
.journey__steps h3 { color: var(--gold); font-size: 20px; line-height: 28px; overflow-wrap: anywhere; font-weight: 400; text-transform: uppercase; }
.journey__steps p { color: var(--muted); font-size: 14px; line-height: 22px; }

.features { display: grid; gap: 32px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; min-height: 580px; }
.feature--reverse .feature__copy { order: 2; }
.feature--reverse > img, .feature--reverse > video { order: 1; }
.feature__copy { padding: 55px; background: var(--card); border: 1px solid #ffffff1a; border-radius: var(--radius); }
.feature__copy h2 { font-size: 30px; line-height: 34px; font-weight: 600; letter-spacing: 4px; }
.feature__copy p { color: var(--text-80); font-size: 16px; line-height: 28px; font-weight: 500; }
.feature > img, .feature > video { width: 100%; height: 580px; object-fit: cover; border-radius: var(--radius); background: #050505; }


.benefits { padding-block: 80px; }
.benefits__grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 75px; }
.benefits__grid article { display: flex; align-items: flex-start; gap: 20px; padding-block: 28px; border-bottom: 1px solid #ffffff24; }
.benefits__grid article > img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.benefits__grid article > div { min-width: 0; }
.benefits h3 { max-width: 15em; margin-bottom: 8px; color: var(--gold); text-transform: uppercase; text-wrap: balance; font-size: 24px; line-height: 32px; font-weight: 400; }
.benefits__grid p { max-width: 400px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 26px; }

.community { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; padding-block: 110px; }
.community > img { width: 100%; }
.community h2 { color: var(--gold); font-size: 30px; line-height: 1.25; font-weight: 400; letter-spacing: 7.2px; }
.community p { color: var(--muted); font-size: 16px; line-height: 26px; }

.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 50px; align-items: center; margin-block: 80px 120px; padding: 4px 64px 64px; background: radial-gradient(ellipse at 50% 0, #e9d19c14, transparent 60%), var(--card); border: 1px solid #e9d19c8c; border-radius: var(--radius); box-shadow: 0 0 0 1px #e9d19c1f, 0 0 48px #e9d19c2e, inset 0 0 60px #e9d19c14; }
.offer h2 { font-size: 30px; line-height: 1.25; font-weight: 400; letter-spacing: 5.6px; }
.offer ul { padding: 0; list-style: none; }
.offer li { padding: 10px 0 10px 36px; position: relative; font-size: 16px; line-height: 1.5; }
.offer li::before { content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; background: url("/fitness-rpg-assets/check.svg") center / contain no-repeat; }
.offer__visual { position: relative; container-type: inline-size; width: 100%; max-width: 640px; justify-self: center; }
.offer__visual img { display: block; width: 100%; height: auto; }
.offer__visual .pill { position: absolute; transform: translate(-50%, -50%); padding: .62em 1.7em; border-radius: 999px; background: #fff; color: #000; font-family: var(--font-body); font-size: clamp(11px, 2.6cqw, 19px); font-weight: 700; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; box-shadow: 0 4px 18px #0006; }
.pill--cards { left: 54%; top: 22.6%; }
.pill--medal { left: 80.4%; top: 54.7%; }
.pill--game { left: 18.2%; top: 76.7%; }
.offer__visual .plus { position: absolute; left: 53%; top: 54.7%; width: 9%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.plus::before, .plus::after { content: ""; position: absolute; background: #fff; border-radius: 2px; }
.plus::before { left: 0; right: 0; top: 50%; height: 6%; min-height: 3px; transform: translateY(-50%); }
.plus::after { top: 0; bottom: 0; left: 50%; width: 6%; min-width: 3px; transform: translateX(-50%); }
/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; padding-block: 80px 120px; }
.faq__kicker { margin: 0 0 12px; color: var(--muted); font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: .2em; }
.faq h2 { margin: 0 0 16px; font-size: 30px; line-height: 1.25; letter-spacing: 7.2px; }
.faq__intro > p { color: var(--muted); font-size: 16px; line-height: 26px; }
.faq__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; color: #fff; font-weight: 600; }
.button--outline { min-height: 44px; padding: 8px 24px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-size: 14px; background: transparent; box-shadow: none; transition: background .2s, color .2s; }
.button--outline:hover { background: var(--gold); color: #000; }
.faq__list { border-top: 1px solid #ffffff3d; }
.faq details { border-bottom: 1px solid #ffffff24; }
.faq summary { position: relative; display: block; padding: 22px 48px 22px 0; cursor: pointer; list-style: none; color: #fff; font-family: var(--font-body); font-size: 16px; line-height: 24px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 24px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.faq details p { margin: 0 0 24px; padding-right: 48px; color: var(--muted); font-size: 16px; line-height: 26px; }

/* Footer */
.site-footer { border-top: 1px solid #ffffff1f; background: #000; padding-block: 64px 48px; }
.site-footer__columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.site-footer h3 { margin: 0 0 6px; color: var(--gold); font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.site-footer h3 a { color: var(--gold); text-decoration: none; }
.site-footer a { color: var(--muted); font-family: var(--font-body); font-size: 15px; line-height: 22px; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.site-footer__legal { margin-top: 56px; padding-top: 32px; border-top: 1px solid #ffffff1f; text-align: center; }
.site-footer__legal p { max-width: 860px; margin: 0 auto 10px; color: #ffffff80; font-size: 13px; line-height: 20px; }
.offer__button { grid-column: 1 / -1; justify-self: center; }

@media (max-width: 900px) {
  .hero-wrap { background: #000; }
  .hero__medal { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 100%; margin: -70px 0 0; padding-bottom: 48px; text-align: center; }
  .hero__medal img { width: clamp(190px, 52vw, 250px); height: auto; }
  .hero__medal figcaption { margin-top: -22px; font-family: var(--font-body); font-size: 20px; line-height: 28px; font-weight: 600; color: #fff; }
  .hero__medal p { margin: 6px 0 0; font-family: var(--font-body); font-size: 16px; line-height: 24px; color: var(--text-80); }
  .intro, .feature, .community, .offer { grid-template-columns: 1fr; }
  .intro { padding-block: 100px 70px; }
  .journey__steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .feature--reverse .feature__copy, .feature--reverse > img, .feature--reverse > video { order: initial; }
  .feature > img { height: auto; aspect-ratio: 1.15; }
  .feature > video { height: auto; aspect-ratio: 4 / 3; }
  .benefits__grid { gap: 0 32px; }
  .faq { grid-template-columns: 1fr; gap: 40px; padding-block: 60px 90px; }
  .site-footer__columns { grid-template-columns: 1fr; gap: 32px; }
  .community { gap: 40px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .hero { display: block; height: auto; min-height: 0; padding: 12px 0 28px; background: #000; text-align: center; }
  .hero__content { position: relative; }
  .hero__content::before { content: ""; position: absolute; z-index: 0; top: 78px; bottom: auto; left: 0; right: 0; width: auto; transform: none; height: 320px; border-radius: 18px; background: linear-gradient(to bottom, transparent 62%, #000 100%), url("/fitness-rpg-assets/hero-source-4.webp") 38% center / cover no-repeat; }
  .hero__bar { position: relative; z-index: 2; display: flex; width: 100%; align-items: center; justify-content: space-between; height: 66px; margin-bottom: 326px; }
  .hero__bar .brand { margin: 0; }
  .hero__content > h1, .hero__content > p, .hero__content > .button { position: relative; z-index: 1; }
  .hero .brand__name { font-size: 24px; }
  .menu-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 46px; height: 46px; border: 1px solid #ffffff2e; border-radius: 14px; background: #000; cursor: pointer; }
  .menu-btn span { display: block; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }
  .menu-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
  .menu-panel:not([hidden]) { position: absolute; z-index: 5; top: 60px; right: 0; display: flex; flex-direction: column; min-width: 220px; padding: 8px; border: 1px solid #ffffff2e; border-radius: 14px; background: #0a0a0a; text-align: left; }
  .menu-panel a { padding: 12px 14px; color: #fff; font-size: 16px; text-decoration: none; border-radius: 8px; }
  .menu-panel a:hover { color: var(--gold); background: #ffffff12; }
  .hero__medal { margin: 0; padding-bottom: 40px; }
  .hero h1 { font-size: 27px; line-height: 36px; letter-spacing: 0; color: #f5f1d6; }
  .hero p { font-size: 16px; line-height: 26px; color: var(--text-80); }
  .button { font-size: 16px; }
  .section-heading h2, .intro h2, .offer h2 { font-size: 24px; line-height: 34px; font-weight: 500; letter-spacing: 0; }
  .brand__name { font-size: 28px; letter-spacing: 0; }
  .brand__subtitle { letter-spacing: 0; }
  .journey__steps p, .benefits p { line-height: 26px; }
  .feature__copy p { font-weight: 400; line-height: 26px; }

  .intro { padding-block: 80px 40px; }
  .intro p { font-size: 16px; line-height: 26px; letter-spacing: 0; color: var(--text-80); }
  .journey { padding-block: 60px 80px; }
  .journey__steps, .benefits__grid { grid-template-columns: 1fr; }
  .journey__steps { gap: 0; }
  .journey__steps li { min-height: 76px; padding: 4px 0 28px 58px; border-top: 0; }
  .journey__steps li:last-child { padding-bottom: 0; }
  .journey__steps li::before { top: 0; width: 38px; height: 38px; transform: none; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); font-size: 15px; }
  .journey__steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; bottom: 6px; left: 18.5px; width: 1px; background: linear-gradient(var(--gold), #e9d19c40); }
  .journey__steps h3 { margin: 0 0 6px; font-size: 17px; line-height: 24px; letter-spacing: .04em; }
  .journey__steps p { margin: 0; font-size: 14px; line-height: 21px; }
  .feature { min-height: 0; gap: 16px; }
  .feature__copy { padding: 30px; }
  .feature__copy h2 { font-size: 24px; line-height: 34px; font-weight: 500; letter-spacing: 0; }
  .feature > img { aspect-ratio: 1; }
  .feature > video { aspect-ratio: 4 / 3; object-position: center !important; }
  .benefits { padding-block: 50px; }
  .community { padding-block: 70px; }
  .community h2 { font-size: 24px; line-height: 34px; font-weight: 500; letter-spacing: 0; }
  .community p { font-size: 16px; }
  .benefits h3 { font-size: 20px; line-height: 28px; }
  .offer { gap: 24px; margin-block: 40px 80px; padding: 28px 20px; }
}

/* Mobile design system: larger body text and full-width buttons */
@media (max-width: 600px) {
  :root { --fs-body: 18px; --lh-body: 28px; --btn-h: 56px; --btn-fs: 18px; }
  .hero p, .intro p, .journey__steps p, .feature__copy p, .benefits p, .community p, .offer li, .faq__intro > p, .faq details p, .site-footer a { font-size: var(--fs-body); line-height: var(--lh-body); }
  .benefits__grid p { font-size: var(--fs-body); line-height: var(--lh-body); }
  .faq summary { font-size: var(--fs-body); line-height: 26px; }
  .journey__steps h3, .benefits h3 { font-size: 20px; line-height: 28px; }
  .site-footer__legal p { font-size: 14px; line-height: 22px; }
  .button { width: calc(100% - 6px); max-width: 420px; min-height: var(--btn-h); padding: 12px 20px; border-radius: 8px; font-size: var(--btn-fs); line-height: 24px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
  .hero__content > .button { align-self: center; }
  .button--outline { width: auto; max-width: none; min-height: 48px; font-size: 16px; }
  .faq__contact { flex-direction: column; align-items: stretch; }
  .faq__contact .button--outline { width: calc(100% - 6px); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button--gold::after { animation: none; display: none; } }

.offer__lead { margin: 0 0 12px; color: var(--gold); font-size: 18px; line-height: 28px; }
.offer__note { grid-column: 1 / -1; margin: 0; text-align: center; color: var(--muted); font-size: 14px; line-height: 22px; }
.offer__visual > img { mix-blend-mode: lighten; }

.offer__trust { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.offer__trust li { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-body); font-size: 14px; line-height: 20px; font-weight: 500; }
.offer__trust svg { flex: none; height: 20px; width: auto; }
@media (max-width: 600px) { .offer__trust { flex-direction: column; align-items: center; gap: 8px; } .offer__trust li { font-size: 14px; } }
.offer .offer__trust li { padding: 0; }
.offer .offer__trust li::before { content: none; }
@media (min-width: 901px) { .offer__button { margin-top: 0; } .offer__trust { margin-top: 16px; } .offer__note { margin-top: 12px; } }
@media (min-width: 901px) { .offer > div:first-child { padding-top: 48px; } }
.offer { scroll-margin-top: 24px; }
