@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/rubik-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/rubik-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/rubik-900.woff2') format('woff2');
}

:root {
  --bg: #0D0A0F;
  --bg-clear: rgba(13, 10, 15, 0);
  --text: #F4F1F5;
  --heading: #FFFFFF;
  --lead: #C9C2CC;
  --chip-text: #E4DEE6;
  --chip-border: #3A3140;
  --footer-text: #9E96A2;
  --footer-rule: #241D28;
  --accent: #FBAF04;
  --accent-hover: #FFD15C;
  --green: #25A632;
  --red: #DE0910;
  --logo-shadow: rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: 'Rubik', system-ui, sans-serif;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

picture {
  display: contents;
}

.banner {
  position: relative;
  width: 100%;
  aspect-ratio: 2.5 / 1;
  max-height: 640px;
  min-height: 320px;
  overflow: hidden;
}

.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.banner-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to bottom, var(--bg-clear), var(--bg));
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px 96px;
  margin-top: calc(-1 * clamp(64px, 9.2vw, 132px));
  position: relative;
}

.logo {
  width: min(640px, 80%);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 24px var(--logo-shadow));
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
}

.kicker p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.bars {
  display: flex;
  gap: 4px;
}

.bars-end {
  flex-direction: row-reverse;
}

.bars span {
  width: 18px;
  height: 6px;
}

.bars span:nth-child(1) {
  background: var(--accent);
}

.bars span:nth-child(2) {
  background: var(--green);
}

.bars span:nth-child(3) {
  background: var(--red);
}

h1 {
  margin: 20px 0 0;
  font-size: clamp(44px, 6.4vw, 64px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.01em;
  max-width: 900px;
  color: var(--heading);
}

.lead {
  margin: 28px 0 0;
  font-size: 20px;
  line-height: 1.6;
  max-width: 640px;
  color: var(--lead);
}

.platforms {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.platforms li {
  padding: 10px 20px;
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--chip-text);
}

.site-footer {
  border-top: 1px solid var(--footer-rule);
  padding: 28px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--footer-text);
}

.intro-standalone {
  margin-top: 0;
  padding-top: 96px;
}

.intro-standalone h1 {
  margin-top: 48px;
}

.intro-standalone .back {
  margin-top: 40px;
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .banner {
    aspect-ratio: auto;
    height: 320px;
    max-height: none;
  }

  .banner-fade {
    height: 50%;
  }

  .intro {
    padding: 0 16px 56px;
    margin-top: -64px;
  }

  .logo {
    width: min(300px, 100%);
    filter: drop-shadow(0 8px 16px var(--logo-shadow));
  }

  .kicker {
    gap: 10px;
    margin-top: 32px;
  }

  .kicker p {
    font-size: 13px;
    letter-spacing: 0.22em;
  }

  .bars {
    gap: 3px;
  }

  .bars span {
    width: 12px;
    height: 5px;
  }

  h1 {
    margin-top: 16px;
    font-size: 36px;
    line-height: 1.08;
    max-width: none;
  }

  .lead {
    margin-top: 20px;
    font-size: 17px;
    max-width: none;
  }

  .platforms {
    margin-top: 32px;
    gap: 10px;
  }

  .platforms li {
    padding: 9px 16px;
    font-size: 14px;
  }

  .site-footer {
    padding: 22px 16px;
    font-size: 13px;
  }

  .intro-standalone {
    margin-top: 0;
    padding-top: 56px;
  }

  .intro-standalone h1 {
    margin-top: 32px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  body {
    flex-direction: row;
  }

  .banner {
    width: min(360px, 43vw);
    height: auto;
    aspect-ratio: auto;
    max-height: none;
    min-height: 0;
    flex-shrink: 0;
  }

  .banner-img {
    object-position: 50% 30%;
  }

  .banner-fade {
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    width: 40%;
    height: auto;
    background: linear-gradient(to right, var(--bg-clear), var(--bg));
  }

  .content {
    min-width: 0;
    justify-content: center;
    padding: 20px 32px 16px 16px;
  }

  .intro {
    flex: none;
    align-items: flex-start;
    text-align: left;
    padding: 0;
    margin-top: 0;
  }

  .logo {
    width: min(220px, 100%);
    filter: drop-shadow(0 6px 12px var(--logo-shadow));
  }

  .kicker {
    gap: 10px;
    margin-top: 18px;
  }

  .kicker p {
    font-size: 12px;
    letter-spacing: 0.22em;
  }

  .bars {
    gap: 3px;
  }

  .bars span {
    width: 12px;
    height: 5px;
  }

  .bars-end {
    display: none;
  }

  h1 {
    margin-top: 10px;
    font-size: 28px;
    line-height: 1.1;
    max-width: none;
  }

  .lead {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.5;
    max-width: none;
  }

  .platforms {
    margin-top: 16px;
    justify-content: flex-start;
    gap: 8px;
  }

  .platforms li {
    padding: 7px 14px;
    font-size: 13px;
  }

  .site-footer {
    margin-top: 18px;
    border-top: 0;
    padding: 0;
    text-align: left;
    font-size: 12px;
  }

  .intro-standalone h1 {
    margin-top: 18px;
  }

  .intro-standalone .back {
    margin-top: 16px;
  }
}
