/* ldu/pages-pilot.css: the pilot programme's public pages (/pilot, /pilot/experts, /pilot/thanks). Layout and the LDU controls only; every colour is
   a var() of a fraction-ds token. A single centred column that reads on a phone first. */

.pilot { min-height: 100vh; background: var(--bg); color: var(--ink); }
.pilot__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 880px; margin: 0 auto; padding: 16px 24px; }
.pilot__logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.pilot__bar-end { display: flex; align-items: center; gap: 16px; }
.pilot__signin { font-size: var(--fs-ui); color: var(--ink-2); text-decoration: none; }
.pilot__signin:hover { color: var(--ink); }
.pilot__main { max-width: 880px; margin: 0 auto; padding: 24px 24px 64px; }
.pilot__wrap { display: grid; gap: 32px; }

/* who this is for: the DS segmented control (.ldu-seg), sitting at the start of the column */
.pilot__pills { justify-self: start; max-width: 100%; }
@media (max-width: 480px) {   /* a phone: the two halves share the row and their words wrap, instead of stacking */
  .pilot__pills { display: flex; justify-self: stretch; }
  .pilot__pills > .ldu-seg__opt { flex: 1 1 0; min-width: 0; height: auto; min-height: 40px; padding-block: 6px; white-space: normal; text-align: center; }
}
[x-cloak] { display: none !important; } /* Alpine shows these once it has started; until then (or without JavaScript) they stay out of the way */

.pilot__hero { display: grid; gap: 12px; max-width: 640px; }
.pilot__eyebrow { margin: 0; font-size: var(--fs-ui); font-weight: 500; color: var(--ink-2); }
.pilot__title { margin: 0; font-size: clamp(2rem, 5.5vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.pilot__lede { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); }

.pilot__points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pilot__point { gap: 4px; }
.pilot__point strong { font-size: var(--fs-body); font-weight: 600; }
.pilot__point span { font-size: var(--fs-ui); line-height: 1.5; color: var(--ink-2); }

.pilot__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pilot__step { display: flex; gap: 12px; align-items: flex-start; }
.pilot__step-no { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; font-size: var(--fs-ui); font-weight: 600; font-variant-numeric: tabular-nums; }
.pilot__step strong { display: block; font-size: var(--fs-body); font-weight: 600; }
.pilot__step small { display: block; margin-top: 2px; font-size: var(--fs-ui); line-height: 1.5; color: var(--ink-2); }

.pilot__form { display: grid; gap: 8px; max-width: 520px; }   /* a DS .card: only the column is here */
.pilot__form .field__label { margin-top: 8px; }
.pilot__form .btn { margin-top: 16px; }
.pilot__hint { margin: 0; font-size: var(--fs-ui); line-height: 1.45; color: var(--ink-2); }
.pilot__hint--bad { color: var(--danger, var(--ink)); }
.pilot__hint--nudge { padding: 8px 12px; border-left: 2px solid var(--accent); background: var(--ldu-recess); color: var(--ink); }
.pilot__consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; font-size: var(--fs-ui); color: var(--ink-2); }
.pilot__consent .check { margin-top: 1px; }
.pilot__note { margin: 8px 0 0; font-size: var(--fs-ui); color: var(--ink-2); }
.pilot__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pilot__thanks { display: grid; gap: 16px; max-width: 560px; }
.pilot__count { margin: 0; font-size: 1.0625rem; }
.pilot__share { display: grid; gap: 4px; }
/* What happens next: the road after joining, numbered because it is a sequence */
.pilot__next { gap: 10px; }
.pilot__nexttitle { margin: 0; font-size: var(--fs-body); font-weight: 600; }
.pilot__nextsteps { margin: 0; padding-left: 1.3rem; display: grid; gap: 10px; }
.pilot__nextsteps li { display: grid; gap: 2px; padding-left: 4px; }
.pilot__nextsteps span { color: var(--ink-2); font-size: var(--fs-ui); }
.pilot__sharebox { display: flex; gap: 8px; }
.pilot__sharebox .input { flex: 1; min-width: 0; }

@media (max-width: 600px) {
  .pilot__bar, .pilot__main { padding-left: 16px; padding-right: 16px; }
}

/* the kept promise under the lede, and the chips that stand in for a blank page */
.pilot__promise { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--ldu-recess); font-size: var(--fs-ui); color: var(--ink); width: fit-content; max-width: 100%; }
.pilot__promise .icon { flex: none; color: var(--accent); }
.pilot__chips { display: flex; flex-wrap: wrap; gap: 8px; }   /* the asks are DS chips (buttons); the picked one is .chip--on */

/* ── Daniel's Clients: "From the waiting list" (clients/_waitlist_row) ─────────────────────────────────────────────────────────────────
   One compact row per sign-up: who and what on the left, Add as client on the right; stacked on a phone. Layout only. */
.waitlist__row { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.waitlist__row > div { display: grid; gap: 4px; min-width: 0; }
.waitlist__row p { margin: 0; }
.waitlist__row .dataroom__form--inline { flex: none; }
@media (max-width: 720px) { .waitlist__row { flex-direction: column; align-items: stretch; } }
.waitlist { display: grid; gap: 8px; }
details > .waitlist { margin-top: 8px; }
