/* Hallmark · shape: Bento Grid (draw ad4edd gave Conversational FAQ; swapped, the user asked for a modern, dark, glowing page with less empty space) · genre: atmospheric · theme: brand (Falco orange on a navy night) · redesign: full · job: join (the waitlist, until the apps reach the stores)
 * paper: oklch(14.5% 0.022 266) · accent: oklch(71% 0.175 47) · display: Readex Pro 600 · body: Readex Pro 300 and 400 · hero: Stage · nav: floating pill on a blur · footer: statement · signature: three real app screens fanned in 3D beside the head, flattening as the page scrolls (after 21st.dev's Phone Scroll Hero)
 * axes: dark/geometric-sans/warm · posture: restrained (orange is the primary control, the step numbers, the focus ring and one bloom) · imagery: screenshots 12 (the Falco apps), no photographs · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V5 · weakest: S, dark-and-glowing is a look many apps wear; every tile and the hero carry Falco's own screens, the offers in SDG, the map of Khartoum, the delivery code */
/* Hallmark · reworded the hero line "Post what you need delivered and name your price. Nearby riders send their offers within minutes, and you pick the one you like." to "Name your price, and nearby riders send offers within minutes." · 58 holds the hero to one sentence */
/* Hallmark · dropped the "Coming soon in Sudan" eyebrow (54) and the four feature icons · the buttons say "soon on Google Play" and the bento tiles show each feature in its own screen */
/* Hallmark · by request · glass cards over the two lights and brighter blended blooms; the owner asked for more glass after seeing the first build, atmospheric refuses both by default */
/* Hallmark · dismissed 29 · glass on the nav and cards is the owner's request, over the fixed lights */
/* Hallmark · answered F7 · the pill radius sits on the nav controls, the skip link and the role switch, all of them controls */
/* Hallmark · waive 44c · the front screen sits 189px from the text because the two flanking fan screens fill that gap · the Falco fan is three captures, measured by its centre one */
/* Hallmark · dismissed 25 · the tile lines are one-sentence captions beside a screen, so 32ch holds them */
/* Hallmark · dismissed F4 · the filled step number is a selected state, not a second call to action */
/* Hallmark · dismissed 76 · the disk render cannot resolve root /assets paths; the served page loads every image */
@import url("./tokens.css");
@import url("./base.css");

html[lang="ar"] [lang="en"]:not(html), html[lang="en"] [lang="ar"]:not(html) { display: none; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.25; }
html[lang="ar"] p, html[lang="ar"] .lead { line-height: 1.8; }
body { font-weight: 300; background: var(--color-paper); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 44rem at 78% 4%, var(--bloom-warm), transparent 68%),
    radial-gradient(58rem 46rem at 18% 40%, var(--bloom-cool), transparent 68%),
    radial-gradient(50rem 30rem at 50% 22%, var(--bloom-mid), transparent 70%); }
html[dir="rtl"] body::before {
  background:
    radial-gradient(60rem 44rem at 22% 4%, var(--bloom-warm), transparent 68%),
    radial-gradient(58rem 46rem at 82% 40%, var(--bloom-cool), transparent 68%),
    radial-gradient(50rem 30rem at 50% 22%, var(--bloom-mid), transparent 70%); }
h1, h2, h3 { color: var(--color-ink); }
.lead { color: var(--color-ink-2); }
b, strong { font-weight: 600; }

