:root {
  color-scheme: dark;
  --bg: #09090b;
  --surface: rgba(25, 25, 29, .72);
  --surface-strong: rgba(34, 34, 39, .9);
  --line: rgba(255, 255, 255, .11);
  --text: #f7f6f2;
  --muted: #a4a3aa;
  --accent: #ff4d2e;
  --pointer-x: 50vw;
  --pointer-y: 20vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.ambient {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at var(--pointer-x) var(--pointer-y), rgba(255, 91, 51, .11), transparent 55%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  content: "";
}

.ambient__orb {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .22;
}

.ambient__orb--one {
  top: -18rem;
  right: -8rem;
  background: #ff4327;
}

.ambient__orb--two {
  bottom: 10%;
  left: -24rem;
  background: #6c35ff;
}

.ambient__grain {
  position: absolute;
  inset: -50%;
  opacity: .035;
  background-image: url("../media/noise.svg");
  transform: rotate(8deg);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  font-weight: 850;
  letter-spacing: .16em;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--text);
  color: var(--bg);
  font-size: 1rem;
  letter-spacing: 0;
  transform: rotate(-5deg);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .04em;
}

.live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #70e58e;
  box-shadow: 0 0 0 5px rgba(112, 229, 142, .1);
  animation: pulse 2s ease-in-out infinite;
}

.hero {
  padding: clamp(72px, 12vw, 150px) 0 clamp(70px, 10vw, 120px);
}

.kicker {
  margin: 0 0 24px;
  color: #d5d3da;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .3em;
}

.hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(4rem, 12.5vw, 10.5rem);
  font-weight: 850;
  letter-spacing: -.075em;
  line-height: .82;
}

.hero h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(247, 246, 242, .58);
}

.hero__copy {
  max-width: 610px;
  margin: 42px 0 30px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 16px 21px;
  border-radius: 999px;
  background: var(--text);
  color: #111;
  font-size: .9rem;
  font-weight: 750;
  transition: gap .25s ease, transform .25s ease, background .25s ease;
}

.hero__cta:hover {
  gap: 29px;
  background: #fff;
  transform: translateY(-2px);
}

.hero__cta svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.social-card {
  position: relative;
  display: flex;
  min-height: 285px;
  grid-column: span 2;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(16px);
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}

.social-card::before {
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  bottom: -90px;
  border-radius: 50%;
  background: var(--card-color, #fff);
  content: "";
  filter: blur(70px);
  opacity: .08;
  transition: opacity .3s ease, transform .3s ease;
}

.social-card:hover {
  border-color: rgba(255, 255, 255, .24);
  background: var(--surface-strong);
  transform: translateY(-5px);
}

.social-card:hover::before {
  opacity: .2;
  transform: scale(1.2);
}

.social-card--featured {
  min-height: 330px;
  grid-column: span 3;
}

.social-card--telegram { --card-color: #29a9ea; }
.social-card--youtube { --card-color: #ff2233; }
.social-card--tiktok { --card-color: #25f4ee; }
.social-card--instagram { --card-color: #e94d8b; }
.social-card--bot {
  min-height: 250px;
  grid-column: 1 / -1;
  --card-color: #f0bd43;
}

.social-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.social-card__icon {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
  background: rgba(255, 255, 255, .075);
  color: var(--card-color);
}

.social-card__icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
}

.social-card__icon rect,
.social-card__icon circle:not(.fill) {
  fill: none;
}

.social-card__arrow {
  color: #77767d;
  font-size: 1.35rem;
  transition: color .25s ease, transform .25s ease;
}

.social-card:hover .social-card__arrow {
  color: var(--text);
  transform: translate(3px, -3px);
}

.social-card__body {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.social-card__eyebrow {
  margin-bottom: 8px;
  color: var(--card-color);
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.social-card strong {
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  letter-spacing: -.045em;
}

.social-card__description {
  max-width: 330px;
  margin-top: 10px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.manifesto {
  margin: clamp(100px, 16vw, 190px) 0;
  font-size: clamp(2rem, 6vw, 5.2rem);
  font-weight: 780;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.manifesto p {
  margin: 0;
}

.manifesto span {
  color: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 38px;
  border-top: 1px solid var(--line);
  color: #75747a;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  50% { opacity: .45; }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .shell {
    width: min(100% - 48px, 900px);
  }

  .hero {
    padding: 100px 0 90px;
  }

  .hero h1 {
    font-size: clamp(5.5rem, 13vw, 8rem);
  }

  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-card,
  .social-card--featured {
    min-height: 270px;
    grid-column: span 1;
  }

  .social-card--bot {
    min-height: 230px;
    grid-column: 1 / -1;
  }

  .manifesto {
    margin: 130px 0;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 24px, 600px);
  }

  .site-header {
    height: 70px;
  }

  .brand {
    gap: 10px;
    font-size: .82rem;
  }

  .brand__mark {
    width: 31px;
    height: 31px;
    border-radius: 10px;
  }

  .live-pill {
    font-size: 0;
  }

  .hero {
    display: flex;
    min-height: min(720px, calc(100svh - 70px));
    flex-direction: column;
    justify-content: center;
    padding: 54px 0 64px;
  }

  .kicker {
    margin-bottom: 20px;
    font-size: .64rem;
    letter-spacing: .23em;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 18vw, 5.9rem);
    line-height: .86;
  }

  .hero__copy {
    margin: 30px 0 26px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero__cta {
    width: 100%;
    justify-content: space-between;
    padding: 15px 19px;
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .social-card,
  .social-card--featured {
    min-height: 205px;
    grid-column: span 1;
    padding: 22px;
    border-radius: 22px;
  }

  .social-card__icon {
    width: 43px;
    height: 43px;
    border-radius: 14px;
  }

  .social-card strong {
    font-size: clamp(1.65rem, 9vw, 2.25rem);
  }

  .social-card__description {
    max-width: 290px;
  }

  .manifesto {
    margin: 92px 0;
    font-size: clamp(2.25rem, 12vw, 4rem);
    line-height: 1.06;
  }

  .site-footer {
    gap: 12px;
    flex-direction: column;
    padding-bottom: 26px;
    line-height: 1.45;
  }
}

@media (max-width: 390px) {
  .hero {
    min-height: auto;
    padding: 62px 0 70px;
  }

  .hero h1 {
    font-size: clamp(3rem, 17.5vw, 4.25rem);
  }

  .hero__copy {
    font-size: .94rem;
  }

  .social-card,
  .social-card--featured {
    min-height: 190px;
  }
}

@media (hover: none) {
  .hero__cta:hover,
  .social-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
