:root {
  --pushbeat-primary: #bb1c46;
  --pushbeat-highlight: #da2052;
  --pushbeat-cyan: #1e8599;
  --pushbeat-green: #61991e;
  --pushbeat-black: #000000;
  --ink: #181316;
  --muted: #6e6267;
  --paper: #fff8f8;
  --card: #ffffff;
  --soft: #f4e7eb;
  --line: #e0cad2;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  --ink: #f8f0f3;
  --muted: #bdb2b6;
  --paper: #090b0a;
  --card: #111512;
  --soft: #21171b;
  --line: #493139;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/barlow-condensed-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/barlow-condensed-800.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  transition: background-color 240ms ease, color 240ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  height: 92px;
  margin: 0 auto;
}

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

.brand img {
  border-radius: 12px;
}

.brand-suffix {
  font-size: 0.64em;
  font-weight: 600;
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.92rem;
  font-weight: 650;
}

nav a:hover,
.footer-links a:hover {
  color: var(--pushbeat-primary);
}

.theme-toggle {
  position: relative;
  width: 58px;
  height: 32px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 220ms ease, border-color 220ms ease;
}

.theme-icon {
  position: absolute;
  top: 3px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  font-size: 0.92rem;
  line-height: 1;
  transition: opacity 180ms ease, transform 220ms ease;
}

.theme-icon-light {
  left: 3px;
  background: #fff;
  color: #bb1c46;
  box-shadow: 0 2px 7px rgba(43, 22, 29, 0.18);
}

.theme-icon-dark {
  right: 3px;
  color: var(--muted);
  opacity: 0.5;
}

:root[data-theme="dark"] .theme-icon-light {
  background: transparent;
  box-shadow: none;
  opacity: 0.45;
}

:root[data-theme="dark"] .theme-icon-dark {
  background: #bb1c46;
  color: #fff;
  box-shadow: 0 2px 9px rgba(187, 28, 70, 0.4);
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  min-height: 820px;
  padding: 130px max(24px, calc((100vw - 1180px) / 2)) 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -210px;
  top: -230px;
  border-radius: 50%;
  background: var(--soft);
  opacity: 0.75;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  color: var(--pushbeat-primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 3px;
  border-radius: 4px;
  background: currentColor;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.93;
  text-transform: uppercase;
}

h1 {
  max-width: 700px;
  font-size: clamp(4.25rem, 7.4vw, 7rem);
}

h1 em,
h2 em {
  color: var(--pushbeat-primary);
  font-style: normal;
}

.hero-lede {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-emphasis {
  position: relative;
  display: inline-block;
  isolation: isolate;
  margin: 0 0.08em;
  padding: 0 0.22em 0.04em;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 0 rgba(83, 5, 26, 0.24);
  animation: hero-emphasis-arrive 640ms 380ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-emphasis::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0.06em -0.08em -0.02em;
  border-radius: 0.18em 0.08em;
  background: linear-gradient(115deg, #a70e37 0%, var(--pushbeat-highlight) 58%, #ef4c78 100%);
  box-shadow: 0 0.24em 0.65em rgba(187, 28, 70, 0.24);
  clip-path: polygon(5% 0, 100% 8%, 95% 100%, 0 90%);
  transform: rotate(-1.5deg);
}

.hero-emphasis::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.06em -0.08em -0.02em;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.5) 48%, transparent 64%);
  background-size: 260% 100%;
  clip-path: polygon(5% 0, 100% 8%, 95% 100%, 0 90%);
  animation: hero-emphasis-sheen 3.8s 1.1s ease-in-out infinite;
}

