:root {
  --bg: #33353a;
  --text: #e6e6e6;
  --muted: #bdbdbd;
  --accent: #00c26d;
  --accent-soft: #83dc53;
  --card: #3b3f44;
  --line: #17bf70;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

#logo {
  fill: var(--accent);
}

.site-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at 36% 36%,
      rgba(0, 194, 109, 0.17),
      transparent 32%
    ),
    radial-gradient(
      circle at 70% 34%,
      rgba(141, 224, 73, 0.08),
      transparent 26%
    ),
    linear-gradient(#36393e, #35373c);
  z-index: -2;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0 12px;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 194, 109, 0.7);
}

.logo-text {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.nav {
  display: flex;
  gap: clamp(16px, 4vw, 46px);
}

.nav a {
  color: #c4d43f;
  text-decoration: none;
  font-size: 33px;
  font-weight: 400;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: 510px;
  padding-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(280px, 1fr);
  grid-template-areas:
    "content cta"
    "content art";
  align-items: start;
  column-gap: 20px;
  isolation: isolate;
}

.hero-content {
  grid-area: content;
  position: relative;
  z-index: 3;
  max-width: 100%;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(30px, 4.8vw, 58px);
  line-height: 1.04;
  font-weight: 700;
}

.hero-content p {
  margin: 22px 0 0;
  color: #5fd76f;
  font-size: clamp(20px, 2.45vw, 39px);
  line-height: 1.12;
  font-weight: 400;
}

.hero-cta {
  grid-area: cta;
  position: relative;
  justify-self: end;
  margin-top: 24px;
  z-index: 4;
}

.btn-outline {
  color: #b9df35;
  background: rgba(17, 121, 78, 0.22);
  border: 2px solid #198e66;
  border-radius: 0;
  width: 220px;
  height: 72px;
  font-size: 34px;
  cursor: pointer;
}

.hero-art {
  grid-area: art;
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: 10px;
  pointer-events: none;
  z-index: 1;
}

.hero-device {
  position: relative;
  width: min(100%, 560px);
  max-width: 100%;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.45));
}

.athlete-glow {
  position: absolute;
  left: -100px;
  bottom: -130px;
  width: 520px;
  height: 520px;
  background:
    radial-gradient(
      ellipse at 46% 30%,
      rgba(0, 212, 114, 0.33),
      transparent 44%
    ),
    radial-gradient(ellipse at 34% 66%, rgba(0, 180, 94, 0.28), transparent 43%);
  filter: blur(8px);
  transform: rotate(8deg);
  border-radius: 50%;
}

.section {
  position: relative;
  z-index: 2;
  margin-top: 54px;
}

.section h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.1vw, 64px);
  line-height: 1.1;
}

.tests ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 38px;
  font-size: clamp(24px, 2vw, 35px);
  color: #d6d6d6;
}

.how-it-works .steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 20px;
}

.step {
  position: relative;
}

.bubble {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--line);
  font-size: 30px;
  color: #cdd4d8;
  background: rgba(0, 194, 109, 0.08);
}

.line {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% - 65px);
  margin-left: 10px;
  border-top: 2px solid var(--line);
  transform: translateY(-13px);
}

.step p {
  margin: 14px 0 0;
  font-size: clamp(22px, 1.5vw, 32px);
  line-height: 1.25;
  color: #dddddd;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 12px 36px;
  color: #dbdbdb;
  font-size: clamp(26px, 1.7vw, 36px);
}

.benefits p {
  margin: 0;
}

.benefits p::first-letter {
  color: var(--accent);
}

.footer {
  padding: 100px 0 70px;
  color: #d5d5d5;
  font-size: clamp(24px, 1.55vw, 32px);
}

@media (max-width: 1100px) {
  .logo-text {
    font-size: 30px;
  }

  .nav a {
    font-size: 24px;
  }

  .hero {
    min-height: 400px;
    grid-template-columns: minmax(0, 56%) minmax(220px, 1fr);
    column-gap: 14px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta {
    margin-top: 16px;
  }

  .btn-outline {
    width: 180px;
    height: 58px;
    font-size: 28px;
  }

  .hero-device {
    width: min(100%, 470px);
  }

  .athlete-glow {
    left: -70px;
    width: 380px;
    height: 380px;
  }

  .how-it-works .steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 26px;
  }

  .line {
    width: calc(100% - 78px);
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero {
    min-height: 300px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "cta";
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta {
    position: static;
    margin-top: 20px;
  }

  .hero-art {
    display: none;
  }

  .how-it-works .steps {
    grid-template-columns: 1fr;
  }

  .line {
    display: none;
  }

  .benefits {
    grid-template-columns: 1fr;
  }
}
