:root {
  color-scheme: dark;
  --bg: #0d0d0e;
  --bg-soft: #141417;
  --panel: rgba(20, 20, 24, 0.82);
  --panel-strong: rgba(26, 26, 31, 0.96);
  --text: #f2f2f2;
  --muted: #a9a9b2;
  --red: #f94a4a;
  --red-bright: #ff6262;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --frame: 1380px;
  --pad: clamp(18px, 4vw, 72px);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at 72% 20%, rgba(249, 74, 74, 0.09), transparent 29rem),
    radial-gradient(circle at 18% 74%, rgba(249, 74, 74, 0.05), transparent 25rem),
    var(--bg);
  color: var(--text);
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.page-glow {
  position: fixed;
  z-index: -3;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .12;
  pointer-events: none;
}
.page-glow--one { top: 10%; right: -190px; background: var(--red); }
.page-glow--two { bottom: -250px; left: 4%; background: #962b2b; }
.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.46), transparent);
  pointer-events: none;
}
.header.is-solid {
  background: rgba(13, 13, 14, .9);
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 10px 34px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
}
.header.is-solid::after { opacity: 0; }
.header__inner {
  width: 100%;
  height: 90px;
  padding: 0 clamp(20px, 5.5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 140px;
  height: 53px;
}
.logo__img {
  display: block;
  width: auto;
  height: 53px;
  transition: opacity .2s ease, transform .2s ease;
}
.logo__img--hover { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.logo:hover .logo__img--hover { opacity: 1; }
.logo:hover .logo__img--base { opacity: 0; }
.logo:hover .logo__img { transform: translateY(-1px); }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.55vw, 28px);
  min-width: 0;
}
.nav__link {
  position: relative;
  flex: 0 0 auto;
  padding: 9px 0;
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 800;
  letter-spacing: 0.15px;
  white-space: nowrap;
  text-decoration: none;
  opacity: 0.9;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease;
}
.nav__link:hover::after,
.nav__link--active::after { transform: scaleX(1); }
.nav__link--active { opacity: 1; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.burger {
  width: 45px;
  height: 45px;
  display: none;
  place-items: center;
  padding: 11px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  align-content: center;
  gap: 5px;
  transition:
    background .18s ease,
    transform .18s ease;
}

.burger:hover {
  background: rgba(255, 255, 255, .07);
  transform: translateY(-1px);
}
.burger { display: none; padding: 11px; align-content: center; gap: 5px; }
.burger span { width: 23px; height: 2px; border-radius: 2px; background: #fff; transition: .2s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  margin: 0 14px 14px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(31,31,38,.97), rgba(10,10,14,.98));
  box-shadow: 0 24px 65px rgba(0,0,0,.52), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(22px);
}
.mobile-menu a {
  display: block;
  padding: 13px 15px;
  border-radius: 13px;
  color: #e9e9ec;
  font-weight: 750;
  text-decoration: none;
}
.mobile-menu a:hover,
.mobile-menu a.is-active { background: rgba(249,74,74,.13); color: #fff; }
.mobile-menu.is-open { display: block; animation: menuIn .2s ease both; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

.main { min-height: 100vh; }
.hero {
  position: relative;
  width: min(100%, var(--frame));
  min-height: 790px;
  margin: 0 auto;
  padding: 150px var(--pad) 90px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr);
  align-items: center;
  gap: clamp(42px, 6vw, 94px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 110px 0 35px;
  z-index: -2;
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: 42px;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(249, 74, 74, .045),
      transparent 30rem
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .018),
      transparent 52%
    );
  pointer-events: none;
}
.hero__copy { position: relative; z-index: 2; }
.eyebrow {
  width: fit-content;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(249,74,74,.42);
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  color: #ededf0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .35px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(249,74,74,.12), 0 0 20px rgba(249,74,74,.85);
}
h1 {
  margin: 0;
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: .99;
  letter-spacing: -2.8px;
  font-weight: 950;
  text-wrap: balance;
  text-shadow: 0 2px 26px rgba(0,0,0,.34);
}
h1 span {
  color: var(--red);
  text-shadow: 0 0 2px rgba(232,0,0,.65), 0 11px 30px rgba(229,57,53,.16);
}
.hero__lead {
  max-width: 610px;
  margin: 26px 0 0;
  color: #c3c3ca;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.62;
}
.feature-pills { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.feature-pills span {
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #ededf0;
  font-size: 13px;
  font-weight: 750;
}
.hero__actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.button {
  height: 56px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.button svg { width: 20px; height: 20px; }
.button--primary { background: var(--red); color: white; box-shadow: 0 12px 30px rgba(229,57,53,.28); }
.button--primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 17px 42px rgba(229,57,53,.4); }
.release-status { display: inline-flex; align-items: center; gap: 10px; color: #bebec6; font-size: 14px; font-weight: 700; }
.release-status__pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(249,74,74,.55);
  animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(249,74,74,0); } 100% { box-shadow: 0 0 0 0 rgba(249,74,74,0); } }

.hero__visual { position: relative; min-height: 545px; display: grid; place-items: center; }
.hero__visual::before {
  content: "";
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(249,74,74,.14);
  box-shadow: inset 0 0 80px rgba(249,74,74,.035), 0 0 100px rgba(249,74,74,.025);
}
.orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.orb--one { top: 5%; right: 6%; width: 170px; height: 170px; background: radial-gradient(circle at 35% 30%, rgba(249,74,74,.18), rgba(249,74,74,.01) 67%); }
.orb--two { bottom: 3%; left: 6%; width: 120px; height: 120px; background: radial-gradient(circle, rgba(255,255,255,.07), transparent 67%); }
.chat-card {
  position: relative;
  z-index: 2;
  width: min(100%, 660px);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(249,74,74,.11), transparent 34%),
    linear-gradient(180deg, rgba(28,28,34,.9), rgba(10,10,14,.9));
  box-shadow: 0 35px 90px rgba(0,0,0,.52), inset 0 1px rgba(255,255,255,.1);
  backdrop-filter: blur(24px);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}