@keyframes hero-emphasis-arrive {
  from {
    opacity: 0;
    transform: translateY(0.25em) rotate(2deg) scale(0.88);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes hero-emphasis-sheen {
  0%,
  58% {
    background-position: 120% 0;
  }

  82%,
  100% {
    background-position: -120% 0;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: 38px;
}

.android-downloads {
  display: flex;
  flex-direction: column;
  width: 190px;
  gap: 10px;
}

.apk-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.apk-download-label {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apk-download:hover .apk-download-label {
  color: var(--pushbeat-primary);
}

.store-badge {
  position: relative;
  display: flex;
  align-items: center;
  appearance: none;
  font: inherit;
  text-align: left;
  text-decoration: none;
  gap: 11px;
  width: 190px;
  flex-shrink: 0;
  min-height: 58px;
  padding: 8px 15px;
  border: 1px solid #2a2528;
  border-radius: 12px;
  background: var(--ink);
  box-shadow: 0 12px 24px rgba(30, 19, 24, 0.13);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-badge:hover {
  box-shadow: 0 16px 30px rgba(30, 19, 24, 0.2);
  transform: translateY(-2px);
}

.store-badge:active {
  transform: translateY(0);
}

.store-badge > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.store-badge small {
  margin-bottom: 4px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.store-badge strong {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.store-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
}

.apple-icon {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2rem;
  line-height: 0.85;
}

.play-icon {
  clip-path: polygon(10% 0, 100% 50%, 10% 100%);
  background: conic-gradient(from 35deg at 48% 50%, #ffce00 0 25%, #f14b43 0 50%, #2aa4f4 0 75%, #35c76f 0);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  list-style: none;
}

.hero-points li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--pushbeat-green);
  font-weight: 900;
}

.hero-visual {
  --glow-x: 50%;
  --glow-y: 48%;
  position: relative;
  min-height: 720px;
  border-radius: 48%;
  perspective: 820px;
  transition: background 300ms ease;
}

:root[data-theme="dark"] .hero-visual {
  background:
    radial-gradient(ellipse 35% 52% at 52% 46%, rgba(255, 241, 246, 0.15), transparent 72%),
    radial-gradient(ellipse 62% 68% at 52% 48%, rgba(91, 52, 65, 0.24), rgba(40, 25, 31, 0.12) 54%, transparent 78%);
}

:root[data-theme="dark"] .hero-visual .orbit {
  border-color: rgba(235, 157, 180, 0.38);
}

:root[data-theme="dark"] .hero-visual.is-interacting .orbit {
  border-color: rgba(245, 130, 164, 0.68);
  box-shadow: 0 0 70px rgba(218, 32, 82, 0.24);
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(
    ellipse 43% 46% at var(--glow-x) var(--glow-y),
    rgba(196, 24, 74, 0.36) 0,
    rgba(196, 24, 74, 0.22) 34%,
    rgba(196, 24, 74, 0.09) 62%,
    transparent 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.hero-visual.is-interacting::before {
  opacity: 1;
}

.carousel-stage {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --lift: 0px;
  --scale: 1;
  --shadow-x: 0px;
  --shadow-y: 38px;
  --sheen-x: 50%;
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 50%;
  width: 305px;
  height: 663px;
  padding: 0;
  border: 0;
  border-radius: 42px;
  background: #090b0a;
  box-shadow: var(--shadow-x) var(--shadow-y) 92px rgba(67, 24, 38, 0.34);
  cursor: pointer;
  overflow: hidden;
  transform: translateX(-47%) translateY(var(--lift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(3deg) scale(var(--scale));
  transform-style: preserve-3d;
  transform-origin: center;
  transition: transform 140ms ease-out, box-shadow 140ms ease-out;
  will-change: transform;
}

.carousel-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--sheen-x) 18%, rgba(255, 255, 255, 0.2), transparent 36%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.hero-visual.is-interacting .carousel-stage::after {
  opacity: 0.72;
}

.hero-shot {
  display: block;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  object-fit: cover;
  transform-origin: center;
  will-change: opacity, transform;
}

.hero-shot[hidden] {
  display: none;
}

.carousel-stage.is-switching-out .hero-shot.is-active {
  animation: carousel-switch-out 180ms cubic-bezier(0.55, 0.06, 0.68, 0.19) both;
}

.carousel-stage.is-switching-in .hero-shot.is-active {
  animation: carousel-switch-in 340ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes carousel-switch-out {
  to {
    opacity: 0;
    transform: perspective(900px) translate3d(-10%, 0, -90px) rotateY(24deg) scale(0.94);
  }
}

@keyframes carousel-switch-in {
  from {
    opacity: 0;
    transform: perspective(900px) translate3d(12%, 0, -110px) rotateY(-28deg) scale(0.92);
  }

  to {
    opacity: 1;
    transform: perspective(900px) translate3d(0, 0, 0) rotateY(0) scale(1);
  }
}

@keyframes carousel-fade-out {
  to { opacity: 0; }
}

@keyframes carousel-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.carousel-controls {
  position: absolute;
  z-index: 5;
  bottom: -54px;
  left: 50%;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.carousel-controls button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
}

.carousel-controls button.is-active {
  width: 28px;
  border-radius: 6px;
  background: var(--pushbeat-primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
}

.orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 320ms ease, box-shadow 320ms ease;
}

.hero-visual.is-interacting .orbit {
  border-color: rgba(196, 24, 74, 0.52);
  box-shadow: 0 0 64px rgba(196, 24, 74, 0.16);
}

.orbit-one {
  top: 32px;
  left: 1%;
  width: 610px;
  height: 610px;
}

.orbit-two {
  top: 116px;
  left: 15%;
  width: 440px;
  height: 440px;
}

.focus-copy h2 {
  font-size: clamp(3rem, 5.5vw, 5.4rem);
}

.focus-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  min-height: 600px;
  padding: 110px max(24px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.eyebrow.light {
  color: #e66b8c;
}

.focus-copy p:last-child {
  max-width: 650px;
  margin: 30px 0 0;
  color: #bdb3b7;
  font-size: 1.05rem;
  line-height: 1.8;
}

.coach-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  align-self: center;
  margin: 0;
  border-radius: 32px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.coach-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(187, 28, 70, 0.12), rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.coach-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.coach-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.08) brightness(0.78);
}

.feature-section {
  padding: 100px max(24px, calc((100vw - 1180px) / 2));
  background: var(--card);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}

.feature-list article {
  border-top: 1px solid var(--line);
  padding-top: 27px;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 46px;
  place-items: center;
  border-radius: 15px;
  background: var(--soft);
  color: var(--pushbeat-primary);
  font-size: 1.45rem;
  font-weight: 800;
}

.feature-list h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 116px;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
  background: var(--card);
  color: var(--muted);
  font-size: 0.82rem;
}

footer .brand {
  color: var(--ink);
}

:root[data-theme="dark"] .hero::before {
  opacity: 0.35;
}

:root[data-theme="dark"] .store-badge {
  border-color: #3a3034;
  background: #f8f0f3;
  color: #181316;
}

:root[data-theme="dark"] .focus-section {
  background: #050706;
}

.footer-links {
  gap: 20px;
}

.footer-links a[href*="/privacy/"],
.footer-links a[href*="/support/"],
.footer-links a[href*="/terms/"] {
  font-weight: 400;
}

:focus-visible {
  outline: 3px solid var(--pushbeat-cyan);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .hero-copy {
    max-width: 740px;
  }

  .hero-visual {
    margin-top: 45px;
  }

  .carousel-stage {
    left: 50%;
  }

  .focus-section {
    grid-template-columns: 1fr;
  }

  .focus-section {
    padding-top: 90px;
  }

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 32px);
    height: 100px;
  }

  .site-header nav a {
    display: none;
  }

  .site-header .brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    font-size: 0.92rem;
    line-height: 1;
  }

  .site-header .brand > span {
    display: block;
    white-space: nowrap;
  }

  nav {
    gap: 0;
  }

  .hero {
    min-height: auto;
    padding: 138px 20px 70px;
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 5rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-badge {
    width: 190px;
  }

  .hero-points {
    gap: 12px 18px;
  }

  .hero-visual {
    min-height: 680px;
  }

  .carousel-stage {
    top: 18px;
    left: 50%;
    width: 274px;
    height: 596px;
    margin-left: -137px;
    overflow: hidden;
    transform: none;
    transform-style: flat;
    transition: box-shadow 140ms ease-out;
    will-change: auto;
  }

  .carousel-stage:disabled {
    cursor: default;
    opacity: 1;
  }

  .hero-shot {
    border-radius: inherit;
    backface-visibility: visible;
    will-change: auto;
  }

  .carousel-stage.is-switching-out .hero-shot.is-active {
    animation: carousel-fade-out 140ms ease both;
  }

  .carousel-stage.is-switching-in .hero-shot.is-active {
    animation: carousel-fade-in 220ms ease both;
  }
  .orbit-one { width: 500px; height: 500px; left: -80px; }
  .orbit-two { width: 360px; height: 360px; left: -10px; }

  .feature-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .focus-copy h2 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .focus-section {
    min-height: auto;
    padding: 80px 24px 50px;
  }

  .coach-photo {
    aspect-ratio: 4 / 5;
    margin-top: 38px;
    border-radius: 24px;
  }

  .coach-photo img {
    object-position: center;
  }

  .feature-list {
    gap: 50px;
  }

  .feature-icon {
    margin-bottom: 24px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-top: 38px;
    padding-bottom: 38px;
  }
}

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

  .carousel-stage {
    transition: none;
  }

  .carousel-stage::after {
    display: none;
  }

  .carousel-stage.is-switching-out .hero-shot.is-active,
  .carousel-stage.is-switching-in .hero-shot.is-active {
    animation: none;
  }

  .hero-visual::before,
  .hero-visual,
  .orbit {
    transition: none;
  }

  .hero-emphasis,
  .hero-emphasis::after {
    animation: none;
  }
}
