:root {
  color-scheme: dark;
  --background: #11151d;
  --surface: #171d29;
  --surface-hover: #202a3a;
  --text: #e8edf7;
  --muted: #9aa9c0;
  --line: rgb(200 214 229 / 24%);
  --gold: #ffd54f;
  --blue: #8fd8ff;
  --pink: #ff9fc2;
  --font-ui: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Manrope', 'Segoe UI', sans-serif;
  --font-pixel: 'Silkscreen', 'Courier New', monospace;
}

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

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

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

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

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.background {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: var(--background);
  pointer-events: none;
}

.background::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgb(17 21 29 / 84%) 0%,
      rgb(17 21 29 / 73%) 35%,
      rgb(17 21 29 / 51%) 68%,
      rgb(17 21 29 / 34%) 100%
    ),
    linear-gradient(0deg, rgb(17 21 29 / 28%), transparent 58%);
  content: '';
}

.background__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9) saturate(0.86) contrast(1.04);
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 2080px);
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: clamp(32px, 5vh, 68px) clamp(24px, 5.2vw, 112px);
}

.hero__texto {
  display: flex;
  width: min(100%, 780px);
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.hero__titulo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.2em;
  margin: 0;
  font-family: var(--font-pixel);
  font-size: clamp(2.6rem, 5.2vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.3;
  text-shadow:
    2px 2px 0 #11151d,
    4px 4px 0 rgb(7 10 16 / 55%);
}

.hero__nome {
  white-space: nowrap;
}

.hero__nome--tuiu {
  color: var(--blue);
}

.hero__nome--nany {
  color: var(--pink);
}

.hero__elo {
  color: var(--gold);
  font-size: 0.6em;
  font-weight: 700;
  letter-spacing: 0;
}

.hero__frase {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.hero__descricao {
  max-width: 54ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero__nota {
  margin: 14px 0 0;
  color: rgb(232 237 247 / 76%);
  font-size: 13px;
}

.cta {
  display: grid;
  width: min(100%, 340px);
  min-height: 64px;
  grid-template-columns: 1fr auto;
  align-content: center;
  align-items: center;
  padding: 10px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  box-shadow: 0 10px 28px rgb(0 0 0 / 24%);
  color: #11151d;
  transition:
    transform 120ms ease,
    background 120ms ease,
    box-shadow 120ms ease;
  text-align: left;
}

.cta:hover {
  transform: translateY(-2px);
  background: #ffe082;
  box-shadow: 0 14px 32px rgb(0 0 0 / 28%);
}

.cta:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgb(0 0 0 / 22%);
}

.cta > span {
  grid-column: 1;
  grid-row: 1;
  font-size: 15px;
  font-weight: 700;
}

.cta small {
  grid-column: 1;
  grid-row: 2;
  color: rgb(17 21 29 / 74%);
  font-size: 11px;
  line-height: 1.4;
}

.cta svg {
  width: 16px;
  height: 16px;
  grid-column: 2;
  grid-row: 1 / span 2;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.5;
}

.downloads {
  width: 100%;
  margin-top: 38px;
}

.downloads__titulo {
  margin: 0 0 14px;
  color: rgb(232 237 247 / 78%);
  font-size: 14px;
  font-weight: 500;
}

.downloads__lista {
  display: grid;
  max-width: 520px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
}

.download {
  display: flex;
  min-width: 0;
  min-height: 72px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgb(232 237 247 / 18%);
  border-radius: 8px;
  background: rgb(232 237 247 / 7%);
  backdrop-filter: blur(18px) saturate(1.2);
  transition:
    transform 160ms ease,
    border-color 120ms ease,
    background 120ms ease;
}

.download:hover {
  transform: translateY(-2px);
  border-color: rgb(232 237 247 / 32%);
  background: rgb(232 237 247 / 12%);
}

.download img {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.download > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.35;
}

.download strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

.download small {
  color: rgb(232 237 247 / 72%);
  font-size: 12px;
}

@media (min-width: 1700px) {
  .hero__frase {
    font-size: clamp(2.6rem, 3vw, 3.5rem);
  }

  .hero__descricao {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
    padding: clamp(40px, 7vh, 72px) clamp(24px, 6vw, 64px);
  }

  .hero__texto {
    width: min(100%, 680px);
  }

  .hero__titulo {
    font-size: clamp(2.3rem, 5vw, 3.2rem);
  }
}

@media (max-width: 560px) {
  .background::after {
    background:
      linear-gradient(90deg, rgb(17 21 29 / 78%), rgb(17 21 29 / 62%)),
      linear-gradient(0deg, rgb(17 21 29 / 24%), transparent);
  }

  .hero {
    padding: 36px 20px 42px;
  }

  .hero__titulo {
    gap: 0 0.2em;
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    letter-spacing: -0.04em;
  }

  .hero__frase {
    margin-top: 21px;
    font-size: clamp(1.45rem, 6.5vw, 1.8rem);
  }

  .hero__descricao {
    margin-top: 12px;
    font-size: 14px;
  }

  .cta {
    width: 100%;
    min-height: 60px;
  }

  .downloads {
    margin-top: 30px;
  }

  .download {
    min-height: 64px;
    gap: 9px;
    padding: 10px 12px;
  }

  .download img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-right: 17px;
    padding-left: 17px;
  }

  .hero__titulo {
    font-size: clamp(1.75rem, 8vw, 2.1rem);
  }

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

@media (max-height: 700px) {
  .hero {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero__frase {
    margin-top: 19px;
  }

  .hero__descricao {
    margin-top: 10px;
  }

  .downloads {
    margin-top: 20px;
  }
}

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

@media (prefers-contrast: more) {
  :root {
    --muted: #c8d6e5;
    --line: rgb(232 237 247 / 40%);
  }
}
