:root {
  --night: #231830;
  --dusk: #2e2140;
  --plum: #3b2a4a;
  --ember: #e8654a;
  --ember-hot: #f28a68;
  --gold: #e3b44a;
  --blush: #f7d6ce;
  --text: #f7ede6;
  --ash: #bcaec8;
  --line: rgba(247, 214, 206, 0.14);
  --surface: rgba(255, 255, 255, 0.05);
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --loop: 11s;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
}

.brand svg { width: 26px; height: 26px; }

.lang {
  font-size: 15px;
  color: var(--ash);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 40px 0 88px;
}

.eyebrow {
  display: inline-block;
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 18px;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6.2vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.012em;
  font-weight: 600;
  margin: 0 0 22px;
  max-width: 12ch;
  text-wrap: balance;
}

.lead {
  font-size: 19px;
  color: var(--ash);
  max-width: 34ch;
  margin: 0 0 30px;
}

form.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
}

form.waitlist input[type="email"] {
  flex: 1 1 230px;
  min-height: 54px;
  padding: 0 18px;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

form.waitlist input[type="email"]::placeholder { color: rgba(188, 174, 200, 0.7); }

form.waitlist button {
  flex: 1 1 auto;
  min-height: 54px;
  padding: 0 24px;
  font: inherit;
  font-weight: 650;
  color: var(--night);
  background: var(--ember);
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(232, 101, 74, 0.7);
  transition: background 0.2s ease, transform 0.2s ease;
}

form.waitlist button:hover { background: var(--ember-hot); }

form.waitlist button:active { transform: scale(0.98); }

form.waitlist button[disabled] { opacity: 0.6; cursor: default; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.note { font-size: 15px; color: var(--ash); margin: 14px 0 0; max-width: 46ch; }

.note strong { color: var(--blush); font-weight: 600; }

.status { font-size: 16px; margin: 12px 0 0; min-height: 0; }

.status.err { color: var(--ember-hot); }

.shared {
  max-width: 520px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(232, 101, 74, 0.16), rgba(227, 180, 74, 0.08));
  border: 1px solid rgba(232, 101, 74, 0.35);
}

.shared p { margin: 0 0 6px; }

.shared .title { font-family: var(--serif); font-size: 24px; font-weight: 600; }

.shared .sub { color: var(--ash); margin-bottom: 16px; }

.share-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.share-actions a, .share-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  font: inherit;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
}

.share-wa { background: var(--ember); color: var(--night); border: 0; }

.share-copy { background: transparent; color: var(--text); border: 1px solid var(--line); }

/* The reveal stage: the one orchestrated moment of the page */

.stage {
  position: relative;
  padding: 28px 22px 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--dusk), rgba(46, 33, 64, 0.4));
  border: 1px solid var(--line);
  isolation: isolate;
}

.stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -60px;
  width: 420px;
  height: 300px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 101, 74, 0.55), rgba(227, 180, 74, 0.18) 55%, transparent);
  filter: blur(18px);
  z-index: -1;
  opacity: 0.35;
  animation: fire var(--loop) ease-in-out infinite;
}

.q {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 22px;
}

.q small {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ash);
  margin-bottom: 8px;
}

.answer {
  position: relative;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  opacity: 0.35;
}

.answer.two { margin-left: 34px; }

.answer .who {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--ash);
  margin-bottom: 6px;
}

.answer .who b { color: var(--blush); font-weight: 600; }

.answer .tick { color: var(--gold); opacity: 0; }

.answer p { margin: 0; filter: blur(7px); }

.answer.one { animation: arriveOne var(--loop) ease infinite; }
.answer.two { animation: arriveTwo var(--loop) ease infinite; }
.answer.one .tick { animation: tickOne var(--loop) ease infinite; }
.answer.two .tick { animation: tickTwo var(--loop) ease infinite; }
.answer p { animation: unveil var(--loop) cubic-bezier(0.2, 0.7, 0.2, 1) infinite; }

.revealed {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gold);
  opacity: 0;
  animation: badge var(--loop) ease infinite;
}

