/* heatxr.com home (2026-10-27): the store cards' look (Barlow Condensed caps, navy, orange and blue) with FitXR's
   pattern (full-bleed hero, the store button everywhere, big section titles over real footage). Flat: no borders or
   shadows; the only gradient is the hero's shade, there to keep the headline readable over the video. Fonts are ours
   (OFL, fonts/OFL.txt, fonts/OFL-Barlow.txt): the page loads nothing from other servers. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-400.woff) format("woff"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-600.woff) format("woff"); }
@font-face { font-family: Inter; font-weight: 700 900; font-display: swap; src: url(fonts/inter-700.woff) format("woff"); }
@font-face { font-family: Barlow; font-weight: 800; font-display: swap; src: url(fonts/BarlowCondensed-800.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-weight: 900; font-display: swap; src: url(fonts/BarlowCondensed-900.woff2) format("woff2"); }

:root {
  --bg: #060912;
  --alt: #0a1020;
  --raise: #111a2e;
  --ink: #f4f7fb;
  --ink-2: #b7c1d4;
  --ink-3: #7a86a0;
  --orange: #ff9326;
  --blue: #3d9cff;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --r: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: hidden;
  font: 400 18px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; color: var(--ink-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 880px; }

/* Type: condensed caps for every title, as on the store cards */
.mega, .big, .mid, h3, .facts b, .eyebrow, .pill {
  font-family: Barlow, "Arial Narrow", Inter, sans-serif; text-transform: uppercase;
}
.mega { font-weight: 900; font-size: clamp(64px, 11vw, 168px); line-height: .86; letter-spacing: -.01em; }
.big { font-weight: 900; font-size: clamp(44px, 6.4vw, 92px); line-height: .92; }
.mid { font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1; margin-bottom: 14px; }
h3 { font-weight: 800; font-size: 26px; line-height: 1.05; letter-spacing: .01em; }
em { font-style: normal; color: var(--orange); }
.eyebrow { font-weight: 800; font-size: 17px; letter-spacing: .14em; color: var(--orange); margin-bottom: 16px; }
.sub { font-size: clamp(18px, 1.6vw, 21px); margin-top: 20px; max-width: 640px; }

/* Buttons */
.pill {
  display: inline-block; padding: 17px 34px 16px; border-radius: 999px; background: var(--orange); color: #0b0d12;
  font-weight: 800; font-size: 21px; letter-spacing: .06em; text-decoration: none; transition: background .15s;
}
.pill:hover { background: var(--ink); }
.pill.small { padding: 9px 20px 8px; font-size: 17px; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 10; background: rgba(6, 9, 18, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand img { height: 24px; width: auto; }
.top nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 600; }
.top nav a { color: var(--ink-2); text-decoration: none; }
.top nav a:hover { color: var(--ink); }

/* Hero: the workout itself, full bleed */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,9,18,.86) 0%, rgba(6,9,18,.55) 45%, rgba(6,9,18,0) 75%),
  linear-gradient(0deg, var(--bg) 0%, rgba(6,9,18,0) 35%); }
.hero .wrap { position: relative; width: 100%; padding-top: 140px; padding-bottom: clamp(56px, 9vh, 110px); }
.hero .lede { font-size: clamp(19px, 1.8vw, 23px); color: var(--ink); max-width: 560px; margin-top: 28px; }
.hero .lede strong { font-weight: 700; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.price { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.stars { color: var(--orange); letter-spacing: .1em; }
.cta.center { justify-content: center; flex-direction: column; margin-top: 48px; text-align: center; }

/* Numbers band */
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.facts .wrap > div { background: var(--raise); border-radius: var(--r); padding: 26px 28px; }
.facts b { display: block; font-weight: 900; font-size: clamp(44px, 5vw, 64px); line-height: .9; color: var(--ink); }
.facts span { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-2); }

/* Sections */
.block { padding: clamp(80px, 11vw, 150px) 0; }
.block.alt { background: var(--alt); }
.head { margin-bottom: clamp(36px, 5vw, 64px); }
.head.center { text-align: center; }
.head.center .mark { height: 44px; width: auto; margin: 0 auto 28px; }
.clip { margin: 8px 0 0; }
.clip video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: var(--raise); }
.note { margin-top: 20px; font-size: 15px; color: var(--ink-3); }

