:root {
  --landing-accent: #f7b84b;
  --landing-background: #121712;
  --landing-panel: rgb(16 23 17 / 42%);
  --landing-text: #f8faf8;
  --landing-muted: #d7ddd6;
  --landing-border: rgb(247 184 75 / 40%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--landing-text);
  background: var(--landing-background);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 20rem;
  margin: 0;
  line-height: 1.6;
}

a {
  color: inherit;
}

.hidden {
  display: none;
}

.landing-backdrop {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(135deg, rgb(7 12 8 / 56%), rgb(7 12 8 / 26%)),
    url("../images/template/bg-championsgym.jpg") center / cover no-repeat;
}

#page {
  min-height: 100vh;
}

.site-header,
.site-footer,
main {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.site-header {
  padding-block: 1.25rem;
}

.site-nav,
.feature-nav,
.site-footer,
.site-footer nav {
  display: flex;
  align-items: center;
}

.site-nav {
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1rem;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 1rem;
  background: rgb(16 23 17 / 28%);
  backdrop-filter: blur(.75rem);
}

.wordmark {
  color: var(--landing-accent);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}

.feature-nav {
  justify-content: center;
  gap: clamp(.75rem, 2vw, 1.5rem);
}

.feature-nav a,
.site-footer a {
  color: var(--landing-muted);
  font-size: .92rem;
}

.feature-nav a:hover,
.feature-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--landing-accent);
}

.login-link,
.discover-link {
  border: 1px solid var(--landing-accent);
  border-radius: .6rem;
  color: var(--landing-text);
  font-weight: 700;
  text-decoration: none;
}

.login-link {
  padding: .45rem .75rem;
  white-space: nowrap;
}

.hero,
.features {
  background: var(--landing-panel);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 1.25rem;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 26%);
  backdrop-filter: blur(.5rem);
}

.hero {
  margin-top: clamp(2rem, 8vh, 6rem);
  padding: clamp(2rem, 7vw, 5.5rem);
}

.eyebrow,
.pillar-number {
  margin: 0;
  color: var(--landing-accent);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  max-width: 13ch;
  margin-block: .7rem 1.25rem;
  font-size: clamp(2.35rem, 7vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--landing-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.discover-link {
  display: inline-block;
  padding: .75rem 1rem;
  background: var(--landing-accent);
  color: #182017;
}

.features {
  margin-block: 4rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.section-intro {
  max-width: 36rem;
  margin-bottom: 2rem;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -.035em;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pillar {
  min-height: 15rem;
  padding: 1.5rem;
  border: 1px solid var(--landing-border);
  border-radius: .9rem;
  background: rgb(8 14 9 / 38%);
}

.pillar h3 {
  margin-block: 1.75rem .8rem;
  font-size: 1.35rem;
}

.pillar p:last-child {
  margin-bottom: 0;
  color: var(--landing-muted);
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 2.5rem;
  color: var(--landing-muted);
  font-size: .9rem;
}

.site-footer nav {
  gap: 1.25rem;
}

@media (max-width: 48rem) {
  .site-nav {
    flex-wrap: wrap;
  }

  .feature-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: .15rem;
  }

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

@media (max-width: 32rem) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 1rem, 72rem);
  }

  h1 {
    font-size: 2rem;
  }

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

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

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