:root {
  color-scheme: dark;
  --bg: #08080a;
  --ink: #fff;
  --soft: rgba(255, 255, 255, 0.72);
  --muted: rgba(255, 255, 255, 0.46);
  --line: rgba(255, 255, 255, 0.13);
  --glass: rgba(255, 255, 255, 0.045);
  --pop: #fc302e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100svh; overflow-x: hidden; background: var(--bg); color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}

body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 52% 48% at 78% 25%, rgba(255, 255, 255, 0.07), transparent 66%),
    radial-gradient(ellipse 48% 44% at 18% 88%, rgba(255, 255, 255, 0.045), transparent 70%);
}

body::after {
  content: ""; position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

a { color: inherit; }

.page-media {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: #050506 url('/assets/hero-poster.jpg') center center / cover no-repeat;
}

.page-video {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.012);
}

.page-video-scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,5,7,.62) 0%, rgba(5,5,7,.38) 42%, rgba(5,5,7,.72) 100%),
    radial-gradient(ellipse 76% 66% at 50% 48%, rgba(0,0,0,.12), rgba(0,0,0,.58));
}

.site-header {
  position: fixed; z-index: 10; top: 0; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between;
  width: min(1200px, calc(100% - 44px)); height: 92px;
}

.brand img { display: block; width: 92px; height: auto; }

.back-link {
  color: var(--soft); font-size: 14px; text-decoration: none; transition: color .2s ease;
}

.back-link:hover { color: var(--ink); }

.signup-shell {
  position: relative; z-index: 2;
  width: min(1200px, calc(100% - 44px)); min-height: 100svh; margin: 0 auto; padding: 132px 0 72px;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); gap: clamp(48px, 8vw, 110px); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 11px; margin-bottom: 24px;
  color: var(--muted); font-family: 'Barlow Condensed', sans-serif; font-size: 13px;
  font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pop); box-shadow: 0 0 0 5px rgba(252, 48, 46, .14); }

h1 {
  max-width: 760px; font-family: 'Fraunces', Georgia, serif; font-size: clamp(52px, 7.5vw, 96px);
  font-weight: 400; line-height: .98; letter-spacing: -.035em; text-wrap: balance;
}

h1 em { font-weight: 400; }

.intro {
  max-width: 590px; margin-top: 28px; color: var(--soft); font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65; text-wrap: pretty;
}

.benefits { display: grid; gap: 13px; margin-top: 38px; list-style: none; }
.benefits li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .78); font-size: 15px; }
.benefits li::before { content: "✓"; color: var(--ink); font-size: 12px; }

.signup-card {
  position: relative; overflow: hidden; padding: clamp(28px, 4vw, 42px);
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018)), var(--glass);
  border: 1px solid var(--line); border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 35px 90px rgba(0,0,0,.28);
  backdrop-filter: blur(20px) saturate(145%); -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.card-label { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.signup-card h2 { margin-top: 13px; font-family: 'Fraunces', Georgia, serif; font-size: clamp(30px, 4vw, 44px); font-weight: 400; line-height: 1.05; }
.card-copy { margin-top: 16px; color: var(--soft); font-size: 15px; line-height: 1.6; }
.signup-form { margin-top: 30px; }
.field-label { display: block; margin-bottom: 10px; color: rgba(255,255,255,.76); font-size: 13px; font-weight: 600; }

.email-control {
  display: flex; align-items: center; gap: 8px; padding: 7px;
  background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.16); border-radius: 17px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.email-control:focus-within { border-color: rgba(255,255,255,.42); box-shadow: 0 0 0 4px rgba(255,255,255,.05); }

.email-control input {
  min-width: 0; flex: 1; padding: 14px 12px; border: 0; outline: 0; background: transparent;
  color: var(--ink); font: inherit; font-size: 15px;
}

.email-control input::placeholder { color: rgba(255,255,255,.34); }

.submit-button {
  flex: none; min-height: 46px; padding: 0 20px; border: 0; border-radius: 13px; cursor: pointer;
  background: var(--ink); color: #08080a; font-family: inherit; font-size: 14px; font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.submit-button:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255,255,255,.13); }
.submit-button:active { transform: scale(.98); }
.submit-button:disabled { cursor: wait; opacity: .62; }

.form-note { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.form-note a { color: rgba(255,255,255,.7); }
.form-status { min-height: 22px; margin-top: 14px; color: #ff8d8c; font-size: 13px; line-height: 1.5; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.success-shell { min-height: 100svh; display: grid; place-items: center; padding: 120px 22px 70px; text-align: center; }
.success-content { max-width: 790px; }

.success-mark {
  display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 30px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.055); font-size: 24px;
}

.success-content h1 { max-width: none; }
.success-content .intro { margin-left: auto; margin-right: auto; }
.success-actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.success-link { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; }
.success-link.primary { background: var(--ink); color: #08080a; }
.success-link.secondary { border: 1px solid var(--line); color: var(--soft); }

@media (max-width: 860px) {
  .signup-shell { grid-template-columns: 1fr; gap: 48px; padding-top: 128px; }
  .signup-copy { text-align: center; }
  .intro { margin-left: auto; margin-right: auto; }
  .benefits { width: fit-content; margin-left: auto; margin-right: auto; text-align: left; }
  .signup-card { width: min(560px, 100%); margin: 0 auto; }
}

@media (max-width: 560px) {
  .site-header, .signup-shell { width: calc(100% - 32px); }
  .site-header { height: 76px; }
  .brand img { width: 84px; }
  .signup-shell { padding-top: 112px; }
  .email-control { display: block; }
  .submit-button { width: 100%; margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .page-video { visibility: hidden; }
}
