:root {
  --ink: #11120f;
  --ink-soft: #22241f;
  --cream: #f5f2e9;
  --paper: #fffefa;
  --lime: #d9ff43;
  --lime-dark: #bde524;
  --coral: #ff765f;
  --purple: #8a6cff;
  --blue: #7cc8ff;
  --muted: #696c65;
  --line: rgba(17, 18, 15, 0.13);
  --shadow: 0 24px 70px rgba(35, 38, 28, 0.13);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--ink) var(--cream);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

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

button {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
  scroll-margin-top: 82px;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition:
    background-color 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease,
    backdrop-filter 250ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(255, 254, 250, 0.9);
  box-shadow: 0 10px 38px rgba(31, 32, 27, 0.08);
  backdrop-filter: blur(16px);
}

.navbar {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.28rem;
  font-weight: 850;
  letter-spacing: -0.055em;
}

.brand > span:last-child > span {
  color: #6d7f00;
}

.brand-icon {
  display: flex;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--ink);
}

.brand-icon i {
  display: block;
  width: 3px;
  border-radius: 10px;
  background: var(--lime);
}

.brand-icon i:nth-child(1) {
  height: 10px;
}

.brand-icon i:nth-child(2) {
  height: 19px;
}

.brand-icon i:nth-child(3) {
  height: 14px;
}

.nav-menu {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  position: relative;
  display: block;
  padding: 11px 14px;
  color: #5e615a;
  font-size: 0.88rem;
  font-weight: 650;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--ink);
}

.nav-link:hover {
  transform: translateY(-2px);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  font-size: 0.84rem;
  font-weight: 750;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.nav-button:hover {
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding-top: 150px;
  padding-bottom: 0;
  background:
    linear-gradient(rgba(17, 18, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 15, 0.035) 1px, transparent 1px),
    var(--cream);
  background-size: 44px 44px;
}

.hero::before {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: rgba(217, 255, 67, 0.42);
  content: "";
  filter: blur(1px);
  inset: -260px -280px auto auto;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.shape-one {
  width: 180px;
  height: 180px;
  border: 32px solid rgba(138, 108, 255, 0.2);
  inset: 24% auto auto -85px;
}

.shape-two {
  right: 38%;
  bottom: 4%;
  width: 90px;
  height: 90px;
  background: rgba(255, 118, 95, 0.28);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 670px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: 70px;
}

.hero-content {
  padding-bottom: 54px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 6px 13px 6px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  gap: 10px;
  background: rgba(255, 254, 250, 0.8);
  color: #555850;
  font-size: 0.76rem;
  font-weight: 700;
}

.eyebrow span {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: -0.06em;
}

h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 6.5vw, 6.7rem);
  font-weight: 850;
}

h1 em {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-style: normal;
}

h1 em::after {
  position: absolute;
  z-index: -1;
  right: -8px;
  bottom: 2px;
  left: -8px;
  height: 0.34em;
  border-radius: 6px;
  background: var(--lime);
  content: "";
  transform: rotate(-1deg);
}

.hero-description {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  margin-bottom: 42px;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 750;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-dark {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(17, 18, 15, 0.17);
}

.button-dark:hover {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 18px 36px rgba(133, 160, 22, 0.22);
}

.button-play {
  border-color: var(--line);
  background: rgba(255, 254, 250, 0.64);
}

.button-play:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.play-icon {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--coral);
  font-size: 0.65rem;
}

.button-lime {
  color: var(--ink);
  background: var(--lime);
}

.button-lime:hover {
  background: #e4ff75;
  box-shadow: 0 15px 32px rgba(217, 255, 67, 0.2);
}

.button-outline {
  border-color: rgba(17, 18, 15, 0.28);
  background: transparent;
}

.button-outline:hover {
  color: #fff;
  background: var(--ink);
}

