@font-face {
  font-family: "Antique Olive";
  src: url("./assets/fonts/antique-olive-bold.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --prune: #8e4b6d;
  --prune-deep: #6c304e;
  --ivoire: #f7f2ec;
  --lilas: #c9b0d7;
  --corail: #cc6f70;
  --shell: #fbf7f2;
  --rose-soft: #f3e9ee;
  --lilas-soft: #f1ebf5;
  --plum: #451b30;
  --ink: #170f13;
  --muted: #6f626d;
  --line: #ece0e6;
  --font-title: "Antique Olive", "Arimo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Arimo", "Segoe UI", system-ui, sans-serif;
  --radius: 1.45rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0.75rem;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--prune);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Top bar */
.topbar {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
}

/* Store badges */
.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.store {
  display: inline-flex;
  border-radius: 0.5rem;
  transition: transform 0.2s ease;
}

.store:hover,
.store:focus-visible {
  transform: translateY(-1px);
}

.store img {
  display: block;
  width: auto;
  max-width: none;
  height: 3rem;
}

.stores--small .store img {
  height: 2.4rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  padding: 8.5rem 6% 0;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 8% 12%, rgba(253, 250, 246, 0.78) 0, transparent 15rem),
    radial-gradient(circle at 92% 84%, rgba(253, 250, 246, 0.76) 0, transparent 16rem),
    var(--ivoire);
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15rem;
  width: 66rem;
  height: 31rem;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.9), transparent 17rem),
    linear-gradient(180deg, rgba(201, 176, 215, 0.62), rgba(201, 176, 215, 0.16));
  transform: translateX(-50%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4.4rem;
  z-index: 4;
  height: 18rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(247, 242, 236, 0), rgba(247, 242, 236, 0.68) 34%, var(--ivoire) 72%);
}

.serpent {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.serpent:not(.serpent--lilas) {
  top: -1.5rem;
  left: -5rem;
  width: 22rem;
  opacity: 0.85;
}

.serpent--lilas {
  right: -6rem;
  bottom: 5rem;
  width: 22rem;
  fill: none;
  stroke: var(--lilas);
  stroke-width: 34;
  stroke-linecap: round;
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: min(48rem, 100%);
  text-align: center;
}

.hero h1 {
  color: var(--prune);
  font-size: clamp(2.3rem, 5.6vw, 4.4rem);
}

.hero__lead {
  margin: 1rem auto 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__lead strong {
  color: var(--ink);
}

.hero .stores {
  margin-top: 1.8rem;
}

/* Hero phones */
.showcase {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  margin-top: 3rem;
}

.screen {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  overflow: hidden;
  background: #f8f2ee;
}

.screen img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.screen--side {
  width: 16.7rem;
  height: 29.5rem;
  padding-top: 1.4rem;
  border: 1px solid rgba(240, 231, 236, 0.95);
  border-radius: 1.45rem;
  box-shadow: 0 30px 70px -44px rgba(131, 65, 98, 0.62);
}

.screen--left {
  margin-right: -1.2rem;
  transform: rotate(-5deg) translateY(0.45rem);
}

.screen--right {
  margin-left: -1.2rem;
  transform: rotate(5deg) translateY(0.55rem);
}

.screen--phone {
  z-index: 3;
  width: 20.3rem;
  height: 34.2rem;
  padding-top: 2.6rem;
  border: 0.58rem solid #131015;
  border-bottom: 0;
  border-radius: 2.55rem 2.55rem 0 0;
  box-shadow: 0 32px 76px -44px rgba(100, 42, 71, 0.68);
}

.screen__island {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  width: 5.4rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #0a080b;
  transform: translateX(-50%);
}

/* Sections */
.section {
  margin-top: 0.75rem;
  padding: clamp(3.5rem, 7vw, 5.5rem) 6%;
  border-radius: var(--radius);
  text-align: center;
}

.section h2 {
  max-width: 44rem;
  margin: 0 auto;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
}

.section > p {
  max-width: 42rem;
  margin: 1.1rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro {
  background: #fff;
}

.intro h2 {
  color: var(--prune);
}

.features {
  background: var(--rose-soft);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  max-width: 72rem;
  margin: 2.6rem auto 0;
  text-align: left;
}

.feature {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #fff;
}

.feature img {
  display: block;
  width: 100%;
  height: 15rem;
  margin-bottom: 1.1rem;
  object-fit: cover;
  object-position: top;
  border-radius: 0.85rem;
  background: #f8f2ee;
}

.feature h3 {
  color: var(--prune-deep);
  font-size: 1.2rem;
}

.feature p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature--text {
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  padding: 1.8rem;
  text-align: center;
  background: var(--prune);
  border-color: var(--prune);
}

.feature--text h3,
.feature--text p {
  color: #fff;
}

.community {
  background: var(--lilas-soft);
}

.steps {
  background: #fff;
}

.steps__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
  max-width: 68rem;
  margin: 2.6rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.steps__list li {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--ivoire);
}

.steps__num {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: var(--prune);
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.1rem;
}

.steps__list h3 {
  font-size: 1.12rem;
}

.steps__list p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.final {
  background: var(--plum);
  color: #fff;
}

.final > p {
  color: rgba(255, 255, 255, 0.82);
}

.final .stores {
  margin-top: 1.8rem;
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 6% 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer__brand {
  font-weight: 700;
  text-decoration: none;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}

.footer nav a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--prune);
}

@media (max-width: 780px) {
  .topbar .stores--small {
    display: none;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .showcase {
    margin-top: 2.2rem;
  }

  .screen--side {
    width: 8.6rem;
    height: 16.5rem;
    padding-top: 0.9rem;
    border-radius: 1rem;
  }

  .screen--left {
    margin-right: -2.2rem;
  }

  .screen--right {
    margin-left: -2.2rem;
  }

  .screen--phone {
    width: 13.5rem;
    height: 23rem;
    padding-top: 1.8rem;
    border-width: 0.42rem;
    border-radius: 1.9rem 1.9rem 0 0;
  }

  .screen__island {
    top: 0.5rem;
    width: 3.8rem;
    height: 1.05rem;
  }

  .serpent:not(.serpent--lilas) {
    width: 14rem;
    left: -5rem;
  }

  .serpent--lilas {
    width: 14rem;
    right: -7rem;
  }

  .store img {
    height: 2.75rem;
  }

  .footer {
    justify-content: center;
    text-align: center;
  }
}

/* Status bar on the hero screens */
.status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 1.4rem;
  padding: 0.35rem 1.05rem 0;
  color: #161114;
  font-size: 0.72rem;
  font-weight: 700;
}

.screen--phone .status {
  height: 2.6rem;
  padding: 0 1.25rem;
}

.status__icons {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.status svg {
  display: block;
  height: 0.72rem;
  fill: currentColor;
}

.status .i-signal {
  width: 1rem;
}

.status .i-wifi {
  width: 0.98rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
}

.status .i-battery {
  width: 1.55rem;
}

@media (max-width: 780px) {
  .status {
    height: 0.9rem;
    padding: 0.2rem 0.6rem 0;
    font-size: 0.5rem;
  }

  .screen--phone .status {
    height: 1.8rem;
    padding: 0 0.9rem;
    font-size: 0.62rem;
  }

  .status__icons {
    transform: scale(0.72);
    transform-origin: right center;
  }
}
