:root {
  color-scheme: dark;
  --ink: #0b0b0d;
  --paper: #f4f6f4;
  --neon: #39ff88;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
}

body {
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.screen {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  padding: max(24px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
}

.backdrop,
.veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.backdrop {
  object-fit: cover;
  object-position: 60% center;
  filter: saturate(0.65) contrast(1.08);
}

.veil {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.88) 0%, rgba(11, 11, 13, 0.38) 39%, rgba(11, 11, 13, 0.93) 100%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.42), transparent 70%);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  border-bottom: 1px solid rgba(244, 246, 244, 0.28);
  padding-bottom: 16px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.signal {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 16px rgba(57, 255, 136, 0.9);
}

.city {
  color: rgba(244, 246, 244, 0.7);
  font-size: 10px;
  font-weight: 700;
}

.event {
  align-self: end;
  width: min(100%, 680px);
  padding-bottom: clamp(42px, 9vh, 92px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--neon);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  max-width: 660px;
  margin: 0 0 28px;
  font-size: 36px;
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}

.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 430px);
  min-height: 58px;
  padding: 0 19px 0 21px;
  background: var(--neon);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: background-color 160ms ease, transform 160ms ease;
}

.primary:hover {
  background: #74ffac;
  transform: translateY(-2px);
}

.primary:focus-visible,
.secondary:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

.arrow {
  font-size: 22px;
  line-height: 1;
}

.secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: rgba(244, 246, 244, 0.86);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  font-size: 13px;
  font-weight: 700;
}

.event-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  width: min(100%, 520px);
}

.status-line {
  width: min(100%, 430px);
  margin: -8px 0 24px;
  border-left: 3px solid var(--neon);
  padding: 4px 0 4px 14px;
  color: rgba(244, 246, 244, 0.82);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.secondary:hover {
  color: var(--neon);
}

footer {
  align-self: end;
  border-top: 1px solid rgba(244, 246, 244, 0.28);
  padding-top: 14px;
  color: rgba(244, 246, 244, 0.65);
  font-size: 10px;
  font-weight: 700;
}

@media (max-height: 670px) {
  .screen {
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .event {
    padding-bottom: 26px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: 34px;
  }

  .primary {
    min-height: 52px;
  }

  .secondary {
    margin-top: 14px;
  }
}

@media (min-width: 760px) {
  .screen {
    padding: 34px 42px 26px;
  }

  .event {
    padding-bottom: 8vh;
  }

  .backdrop {
    object-position: center 35%;
  }

  h1 {
    font-size: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary {
    transition: none;
  }
}

/* Friday launch offer */
.friday-screen {
  min-height: 100svh;
  overflow: auto;
}

.friday-screen .backdrop {
  object-position: 62% center;
  filter: saturate(0.72) contrast(1.1);
}

.friday-screen .veil {
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.9) 0%, rgba(11, 11, 13, 0.48) 40%, rgba(11, 11, 13, 0.95) 100%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.92) 0%, rgba(11, 11, 13, 0.48) 58%, rgba(11, 11, 13, 0.36) 100%);
}

.friday-event {
  align-self: center;
  display: grid;
  gap: 34px;
  width: 100%;
  padding: 44px 0;
}

.friday-story {
  align-self: center;
  max-width: 680px;
}

.friday-story h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(44px, 8vw, 94px);
  line-height: 0.92;
}

.friday-intro {
  max-width: 510px;
  margin: 0;
  color: rgba(244, 246, 244, 0.78);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 510px);
  margin: 34px 0 0;
  border-top: 1px solid rgba(244, 246, 244, 0.26);
  border-bottom: 1px solid rgba(244, 246, 244, 0.26);
}

.event-facts div {
  padding: 15px 14px 16px 0;
}

.event-facts div + div {
  border-left: 1px solid rgba(244, 246, 244, 0.26);
  padding-left: 14px;
}