.button:focus-visible,
.nav-link:focus-visible,
.nav-button:focus-visible,
.menu-toggle:focus-visible,
.workout-tab:focus-visible,
.billing-toggle button:focus-visible,
.faq-item button:focus-visible,
.modal-close:focus-visible,
.store-buttons a:focus-visible,
.back-to-top:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-stack {
  display: flex;
  padding-left: 9px;
}

.avatar-stack span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-left: -9px;
  border: 3px solid var(--cream);
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
}

.avatar-stack span:nth-child(2) {
  color: var(--ink);
  background: var(--purple);
}

.avatar-stack span:nth-child(3) {
  color: var(--ink);
  background: var(--coral);
}

.avatar-stack span:nth-child(4) {
  color: var(--ink);
  background: var(--lime);
}

.stars {
  color: #ff8b38;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.hero-proof p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 640px;
  place-items: center;
}

.hero-visual::before {
  position: absolute;
  width: 490px;
  height: 490px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 32px rgba(255, 255, 255, 0.16);
  content: "";
}

.phone {
  position: relative;
  z-index: 2;
  width: 330px;
  height: 632px;
  padding: 10px;
  border: 3px solid #171914;
  border-radius: 50px;
  background: #10110f;
  box-shadow:
    0 45px 80px rgba(17, 18, 15, 0.24),
    inset 0 0 0 2px #565951;
  transform: rotate(4deg);
  transition: transform 350ms ease;
}

.hero-visual:hover .phone {
  transform: rotate(1deg) translateY(-5px);
}

.phone-speaker {
  position: absolute;
  z-index: 4;
  top: 17px;
  left: 50%;
  width: 83px;
  height: 23px;
  border-radius: 999px;
  background: #0c0d0b;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 31px 17px 15px;
  border-radius: 40px;
  background: #f8f7f2;
}

.app-topbar {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  justify-content: space-between;
}

.app-topbar small,
.activity-copy > span,
.next-workout small {
  display: block;
  color: #8c9087;
  font-size: 0.49rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.app-topbar strong {
  display: block;
  margin-top: 4px;
  font-size: 0.84rem;
}

.profile-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  place-items: center;
  background: var(--purple);
  font-size: 0.72rem;
  font-weight: 850;
}

.activity-card {
  display: grid;
  min-height: 180px;
  padding: 18px;
  border-radius: 24px;
  align-items: center;
  grid-template-columns: 1fr 0.9fr;
  color: #fff;
  background: var(--ink);
}

