/* LALA waitlist. Tokens from the LALA HUB Brand Package v1.0 and Victoria's Figma. */
@font-face { font-family: "Akira Expanded"; src: url("/fonts/AkiraExpanded-SuperBold.woff2") format("woff2"), url("/fonts/AkiraExpanded-SuperBold.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --coral: #FE582D;
  --coral-pressed: #FE9B81;
  --butter: #FFF3A7;
  --ink: #1A1410;
  --heading: #181D27;
  --pink: #FFE2DA;
  --card: #F8F9FC;
  --radio: #B5ABA3;
  --line: #CFC9C5;
  --error: #B42318;
  --page-pad: 24px;
  --col: 440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: "Poppins", system-ui, sans-serif; font-size: 14px; line-height: 1.3; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
p, h1, h2, h3, ol { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

.wrap { width: 100%; max-width: calc(var(--col) + var(--page-pad) * 2); margin: 0 auto; padding: 0 var(--page-pad); }

.display { font-family: "Akira Expanded", "Arial Black", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; color: var(--heading); }
.h1 { font-size: 21px; line-height: 1.55; }
.h2 { font-size: 17px; line-height: 1.3; }
.coral { color: var(--coral); }

/* ---------- Buttons and fields ---------- */
.btn-black, .btn-coral { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; cursor: pointer; font: inherit; text-decoration: none; transition: background-color .15s, opacity .15s; }
.btn-black { background: #000; color: var(--butter); font-size: 13px; font-weight: 500; padding: 0 12px; min-height: 35px; white-space: nowrap; }
.btn-black:active:not([disabled]) { background: #424242; }
.btn-black[disabled] { opacity: .6; cursor: progress; }
.btn-coral { background: var(--coral); color: #000; font-size: 15px; font-weight: 700; min-width: 184px; min-height: 36px; padding: 0 20px; }
.btn-coral:active:not([disabled]) { background: var(--coral-pressed); }
.btn-coral[disabled] { background: var(--coral-pressed); cursor: not-allowed; }
.btn-coral.is-loading { cursor: progress; }

.field { display: flex; align-items: center; gap: 8px; height: 44px; padding: 4px 4px 4px 12px; border: 1px solid rgba(0,0,0,.5); border-radius: 8px; background: #fff; box-shadow: 0 4px 4px rgba(0,0,0,.1); transition: border-color .15s; }
.field:focus-within { border-color: #000; }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 13px; color: #000; }
.field input::placeholder { color: #000; opacity: .9; }
.field .btn-black { flex-shrink: 0; height: 35px; }
.email-form.has-error .field { border-color: var(--error); }
.field-error { min-height: 0; margin-top: 6px; color: var(--error); font-size: 12px; line-height: 1.4; }
.field-error:empty { display: none; }
.field-error.center { text-align: center; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; text-decoration: underline; text-underline-offset: 2px; color: #000; }

.logo { display: inline-block; text-decoration: none; }
.logo img { width: 100%; height: auto; }
.logo-sm { width: 35px; }
.logo-md { width: 59px; }
.logo-lg { width: 82px; }

/* ---------- Landing ---------- */
.view-home .wrap:first-child { padding-top: 30px; }
.hero { margin-top: 40px; text-align: center; }
.hero-title { font-size: 29px; line-height: 1.2; color: var(--ink); max-width: 320px; margin: 0 auto; }
.hero-lede { margin: 10px auto 0; max-width: 330px; font-size: 12.5px; line-height: 1.33; }
.hero .email-form { margin-top: 18px; text-align: left; }

.visual { position: relative; margin-top: 30px; aspect-ratio: 345 / 290; }
.visual picture { position: absolute; right: -14px; top: 0; width: 98%; }
.visual-img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 96%); mask-image: linear-gradient(to bottom, #000 62%, transparent 96%); }
.held-card { position: absolute; left: 0; top: 26%; width: 57%; max-width: 196px; padding: 10px 10px 9px; border-radius: 8px; background: var(--ink); color: var(--butter); box-shadow: 0 8px 20px rgba(26,20,16,.25); }
.held-title { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.held-title svg { color: var(--coral); }
.held-amount { margin-top: 10px; font-size: 17px; font-weight: 600; }
.held-code { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.held-code span { display: grid; place-items: center; width: 22px; height: 30px; border: 1px solid var(--coral); border-radius: 6px; font-size: 12px; font-weight: 500; }
.held-code small { margin-left: 4px; font-size: 9px; font-weight: 600; }

.how { margin-top: -24px; position: relative; }
.how-list { list-style: none; padding: 0; margin-top: 22px; }
.how-list li { padding: 10px 0; font-size: 12.5px; line-height: 1.45; }
.how-list li + li { border-top: 1px solid var(--line); }
.how-list li:first-child { padding-top: 0; }
.how-list strong { font-weight: 600; }

.who { margin-top: 52px; padding-bottom: 64px; }
.who .h2 { margin-bottom: 16px; }
.who-card { padding: 16px; border-radius: 8px; background: var(--ink); color: var(--butter); }
.who-card + .who-card { margin-top: 16px; }
.who-card h3 { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; text-transform: uppercase; }
.who-icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--coral); color: var(--ink); box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px rgba(254,88,45,.8); }
.who-card p { margin-top: 12px; font-size: 12.5px; line-height: 1.45; }
.who-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--coral); font-size: 12.5px; font-weight: 500; text-decoration: none; transition: color .15s; }
.who-link:active { color: #fff; }
.who-link svg { transition: transform .15s; }

.footer { background: var(--ink); color: var(--butter); padding: 30px 0 30px; }
.footer-logo { display: flex; align-items: center; gap: 2px; }
.footer-logo img:first-child { width: 30px; height: auto; }
.footer-logo img:last-child { width: 78px; height: auto; }
.footer-text { margin-top: 18px; max-width: 280px; font-size: 12.5px; line-height: 1.45; }
.footer-mail { display: inline-block; margin-top: 22px; font-size: 12.5px; color: var(--butter); text-underline-offset: 2px; }
.footer-copy { margin-top: 16px; font-size: 12.5px; }

/* ---------- Choose user type ---------- */
.view-join .wrap { padding-top: 132px; padding-bottom: 48px; }
.join-title { margin-top: 56px; font-size: 23px; line-height: 1.3; }
.roles { margin: 30px 0 0; padding: 8px; border: 0; border-radius: 16px; background: var(--pink); display: grid; gap: 8px; }
.role { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px 14px 12px; border-radius: 16px; background: var(--card); box-shadow: 0 4px 4px rgba(0,0,0,.05); cursor: pointer; transition: background-color .15s; }
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role-icon { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; margin-top: 2px; border-radius: 50%; background: var(--butter); color: #000; box-shadow: 0 0 0 1.5px var(--card), 0 0 0 2.5px rgba(254,88,45,.9); }
.role-text { flex: 1; display: grid; gap: 6px; padding-top: 3px; }
.role-name { font-size: 16px; font-weight: 600; }
.role-desc { font-size: 12.5px; line-height: 1.45; }
.role-radio { width: 21px; height: 21px; flex-shrink: 0; margin-top: 2px; border: 1.5px solid var(--radio); border-radius: 50%; }
.role:has(input:checked) { background: var(--ink); color: var(--butter); }
.role:has(input:checked) .role-icon { box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 2.5px rgba(254,88,45,.9); }
.role:has(input:checked) .role-radio { border: 2px solid var(--coral); background: radial-gradient(circle, var(--coral) 0 5px, transparent 5.5px); }
.role:has(input:focus-visible) { outline: 2px solid var(--coral); outline-offset: 2px; }
.join-actions { margin-top: 32px; display: grid; justify-items: center; gap: 10px; }
.join-note { font-size: 12px; text-align: center; }

/* ---------- Centred single-message screens ---------- */
.view-center { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; padding: 48px 0; }
.view-center .h1 { margin-top: 14px; }
.view-center .email-form { margin-top: 8px; }
.already-text { margin-top: 6px; font-size: 14px; line-height: 1.45; }
.already-text strong { font-weight: 600; }
.already-home { margin-top: 24px; font-size: 13px; }

.done-top { display: flex; align-items: center; justify-content: space-between; }
.done-top .logo { width: 43px; }
.close { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; color: #000; border-radius: 50%; }
.panel { margin-top: 22px; padding: 24px 12px 26px; border-radius: 16px; background: var(--pink); }
.panel .h1 { margin-top: 0; }
.panel p { margin-top: 6px; max-width: 255px; font-size: 14px; line-height: 1.45; }
.view-done .wrap { display: flex; flex-direction: column; align-items: stretch; }
.btn-wide { align-self: center; width: calc(100% - 36px); min-height: 35px; margin-top: 24px; font-size: 17px; font-weight: 400; }
.view-done .text-link { align-self: center; margin-top: 14px; }

/* ---------- Hover: only on devices with a real pointer, so taps on phones don't leave links stuck in their hover colour ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn-black:hover:not([disabled]) { background: #424242; }
  .btn-coral:hover:not([disabled]) { background: #ff6a43; }
  .who-link:hover { color: #fff; }
  .text-link:hover { color: var(--coral); }
  .footer-mail:hover { color: var(--coral); }
  .role:not(:has(input:checked)):hover { background: #eef0f6; }
  .close:hover { background: #f3f3f3; }
}

/* ---------- Larger screens: keep the single column, give it room ---------- */
@media (min-width: 600px) {
  :root { --page-pad: 32px; }
  .hero-title { font-size: 34px; max-width: 400px; }
  .hero-lede { font-size: 14.5px; max-width: 360px; }
  .view-home .wrap:first-child { padding-top: 40px; }
  .footer-text { max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
h1[tabindex="-1"]:focus { outline: none; }