.skip { position: absolute; inset-inline-start: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- nav: a floating pill on a blur ---------- */
.pill { position: sticky; top: var(--space-md); z-index: var(--z-sticky-nav); margin-top: var(--space-md); }
.pill nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); max-width: 980px; min-height: 60px; margin-inline: auto; padding-inline: var(--space-lg) var(--space-xs); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-paper) 72%, transparent); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.pill .home { display: inline-flex; align-items: center; min-height: 44px; }
.pill .home img { width: 76px; height: auto; }
.pill .links { display: flex; align-items: center; gap: var(--space-xs); }
.pill .links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-md); border-radius: var(--radius-pill); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 400; text-decoration: none; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.pill .links a:hover { color: var(--color-ink); background: var(--color-paper-3); }
.lang { min-height: 44px; padding-inline: var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font: 400 var(--text-sm)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.lang:hover { background: var(--color-paper-3); }
.lang:active { transform: scale(0.97); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 52px; padding: var(--space-xs) var(--space-lg) var(--space-xs) var(--space-xs); border: var(--rule-hair) solid transparent; border-radius: var(--radius-pill); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
html[dir="rtl"] .btn { padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-lg); }
.btn img { width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--radius-pill); }
.btn b { display: block; font-size: var(--text-md); font-weight: 600; line-height: 1.1; }
.btn small { display: block; font-size: var(--text-xs); line-height: 1.2; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-hover); }
.btn--ghost { border-color: var(--color-rule-2); background: var(--color-paper-2); color: var(--color-ink); }
.btn--ghost small { color: var(--color-ink-2); }
.btn--ghost:hover { background: var(--color-paper-3); }
.btn:active { transform: scale(0.98); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- screens: real captures, no device chrome ---------- */
.screen { margin: 0; aspect-ratio: 540 / 1083; border-radius: var(--radius-screen); overflow: hidden; background: var(--color-on-shot); outline: var(--rule-hair) solid var(--color-rule-2); outline-offset: -1px; box-shadow: var(--shadow-screen); }
.screen > img { width: 100%; height: 100%; object-fit: cover; }
.screen.short { aspect-ratio: 540 / 698; }

/* ---------- hero: Stage, three screens fanned in 3D ---------- */
.hero .container { display: grid; grid-template-columns: fit-content(600px) minmax(0, 600px); justify-content: center; gap: var(--space-xl); align-items: center; min-height: calc(100dvh - 92px); padding-block: var(--space-xl); }
.hero h1 { font-size: clamp(3rem, 5vw + 0.5rem, 5.5rem); line-height: 1; max-width: 13ch; }
.hero .lead { margin-top: var(--space-lg); max-width: 32ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.fan { position: relative; display: grid; place-items: center; height: min(74dvh, 660px); perspective: 1600px; }
.fan .screen { grid-area: 1 / 1; height: 92%; width: auto; }
.fan .screen:nth-child(1) { transform: translateX(-46%) rotateY(18deg) scale(0.84); opacity: 0.9; }
.fan .screen:nth-child(2) { transform: translateX(46%) rotateY(-18deg) scale(0.84); opacity: 0.9; }
.fan .screen:nth-child(3) { transform: translateZ(0); z-index: var(--z-raised); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .fan .screen:nth-child(1) { animation: fan-left linear both; animation-timeline: view(); animation-range: exit 0% exit 70%; }
    .fan .screen:nth-child(2) { animation: fan-right linear both; animation-timeline: view(); animation-range: exit 0% exit 70%; }
  }
}
@keyframes fan-left { to { transform: translateX(-58%) rotateY(0deg) scale(0.84); } }
@keyframes fan-right { to { transform: translateX(58%) rotateY(0deg) scale(0.84); } }

/* ---------- section rhythm ---------- */
.section { padding-block: var(--section-gap-s); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); max-width: 720px; }
.head--split { max-width: none; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }

