/* GENERATED FILE — DO NOT EDIT.
   Source: shared/design-system/waitlist.css
   Regenerate: node shared/design-system/sync.mjs
   Edits here are overwritten and will silently desync the other targets. */

/* ============================================================
   Focus Media Services — WAITLIST + BOOK COVER
   ------------------------------------------------------------
   The "Get first word on the book" panel and the cover art that
   sits beside it. Used by the site's book page and across the
   book site; /thoughts has neither, so this partial is scoped to
   those two targets in sync.mjs.

   This is a reconciliation: the site and book-site had drifted
   copies. The site had dark-mode rules for the form that book
   lacked; book had the <picture> handling the site lacked. This
   is the union, so both now get both.

   Canonical source — edit here, then run:
       node shared/design-system/sync.mjs
   Never edit the generated copies in each target's ds folder.
   ============================================================ */

/* ---------- book cover art (transparent background, shadow baked in) ---------- */
.cover-img {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
    margin: 0 auto;
    transition: transform .3s ease-in-out;
}
.cover-img:hover { transform: translateY(-6px); }

/* ---------- waitlist (shared with book-site) ---------- */
.wl-hp { position: absolute; left: -9999px; opacity: 0; }  /* honeypot */

/* ---------- waitlist panel: rounded navy container, copy + cover left, form card right ---------- */
.waitlist {
    position: relative;
    padding: 52px 56px;
    border-radius: var(--radius-lg);
    color: #fff;
    background:
        radial-gradient(640px 420px at 12% 110%, rgba(63, 175, 236, .22), transparent 70%),
        linear-gradient(135deg, #173f66 0%, #0f2a44 100%);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.waitlist__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
}
@media (min-width: 1000px) {
    .waitlist__grid { grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px); gap: 56px; }
}
@media (max-width: 999px) { .waitlist { padding: 44px 40px; } }
@media (max-width: 999px) {
    .waitlist-form { max-width: 560px; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
    .waitlist__copy { flex-direction: column; gap: 18px; }
    .waitlist__cover { width: 120px; margin-left: 6px; }
}
.waitlist__copy { display: flex; align-items: flex-start; gap: 28px; }
.waitlist__cover {
    /* book-site wraps the cover in <picture>; the site uses a bare <img>.
       Blockifying both keeps them identical (a flex item is blockified
       anyway, but this survives the markup changing). */
    display: block;
    flex: none;
    width: 150px;
    height: auto;
    transform: rotate(-4deg);
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
}
@media (max-width: 599px) {
    .waitlist__copy { flex-direction: column; gap: 18px; }
    .waitlist__cover { width: 112px; margin-left: 6px; }
}
.waitlist__kicker {
    margin: 0 0 10px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--emphasis);
}
.waitlist h2 { color: #fff; margin: 0 0 12px; text-transform: none; letter-spacing: 0; }
.waitlist__lede { margin: 0 0 18px; font-size: 17px; line-height: 1.65; color: #cfe0ec; max-width: 30em; }
.waitlist__points { list-style: none; margin: 0; padding: 0; }
.waitlist__points li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    font-size: 15px;
    color: #e3edf5;
}
.waitlist__points li::before {
    content: '';
    position: absolute;
    left: 0; top: 7px;
    width: 14px; height: 8px;
    border-left: 2.5px solid var(--green);
    border-bottom: 2.5px solid var(--green);
    transform: rotate(-45deg) translateY(-2px);
}

.waitlist-form {
    padding: 30px 30px 26px;
    color: var(--body-text);
    text-align: left;
}
.waitlist-form:hover { transform: none; box-shadow: var(--shadow-md); }
.waitlist-form__title {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}
.waitlist-form__field { margin-bottom: 14px; }
.waitlist-form__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-slate);
}
.waitlist-form__field input,
.waitlist-form__field select,
.waitlist-form__field textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 10px 18px;
    border: 1.5px solid var(--hairline);
    border-radius: var(--radius-sm);
    background: var(--surface-page);
    color: var(--primary);
    font-family: var(--font-sans);
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
}
.waitlist-form__field input::placeholder,
.waitlist-form__field textarea::placeholder { color: var(--text-soft); }
.waitlist-form__field input:focus-visible,
.waitlist-form__field select:focus-visible,
.waitlist-form__field textarea:focus-visible {
    outline: 0;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 112, 169, .18);
}
.waitlist-form__submit { width: 100%; min-height: 52px; margin-top: 6px; }
.waitlist-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-slate);
    cursor: pointer;
}
.waitlist-form__consent input {
    flex: none;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--green);
    cursor: pointer;
}
.waitlist-form__consent input:focus-visible { outline: 3px solid var(--emphasis); outline-offset: 2px; }
.waitlist-form__msg {
    min-height: 1.4em;
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-slate);
}
.waitlist-form__msg.is-success { color: #4f9a0e; }
.waitlist-form__msg.is-error { color: var(--accent-orange); }
@media (max-width: 599px) {
    .waitlist { padding: 32px 22px; }
    .waitlist-form { padding: 24px 20px 20px; }
}

/* dark mode: the form card flips to a dark surface, so its text must follow */
html.mode-dark .waitlist-form__title,
html.mode-dark .waitlist-form__field input,
html.mode-dark .waitlist-form__field select,
html.mode-dark .waitlist-form__field textarea { color: #fff; }
html.mode-dark .waitlist-form__field label,
html.mode-dark .waitlist-form__consent,
html.mode-dark .waitlist-form__msg { color: #b9c6d2; }

/* book-site wraps the cover in <picture>; size the inner <img>.
   Matches nothing on the site, where .waitlist__cover is the <img> itself. */
.waitlist__cover img { display: block; width: 100%; height: auto; }

/* ---------- contact form (the site's consulting page) ----------
   The same form-card grammar, grown up: help.html#contact reuses the
   .waitlist-form field styles and adds the select + textarea a longer
   conversation needs. Site-only markup, but the styles ride in this
   partial so no target needs a new <link>. */
.contact-split { align-items: center; }
.contact-form { width: 100%; }
@media (min-width: 960px) {
    .contact-form { max-width: 520px; justify-self: end; }
}
.waitlist-form__field textarea {
    min-height: 132px;
    padding-top: 12px;
    line-height: 1.55;
    resize: vertical;
}
.waitlist-form__field select { cursor: pointer; }

/* The copy column speaks the house grammar on the navy band: the heading
   reads light with its accent word in white, the check list and the gov-proof
   caps line step down to the band's blue-grey. Same light-on-navy palette as
   .team-intro--dark (sections.css) — and --primary is not redefined in dark
   mode, so the band stays navy and these colors hold in both. The white form
   card is the contrast. The check list stays single-column because these
   items are sentences. */
.contact-split h2 { color: var(--emphasis); }
.contact-split h2 .accent { color: #fff; }
.contact-split .alt { color: #cfe0ec; }
.contact-points {
    width: fit-content;
    margin: 4px auto 22px;
    padding: 0;
    list-style: none;
    text-align: left;
}
@media (min-width: 960px) { .contact-points { margin-left: 0; } }
.contact-points li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
    font-size: 15.5px;
    line-height: 1.55;
    color: #cfe0ec;
}
.contact-points strong { color: #fff; }
.contact-points a { color: #fff; text-decoration: underline; }
.contact-points a:hover { color: var(--emphasis); }
.contact-points li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(120, 198, 31, .22);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-round);
}
.contact-proof {
    margin: 0;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}
