/* Landing pages of the renewed site (2026-11-24; docs/superpowers/specs/2026-11-24-landing-migration-design.md):
   the self line test (main.landing-selftest) and the private lounge (main.landing-lounge). Colours and buttons follow
   the site's consultation request (consult-request.css). */

/* ---- Self line test: the editor's picture and title, then the steps (#selftest, selftest.mjs). */
main.landing-page.landing-selftest>.rich-heading{text-align:center}
main.landing-page.landing-selftest>.rich-heading h1{word-break:keep-all;text-wrap:balance}
main.landing-page.landing-selftest>.cms-added-section.treatment-module{border-top:0;padding-bottom:8px;text-align:center}
main.landing-page.landing-selftest>.cms-added-section.treatment-module img{display:block;max-width:min(100%,420px);height:auto;margin:0 auto}
main.landing-selftest.selftest-running>.rich-heading,main.landing-selftest.selftest-running>.cms-added-section.treatment-module{display:none}
.selftest{max-width:640px;margin:0 auto;padding:24px 22px 56px;text-align:center;scroll-margin-top:130px}
.selftest-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border:0;border-radius:4px;background:#6A48A0;color:#fff;font:inherit;font-size:17px;font-weight:700;text-decoration:none;cursor:pointer}
.selftest-button:hover{background:#573A86;color:#fff;text-decoration:none}
.selftest-button:focus-visible,.selftest-options label:has(input:focus-visible){outline:3px solid #EABAE2;outline-offset:2px}
.selftest-start{min-width:min(100%,320px)}
.selftest-step{display:grid;gap:18px;justify-items:center}
.selftest-count{margin:0;font-size:14px;font-weight:800;letter-spacing:.12em;color:#6A48A0}
.selftest-title{margin:0;font-size:clamp(22px,3vw,28px);line-height:1.45;font-weight:700;letter-spacing:-.04em;color:var(--ink,#28182E);word-break:keep-all;outline:0}
.selftest-note{margin:-8px 0 0;font-size:14px;color:var(--muted,#63546A)}
.selftest-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;width:100%}
.selftest-options label{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:8px 14px;border:1px solid #BFAFC7;border-radius:4px;background:#fff;font-size:16px;font-weight:600;cursor:pointer;word-break:keep-all}
.selftest-options label:has(input:checked){border-color:#6A48A0;background:#F3EBF6;color:#6A48A0}
.selftest-options input{width:18px;height:18px;margin:0;flex:none;accent-color:#6A48A0}
.selftest-error{min-height:20px;margin:0;font-size:14px;color:#B3261E}
.selftest-next{min-width:180px}
.selftest-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:100%}
.selftest-back{min-width:120px;border:1px solid #6A48A0;background:#fff;color:#6A48A0}
.selftest-back:hover{background:#F3EBF6;color:#573A86}
.selftest-actions-top{justify-content:flex-start}
.selftest-form{width:100%;text-align:left}
/* The request form drawn in the page (mountConsultForm): the window's fields without the window box. */
.consult-dialog.consult-inline{width:100%;max-height:none;overflow:visible;border:1px solid #DAC9E0;box-shadow:none}
.selftest-contact{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0}
.selftest-caution{margin:0;font-size:13px;line-height:1.6;color:var(--muted,#63546A);word-break:keep-all}
.selftest-closing{margin:8px 0 0;font-size:18px;line-height:1.7;font-weight:700;color:var(--ink,#28182E);word-break:keep-all}
.selftest-closing span{display:block}
@media (max-width:520px){.selftest{padding:20px 16px 44px}.selftest-options{grid-template-columns:1fr 1fr}.selftest-button{width:100%}.selftest-actions{display:grid;grid-template-columns:1fr 2fr}.selftest-actions-top{display:flex}.selftest-actions-top .selftest-back{width:auto}}

/* ---- Private lounge: the editor's lines on a dark ground with gold headings. Pictures are background only (lounge-*.webp,
   cut from the previous page's picture where it has no writing); numbered lines are cards (landing-item), capital-letter
   lines small overlines (landing-overline), both marked by the server (landing.php). */
main.landing-page.landing-lounge>.rich-heading{padding:clamp(48px,7vw,88px) 22px;background:#F4F3F1 url(lounge-marble.webp?v=20261124) center/cover no-repeat;text-align:center}
main.landing-page.landing-lounge>.rich-heading h1{color:#1A1A1A;word-break:keep-all;text-wrap:balance}
main.landing-page.landing-lounge>.cms-added-section.treatment-module{padding:clamp(40px,6vw,72px) 22px clamp(56px,7vw,88px);border-top:0;color:#D9D3C7;text-align:center;
 background:url(lounge-brush.webp?v=20261124) left 0 top 24px/min(30vw,300px) auto no-repeat,url(lounge-tulip.webp?v=20261124) right -40px top 34%/min(48vw,560px) auto no-repeat,url(lounge-feather.webp?v=20261124) left 0 bottom 18%/min(26vw,260px) auto no-repeat,#121212}
main.landing-page.landing-lounge>.cms-added-section.treatment-module>*{position:relative;max-width:760px;margin-left:auto;margin-right:auto}
main.landing-page.landing-lounge>.cms-added-section.treatment-module h2{margin-top:1.4em;margin-bottom:.5em;color:#D4B26A;font-size:clamp(22px,3vw,32px);line-height:1.4;letter-spacing:-.02em;word-break:keep-all;text-wrap:balance}
main.landing-page.landing-lounge>.cms-added-section.treatment-module p{margin-top:.4em;margin-bottom:.4em;color:#D9D3C7;font-size:16px;line-height:1.75;word-break:keep-all}
main.landing-page.landing-lounge>.cms-added-section.treatment-module p.landing-overline{margin-top:3.2em;margin-bottom:0;color:#B8A27A;font-size:12px;font-weight:600;letter-spacing:.42em;line-height:1.6}
main.landing-page.landing-lounge>.cms-added-section.treatment-module>:first-child{margin-top:0}
main.landing-page.landing-lounge>.cms-added-section.treatment-module p.landing-item{margin-top:12px;margin-bottom:12px;padding:18px 22px;border:1px solid #8C7340;border-radius:10px;background:rgba(0,0,0,.82);color:#F1ECE2;box-shadow:0 6px 18px rgba(0,0,0,.35)}
main.landing-page.landing-lounge>.cms-added-section.treatment-module p:has(>a.text-link){display:inline-block;margin:8px 4px}
main.landing-page.landing-lounge>.cms-added-section.treatment-module a.text-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border:1px solid #B8955A;border-radius:999px;background:transparent;color:#E8D3A2;font-weight:700;text-decoration:none}
main.landing-page.landing-lounge>.cms-added-section.treatment-module a.text-link:hover{background:rgba(184,149,90,.16);color:#F4E4BD;text-decoration:none}
main.landing-page.landing-lounge>.cms-added-section.treatment-module a.text-link[data-consult-request]{background:#B8955A;color:#121212}
main.landing-page.landing-lounge>.cms-added-section.treatment-module a.text-link[data-consult-request]:hover{background:#CDAA6A;color:#121212}
main.landing-page.landing-lounge>.cms-added-section.treatment-module a.text-link:focus-visible{outline:3px solid #EABAE2;outline-offset:2px}
@media (max-width:520px){
 main.landing-page.landing-lounge>.cms-added-section.treatment-module{padding-left:16px;padding-right:16px;background-size:42vw auto,70vw auto,40vw auto,auto}
 main.landing-page.landing-lounge>.cms-added-section.treatment-module p{font-size:15px}
 main.landing-page.landing-lounge>.cms-added-section.treatment-module p.landing-item{padding:16px}
 main.landing-page.landing-lounge>.cms-added-section.treatment-module p:has(>a.text-link){display:block;margin:8px 0}
 main.landing-page.landing-lounge>.cms-added-section.treatment-module a.text-link{width:100%}
}

/* ---- Order: the page frame (the home page's) orders its parts; a landing page reads heading, blocks, then its steps. */
main.landing-page>.rich-heading{order:1}
main.landing-page>.cms-added-section.treatment-module{order:2}
main.landing-page>.selftest{order:3}
