/* The entry page. Its look follows the Trainome athlete app: near-black, one lime accent. */
:root {
  --bg: #050505;
  --panel: #111111;
  --line: #222222;
  --text: #f5f5f2;
  --muted: #8e8e86;
  --lime: #eaff48;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(
      60% 420px at 50% -120px,
      rgba(234, 255, 72, 0.13),
      rgba(234, 255, 72, 0) 70%
    ),
    var(--bg);
  font:
    16px/1.5 Archivo,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.top,
main,
footer {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 8px;
}

.mark {
  display: block;
  line-height: 0;
}

.mark img {
  display: block;
  height: 24px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.link {
  padding: 9px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.link:hover,
.link:focus-visible {
  color: var(--text);
}

.ghost,
.pill {
  white-space: nowrap;
  padding: 9px 18px;
  border: 1px solid #333333;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.pill {
  border-color: var(--lime);
  background: var(--lime);
  color: #050505;
}

.pill:hover,
.pill:focus-visible {
  background: #f3ff8a;
}

.large {
  padding: 14px 26px;
  font-size: 16px;
}

.ghost:hover,
.ghost:focus-visible {
  border-color: var(--lime);
}

.hero {
  padding: 56px 0 34px;
  max-width: 720px;
}

.kick {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
}

h1 em {
  font-style: normal;
  color: var(--lime);
}

.lead {
  margin: 18px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  transition:
    border-color 0.2s,
    transform 0.2s,
    background 0.2s;
}

.card:hover,
.card:focus-visible {
  border-color: var(--lime);
  background: #151515;
  transform: translateY(-2px);
  outline: none;
}

.card.hot {
  border-color: rgba(234, 255, 72, 0.55);
  background:
    linear-gradient(160deg, rgba(234, 255, 72, 0.1), rgba(234, 255, 72, 0) 55%),
    var(--panel);
}

.tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: #1c1c1c;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card.hot .tag {
  background: var(--lime);
  color: #050505;
}

.card h2 {
  margin: 16px 0 8px;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.go {
  margin-top: auto;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
}

.go::after {
  content: '→';
  display: inline-block;
  margin-left: 8px;
  color: var(--lime);
  transition: transform 0.2s;
}

.card:hover .go::after,
.card:focus-visible .go::after {
  transform: translateX(4px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  margin: 54px 0 0;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
}

.steps b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  color: var(--lime);
  font-size: 14px;
}

.steps h3 {
  margin: 14px 0 6px;
  font-size: 17px;
  font-weight: 800;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 56px;
  padding-top: 22px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer a {
  color: var(--text);
  font-weight: 700;
}

footer a:hover,
footer a:focus-visible {
  color: var(--lime);
}

.hero.big {
  max-width: 900px;
  padding: 96px 0 90px;
}

.hero.big h1 {
  font-size: clamp(44px, 9vw, 96px);
}

.acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.one {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.one .shout {
  max-width: 900px;
  font-size: clamp(32px, 5.4vw, 60px);
}

.where {
  padding: 8px 0 0;
  scroll-margin-top: 20px;
}

.places {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.place {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.place span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.place h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.row q {
  color: var(--text);
  font-weight: 700;
}

.say {
  margin: 0;
  font-size: 21px;
  line-height: 1.45;
}

.shout {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.shout em,
.close em {
  font-style: normal;
  color: var(--lime);
}

.band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px 44px;
  align-items: end;
  padding: 44px 40px;
  border-radius: 28px;
  background: var(--lime);
  color: #050505;
}

.band h2 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.band p {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tech {
  padding: 72px 0 64px;
  scroll-margin-top: 20px;
}

.row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.row b {
  color: var(--lime);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.row h3 {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.row p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.close {
  padding: 84px 0 20px;
}

.close h2 {
  margin: 0 0 30px;
  max-width: 820px;
  font-size: clamp(36px, 6.4vw, 72px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.close .pill {
  display: inline-block;
}

@media (max-width: 720px) {
  .link {
    display: none;
  }

  .mark img {
    height: 18px;
  }

  .menu .ghost,
  .menu .pill {
    padding: 8px 13px;
    font-size: 13px;
  }

  .row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .row p {
    grid-column: 2;
  }

  .band {
    padding: 30px 24px;
  }

  .hero.big {
    padding: 54px 0 56px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 36px 0 26px;
  }

  .card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .go::after {
    transition: none;
  }
}
