:root {
  --bg: #05060a;
  --ink: #f4f1ea;
  --muted: #9695a0;
  --teal: #3fe0c5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

#aurora { filter: blur(40px) saturate(1.2); inset: 0; opacity: .9; position: fixed; z-index: 0; }
#spectrum {
  filter: drop-shadow(0 0 14px rgba(177, 61, 154, .32));
  mix-blend-mode: screen;
  opacity: .82;
  pointer-events: none;
  position: fixed;
  right: max(-92px, calc((100vw - 1240px) / 2) - 34px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  inset: 0;
  mix-blend-mode: overlay;
  opacity: .05;
  pointer-events: none;
  position: fixed;
  z-index: 2;
}
.vignette {
  background: radial-gradient(125% 85% at 50% 20%, transparent 46%, rgba(5, 6, 10, .47) 80%, rgba(5, 6, 10, .88) 100%);
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 1;
}
.wrap { margin: 0 auto; max-width: 1200px; padding: 0 clamp(24px, 5vw, 64px); position: relative; z-index: 3; }
header { align-items: center; display: flex; justify-content: space-between; padding-top: clamp(28px, 4vw, 44px); }
.brand { display: flex; font-size: 19px; font-weight: 600; }
.brand span { color: var(--muted); font-weight: 400; }
main { display: flex; flex-direction: column; justify-content: center; min-height: 78vh; padding: 7vh 0 4vh; }
.eyebrow { align-items: center; color: var(--muted); display: inline-flex; font-size: 12px; gap: 10px; letter-spacing: .28em; margin-bottom: 30px; text-transform: uppercase; }
.dot { animation: breathe 2.4s ease-in-out infinite; background: var(--teal); border-radius: 50%; box-shadow: 0 0 12px var(--teal); height: 6px; width: 6px; }
@keyframes breathe { 50% { opacity: .25; } }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 8.4vw, 116px); font-weight: 400; letter-spacing: -.03em; line-height: .98; max-width: 14ch; }
h1 em { background: linear-gradient(105deg, #e8896c, #d2a35f 48%, #9fb185); background-clip: text; color: transparent; font-size: .96em; font-weight: 400; }
.reveal { display: block; overflow: hidden; }
.reveal > span { animation: rise 1.1s cubic-bezier(.16, 1, .3, 1) forwards; display: block; transform: translateY(110%); }
.reveal:nth-child(2) > span { animation-delay: .12s; }
.reveal:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: translateY(0); } }
.lede { animation: fade 1.2s ease .55s forwards; color: #d7d5df; font-size: clamp(16px, 1.5vw, 19px); margin-top: 34px; max-width: 50ch; opacity: 0; }
.lede span { color: #aaa8b2; }
@keyframes fade { to { opacity: 1; } }
.cta { animation: fade 1.2s ease .8s forwards; margin-top: 46px; opacity: 0; }
form { display: flex; flex-wrap: wrap; gap: 6px; max-width: 550px; }
.field { flex: 1; min-width: 240px; }
input[type="email"] { backdrop-filter: blur(10px); background: rgba(255, 255, 255, .05); border: 1px solid rgba(244, 241, 234, .3); border-radius: 100px; color: var(--ink); font: inherit; font-size: 15px; padding: 19px 24px; transition: border-color .3s, background .3s; width: 100%; }
input[type="email"]::placeholder { color: #92909c; }
input[type="email"]:focus { background: rgba(255, 255, 255, .07); border-color: rgba(201, 162, 63, .7); box-shadow: 0 0 0 3px rgba(201, 162, 63, .1); outline: none; }
button { background: var(--ink); border: 0; border-radius: 100px; color: #0a0a0f; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; padding: 19px 32px; transition: transform .25s, box-shadow .25s; white-space: nowrap; }
button:hover { box-shadow: 0 14px 40px rgba(244, 241, 234, .22); transform: translateY(-2px); }
button:disabled { cursor: wait; opacity: .68; transform: none; }
.note { align-items: center; color: #bcbac4; display: flex; font-size: 14px; gap: 9px; line-height: 1.5; margin-top: 18px; }
.note svg { flex: 0 0 auto; }
.message { color: var(--teal); font-size: 14px; margin-top: 18px; min-height: 21px; opacity: 0; transform: translateY(6px); transition: .5s; }
.message.show { opacity: 1; transform: none; }
.message.error { color: #df8a92; }
.honeypot { height: 0; left: -10000px; overflow: hidden; position: absolute; width: 0; }
.sr-only { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
footer { animation: fade 1.4s ease 1s forwards; color: #7a7a85; font-size: 12px; opacity: 0; padding: 40px 0; }

@media (max-width: 920px), (pointer: coarse) {
  #spectrum { display: none; }
  #aurora { filter: blur(28px) saturate(1.05); opacity: .7; }
  .grain { opacity: .035; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-delay: 0s !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .lede, .cta, footer { opacity: 1; }
  .reveal > span { transform: none; }
  #spectrum { display: none; }
}