.ring {
  position: relative;
  display: grid;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  place-items: center;
  background: conic-gradient(var(--lime) 0 72%, #343630 72% 100%);
}

.ring::before {
  position: absolute;
  width: 93px;
  height: 93px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.ring-center {
  z-index: 1;
  text-align: center;
}

.ring-center strong {
  display: block;
  font-size: 1.65rem;
  letter-spacing: -0.07em;
}

.ring-center small {
  display: block;
  color: #9fa39a;
  font-size: 0.52rem;
}

.activity-copy strong {
  display: block;
  margin-top: 10px;
  font-size: 1.8rem;
  letter-spacing: -0.06em;
}

.activity-copy strong small {
  font-size: 0.65rem;
}

.activity-copy p {
  margin: 0;
  color: #a8aca3;
  font-size: 0.66rem;
}

.app-stats {
  display: grid;
  margin: 10px 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.app-stats article {
  padding: 10px;
  border: 1px solid rgba(17, 18, 15, 0.08);
  border-radius: 15px;
  background: #fff;
  text-align: center;
}

.app-stats article span {
  display: block;
  color: var(--coral);
  font-size: 0.65rem;
}

.app-stats article strong {
  display: block;
  font-size: 0.86rem;
}

.app-stats article small {
  display: block;
  color: #8a8e85;
  font-size: 0.45rem;
}

.next-workout {
  display: grid;
  padding: 11px;
  border-radius: 17px;
  align-items: center;
  grid-template-columns: 48px 1fr 34px;
  gap: 9px;
  background: #ecebdc;
}

.workout-art {
  position: relative;
  height: 48px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--coral);
}

.workout-art span {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 8px solid var(--ink);
  border-radius: 50%;
  inset: 8px auto auto 9px;
}

.next-workout strong {
  display: block;
  font-size: 0.68rem;
}

.next-workout p {
  margin: 1px 0 0;
  color: #7d8079;
  font-size: 0.52rem;
}

.next-workout button {
  display: grid;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-size: 0.57rem;
  cursor: pointer;
}

.app-nav {
  position: absolute;
  right: 17px;
  bottom: 12px;
  left: 17px;
  display: flex;
  height: 43px;
  border-radius: 16px;
  align-items: center;
  justify-content: space-around;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.app-nav span {
  color: #afb2ab;
  font-size: 0.8rem;
}

.app-nav .selected {
  color: var(--ink);
}

.floating-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  padding: 13px 16px;
  border: 1px solid rgba(17, 18, 15, 0.12);
  border-radius: 17px;
  align-items: center;
  gap: 10px;
  background: rgba(255, 254, 250, 0.94);
  box-shadow: var(--shadow);
  animation: badgeFloat 4s ease-in-out infinite;
}

.floating-badge strong,
.floating-badge small {
  display: block;
}

.floating-badge small {
  color: var(--muted);
  font-size: 0.57rem;
}

.badge-fire {
  top: 13%;
  left: -5%;
}

.badge-fire > span {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  font-weight: 850;
}

.badge-goal {
  right: -9%;
  bottom: 16%;
  animation-delay: -2s;
}

.goal-check {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  place-items: center;
  background: var(--lime);
  font-weight: 900;
}

.hero-metrics {
  position: relative;
  z-index: 3;
  display: grid;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.hero-metrics div {
  padding: 0 30px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.hero-metrics div:first-child {
  padding-left: 0;
}

.hero-metrics div:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.72rem;
}

.section-heading {
  display: grid;
  margin-bottom: 64px;
  align-items: end;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.section-label {
  margin-bottom: 13px;
  color: #697600;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.section-heading h2,
.workout-heading h2,
.results-copy h2,
.testimonial-heading h2,
.pricing-heading h2,
.faq-heading h2,
.download-content h2,
.modal-card h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5.4vw, 5.1rem);
  font-weight: 850;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1rem;
}

.features {
  background: var(--paper);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.feature-wide {
  display: grid;
  min-height: 500px;
  grid-column: span 2;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.feature-copy {
  align-self: center;
}

.feature-number {
  position: absolute;
  top: 28px;
  right: 30px;
  color: #a5a89f;
  font-size: 0.65rem;
  font-weight: 850;
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 62px;
  border-radius: 16px;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 850;
}

.feature-wide .feature-icon {
  margin-bottom: 42px;
}

.lime {
  background: var(--lime);
}

.coral {
  background: var(--coral);
}

.purple {
  background: var(--purple);
}

.feature-card h3 {
  max-width: 460px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 820;
}

.feature-card p {
  max-width: 500px;
  color: var(--muted);
}

.feature-card a {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.85rem;
  font-weight: 750;
}

.feature-dark {
  color: #fff;
  background: var(--ink);
}

.feature-dark .feature-number,
.feature-dark p {
  color: #a8aca2;
}

.plan-preview {
  align-self: center;
  padding: 27px;
  border: 1px solid rgba(17, 18, 15, 0.1);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 24px 50px rgba(28, 31, 22, 0.1);
  transform: rotate(2deg);
}

.plan-header,
.week-row,
.mini-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-header span {
  font-weight: 800;
}

.plan-header small {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 0.58rem;
  font-weight: 800;
}

.week-row {
  margin: 24px 0;
  gap: 6px;
}

.week-row > span {
  display: grid;
  width: 54px;
  height: 66px;
  border-radius: 16px;
  place-items: center;
  background: #f0eee7;
}

.week-row small,
.week-row b {
  display: block;
  line-height: 1;
}

.week-row small {
  color: #8a8d86;
  font-size: 0.56rem;
}

.week-row b {
  margin-top: -11px;
  font-size: 0.75rem;
}

.week-row .done {
  background: #dfe1da;
}

.week-row .done b {
  text-decoration: line-through;
}

.week-row .today {
  color: #fff;
  background: var(--ink);
  box-shadow: inset 0 -5px var(--lime);
}

.mini-session {
  margin-top: 10px;
  padding: 13px;
  border-radius: 16px;
  gap: 12px;
  background: #efeee7;
}

.mini-session i {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background:
    radial-gradient(circle at 60% 40%, var(--lime) 0 15%, transparent 16%),
    var(--ink);
}

.mini-session div {
  flex: 1;
}

.mini-session small,
.mini-session strong {
  display: block;
}

.mini-session small {
  color: #898d84;
  font-size: 0.5rem;
}

.mini-session strong {
  font-size: 0.68rem;
}

.mini-session > span {
  color: var(--muted);
  font-size: 0.57rem;
}

.muted-session {
  opacity: 0.55;
}

.progress-mini {
  display: flex;
  height: 110px;
  margin-top: 45px;
  padding: 12px 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.progress-mini span {
  width: 12%;
  height: var(--height);
  border-radius: 9px 9px 0 0;
  background: var(--coral);
  transition: height 500ms ease;
}

.progress-mini span:last-child {
  background: var(--lime-dark);
}

.recovery-score {
  display: flex;
  margin-top: 38px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  align-items: center;
  justify-content: space-between;
  background: #292b26;
}

.recovery-score div {
  display: grid;
  width: 86px;
  height: 86px;
  border: 7px solid var(--purple);
  border-radius: 50%;
  place-items: center;
}

.recovery-score strong,
.recovery-score small {
  display: block;
  line-height: 1;
  text-align: center;
}

.recovery-score strong {
  font-size: 1.6rem;
}

.recovery-score small {
  margin-top: -16px;
  color: #b2b5ad;
  font-size: 0.45rem;
}

.recovery-score > span {
  color: #dadcd6;
  font-size: 0.8rem;
}

.workouts {
  color: #fff;
  background: var(--ink);
}

.workout-heading {
  max-width: 770px;
  margin: 0 auto 42px;
  text-align: center;
}

.workout-heading .section-label {
  color: var(--lime);
}

.workout-heading > p:last-child {
  max-width: 630px;
  margin: 20px auto 0;
  color: #aeb2a9;
}

.workout-tabs {
  display: flex;
  width: fit-content;
  margin: 0 auto 38px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  gap: 3px;
  background: #272923;
}

.workout-tab {
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #b5b8b0;
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.workout-tab:hover {
  color: #fff;
}

.workout-tab.active {
  color: var(--ink);
  background: var(--lime);
}

.workout-showcase {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  grid-template-columns: 1fr 1fr;
  background: #20221d;
}

.workout-poster {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: var(--coral);
}

.poster-lines {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 35px, #111 36px 38px),
    repeating-linear-gradient(45deg, transparent 0 25px, #111 26px 28px);
}

.poster-person {
  position: absolute;
  top: 51%;
  left: 52%;
  width: 200px;
  height: 320px;
  transform: translate(-50%, -50%);
}

.poster-person span {
  position: absolute;
  display: block;
  border-radius: 99px;
  background: var(--ink);
}

.person-head {
  top: 0;
  left: 74px;
  width: 58px;
  height: 58px;
  border-radius: 50% !important;
}

.person-body {
  top: 55px;
  left: 69px;
  width: 68px;
  height: 145px;
  transform: rotate(-4deg);
}

.person-arm {
  top: 75px;
  width: 38px;
  height: 155px;
  transform-origin: top;
}

.arm-one {
  left: 61px;
  transform: rotate(48deg);
}

.arm-two {
  right: 58px;
  transform: rotate(-52deg);
}

.person-leg {
  top: 184px;
  width: 43px;
  height: 145px;
  transform-origin: top;
}

.leg-one {
  left: 76px;
  transform: rotate(13deg);
}

.leg-two {
  right: 62px;
  transform: rotate(-18deg);
}

.poster-badge {
  position: absolute;
  top: 26px;
  left: 28px;
  padding: 7px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 850;
}

.poster-title {
  position: absolute;
  right: 24px;
  bottom: 18px;
  left: 24px;
  color: var(--ink);
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.workout-details {
  align-self: center;
  padding: clamp(36px, 7vw, 76px);
}

.workout-kicker {
  color: var(--lime);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.workout-details h3 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 850;
}

.workout-details > p:not(.workout-kicker) {
  color: #b7bbb2;
}

.workout-facts {
  display: grid;
  margin: 38px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.workout-facts small,
.workout-facts strong {
  display: block;
}

.workout-facts small {
  color: #7f837a;
  font-size: 0.54rem;
  font-weight: 850;
}

.workout-facts strong {
  margin-top: 5px;
  font-size: 0.76rem;
}

.results {
  background: var(--cream);
}

.results-grid {
  display: grid;
  margin-bottom: 120px;
  align-items: center;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.results-copy h2 {
  margin-bottom: 24px;
}

.results-copy > p:not(.section-label) {
  color: var(--muted);
}

.check-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  margin-top: 14px;
  align-items: center;
  gap: 11px;
  font-size: 0.9rem;
  font-weight: 650;
}

.check-list span {
  display: grid;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  place-items: center;
  background: var(--lime);
  font-size: 0.7rem;
  font-weight: 900;
}

.dashboard-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.dashboard-top,
.dashboard-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-top {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.dashboard-top small,
.dashboard-top strong {
  display: block;
}

.dashboard-top small,
.dashboard-score small {
  color: #8a8e85;
  font-size: 0.57rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.dashboard-top > span {
  padding: 8px 11px;
  border-radius: 10px;
  background: var(--cream);
  font-size: 0.67rem;
}

.dashboard-score {
  padding: 30px 0 15px;
}

.dashboard-score > div:first-child > strong {
  display: block;
  margin-top: 8px;
  font-size: 4.2rem;
  line-height: 1;
  letter-spacing: -0.07em;
}

.dashboard-score p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.66rem;
}

.dashboard-score p span {
  color: #6e7e00;
  font-weight: 800;
}

.score-ring {
  position: relative;
  display: grid;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  place-items: center;
  background: conic-gradient(var(--purple) 0 82%, #e8e6de 82% 100%);
}

.score-ring::before {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.score-ring span {
  z-index: 1;
  font-size: 1.2rem;
  font-weight: 850;
  text-align: center;
}

.score-ring small {
  display: block;
  font-size: 0.45rem;
}

.chart {
  display: flex;
  height: 190px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  align-items: flex-end;
  gap: 14px;
}

.chart-column {
  display: grid;
  height: 100%;
  flex: 1;
  align-content: end;
  gap: 7px;
}

.chart-column span {
  display: block;
  height: var(--bar);
  border-radius: 12px 12px 5px 5px;
  background: #e1dfd7;
}

.chart-column small {
  color: #999c94;
  font-size: 0.57rem;
  text-align: center;
}

.chart-column.current span {
  background: var(--purple);
}

.testimonial-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  display: flex;
  min-height: 350px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.featured-quote {
  background: var(--lime);
}

.quote-mark {
  height: 50px;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.testimonial-card > p {
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.6;
}

.member {
  display: grid;
  align-items: center;
  grid-template-columns: 42px 1fr auto;
  gap: 11px;
}

.member-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 850;
}

.avatar-one {
  background: var(--purple);
}

.avatar-two {
  color: var(--ink);
  background: var(--coral);
}

.avatar-three {
  background: var(--ink);
}

.member strong,
.member small {
  display: block;
}

.member strong {
  font-size: 0.75rem;
}

.member small {
  color: var(--muted);
  font-size: 0.55rem;
}

.member b {
  color: #f08534;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.pricing {
  background: var(--paper);
}

.pricing-heading {
  max-width: 780px;
  margin: 0 auto 55px;
  text-align: center;
}

.pricing-heading > p:not(.section-label) {
  margin: 18px 0 26px;
  color: var(--muted);
}

.billing-toggle {
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 4px;
  background: var(--cream);
}

.billing-toggle button {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 750;
}

.billing-toggle button.active {
  color: #fff;
  background: var(--ink);
}

.billing-toggle span {
  margin-left: 4px;
  color: #6e7f00;
  font-size: 0.58rem;
}

.billing-toggle button.active span {
  color: var(--lime);
}

.price-grid {
  display: grid;
  max-width: 900px;
  margin: 0 auto 130px;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.price-card {
  position: relative;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--cream);
}

.popular {
  color: #fff;
  background: var(--ink);
  transform: translateY(-12px);
}

.popular-label {
  position: absolute;
  top: -13px;
  left: 50%;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  transform: translateX(-50%);
}

.plan-name {
  margin-bottom: 13px;
  color: #6e7c00;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.popular .plan-name {
  color: var(--lime);
}

.price-card h3 {
  margin-bottom: 28px;
  font-size: 2rem;
  font-weight: 820;
}

.price {
  display: flex;
  min-height: 70px;
  align-items: flex-start;
}

.price > span {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 750;
}

.price strong {
  font-size: 4.4rem;
  line-height: 1;
  letter-spacing: -0.08em;
}

.price small {
  align-self: flex-end;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.65rem;
}

.popular .price small,
.popular .price-description {
  color: #a9ada4;
}

.price-description {
  min-height: 54px;
  color: var(--muted);
  font-size: 0.85rem;
}

.price-card .button {
  width: 100%;
  margin: 18px 0 30px;
}

.price-card ul {
  margin: 0;
  padding: 27px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.popular ul {
  border-color: rgba(255, 255, 255, 0.13);
}

.price-card li {
  display: flex;
  margin-top: 13px;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
}

.price-card li span {
  color: #708000;
  font-weight: 900;
}

.popular li span {
  color: var(--lime);
}

.price-card li.muted {
  color: #a0a39b;
}

.faq {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
}

.faq-heading h2 {
  font-size: clamp(2.7rem, 5vw, 4.4rem);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  display: flex;
  width: 100%;
  padding: 24px 0;
  border: 0;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 750;
}

.faq-item button span {
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 200ms ease;
}

.faq-item.open button span {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  overflow: hidden;
  grid-template-rows: 0fr;
  transition: grid-template-rows 250ms ease;
}

.faq-answer p {
  min-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 25px;
}

.download-section {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  color: #fff;
  background: var(--ink);
}

.download-content {
  position: relative;
  z-index: 2;
  max-width: 830px;
  text-align: center;
}

.download-content .section-label {
  color: var(--lime);
}

.download-content > p:not(.section-label) {
  max-width: 610px;
  margin: 22px auto 34px;
  color: #afb3aa;
}

.store-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.store-buttons a {
  display: flex;
  min-width: 178px;
  min-height: 58px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #2c2e29;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.store-buttons a:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
}

.store-buttons a > span {
  font-size: 1.3rem;
}

.store-buttons small,
.store-buttons strong {
  display: block;
  line-height: 1.15;
  text-align: left;
}

.store-buttons small {
  color: #b2b5ae;
  font-size: 0.48rem;
}

.store-buttons strong {
  margin-top: 3px;
  font-size: 0.88rem;
}

.download-ring {
  position: absolute;
  border: 1px solid rgba(217, 255, 67, 0.25);
  border-radius: 50%;
}

.ring-a {
  top: -240px;
  left: -150px;
  width: 600px;
  height: 600px;
  box-shadow: inset 0 0 0 60px rgba(217, 255, 67, 0.025);
}

.ring-b {
  right: -170px;
  bottom: -270px;
  width: 680px;
  height: 680px;
  border-color: rgba(138, 108, 255, 0.28);
}

.site-footer {
  padding: 70px 0 25px;
  background: var(--paper);
}

.footer-top {
  display: grid;
  padding-bottom: 55px;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}

.footer-brand p {
  max-width: 280px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.footer-links strong,
.footer-links a {
  display: block;
}

.footer-links strong {
  margin-bottom: 15px;
  font-size: 0.8rem;
}

.footer-links a {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}

.footer-links a:hover {
  color: #6c7d00;
}

.footer-bottom {
  display: flex;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #898c84;
  font-size: 0.68rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  box-shadow: var(--shadow);
  cursor: pointer;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 18, 15, 0.74);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 38px;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: var(--cream);
  cursor: pointer;
  font-size: 1.4rem;
}

.demo-animation {
  position: relative;
  display: grid;
  height: 190px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 22px;
  place-items: center;
  color: #fff;
  background: var(--ink);
}

.demo-animation > span {
  z-index: 2;
  display: grid;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
}

.demo-pulse {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  animation: demoPulse 2s ease-out infinite;
}

.modal-card h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
}

.modal-card > p:not(.section-label) {
  color: var(--muted);
}

.modal-card .button {
  margin-top: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(-5px) rotate(-1deg);
  }
  50% {
    transform: translateY(8px) rotate(1deg);
  }
}

@keyframes demoPulse {
  from {
    opacity: 0.9;
    transform: scale(0.6);
  }
  to {
    opacity: 0;
    transform: scale(2.2);
  }
}

@media (max-width: 1040px) {
  .container {
    width: min(100% - 38px, 860px);
  }

  .section {
    padding: 100px 0;
  }

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

  .hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

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

  .badge-fire {
    left: 8%;
  }

  .badge-goal {
    right: 6%;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .workout-showcase {
    grid-template-columns: 1fr;
  }

  .workout-poster {
    min-height: 620px;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .testimonial-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .navbar {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-button {
    margin-left: auto;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    right: 14px;
    left: 14px;
    display: grid;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    opacity: 0;
    background: rgba(255, 254, 250, 0.98);
    box-shadow: var(--shadow);
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 13px 14px;
  }

  .hero {
    padding-top: 125px;
  }

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

  .hero-metrics div {
    padding: 20px;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics div:nth-child(2) {
    border-right: 0;
  }

  .hero-metrics div:nth-child(3),
  .hero-metrics div:nth-child(4) {
    border-bottom: 0;
  }

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

  .feature-wide {
    grid-column: span 1;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 560px);
  }

  .section {
    padding: 80px 0;
  }

  .nav-button {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .hero-visual {
    min-height: 580px;
    transform: scale(0.85);
  }

  .hero-visual::before {
    width: 430px;
    height: 430px;
  }

  .phone {
    width: 310px;
    height: 600px;
  }

  .badge-fire {
    left: -3%;
  }

  .badge-goal {
    right: -8%;
  }

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

  .feature-card {
    min-height: auto;
    padding: 28px;
  }

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

  .week-row > span {
    width: 44px;
  }

  .plan-preview {
    padding: 18px;
  }

  .workout-tabs {
    width: 100%;
  }

  .workout-tab {
    padding: 0 14px;
    flex: 1;
  }

  .workout-poster {
    min-height: 500px;
  }

  .workout-facts {
    grid-template-columns: 1fr;
  }

  .dashboard-score {
    align-items: flex-start;
  }

  .score-ring {
    width: 90px;
    height: 90px;
  }

  .score-ring::before {
    width: 66px;
    height: 66px;
  }

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

  .testimonial-card:last-child {
    grid-column: span 1;
  }

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

  .popular {
    margin-top: 20px;
    transform: none;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-card {
    padding: 28px 22px;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    margin-right: -32px;
    margin-left: -32px;
    transform: scale(0.75);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div,
  .hero-metrics div:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .week-row > span {
    width: 38px;
  }

  .mini-session > span {
    display: none;
  }

  .member {
    grid-template-columns: 42px 1fr;
  }

  .member b {
    grid-column: 2;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

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