/* Landing page and /play/. Two typefaces: the mono labels and the sans sentences from colony.css. */
.landing main>section{width:min(1300px,calc(100% - 80px))}
.landing .section-label{font:700 12px/1.5 var(--utility);letter-spacing:.08em;text-transform:uppercase;color:var(--sand);margin-bottom:22px}

.hero{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);grid-template-areas:"title game" "ask game";column-gap:clamp(28px,4vw,64px);row-gap:26px;align-content:center;padding:clamp(32px,5vw,64px) 0 clamp(40px,6vw,80px)}
.hero-title{grid-area:title;align-self:end;font-size:clamp(34px,4.3vw,62px);line-height:1.03;letter-spacing:-.035em;font-weight:800;max-width:14ch;text-wrap:balance}
.hero-game-slot{grid-area:game;min-width:0;align-self:center}
.hero-ask{grid-area:ask;align-self:start;min-width:0}
.hero-sub{font-size:clamp(17px,1.5vw,20px);line-height:1.55;color:var(--cream);max-width:46ch;margin-bottom:26px}
.join-block{max-width:520px;scroll-margin-top:90px}

.hero-game{position:relative;aspect-ratio:16/9;width:100%;background:var(--deep);border:1px solid var(--clay);border-radius:6px;overflow:hidden;isolation:isolate}
.hero-game>*{position:absolute}
.hero-game-poster{inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.9)}
.hero-game-host{inset:0;z-index:2}
/* The game stylesheet loads after this one and gives its host its own size; the box here owns the size. */
.hero-game>.hero-game-host.first-morning{position:absolute;inset:0;width:auto;height:auto;aspect-ratio:auto;border-radius:0}
.hero-game-label,.hero-game-hint,.hero-game-progress{z-index:3;margin:0;max-width:none;font:700 11px/1.4 var(--utility);letter-spacing:.06em;text-transform:uppercase;background:#150d09cc;color:var(--cream);padding:6px 10px;pointer-events:none}
.hero-game-label{top:10px;left:10px;border-radius:3px;color:var(--amber)}
.hero-game-hint{left:10px;bottom:10px;border-radius:3px}
.hero-game-progress{right:10px;bottom:10px;border-radius:3px;color:var(--sand)}
.hero-game[data-state=ready] .hero-game-poster,.hero-game[data-state=ready] [data-static-label],.hero-game[data-state=ready] [data-static-hint],.hero-game[data-state=ready] [data-static-progress]{display:none}
.hero-game[data-state=failed] [data-static-progress]{text-transform:none;letter-spacing:0;font-weight:600;left:10px;right:10px;white-space:normal;color:var(--cream)}
.first-morning:focus-within{outline:2px solid var(--amber);outline-offset:-2px}

.proof{padding:clamp(40px,6vw,88px) 0;border-top:1px solid var(--line)}
.proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3vw,44px);align-items:start}
.proof-point h3{font-size:clamp(20px,1.9vw,26px);line-height:1.2;letter-spacing:-.02em;font-weight:700;margin:6px 0 10px}
.proof-point p{font-size:16px;color:var(--muted)}
.proof-point .proof-number{font:700 12px/1 var(--utility);color:var(--amber);letter-spacing:.08em}
.proof-point img{display:block;width:100%;height:auto;aspect-ratio:16/9;margin-top:18px;border:1px solid var(--clay);border-radius:4px;background:var(--deep)}
.later{margin-top:34px;font-size:15px;color:var(--sand);max-width:60ch}

.honest{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);column-gap:clamp(28px,4vw,64px);padding:clamp(36px,5vw,72px) 0;border-top:1px solid var(--line)}
.honest ul{margin:0;padding:0;list-style:none;display:grid;gap:14px}
.honest li{font-size:clamp(18px,1.7vw,22px);line-height:1.45;max-width:52ch}

.join-again{padding:clamp(36px,5vw,64px) clamp(20px,4vw,56px);background:#33231a;border:1px solid var(--clay);border-radius:6px;margin-bottom:clamp(40px,6vw,80px)}
.join-again h2{font-size:clamp(26px,3.2vw,42px);line-height:1.1;letter-spacing:-.03em;margin-bottom:22px;max-width:18ch}
.join-again .release-form{max-width:520px}

.faq{padding:clamp(24px,4vw,56px) 0 clamp(48px,6vw,88px);max-width:900px;margin-left:max(40px,calc((100% - 1300px)/2))!important;margin-right:auto!important}
.faq details{border-bottom:1px solid var(--line);padding:16px 0}
.faq summary{cursor:pointer;font-size:18px;font-weight:600;min-height:44px;display:flex;align-items:center}
.faq details p{font-size:16px;color:var(--muted);margin:6px 0 4px}

.sticky-join{display:none}

/* /play/ fills the viewport under the header. */
.play-page{padding:0 0 12px;width:min(1400px,calc(100% - 24px))!important}
.play-page .hero-game{aspect-ratio:auto;height:calc(100dvh - 190px);min-height:380px}
.play-note{font-size:14px;color:var(--muted);margin-top:12px;max-width:none}

@media(max-width:900px){
  .hero{grid-template-columns:1fr;grid-template-areas:"title" "game" "ask";row-gap:20px;padding-top:22px}
  .hero-title{max-width:none;font-size:clamp(32px,9vw,46px)}
  .hero-sub{font-size:17px;margin-bottom:20px}
  .proof-grid{grid-template-columns:1fr;gap:36px}
  .honest{grid-template-columns:1fr}.honest .section-label{margin-bottom:16px}
}
@media(max-width:720px){
  .landing main>section{width:calc(100% - 32px)}
  .faq{margin-left:16px!important}
  .landing .site-header,.landing .site-footer{width:calc(100% - 32px)}
  .landing .site-footer{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  .sticky-join{position:fixed;left:0;right:0;bottom:0;z-index:40;display:block;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#150d09f2;border-top:1px solid var(--clay)}
  .sticky-join[hidden]{display:none!important}
  .sticky-join .button{width:100%}
  .play-page .hero-game{height:calc(100dvh - 150px)}
}
/* On a phone the room needs height: the speech bubble and the letter are taller than a 16:9 strip. */
@media(max-width:620px){.hero:not(.play-page) .hero-game,.hero-game-slot .hero-game{aspect-ratio:3/4}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
