@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-900.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #1f2430;
  --muted: #6f7584;
  --shell: #f5f1f7;
  --white: #ffffff;
  --pink: #e56e9c;
  --pink-deep: #9b2450;
  --blush: #f7d7e4;
  --mist: #e9effb;
  --gold: #f8cf6d;
  --line: rgba(31, 36, 48, 0.12);
  --page: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--shell);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.wordmark strong {
  font-weight: 900;
}

.wordmark > span {
  font-weight: 500;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  transform: translateY(0);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  text-decoration: none;
}

.footer-brand img {
  flex: 0 0 auto;
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 760px;
  height: 91svh;
  max-height: 900px;
  overflow: hidden;
  background-color: var(--shell);
  background-image: url("assets/background.jpg");
  background-position: center 38%;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 241, 247, 0.24);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 48px), var(--page));
  height: 100%;
  margin: 0 auto;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 0;
  width: min(610px, 56%);
  transform: translateY(-47%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--pink-deep);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 78px;
  line-height: 0.98;
  font-weight: 900;
}

.hero-claim {
  margin: 24px 0 18px;
  font-size: 34px;
  line-height: 1.14;
  font-weight: 700;
}

.hero-text {
  max-width: 560px;
  margin: 0;
  color: #545c6c;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--pink-deep);
}

.hero-product {
  position: absolute;
  z-index: 4;
  right: 2%;
  bottom: -116px;
  width: 344px;
}

.phone {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 393 / 852;
  border: 10px solid #171b25;
  border-radius: 48px;
  background: #f8f5fa;
  box-shadow: 0 32px 70px rgba(56, 43, 69, 0.24);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #171b25;
}

.message-note {
  position: absolute;
  z-index: 6;
  top: 34%;
  left: -112px;
  width: 218px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 16px 38px rgba(83, 57, 78, 0.16);
}

.message-note img {
  border-radius: 7px;
}

.message-note > span {
  display: grid;
  gap: 3px;
  font-size: 12px;
}

.message-note .message-title {
  color: var(--pink-deep);
  font-size: 13px;
  font-weight: 500;
}

.message-note small {
  color: var(--muted);
  font-size: 10px;
}

.hero-ball {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.hero-ball-one {
  right: -120px;
  top: 19%;
  width: 310px;
  opacity: 0.62;
}

.hero-ball-two {
  left: 45%;
  bottom: -76px;
  width: 180px;
  opacity: 0.84;
  animation-delay: -2.2s;
}

.hero-more {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.section {
  padding: 120px max(24px, calc((100vw - var(--page)) / 2));
}

.story {
  background: var(--white);
}

.section-heading {
  max-width: 720px;
}

h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 900;
}

.section-heading > p:last-child,
.values-copy > p:last-child,
.download-copy > p:last-of-type {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 80px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  min-width: 0;
  padding: 32px 42px 0 0;
}

.steps li + li {
  padding-left: 42px;
  border-left: 1px solid var(--line);
}

.step-number {
  display: block;
  margin-bottom: 54px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 900;
}

.steps h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.steps p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 96px;
  overflow: hidden;
  background: var(--mist);
}

.showcase-product {
  position: relative;
  width: min(100%, 410px);
  min-height: 650px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0 auto -230px;
}

.phone-profile {
  z-index: 2;
  width: 330px;
}

.showcase-ball {
  position: absolute;
  z-index: 3;
  right: -54px;
  top: 120px;
  width: 178px;
  animation: float 6.8s ease-in-out infinite;
  animation-delay: -1.4s;
}

.showcase-intro {
  max-width: 600px;
  margin: 26px 0 0;
  color: #525a68;
  font-size: 18px;
  line-height: 1.65;
}

.feature-list {
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(31, 36, 48, 0.16);
}

.feature-list li {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(31, 36, 48, 0.16);
}

.feature-list strong {
  font-weight: 900;
}

.feature-list span {
  color: #5f6673;
  line-height: 1.55;
}

.values {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: end;
  gap: 80px;
  background: var(--white);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts div {
  padding: 26px 18px 0 0;
}

.facts div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.facts dt {
  font-size: 28px;
  font-weight: 900;
}

.facts dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.download {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--pink);
}