/* ---------- how it works: a switcher ---------- */
.how { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); counter-reset: step; }
.tab { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--space-md); padding: var(--space-lg); border: var(--rule-hair) solid transparent; border-radius: var(--radius-card); transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.tab:hover { background: var(--color-paper-2); }
.tab:has([aria-pressed="true"]) { background: var(--color-paper-2); border-color: var(--color-rule-2); }
.tab button { grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-pill); background: var(--color-paper-3); color: var(--color-ink-2); font: 600 var(--text-md)/1 var(--font-body); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.tab button::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-card); }
.tab button[aria-pressed="true"] { background: var(--color-accent); color: var(--color-accent-ink); }
.tab button:focus-visible { outline: none; }
.tab button:focus-visible::after { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tab button:active { transform: scale(0.96); }
.tab h3 { font-size: var(--text-title); letter-spacing: -0.015em; align-self: center; }
html[lang="ar"] .tab h3 { letter-spacing: 0; }
.tab p { grid-column: 2; margin-top: var(--space-2xs); color: var(--color-muted); max-width: 46ch; }
.shots { display: grid; place-items: center; }
.shots .screen { grid-area: 1 / 1; width: min(100%, 320px); height: auto; transition: opacity var(--dur-long) var(--ease-out); }
.js .shots .screen { opacity: 0; }
.js .shots .screen.is-on { opacity: 1; }
html:not(.js) .shots .screen:not(:first-child) { display: none; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 340px; gap: var(--space-md); }
.tile { position: relative; overflow: hidden; display: grid; align-content: start; gap: var(--space-xs); padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
.tile h3 { font-size: var(--text-title); letter-spacing: -0.015em; max-width: 16ch; }
.tile p { color: var(--color-muted); max-width: 32ch; }
.tile .screen { position: absolute; inset-block-end: calc(-1 * var(--space-3xl)); width: 240px; height: auto; box-shadow: none; }
.tile--a { grid-column: span 7; grid-row: span 2; }
.tile--a .screen { width: 300px; inset-block-end: -60px; inset-inline-end: var(--space-xl); }
.tile--a h3 { font-size: var(--text-section); max-width: 10ch; }
.tile--b, .tile--c { grid-column: span 5; }
.tile--b .screen, .tile--c .screen { inset-inline-end: var(--space-lg); width: 200px; inset-block-end: auto; inset-block-start: var(--space-xl); }
.tile--b, .tile--c { padding-inline-end: calc(200px + var(--space-2xl)); }
.tile--c .screen > img { object-position: 50% 64%; }
.tile--c .screen { aspect-ratio: 540 / 640; }
.tile--d { grid-column: span 12; grid-row: span 1; grid-template-columns: minmax(0, 1fr) auto; align-content: center; }
.tile--d .big { font-size: var(--text-display-s); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.05; color: var(--color-ink); max-width: 18ch; }
html[lang="ar"] .tile--d .big { letter-spacing: 0; line-height: 1.3; }
.tile--d .screen { position: static; width: 180px; transform: rotate(4deg); align-self: start; margin-top: var(--space-lg); }
.js [data-reveal] { opacity: 0; transition: opacity var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; }

/* ---------- riders ---------- */
.riders .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.riders h2 { max-width: 14ch; }
.riders-lead { margin-top: var(--space-md); }
.checks { list-style: none; margin: var(--space-xl) 0; padding: 0; display: grid; gap: var(--space-sm); }
.checks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-sm); align-items: start; color: var(--color-ink-2); }
.checks svg { width: 24px; height: 24px; color: var(--color-accent); }
.duo { position: relative; height: 620px; perspective: 1600px; }
.duo .screen { position: absolute; width: 270px; height: auto; }
.duo .screen:first-child { inset-inline-start: 8%; top: 0; transform: rotateY(14deg) rotateZ(-3deg); }
.duo .screen:last-child { inset-inline-end: 8%; top: 70px; transform: rotateY(-14deg) rotateZ(3deg); }

