/* The hero's arc is wider than the page on purpose; without this it makes
   the whole document scroll sideways. */
html, body { overflow-x: hidden; max-width: 100%; }

/* Landing page. The rest of the site uses styles.css; this is the shop window. */

.hero {
  max-width: 100%;
  background: linear-gradient(160deg, #10807A 0%, #0C6660 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 26px 0 0;
}
.hero::after { /* the smile arc, cropped */
  content: '';
  position: absolute;
  left: 50%; bottom: -40%;
  width: 170%; aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border-top: 30px solid rgba(255,255,255,.13);
  pointer-events: none;
}
.hero-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 22px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  position: relative; z-index: 1;
}
.hero-copy { padding: 44px 0 64px; }
.eyebrow {
  display: inline-block; background: rgba(255,255,255,.16);
  border-radius: 999px; padding: 6px 16px; font-size: 13.5px; font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.15; margin: 0 0 14px; font-weight: 800; }
.hero .lede { font-size: 18px; opacity: .92; margin: 0 0 26px; max-width: 30ch; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #0E4F4B; text-decoration: none;
  font-weight: 800; padding: 13px 24px; border-radius: 999px; font-size: 15px;
}
.store.soon { background: rgba(255,255,255,.14); color: #fff; cursor: default; }
.store svg { width: 20px; height: 20px; }

/* phone */
.phone-stack { position: relative; height: 560px; }
.phone {
  position: absolute; width: 258px; border-radius: 38px;
  background: #0E4F4B; padding: 9px;
  box-shadow: 0 30px 70px rgba(6,40,38,.42);
}
.phone img { width: 100%; display: block; border-radius: 30px; }
.phone.back  { top: 44px; inset-inline-end: 188px; transform: rotate(-6deg) scale(.88); opacity: .96; }
.phone.front { top: 10px; inset-inline-end: 0; }

/* sections */
.band { max-width: 1080px; margin: 0 auto; padding: 72px 22px; }
.band h2 { font-size: clamp(25px, 3.4vw, 34px); margin: 0 0 10px; text-align: center; }
.band .sub { text-align: center; color: #5F6B6A; margin: 0 auto 40px; max-width: 46ch; font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: #fff; border: 1px solid #D8E1DE; border-radius: 16px;
  padding: 26px 22px; box-shadow: 0 2px 8px rgba(14,79,75,.06);
}
.step .n {
  width: 38px; height: 38px; border-radius: 50%;
  background: #EDF6F4; color: #0C6660; font-weight: 800;
  display: grid; place-items: center; margin-bottom: 14px; font-size: 17px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: #5F6B6A; font-size: 15px; }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  background: #fff; border: 1px solid #D8E1DE; border-radius: 16px;
  padding: 24px 12px; text-align: center; box-shadow: 0 2px 8px rgba(14,79,75,.06);
}
.cat img { height: 72px; width: auto; opacity: .85; margin-bottom: 10px; }
.cat span { display: block; font-weight: 700; font-size: 15px; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: #EDF6F4; border-radius: 24px; padding: 44px;
}
.split img { width: 100%; max-width: 270px; border-radius: 26px; box-shadow: 0 18px 44px rgba(6,40,38,.18); justify-self: center; }
.split h2 { text-align: start; margin-bottom: 12px; }
.split p { color: #23403D; font-size: 16px; margin: 0 0 10px; }
.tick { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 15.5px; }
.tick b { color: #0C6660; }

.closing {
  background: #0E4F4B; color: #fff; text-align: center;
  padding: 66px 22px; margin-top: 20px;
}
.closing h2 { font-size: clamp(26px, 3.6vw, 36px); margin: 0 0 12px; }
.closing p { opacity: .85; margin: 0 0 24px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-bottom: 20px; }
  .phone-stack { height: 430px; margin-bottom: 30px; }
  .phone { width: 200px; }
  .phone.back { inset-inline-end: 140px; top: 30px; }
  .steps, .cats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; padding: 30px 22px; gap: 26px; }
  .split h2 { text-align: center; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .phone-stack { height: 390px; }
  .phone { width: 178px; }
}