.download-copy {
  position: relative;
  z-index: 3;
  width: min(620px, 62%);
}

.download .eyebrow {
  color: #681c3a;
}

.download-copy > p:last-of-type {
  color: #55283a;
}

.download-ball {
  position: absolute;
  z-index: 1;
  right: 8%;
  width: 390px;
  animation: float 7s ease-in-out infinite;
}

.store-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.store-badge {
  width: 190px;
  min-height: 62px;
  display: grid;
  align-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

.store-badge small {
  font-size: 10px;
}

.store-badge strong {
  margin-top: 2px;
  font-size: 17px;
}

.store-badge[href] {
  transition: transform 180ms ease, background-color 180ms ease;
}

.store-badge[href]:hover,
.store-badge[href]:focus-visible {
  transform: translateY(-2px);
  background: #5d1b37;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 34px max(24px, calc((100vw - var(--page)) / 2));
  background: var(--ink);
  color: var(--white);
}

.footer-brand {
  color: var(--white);
  font-size: 17px;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.site-footer nav a,
.site-footer > p {
  color: #d6d8df;
  font-size: 11px;
}

.site-footer nav a {
  text-underline-offset: 4px;
}

.site-footer > p {
  margin: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}

@media (max-width: 980px) {
  h1 {
    font-size: 64px;
  }

  .hero-copy {
    width: 55%;
  }

  .hero-product {
    right: -4%;
    width: 310px;
  }

  .message-note {
    left: -70px;
  }

  .showcase,
  .values {
    gap: 54px;
  }

  .showcase {
    grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1.2fr);
  }

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

  .site-footer nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 780px;
    height: 92svh;
    max-height: 850px;
    background-position: 52% center;
  }

  .hero-inner {
    width: min(calc(100% - 32px), 560px);
  }

  .hero-copy {
    top: 70px;
    left: 0;
    width: 100%;
    transform: none;
    text-align: center;
  }

  h1 {
    font-size: 40px;
  }

  .hero-claim {
    margin-top: 16px;
    font-size: 25px;
  }

  .hero-text {
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 22px;
  }

  .hero-product {
    right: 4px;
    bottom: -260px;
    width: 270px;
  }

  .message-note {
    top: 23%;
    left: -102px;
    width: 188px;
    padding: 10px;
  }

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

  .phone-speaker {
    top: 8px;
    width: 70px;
    height: 18px;
  }

  .hero-ball-one {
    top: 51%;
    right: -88px;
    width: 210px;
  }

  .hero-ball-two {
    left: -42px;
    bottom: 30px;
    width: 124px;
  }

  .hero-more {
    display: none;
  }

  .section {
    padding: 82px 20px;
  }

  h2 {
    font-size: 38px;
  }

  .section-heading > p:last-child,
  .values-copy > p:last-child,
  .download-copy > p:last-of-type {
    margin-top: 20px;
    font-size: 15px;
  }

  .steps {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .steps li,
  .steps li + li {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .step-number {
    margin-bottom: 18px;
  }

  .showcase {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-bottom: 0;
  }

  .showcase-copy {
    grid-row: 1;
  }

  .showcase-product {
    grid-row: 2;
    min-height: 520px;
    margin-bottom: -210px;
  }

  .phone-profile {
    width: 275px;
  }

  .showcase-ball {
    right: -12px;
    top: 62px;
    width: 125px;
  }

  .showcase-intro {
    font-size: 15px;
  }

  .feature-list {
    margin-top: 32px;
  }

  .feature-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .values {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 52px;
  }

  .facts dt {
    font-size: 22px;
  }

  .download {
    min-height: 690px;
    align-items: flex-start;
  }

  .download-copy {
    width: 100%;
  }

  .download-ball {
    right: -66px;
    bottom: -120px;
    width: 330px;
    opacity: 0.78;
  }

  .store-list {
    display: grid;
    width: min(100%, 390px);
    grid-template-columns: 1fr 1fr;
  }

  .store-badge {
    width: 100%;
    min-width: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 20px;
  }

  .site-footer nav {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .facts div,
  .facts div + div {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: baseline;
    gap: 14px;
    padding: 18px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts dd {
    margin: 0;
  }

  .store-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  h1 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
