:root {
  --ink: #091528;
  --muted: #586173;
  --line: #e9e3f2;
  --lavender-soft: #f2eefb;
  --peach: #fae5d7;
  --sage: #eef5ec;
  --blue-soft: #eef4fd;
  --paper: #fffdfb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

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

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

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

.hero {
  min-height: 820px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 251, 0.98) 0%, rgba(255, 253, 251, 0.92) 34%, rgba(255, 253, 251, 0.22) 58%, rgba(255, 253, 251, 0) 100%),
    url("images/hero-phone-lake.png") right center / auto 100% no-repeat,
    #fbf2ec;
}

.site-header {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.brand {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 58px;
  font-size: 14px;
  font-weight: 700;
}

.download-pill {
  justify-self: end;
  min-width: 122px;
  padding: 15px 25px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(9, 21, 40, 0.16);
}

.hero-content {
  width: min(1200px, calc(100% - 48px));
  min-height: 650px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  width: min(510px, 100%);
  padding-top: 32px;
}

.hero h1 {
  font-size: clamp(52px, 6vw, 80px);
  line-height: 1.08;
  max-width: 560px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy p {
  margin-top: 42px;
  max-width: 370px;
  color: #273246;
  font-size: 18px;
  line-height: 1.68;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.store-button {
  width: 150px;
  min-height: 48px;
  border-radius: 7px;
  background: #05070a;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7px 16px 8px 46px;
  position: relative;
  box-shadow: 0 10px 24px rgba(5, 7, 10, 0.14);
}

.store-button::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 6px 6px 10px 10px;
  background: linear-gradient(145deg, #fff, #cfcfcf);
  position: absolute;
  left: 16px;
  top: 14px;
}

.store-button:nth-child(2)::before {
  width: 0;
  height: 0;
  border-radius: 0;
  background: transparent;
  border-left: 20px solid #65cf6c;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  top: 12px;
}

.store-button span {
  text-transform: uppercase;
  font-size: 8px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.78);
}

.store-button strong {
  font-size: 17px;
  line-height: 1;
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 96px;
  text-transform: uppercase;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.scroll-cue b {
  font-size: 31px;
  line-height: 1;
  font-weight: 300;
}

.section {
  padding: 82px 0;
  background: var(--paper);
}

.section-grid {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: start;
}

.eyebrow {
  color: #6f5fb5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 24px;
}

.section h2,
.how-copy h2,
.cta-copy h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0;
}

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

.feature-item {
  min-width: 0;
}

.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--lavender-soft);
  color: #6755b3;
  font-weight: 900;
  margin-bottom: 28px;
}

.feature-item:nth-child(2) .icon-badge {
  background: var(--sage);
  color: #487157;
}

.feature-item:nth-child(3) .icon-badge {
  background: var(--peach);
  color: #9f5a3e;
}

.feature-item:nth-child(4) .icon-badge {
  background: var(--blue-soft);
  color: #5578ba;
}

.feature-item h3 {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 14px;
}

.feature-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.how-section {
  min-height: 640px;
  padding: 88px 0;
  display: grid;
  grid-template-columns: minmax(48px, 1fr) minmax(280px, 350px) minmax(420px, 750px) minmax(48px, 1fr);
  gap: 56px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 66% 28%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(100deg, #f6f0fb 0%, #fbf8ff 56%, #ffffff 100%);
}

.how-copy {
  grid-column: 2;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 48px 0 46px;
  display: grid;
  gap: 31px;
}

.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 24px;
  position: relative;
}

.steps li + li::before {
  content: "";
  width: 1px;
  height: 40px;
  background: #ddd4ee;
  position: absolute;
  left: 17px;
  top: -37px;
}

.steps span {
  color: #6f5fb5;
  font-size: 18px;
  font-weight: 800;
}

.steps h3 {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 4px;
}

