/* The home page and the five role pages. Written by tools/build-pages.js together with the pages: change it there. */
html{scroll-behavior:smooth}
body{margin:0;background:#070b18}
img{max-width:100%}
a{color:#a8c0ff}a:hover{color:#d0dcff}
a:focus-visible{outline:2px solid #e9c98a;outline-offset:3px;border-radius:4px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.rq-steps{list-style:none;margin:0;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.rq-step{position:relative;display:flex;flex-direction:column;gap:2px;padding:20px 20px 0 0;border-top:1px solid rgba(255,255,255,.24)}
.rq-step::before{content:"";position:absolute;left:0;top:-4px;width:7px;height:7px;border-radius:50%;background:var(--c)}
.rq-step .n{font-family:'Fraunces',Georgia,serif;font-style:italic;font-size:17px;color:var(--c)}
.rq-step .t{font-weight:700;font-size:17px}
.rq-step .s{font-size:14px;color:rgba(255,255,255,.72)}
.rq-door{display:grid;grid-template-columns:150px minmax(0,1fr) minmax(0,1.15fr) 250px;gap:8px 28px;align-items:baseline;padding:24px 0;text-decoration:none}
.rq-door .go{text-align:right}
@container (max-width:860px){
.rq-steps{grid-auto-flow:row;grid-auto-columns:auto}
.rq-step{display:grid;grid-template-columns:30px minmax(0,1fr);gap:0 6px;padding:14px 0;border-top:1px solid rgba(255,255,255,.12)}
.rq-step::before{display:none}
.rq-step .n{grid-row:1 / span 2;font-size:21px}
.rq-step .t,.rq-step .s{grid-column:2}
.rq-door{grid-template-columns:minmax(0,1fr);gap:6px;padding:22px 0}
.rq-door .go{text-align:left;margin-top:4px}
}
@container (max-width:700px){
/* The art is drawn at 600 x 590 and scaled down; the box keeps the scaled size so the caption below
   never slides under it. scale(), not zoom: under zoom iOS Safari keeps tiny text at its minimum size,
   the text wraps and the art grows over the caption (Artem, 2026-11-30, from an iPhone). */
.rq-art{width:480px;height:472px;margin:0 auto}
.rq-art>div{transform:scale(.8);transform-origin:0 0}
[style*="padding:104px 32px"],[style*="padding:112px 32px"],[style*="padding:88px 32px"],[style*="padding:96px 32px"]{padding-left:22px!important;padding-right:22px!important;padding-top:64px!important}
[style*="padding:104px 32px"]:not([style*="32px 0"]),[style*="padding:112px 32px"],[style*="padding:88px 32px"],[style*="padding:96px 32px"]{padding-bottom:64px!important}
[style*="gap:112px"]{gap:72px!important}
[style*="gap:64px"]{gap:36px!important}
[style*="padding:18px 32px"],[style*="padding:56px 32px"],[style*="padding:0 32px 32px"]{padding-left:22px!important;padding-right:22px!important}
}
@container (max-width:560px){
.rq-art{width:330px;height:325px}
.rq-art>div{transform:scale(.55)}
}
@container (max-width:373px){
.rq-art{width:276px;height:272px}
.rq-art>div{transform:scale(.46)}
}
