* { box-sizing: border-box; }
html { background: var(--color-canvas); scroll-behavior: smooth; }
body { margin: 0; background: var(--color-canvas); color: var(--color-text); font-family: var(--font-body); line-height: var(--leading-body); overflow-x: hidden; }
body:has(.auth-shell) { width: 100%; }
a { color: var(--color-link); }
a:focus-visible, button:focus-visible { border-radius: .35rem; outline: .2rem solid var(--color-focus); outline-offset: .25rem; }
button { font: inherit; }
.form input, .form select, .form textarea {
  max-width: 100%;
  min-width: 0;
}
.pay-shell > * { max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.profile-shell fieldset, .profile-shell input { max-width: 100%; min-width: 0; }
.skip-link { background: var(--color-cyan-400); color: var(--color-navy-950); font-weight: 700; left: .75rem; max-width: calc(100vw - 1.5rem); overflow-wrap: anywhere; padding: .75rem 1rem; position: fixed; top: .75rem; transform: translateY(-200%); z-index: 20; }
.skip-link:focus { transform: translateY(0); }
.site-header { align-items: center; display: flex; flex-wrap: wrap; gap: .25rem .75rem; justify-content: space-between; margin: auto; max-width: 80rem; min-height: 4.75rem; padding: .75rem 1rem; position: relative; z-index: 5; }
.brand-link { display: block; min-height: 44px; width: min(48vw, 14rem); }
.brand-link img { display: block; height: auto; width: 100%; }
.header-sign-in { align-items: center; display: inline-flex; min-height: 44px; text-decoration-thickness: .125rem; text-underline-offset: .3em; }
.hero .kc-display, .benefits .kc-display, .skill-callout .kc-display, .join .kc-display { overflow-wrap: anywhere; }
.hero { display: grid; min-height: 42rem; overflow: hidden; position: relative; }
.hero-copy { align-content: end; display: grid; gap: 1rem; padding: 2rem 1rem 3rem; position: relative; z-index: 2; }
.hero-copy::before { background: linear-gradient(180deg, rgba(8,13,26,.08), #080d1a 75%); content: ""; inset: -8rem -2rem -2rem; position: absolute; z-index: -1; }
.hero-art { inset: 0; position: absolute; }
.hero-art::after { background: linear-gradient(90deg, rgba(8,13,26,.75), transparent 60%), linear-gradient(0deg, #080d1a 0%, transparent 42%); content: ""; inset: 0; position: absolute; }
.hero-art img { height: 100%; object-fit: cover; object-position: 58% 54%; width: 100%; }
.court-grid { background-image: linear-gradient(rgba(0,229,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,42,138,.18) 1px, transparent 1px); background-size: 2rem 2rem; bottom: -10%; height: 30%; left: 0; opacity: .7; perspective: 20rem; position: absolute; right: 0; transform: rotateX(58deg); z-index: 1; }
.eyebrow, .section-kicker { color: var(--color-cyan-400); margin: 0; }
.hero h1 { font-size: clamp(3rem, 15vw, 6.75rem); margin: 0; max-width: 10ch; text-wrap: balance; }
.hero h1 em { color: var(--color-magenta-500); font-style: inherit; }
.hero-intro { font-size: 1.125rem; margin: 0; max-width: 30rem; }
.button { align-items: center; border: .125rem solid currentColor; border-radius: .75rem; display: inline-flex; justify-content: center; min-height: 52px; padding: .8rem 1.15rem; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; width: fit-content; }
.button-primary { background: var(--color-magenta-500); box-shadow: 0 0 1.25rem rgba(255,42,138,.34); color: var(--color-navy-950); }
.button:hover, .button:active { transform: translateY(-2px); }
.button:active { box-shadow: 0 0 .35rem rgba(255,42,138,.45); transform: translateY(1px) scale(.99); }
.benefits, .join { margin: auto; max-width: 76rem; padding: 4rem 1rem; }
.benefits > h2, .join > h2, .skill-callout h2 { font-size: var(--text-display-lg); margin: .35rem 0 2rem; }
.benefits > h2 { color: var(--color-magenta-500); }
.benefit-grid { display: grid; gap: 1rem; }
.benefit-card { background: linear-gradient(135deg, rgba(255,255,255,.035), transparent); border: .1rem solid currentColor; border-radius: 1rem; box-shadow: inset 0 0 2rem rgba(255,255,255,.025); color: var(--color-text); min-height: 13rem; padding: 1.25rem; position: relative; transition: transform 180ms ease, box-shadow 180ms ease; }
.benefit-card-pink { border-color: var(--color-pink-400); }
.benefit-card-cyan { border-color: var(--color-cyan-400); }
.benefit-card:hover { box-shadow: 0 0 1.25rem rgba(0,229,255,.14); transform: translateY(-3px); }
.benefit-card h3 { color: var(--color-cyan-400); font-size: var(--text-title); margin: 2.5rem 0 .65rem; }
.benefit-card-pink h3 { color: var(--color-pink-400); }
.benefit-card p { margin: 0; max-width: 30ch; }
.benefit-number { color: var(--color-text-muted); position: absolute; right: 1rem; top: .8rem; }
.skill-callout { align-items: center; background: linear-gradient(135deg, rgba(123,44,255,.32), rgba(255,42,138,.12)); border-block: 1px solid var(--color-magenta-500); display: grid; gap: 2rem; padding: 4rem max(1rem, calc((100vw - 76rem) / 2)); }
.skill-callout strong { color: var(--color-cyan-400); font-size: 1.2em; }
.skill-callout p { max-width: 42rem; }
.ball-pattern { aspect-ratio: 1; border: .4rem solid var(--color-cyan-400); border-radius: 50%; box-shadow: 0 0 1.5rem rgba(0,229,255,.3); justify-self: center; max-width: 10rem; opacity: .9; position: relative; width: 45vw; }
.ball-pattern::before { background: radial-gradient(circle, var(--color-navy-950) 0 19%, transparent 21%) 0 0/2.8rem 2.8rem, var(--color-pink-400); border-radius: 50%; content: ""; inset: .7rem; position: absolute; }
.join { text-align: center; }
.join > h2 { color: var(--color-magenta-500); }
.join-intro { margin: -1rem auto 2rem; max-width: 42rem; }
.join-options { display: grid; gap: 1rem; margin: auto; max-width: 56rem; text-align: left; }
.join-card { align-items: center; background: rgba(8,13,26,.86); border: .125rem solid currentColor; border-radius: 1rem; color: var(--color-text); display: flex; gap: 1rem; justify-content: space-between; min-height: 8.5rem; min-width: 0; padding: 1.15rem; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; width: 100%; }
.join-card > span:first-child { min-width: 0; }
.join-card-pink { border-color: var(--color-pink-400); }
.join-card-cyan { border-color: var(--color-cyan-400); }
.join-card:hover { box-shadow: 0 0 1.25rem rgba(255,42,138,.24); transform: translateX(.2rem); }
.join-card:active { transform: translateX(.35rem) scale(.99); }
.join-card strong { color: var(--color-pink-400); display: block; font-size: 1.35rem; }
.join-card-cyan strong { color: var(--color-cyan-400); }
.join-card small { color: var(--color-text); display: block; font-size: .95rem; line-height: 1.45; margin-top: .4rem; }
.join-arrow { align-items: center; background: currentColor; border-radius: 50%; color: var(--color-pink-400); display: flex; flex: 0 0 44px; font-size: 1.5rem; height: 44px; justify-content: center; }
.join-card-cyan .join-arrow { color: var(--color-cyan-400); }
footer { align-items: center; border-top: 1px solid #26304a; display: flex; flex-direction: column; gap: 1rem; padding: 3rem 1rem; text-align: center; }
footer img { height: auto; max-width: 12rem; width: 55vw; }
footer p { color: var(--color-text-muted); margin: 0; }
footer a { min-height: 44px; padding: .6rem; }
.next-step { display: grid; gap: 1rem; margin: auto; max-width: 36rem; min-height: 100svh; padding: 4rem 1rem; place-content: center; }
.next-step img { height: auto; width: 8rem; }
.next-step h1, .next-step p { margin: 0; }
.auth-shell { align-content: center; display: grid; gap: 1.5rem; margin: auto; max-width: 34rem; min-height: 100svh; padding: 2rem 1rem; }
.auth-brand { display: block; max-width: 100%; width: 9rem; }
.auth-brand img { display: block; height: auto; width: 100%; }
.auth-card { background: linear-gradient(145deg, rgba(28,35,65,.98), rgba(8,13,26,.98)); border: .125rem solid var(--color-cyan-400); border-radius: 1.25rem; box-shadow: 0 0 2rem rgba(0,229,255,.12); display: grid; gap: 1rem; min-width: 0; padding: clamp(1.25rem, 5vw, 2rem); }
.auth-card h1, .auth-card p { margin: 0; overflow-wrap: anywhere; }
.auth-card h1 { color: var(--color-pink-400); font-size: clamp(2rem, 10vw, 3.25rem); line-height: 1; }
.auth-form { display: grid; gap: .9rem; margin-top: .5rem; }
.auth-form label { display: grid; font-weight: 750; gap: .4rem; }
.auth-form input { background: #fff; border: .15rem solid transparent; border-radius: .7rem; color: var(--color-navy-950); font: inherit; min-height: 52px; padding: .75rem; width: 100%; }
.auth-form input[readonly] { background: #cfd4e4; color: #252b41; }
.auth-form input:focus { border-color: var(--color-cyan-400); outline: .18rem solid var(--color-focus); outline-offset: .15rem; }
.auth-form small, .auth-card small { color: var(--color-text-muted); margin-top: -.55rem; }
.auth-form .button { margin-top: .35rem; width: 100%; }
.form-alert { background: rgba(255,42,138,.15); border-left: .3rem solid var(--color-pink-400); border-radius: .35rem; padding: .8rem; }
.auth-secondary { min-height: 44px; padding-block: .55rem; width: fit-content; }
.success-card { text-align: center; }
.success-burst { align-items: center; background: var(--color-cyan-400); border-radius: 50%; color: var(--color-navy-950); display: inline-flex; font-size: 2rem; font-weight: 900; height: 4rem; justify-content: center; justify-self: center; width: 4rem; }
.shell > .starting { order: 3; }
.shell > section[aria-labelledby="work-heading"] { order: 2; }
.shell .button { max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
.shell > * { max-width: 100%; min-width: 0; overflow-wrap: anywhere; }

@media (min-width: 48rem) {
  .site-header { padding-inline: 2rem; }
  .hero { grid-template-columns: minmax(22rem, .85fr) 1.25fr; min-height: 46rem; }
  .hero-copy { align-content: center; padding: 4rem 2rem max(4rem, 10vh); }
  .hero-copy::before { background: linear-gradient(90deg, #080d1a 12%, rgba(8,13,26,.88) 62%, transparent); inset: 0 -16rem 0 0; }
  .hero-art { grid-column: 2; inset: 0; position: relative; }
  .hero-art::after { background: linear-gradient(90deg, #080d1a 0%, transparent 48%), linear-gradient(0deg, #080d1a 0%, transparent 28%); }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .skill-callout { grid-template-columns: 12rem minmax(0, 1fr); }
  .ball-pattern { width: 10rem; }
  .join-options { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
