/* launch.css: the Thanksgiving-eve launch pages (25 Nov 2026): /first-90, /start-small, /e4l-coach, /scan.
   Builds on bws.css, invited.css and next.css (same brand tokens, doors and questions). Phone first.
   Switches, set on <html> by js/launch-head.js in each page's <head>:
     html.aud-k3        a=k3 (clients of E4L practitioners): .aud-k3-only shows, .aud-default-only hides
     html.launch-thanks ?bought=1 on /first-90: .thanks-only shows, .offer-only hides
     html.sale-on / html.sale-off  the Black Friday launch sale (25 Nov to 1 Dec 2026, 11:59 pm MT): .sale-only / .regular-only
     html.sale-ext      the extension for non-buyers (15.345; ?ext=1 links, 2 to 4 Dec): .ext-only shows, .noext-only hides
     html.l-buyer       a buyer (bought in this browser, or came from the thank-you page or a buyer email): .buyer-only
     html.l-scan-first  the free-scan door goes first (version b of the 15.324 test, and the k3 audience)
   Without JavaScript a page reads as the default audience, offer state, regular prices. */
.aud-k3-only { display: none !important; }
html.aud-k3 .aud-k3-only { display: revert !important; }
html.aud-k3 .aud-default-only { display: none !important; }
.thanks-only { display: none !important; }
html.launch-thanks .thanks-only { display: revert !important; }
html.launch-thanks .offer-only { display: none !important; }
.sale-only { display: none !important; }
html.sale-on .sale-only { display: revert !important; }
html.sale-on .regular-only { display: none !important; }
html:not(.sale-ext) .ext-only { display: none !important; }
html.sale-ext .noext-only { display: none !important; }
.buyer-only { display: none !important; }
html.l-buyer .buyer-only { display: revert !important; }

/* Door order: plan first by default; html.l-scan-first puts the free scan first (hero and close). */
.launch .next-hero-doors { display: flex; flex-direction: column; gap: 26px; }
.launch .next-hero-doors > [data-door-cell] + [data-door-cell] { margin-top: 0; }
.launch .next-hero-doors > .next-hero-img { order: 3; margin-top: 0; }
html.l-scan-first .launch [data-door-cell="scan"] { order: -1; }

.launch .l-p { margin-top: 16px; max-width: 40em; }
.launch .l-p + .l-p { margin-top: 14px; }

/* Two price buttons side by side from 520px, stacked on phones. */
.l-price-doors { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 520px) { .l-price-doors { grid-template-columns: 1fr 1fr; } }
.l-price-doors .next-door-scan { background: var(--ink); color: var(--cream) !important; }

/* The decline link under the offer ("Not ready for 90 days? Start smaller"). */
.l-decline { margin-top: 18px !important; font: 500 16.5px/1.5 var(--text); }
.l-decline a { color: var(--slate); }
.l-decline-brass { margin-top: 26px !important; text-align: center; }
.l-decline-brass a { color: var(--ink); }

