:root {
  color-scheme: dark;
  --bg: oklch(0.02 0 0);
  --panel: oklch(0.12 0.01 260);
  --panel-strong: oklch(0.16 0.015 260);
  --text: oklch(0.98 0.002 95);
  --muted: oklch(0.74 0.01 260);
  --line: oklch(0.27 0.01 260);
  --yellow: oklch(0.88 0.18 96);
  --yellow-soft: oklch(0.74 0.14 96);
  --red: oklch(0.68 0.22 28);
  --green: oklch(0.77 0.22 137);
  --blue: oklch(0.64 0.2 252);
  --shadow: oklch(0 0 0 / 0.62);
  --radius: 24px;
  --page-pad: clamp(18px, 4vw, 56px);
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed", "Impact", sans-serif;
  --sans: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 76% 14%, oklch(0.2 0.07 35 / 0.45), transparent 31rem),
    radial-gradient(circle at 20% 46%, oklch(0.22 0.08 96 / 0.22), transparent 28rem),
    linear-gradient(180deg, oklch(0.03 0 0), var(--bg) 42rem);
  font-family: var(--sans);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

mark {
  color: var(--yellow);
  background: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px var(--page-pad);
  background: oklch(0.04 0 0 / 0.78);
  border-bottom: 1px solid oklch(0.25 0.01 260 / 0.7);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand__icon {
  width: 58px;
  height: 58px;
  border: 1px solid oklch(0.4 0.02 260);
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 14px 38px var(--shadow);
}

.brand__text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand__text > span {
  font-weight: 900;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  letter-spacing: 0;
  line-height: 1;
}

.brand__text small {
  color: var(--muted);
  font-size: clamp(0.68rem, 1.2vw, 0.86rem);
  font-weight: 800;
  text-transform: uppercase;
}

.header-actions,
.hero__actions,
.download__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.link-button,
.cta,
.store-button {
  min-height: 46px;
  border-radius: 999px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--bg);
  background: var(--yellow);
  font-weight: 900;
}

.link-button--ghost {
  color: var(--text);
  background: oklch(0.14 0.01 260 / 0.72);
  border: 1px solid var(--line);
}

.link-button:hover,
.cta:hover,
.store-button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  min-height: min(860px, calc(100svh - 95px));
  padding: clamp(38px, 5vw, 76px) var(--page-pad) clamp(48px, 7vw, 94px);
  overflow: hidden;
}

.hero__content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
dl {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: clamp(3.8rem, 7.6vw, 7.8rem);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.87;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: var(--yellow);
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: oklch(0.89 0.01 260);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-weight: 950;
}

.cta--primary {
  color: var(--bg);
  background: var(--yellow);
  box-shadow: 0 22px 50px oklch(0.75 0.16 96 / 0.22);
}

.cta--telegram {
  color: var(--text);
  background: oklch(0.2 0.07 252 / 0.62);
  border-color: oklch(0.56 0.18 252 / 0.72);
}

.cta__icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--yellow);
  background: var(--bg);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
}

.cta--telegram .cta__icon {
  color: var(--text);
  background: var(--blue);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 610px;
  margin: 34px 0 0;
}

.hero__stats div {
  padding: 18px;
  background: oklch(0.11 0.01 260 / 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.hero__stats dt {
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 0.9;
}

.hero__stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero__visual {
  position: relative;
}

.hero__visual::before {
  position: absolute;
  inset: 8% 0 0 8%;
  z-index: -1;
  content: "";
  background: radial-gradient(circle, oklch(0.8 0.18 96 / 0.28), transparent 60%);
  filter: blur(8px);
}

.hero__visual img {
  width: min(100%, 760px);
  margin-left: auto;
  border: 1px solid oklch(0.25 0.01 260);
  border-radius: var(--radius);
  box-shadow: 0 42px 120px var(--shadow);
}

.features,
.screens,
.download {
  padding: clamp(54px, 7vw, 92px) var(--page-pad);
}

.features {
  padding-top: clamp(44px, 5vw, 68px);
}

.features__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

.section-heading {
  display: grid;
  gap: 6px;
  max-width: 560px;
  margin-bottom: 0;
}

h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-self: end;
}

.feature-card {
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(180deg, oklch(0.16 0.015 260 / 0.88), oklch(0.1 0.01 260 / 0.88)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.feature-card__icon {
  display: inline-grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: var(--yellow);
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.feature-card--hot .feature-card__icon {
  color: var(--red);
}

.feature-card--growth .feature-card__icon {
  color: var(--green);
}

.feature-card h3 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
}

.feature-card p,
.screens__copy p,
.download__app p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.screens {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: linear-gradient(180deg, oklch(0.04 0 0), oklch(0.08 0.01 260));
  border-block: 1px solid oklch(0.22 0.01 260);
}

.screens__copy {
  max-width: 510px;
}

.screens__copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.screens__visual {
  padding: clamp(10px, 1.6vw, 18px);
  background: oklch(0.1 0.01 260 / 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 34px 90px var(--shadow);
}

.screens__visual img {
  width: 100%;
  border-radius: calc(var(--radius) - 10px);
}

.download__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 16% 0%, oklch(0.78 0.17 96 / 0.22), transparent 20rem),
    linear-gradient(135deg, oklch(0.17 0.015 260), oklch(0.08 0.01 260));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px var(--shadow);
}

.download__app {
  display: flex;
  align-items: center;
  gap: 22px;
}

.download__app img {
  width: clamp(82px, 10vw, 132px);
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 22px 52px var(--shadow);
}

.download__app h2 {
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 4.2vw, 4.4rem);
}

.download__actions {
  justify-content: flex-end;
  max-width: 410px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 190px;
  padding: 12px 16px;
  background: oklch(0.08 0 0);
  border: 1px solid oklch(0.34 0.01 260);
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 1;
}

.store-button small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.store-button__badge,
.store-button__play {
  display: inline-grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.store-button__badge {
  color: var(--text);
  background: var(--blue);
  font-size: 1.2rem;
}

.store-button:first-child .store-button__badge {
  background: linear-gradient(145deg, var(--blue), oklch(0.72 0.19 255));
}

.store-button--telegram {
  border-color: oklch(0.55 0.18 252 / 0.75);
}

.store-button--telegram .store-button__badge {
  background: var(--blue);
}

.store-button--disabled {
  color: oklch(0.8 0.01 260);
  opacity: 0.72;
}

.store-button__play {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green), var(--yellow), var(--red));
}

.store-button__play::after {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--text);
  content: "";
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px var(--page-pad) 34px;
  color: var(--muted);
  border-top: 1px solid oklch(0.2 0.01 260);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .hero,
  .features__layout,
  .screens,
  .download__panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual img {
    width: min(100%, 680px);
    margin: 0 auto;
  }

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

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

  .download__actions {
    justify-content: flex-start;
    max-width: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    padding-top: 14px;
  }

  .brand__icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .brand__text small,
  .header-actions .link-button--ghost {
    display: none;
  }

  .link-button {
    min-height: 42px;
    padding: 0 16px;
  }

  .hero {
    padding-top: 30px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 12vw, 4rem);
    line-height: 0.92;
  }

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

  .hero__visual img {
    border-radius: 18px;
  }

  .download__app {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

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