/* askgabriel.com/waitlist (Tyler 10/14): the waitlist form, in a dialog over the homepage copy. The form is the V3
   waitlist design (design/gabriel-solarpunk/v3-waitlist/page.css, with /join's fields from v3-shared/v3.css), every
   rule scoped to the dialog so the homepage's own styles (style.css, pricing.css) stay exactly as they are. */

/* The category tiles stay pictures here: no link, so no hover that promises one */
[data-page="home-waitlist"] .tile:hover .tile-img img{filter:brightness(.84) saturate(.9) contrast(1.04);transform:none}
[data-page="home-waitlist"] .chalk .tile:hover .tile-img img{filter:saturate(.95)}
[data-page="home-waitlist"] .tile:hover .tile-t{color:var(--silver)}
[data-page="home-waitlist"] .chalk .tile:hover .tile-t{color:var(--ink)}

/* ---------- The dialog ---------- */
html.wl-open{overflow:hidden}
.wl-dialog{color-scheme:dark;width:min(1080px,calc(100% - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid var(--glass-edge);border-radius:28px;background:var(--obsidian);color:var(--pearl);box-shadow:0 40px 120px rgba(0,0,0,.55);overflow:auto;overscroll-behavior:contain}
.wl-dialog::backdrop{background:rgba(9,12,14,.66);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.wl-dialog[open]{animation:wl-in .42s var(--ease-out)}
@keyframes wl-in{from{opacity:0;transform:translateY(16px) scale(.985)}}
.wl-dialog :focus-visible{outline:2px solid var(--jade);outline-offset:3px}

.wl-bar{position:sticky;top:0;z-index:2;display:flex;justify-content:flex-end;height:0}
.wl-x{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:16px 16px 0 0;border:1px solid var(--glass-edge);border-radius:50%;background:rgba(24,29,32,.72);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:var(--pearl);cursor:pointer;transition:border-color .2s}
.wl-x:hover{border-color:rgba(240,243,241,.4)}
.wl-x svg{width:20px;height:20px}

.wl-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(32px,4.4vw,64px);padding:clamp(40px,4.6vw,64px)}
.wl-intro{align-self:start;position:sticky;top:clamp(40px,4.6vw,64px);padding-top:6px}
.wl-title{margin-top:16px;font-size:clamp(34px,3.4vw,48px);font-weight:300;letter-spacing:-.035em;line-height:1.06;text-wrap:balance}
.wl-lead{margin-top:18px;max-width:30em;font-size:var(--fs-17);line-height:1.55;color:var(--silver);text-wrap:pretty}
.wl-trust{display:flex;flex-direction:column;gap:12px;margin-top:28px;font-family:var(--mono);font-weight:500;font-size:var(--fs-12);letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.wl-trust li{display:inline-flex;align-items:center;gap:10px}
.wl-trust li::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--jade)}
/* The hero's own photograph, so the form sits in the same world as the page behind it */
.wl-art{margin-top:40px;overflow:hidden;border-radius:20px;box-shadow:0 0 0 1px rgba(240,243,241,.06)}
.wl-art img{width:100%;aspect-ratio:5/4;object-fit:cover;object-position:50% 30%;filter:brightness(.88) saturate(.92) contrast(1.04)}

/* ---------- The form (v3-waitlist's card, /join's fields) ---------- */
.wl-form,.wl-done{padding:clamp(24px,2.8vw,36px);border:1px solid var(--line);border-radius:22px;background:rgba(240,243,241,.03)}
.wl-step{font-size:var(--fs-h3);font-weight:400;letter-spacing:-.02em;line-height:1.2;outline:none}
.wl-step-sub{margin:6px 0 24px;font-size:var(--fs-15);color:var(--silver)}
.wl-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.wl-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.wl-field>label{font-size:var(--fs-13);font-weight:500;color:var(--silver)}
.wl-span{grid-column:1/-1}
.wl-opt{margin-left:6px;font-family:var(--mono);font-weight:500;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
.wl-input,.wl-select{width:100%;min-width:0;min-height:52px;padding:0 16px;border-radius:12px;border:1px solid var(--line2);background-color:rgba(240,243,241,.04);color:var(--pearl);font:400 var(--fs-17)/1.4 var(--sans);transition:border-color .2s,background-color .2s}
.wl-input:focus,.wl-select:focus{outline:none;border-color:var(--jade);background-color:rgba(240,243,241,.07)}
.wl-input[type=date]{-webkit-appearance:none;appearance:none;display:flex;align-items:center}
.wl-input[type=date]::-webkit-date-and-time-value{text-align:left}
.wl-select{appearance:none;-webkit-appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23b7c1c1' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:12px}
.wl-select option{background:var(--obsidian);color:var(--pearl)}
.wl-dialog [aria-invalid=true]{border-color:#e39a93}
.wl-err{font-size:var(--fs-13);color:#f0b3ae}
.wl-note{font-size:var(--fs-13);line-height:1.5;color:var(--dim)}
.wl-field:has(.wl-err:not([hidden])) .wl-note{display:none}

.wl-consent{display:grid;grid-template-columns:20px minmax(0,1fr);gap:12px;align-items:start;margin-top:24px;font-size:var(--fs-13);line-height:1.6;color:var(--silver);cursor:pointer}
.wl-consent input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--jade);cursor:pointer}
.wl-consent a{color:var(--pearl);text-underline-offset:3px}
.wl-cx-more{display:inline;margin:0;padding:0;border:0;background:none;font:inherit;color:var(--pearl);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.wl-label{font-size:var(--fs-13);font-weight:500;color:var(--silver)}
.wl-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.wl-choice{min-height:52px;padding:0 10px;border-radius:999px;border:1px solid var(--line2);background-color:rgba(240,243,241,.04);color:var(--pearl);font:400 var(--fs-17)/1.2 var(--sans);cursor:pointer;transition:border-color .2s,background-color .2s,color .2s}
.wl-choice:hover{border-color:var(--silver)}
.wl-choice[aria-pressed=true]{background-color:var(--pearl);border-color:var(--pearl);color:var(--obsidian)}
.wl-choice:focus-visible,.wl-cx-more:focus-visible{outline:2px solid var(--jade);outline-offset:2px}
@media (max-width:640px){.wl-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
.wl-consent:has(input[aria-invalid=true]) span{color:#f0b3ae}
#wl-err-consent,#wl-err-q-consent{margin-top:8px;padding-left:32px}
.wl-alert{margin-top:18px;padding:13px 16px;border:1px solid rgba(227,154,147,.45);border-radius:12px;background:rgba(227,154,147,.08);font-size:var(--fs-15);line-height:1.5;color:#f3c4bf}
.wl-submit{width:100%;height:54px;margin-top:24px}
.wl-submit:disabled{opacity:.6;cursor:progress}
.wl-fine{margin-top:12px;font-size:var(--fs-13);line-height:1.6;color:var(--dim)}

/* ---------- Done ---------- */
.wl-done{border-color:rgba(147,187,169,.35);background:rgba(147,187,169,.05);outline:none}
.wl-done-title{margin-top:12px;font-size:clamp(30px,3vw,40px);font-weight:300;letter-spacing:-.03em;line-height:1.1}
.wl-done-text{margin-top:14px;max-width:46ch;font-size:var(--fs-17);line-height:1.55;color:var(--silver)}
.wl-statuses{display:flex;flex-direction:column;gap:10px;margin-top:22px}
.wl-statuses:not(:has(.wl-status:not([hidden]))){display:none}
.wl-status{position:relative;padding-left:30px;font-size:var(--fs-15);line-height:1.5;color:var(--pearl)}
.wl-status::before{content:"";position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;background:rgba(147,187,169,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.6 3.6 7.4-8.2' fill='none' stroke='%2393bba9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat}
.wl-status+.wl-status::before{background:none;border:1.5px solid rgba(147,187,169,.4);width:8px;height:8px;left:6px;top:7px}
.wl-status[data-tone=warning]{color:var(--silver)}
.wl-status[data-tone=warning]::before{background:none;border:1.5px solid rgba(240,243,241,.45);width:8px;height:8px;left:6px;top:7px}
.wl-ref{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.wl-ref-k{font-family:var(--mono);font-weight:500;font-size:var(--fs-12);letter-spacing:.12em;text-transform:uppercase;color:var(--jade)}
.wl-ref-p{margin-top:8px;font-size:var(--fs-15);color:var(--silver)}
.wl-ref-row{display:flex;gap:10px;margin-top:14px}
.wl-ref-input{flex:1;font-size:var(--fs-15)}
.wl-copy{flex:none;height:52px}
.wl-done .wl-fine{margin-top:20px}
.wl-back{margin-top:22px}
/* Self-serve (2026-11-12): the done screen's way straight to checkout, then the specialist line */
.wl-done-title:first-child{margin-top:0}
.wl-go{margin-top:24px}
.wl-go-btn{width:100%;height:54px}
.wl-done .wl-go-note{margin-top:12px}
/* The quote step under it (2026-11-12): a quiet text button that opens four fields in place, in the form's own styles */
.wl-quote{margin-top:14px}
.wl-quote-open{display:inline-flex;align-items:center;min-height:44px;font-size:var(--fs-15);text-align:left}
.wl-quote-open[hidden]{display:none}
.wl-quote-form{margin-top:10px}
.wl-quote-form .wl-consent{margin-top:20px}
.wl-money{position:relative}
.wl-money-k{position:absolute;left:16px;top:50%;transform:translateY(-50%);font-size:var(--fs-17);color:var(--silver);pointer-events:none}
.wl-money .wl-input{padding-left:32px}
.wl-quote-submit{width:100%;height:52px;margin-top:18px}
.wl-quote-submit:disabled{opacity:.6;cursor:progress}
.wl-quote-done{margin-top:10px;outline:none}

/* ---------- /waitlist's plans: the one waitlist link under the cards (self-serve, 2026-11-12) ---------- */
.pm-wl{margin-top:18px;font-size:var(--fs-15);line-height:1.5;color:var(--ash);text-align:center}
.pm-wl a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.pm-wl a:hover{text-decoration-thickness:2px}

@media (prefers-reduced-motion:reduce){.wl-dialog[open]{animation:none}}

/* ---------- Phones: the form fills the screen ---------- */
@media (max-width:760px){
  .wl-dialog{width:100%;height:100%;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none}
  .wl-dialog[open]{animation-name:wl-up}
  @keyframes wl-up{from{opacity:0;transform:translateY(24px)}}
  /* The close button rides a strip of the dialog's own color, so the title never scrolls under it */
  .wl-bar{height:64px;margin-bottom:-64px;padding-top:env(safe-area-inset-top,0px);box-sizing:content-box;background:linear-gradient(rgba(24,29,32,.97) 70%,rgba(24,29,32,0))}
  .wl-x{margin:10px 12px 0 0}
  .wl-art{display:none}
  .wl-grid{grid-template-columns:1fr;gap:28px;padding:calc(64px + env(safe-area-inset-top,0px)) 16px calc(32px + env(safe-area-inset-bottom,0px))}
  .wl-intro{position:static;padding-top:0}
  .wl-trust{flex-direction:row;flex-wrap:wrap;gap:8px 16px;margin-top:20px}
  .wl-form,.wl-done{padding:22px 18px;border-radius:20px}
}
@media (max-width:640px){.wl-fields{grid-template-columns:1fr}}
@media (max-width:420px){.wl-ref-row{flex-direction:column}.wl-copy{width:100%}}
/* Phones: a Care card's "Join Emerald" is longer than the old "Join", so it takes its own row under the tier switch and
   the price keeps its line (this page only) */
@media (max-width:860px){
  [data-page="home-waitlist"] .pm-ladder .pm-c-care{grid-template-areas:"crown buy buy" "tier tier tier" "join join join"}
  [data-page="home-waitlist"] .pm-ladder .pm-c-care .pm-tier{margin:0 12px 10px}
  [data-page="home-waitlist"] .pm-ladder .pm-c-care .pm-join{width:auto;height:44px;margin:0 12px 12px}
}

/* ---------- The lighter /waitlist dialog (2026-11-13, a draft for the owner) ----------
   Only the dialog with class wl-lite (askgabriel.com/waitlist) reads these: /cannabis, /medicare and /plus-waitlist share
   this file and keep their dialogs as they are. One photo beside the form (a band across the top on phones), no card, two
   short steps (waitlist.js), tap tiles for short choices, the legal lines small and quiet. Colors are the page's tokens. */
.wl-lite .wl-art{position:relative;margin:0;overflow:hidden;border-radius:0;box-shadow:none;background:var(--deep)}
.wl-lite .wl-art img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:60% 30%}
.wl-lite .wl-form,.wl-lite .wl-done{padding:0;border:0;border-radius:0;background:none}

/* The control row: Back and the two-segment step bar (jade marks the steps reached), close at the right end */
.wl-lite .wl-top{display:flex;align-items:center;gap:20px;min-height:44px;margin:-12px 0 16px}
.wl-lite .wl-progress{display:flex;gap:6px;width:88px}
.wl-lite .wl-progress span{flex:1;height:3px;border-radius:999px;background:var(--line2)}
.wl-lite .wl-progress span:first-child,.wl-lite .wl-body[data-wl-state="2"] .wl-progress span{background:var(--jade)}
.wl-lite .wl-body[data-wl-state="done"] .wl-progress{display:none}
.wl-lite .wl-x{flex:none;margin:0 0 0 auto}
.wl-lite .wl-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Each step: one light headline, a short line, a handful of fields */
.wl-lite .wl-step{font-size:clamp(30px,2.6vw,36px);font-weight:300;letter-spacing:-.03em;line-height:1.1}
.wl-lite .wl-step-sub{margin:10px 0 28px;font-size:var(--fs-15);color:var(--silver)}
.wl-lite .wl-stage[data-wl-stage="2"] .wl-step{margin-bottom:28px}
.wl-lite .wl-fields{gap:18px 12px}
.wl-lite .wl-continue{width:100%;height:54px;margin-top:28px}
/* Step 1 shows Continue only; the consent, Save my spot and the fine print belong to step 2 */
.wl-lite .wl-form[data-step="1"] > .wl-consent,.wl-lite .wl-form[data-step="1"] > .wl-err,.wl-lite .wl-form[data-step="1"] > .wl-alert,
.wl-lite .wl-form[data-step="1"] > .wl-submit,.wl-lite .wl-form[data-step="1"] > .wl-fine{display:none}
.wl-lite .wl-form .wl-fine{margin-top:10px;font-size:var(--fs-12);line-height:1.5;color:var(--dim)}
.wl-lite .wl-submit+.wl-fine{margin-top:16px}

/* Quiet text links: Back (step 2) and Back to the page (done) */
.wl-lite .wl-textlink[hidden]{display:none}
.wl-lite .wl-textlink{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:0;border:0;background:none;font:400 var(--fs-15)/1 var(--sans);color:var(--silver);cursor:pointer;transition:color .2s}
.wl-lite .wl-textlink:hover{color:var(--pearl)}
.wl-lite .wl-back-step::before{content:"";width:7px;height:7px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-left:2px}

/* Tap tiles: a radio group, one full-width tile per answer */
.wl-lite .wl-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.wl-lite .wl-tile{position:relative;display:flex;align-items:center;min-height:52px;padding:12px 14px;border:1px solid var(--line2);border-radius:12px;background-color:rgba(240,243,241,.04);color:var(--pearl);font:400 16px/1.25 var(--sans);cursor:pointer;transition:border-color .2s,background-color .2s}
.wl-lite .wl-tile input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.wl-lite .wl-tile span{min-width:0}
.wl-lite .wl-tile:hover{border-color:var(--silver)}
/* Chosen reads like the Medicare answers below it: pearl, with obsidian words */
.wl-lite .wl-tile:has(input:checked){border-color:var(--pearl);background-color:var(--pearl);color:var(--obsidian)}
.wl-lite #wl-plan .wl-tile{justify-content:center;text-align:center}
.wl-lite .wl-tile:has(input:focus-visible){outline:2px solid var(--jade);outline-offset:2px}
.wl-lite [role=radiogroup][aria-invalid=true] .wl-tile{border-color:#e39a93}
.wl-lite .wl-choice{min-height:48px;font-size:16px}

/* Done: a small check, the headline, the one button; then a hairline and two quiet rows; the disclaimer last */
.wl-lite .wl-done:not([hidden]){display:flex;flex-direction:column;align-items:stretch}
.wl-lite .wl-done-title{margin-top:0;font-size:clamp(30px,2.8vw,38px)}
.wl-lite .wl-done-title::before{content:"";display:block;width:30px;height:30px;margin-bottom:22px;background-color:var(--jade);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14.6' fill='none' stroke='white' stroke-width='1.4'/%3E%3Cpath d='m10.5 16.4 3.7 3.7 7.4-8.2' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14.6' fill='none' stroke='white' stroke-width='1.4'/%3E%3Cpath d='m10.5 16.4 3.7 3.7 7.4-8.2' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.wl-lite .wl-done-text{margin-top:12px;font-size:var(--fs-17)}
.wl-lite .wl-go{margin-top:28px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.wl-lite .wl-done .wl-go-note{margin-top:12px;font-size:var(--fs-13);color:var(--dim)}
.wl-lite .wl-statuses{margin-top:18px;gap:6px}
.wl-lite .wl-status{padding-left:0;font-size:var(--fs-15);line-height:1.5;color:var(--silver)}
.wl-lite .wl-status::before{content:none}
/* A text that did not go out (not delivered, opted out) needs attention: the form's error color and a small stroke mark */
.wl-lite .wl-status[data-tone=warning]{position:relative;padding-left:28px;color:#f0b3ae}
.wl-lite .wl-status[data-tone=warning]::before{content:"";position:absolute;left:0;top:2px;width:18px;height:18px;border:0;border-radius:0;background-color:#f0b3ae;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.2' fill='none' stroke='white' stroke-width='1.6'/%3E%3Cpath d='M12 7.2v6.1' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='16.7' r='1.15' fill='white'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.2' fill='none' stroke='white' stroke-width='1.6'/%3E%3Cpath d='M12 7.2v6.1' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='16.7' r='1.15' fill='white'/%3E%3C/svg%3E") center/contain no-repeat}
.wl-lite .wl-quote{margin-top:6px}
.wl-lite .wl-quote-open{color:var(--pearl);text-decoration-color:rgba(240,243,241,.35)}
.wl-lite .wl-ref{margin-top:18px;padding-top:18px}
.wl-lite .wl-back{align-self:flex-start;margin-top:2px;font-size:var(--fs-13);color:var(--dim)}
.wl-lite .wl-done>.wl-fine{margin-top:20px;font-size:var(--fs-12);line-height:1.5;color:var(--dim)}
/* The quote open: the rows under it fold away so its four fields are the focus; they return once it is sent */
.wl-lite .wl-done:has(#wl-quote-form:not([hidden]))>.wl-statuses,.wl-lite .wl-done:has(#wl-quote-form:not([hidden]))>.wl-ref,
.wl-lite .wl-done:has(#wl-quote-form:not([hidden]))>.wl-fine,.wl-lite .wl-done:has(#wl-quote-form:not([hidden]))>.wl-back{display:none}
.wl-lite .wl-quote-form{margin-top:12px}
.wl-lite .wl-quote-form .wl-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.wl-lite .wl-quote-done{margin-top:6px}

/* Desktop: the photo fills the left panel edge to edge; the content scrolls on its own if it must */
@media (min-width:761px){
  .wl-lite{width:min(1040px,calc(100% - 48px));overflow:hidden}
  /* Close sits in the dialog's corner; the content column keeps clear of it (72px) so nothing ever scrolls under it */
  .wl-lite .wl-x{position:absolute;top:16px;right:16px;z-index:3}
  .wl-lite .wl-grid{display:flex;height:min(820px,calc(100dvh - 50px));gap:0;padding:0}
  .wl-lite .wl-art{flex:0 0 42%}
  .wl-lite .wl-panel{display:flex;flex-direction:column;flex:1;min-width:0;overflow-y:auto;overscroll-behavior:contain;padding:48px 72px 40px clamp(40px,4.4vw,64px)}
  .wl-lite .wl-body{width:100%;max-width:460px;margin:auto 0}
  .wl-lite .wl-body[data-wl-state="done"]>.wl-top{min-height:0;margin:0}
  .wl-lite #wl-plan{grid-template-columns:repeat(4,minmax(0,1fr))}
  .wl-lite #wl-plan .wl-tile{padding-inline:8px}
  .wl-lite .wl-tile,.wl-lite .wl-choice{min-height:48px}
  .wl-lite .wl-form .wl-consent{margin-top:22px}
  /* The quote's pairs: ZIP and date of birth halves; household five twelfths and income seven, so both labels keep one
     line and the two fields sit level (narrower desktops stack those two) */
  .wl-lite .wl-quote-form .wl-fields{grid-template-columns:repeat(12,minmax(0,1fr))}
  .wl-lite .wl-quote-form .wl-field{grid-column:span 6}
  .wl-lite .wl-quote-form .wl-field:nth-child(3){grid-column:span 5}
  .wl-lite .wl-quote-form .wl-field:nth-child(4){grid-column:span 7}
  /* Step 2 on a tighter rhythm, so all of it fits the dialog at 1440x900 (tap targets stay 44px or more, text 16px) */
  .wl-lite .wl-panel:has(.wl-body[data-wl-state="2"]){padding-top:32px;padding-bottom:24px}
  .wl-lite .wl-body[data-wl-state="2"]>.wl-top{margin-bottom:6px}
  .wl-lite .wl-form[data-step="2"] .wl-step{margin-bottom:16px;font-size:30px}
  .wl-lite .wl-form[data-step="2"] .wl-fields{gap:14px 12px}
  .wl-lite .wl-form[data-step="2"] .wl-field{gap:6px}
  .wl-lite .wl-form[data-step="2"] .wl-select{min-height:48px}
  .wl-lite .wl-form[data-step="2"] .wl-tiles,.wl-lite .wl-form[data-step="2"] .wl-choices{gap:6px}
  .wl-lite .wl-form[data-step="2"] .wl-tile,.wl-lite .wl-form[data-step="2"] .wl-choice{min-height:44px;padding-block:8px}
  .wl-lite .wl-form[data-step="2"] .wl-consent{margin-top:16px}
  .wl-lite .wl-form[data-step="2"] .wl-submit{margin-top:16px}
  .wl-lite .wl-form[data-step="2"] .wl-fine{margin-top:6px}
}

@media (min-width:761px) and (max-width:959px){
  .wl-lite .wl-quote-form .wl-field:nth-child(3),.wl-lite .wl-quote-form .wl-field:nth-child(4){grid-column:1/-1}
  .wl-lite #wl-plan,.wl-lite .wl-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Phones: a full-screen sheet, the photo a band across the top, the control row under it */
@media (max-width:760px){
  .wl-lite .wl-grid{display:block;padding:0}
  /* The control row stays at the top of the sheet once it reaches it: solid, with a hairline once stuck (waitlist.js);
     focus and error scrolling keep fields and their labels below it */
  /* Focus scrolling: fields (with their labels) and the content's buttons and links stop below the row; the row's own
     Back and close need no room, so focusing them never moves the sheet */
  .wl-lite .wl-body input,.wl-lite .wl-body select,.wl-lite .wl-step{scroll-margin-top:calc(100px + env(safe-area-inset-top,0px))}
  .wl-lite .wl-body form button,.wl-lite .wl-body form a,.wl-lite .wl-done button,.wl-lite .wl-done a{scroll-margin-top:calc(72px + env(safe-area-inset-top,0px))}
  .wl-lite .wl-top button{scroll-margin-top:0}
  .wl-lite .wl-top{position:sticky;top:env(safe-area-inset-top,0px);z-index:3;min-height:0;margin:0 -20px 20px;padding:6px 12px 6px 20px;background:var(--obsidian);border-bottom:1px solid transparent;transition:border-color .2s}
  .wl-lite .wl-top.is-stuck{border-bottom-color:var(--line)}
  .wl-lite .wl-top.is-stuck::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:env(safe-area-inset-top,0px);background:var(--obsidian)}
  /* The band: taller on step 1, shorter on step 2 and the thank-you, never shorter than her face and shoulders need */
  .wl-lite .wl-art{display:block;height:max(28vh,56vw);height:max(28svh,56vw)}
  .wl-lite .wl-art img{object-position:60% 29%}
  .wl-lite:has(.wl-form[data-step="2"]) .wl-art{height:max(24vh,52vw);height:max(24svh,52vw)}
  .wl-lite .wl-panel{padding:0 20px calc(32px + env(safe-area-inset-bottom,0px))}
  .wl-lite .wl-tile{padding-inline:12px}
  .wl-lite .wl-step-sub{margin-bottom:24px}
  .wl-lite .wl-form .wl-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wl-lite .wl-done-title::before{width:26px;height:26px;margin-bottom:16px}
  .wl-lite .wl-go{margin-top:22px}
}
@media (max-width:640px){
  .wl-lite .wl-form .wl-fields,.wl-lite .wl-quote-form .wl-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wl-lite .wl-quote-form .wl-span{grid-column:1/-1}
}
/* Narrow phones: the quote's ZIP and date of birth take a row each, so the date field keeps its calendar */
@media (max-width:399px){
  .wl-lite .wl-quote-form .wl-fields{grid-template-columns:minmax(0,1fr)}
}

/* ---------- The lighter dialog in Abyss glass (2026-11-13: the owner, "Use whatever we finalized in the app design
   channel"). Materials only: the app's finalized dark look from /site/shared/abyss-glass.css (the dialog carries .ag),
   applied to this dialog's own pieces. Desktop: the dialog floats over the page as the deep glass sheet; phones: the
   full-screen sheet is the solid ground and its control row turns glass once stuck. Inputs are wells, choices are
   raised chips (chosen: a 1px jade ring), the main buttons pearl keys, the rest raised secondary keys. ---------- */
.wl-lite.ag{--pearl:var(--lm-text-1);--silver:var(--lm-text-2);--dim:var(--lm-text-3);--line:var(--lm-line);--line2:var(--lm-edge);--obsidian:var(--lm-ground);--jade:var(--lm-accent);--glass-edge:var(--lm-g-line);color:var(--lm-text-1);background:var(--lm-ground);box-shadow:none}
.wl-lite.ag :focus-visible{outline:1px solid var(--lm-edge-focus);outline-offset:2px}
.wl-lite.ag .wl-tile:has(input:focus-visible){outline:1px solid var(--lm-edge-focus);outline-offset:2px}
/* Glass pills: close, and Back in the control row */
.wl-lite.ag .wl-x,.wl-lite.ag .wl-back-step{border:1px solid var(--lm-g-line);background-color:var(--lm-g-fill);background-image:var(--lm-g-light);box-shadow:inset 0 1px 0 var(--lm-g-spec);-webkit-backdrop-filter:var(--lm-g-blur);backdrop-filter:var(--lm-g-blur);color:var(--lm-text-1);transition:background-color var(--lm-dur-hover) var(--lm-spring),translate var(--lm-dur-fade) var(--lm-spring),scale var(--lm-dur-fade) var(--lm-spring)}
.wl-lite.ag .wl-back-step{min-height:44px;padding:0 16px 0 14px;border-radius:var(--lm-r-pill)}
.wl-lite.ag .wl-back-step[hidden]{display:none}
.wl-lite.ag .wl-x:hover,.wl-lite.ag .wl-back-step:hover{background-color:color-mix(in srgb,var(--lm-raise-3) 76%,transparent);color:var(--lm-text-1)}
.wl-lite.ag .wl-x:active,.wl-lite.ag .wl-back-step:active{translate:0 1px;scale:var(--lm-press-scale);transition-duration:var(--lm-dur-press)}
/* The step bar: jade for done; not yet, white at .36: at least 3:1 on the glass sheet and on the phone's ground, and
   clearly quieter than the jade */
.wl-lite.ag .wl-progress{--line2:rgb(255 255 255/.36)}
/* "Required" and "Optional": quiet sentence-case words, not mono capitals */
.wl-lite.ag .wl-opt{margin-left:6px;font-family:inherit;font-weight:400;font-size:var(--fs-13);letter-spacing:0;text-transform:none;color:var(--lm-text-3)}
/* Wells */
.wl-lite.ag .wl-input,.wl-lite.ag .wl-select{border:1px solid var(--lm-line);border-radius:var(--lm-r-control);background-color:var(--lm-ground);box-shadow:var(--lm-t-sunk);color:var(--lm-text-1)}
.wl-lite.ag .wl-input:focus,.wl-lite.ag .wl-select:focus{border-color:var(--lm-edge-focus);background-color:var(--lm-ground)}
.wl-lite.ag .wl-input[aria-invalid=true],.wl-lite.ag .wl-select[aria-invalid=true]{border-color:#e39a93}
/* Raised chips: the insurance and plan tiles and the Medicare answers */
.wl-lite.ag .wl-tile,.wl-lite.ag .wl-choice{border:0;background-color:var(--lm-raise-2);background-image:var(--lm-t-sheen);box-shadow:var(--lm-t-raised),inset 0 0 0 1px var(--lm-line);color:var(--lm-text-2);transition:box-shadow var(--lm-dur-hover) var(--lm-spring),color var(--lm-dur-hover) var(--lm-spring),translate var(--lm-dur-fade) var(--lm-spring),scale var(--lm-dur-fade) var(--lm-spring)}
.wl-lite.ag .wl-tile:hover,.wl-lite.ag .wl-choice:hover{border-color:transparent;box-shadow:var(--lm-t-raised),inset 0 0 0 1px var(--lm-edge)}
.wl-lite.ag .wl-tile:has(input:checked),.wl-lite.ag .wl-choice[aria-pressed=true]{background-color:var(--lm-raise-2);background-image:var(--lm-t-sheen);color:var(--lm-text-1);box-shadow:var(--lm-t-raised),var(--lm-chosen)}
.wl-lite.ag .wl-tile:active,.wl-lite.ag .wl-choice:active{background-image:none;box-shadow:var(--lm-t-pressed),inset 0 0 0 1px var(--lm-line);translate:0 1px;scale:var(--lm-press-scale-wide);transition:box-shadow var(--lm-dur-press) var(--lm-ease-out),translate var(--lm-dur-press) var(--lm-ease-out),scale var(--lm-dur-press) var(--lm-ease-out)}
.wl-lite.ag [role=radiogroup][aria-invalid=true] .wl-tile{box-shadow:var(--lm-t-raised),inset 0 0 0 1px #e39a93}
/* The pearl key (Continue, Save my spot, Join) and the raised secondary key (Get my quote, Copy link) */
.wl-lite.ag .btn-light{border:0;background-color:var(--lm-primary);background-image:var(--lm-tp-sheen);color:var(--lm-primary-ink);box-shadow:var(--lm-t-key);transition:box-shadow var(--lm-dur-hover) var(--lm-spring),translate var(--lm-dur-fade) var(--lm-spring),scale var(--lm-dur-fade) var(--lm-spring)}
.wl-lite.ag .btn-light:hover{background-color:var(--lm-primary);background-image:var(--lm-tp-sheen)}
.wl-lite.ag .btn-light:active{background-image:none;box-shadow:var(--lm-t-key-pressed);translate:0 1px;scale:var(--lm-press-scale);transition-duration:var(--lm-dur-press)}
.wl-lite.ag .btn-glass{border:0;background-color:var(--lm-raise-2);background-image:var(--lm-t-sheen);color:var(--lm-text-1);box-shadow:var(--lm-t-raised),inset 0 0 0 1px var(--lm-line);-webkit-backdrop-filter:none;backdrop-filter:none;transition:box-shadow var(--lm-dur-hover) var(--lm-spring),translate var(--lm-dur-fade) var(--lm-spring),scale var(--lm-dur-fade) var(--lm-spring)}
.wl-lite.ag .btn-glass:hover{box-shadow:var(--lm-t-raised),inset 0 0 0 1px var(--lm-edge)}
.wl-lite.ag .btn-glass:active{background-image:none;box-shadow:var(--lm-t-pressed),inset 0 0 0 1px var(--lm-line);translate:0 1px;scale:var(--lm-press-scale-wide);transition-duration:var(--lm-dur-press)}
/* The Signature light, one still bloom behind the thank-you's check mark (the owner chose it, 2026-11-13): the app's
   launch light, small and low; it ends above the headline, so nothing readable sits on it, and it never moves */
.wl-lite.ag .wl-done-title{position:relative;isolation:isolate}
.wl-lite.ag .wl-done-title::after{content:"";position:absolute;left:-18px;top:-18px;z-index:-1;width:66px;height:66px;border-radius:50%;background:var(--lm-sig-bloom);pointer-events:none}
@media (min-width:761px){
  /* The floating sheet: deep glass over the page (the photo panel stays a plain photo) */
  .wl-lite.ag{border-color:var(--lm-g-line);background-color:var(--lm-g-fill-deep);background-image:var(--lm-g-light);box-shadow:inset 0 1px 0 var(--lm-g-spec);-webkit-backdrop-filter:var(--lm-g-blur);backdrop-filter:var(--lm-g-blur)}
}
@media (max-width:760px){
  /* The full-screen sheet is the ground; the control row is the ground under the photo and glass once stuck */
  .wl-lite.ag .wl-top{background:var(--lm-ground)}
  .wl-lite.ag .wl-top.is-stuck{border-bottom-color:var(--lm-g-line);background-color:var(--lm-g-fill);-webkit-backdrop-filter:var(--lm-g-blur);backdrop-filter:var(--lm-g-blur)}
  .wl-lite.ag .wl-top.is-stuck::before{background:var(--lm-ground)}
  /* The phone's check is 26px with a 16px gap above the headline: a 52px bloom centred on it ends above the words */
  .wl-lite.ag .wl-done-title::after{left:-13px;top:-13px;width:52px;height:52px}
}
@media (forced-colors:active){
  /* The system draws it: a solid sheet, real borders on every control, the chosen answer in Highlight, focus visible */
  .wl-lite.ag,.wl-lite.ag .wl-top,.wl-lite.ag .wl-top.is-stuck,.wl-lite.ag .wl-x,.wl-lite.ag .wl-back-step{background-color:Canvas;color:CanvasText}
  .wl-lite.ag .wl-x,.wl-lite.ag .wl-back-step,.wl-lite.ag .wl-tile,.wl-lite.ag .wl-choice,.wl-lite.ag .btn-light,.wl-lite.ag .btn-glass{border:1px solid ButtonText}
  .wl-lite.ag .wl-tile:has(input:checked),.wl-lite.ag .wl-choice[aria-pressed=true]{forced-color-adjust:none;border-color:Highlight;background-color:Highlight;color:HighlightText;box-shadow:none}
  .wl-lite.ag .wl-input,.wl-lite.ag .wl-select{border:1px solid CanvasText}
  .wl-lite.ag .wl-input[aria-invalid=true],.wl-lite.ag .wl-select[aria-invalid=true],.wl-lite.ag [role=radiogroup][aria-invalid=true] .wl-tile{border-color:Mark}
  .wl-lite.ag :focus-visible,.wl-lite.ag .wl-tile:has(input:focus-visible){outline:2px solid Highlight;outline-offset:2px}
  .wl-lite.ag .wl-progress span{background:GrayText}
  .wl-lite.ag .wl-progress span:first-child,.wl-lite.ag .wl-body[data-wl-state="2"] .wl-progress span{background:Highlight}
  .wl-lite.ag .wl-done-title::before{background-color:CanvasText}
  .wl-lite.ag .wl-done-title::after{display:none}
  .wl-lite.ag .wl-status[data-tone=warning]::before{background-color:CanvasText}
}
