/* The holding page (/em-breve, rendered by api/waitlist.ts) that a public address shows until the launch, with the waitlist on it: on its own, so the legal pages' stylesheet stays as counsel read it. */
@font-face {
  font-family: "NotafielText";
  src: url("/fonts/NotafielText.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NotafielHeading";
  src: url("/fonts/NotafielHeading.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
}
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 40px;
  background: radial-gradient(120% 80% at 50% 30%, #5534ff 0%, #3b12ff 55%, #2a08d9 100%);
  color: #ffffff;
  font-family:
    "NotafielText", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 440px;
}
.oven {
  width: min(240px, 64vw);
  height: auto;
  margin-bottom: 20px;
  animation: wobble 4s ease-in-out infinite;
  transform-origin: 50% 100%;
}
h1 {
  font-family: "NotafielHeading", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-stretch: 87.5%;
  font-size: clamp(40px, 11vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
h1,
p {
  text-wrap: balance;
}
p {
  margin: 0 0 12px;
}
.soon {
  opacity: 0.85;
  font-size: 16px;
}

/* The logo's underscore blinks like a cursor; the oven breathes, the cake rises, the steam drifts. */
.cursor {
  animation: blink 1.1s steps(1, end) infinite;
}
.display {
  animation: blink 1.6s steps(1, end) infinite;
}
.glow {
  animation: glow 2.4s ease-in-out infinite;
}
.cake {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: rise 3.2s ease-in-out infinite;
}
.steam {
  opacity: 0;
  animation: steam 3s ease-in-out infinite;
}
.s2 {
  animation-delay: 1s;
}
.s3 {
  animation-delay: 2s;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@keyframes glow {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}
@keyframes rise {
  0%,
  100% {
    transform: scaleY(0.82);
  }
  50% {
    transform: scaleY(1.08);
  }
}
@keyframes steam {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  40% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateY(-14px);
  }
}
@keyframes wobble {
  0%,
  100% {
    transform: rotate(0deg);
  }
  48% {
    transform: rotate(0deg);
  }
  52% {
    transform: rotate(-1.5deg);
  }
  56% {
    transform: rotate(1.5deg);
  }
  60% {
    transform: rotate(0deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .oven,
  .cursor,
  .display,
  .glow,
  .cake,
  .steam {
    animation: none;
  }
  .steam {
    opacity: 0.6;
  }
}

/* The waitlist (the founder's decision of 01/11/2026, #151), under the oven. */
.list {
  width: 100%;
  max-width: 400px;
  margin-top: 28px;
  padding: 22px 18px;
  border-radius: 20px;
  background: rgba(15, 12, 72, 0.35);
  text-align: left;
}
.list h2 {
  font-family: "NotafielHeading", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 8px;
}
.list form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.list label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
}
.list input[type="email"],
.list input[type="tel"] {
  font: inherit;
  font-size: 18px;
  width: 100%;
  padding: 12px 14px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #ffffff;
  color: #0f0c48;
}
/* The phone's example, in the app's placeholder grey (ink2): 6.80:1 on the field's white, and still
   lighter than what the person types (18.0:1). Without it each engine paints its own grey: WebKit's
   darkGray is 2.35:1, Firefox's 54% of the text 4.01:1. opacity: 1 is for Firefox up to ESR 128,
   whose own rule is opacity: 0.54. Keep ::placeholder alone in the selector: Firefox drops a whole
   list that has -webkit-input-placeholder in it. */
.list input::placeholder {
  color: #5a5875;
  opacity: 1;
}
.list input[type="email"]:focus,
.list input[type="tel"]:focus {
  outline: none;
  border-color: #ffd84d;
}
.list .check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
}
.list .check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: #ffd84d;
}
.list button {
  font: inherit;
  font-weight: 700;
  font-size: 18px;
  padding: 14px;
  border: 0;
  border-radius: 999px;
  background: #ffd84d;
  color: #0f0c48;
  cursor: pointer;
}
.list a {
  color: #ffd84d;
}
.list .problem {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: #0f0c48;
}
.list .small {
  margin: 14px 0 0;
  font-size: 14px;
  opacity: 0.85;
}
.list .done {
  font-size: 18px;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
