:root {
  --black: #050505;
  --panel: #111211;
  --panel-light: #181918;
  --line: rgba(255, 255, 255, 0.17);
  --white: #f5f5f1;
  --muted: #a7aaa5;
  --red: #ff2424;
  --green: #8ac447;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 36, 36, 0.09), transparent 34rem),
    var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; }

main {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 42px;
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 62px;
  width: min(15vw, 180px);
  height: 3px;
  background: var(--red);
}

.hero::before { left: 0; }
.hero::after { right: 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: .035em;
  line-height: .9;
  text-transform: uppercase;
}

.brand strong {
  color: var(--red);
  font-weight: 400;
}

.eyebrow,
.planStrapline {
  margin: 0;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 880px;
  margin: 10px auto 12px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(3.1rem, 8vw, 6.3rem);
  font-weight: 400;
  letter-spacing: .015em;
  line-height: .95;
  text-transform: uppercase;
}

.heroCopy {
  margin: 0;
  color: #c8cac6;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.heroCopy span { color: var(--red); }

.pricing {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.planCard {
  --accent: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #171817, #0b0c0b 72%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .32);
}

.planCard.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(138, 196, 71, .3), 0 0 36px rgba(138, 196, 71, .16);
}

.bestValue {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: -35px;
  width: 150px;
  padding: 6px 0;
  transform: rotate(39deg);
  background: var(--green);
  color: #071000;
  font-size: .69rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

.planHeader {
  min-height: 260px;
  padding: 46px 24px 26px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.planHeader h2 {
  margin: 9px 0 4px;
  color: var(--accent);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(3.1rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
}

.planCard.featured .planStrapline { color: var(--green); }

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin: 16px 0 0;
  color: var(--accent);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 4.5rem;
  line-height: .8;
}

.price > span { font-size: .54em; }

.price small {
  margin-left: 6px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.mobileBenefits { display: none; }

.joinButton,
.tableButton {
  display: block;
  margin: auto 24px 24px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #090909;
  font-size: .86rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, filter .2s ease;
}

.joinButton { padding: 16px 18px; }

.joinButton:hover,
.joinButton:focus-visible,
.tableButton:hover,
.tableButton:focus-visible {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.joinButton:focus-visible,
.tableButton:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.comparison {
  margin: 20px 0 0;
  border: 1px solid var(--line);
  background: rgba(12, 13, 12, .88);
}

.comparisonRow {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.comparisonRow:last-child { border-bottom: 0; }

.comparisonRow > div {
  display: flex;
  min-height: 74px;
  padding: 16px 18px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.comparisonRow > div:last-child { border-right: 0; }

.comparisonRow .rowLabel,
.comparisonRow > div:first-child {
  justify-content: flex-start;
  font-size: .78rem;
  letter-spacing: .055em;
  text-align: left;
  text-transform: uppercase;
}

.comparisonHead {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #171817;
}

.comparisonHead > div {
  min-height: 58px;
  color: var(--white);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.comparisonHead > div:nth-child(3) { color: var(--red); }
.comparisonHead .plusCell { color: var(--green); }

.plusCell { background: rgba(138, 196, 71, .055); }

.status {
  flex: 0 0 auto;
  margin-right: 8px;
  font-size: 1.7rem;
  font-weight: 950;
  line-height: 1;
}

.statusYes { color: var(--green); }
.statusNo { color: var(--red); }

.comparisonActions > div { min-height: 96px; }

.tableButton {
  width: 100%;
  margin: 0;
  padding: 13px 10px;
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}

.comparisonActions > .plusCell .tableButton {
  border-color: var(--green);
  background: var(--green);
  color: #071000;
}

.trialOffer {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  padding: 24px clamp(20px, 5vw, 60px);
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 5vw, 56px);
  border-left: 7px solid var(--green);
  background: var(--white);
  color: #101110;
}

.offerShirt {
  width: clamp(120px, 16vw, 190px);
  height: 150px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.offerNumber {
  display: flex;
  flex-direction: column;
  color: var(--green);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 4.8rem;
  line-height: .72;
  text-align: center;
}

.offerNumber span {
  margin-top: 10px;
  color: #101110;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trialOffer p {
  margin: 0 0 5px;
  font-size: clamp(.75rem, 2vw, 1rem);
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.trialOffer h2 {
  margin: 0;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
}

footer {
  padding: 34px 16px 42px;
  color: #777a76;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .hero {
    width: min(100% - 24px, 560px);
    padding-top: 26px;
  }

  .hero::before,
  .hero::after {
    top: 50px;
    width: 10vw;
  }

  .brand {
    margin-bottom: 42px;
    font-size: 1.7rem;
  }

  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }

  .heroCopy {
    max-width: 290px;
    margin: 0 auto;
    font-size: .72rem;
    line-height: 1.55;
  }

  .pricing { width: min(100% - 24px, 560px); }

  .planGrid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .planCard.featured { order: -1; }

  .planCard.featured::after {
    content: "Most flexible membership";
    position: absolute;
    top: 15px;
    left: 18px;
    color: var(--green);
    font-size: .64rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .planHeader {
    min-height: 0;
    padding: 50px 20px 28px;
  }

  .planHeader h2 { font-size: 4.25rem; }

  .mobileBenefits { display: block; }

  .benefit {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    gap: 16px;
    padding: 15px 18px;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .benefitLabel {
    color: #aeb1ac;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .055em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .benefit strong {
    color: var(--white);
    font-size: .78rem;
    line-height: 1.35;
    text-align: right;
  }

  .benefit .status {
    display: block;
    margin: 0 0 4px;
  }

  .planCard.featured .benefit strong { color: #c8ee9a; }

  .joinButton {
    position: sticky;
    bottom: 12px;
    margin-top: 20px;
  }

  .comparison { display: none; }

  .trialOffer {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    width: min(100% - 24px, 560px);
    padding: 24px 20px;
    align-items: flex-start;
    gap: 8px 18px;
  }

  .offerShirt {
    width: 92px;
    height: 108px;
    margin-left: -10px;
    grid-row: 1 / 3;
  }

  .offerNumber {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 7px;
    font-size: 3.4rem;
    text-align: left;
  }

  .offerNumber span { margin-top: 0; }
  .trialOffer h2 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
