html, body { margin: 0; padding: 0; background: #1C1A21; }
* { box-sizing: border-box; }

a { color: #F9FAFD; text-decoration: none; }
a:hover { color: #9FB0CE; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.hp-field { position: absolute; left: -5000px; top: auto; width: 1px; height: 1px; overflow: hidden; margin: 0; }

:focus-visible { outline: 2px solid rgba(249,250,253,0.85); outline-offset: 3px; }

.page {
  min-height: 100vh;
  background: #1C1A21;
  color: #F9FAFD;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Blurred colour fields */
.fields {
  position: absolute; inset: -12%; z-index: 0; pointer-events: none; overflow: hidden;
  filter: blur(170px) saturate(150%); opacity: 1;
}
.blob { position: absolute; border-radius: 50%; opacity: 0.9; }
.blob-1 { left: -6%; top: -8%; width: 44%; height: 52%; background: radial-gradient(closest-side, rgba(46,178,170,0.72), rgba(46,178,170,0) 100%); animation: bu-drift-b 52s ease-in-out infinite; }
.blob-2 { left: 4%; top: 46%; width: 46%; height: 64%; background: radial-gradient(closest-side, rgba(224,101,60,0.6), rgba(224,101,60,0) 100%); animation: bu-drift-a 46s ease-in-out infinite; }
.blob-3 { left: 26%; top: 62%; width: 52%; height: 58%; background: radial-gradient(closest-side, rgba(52,92,206,0.85), rgba(52,92,206,0) 100%); animation: bu-drift-b 58s ease-in-out infinite; }
.blob-4 { right: 2%; top: 30%; width: 44%; height: 62%; background: radial-gradient(closest-side, rgba(40,152,190,0.7), rgba(40,152,190,0) 100%); animation: bu-drift-a 64s ease-in-out infinite reverse; }
.blob-5 { right: 14%; top: 2%; width: 38%; height: 44%; background: radial-gradient(closest-side, rgba(242,190,130,0.56), rgba(242,190,130,0) 100%); animation: bu-drift-b 72s ease-in-out infinite; }
.blob-6 { left: 30%; bottom: -14%; width: 56%; height: 46%; opacity: 0.2; background: radial-gradient(closest-side, rgba(30,60,110,0.82), rgba(30,60,110,0) 100%); animation: bu-drift-a 80s ease-in-out infinite; }

.vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(120% 70% at 50% 42%, rgba(28,26,33,0) 0%, rgba(28,26,33,0.08) 30%, rgba(28,26,33,0.2) 46%, rgba(28,26,33,0.36) 60%, rgba(28,26,33,0.56) 74%, rgba(28,26,33,0.74) 88%, rgba(28,26,33,0.86) 100%);
}

/* Animated brand-component tags */
.marquee {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: center;
  gap: 18px; padding-top: 40px;
  -webkit-mask-image: radial-gradient(74% 34% at 50% 50%, transparent 30%, rgba(0,0,0,0.12) 46%, rgba(0,0,0,0.34) 58%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.85) 84%, #000 100%);
          mask-image: radial-gradient(74% 34% at 50% 50%, transparent 30%, rgba(0,0,0,0.12) 46%, rgba(0,0,0,0.34) 58%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.85) 84%, #000 100%);
}
.marquee-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.track-a { animation: bu-left 60s linear infinite; }
.track-b { animation: bu-right 81s linear infinite; }
.track-c { animation: bu-left 102s linear infinite; }
.tag {
  flex: none; padding: 11px 20px; border-radius: 999px;
  border: 1px solid rgba(249,250,253,0.5); background: rgba(249,250,253,0.16);
  font-size: 15px; letter-spacing: -0.01em; color: #F9FAFD; white-space: nowrap;
}

/* Header */
.site-header {
  position: relative; z-index: 5; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 30px;
}
.logo { height: 30px; width: auto; display: block; }
.beta { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(249,250,253,0.45); }

/* Main */
.site-main {
  position: relative; z-index: 5; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(20px, 3vh, 56px) clamp(20px, 5vw, 64px);
}
.hero {
  position: relative; max-width: 780px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 30px;
  animation: bu-rise 0.7s cubic-bezier(0.16,1,0.3,1) both;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  border: 1px solid rgba(249,250,253,0.16); background: rgba(249,250,253,0.05);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(249,250,253,0.72);
}
.headline {
  margin: 0; font-size: clamp(30px, min(9.5vw, 11vh), 62px); line-height: 0.96;
  letter-spacing: -0.04em; font-weight: 600; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(28,26,33,0.8), 0 1px 3px rgba(28,26,33,0.45);
}
.lede {
  margin: 0; width: 100%; max-width: 760px;
  font-size: clamp(14px, min(3.4vw, 3vh), 16px); line-height: 1.55; letter-spacing: -0.01em;
  color: rgba(249,250,253,0.78); text-wrap: pretty;
  text-shadow: 0 1px 22px rgba(28,26,33,0.85);
}

/* Signup */
.form-wrap {
  width: 100%; max-width: 470px; margin-top: 8px;
  display: flex; flex-direction: column; align-items: center; gap: 13px;
}
.signup {
  position: relative; width: 100%;
  display: flex; flex-wrap: wrap; gap: 9px; padding: 7px;
  border-radius: 999px; border: 1px solid transparent;
  -webkit-backdrop-filter: blur(22px) saturate(150%);
          backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.5);
  background-color: #CCCCCC16;
  border-color: #FFFFFF38;
}
.signup::before {
  content: ''; position: absolute; inset: -1px; border-radius: 999px; padding: 1.5px;
  pointer-events: none;
  background: conic-gradient(from var(--bu-a), rgba(255,255,255,0) 0deg, rgba(255,255,255,0) 190deg, rgba(255,255,255,0.28) 250deg, rgba(255,255,255,0.95) 300deg, rgba(255,255,255,0.28) 340deg, rgba(255,255,255,0) 360deg);
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
          mask: linear-gradient(#000,#000) content-box exclude, linear-gradient(#000,#000);
  -webkit-mask-composite: destination-out;
          mask-composite: exclude;
  animation: bu-orbit 8s linear infinite;
}
.signup-input {
  flex: 1 1 200px; min-width: 0; border: none; background: transparent; color: #F9FAFD;
  font-family: inherit; font-size: 15px; letter-spacing: -0.01em; padding: 11px 16px;
}
.signup-input::placeholder { color: rgba(249,250,253,0.34); }
.signup-input:focus { outline: none; }
.signup-input:focus-visible { outline: 2px solid rgba(249,250,253,0.85); outline-offset: 2px; border-radius: 999px; }
.signup-button {
  flex: none; border: none; cursor: pointer; border-radius: 999px;
  background: #F9FAFD; color: #1C1A21;
  font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  padding: 13px 23px;
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}
.signup-button:hover { opacity: 0.86; }
.signup-button[disabled] { cursor: default; opacity: 0.6; }
.form-error { margin: 0; font-size: 13px; line-height: 1.4; color: rgba(249,250,253,0.72); }

@media (max-width: 460px) {
  .marquee { opacity: 0.1; }
  .signup { border-radius: 26px; }
  .signup::before { border-radius: 26px; }
  .signup-input { flex: 1 1 100%; text-align: center; }
  .signup-button { flex: 1 1 100%; width: 100%; }
}

.success {
  width: 100%; max-width: 520px; margin-top: 8px; padding: 26px 28px;
  border-radius: 22px; border: 1px solid rgba(159,176,206,0.28); background: rgba(159,176,206,0.08);
  display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.success[hidden] { display: none; }
.success-title { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.success-body { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(249,250,253,0.68); text-wrap: pretty; }

/* Footer */
.site-footer {
  position: relative; z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 30px;
  font-size: 12px; color: rgba(249,250,253,0.4);
}
.legal { font-size: 10px; }
.footer-links { display: flex; gap: 22px; }

@keyframes bu-left { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes bu-right { from { transform: translate3d(-50%,0,0); } to { transform: translate3d(0,0,0); } }
@keyframes bu-rise { from { opacity: 0; transform: translate3d(0,14px,0); } to { opacity: 1; transform: none; } }
@property --bu-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes bu-orbit { to { --bu-a: 360deg; } }
@keyframes bu-drift-a { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(6%,-5%,0) scale(1.12); } }
@keyframes bu-drift-b { 0%, 100% { transform: translate3d(0,0,0) scale(1.06); } 50% { transform: translate3d(-7%,4%,0) scale(0.94); } }

@media (prefers-reduced-motion: reduce) {
  [data-bu-track], .blob, .signup::before, .hero { animation: none !important; }
}
