:root {
  --bg: #0a0a0a;
  --panel: #101010;
  --panel-border: #1c1c1c;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.42);
  --muted-strong: rgba(255, 255, 255, 0.6);
  --subtle: rgba(255, 255, 255, 0.08);
  --pink: #f22757;
  --pink-hover: #ff3366;
  --white-btn: #ffffff;
  --dark-btn: #111111;
  --grey-link: #666666;
  --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.24);
  --section-max: 1312px;
  --content-max: 1789px;
  --gutter: clamp(16px, 2vw, 32px);
}

@font-face {
  font-family: "Inter";
  src: url("../assets/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: clip;
}

img,
svg {
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
}

.reveal {
  opacity: 0;
  transform: translateY(56px) scale(0.98);
  transition:
    opacity 960ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 960ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-header {
  width: min(var(--content-max), calc(100% - clamp(24px, 5vw, 132px)));
  margin: 14px auto 0;
}

.site-header__inner {
  min-height: 67px;
  padding: 12px 18px 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(10, 10, 10, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 32px);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.56);
  transition: color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: rgba(255, 255, 255, 0.88);
}

.site-nav__discord {
  padding: 14px 22px;
  border-radius: 0;
  background: #fff;
  color: #111 !important;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.site-nav__discord:hover,
.site-nav__discord:focus-visible {
  background: #f2f2f2;
}

.section {
  padding-inline: var(--gutter);
}

.section-inner {
  width: min(100%, var(--section-max));
  margin: 0 auto;
}

.hero {
  padding-top: clamp(180px, 16vw, 300px);
}

.hero__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero__subtitle {
  align-self: center;
  margin: 0;
  font-size: clamp(18px, 1.9vw, 36px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.14em;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: max-content;
  margin-inline: auto;
  text-align: center;
  transform-origin: center center;
}

.hero__subtitle-copy {
  display: inline-block;
  flex: 0 0 auto;
  text-align: left;
}

.hero__rotator-shell {
  margin-left: 0.25em;
  display: inline-block;
  flex: 0 0 auto;
  height: 1.12em;
  vertical-align: top;
  min-width: 0;
  clip-path: inset(0 -200% 0 -200%);
}

.hero__rotator {
  --rotator-height: 1.12em;
  position: relative;
  display: inline-block;
  height: var(--rotator-height);
  min-width: 0;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__rotator-word {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: var(--rotator-height);
  white-space: nowrap;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  transform: translateY(-0.58em);
  filter: blur(1.2px);
  will-change: transform, opacity, filter;
}

.hero__rotator-word.is-current {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero__rotator-word.is-leaving {
  animation: hero-rotator-leave 560ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__rotator-word.is-entering {
  animation: hero-rotator-enter 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hero-rotator-leave {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    filter: blur(1.4px);
    transform: translateY(0.52em);
  }
}

@keyframes hero-rotator-enter {
  0% {
    opacity: 0;
    filter: blur(1.4px);
    transform: translateY(-0.52em);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.hero__actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn,
.hero__link {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 89px;
  padding: 20px 34px;
  transition: transform 160ms ease, filter 160ms ease, background-color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn--primary {
  min-width: 259px;
  background: var(--white-btn);
  color: var(--dark-btn);
}

.hero__link {
  color: rgba(255, 255, 255, 0.34);
  font-weight: 500;
  transition: color 160ms ease;
}

.hero__link:hover,
.hero__link:focus-visible {
  color: rgba(255, 255, 255, 0.62);
}

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: clamp(84px, 8vw, 126px);
  opacity: 0.66;
  color: rgba(255, 255, 255, 0.24);
  transition: color 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.scroll-indicator:hover,
.scroll-indicator:focus-visible {
  color: rgba(255, 255, 255, 0.42);
  transform: translateY(2px);
}

.section--pricing {
  margin-top: clamp(140px, 12vw, 220px);
}

.section-title {
  margin: 0;
  text-align: center;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.pricing-grid {
  margin-top: clamp(42px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 400px));
  justify-content: center;
  gap: 32px 28px;
}

.pricing-card {
  min-height: 706px;
  padding: 52px 52px 48px;
  border: 2px solid var(--panel-border);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pricing-card__head {
  margin-top: 4px;
}

.pricing-card__price {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.pricing-card__subtitle {
  margin: 12px 0 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--muted);
}

.pricing-card__features {
  width: 100%;
  margin: 62px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 27px;
  text-align: left;
}

.pricing-card__features li {
  display: grid;
  grid-template-columns: 57px 1fr;
  align-items: center;
  gap: 10px;
}

.pricing-card__check {
  width: 57px;
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  color: #fff;
  margin-left: 0;
}

.pricing-card__label {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--muted);
}

.pricing-card__cta {
  margin-top: auto;
  min-width: 259px;
  min-height: 89px;
  padding-inline: 44px;
  font-size: 36px;
}

.section--media {
  margin-top: clamp(140px, 12vw, 220px);
}

.section-inner--media {
  max-width: 1312px;
}

.section-title--media {
  margin-bottom: 64px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 636px));
  justify-content: center;
  gap: 48px 36px;
}

.media-card {
  position: relative;
  display: block;
  aspect-ratio: 636 / 358;
  overflow: hidden;
  background: #111;
  width: 100%;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
}

.media-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  margin-top: clamp(150px, 12vw, 240px);
  padding: 0 var(--gutter) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__inner {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__brand {
  margin: 0;
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__links a {
  color: inherit;
  opacity: 0.92;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  opacity: 1;
}

@media (max-width: 1320px) {
  .pricing-grid,
  .media-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-card,
  .media-card {
    width: min(100%, 636px);
    margin-inline: auto;
  }

  .pricing-card {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .site-header {
    width: min(var(--content-max), calc(100% - 24px));
    margin-top: 12px;
  }

  .site-header__inner {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: 16px;
    gap: 14px 18px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 16px;
  }

  .brand {
    font-size: 16px;
  }

  .hero {
    padding-top: clamp(120px, 22vw, 190px);
  }

  .hero__title,
  .section-title,
  .section-title--media,
  .site-footer__brand {
    font-size: 44px;
  }

  .hero__subtitle {
    font-size: 24px;
    flex-wrap: wrap;
    white-space: normal;
    max-width: 28ch;
    width: auto;
    gap: 0.18em;
  }

  .hero__rotator {
    min-width: 0;
    width: min(100%, 16ch);
  }

  .btn,
  .hero__link,
  .pricing-card__cta {
    font-size: 24px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 18px;
  }

  .btn--primary {
    min-width: min(100%, 259px);
  }

  .pricing-card {
    padding-inline: 24px;
  }

  .pricing-card__price {
    font-size: 44px;
  }

  .pricing-card__subtitle {
    font-size: 20px;
  }

  .pricing-card__features li {
    grid-template-columns: 30px 1fr;
  }

  .pricing-card__check {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }

  .pricing-card__label {
    font-size: 24px;
  }

  .site-footer__links {
    font-size: 16px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block: 18px 22px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .section {
    padding-inline: 16px;
  }

  .hero__subtitle {
    gap: 0.18em;
  }

  .hero__rotator {
    width: 100%;
  }

  .site-nav__discord {
    padding-inline: 18px;
  }

  .section-title--media {
    margin-bottom: 44px;
  }

  .pricing-card__features {
    gap: 20px;
  }

  .site-footer__links {
    gap: 16px;
    font-size: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}