.chat-card__topbar { min-height: 83px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.chat-card__kicker { color: #94949e; font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.chat-card__topbar h2 { margin: 4px 0 0; font-size: 20px; line-height: 1; }
.online-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(0,0,0,.22); color: #bebec6; font-size: 10px; font-weight: 800; }
.online-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 11px rgba(249,74,74,.75); }
.chat-card__content { min-height: 336px; display: grid; grid-template-columns: 152px 1fr; }
.channels { padding: 20px 13px; border-right: 1px solid var(--line); background: rgba(0,0,0,.13); }
.channels__title { display: block; margin: 0 9px 13px; color: #777781; font-size: 10px; font-weight: 850; letter-spacing: .8px; text-transform: uppercase; }
.channel { margin-bottom: 5px; padding: 9px 10px; display: flex; align-items: center; gap: 8px; border-radius: 10px; color: #92929c; font-size: 11px; font-weight: 750; }
.channel b { color: #666671; font-size: 14px; }
.channel--active { background: rgba(249,74,74,.12); color: #fff; }
.channel--active b { color: var(--red); }
.messages { position: relative; padding: 23px 20px 70px; }
.message { display: grid; grid-template-columns: 34px 1fr; gap: 11px; margin-bottom: 19px; animation: messageIn .7s ease both; }
.message:nth-child(2) { animation-delay: .15s; }
.message:nth-child(3) { animation-delay: .3s; }
@keyframes messageIn { from { opacity: 0; transform: translateY(8px); } }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: #fff; font-size: 11px; font-weight: 900; box-shadow: inset 0 1px rgba(255,255,255,.14); }
.avatar--red { background: linear-gradient(145deg, #ff6464, #a81f1f); }
.avatar--dark { background: linear-gradient(145deg, #34343e, #151519); }
.avatar--outline { border: 1px solid rgba(249,74,74,.55); background: rgba(249,74,74,.08); color: var(--red-bright); }
.message__meta { display: flex; align-items: baseline; gap: 8px; }
.message__meta b { font-size: 12px; }
.message__meta time { color: #686872; font-size: 9px; }
.message p { width: fit-content; margin: 5px 0 0; padding: 9px 11px; border-radius: 4px 12px 12px 12px; background: rgba(255,255,255,.055); color: #d4d4d9; font-size: 11px; line-height: 1.45; }
.typing { width: 49px; height: 30px; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 4px 12px 12px 12px; background: rgba(255,255,255,.055); }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: #8a8a94; animation: typing 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-3px); opacity: 1; } }
.composer { position: absolute; left: 18px; right: 18px; bottom: 17px; height: 42px; padding: 0 8px 0 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(0,0,0,.25); color: #666671; font-size: 10px; }
.composer button { width: 29px; height: 29px; display: grid; place-items: center; border: 0; border-radius: 9px; background: var(--red); color: white; }
.composer svg { width: 15px; height: 15px; }
.mascot { position: absolute; z-index: 4; right: -34px; bottom: -20px; width: 190px; height: auto; filter: drop-shadow(0 22px 30px rgba(0,0,0,.48)); transform: rotate(3deg); animation: floatMascot 5s ease-in-out infinite; }
@keyframes floatMascot { 50% { transform: translateY(-8px) rotate(2deg); } }
.floating-note { position: absolute; z-index: 5; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.14); background: rgba(19,19,23,.82); box-shadow: 0 17px 38px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(18px); color: #ededf0; font-size: 11px; font-weight: 850; }
.floating-note--top { top: 42px; left: -18px; padding: 10px 13px; border-radius: 14px; }
.floating-note--top svg { width: 18px; height: 18px; color: var(--red); }
.floating-note--bottom { left: 24px; bottom: 31px; padding: 8px 12px 8px 8px; border-radius: 15px; }
.floating-note--bottom span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--red); color: white; font-size: 10px; }

.roadmap {
  width: min(100%, var(--frame));
  margin: 0 auto;
  padding: 30px var(--pad) 110px;
}
.roadmap__heading { max-width: 700px; margin-bottom: 27px; }
.section-label { color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: 1.1px; text-transform: uppercase; }
.roadmap__heading h2 { margin: 10px 0 0; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; letter-spacing: -1.4px; }
.roadmap__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.roadmap-card {
  min-height: 235px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(22,22,26,.74), rgba(13,13,16,.62));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.roadmap-card:hover { transform: translateY(-4px); border-color: rgba(249,74,74,.28); background: linear-gradient(180deg, rgba(28,24,28,.82), rgba(13,13,16,.68)); }
.roadmap-card__icon { width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid rgba(249,74,74,.28); border-radius: 15px; background: rgba(249,74,74,.08); color: var(--red); }
.roadmap-card__icon svg { width: 25px; height: 25px; }
.roadmap-card h3 { margin: 21px 0 10px; font-size: 20px; }
.roadmap-card p { margin: 0; color: #9d9da6; font-size: 14px; line-height: 1.6; }

.footer {
  min-height: 105px;
  padding: 25px var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  background: rgba(7,7,8,.45);
  color: #777781;
  font-size: 12px;
}
.footer > a { display: block; }
.footer img { display: block; width: 120px; height: auto; opacity: .68; }
.footer p { margin: 0; text-align: center; }

@media (max-width: 1120px) {
  .header__inner { height: 78px; padding-inline: 32px; }
  .logo, .logo__img { height: 44px; }
  .logo { min-width: 120px; }
  .hero { padding-top: 130px; grid-template-columns: minmax(0, .86fr) minmax(430px, 1.14fr); gap: 38px; }
  h1 { letter-spacing: -2px; }
  .mascot { width: 160px; right: -12px; }
}

@media (max-width: 900px) {
  .header__inner { height: 68px; padding-inline: 18px; }
  .nav { display: none; }
  .header__home { display: none; }
  .burger { display: grid; }
  .logo, .logo__img { height: 39px; }
  .logo { min-width: 112px; }
  .hero { min-height: 0; padding-top: 112px; grid-template-columns: 1fr; gap: 42px; }
  .hero::before { inset: 88px 12px 20px; border-radius: 30px; }
  .hero__copy { max-width: 700px; }
  .hero__visual { min-height: 530px; }
  .chat-card { transform: none; }
  .roadmap__grid { grid-template-columns: 1fr; }
  .roadmap-card { min-height: 0; }
}

@media (max-width: 620px) {
  :root { --pad: 18px; }
  .header__inner { height: 64px; padding-inline: 14px; }
  .hero { padding-top: 98px; padding-bottom: 55px; }
  h1 { font-size: clamp(39px, 12vw, 58px); letter-spacing: -1.8px; }
  .hero__lead { margin-top: 20px; font-size: 16px; line-height: 1.55; }
  .feature-pills { margin-top: 22px; }
  .feature-pills span { font-size: 11px; padding: 8px 10px; }
  .hero__actions { align-items: stretch; gap: 15px; }
  .button { width: 100%; height: 52px; }
  .release-status { width: 100%; justify-content: center; }
  .hero__visual { min-height: 435px; }
  .chat-card { width: calc(100% + 2px); min-height: 350px; border-radius: 24px; }
  .chat-card__topbar { min-height: 72px; padding: 15px 16px; }
  .online-badge { padding: 6px 8px; font-size: 8px; }
  .chat-card__content { min-height: 278px; grid-template-columns: 1fr; }
  .channels { display: none; }
  .messages { padding: 20px 15px 67px; }
  .mascot { width: 120px; right: -11px; bottom: -5px; }
  .floating-note--top { top: -20px; left: 12px; }
  .floating-note--bottom { left: 8px; bottom: -17px; }
  .roadmap { padding-top: 35px; padding-bottom: 70px; }
  .roadmap__heading h2 { font-size: 31px; }
  .footer { grid-template-columns: 1fr; justify-items: center; gap: 13px; text-align: center; }
  .footer p { max-width: 440px; }
}

@media (max-width: 390px) {
  .eyebrow { font-size: 11px; }
  h1 { font-size: 38px; }
  .mascot { width: 105px; }
  .floating-note--bottom { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}