/* Landing page. Same three colours as the app, pushed to poster scale. */

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* --- hero -------------------------------------------------------- */

.hero {
  position: relative;
  padding: 34px 0 0;
  overflow: hidden;
  color: #fff;
  background: var(--pink);
}

/* Faint fist tiling, so the flat pink is not completely flat. */
.hero::before {
  position: absolute;
  inset: 0;
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.13' stroke-width='7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M30 52a6 6 0 0 1 12 0 6 6 0 0 1 12 0 6 6 0 0 1 12 0 6 6 0 0 1 12 0v14c0 12-8 20-24 20s-24-8-24-20Z'/%3E%3Cpath d='M31 63c-6 1-9 4-9 8s3 7 9 8'/%3E%3C/g%3E%3C/svg%3E");
  transform: rotate(-8deg) scale(1.25);
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  --lockup-size: 26px;
}

.hero__tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: end;
  padding: 46px 0 0;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .hero__grid {
    padding: 60px 0 0;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 8.4vw, 84px);
  font-weight: 800;
  letter-spacing: -0.042em;
  /* Loose enough that the boxed span never paints over the line above it. */
  line-height: 1.12;
}

/* The boxed word, lifted off the grrl lockup. Kept inline with a cloned
   decoration so it can break across lines on a narrow phone instead of
   pushing the headline past the screen. */
.boxed {
  padding: 0.01em 0.14em 0.07em;
  color: var(--pink);
  background: #fff;
  border-radius: 0.14em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero__sub {
  max-width: 44ch;
  margin: 22px 0 0;
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
}

.hero .wl__row {
  border-color: #fff;
}

.hero .wl__note {
  color: rgba(255, 255, 255, 0.86);
}

.hero .wl__note[data-state='error'] {
  color: #fff;
}

.hero .wl__done {
  color: var(--pink);
  background: #fff;
}

.hero .wl__done p {
  color: var(--ink-soft);
}

.hero .wl__share {
  color: #fff;
  background: var(--pink);
}

.hero__count {
  margin: 16px 4px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* Live app sitting in a phone shell. It is the real thing in an iframe,
   so the hero and the product cannot drift apart. */
.demo {
  justify-self: center;
  width: min(310px, 82vw);
  padding: 11px;
  background: #16302c;
  border-radius: 46px;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    0 30px 70px rgba(20, 16, 15, 0.4);
  translate: 0 34px;
}

.demo iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19;
  background: var(--paper);
  border: 0;
  border-radius: 36px;
}

.demo__hint {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

/* --- subtitle marquee, styled like the caption bar in the video --- */

.strip {
  padding: 15px 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.strip__run {
  display: flex;
  width: max-content;
  gap: 56px;
  font-family: var(--font-caption);
  font-size: 15px;
  font-style: italic;
  white-space: nowrap;
  animation: strip-run 26s linear infinite;
}

.strip__run span {
  opacity: 0.9;
}

@keyframes strip-run {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --- generic sections -------------------------------------------- */

.section {
  padding: 84px 0;
}

.section--mint {
  background: var(--mint);
}

.section h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.section__lead {
  max-width: 56ch;
  margin: 18px 0 0;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
}

.section--mint .section__lead {
  color: rgba(11, 42, 36, 0.78);
}

/* --- what she does ------------------------------------------------ */

.does {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.does li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 22px 4px;
  font-size: clamp(19px, 3vw, 27px);
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--ink);
}

.does .fist {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: var(--pink);
  translate: 0 4px;
}

.section--mint .does .fist {
  color: var(--ink);
}

/* --- the honest part --------------------------------------------- */

.real {
  display: grid;
  gap: 34px;
  margin-top: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .real {
    grid-template-columns: repeat(3, 1fr);
  }
}

.real article {
  padding: 26px 24px 28px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
}

.real h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.real p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.real__num {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--pink-ink);
}

/* --- credit ------------------------------------------------------- */

.credit {
  padding: 56px 0;
  color: rgba(252, 250, 246, 0.72);
  background: var(--ink);
}

.credit h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--paper);
}

.credit p {
  max-width: 68ch;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
}

.credit a {
  color: var(--mint);
}

/* --- closing waitlist --------------------------------------------- */

.close {
  padding: 90px 0 100px;
  color: #fff;
  text-align: center;
  background: var(--pink);
}

.close h2 {
  max-width: 20ch;
  margin: 0 auto;
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.close .wl {
  max-width: 520px;
  margin: 28px auto 0;
}

.close .wl__row {
  border-color: #fff;
}

.close .wl__note {
  color: rgba(255, 255, 255, 0.86);
}

.close .wl__done {
  color: var(--pink);
  background: #fff;
}

.close .wl__done p {
  color: var(--ink-soft);
}

.close .wl__share {
  color: #fff;
  background: var(--pink);
}

.foot {
  padding: 26px 0 34px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}