.steps p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.outline-button {
  display: inline-grid;
  place-items: center;
  min-width: 150px;
  min-height: 48px;
  border: 1px solid #8872c9;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}

.screens-wrap {
  grid-column: 3;
  width: 100%;
}

.screens-wrap img {
  width: min(820px, 100%);
  filter: drop-shadow(0 24px 42px rgba(103, 85, 179, 0.16));
}

.social-proof {
  padding-top: 88px;
  padding-bottom: 44px;
}

.testimonials-grid {
  align-items: center;
}

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

.testimonial-card {
  min-height: 210px;
  padding: 34px 32px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(35, 25, 64, 0.04);
}

.quote-mark {
  display: block;
  color: #c6b8ec;
  font-size: 42px;
  line-height: 0.7;
  font-weight: 900;
  margin-bottom: 16px;
}

.testimonial-card p {
  color: #3e4658;
  font-size: 15px;
  line-height: 1.55;
  min-height: 72px;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.person span {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffd9c7, #9283c7);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.person strong,
.person small {
  display: block;
}

.person strong {
  font-size: 12px;
}

.person small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 38px;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ded8e9;
}

.dots .active {
  background: #6f5fb5;
}

.cta-band {
  width: min(1200px, calc(100% - 48px));
  min-height: 306px;
  margin: 34px auto 78px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 390px 1fr;
  align-items: center;
  position: relative;
  background:
    linear-gradient(90deg, rgba(255, 253, 251, 0.97) 0%, rgba(255, 253, 251, 0.88) 35%, rgba(255, 253, 251, 0.2) 63%, rgba(255, 253, 251, 0) 100%),
    #f3eefb;
  box-shadow: inset 0 0 0 1px rgba(137, 114, 201, 0.12);
}

.cta-copy {
  padding: 42px 0 42px 42px;
  position: relative;
  z-index: 1;
}

.cta-copy p {
  color: #424b5e;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.6;
}

.cta-band img {
  position: absolute;
  right: -8px;
  top: 50%;
  width: 690px;
  transform: translateY(-50%);
}

.footer {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 44px;
  display: grid;
  grid-template-columns: 1.15fr 1.6fr auto;
  gap: 72px;
  align-items: start;
}

.footer-brand p {
  color: var(--muted);
  max-width: 270px;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 48px;
}

.footer-links h3 {
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 22px;
}

.footer-links a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 18px;
  padding-top: 48px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f7f5f3;
  color: var(--ink);
  font-weight: 900;
  font-size: 12px;
}

.copyright {
  grid-column: 1 / -1;
  color: #8c93a0;
  text-align: center;
  font-size: 12px;
  margin-top: 10px;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 253, 251, 0.98) 0%, rgba(255, 253, 251, 0.86) 46%, rgba(255, 253, 251, 0.06) 100%),
      url("images/hero-phone-lake.png") center bottom / 100% auto no-repeat,
      #fbf2ec;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    min-height: 850px;
    align-items: flex-start;
    padding-top: 82px;
  }

  .hero-copy p {
    margin-top: 28px;
  }

  .scroll-cue {
    display: none;
  }

  .section-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .feature-list,
  .testimonial-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-section {
    grid-template-columns: 24px 1fr 24px;
    gap: 0;
  }

  .how-copy,
  .screens-wrap {
    grid-column: 2;
  }

  .screens-wrap {
    margin-top: 52px;
  }

  .cta-band {
    grid-template-columns: 1fr;
    min-height: 560px;
    align-items: start;
  }

  .cta-copy {
    padding: 42px;
  }

  .cta-band img {
    width: 760px;
    right: -250px;
    top: auto;
    bottom: -60px;
    transform: none;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .social-links {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero-content,
  .section-grid,
  .cta-band,
  .footer {
    width: min(100% - 32px, 1200px);
  }

  .site-header {
    padding-top: 24px;
  }

  .brand {
    font-size: 24px;
  }

  .download-pill {
    min-width: 104px;
    padding: 13px 18px;
  }

  .hero-content {
    min-height: 760px;
    padding-top: 54px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-copy p {
    max-width: 310px;
    font-size: 16px;
  }

  .store-button {
    width: 142px;
  }

  .section {
    padding: 64px 0;
  }

  .feature-list,
  .testimonial-list,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .how-section {
    padding: 68px 0;
  }

  .steps {
    margin-top: 38px;
  }

  .cta-band {
    min-height: 520px;
    margin-bottom: 62px;
  }

  .cta-copy {
    padding: 32px 28px;
  }

  .cta-band img {
    width: 610px;
    right: -270px;
    bottom: -34px;
  }
}
