/* Course waitlist landing. Tokens come from /styles.css */
.wl-body { min-height: 100svh; background: radial-gradient(ellipse 80% 60% at 50% 0%, #0f2a47, var(--sky-0) 70%); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wl-frame { padding: clamp(12px, 3vw, 40px); }
.wl-card { position: relative; max-width: 1180px; margin: 0 auto; min-height: calc(100svh - 2 * clamp(12px, 3vw, 40px)); display: flex; flex-direction: column;
  border-radius: 30px; border: 2px solid rgba(236,229,211,.75); overflow: hidden;
  background: radial-gradient(ellipse 70% 55% at 50% 38%, rgba(34,100,160,.45), transparent 70%), linear-gradient(180deg, #0d2c4f 0%, #0b2140 55%, #081a30 100%);
  box-shadow: 0 40px 120px rgba(0,0,0,.55), inset 0 0 0 6px rgba(255,255,255,.02); }

/* dot world map behind everything */
.wl-map { position: absolute; inset: 4% -6% auto; aspect-ratio: 2 / 1; pointer-events: none; }
.wl-map svg { width: 100%; height: 100%; display: block; }
.wl-map .d { fill: var(--land); opacity: .08; }
.wl-map .d.lit { fill: var(--gold); opacity: .9; animation: lit 1.4s ease-out both; }
@keyframes lit { from { opacity: 0; r: 9; } }

/* nav */
.wl-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(18px, 4vw, 44px) 0; }
.wl-links { display: flex; gap: 6px; }
.wl-links a { font-family: var(--display); font-weight: 700; font-size: 15px; color: #dce7f2; text-decoration: none; padding: 8px 14px; border-radius: 10px; }
.wl-links a:hover { background: rgba(255,255,255,.08); color: #fff; }

/* hero */
.wl-hero { position: relative; z-index: 2; text-align: center; padding: clamp(26px, 5vw, 54px) 20px 0; max-width: 820px; margin: 0 auto; }
.wl-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold); background: rgba(255,197,49,.1); border: 1.5px solid rgba(255,197,49,.35); padding: 7px 14px; border-radius: 99px; }
.wl-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255,197,49,.7); animation: beat 1.8s infinite; }
@keyframes beat { 70% { box-shadow: 0 0 0 9px rgba(255,197,49,0); } 100% { box-shadow: 0 0 0 0 rgba(255,197,49,0); } }
.wl-hero h1 { margin-top: 20px; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5.6vw, 62px); line-height: 1.04; letter-spacing: -2px; color: #fff; }
.wl-hero h1 em { display: inline-block; margin-top: 4px; font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.5px; font-size: 1.12em; color: var(--gold); }
.wl-sub { margin: 18px auto 0; max-width: 560px; color: #c5d4e3; font-size: 16.5px; }
.wl-sub b { color: #fff; }

/* form */
.wl-form { margin: 26px auto 0; max-width: 640px; }
.wl-row { display: flex; gap: 10px; }
.wl-row input { flex: 1 1 0; min-width: 0; font: inherit; font-size: 15.5px; color: #fff; background: rgba(255,255,255,.07); border: 1.5px solid rgba(159,179,200,.35); border-radius: 14px; padding: 14px 16px; transition: border-color .15s, background .15s; }
.wl-row input#wlName { flex: .75 1 0; }
.wl-row input::placeholder { color: #8ea4ba; }
.wl-row input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); }
.wl-row input[aria-invalid="true"] { border-color: var(--pin); }
.wl-row .btn { padding: 14px 22px; }
.wl-row .btn[disabled] { opacity: .7; cursor: progress; }
.wl-hp { position: absolute; left: -9999px; }
.wl-consent { display: flex; gap: 10px; align-items: flex-start; justify-content: center; margin-top: 14px; font-size: 13.5px; color: var(--mist); text-align: left; cursor: pointer; }
.wl-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--gold); flex: none; }
.wl-consent a { color: var(--gold); }
.wl-consent.bad span { color: #ffb3b9; }
.wl-msg { min-height: 22px; margin-top: 8px; font-size: 14px; color: #ffb3b9; }

/* success */
.wl-done { margin: 26px auto 0; max-width: 520px; padding: 24px; border-radius: 22px; background: rgba(42,157,143,.14); border: 1.5px solid rgba(42,157,143,.6); animation: pop .5s cubic-bezier(.3,1.5,.5,1); }
.wl-done h2 { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.6px; }
.wl-done p { color: #cfe0ee; margin-top: 6px; }
.wl-pin { display: block; font-size: 38px; animation: drop .7s cubic-bezier(.3,1.6,.5,1); }
@keyframes drop { from { transform: translateY(-60px); opacity: 0; } }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }
.wl-done-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

.wl-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.wl-chips li { font-size: 13.5px; color: #dce7f2; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid rgba(159,179,200,.18); }

/* phones */
.wl-phones { position: relative; z-index: 1; flex: 1; display: flex; justify-content: center; align-items: flex-end; gap: 0; margin-top: 40px; min-height: 330px; }
.wl-phones::before { content: ""; position: absolute; left: 50%; bottom: -60%; width: min(980px, 130%); aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255,197,49,.0) 0 26px, rgba(255,197,49,.13) 26px 29px); mask: linear-gradient(transparent, #000 30%); }
.phone { position: relative; width: 210px; aspect-ratio: 9 / 18.5; border-radius: 34px; background: #0a0f17; padding: 9px; box-shadow: 0 30px 60px rgba(0,0,0,.5), inset 0 0 0 2px #33404f; margin-bottom: -70px; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; translate: -50% 0; width: 62px; height: 18px; border-radius: 12px; background: #0a0f17; z-index: 3; }
.phone.center { width: 238px; z-index: 2; margin-bottom: -40px; animation: float 6s ease-in-out infinite; }
.phone.side { opacity: .96; }
.phone.left { transform: rotate(-9deg) translate(34px, 10px); }
.phone.right { transform: rotate(9deg) translate(-34px, 10px); }
@keyframes float { 50% { transform: translateY(-8px); } }
.scr { position: relative; height: 100%; border-radius: 26px; overflow: hidden; padding: 42px 14px 14px; display: flex; flex-direction: column; gap: 9px; text-align: left; }
.s-tag { align-self: flex-start; font-family: var(--display); font-weight: 800; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: rgba(255,197,49,.18); color: var(--gold); }
.s-title { font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1.2; letter-spacing: -.3px; color: #fff; }
.s-meta { font-size: 11px; color: var(--mist); }
.scr-borders { background: linear-gradient(180deg, #102e50, #0a1d33); }
.s-map { flex: 1; border-radius: 16px; background: rgba(0,0,0,.18); overflow: hidden; }
.s-map svg { width: 100%; height: 100%; display: block; }
.s-map .d { fill: var(--land); opacity: .55; }
.s-map .ln { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 8 6; stroke-linecap: round; }
.scr-player { background: radial-gradient(ellipse at 50% 35%, #1d5a92, #0b2442 70%); align-items: center; text-align: center; }
.s-top { align-self: stretch; display: flex; justify-content: space-between; align-items: center; }
.s-top svg { width: 28px; height: 28px; }
.s-top span { font-family: var(--display); font-weight: 800; font-size: 11px; background: var(--pin); color: #fff; padding: 3px 8px; border-radius: 8px; }
.s-shape { flex: 1; width: 100%; min-height: 0; overflow: visible; }
.s-shape path { fill: var(--land); stroke: #fff; stroke-width: 1.2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.scr-player .s-shape path { fill: var(--gold); }
.s-bar { align-self: stretch; height: 6px; border-radius: 9px; background: rgba(255,255,255,.18); overflow: hidden; }
.s-bar i { display: block; height: 100%; width: 40%; background: var(--gold); border-radius: 9px; animation: prog 7s linear infinite; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
.s-caps { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; }
.s-caps span { font-size: 10px; font-weight: 700; color: var(--sky-1); background: var(--land); padding: 3px 8px; border-radius: 8px; }
.scr-quiz { background: linear-gradient(180deg, var(--land), #d9cdb0); color: var(--sky-1); }
.scr-quiz .s-tag { background: var(--sky-1); color: var(--gold); }
.s-q { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -.3px; }
.scr-quiz .s-shape path { fill: var(--teal); stroke: #fff; }
.s-ans { font-family: var(--display); font-weight: 700; font-size: 12.5px; padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 3px 0 var(--land-2); }
.s-ans.ok { background: var(--teal); color: #fff; box-shadow: 0 3px 0 #1d6f65; }
.wl-doodle { position: absolute; color: rgba(236,229,211,.55); z-index: 3; }
.wl-doodle.d1 { width: 110px; left: calc(50% - 330px); top: 4px; }
.wl-doodle.d2 { width: 80px; left: calc(50% + 250px); top: -10px; color: var(--gold); }

/* footer pills inside the card */
.wl-foot { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 clamp(14px, 3vw, 26px) clamp(14px, 3vw, 22px); pointer-events: none; }
.wl-foot > * { pointer-events: auto; }
.wl-copy { font-size: 12.5px; font-weight: 500; color: var(--sky-1); background: var(--land); padding: 7px 14px; border-radius: 99px; }
.wl-copy a { color: var(--sky-1); }
.wl-soc { display: flex; gap: 8px; }
.wl-soc a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--land); color: var(--sky-1); transition: transform .15s; }
.wl-soc a:hover { transform: translateY(-2px); background: var(--gold); }
.wl-soc svg { width: 17px; height: 17px; }

@media (max-width: 760px) {
  .wl-row { flex-direction: column; }
  .wl-row .btn { justify-content: center; }
  .wl-phones { min-height: 280px; margin-top: 30px; padding-bottom: 54px; }
  .phone { width: 150px; border-radius: 26px; padding: 7px; }
  .phone.center { width: 178px; }
  .scr { border-radius: 20px; padding: 34px 10px 10px; gap: 7px; }
  .s-title, .s-q { font-size: 12.5px; }
  .s-ans { font-size: 10.5px; padding: 6px 8px; }
  .phone.left { transform: rotate(-9deg) translate(40px, 14px); }
  .phone.right { transform: rotate(9deg) translate(-40px, 14px); }
  .wl-doodle { display: none; }
  .s-caps { display: none; }
  .s-shape { min-height: 80px; }
  .s-ans { font-size: 10px; padding: 5px 7px; }
  .wl-foot { position: relative; flex-direction: column-reverse; gap: 10px; padding-top: 14px; background: #081a30; }
  .wl-links a { padding: 8px 10px; font-size: 14px; }
}
@media (max-width: 400px) {
  .wl-hero h1 { font-size: 30px; letter-spacing: -1.2px; }
  .wl-nav .wm { font-size: 18px; }
  .wl-nav .brand-mark { width: 32px; height: 32px; }
  .phone { width: 128px; } .phone.center { width: 156px; }
}
@media (prefers-reduced-motion: reduce) { .phone.center, .s-bar i, .wl-badge i { animation: none; } }
.nw { white-space: nowrap; }
