:root {
  color-scheme: dark;
  --bg: #0f1117;
  --bg-soft: #151a24;
  --surface: #1a1f2e;
  --surface-2: #222838;
  --text: #ffffff;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.1);
  --blue: #2f6bff;
  --green: #22c55e;
  --violet: #8b5cf6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 0%, rgba(47, 107, 255, 0.18), transparent 32rem),
    linear-gradient(180deg, #0b0d12 0%, var(--bg) 46%, #10131b 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(15, 17, 23, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(36px, 7vw, 92px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}

.hero__content {
  max-width: 720px;
}

.hero__icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  box-shadow: 0 18px 60px rgba(47, 107, 255, 0.28);
}

.eyebrow {
  margin: 24px 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(58px, 12vw, 136px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lead {
  max-width: 650px;
  color: #d7dce8;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.45;
}

.actions,
.download__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button--primary {
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.3);
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button--disabled {
  color: var(--muted);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: not-allowed;
}

.hero__media {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(100%, 360px);
  aspect-ratio: 0.52;
  padding: 28px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(34, 40, 56, 0.96), rgba(13, 16, 24, 0.96)),
    var(--surface);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.4),
    inset 0 1px rgba(255, 255, 255, 0.14);
}

.phone__bar {
  width: 82px;
  height: 5px;
  margin: 0 auto 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.chat {
  width: fit-content;
  max-width: 82%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  color: #eef3ff;
  line-height: 1.35;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.chat--left {
  background: #242b3e;
}

.chat--right {
  margin-left: auto;
  background: var(--blue);
}

.band,
.section,
.download,
.status {
  padding: clamp(46px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metrics div,
.grid article {
  background: rgba(26, 31, 46, 0.74);
}

.metrics div {
  padding: 24px;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  margin-bottom: 6px;
  font-size: 22px;
}

.metrics span,
.section__intro p,
.grid p,
.download p {
  color: var(--muted);
  line-height: 1.65;
}

.section__intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.grid span {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--blue);
  font-weight: 900;
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(47, 107, 255, 0.12), transparent 62%),
    var(--bg-soft);
}

.download p {
  max-width: 760px;
}

.status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.status h2 {
  width: 100%;
  margin-bottom: 4px;
  font-size: 28px;
}

.status a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: auto;
  }

  .hero__media {
    order: -1;
  }

  .phone {
    width: min(100%, 300px);
  }

  .metrics,
  .grid,
  .download {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }

  .button {
    width: 100%;
  }

  .hero__icon {
    width: 72px;
    height: 72px;
  }
}
