:root {
  --accent: #e63946;
  --accent-dark: #c92f3b;
  --ink: #333333;
  --charcoal: #1f2937;
  --paper: #f7f7f7;
  --white: #ffffff;
  --muted: #6b7280;
  --line: #e5e7eb;
  --shell: min(1180px, calc(100% - 48px));
  --heading: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

svg {
  display: block;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: absolute;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.nav-wrap {
  width: var(--shell);
  height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  font: 800 19px/1 var(--heading);
  letter-spacing: -0.7px;
}

.brand > span:last-child > span {
  color: var(--accent);
}

.brand small {
  display: block;
  margin-top: 4px;
  font: 600 8px/1.4 var(--body);
  letter-spacing: 3.2px;
}

.brand-mark {
  width: 37px;
  height: 37px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.brand-mark span {
  width: 3px;
  border-radius: 3px;
  background: currentColor;
  transform: skew(-14deg);
}

.brand-mark span:nth-child(1) {
  height: 11px;
}

.brand-mark span:nth-child(2) {
  height: 21px;
}

.brand-mark span:nth-child(3) {
  height: 15px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
}

.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -5px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transition: right 0.2s ease;
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after {
  right: 0;
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 100px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
}

.menu-toggle {
  display: none;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.hero {
  position: relative;
  height: 100svh;
  min-height: 790px;
  max-height: 930px;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  background: url("fitness_bg.svg") center / cover no-repeat;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 41, 55, 0.94), rgba(31, 41, 55, 0.72) 40%, rgba(31, 41, 55, 0.16) 78%),
    linear-gradient(0deg, rgba(31, 41, 55, 0.7), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 185px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.eyebrow span {
  display: block;
  width: 27px;
  height: 2px;
  background: var(--accent);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2 {
  margin: 26px 0;
  font-family: var(--heading);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 820px;
  font-size: clamp(58px, 7vw, 102px);
}

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

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 15px 21px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.text-link {
  font-size: 14px;
  font-weight: 700;
}

.light-link {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.hero-stats {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 40px;
  display: flex;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-stats div {
  min-width: 165px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-stats strong {
  color: var(--accent);
  font: 800 34px/1 var(--heading);
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 40px;
  left: max(24px, calc((100vw - 1180px) / 2));
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.scroll-cue span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.7s infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(230, 57, 70, 0.2);
  }
}

.section {
  padding: 120px 0;
}

.section-heading {
  margin-bottom: 62px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 90px;
}

.section-heading h2,
.price-intro h2 {
  margin-bottom: 0;
  font-size: clamp(45px, 5vw, 70px);
}

.section-heading > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 18px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}

.activity-card {
  position: relative;
  min-height: 350px;
  padding: 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: background 0.2s ease, color 0.2s ease;
}

.activity-card:last-child {
  border-right: 0;
}

.activity-card.feature,
.activity-card:hover {
  background: var(--accent);
  color: var(--white);
}

.activity-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -110px;
  width: 220px;
  height: 220px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.activity-number {
  display: none;
}

.activity-card svg {
  position: absolute;
  top: 65px;
  left: 28px;
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.activity-card.feature svg,
.activity-card:hover svg {
  stroke: var(--white);
}

.activity-card h3 {
  margin: 0 0 13px;
  font: 700 22px/1.2 var(--heading);
}

.activity-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.activity-card.feature p,
.activity-card:hover p {
  color: rgba(255, 255, 255, 0.82);
}

.planning {
  background: var(--charcoal);
  color: var(--white);
}

.section-heading.inverse > p {
  color: rgba(255, 255, 255, 0.65);
}

.schedule {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.schedule-row {
  min-height: 78px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.5fr 35px;
  align-items: center;
  transition: background 0.2s ease, padding 0.2s ease;
}

.schedule-row:not(.schedule-head):hover {
  padding-inline: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.schedule-row > span:first-child {
  color: rgba(255, 255, 255, 0.65);
}

.schedule-row strong {
  color: var(--accent);
  font: 700 20px/1 var(--heading);
}

.schedule-row a {
  font-size: 23px;
}

.schedule-head {
  min-height: 43px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.location-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.location {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  grid-template-columns: 45px 1fr 30px;
  align-items: start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.location:hover,
.location:focus-visible {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.location > span {
  color: var(--accent);
  font-size: 11px;
}

.location h3 {
  margin: 0 0 9px;
  font: 700 18px/1.3 var(--heading);
}

.location p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.location b {
  font-size: 22px;
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 110px;
}

.price-intro > p:last-child {
  max-width: 500px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 17px;
}

.price-card {
  padding: 40px 43px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(31, 41, 55, 0.1);
}

.price-tag {
  display: block;
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.price-line {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.price-line span {
  font-weight: 600;
}

.price-line strong {
  color: var(--accent);
  font: 800 44px/1 var(--heading);
  letter-spacing: -3px;
}

.price-line sup {
  margin-left: 3px;
  font-size: 18px;
  letter-spacing: 0;
}

.price-card ul {
  margin: 25px 0;
  padding: 0;
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.price-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--accent);
  font-weight: 700;
}

.button-dark {
  width: 100%;
  background: var(--charcoal);
  color: var(--white);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #344154;
}

.cta-section {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--accent);
  color: var(--white);
}

.cta-bg {
  position: absolute;
  top: 50%;
  right: -170px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  transform: translateY(-50%);
}

.cta-bg::before,
.cta-bg::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.cta-bg::before {
  inset: 75px;
}

.cta-bg::after {
  inset: 150px;
}

.cta-inner {
  position: relative;
  z-index: 2;
  padding-block: 80px;
}

.cta-inner .eyebrow span {
  background: var(--white);
}

.cta-inner h2 {
  max-width: 850px;
  font-size: clamp(46px, 6vw, 76px);
}

.cta-inner > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.cta-actions {
  margin-top: 33px;
  display: flex;
  gap: 12px;
}

.cta-section .button-primary {
  background: var(--white);
  color: var(--ink);
}

.cta-section .button-primary:hover,
.cta-section .button-primary:focus-visible {
  background: #f3f4f6;
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.footer {
  padding: 65px 0 24px;
  background: var(--charcoal);
  color: var(--white);
}

.footer-main {
  padding-bottom: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
}

.footer-brand {
  font-size: 22px;
}

.footer-main > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  font-size: 13px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 900px) {
  :root {
    --shell: min(calc(100% - 32px), 700px);
  }

  .nav-wrap {
    height: 76px;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
    padding: 90px 28px 40px;
    background: var(--charcoal);
    font-size: 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-cta {
    margin-top: 8px;
    font-size: 16px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    padding-top: 145px;
  }

  .hero-stats {
    right: 16px;
    left: 16px;
    justify-content: space-between;
  }

  .hero-stats div {
    min-width: 0;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 88px 0;
  }

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

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

  .activity-card:nth-child(2) {
    border-right: 0;
  }

  .activity-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .hero-image {
    background-position: 58% center;
  }

  .hero-image::after {
    background:
      linear-gradient(90deg, rgba(31, 41, 55, 0.92), rgba(31, 41, 55, 0.52)),
      linear-gradient(0deg, rgba(31, 41, 55, 0.86), transparent 58%);
  }

  .hero-content {
    padding-top: 130px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 60px);
  }

  .hero-copy {
    max-width: 96%;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 29px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stats div {
    display: block;
  }

  .hero-stats strong {
    display: block;
    margin-bottom: 5px;
    font-size: 28px;
  }

  .hero-stats span {
    font-size: 8px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .price-intro h2 {
    font-size: 41px;
  }

  .section-heading > p {
    font-size: 16px;
  }

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

  .activity-card {
    min-height: 270px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .activity-card:last-child {
    border-bottom: 0;
  }

  .schedule-head {
    display: none;
  }

  .schedule-row {
    padding: 16px 0;
    grid-template-columns: 1fr 38px;
    gap: 6px;
  }

  .schedule-row > span:first-child,
  .schedule-row strong,
  .schedule-row > span:nth-child(3) {
    grid-column: 1;
  }

  .schedule-row strong {
    font-size: 18px;
  }

  .schedule-row > span:nth-child(3) {
    color: rgba(255, 255, 255, 0.52);
    font-size: 13px;
  }

  .schedule-row a {
    grid-row: 1 / 4;
    grid-column: 2;
  }

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

  .price-card {
    padding: 30px 24px;
  }

  .price-line strong {
    font-size: 39px;
  }

  .cta-section {
    min-height: 580px;
  }

  .cta-bg {
    right: -320px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    padding: 14px 18px;
    font-size: 13px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-bottom {
    gap: 18px;
  }
}

@media (max-width: 380px) {
  :root {
    --shell: calc(100% - 24px);
  }

  .hero {
    min-height: 850px;
  }

  .hero-stats span {
    letter-spacing: 0.5px;
  }

  .button {
    gap: 16px;
  }
}

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

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

  .scroll-cue span {
    animation: none;
  }
}
