:root {
  --primary: #7e57c2;
  --primary-dark: #56339a;
  --primary-soft: #f4d9ff;
  --green: #4caf50;
  --green-soft: #e6f6e8;
  --gold: #f7b84b;
  --ink: #221f28;
  --muted: #625b68;
  --surface: #fffbff;
  --surface-strong: #ffffff;
  --background: #faf7ff;
  --line: #e6deea;
  --shadow: 0 24px 70px rgba(60, 41, 83, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, var(--background) 0%, #ffffff 66%, #f8fbf7 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  background: rgba(250, 247, 255, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.brand__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(126, 87, 194, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.site-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 32px 60px;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 28px 0 36px;
}

.hero__copy {
  max-width: 540px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 76px;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero__tagline {
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 36px;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero__text {
  max-width: 520px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.button--primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(126, 87, 194, 0.28);
}

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

.button--secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--primary-dark);
}

.button--secondary:hover {
  background: #ffffff;
}

.hero__visual {
  position: relative;
  min-height: 670px;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 276px;
  border: 10px solid #201d25;
  border-radius: 42px;
  background: #201d25;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  border-radius: 30px;
}

.phone--front {
  right: 128px;
  top: 12px;
  z-index: 4;
}

.phone--back {
  right: 0;
  top: 84px;
  z-index: 2;
  width: 246px;
  opacity: 0.96;
}

.stat {
  position: absolute;
  z-index: 6;
  display: grid;
  gap: 2px;
  min-width: 144px;
  padding: 14px 16px;
  border: 1px solid rgba(230, 222, 234, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(60, 41, 83, 0.16);
  backdrop-filter: blur(12px);
}

.stat strong {
  font-size: 24px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stat--progress {
  right: 300px;
  top: 82px;
}

.stat--total {
  right: 14px;
  bottom: 132px;
}

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

.feature-ribbon article,
.benefit {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 251, 255, 0.84);
  box-shadow: 0 14px 36px rgba(60, 41, 83, 0.08);
}

.feature-ribbon article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  padding: 18px;
}

.feature-icon {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 900;
}

.feature-icon--purple {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.feature-icon--green {
  background: var(--green-soft);
  color: #2f8a33;
}

.feature-icon--gold {
  background: #fff4db;
  color: #a86d10;
}

.feature-ribbon h2,
.benefit h3 {
  margin-bottom: 4px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.feature-ribbon p,
.benefit p,
.section-copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.details-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-copy h2,
.download-section h2 {
  margin-bottom: 16px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy p {
  font-size: 18px;
}

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

.benefit {
  padding: 22px;
}

.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 64px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(60, 41, 83, 0.08);
}

.download-section h2 {
  max-width: 620px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.legal-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.legal-card {
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.legal-heading {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-heading h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 8vw, 68px);
  line-height: 1;
}

.legal-updated {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.legal-card section {
  padding-top: 34px;
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.2;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 17px;
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin-top: 0;
  padding-left: 24px;
}

.legal-card address {
  color: var(--muted);
  font-size: 17px;
  font-style: normal;
}

.legal-link {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-link:hover {
  color: var(--primary);
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero__visual {
    min-height: 650px;
  }

  .phone--front {
    left: 12%;
    right: auto;
  }

  .phone--back {
    right: 9%;
  }

  .stat--progress {
    left: 5%;
    right: auto;
  }

  .stat--total {
    right: 6%;
  }

  .details-section,
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    min-height: 72px;
  }

  .brand {
    font-size: 20px;
  }

  .brand__icon {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    gap: 2px;
    font-size: 13px;
  }

  .site-nav a {
    padding: 8px 7px;
  }

  .hero,
  .details-section,
  .download-section,
  .site-footer,
  .legal-page {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    gap: 26px;
    padding-top: 18px;
  }

  h1 {
    font-size: 52px;
  }

  .hero__tagline {
    font-size: 29px;
  }

  .hero__text {
    font-size: 18px;
  }

  .hero__visual {
    min-height: 560px;
  }

  .phone {
    width: 224px;
    border-width: 8px;
    border-radius: 34px;
  }

  .phone img {
    border-radius: 24px;
  }

  .phone--front {
    left: 0;
    top: 0;
  }

  .phone--back {
    right: 0;
    top: 82px;
    width: 198px;
  }

  .stat {
    min-width: 124px;
    padding: 12px 14px;
  }

  .stat--progress {
    left: auto;
    right: 0;
    top: 8px;
  }

  .stat--total {
    right: auto;
    left: 12px;
    bottom: 44px;
  }

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

  .details-section {
    padding: 56px 0;
  }

  .section-copy h2,
  .download-section h2 {
    font-size: 32px;
  }

  .download-section,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-page {
    padding-top: 30px;
  }
}

@media (max-width: 460px) {
  .site-nav a[href="#screens"] {
    display: none;
  }

  .site-nav a[href="#download"] {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .hero__tagline {
    font-size: 25px;
  }

  .hero__actions,
  .hero__actions .button,
  .download-section .button {
    width: 100%;
  }

  .hero__visual {
    min-height: 500px;
  }

  .phone {
    width: 198px;
  }

  .phone--back {
    width: 170px;
  }

  .stat--progress,
  .stat--total {
    display: none;
  }
}
