:root {
  --plum: #2b1631;
  --velvet: #3d2245;
  --vermouth: #efa3b3;
  --lime: #c6e06a;
  --blush: #f7e8ec;
  --blush-soft: #d9c3cb;
  --error: #ffb4a8;
  --serif: 'Gloock', Georgia, serif;
  --sans: 'Atkinson Hyperlegible', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--plum);
  color: var(--blush);
  font: 18px/1.55 var(--sans);
}

a { color: var(--vermouth); text-underline-offset: 3px; }
a:hover { color: var(--blush); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.masthead, main, .footer {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.masthead { padding-top: 20px; padding-bottom: 20px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blush);
  text-decoration: none;
  font: 22px/1 var(--serif);
}
.brand img { border-radius: 8px; }

.hero {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
  padding: 8px 0 56px;
}
.hero-glass { width: min(300px, 75vw); height: auto; }
.hero-text { width: 100%; max-width: 560px; }

h1 {
  margin: 0 0 16px;
  font: 400 clamp(44px, 9vw, 80px)/1.02 var(--serif);
  letter-spacing: -0.5px;
}
.lede { margin: 0 0 32px; font-size: 20px; color: var(--blush-soft); }

.waitlist label { display: block; margin-bottom: 10px; font-weight: 700; }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist input[type='email'] {
  flex: 1 1 220px;
  min-height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--vermouth);
  border-radius: 8px;
  background: var(--velvet);
  color: var(--blush);
  font: 18px var(--sans);
}
.waitlist input::placeholder { color: #a98fa0; }
.waitlist button {
  flex: 0 0 auto;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--vermouth);
  color: var(--plum);
  font: 700 18px var(--sans);
  cursor: pointer;
}
.waitlist button:hover { background: var(--blush); }
.waitlist button:disabled { opacity: 0.7; cursor: wait; }
.waitlist-note { margin: 12px 0 0; font-size: 16px; color: var(--blush-soft); }
.waitlist-note[data-state='done'] { color: var(--lime); font-weight: 700; font-size: 18px; }
.waitlist-note[data-state='error'] { color: var(--error); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.plan {
  border-top: 1px solid #553060;
  padding: 48px 0 56px;
}
.plan h2 { margin: 0 0 28px; font: 400 34px/1.1 var(--serif); }
.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
.plan h3 { margin: 0 0 6px; font-size: 20px; }
.plan h3::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: 2px;
}
.plan p { margin: 0; color: var(--blush-soft); }

.footer {
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid #553060;
  font-size: 15px;
  color: var(--blush-soft);
}
.footer p { margin: 0 0 6px; }

.notfound { padding: 48px 0 96px; max-width: 560px; }

@media (min-width: 820px) {
  .hero {
    flex-direction: row;
    justify-content: space-between;
    gap: 48px;
    padding: 40px 0 80px;
  }
  .hero-glass { width: 400px; flex-shrink: 0; }
  .plan ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}
