@font-face {
  font-family: "Bricolage";
  src: url("/assets/bricolage.woff2") format("woff2-variations"), url("/assets/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --plum: #251322;
  --plum-2: #3d2139;
  --pink: #FF4F87;
  --cream: #FFF6F2;
  --pad: clamp(20px, 5vw, 64px);
  --base: 2.6s; /* when page content starts appearing (after the intro) */
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--pink);
  color: var(--plum);
  font-family: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--plum); color: var(--cream); }

a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--pad);
}

.top .logo { display: block; height: 34px; width: auto; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--plum);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .02em;
  white-space: nowrap;
}

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--plum);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse { 50% { opacity: .25; } }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: clamp(8px, 2vh, 32px) var(--pad) clamp(32px, 5vh, 64px);
}

@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}

.copy { max-width: 660px; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 9.2vw, 132px);
  line-height: .9;
  font-weight: 800;
  letter-spacing: -.045em;
}

h1 .line { display: block; }

.strike { position: relative; white-space: nowrap; }

.strike::after {
  content: "";
  position: absolute;
  left: -3%; right: -3%;
  top: 52%;
  height: .085em;
  border-radius: .05em;
  background: var(--cream);
  transform: scaleX(0) rotate(-2deg);
  transform-origin: left center;
  animation: strike .55s cubic-bezier(.6, 0, .2, 1) forwards;
  animation-delay: calc(var(--base) + .75s);
}

@keyframes strike { to { transform: scaleX(1) rotate(-2deg); } }

.lede {
  margin: 26px 0 30px;
  max-width: 36ch;
  font-size: clamp(18px, 1.55vw, 21px);
  font-weight: 450;
}

.lede strong { font-weight: 750; }

/* ---------- waitlist form ---------- */

.signup {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 540px;
  padding: 6px;
  background: var(--cream);
  border: 2px solid var(--plum);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--plum);
  transition: box-shadow .2s ease, transform .2s ease;
}

.signup:focus-within { transform: translate(-1px, -1px); box-shadow: 7px 7px 0 var(--plum); }

.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 14px 18px;
  font: inherit;
  font-size: 17px;
  color: var(--plum);
  outline: none;
}

.signup input::placeholder { color: rgba(37, 19, 34, .45); }

.btn {
  flex: none;
  border: 0;
  border-radius: 999px;
  background: var(--plum);
  color: var(--cream);
  padding: 15px 24px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}

.btn:hover { background: var(--plum-2); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid var(--cream); outline-offset: -6px; }
.btn[disabled] { opacity: .7; cursor: progress; }

.hp { display: none; }

.fine {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 500;
  opacity: .82;
}

.form-error { margin: 12px 0 0; font-weight: 650; min-height: 0; }
.form-error:empty { display: none; }

.done {
  display: none;
  max-width: 540px;
  padding: 20px 24px;
  background: var(--plum);
  color: var(--cream);
  border-radius: 22px;
  box-shadow: 5px 5px 0 rgba(37, 19, 34, .35);
}

.done strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.done span { opacity: .85; }

.is-done .signup, .is-done .fine { display: none; }
.is-done .done { display: block; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }

@keyframes pop { from { transform: scale(.94); opacity: 0; } }

@media (max-width: 560px) {
  .signup { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 8px; }
  .signup input[type="email"] { padding: 14px 12px; text-align: left; }
  .btn { width: 100%; padding: 16px; }
}

/* ---------- three points ---------- */

.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  max-width: 640px;
}

.points li { border-top: 2px solid var(--plum); padding-top: 12px; font-size: 15px; }
.points b { display: block; font-size: 17px; font-weight: 750; margin-bottom: 2px; }

@media (max-width: 620px) {
  .points { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
}

/* ---------- art ---------- */

.art {
  position: relative;
  display: none;
  justify-self: center;
  width: min(100%, 440px);
}

@media (min-width: 960px) { .art { display: block; } }

.art .q {
  display: block;
  width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite alternate;
}

@keyframes float { to { transform: translateY(-14px) rotate(-2deg); } }

.badge {
  position: absolute;
  top: -4%;
  left: -12%;
  width: 40%;
  aspect-ratio: 1;
}

.badge svg { width: 100%; height: 100%; display: block; }
.badge .ring { animation: spin 14s linear infinite; transform-origin: 50% 50%; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- ticker ---------- */

.ticker {
  background: var(--plum);
  color: var(--cream);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.ticker .track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}

.ticker span { padding: 0 .55em; }
.ticker i { font-style: normal; color: var(--pink); }

@keyframes marquee { to { transform: translateX(-50%); } }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 18px var(--pad);
  font-size: 14px;
  font-weight: 500;
}

/* ---------- entrance ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .75s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(var(--base) + var(--i, 0) * 90ms);
}

@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- simple pages (thanks / 404) ---------- */

.simple {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 40px var(--pad) 80px;
  max-width: 760px;
}

.simple h1 { font-size: clamp(48px, 8vw, 104px); }
.simple p { font-size: 20px; max-width: 34ch; margin: 22px 0 30px; }
.simple .btn { text-decoration: none; display: inline-block; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  :root { --base: 0s; }
  .reveal { animation: none; opacity: 1; transform: none; }
  .strike::after { animation: none; transform: scaleX(1) rotate(-2deg); }
  .art .q, .badge .ring, .ticker .track, .dot { animation: none; }
}
