/* Guide: Inside a community. The camera tour of a real community screen, then the modules
   showcase (modules.css). Both are full-width dark bands between the guide's text. */
:root{--font:var(--font-ui)}
body{overflow-x:clip}
.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.icon-library{position:absolute;width:0;height:0;overflow:hidden}
.guide-band-intro{max-width:780px;margin:36px auto 56px}
.guide-band-intro h1{font-size:clamp(38px,5vw,60px)}
.guide-band-outro{max-width:780px;margin:72px auto 80px}
.tour{margin-top:0}

/* Communities: a cinematic tour of a real community screen. With motion it pins while you
   scroll and the camera moves from part to part (.tour-on). Without, it is the screenshot
   with every chapter listed underneath. */
.tour{position:relative;margin:84px calc(50% - 50vw) 0;background:#111012;color:#F5F3ED}
.tour-stage{display:flex;flex-direction:column;gap:24px;padding:40px clamp(16px,4vw,56px)}
.tour-top{display:flex;align-items:center;gap:18px;width:min(100%,1240px);margin:0 auto}
.tour-eyebrow{margin:0;font:800 11px/1 var(--font);letter-spacing:.2em;text-transform:uppercase;color:rgb(245 243 237/.62)}
.tour-ticks{display:none;gap:2px;margin-left:auto}
.tour-tick{min-width:36px;height:34px;padding:0 4px;border:0;border-bottom:2px solid rgb(245 243 237/.16);background:none;color:rgb(245 243 237/.45);font:800 11px/1 var(--font);letter-spacing:.08em;cursor:pointer;transition:color .2s,border-color .2s}
.tour-tick:hover{color:#F5F3ED}
.tour-tick.is-active{color:#F5F3ED;border-color:var(--tour-color,#FF5722)}
.tour-skip{display:flex;align-items:center;min-height:44px;padding:0 4px;margin-left:auto;font:700 12px/1 var(--font);color:rgb(245 243 237/.55)}
.tour-ticks+.tour-skip{margin-left:14px}
.tour-skip:hover{color:#F5F3ED;text-decoration:underline;text-underline-offset:5px}
.tour a:focus-visible,.tour button:focus-visible{outline:3px solid #FFEB3B;outline-offset:3px}
.tour-screen{display:grid;place-items:center;min-height:0}
.tour-frame{position:relative;width:min(100%,1240px);aspect-ratio:1.6;overflow:hidden;border-radius:12px;background:#1c1d20;box-shadow:0 0 0 1px rgb(255 255 255/.08),0 40px 120px -40px #000}
.tour-camera{position:absolute;left:0;top:0;width:100%;aspect-ratio:1.6;transform-origin:0 0}
.tour-camera img{display:block;width:100%;height:100%}
.tour-notes{position:absolute;inset:0;width:100%;height:100%}
.tour-dim{fill:rgb(8 7 10/.62);opacity:0}
.tour-ring{fill:none;stroke:var(--tour-color,#FF5722);stroke-width:2.5;vector-effect:non-scaling-stroke;opacity:0}
.tour-captions{list-style:none;margin:0 auto;padding:0;width:min(100%,1240px);display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:26px 34px}
.tour-num{display:block;font:800 11px/1.2 var(--font);letter-spacing:.16em;text-transform:uppercase;color:var(--tour-color,rgb(245 243 237/.6))}
.tour-captions h3{margin:8px 0 6px;font:800 clamp(22px,2.3vw,34px)/1.08 var(--font);letter-spacing:-.045em}
.tour-captions p{margin:0;font:500 15px/1.6 var(--font);color:rgb(245 243 237/.72);max-width:520px}
.tour-link{display:inline-flex;align-items:center;gap:8px;margin-left:4px;color:#FFEB3B;font-weight:700}
.tour-link .icon{width:16px;height:16px}

.tour-on .tour{height:calc(100vh + (var(--steps,9) - 1) * 62vh);height:calc(100svh + (var(--steps,9) - 1) * 62svh)}
.tour-on .tour-stage{position:sticky;top:var(--site-bar-space,0px);height:calc(100vh - var(--site-bar-space,0px));height:calc(100svh - var(--site-bar-space,0px));gap:clamp(12px,2.2vh,22px);padding:clamp(14px,2.6vh,28px) clamp(16px,4vw,56px)}
.tour-on .tour-ticks{display:flex}
.tour-on .tour-screen{flex:1 1 auto}
.tour-on .tour-frame,.tour-on .tour-captions,.tour-on .tour-top{width:min(100%,calc((100vh - 250px - var(--site-bar-space,0px)) * 1.6));width:min(100%,calc((100svh - 250px - var(--site-bar-space,0px)) * 1.6))}
.tour-on .tour-captions{position:relative;display:block;height:clamp(104px,15vh,132px)}
.tour-on .tour-captions li{position:absolute;inset:0 0 auto;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);column-gap:40px;align-items:start;opacity:0;translate:0 14px;transition:opacity .35s,translate .45s cubic-bezier(.2,.7,.2,1);pointer-events:none}
.tour-on .tour-captions li>.tour-num{grid-column:1}
.tour-on .tour-captions li>h3{grid-column:1;margin-bottom:0}
.tour-on .tour-captions li>p{grid-column:2;grid-row:1/3;padding-top:2px}
.tour-on .tour-captions li.is-active{opacity:1;translate:0 0;pointer-events:auto}
@media(max-width:700px){
  .tour{margin-top:56px}
  .tour-on .tour-frame,.tour-on .tour-captions,.tour-on .tour-top{width:100%}
  .tour-on .tour-frame{aspect-ratio:auto;height:min(100%,118vw)}
  .tour-on .tour-captions{height:178px}
  .tour-on .tour-captions li{grid-template-columns:1fr}
  .tour-on .tour-captions li>p{grid-column:1;grid-row:auto;padding-top:8px}
  .tour-tick{min-width:26px;font-size:10px}
  .tour-eyebrow{display:none}
  .tour-skip{font-size:11px}
}