/* Moves */
.moves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.move { position: relative; background: var(--raise); border-radius: var(--r); min-height: 220px; overflow: hidden;
  display: flex; justify-content: space-between; padding: 26px 0 0 28px; }
.move > div { position: relative; z-index: 1; }
.move p { font-size: 15px; margin-top: 4px; }
.move img { width: 54%; align-self: center; object-fit: contain; margin-right: 4%; }
.move.photo { padding: 0; }
.move.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.move.photo > div { padding: 26px 28px; }
.move.photo::before { content: ""; position: absolute; inset: 0 0 45% 0; z-index: 1; background: linear-gradient(180deg, rgba(6,9,18,.7), rgba(6,9,18,0)); }
.move.photo p { color: var(--ink); }

/* Music steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.steps article { background: var(--raise); border-radius: var(--r); padding: 30px 30px 34px; }
.steps .n { display: block; font-family: Barlow, sans-serif; font-weight: 900; font-size: 22px; color: var(--orange); margin-bottom: 10px; }
.steps p { margin-top: 10px; font-size: 16px; }

/* Workouts rail */
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px;
  scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 1240px) { .rail { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); scroll-padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.mode { position: relative; flex: 0 0 clamp(220px, 24vw, 290px); aspect-ratio: 2 / 3; border-radius: var(--r); overflow: hidden;
  scroll-snap-align: start; background: var(--raise); }
.mode img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mode div { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 22px;
  background: linear-gradient(0deg, rgba(6,9,18,.9), rgba(6,9,18,0)); }
.mode h3 { font-size: 32px; }
.mode h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--c); margin-bottom: 12px; }
.mode p { font-size: 14px; color: var(--ink); margin-top: 4px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: clamp(48px, 6vw, 80px); }
.pair article { background: var(--raise); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); }

/* Worlds */
.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.worlds figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--raise); }
.worlds img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.worlds figure:hover img { transform: scale(1.04); }
.worlds figcaption { position: absolute; left: 18px; bottom: 14px; font-family: Barlow, sans-serif; font-weight: 800;
  font-size: 22px; letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0,0,0,.6); }

/* Pay once */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tiles article { background: var(--raise); border-radius: var(--r); padding: 30px 28px 34px; }
.tiles h3 { margin-bottom: 10px; }
.tiles article:nth-child(odd) h3 { color: var(--orange); }
.tiles article:nth-child(even) h3 { color: var(--blue); }
.tiles p { font-size: 16px; }

/* FAQ */
details { background: var(--raise); border-radius: var(--r); padding: 0 28px; margin-bottom: 8px; }
summary { cursor: pointer; list-style: none; padding: 24px 32px 24px 0; position: relative; font-weight: 600; font-size: 19px; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 18px; font-size: 28px; font-weight: 400; color: var(--orange); }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 26px; font-size: 17px; }
details a { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 3px; }

/* Footer */
footer { padding: 48px 0 64px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
footer img { height: 20px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-left: auto; }
footer a { text-decoration: none; color: var(--ink-2); }
footer a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .top nav { display: none; }
  .brand { margin-right: auto; }
  .moves, .worlds { grid-template-columns: 1fr 1fr; }
  .steps, .pair { grid-template-columns: 1fr; }
  .tiles, .facts .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .top .wrap { height: 60px; }
  .brand img { height: 20px; }
  .hero { min-height: 92svh; }
  .hero .shade { background: linear-gradient(0deg, var(--bg) 8%, rgba(6,9,18,.7) 55%, rgba(6,9,18,.25) 100%); }
  .moves { grid-template-columns: 1fr 1fr; gap: 6px; }
  .move { flex-direction: column; min-height: 200px; padding: 18px 18px 14px; }
  .move h3 { font-size: 21px; }
  .move p { font-size: 13px; }
  .move:not(.photo) img { width: auto; max-width: 70%; height: 120px; align-self: flex-end; margin: 10px 0 0; }
  .move.photo > div { padding: 18px; }
  .worlds { grid-template-columns: 1fr 1fr; gap: 6px; }
  .worlds figcaption { font-size: 16px; left: 12px; bottom: 10px; }
  .facts .wrap > div { padding: 20px; }
  .pill { font-size: 19px; padding: 15px 28px 14px; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .worlds img { transition: none; } }