/* ---------- download + contact ---------- */
.get { display: grid; justify-items: center; gap: var(--space-lg); padding: var(--space-3xl) var(--space-xl); border: var(--rule-hair) solid var(--color-rule-2); border-radius: calc(var(--radius-card) * 1.5); background: var(--color-paper-2); text-align: center; }
.get .appicon { width: 88px; height: 88px; border-radius: 22px; }
.get h2 { font-size: var(--text-display-s); }
.get .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); }
.mails { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-md); }
.mail { display: grid; gap: var(--space-xs); padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.mail small { font-size: var(--text-sm); color: var(--color-muted); }
.mail b { font-size: var(--text-xl); font-weight: 600; direction: ltr; overflow-wrap: anywhere; }
html[lang="ar"] .mail b { text-align: right; }
.mail:hover { background: var(--color-paper-3); border-color: var(--color-rule-2); }
.contact-head { margin-top: var(--space-3xl); }

/* ---------- footer: statement ---------- */
.statement { padding-block: var(--space-3xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.statement .say { font-size: var(--text-display-s); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.05; color: var(--color-ink); max-width: 20ch; }
html[lang="ar"] .statement .say { letter-spacing: 0; line-height: 1.3; }
.statement .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-2xl); color: var(--color-muted); font-size: var(--text-sm); }
.statement nav { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.statement a { color: var(--color-ink-2); text-decoration: none; }
.statement a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }

/* ---------- responsive ---------- */
@media (max-width: 60rem) {
  .hero .container, .how, .riders .container, .head--split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero .container { min-height: 0; padding-top: var(--space-2xl); }
  .fan { height: 520px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tile--a, .tile--b, .tile--c, .tile--d { grid-column: auto; grid-row: auto; min-height: 0; padding: var(--space-lg) var(--space-lg) 0; display: flex; flex-direction: column; }
  .tile .screen, .tile--a .screen, .tile--b .screen, .tile--c .screen, .tile--d .screen { position: relative; inset: auto; transform: none; width: min(78%, 260px); margin: var(--space-lg) auto 0; max-height: 300px; aspect-ratio: auto; border-end-start-radius: 0; border-end-end-radius: 0; }
  .tile .screen > img { height: auto; object-fit: cover; object-position: top; }
  .tile--c .screen > img { object-position: 50% 64%; height: 300px; }
  .tile--d .big { font-size: var(--text-2xl); }
  .mail b { font-size: var(--text-lg); }
  .duo { height: 520px; }
  .duo .screen { width: 210px; }
  .mails { grid-template-columns: minmax(0, 1fr); }
  .pill .links a { display: none; }
}
@media (max-width: 40rem) {
  .fan { height: 440px; }
  .fan .screen:nth-child(1) { transform: translateX(-38%) rotateY(18deg) scale(0.8); }
  .fan .screen:nth-child(2) { transform: translateX(38%) rotateY(-18deg) scale(0.8); }
  .duo { height: 440px; }
  .duo .screen { width: 170px; }
  .get { padding: var(--space-2xl) var(--space-md); }
}
@media (prefers-reduced-motion: reduce) {
  .fan .screen { animation: none; }
  .shots .screen, .btn, .lang, .tab, .mail, .pill .links a { transition: none; }
  .js [data-reveal] { opacity: 1; transition: none; }
  .btn:active, .lang:active { transform: none; }
}

/* ---------- glass: frosted surfaces over the two lights (asked for by the owner) ---------- */
.glass, .tile, .get, .mail {
  background: linear-gradient(160deg, var(--glass-shine), transparent 40%), var(--glass);
  border: var(--rule-hair) solid var(--glass-edge);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.tab { border-color: transparent; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tab:hover { background: var(--glass); }
.tab:has([aria-pressed="true"]) { background: linear-gradient(160deg, var(--glass-shine), transparent 40%), var(--glass-strong); border-color: var(--glass-edge); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tile:hover, .mail:hover { background: linear-gradient(160deg, var(--glass-shine), transparent 40%), var(--glass-strong); }
.pill nav { background: var(--glass); border-color: var(--glass-edge); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.get { background: linear-gradient(160deg, var(--glass-shine), transparent 35%), var(--glass); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tile, .get, .mail, .pill nav, .tab:has([aria-pressed="true"]) { background: var(--color-paper-2); }
}

/* ---------- the three steps: screens turn in and out in 3D, the active step fills ---------- */
.shots { perspective: 1400px; }
.shots .screen { transition: opacity var(--dur-long) var(--ease-out), transform 600ms var(--ease-out); }
.js .shots .screen { opacity: 0; transform: translateX(14%) rotateY(-16deg) scale(0.94); }
html[dir="rtl"].js .shots .screen { transform: translateX(-14%) rotateY(16deg) scale(0.94); }
.js .shots .screen.is-on { opacity: 1; transform: none; }
.js .shots .screen.was-on { opacity: 0; transform: translateX(-14%) rotateY(16deg) scale(0.94); }
html[dir="rtl"].js .shots .screen.was-on { transform: translateX(14%) rotateY(-16deg) scale(0.94); }
.tab { overflow: hidden; }
.tab::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-end: 0; width: 100%; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-out); }
html[dir="rtl"] .tab::after { transform-origin: right; }
.tab:has([aria-pressed="true"])::after { transform: scaleX(1); }
.tab button { transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.tab p { transition: color var(--dur-short) var(--ease-out); }
.tab:has([aria-pressed="true"]) p { color: var(--color-ink-2); }
@media (prefers-reduced-motion: reduce) {
  .js .shots .screen, .js .shots .screen.was-on, html[dir="rtl"].js .shots .screen, html[dir="rtl"].js .shots .screen.was-on { transform: none; transition: none; }
  .tab::after, .tab button, .tab p { transition: none; }
}

/* ---------- light and dark ---------- */
.logo-light { display: none; }
[data-theme="light"] .logo-light { display: block; }
[data-theme="light"] .logo-dark { display: none; }
.theme { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.theme:hover { background: var(--color-paper-3); }
.theme:active { transform: scale(0.94); }
.theme svg { width: 20px; height: 20px; }
.theme .i-moon, [data-theme="light"] .theme .i-sun { display: none; }
[data-theme="light"] .theme .i-moon { display: block; }
[data-theme="light"] .screen { outline-color: var(--color-rule); }
[data-theme="light"] .appicon { box-shadow: var(--shadow-icon); }

/* ---------- store badges (coming soon) ---------- */
.stores { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.get .stores { justify-content: center; margin-top: var(--space-md); }
.store { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 48px; padding: var(--space-xs) var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 14px; color: var(--color-ink); }
.store svg { width: 22px; height: 22px; flex-shrink: 0; }
.store small { display: block; font-size: var(--text-xs); color: var(--color-muted); line-height: 1.2; }
.store b { display: block; font-size: var(--text-md); line-height: 1.15; }

/* ---------- the waitlist form ---------- */
.wl { display: grid; gap: var(--space-sm); width: min(100%, 30rem); margin-top: var(--space-xs); text-align: start; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xs); margin: 0 0 var(--space-xs); padding: var(--space-2xs); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-paper-2); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: grid; place-items: center; min-height: 44px; border-radius: var(--radius-pill); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 400; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.seg label:hover { color: var(--color-ink); }
.seg input:checked + label { background: var(--color-ink); color: var(--color-paper); font-weight: 600; }
.seg input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wl-label { font-size: var(--text-sm); color: var(--color-ink-2); }
.wl-row { display: flex; gap: var(--space-xs); }
.wl input[type="text"] { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1 var(--font-body); outline: 2px solid transparent; outline-offset: -3px; }
.wl input[type="text"]::placeholder { color: var(--color-muted); opacity: 0.8; }
.wl input[type="text"]:focus-visible { outline-color: var(--color-focus); }
.wl input[aria-invalid="true"] { border-color: var(--color-error); }
.wl-go { padding-inline: var(--space-lg); }
.wl-go:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.wl-go[aria-busy="true"] { cursor: progress; }
.wl-help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }
.wl-help.is-bad { color: var(--color-error); }
[data-theme="dark"] .wl-help.is-bad { color: var(--color-error-soft); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 40rem) { .wl-row { flex-direction: column; } .wl-go { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .theme, .seg label { transition: none; } .theme:active { transform: none; } }

/* the two app icons on the waitlist card, and one on each role option */
.appicons { display: flex; justify-content: center; }
.appicons .appicon--rider { margin-inline-start: -18px; transform: rotate(8deg); }
.appicons .appicon:first-child { transform: rotate(-8deg); }
.seg label { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); }
.seg label img { width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0; }
.btn img[src*="rider-icon"] { border-radius: 10px; }

/* the waitlist closes into a confirmation after a sign-up */
.wl[hidden], .wl-done[hidden] { display: none; }
.wl-done { display: grid; justify-items: center; gap: var(--space-xs); width: min(100%, 30rem); padding: var(--space-lg); border: var(--rule-hair) solid var(--glass-edge); border-radius: var(--radius-card); background: var(--glass-strong); outline: none; }
.wl-done svg { width: 44px; height: 44px; padding: var(--space-sm); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); }
.wl-done-title { font-size: var(--text-title); font-weight: 600; color: var(--color-ink); }
.wl-done-line { color: var(--color-ink-2); }
.wl-again { min-height: 44px; margin-top: var(--space-xs); padding: 0 var(--space-md); border: 0; background: transparent; color: var(--color-ink-2); font: 400 var(--text-sm)/1 var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wl-again:hover { color: var(--color-ink); }
.wl-again:active { opacity: 0.8; }
.wl-again:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 8px; }