.event-facts dt {
  margin-bottom: 6px;
  color: rgba(244, 246, 244, 0.54);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.event-facts dd {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.ticket-panel {
  align-self: center;
  width: 100%;
  max-width: 510px;
  border: 1px solid rgba(244, 246, 244, 0.34);
  background: rgba(11, 11, 13, 0.88);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  padding: 20px;
  backdrop-filter: blur(18px);
}

.ticket-topline,
.ticket-heading,
.price-row,
.price-total,
.stripe-checkout,
.primary-checkout,
.eventbrite-checkout,
.friday-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ticket-topline {
  border-bottom: 1px dashed rgba(244, 246, 244, 0.26);
  padding-bottom: 14px;
  color: rgba(244, 246, 244, 0.52);
  font-size: 9px;
  font-weight: 800;
}

.ticket-heading {
  align-items: flex-start;
  padding: 22px 0 20px;
}

.ticket-kicker {
  margin: 0 0 7px;
  color: var(--neon);
  font-size: 9px;
  font-weight: 800;
}

.ticket-heading h2 {
  max-width: 290px;
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  border: 1px solid rgba(57, 255, 136, 0.34);
  padding: 7px 9px;
  color: var(--neon);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.availability span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px rgba(57, 255, 136, 0.9);
}

.price-stack {
  border-top: 1px solid rgba(244, 246, 244, 0.2);
  padding-top: 16px;
}

.price-row {
  padding: 6px 0;
  color: rgba(244, 246, 244, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.price-regular span:last-child {
  text-decoration: line-through;
  text-decoration-color: rgba(244, 246, 244, 0.65);
}

.price-credit {
  color: var(--neon);
}

.promo-applied {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 13px 0 18px;
  border: 1px solid rgba(57, 255, 136, 0.3);
  padding: 8px 10px;
  color: rgba(244, 246, 244, 0.8);
  font-size: 9px;
  font-weight: 700;
}

.promo-check {
  color: var(--neon);
  font-size: 13px;
}

.price-total {
  border-top: 1px solid rgba(244, 246, 244, 0.2);
  padding: 18px 0;
  font-size: 13px;
  font-weight: 800;
}

.price-total strong {
  color: var(--neon);
  font-size: 34px;
  line-height: 1;
}

.price-total small {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.stripe-checkout {
  min-height: 62px;
  background: var(--neon);
  padding: 0 18px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  transition: background-color 160ms ease, transform 160ms ease;
}

.primary-checkout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  background: var(--neon);
  padding: 0 18px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  transition: background-color 160ms ease, transform 160ms ease;
}

.primary-checkout:hover {
  background: #74ffac;
  transform: translateY(-2px);
}

.primary-checkout.is-disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.stripe-checkout:hover {
  background: #74ffac;
  transform: translateY(-2px);
}

.stripe-checkout:focus-visible,
.primary-checkout:focus-visible,
.eventbrite-checkout:focus-visible,
.friday-footer a:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

.eventbrite-checkout {
  min-height: 45px;
  border: 1px solid rgba(244, 246, 244, 0.28);
  border-top: 0;
  padding: 0 18px;
  color: rgba(244, 246, 244, 0.72);
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
  transition: border-color 160ms ease, color 160ms ease;
}

.eventbrite-checkout strong {
  color: var(--paper);
  font-size: 11px;
}

.eventbrite-checkout:hover {
  border-color: rgba(57, 255, 136, 0.56);
  color: var(--neon);
}

.checkout-note {
  margin: 13px 0 0;
  color: rgba(244, 246, 244, 0.5);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.45;
}

.merchant-note {
  margin: 8px 0 0;
  color: rgba(244, 246, 244, 0.38);
  font-size: 8px;
  font-weight: 650;
  line-height: 1.45;
}

.friday-footer nav {
  display: flex;
  gap: 20px;
}

.friday-footer a {
  color: rgba(244, 246, 244, 0.72);
  text-underline-offset: 4px;
}

.friday-footer a:hover {
  color: var(--neon);
}

@media (min-width: 900px) {
  .friday-event {
    grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.8fr);
    align-items: center;
    gap: clamp(50px, 7vw, 110px);
  }

  .ticket-panel {
    justify-self: end;
  }
}

@media (max-width: 899px) {
  .friday-screen {
    min-height: auto;
  }

  .friday-screen .backdrop,
  .friday-screen .veil {
    position: fixed;
  }

  .friday-event {
    padding: 72px 0 50px;
  }
}

@media (max-width: 520px) {
  .friday-screen {
    padding-right: 16px;
    padding-left: 16px;
  }

  .friday-screen .city {
    max-width: 100px;
    text-align: right;
  }

  .friday-event {
    gap: 28px;
    padding-top: 54px;
  }

  .friday-story h1 {
    font-size: 48px;
  }

  .friday-intro {
    font-size: 14px;
  }

  .ticket-panel {
    padding: 16px;
  }

  .ticket-heading h2 {
    font-size: 22px;
  }

  .price-total strong {
    font-size: 31px;
  }

  .stripe-checkout,
  .primary-checkout,
  .eventbrite-checkout {
    min-height: 58px;
    padding: 0 15px;
    font-size: 12px;
  }

  .eventbrite-checkout {
    min-height: 43px;
    font-size: 10px;
  }

  .friday-footer {
    align-items: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stripe-checkout,
  .primary-checkout,
  .eventbrite-checkout {
    transition: none;
  }
}
