:root {
  --bg: #f7f8fb;
  --bg-soft: #eef3f9;
  --surface: #ffffff;
  --surface-muted: #f2f5f8;
  --ink: #101418;
  --ink-soft: #36414d;
  --muted: #6b7480;
  --line: #dbe1e8;
  --navy: #0e1624;
  --blue: #0788f5;
  --violet: #6a3de8;
  --green: #16a34a;
  --red: #e5484d;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(14, 22, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: 'SF Pro Text', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

figure {
  margin: 0;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 225, 232, 0.86);
  background: rgba(247, 248, 251, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand:hover,
.nav-link:hover,
.store-badge:hover,
.footer a:hover,
.button:hover {
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 9px 22px rgba(106, 61, 232, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 650;
}

.nav-link.active,
.nav-link:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(14, 22, 36, 0.98) 0%, rgba(20, 38, 66, 0.98) 48%, rgba(7, 136, 245, 0.96) 100%),
    #0e1624;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(247, 248, 251, 0), var(--bg));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 48px;
  padding: 78px 0 92px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #92d3ff;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.doc-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-lede {
  margin: 24px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}

.store-badges {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  line-height: 0;
  border-radius: 11px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

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

.hero-points {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 650;
}

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

.phone {
  position: absolute;
  overflow: hidden;
  border: 8px solid #101318;
  border-radius: 42px;
  background: #050608;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-main {
  right: 96px;
  top: 0;
  width: 260px;
  height: 580px;
  z-index: 3;
}

.phone-left {
  left: 26px;
  top: 78px;
  width: 210px;
  height: 468px;
  z-index: 2;
  opacity: 0.9;
}

.phone-right {
  right: 0;
  top: 96px;
  width: 212px;
  height: 472px;
  z-index: 1;
  opacity: 0.92;
}

.section {
  padding: 84px 0;
}

.section-muted {
  background: var(--bg-soft);
}

.section-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-header p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.feature-card,
.stat-card,
.step-card,
.doc-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 44px rgba(14, 22, 36, 0.06);
}

.feature-card {
  min-height: 250px;
  padding: 24px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 15px;
  color: #fff;
  background: var(--navy);
  font-size: 22px;
  font-weight: 800;
}

.feature-icon.blue {
  background: var(--blue);
}

.feature-icon.violet {
  background: var(--violet);
}

.feature-card h3,
.step-card h3,
.contact-card h2,
.doc-card h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.feature-card p,
.step-card p,
.contact-card p,
.doc-card p,
.doc-card li {
  color: var(--muted);
  line-height: 1.72;
}

.feature-card p,
.step-card p,
.contact-card p,
.doc-card p {
  margin: 12px 0 0;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 44px;
}

.showcase-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.showcase-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 18px;
}

.stat-card strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.screen-frame {
  overflow: hidden;
  border: 8px solid #111318;
  border-radius: 38px;
  background: #06070a;
  box-shadow: var(--shadow);
}

.screen-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 0.448;
  object-fit: cover;
  object-position: top;
}

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

.step-card {
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-weight: 760;
}

.download-band {
  padding: 72px 0 84px;
  background: var(--navy);
  color: #fff;
}

.download-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.download-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.download-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.download-panel p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.download-panel .store-badges {
  justify-content: flex-end;
  margin-top: 0;
}

.doc-hero {
  padding: 82px 0 64px;
  color: #fff;
  background: linear-gradient(135deg, #0e1624 0%, #172a45 58%, #0788f5 100%);
}

.doc-hero h1 {
  max-width: 840px;
}

.doc-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.65;
}

.doc-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding: 42px 0 86px;
}

.doc-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}

.doc-card,
.contact-card {
  padding: 24px;
}

.doc-card ul {
  margin: 14px 0 0;
  padding-left: 19px;
}

.doc-main {
  display: grid;
  gap: 16px;
}

.doc-meta {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-weight: 760;
}

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

.button.danger {
  background: var(--red);
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
  font-weight: 650;
}

.handoff-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, #0e1624 0%, #172a45 55%, #0788f5 100%);
}

.handoff-card {
  width: min(100%, 460px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.handoff-card h1 {
  margin: 20px 0 10px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.handoff-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.handoff-card .button {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .hero-inner,
  .showcase,
  .doc-layout,
  .download-panel {
    grid-template-columns: 1fr;
  }

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

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

  .phone-main {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .phone-left {
    left: 4%;
  }

  .phone-right {
    right: 4%;
  }

  .doc-aside {
    position: static;
  }

  .download-panel {
    text-align: center;
    justify-items: center;
  }

  .download-panel .store-badges {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 30px, 1160px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-link {
    white-space: nowrap;
  }

  .hero h1,
  .doc-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

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

  .phone-main {
    width: 210px;
    height: 468px;
  }

  .phone-left,
  .phone-right {
    width: 160px;
    height: 357px;
  }

  .phone-left {
    left: -18px;
    top: 86px;
  }

  .phone-right {
    right: -18px;
    top: 100px;
  }

  .feature-grid,
  .steps,
  .stats,
  .screen-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .doc-hero {
    padding: 58px 0 48px;
  }

  .doc-layout {
    padding: 28px 0 62px;
  }

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