.heart {
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 26px;
  opacity: 0;
  transform: scale(0.4);
  animation: heart var(--loop) cubic-bezier(0.3, 1.6, 0.5, 1) infinite;
}

@keyframes arriveOne {
  0%, 10% { opacity: 0.35; }
  16%, 92% { opacity: 1; }
  100% { opacity: 0.35; }
}

@keyframes arriveTwo {
  0%, 30% { opacity: 0.35; }
  36%, 92% { opacity: 1; }
  100% { opacity: 0.35; }
}

@keyframes tickOne {
  0%, 12% { opacity: 0; }
  17%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes tickTwo {
  0%, 32% { opacity: 0; }
  37%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes unveil {
  0%, 46% { filter: blur(7px); }
  56%, 92% { filter: blur(0); }
  100% { filter: blur(7px); }
}

@keyframes badge {
  0%, 52% { opacity: 0; }
  58%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes fire {
  0%, 44% { opacity: 0.35; transform: translateX(-50%) scale(0.9); }
  56% { opacity: 1; transform: translateX(-50%) scale(1.08); }
  80%, 92% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  100% { opacity: 0.35; transform: translateX(-50%) scale(0.9); }
}

@keyframes heart {
  0%, 64% { opacity: 0; transform: scale(0.4); }
  70%, 92% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.4); }
}

@media (prefers-reduced-motion: reduce) {
  .stage::before, .answer, .answer .tick, .answer p, .revealed, .heart { animation: none; }
  .stage::before { opacity: 0.8; }
  .answer, .answer .tick, .revealed, .heart { opacity: 1; transform: none; }
  .answer p { filter: none; }
}

section.block { padding: 72px 0; border-top: 1px solid var(--line); }

h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 36px;
  max-width: 22ch;
  text-wrap: balance;
}

.timeline { list-style: none; margin: 0; padding: 0; max-width: 640px; }

.timeline li {
  position: relative;
  padding: 0 0 34px 56px;
}

.timeline li::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--night);
  background: var(--blush);
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 42px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--ember), transparent);
}

.timeline li:last-child::after { display: none; }

.timeline li:last-child::before { background: var(--ember); }

.timeline h3 { font-size: 20px; margin: 4px 0 4px; }

.timeline p { margin: 0; color: var(--ash); max-width: 46ch; }

.promises { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; max-width: 640px; }

.promises li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; }

.promises li::before {
  content: "";
  flex: 0 0 10px;
  height: 10px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px rgba(232, 101, 74, 0.8);
}

.founding {
  position: relative;
  padding: 44px 28px;
  border-radius: 32px;
  background: radial-gradient(120% 140% at 50% 120%, rgba(232, 101, 74, 0.35), transparent 60%), var(--dusk);
  border: 1px solid rgba(232, 101, 74, 0.3);
  overflow: hidden;
}

.founding h2 { margin-bottom: 14px; max-width: 18ch; }

.founding .lead { margin-bottom: 26px; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 110px;
  font-size: 14px;
  color: var(--ash);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

footer.site a { color: var(--ash); }

.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  display: none;
  padding-bottom: env(safe-area-inset-bottom);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 16px;
  background: var(--ember);
  color: var(--night);
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}

.sticky-cta.on { display: block; }

@media (min-width: 861px) {
  .sticky-cta, .sticky-cta.on { display: none; }
  footer.site { padding-bottom: 48px; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 20px 0 64px; }
  .stage { max-width: 520px; }
  section.block { padding: 56px 0; }
}

.doc { padding: 24px 0 64px; max-width: 70ch; }

.doc h1 { font-size: clamp(34px, 6vw, 48px); max-width: none; }

.doc h2 { font-size: 24px; margin: 36px 0 12px; }

.doc p, .doc li { color: var(--text); }

.doc a { color: var(--blush); }

.code-box {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 26px;
  letter-spacing: 0.12em;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px dashed var(--ember);
  margin: 8px 0 24px;
}

main.hero.single { display: block; max-width: 640px; }
