/* Prelanding 1:1 — geometry & typography copied from nebula-love.com/soulmate-sketch/prelanding
   Loaded only on the hero screen (index.html + welcome/index.html of every locale). */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/open-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/open-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── canvas ─────────────────────────────────────────────────────────── */
html body {
  background: #fefefe;
  font-family: 'Open Sans', var(--font-sans), 'DM Sans', -apple-system, sans-serif;
}
body .page.hero {
  max-width: none;
  min-height: 100dvh;
  padding: 0 15px calc(15px + env(safe-area-inset-bottom));
  text-align: center;
}

/* everything below the header is a centred 330px column (7.5px inset at 375px) */
body .page.hero .hero-pills,
body .page.hero .hero-img,
body .page.hero .hero-title,
body .page.hero .hero-chips,
body .page.hero .cta,
body .page.hero .mgp-legal,
body .page.hero .footer {
  width: calc(100% - 15px);
  max-width: 330px;
  margin-left: auto;
  margin-right: auto;
}

/* ── header: logo 24px centred, burger 24px pinned right ────────────── */
body .page.hero .logo-bar {
  grid-template-columns: 24px 1fr 24px;
  padding: 20px 0 6px;
  margin: 0 0 13px;
}
body .page.hero .logo-bar .logo { height: 24px; }
body .page.hero .burger { color: #333; }

/* ── trust pills ────────────────────────────────────────────────────── */
body .page.hero .hero-pills { gap: 10px; margin-top: 0; margin-bottom: 32px; }
body .page.hero .hero-pill {
  background: none;
  border: 1px solid #9974f6;
  border-radius: 8px;
  gap: 4px;
  padding: 8px;
}
body .page.hero .hero-pill-text { line-height: 10px; }
body .page.hero .hero-pill-eyebrow {
  color: #000;
  text-transform: uppercase;
  letter-spacing: normal;
  font-size: 8px;
  line-height: 10px;
}
body .page.hero .hero-pill-value {
  color: #000;
  font-size: 10px;
  line-height: 10px;
}

/* ── hero image (rounded corners live in the asset itself) ──────────── */
body .page.hero .hero-img {
  display: inline;
  border-radius: 0;
  aspect-ratio: 1029 / 642;
  /* 24px gap + the 6px inline baseline gap the source page gets for free */
  margin-top: 0;
  margin-bottom: 30px;
  object-fit: fill;
}

/* ── headline: vertical rotator + static tagline ────────────────────── */
body .page.hero .hero-title { margin-top: 0; margin-bottom: 0; line-height: 1.25; }
body .page.hero .mgp-rotator {
  height: 32px; /* JS re-measures: taller when a translated headline wraps */
  overflow: hidden;
  position: relative;
}
body .page.hero .mgp-rotator-track {
  transition: transform 600ms ease;
  will-change: transform;
}
body .page.hero .mgp-rotator-slide {
  min-height: 32px;
  color: #9974f6;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  text-align: center;
  display: block;
}
body .page.hero .hero-title.mgp-rotator-on .hero-rotate { display: none; }
body .page.hero .hero-rotate {
  min-height: 0;
  height: 32px;
  font-size: 22px;
  line-height: 30px;
}
body .page.hero .hero-tagline {
  color: #333;
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

/* ── feature chips ──────────────────────────────────────────────────── */
body .page.hero .hero-chips {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 20px;
  margin-bottom: 0;
}
body .page.hero .hero-chip {
  border-radius: 8px;
  gap: 4px;
  padding: 4px;
  margin: 0 7px 0 0;
}
body .page.hero .hero-chip-label { font-size: 12px; line-height: 18px; color: #9974f6; }

/* ── CTA ────────────────────────────────────────────────────────────── */
body .page.hero .cta {
  border-radius: 12px;
  color: #fbfbff;
  min-height: 50px;
  height: 50px;
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 5px 10px;
  font-size: 18px;
  line-height: 21px;
  font-weight: 400;
  box-shadow: 0 12px 23px rgba(84, 60, 151, .31);
}

/* ── legal line + company address ───────────────────────────────────── */
body .page.hero .mgp-legal {
  color: #4f4f4f;
  text-align: center;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 16.8px;
}
body .page.hero .mgp-legal a { color: #4f4f4f; text-decoration: underline; }
body .page.hero .footer {
  color: #828282;
  margin-top: 0;
  padding: 0 0 8px;
  font-size: 12px;
  line-height: 18px;
}
