:root {
  color-scheme: dark;
  --ink: #180846;
  --ink-deep: #0b0420;
  --violet: #421063;
  --magenta: #c72fbd;
  --magenta-hot: #eb4fdf;
  --pink: #f5d5ff;
  --cyan: #37d7ff;
  --white: #fffaff;
  --muted: #d9c9e3;
  --line: rgba(255, 255, 255, 0.18);
  --panel: rgba(18, 5, 49, 0.76);
  --panel-strong: rgba(13, 4, 36, 0.92);
  --shadow: 0 30px 90px rgba(6, 1, 24, 0.48);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink-deep);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 10%, rgba(199, 47, 189, 0.34), transparent 35rem),
    var(--ink-deep);
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: var(--ink-deep);
  background: var(--white);
  border-radius: 999px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  min-height: 100vh;
  padding: clamp(0.75rem, 2vw, 1.75rem);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: calc(100vh - clamp(1.5rem, 4vw, 3.5rem));
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 3rem) clamp(1.1rem, 5vw, 5rem) clamp(1.1rem, 2.8vw, 2.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: clamp(1.5rem, 3vw, 3rem);
  background:
    linear-gradient(100deg, rgba(199, 47, 189, 0.3) 0%, rgba(53, 9, 79, 0.94) 38%, rgba(24, 8, 70, 0.72) 72%, rgba(8, 2, 28, 0.92) 100%),
    var(--ink);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 38%;
  opacity: 0.34;
  background: repeating-linear-gradient(
    0deg,
    rgba(55, 215, 255, 0.28) 0,
    rgba(55, 215, 255, 0.28) 1px,
    transparent 1px,
    transparent 6px
  );
  mask-image: linear-gradient(to bottom, transparent, #000 38%);
}

.hero-art {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: url("/assets/flyer-background.webp");
  background-repeat: no-repeat;
  background-position: 50% 64%;
  background-size: cover;
  filter: saturate(1.05) contrast(1.03);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--ink) 0%,
      rgba(24, 8, 70, 0.98) 38%,
      rgba(24, 8, 70, 1) 50%,
      rgba(24, 8, 70, 0.78) 60%,
      rgba(24, 8, 70, 0.24) 70%,
      transparent 80%
    ),
    linear-gradient(0deg, rgba(11, 4, 32, 0.32), transparent 54%);
}

.hero-lines {
  position: absolute;
  z-index: -2;
  width: min(48vw, 760px);
  aspect-ratio: 1;
  top: -31%;
  right: -8%;
  border: 1px solid rgba(245, 213, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 22px rgba(245, 213, 255, 0.045),
    0 0 0 44px rgba(245, 213, 255, 0.04),
    0 0 0 66px rgba(245, 213, 255, 0.035),
    0 0 0 88px rgba(245, 213, 255, 0.03),
    0 0 0 110px rgba(245, 213, 255, 0.025),
    0 0 0 132px rgba(245, 213, 255, 0.02);
  opacity: 0.9;
}

.brand-row,
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-size: clamp(0.86rem, 1.4vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0.075em;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(245, 213, 255, 0.34);
  border-radius: 999px;
  color: var(--pink);
  background: rgba(24, 8, 70, 0.46);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 470px);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  width: 100%;
  padding: clamp(2.5rem, 5vh, 5rem) 0;
}

.hero-grid,
.hero-copy,
.registration-card {
  min-width: 0;
}

.hero-copy {
  max-width: 730px;
}

