:root {
  --dark: #121522;
  --ink: #20243a;
  --muted: #667085;
  --line: #e6e8ef;
  --soft: #f6f8ff;
  --white: #ffffff;
  --primary: #655cff;
  --primary-dark: #4338ca;
  --accent: #1fc3a7;
  --warning: #ffb84c;
  --shadow: 0 20px 60px rgba(18, 21, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

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

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

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.26rem;
  font-weight: 900;
  color: var(--dark);
}

.logo img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(101, 92, 255, 0.22);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-menu a {
  color: #2c3148;
}

.nav-menu a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--dark);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(18, 21, 34, 0.9), rgba(38, 39, 78, 0.78)),
    radial-gradient(circle at 80% 20%, rgba(31, 195, 167, 0.32), transparent 34%),
    linear-gradient(135deg, #655cff, #121522);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 54px 54px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  max-width: 1200px;
  min-height: 690px;
  margin: 0 auto;
  padding: 68px 24px;
}

.hero-copy {
  color: var(--white);
}

.app-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.app-kicker img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.hero-list {
  display: grid;
  gap: 11px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.hero-list li {
  position: relative;
  padding-left: 30px;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.32);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 18px 40px rgba(101, 92, 255, 0.34);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.hero-media {
  display: grid;
  justify-items: center;
}

.hero-shot {
  width: min(370px, 86vw);
  border-radius: 30px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1120px;
  margin: -52px auto 0;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.stats-strip div {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(18, 21, 34, 0.09);
}

.stats-strip div:first-child {
  border-radius: 8px 0 0 8px;
}

.stats-strip div:last-child {
  border-radius: 0 8px 8px 0;
}

.stats-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1;
}

.stats-strip span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.content-section,
.article-layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 92px 22px;
}

.section-title {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-title p {
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
}

.section-title h2,
.article-card h2,
.two-column h2,
.safety-section h2 {
  margin-bottom: 16px;
  color: var(--dark);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
}

.section-title span,
.article-card p,
.two-column p,
.safety-section p,
.faq p {
  color: var(--muted);
  line-height: 1.78;
}

.screenshots {
  padding-top: 110px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.screenshot-grid img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
  padding-top: 24px;
}

.article-card,
.download-card,
.steps-box,
.version-table,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(18, 21, 34, 0.06);
}

.article-card {
  padding: clamp(28px, 5vw, 48px);
}

.article-card ol,
.steps-box ol {
  margin: 26px 0 0;
  padding-left: 22px;
  color: #3c4258;
  line-height: 1.9;
  font-weight: 650;
}

.download-card {
  position: sticky;
  top: 96px;
  padding: 28px;
  text-align: center;
}

.download-card img {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 22px;
}

.download-card h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.download-card p {
  color: var(--muted);
  line-height: 1.65;
}

.download-card .btn {
  width: 100%;
}

.two-column,
.safety-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 34px;
  align-items: center;
  max-width: none;
  padding-left: max(22px, calc((100vw - 1160px) / 2 + 22px));
  padding-right: max(22px, calc((100vw - 1160px) / 2 + 22px));
  background: var(--soft);
}

.steps-box {
  padding: 30px;
  background: var(--dark);
  color: var(--white);
}

.steps-box h3 {
  font-size: 1.45rem;
}

.steps-box ol {
  color: rgba(255, 255, 255, 0.82);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(18, 21, 34, 0.06);
}

.feature-grid span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: 8px;
  color: var(--white);
  background: var(--primary);
  font-weight: 900;
}

.feature-grid h3 {
  margin-bottom: 12px;
  font-size: 1.26rem;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.why-choose {
  max-width: none;
  padding-left: max(22px, calc((100vw - 1160px) / 2 + 22px));
  padding-right: max(22px, calc((100vw - 1160px) / 2 + 22px));
  background: var(--soft);
}

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

.choice-grid article,
.review-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(18, 21, 34, 0.06);
}

.choice-grid h3,
.review-grid h3 {
  margin-bottom: 12px;
  color: var(--dark);
  font-size: 1.28rem;
}

.choice-grid p,
.review-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.stars {
  margin-bottom: 20px;
  color: var(--warning);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0;
}

.muted-stars {
  color: #98a2b3;
}

.version-section {
  padding-top: 10px;
}

.version-table {
  overflow: hidden;
}

.version-table div {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.version-table div:last-child {
  border-bottom: 0;
}

.version-table span {
  color: var(--muted);
  font-weight: 800;
}

.version-table strong {
  color: var(--dark);
  word-break: break-word;
}

.safety-section {
  background: linear-gradient(135deg, #f6f8ff, #eefdf9);
}

.safety-list {
  display: grid;
  gap: 12px;
}

.safety-list span {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #30364c;
  font-weight: 850;
}

.faq {
  max-width: 920px;
}

.faq details {
  margin-bottom: 14px;
  padding: 0 24px;
}

.faq summary {
  cursor: pointer;
  padding: 22px 0;
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 900;
}

.faq p {
  margin-bottom: 22px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 44px clamp(22px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--dark);
}

.footer .logo {
  color: var(--white);
}

.footer p {
  max-width: 520px;
  margin: 18px 0 0;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 18px 26px;
  color: var(--white);
  font-weight: 850;
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 980px) {
  .hero-inner,
  .article-layout,
  .two-column,
  .safety-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-media {
    justify-items: start;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip div:first-child,
  .stats-strip div:last-child {
    border-radius: 0;
  }

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

  .download-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .topbar {
    min-height: 68px;
    padding: 0 18px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 14px;
  }

  .hero-inner {
    padding: 42px 18px 76px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stats-strip,
  .screenshot-grid,
  .feature-grid,
  .choice-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    margin-top: 0;
    padding: 0;
  }

  .stats-strip div {
    border-left: 0;
    border-right: 0;
  }

  .content-section,
  .article-layout {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .version-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .app-kicker {
    align-items: flex-start;
    border-radius: 8px;
  }

  .logo span {
    font-size: 1.05rem;
  }

  .hero-shot {
    width: 100%;
  }
}