/* Thank-you state on /first-90 */
.l-steps-ink { margin-top: 26px; }
.l-steps-ink > li { border-color: var(--ink-line) !important; }
.l-steps-ink h3 { color: var(--cream); font: 600 19px/1.35 var(--text); }
.l-steps-ink p { color: #D9D3C4; }
.l-thanks-app { margin-top: 26px; max-width: 420px; }
.l-thanks-app .get-app-desk { color: #D9D3C4; }
.launch .get-app-desk canvas { background: #fff; }
.l-upsell h2 { max-width: 18em; }

/* Cards: the two options on /start-small, the prices on /e4l-coach. */
.l-cards { display: grid; gap: 18px; margin-top: 26px; }
@media (min-width: 760px) { .l-cards { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.l-card { display: flex; flex-direction: column; padding: 22px 18px 24px; border-radius: 6px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 20px rgba(40, 30, 12, .07); }
@media (min-width: 720px) { .l-card { padding: 28px 26px 28px; } }
.l-card h3 { font: 600 clamp(26px, 3vw, 32px)/1.1 var(--serif); color: var(--charcoal); }
.l-card .l-card-tag { font: 700 13px/1.4 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep-small); }
.l-card .l-card-tag + h3 { margin-top: 8px; }
.l-card .l-amt { margin-top: 14px; font: 600 clamp(30px, 4vw, 40px)/1.1 var(--serif); color: var(--charcoal); }
.l-card .l-amt s { margin-left: 8px; font-size: .6em; color: var(--slate); }
.l-card p { margin-top: 12px; }
.l-card .next-list { margin-top: 16px !important; }
.l-card .l-card-door { margin-top: auto; padding-top: 22px; }
.l-card .next-door { width: 100%; }
.l-card-lead { border: 2px solid var(--gold); }
.l-card .next-charge { max-width: none; font-size: 16px; }

/* /e4l-coach: modules, outcomes, the earnings table */
.l-modules { margin-top: 24px; }
.l-modules details > ol { margin: 0 0 18px; padding-left: 0; counter-reset: none; }
.l-modules details > ol > li { padding: 6px 0 6px 18px; position: relative; color: var(--body-ink); }
.l-modules details > ol > li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 2px; background: var(--gold); }
.l-modules summary .l-mod-num { flex: none; min-width: 2.2em; font: italic 500 26px/1 var(--serif); color: var(--gold-deep); }
.l-modules summary .l-mod-title { flex: 1; }
.l-modules details > p { margin: 0 0 10px; }
.l-two { display: grid; gap: 26px; margin-top: 26px; }
@media (min-width: 820px) { .l-two { grid-template-columns: 1fr 1fr; gap: 40px; } }
.l-two h3 { font: 600 20px/1.3 var(--text); color: var(--charcoal); }
.bws-ink .l-two h3 { color: var(--cream); }
.l-two h3 + .next-list { margin-top: 10px !important; }
.l-quote { margin-top: 26px; padding-left: 18px; border-left: 3px solid var(--gold); }
.l-quote p { font: italic 500 clamp(22px, 2.6vw, 27px)/1.3 var(--serif); color: var(--cream); }
.l-quote figcaption { margin-top: 10px; font-size: 15px; color: var(--muted-ink); }
.bws-cream .l-quote p, .bws-cream2 .l-quote p { color: var(--charcoal); }
.bws-cream .l-quote figcaption, .bws-cream2 .l-quote figcaption { color: var(--slate); }

.l-table-wrap { margin-top: 22px; }
.l-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.l-table caption { text-align: left; padding-bottom: 10px; font: 600 16px/1.4 var(--text); color: var(--charcoal); }
.l-table th, .l-table td { padding: 11px 10px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.l-table thead th { font-weight: 700; color: var(--charcoal); border-top: 0; }
.l-table td.l-num, .l-table th.l-num { text-align: right; white-space: nowrap; }
.l-table tfoot td, .l-table tfoot th { font-weight: 700; color: var(--charcoal); border-top: 2px solid var(--charcoal); }
.l-fine { margin-top: 14px !important; font-size: 15.5px; line-height: 1.55; color: var(--slate); max-width: 46em; }
.bws-ink .l-fine { color: var(--muted-ink); }
.l-hero-doors { display: grid; gap: 12px; margin-top: 28px; max-width: 460px; }
.l-from { margin-top: 18px !important; color: var(--gold-on-ink); font-weight: 600; }
html:not([data-from="first90"]) .l-from-first90 { display: none; }
.l-table-ink th, .l-table-ink td { border-color: var(--ink-line); color: #D9D3C4; }
.l-table-ink thead th, .l-table-ink caption, .l-table-ink tfoot th, .l-table-ink tfoot td { color: var(--cream); }
.l-table-ink tfoot td, .l-table-ink tfoot th { border-top-color: var(--gold-on-ink); }
.l-plan-box { margin-top: 22px; }
.l-plan-box .next-after { margin-top: 0 !important; }
.l-plan-box .next-one-door { margin-top: 16px; }

/* Tables on phones: each row becomes a short stack (what happens, then what you earn), nothing cut off. */
@media (max-width: 599.98px) {
  .l-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .l-table tr { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  .l-table-ink tr { border-color: var(--ink-line); }
  .l-table td, .l-table th { display: block; padding: 2px 0; border: 0; }
  .l-table td + td { font-weight: 700; color: var(--charcoal); }
  .l-table-ink td + td { color: var(--cream); }
}

/* The sale: a ribbon line and struck-through regular prices. */
.l-sale-line { display: inline-block; margin-top: 18px !important; padding: 6px 12px; border-radius: 3px; background: var(--brass); color: var(--ink) !important; font: 700 15px/1.4 var(--text); letter-spacing: .02em; }
.l-was { margin-left: 6px; font-weight: 500; color: var(--slate); text-decoration: line-through; }
.bws-ink .l-was { color: var(--muted-ink); }

/* The renewal line sits right under the price buttons, in the buttons' own type size (compliance R3). */
.l-renew { margin-top: 14px !important; font: 600 18px/1.45 var(--text); color: var(--charcoal); }
.bws-ink .l-renew { color: var(--cream); }
.bws-brass .l-renew { color: var(--ink); }
.l-card .l-renew { font-size: 16.5px; }

/* The guarantee, as a badge inside the offer box. */
.l-guarantee { margin-top: 18px; padding: 14px 16px; border-radius: 4px; border: 1px solid var(--gold); background: var(--cream-2); font-size: 16px; line-height: 1.55; color: var(--body-ink); }
.l-guarantee strong { display: block; margin-bottom: 4px; color: var(--charcoal); font-size: 17px; }

/* What's in the box: the five parts of Your First 90 Days, each with a real picture. */
.l-box { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
@media (min-width: 760px) { .l-box { grid-template-columns: repeat(5, 1fr); } }
.l-box-item { display: flex; flex-direction: column; margin: 0; padding: 12px 12px 14px; border-radius: 5px; background: var(--cream-2); border: 1px solid var(--line); }
.l-box-item:first-child { grid-column: 1 / -1; }
@media (min-width: 760px) { .l-box-item:first-child { grid-column: auto; } }
.l-box-pic { display: flex; align-items: center; justify-content: center; height: 132px; border-radius: 4px; background: #fff; overflow: hidden; }
.l-box-pic img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.l-box-pic.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.l-box-item:first-child .l-box-pic { height: 168px; }
@media (min-width: 760px) { .l-box-item:first-child .l-box-pic { height: 132px; } }
.l-box-item figcaption { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--body-ink); }
.l-box-item figcaption strong { display: block; margin-bottom: 3px; font-size: 16px; color: var(--charcoal); }
.l-box-note { margin-top: 10px !important; font-size: 14px; color: var(--slate); }
.l-anchor { margin-top: 20px !important; font-size: 16.5px; line-height: 1.55; color: var(--body-ink); }
.l-anchor strong { color: var(--charcoal); }
.l-extras-list { margin-top: 10px !important; }

/* /scan */
.l-scan-box { margin-top: 26px; max-width: 520px; }
/* "30 days, full refund" under each E4L Coach Join button (canon 15.338a) */
.l-refund { margin-top: 10px !important; font: 600 15px/1.4 var(--text); color: var(--body-ink); letter-spacing: .01em; }
.bws-ink .l-refund { color: var(--cream); }