.eyebrow,
.card-kicker,
.info-kicker {
  margin: 0 0 1.1rem;
  color: var(--pink);
  font-size: clamp(0.76rem, 1.2vw, 0.95rem);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.eyebrow span {
  display: block;
  margin-top: 0.35rem;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  max-width: 8ch;
  font-family: "Arial Black", Impact, "Segoe UI Black", sans-serif;
  font-size: clamp(4.5rem, 10vw, 9.7rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  text-shadow:
    0 0 22px rgba(235, 79, 223, 0.82),
    0 0 70px rgba(199, 47, 189, 0.4);
}

.hero h1 span {
  display: block;
}

.lead {
  margin: clamp(1.8rem, 4vh, 3.25rem) 0 0.4rem;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.support {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

.session-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.55rem 0 0;
  padding: 0;
  list-style: none;
}

.session-notes li {
  padding: 0.52rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--pink);
  background: rgba(11, 4, 32, 0.36);
  font-size: 0.82rem;
  font-weight: 750;
}

.registration-card {
  padding: clamp(1.45rem, 3.2vw, 2.35rem);
  border: 1px solid rgba(245, 213, 255, 0.24);
  border-radius: 1.6rem;
  background:
    linear-gradient(145deg, rgba(58, 15, 88, 0.72), rgba(11, 4, 32, 0.9)),
    var(--panel);
  box-shadow:
    0 24px 70px rgba(4, 1, 19, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(24px) saturate(1.2);
}

.registration-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.card-kicker {
  margin-bottom: 0.65rem;
  color: var(--pink);
}

.card-intro {
  margin: 0.75rem 0 1.45rem;
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.55;
}

.registration-form {
  display: grid;
  gap: 1rem;
}

.field-row {
  display: grid;
  gap: 0.45rem;
}

.field-row label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.optional {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
}

.field-row input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.76rem 0.9rem;
  border: 1px solid rgba(245, 213, 255, 0.3);
  border-radius: 0.75rem;
  color: var(--white);
  background: rgba(5, 1, 18, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 1rem;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.field-row input:hover {
  border-color: rgba(245, 213, 255, 0.58);
}

.field-row input:focus {
  border-color: var(--cyan);
  background: rgba(5, 1, 18, 0.82);
  box-shadow: 0 0 0 4px rgba(55, 215, 255, 0.14);
  outline: none;
}

.consent-row {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  align-items: start;
  gap: 0.72rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.48;
  cursor: pointer;
}

.consent-row input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.17rem 0 0;
  accent-color: var(--magenta-hot);
}

.consent-row a,
.trust-copy a {
  color: var(--white);
  font-weight: 750;
}

.registration-form button,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.45rem;
  padding: 0.85rem 1.2rem;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(90deg, #a918a5, var(--magenta-hot));
  box-shadow: 0 13px 30px rgba(199, 47, 189, 0.3);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.015em;
  cursor: pointer;
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

.registration-form button:not(:disabled):hover,
.primary-link:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 17px 38px rgba(199, 47, 189, 0.4);
}

.registration-form button:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  box-shadow: none;
}

.form-status {
  min-height: 1.3em;
  margin: -0.25rem 0 0;
  color: var(--pink);
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-status[data-state="error"] {
  color: #ffd0ce;
}

.trust-copy {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.trust-copy p {
  margin: 0;
}

.trust-copy p + p {
  margin-top: 0.42rem;
}

.trust-copy strong {
  color: var(--white);
}

.site-footer {
  align-items: flex-end;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 250, 255, 0.72);
  font-size: 0.76rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

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

.info-page,
.state-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background:
    linear-gradient(120deg, rgba(199, 47, 189, 0.2), rgba(24, 8, 70, 0.84)),
    url("/assets/flyer-background.webp") center / cover fixed,
    var(--ink);
}

.info-shell,
.state-card {
  width: min(100%, 760px);
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid rgba(245, 213, 255, 0.25);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.info-shell h1,
.state-card h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.info-lead,
.state-card > p:not(.info-kicker) {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
}

.info-shell section {
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.info-shell h2 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

.info-shell section p,
.info-footer {
  color: var(--muted);
  line-height: 1.72;
}

.info-shell a,
.state-card a:not(.primary-link) {
  color: var(--pink);
}

.back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--pink);
  font-weight: 800;
}

.info-footer {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.info-footer p {
  margin: 0.35rem 0;
}

.state-card {
  text-align: left;
}

.state-card .state-note {
  margin-bottom: 1.8rem;
  font-size: 0.94rem;
}

.primary-link {
  width: fit-content;
}

@media (max-width: 900px) {
  .hero {
    min-height: calc(100vh - 1.5rem);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2.25rem;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-art {
    inset: 0 0 auto;
    height: 62%;
    opacity: 0.64;
    background-position: 64% 50%;
    background-size: auto 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  }

  .hero-art::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(24, 8, 70, 0.45) 50%, transparent),
      linear-gradient(0deg, var(--ink) 0%, transparent 65%);
  }

  .hero h1 {
    font-size: clamp(5.4rem, 18vw, 9rem);
  }

  .registration-card {
    width: min(100%, 620px);
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 0;
  }

  .hero {
    min-height: 100vh;
    padding: 1.2rem 1rem 1rem;
    border: 0;
    border-radius: 0;
  }

  .brand-row {
    align-items: flex-start;
  }

  .live-pill {
    max-width: 10rem;
    justify-content: center;
    text-align: center;
    font-size: 0.6rem;
  }

  .hero-grid {
    padding: 3.3rem 0 2rem;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 23vw, 7.2rem);
  }

  .lead {
    margin-top: 1.7rem;
  }

  .session-notes {
    gap: 0.45rem;
  }

  .session-notes li {
    font-size: 0.72rem;
  }

  .registration-card {
    padding: 1.25rem;
    border-radius: 1.2rem;
  }

  .field-row input {
    font-size: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .info-page,
  .state-page {
    padding: 0;
  }

  .info-shell,
  .state-card {
    min-height: 100vh;
    padding: 2rem 1.15rem;
    border: 0;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
