:root {
  --ink: #17181c;
  --muted: #5d6470;
  --paper: #f6f3ee;
  --surface: #fffaf2;
  --line: #ded7cb;
  --blue: #1268e3;
  --blue-dark: #083e91;
  --soft-blue: #eaf2ff;
  --ad-green: #36b37e;
  --pink: #ff8bc7;
  --sand: #eadcc5;
  --shadow: 0 22px 55px rgba(20, 26, 38, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, Verdana, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(246, 243, 238, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 71px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.86), rgba(246, 243, 238, 0.68)),
    radial-gradient(circle at 82% 22%, rgba(18, 104, 227, 0.18), transparent 32%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(280px, 0.82fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

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

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

h1,
.page-title {
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5.2vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.lead {
  max-width: 680px;
  margin-bottom: 26px;
  color: #3d4652;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.store-badge,
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-badge {
  min-height: auto;
  padding: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.store-badge img {
  width: auto;
  height: 48px;
}

.store-badge .google-play-badge {
  height: 72px;
  margin: -12px -10px;
}

.button {
  color: var(--blue-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.store-badge:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
  min-height: 720px;
}

.phone-card {
  position: absolute;
  overflow: visible;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: var(--shadow);
}

.phone-card.primary {
  right: 0;
  top: 0;
  width: min(392px, 86vw);
  transform: rotate(2deg);
}

.phone-card.secondary {
  left: 0;
  bottom: 0;
  width: min(392px, 72vw);
  transform: rotate(-5deg);
}

.phone-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.caption {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  background: #111318;
  font-size: 0.84rem;
  font-weight: 800;
}

.band {
  color: #fff;
  background: #111318;
}

.band p,
.band .section-copy {
  color: rgba(255, 255, 255, 0.74);
}

.section-copy {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.card,
.summary-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.86);
  box-shadow: 0 12px 32px rgba(20, 26, 38, 0.06);
}

.card .num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.card p,
.summary-card p,
.faq p,
.guide-body p,
.guide-body li {
  color: var(--muted);
}

.screens {
  background: #fffdf8;
}

.screens-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.42fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.screens-head h2 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.screens-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

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

.shot {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  border-radius: 6px;
}

.shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  gap: 14px;
  max-width: 860px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  color: var(--blue);
  font-weight: 900;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq a,
.card a,
.guide-body a {
  color: var(--blue-dark);
  font-weight: 850;
  text-underline-offset: 4px;
}

.page-hero {
  padding-top: clamp(58px, 8vw, 96px);
  background: linear-gradient(120deg, #fffaf2, #eaf2ff);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 38px;
  align-items: start;
}

.guide-body {
  max-width: 760px;
}

.guide-body h2 {
  margin-top: 36px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.aside {
  position: sticky;
  top: 96px;
}

.legal-section {
  max-width: 900px;
}

.legal-section section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.footer {
  padding: 30px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #111318;
}

.footer .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .grid-3,
  .screens-head,
  .screenshots,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 760px;
  }

  .phone-card.primary {
    right: 0;
  }

  .phone-card.secondary {
    left: 0;
  }

  .aside {
    position: static;
  }
}

@media (max-width: 560px) {
  h1,
  .page-title {
    font-size: clamp(2.5rem, 11vw, 3.45rem);
    line-height: 1.02;
  }

  .actions {
    align-items: stretch;
  }

  .store-badge,
  .button {
    width: 100%;
  }

  .store-badge img {
    height: 50px;
  }

  .store-badge .google-play-badge {
    height: 74px;
  }

  .hero-media {
    min-height: 720px;
  }

  .phone-card.primary {
    width: min(300px, 82vw);
  }

  .phone-card.secondary {
    width: min(300px, 68vw);
  }

}
