:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #111318;
  color: #f7f8fa;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #111318; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.page { width: min(100%, 680px); min-height: 100vh; margin: 0 auto; padding: 0 0 28px; }
.topbar { height: 60px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; text-decoration: none; }
.brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.topbar-label { color: #8e949f; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.experience-curtain { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 44%, #17283d 0, #111318 38%, #0b0d11 100%); opacity: 1; }
.curtain-center { position: relative; display: grid; width: 168px; height: 168px; place-items: center; }
.curtain-orbit { position: absolute; inset: 0; width: 168px; height: 168px; margin: auto; border: 1px solid rgba(42, 157, 255, .22); border-radius: 50%; box-shadow: 0 0 48px rgba(24, 135, 255, .15), inset 0 0 36px rgba(24, 135, 255, .08); animation: orbit-pulse 2.5s ease-in-out infinite; }
.curtain-logo { position: relative; z-index: 1; display: block; width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 0 24px rgba(18, 139, 255, .3)); animation: logo-pulse 2.4s ease-in-out infinite; }
.experience-curtain.is-zooming { animation: curtain-zoom-away .76s cubic-bezier(.45, 0, .2, 1) both; pointer-events: none; }
.experience-curtain.is-zooming .curtain-logo { animation: logo-zoom-away .76s cubic-bezier(.25, .8, .25, 1) both; }
.experience-curtain.is-zooming .curtain-orbit { animation: orbit-zoom-away .76s ease-in both; }
.experience-curtain.is-returning { animation: curtain-return .78s ease both; }
.experience-curtain.is-returning .curtain-logo { animation: logo-return .78s cubic-bezier(.16, 1, .3, 1) both; }
.experience-curtain.is-returning .curtain-orbit { animation: orbit-return .78s cubic-bezier(.16, 1, .3, 1) both; }
.experience-curtain.is-holding .curtain-logo { animation: logo-pulse 2.4s ease-in-out infinite; }
.experience-curtain.is-confirmed .curtain-logo { animation: logo-confirmed .7s cubic-bezier(.2, .8, .2, 1) both; }
.experience-curtain.is-confirmed .curtain-orbit { animation: orbit-confirmed .7s ease-out both; }
.page.is-visible .topbar { animation: content-reveal .5s cubic-bezier(.2, .8, .2, 1) both; }
.page.is-visible #event-view .hero { animation: content-reveal .56s .08s cubic-bezier(.2, .8, .2, 1) both; }
.page.is-visible #event-view .summary { animation: content-reveal .56s .28s cubic-bezier(.2, .8, .2, 1) both; }
.page.is-visible #event-view .description { animation: content-reveal .56s .48s cubic-bezier(.2, .8, .2, 1) both; }
.page.is-visible #event-view .form-card { animation: content-reveal .56s .68s cubic-bezier(.2, .8, .2, 1) both; }
.page.is-visible #success-view { animation: content-reveal .56s .08s cubic-bezier(.2, .8, .2, 1) both; }
.hero { margin: 8px 16px 0; overflow: hidden; border-radius: 23px; background: #171b23; }
.flyer-frame { min-height: 180px; height: clamp(260px, 95vw, 520px); position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #064d85, #111318 82%); }
.flyer-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.flyer-placeholder { color: rgba(255,255,255,.65); font-size: 32px; font-weight: 900; letter-spacing: .3em; }
.hero-copy { padding: 21px 22px 23px; }
.eyebrow { margin: 0 0 9px; color: #8ac8ff; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 0; color: #fff; font-size: clamp(27px, 7vw, 34px); line-height: 1.12; letter-spacing: -.025em; }
.event-date { margin: 13px 0 0; color: #e4e8ef; font-size: 14px; font-weight: 650; }
.event-instructor { margin: 6px 0 0; color: #c8d0db; font-size: 13px; }
.summary { display: flex; align-items: center; justify-content: space-around; gap: 10px; margin: 18px 20px 0; padding: 15px 12px; border-radius: 16px; background: #1b1e25; }
.summary-item { min-width: 0; flex: 1; display: grid; justify-items: center; gap: 6px; text-align: center; }
.summary-item span { color: #858b96; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.summary-item strong { color: #fff; font-size: 12px; line-height: 1.35; }
.summary-divider { width: 1px; height: 31px; flex: 0 0 1px; background: #353943; }
.description { margin: 18px 24px 0; color: #c2c6ce; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.form-card { margin: 21px 16px 0; padding: 20px; border: 1px solid #30343d; border-radius: 22px; background: #1b1e25; }
.form-card h2 { margin: 0; color: #fff; font-size: 22px; line-height: 1.2; }
.form-subtitle { margin: 7px 0 19px; color: #aeb2bc; font-size: 13px; line-height: 1.5; }
label { display: block; margin: 14px 0 7px; color: #e7e9ed; font-size: 13px; font-weight: 700; }
input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #3a3f49; border-radius: 12px; outline: none; background: #14171d; color: #fff; font-size: 15px; }
input::placeholder { color: #777b84; }
input:focus { border-color: #4aa8ff; box-shadow: 0 0 0 3px rgba(74,168,255,.16); }
input[aria-invalid="true"] { border-color: #ff8d8d; }
.button { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; margin-top: 20px; padding: 12px 16px; border: 0; border-radius: 14px; background: var(--accent, #008dfe); color: #fff; text-align: center; text-decoration: none; font-size: 15px; font-weight: 800; cursor: pointer; }
.button:hover { filter: brightness(1.07); }
.button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.button-secondary { background: #2b303a; }
.form-error { margin: 13px 0 0; color: #ff8d8d; font-size: 13px; line-height: 1.5; }
.privacy-note { margin: 12px 0 0; color: #828894; font-size: 11px; line-height: 1.5; text-align: center; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.state-card, .success-card { margin: 34px 16px 0; min-height: 350px; padding: 30px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #30343d; border-radius: 24px; background: #1b1e25; text-align: center; }
.state-card p, .success-card p { max-width: 440px; }
.state-card h1, .success-card h1 { font-size: 26px; }
.muted { margin: 12px 0 0; color: #aeb2bc; font-size: 14px; line-height: 1.6; }
.state-mark { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 22px; border-radius: 50%; background: #252a33; color: #8ac8ff; font-size: 22px; font-weight: 900; }
.spinner { width: 34px; height: 34px; border: 3px solid #343944; border-top-color: #4aa8ff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes logo-pulse { 0%, 100% { transform: scale(.96); } 50% { transform: scale(1.04); } }
@keyframes orbit-pulse { 0%, 100% { transform: scale(.94); opacity: .6; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes curtain-zoom-away { 0% { opacity: 1; } 70% { opacity: .96; } 100% { opacity: 0; visibility: hidden; } }
@keyframes logo-zoom-away { 0% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 24px rgba(18, 139, 255, .3)); } 100% { transform: scale(15); opacity: .04; filter: blur(4px); } }
@keyframes orbit-zoom-away { to { transform: scale(9); opacity: 0; } }
@keyframes curtain-return { from { opacity: 0; } to { opacity: 1; } }
@keyframes logo-return { 0% { transform: scale(13); opacity: 0; filter: blur(4px); } 72% { transform: scale(.88); opacity: 1; filter: blur(0); } 100% { transform: scale(1); opacity: 1; } }
@keyframes orbit-return { 0% { transform: scale(8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes logo-confirmed { 0% { transform: scale(1); } 50% { transform: scale(1.12); filter: drop-shadow(0 0 38px rgba(18, 139, 255, .65)); } 100% { transform: scale(1); } }
@keyframes orbit-confirmed { 0% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.28); opacity: 1; } 100% { transform: scale(1); opacity: .9; } }
@keyframes content-reveal { from { opacity: 0; transform: translateY(16px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.success-card { margin-top: 50px; min-height: 330px; }
.success-check { display: grid; width: 64px; height: 64px; place-items: center; margin-bottom: 20px; border: 1px solid var(--accent, #008dfe); border-radius: 50%; color: var(--accent, #008dfe); font-size: 32px; font-weight: 800; }
.success-event-name { margin: 19px 0 0; color: #fff; font-size: 15px; font-weight: 700; }
.confirmation-code { margin: 9px 0 0; color: #858b96; font-size: 12px; }
.footer { padding: 28px 20px 0; color: #646a75; font-size: 9px; font-weight: 800; letter-spacing: .2em; text-align: center; }
@media (min-width: 680px) {
  .flyer-frame { height: 520px; }
  .hero { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

