/* The site's styles, shared by the home page and the playtest sign-up. */
/* The game's own tokens (mobile/src/ui/theme.ts): iron greys, one brass, the stencil stamp and Signika. */
:root{
  --ink:#1d2326; --night:#0e1117; --i9:#15191b; --i8:#22282c; --i7:#2b3135; --i6:#353c41; --i5:#4b5359; --i4:#5f686f; --i3:#8b949b; --i1:#dde1e2;
  --lip:#252b2f; --brass:#d9a441; --brassHi:#f0c870; --brassLo:#a8792a; --glint:#f3d77a; --grass:#869f72;
  --stamp:"Big Shoulders Stencil Display", Impact, sans-serif; --read:Signika, system-ui, sans-serif;
  color-scheme:dark;
}
*{ box-sizing:border-box }
body{ margin:0; background:var(--night); color:var(--i1); font-family:var(--read); font-size:17px; line-height:1.5; -webkit-font-smoothing:antialiased }
img, video{ display:block; max-width:100% }
a{ color:inherit }
.wrap{ width:100%; max-width:1120px; margin:0 auto; padding:0 max(16px, env(safe-area-inset-left)) }
@media (min-width: 720px){ .wrap{ padding:0 32px } }

/* Plates and buttons, as design/ui_workshop.html draws them: an ink outline, a flat iron face lit along the top edge,
   and on buttons a dark lip along the bottom that presses in. */
.pl{ position:relative; isolation:isolate; --c:10px; --face:var(--i7); --bev:var(--i5); --edge:var(--ink); --low:transparent;
  --shape:inset(0 round clamp(2px, calc(var(--c) * .45), 6px)) }
.pl::before, .pl::after{ content:""; position:absolute; z-index:-1; clip-path:var(--shape) }
.pl::before{ inset:0; background:var(--edge) }
.pl::after{ inset:1.5px; background:var(--face); box-shadow:inset 0 1.5px 0 var(--bev), inset 0 -3px 0 var(--low) }
.bt{ --c:6px; --face:var(--i6); --low:var(--lip); display:inline-flex; align-items:center; justify-content:center; gap:9px;
  min-height:48px; padding:0 18px 3px; font-weight:600; font-size:16px; text-decoration:none; color:var(--i1); white-space:nowrap }
.bt > *{ transition:transform 60ms }
.bt:active::after{ box-shadow:inset 0 2px 0 var(--low) }
.bt:active > *{ transform:translateY(2px) }
.bt.sel{ --face:var(--brass); --bev:var(--brassHi); --low:var(--brassLo); color:var(--ink) }
.bt.off{ --face:var(--i7); --bev:transparent; --low:transparent; color:var(--i3); cursor:default }
.bt.off > *{ opacity:.7 }
.bt svg{ width:19px; height:19px; flex:none }
.bt:focus-visible{ outline:2px solid var(--brass); outline-offset:3px }

/* The title, as the main menu stamps it. */
.title{ margin:0; display:flex; flex-direction:column; align-items:flex-start; font-family:var(--stamp); text-transform:uppercase; line-height:1; text-shadow:0 3px 0 var(--ink) }
.title .the{ font-weight:700; font-size:clamp(20px, 2.4vw, 28px); letter-spacing:.4em; color:var(--brassHi); margin-left:.2em }
.title .big{ font-weight:800; font-size:clamp(64px, 9.5vw, 116px); letter-spacing:.06em; color:var(--brass) }
.title .rule{ width:min(62%, 260px); height:3px; border-top:1.5px solid var(--ink); background:var(--brassLo); margin:10px 0 0 .1em; box-sizing:content-box }

.stamp{ font-family:var(--stamp); text-transform:uppercase; font-weight:800; letter-spacing:.04em; line-height:1.05; margin:0; text-shadow:0 2px 0 var(--ink) }
p{ margin:0 0 1em; color:var(--i3); max-width:34em }
p strong{ color:var(--i1); font-weight:500 }

/* ---------- The home page: the film, then Coming soon ---------- */
/* The film fills the first screen but for a strip at the bottom, where the top of Coming soon shows, so it's plain the
   page goes on. The title is over its top and the tagline over its foot, each on a dark fade. */
.film{ position:relative; overflow:hidden; height:calc(100vh - 140px); height:calc(100svh - 140px); min-height:420px; background:var(--i9); border-bottom:1.5px solid var(--ink) }
.film video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover }
.film::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to bottom, rgba(14,17,23,.95), rgba(14,17,23,.7) 18%, transparent 40%, transparent 52%, rgba(14,17,23,.75) 78%, rgba(14,17,23,.97)) }
.film .title{ position:absolute; left:0; right:0; top:max(clamp(28px, 7vh, 72px), env(safe-area-inset-top)); z-index:1; align-items:center }
.film .title .rule{ margin-left:auto; margin-right:auto }
.tagline{ position:absolute; left:0; right:0; bottom:max(clamp(24px, 6vh, 56px), env(safe-area-inset-bottom)); z-index:1; text-align:center; padding:0 16px }
.tagline p{ margin:0 auto; max-width:40em; font-size:clamp(18px, 2.1vw, 24px); color:var(--i1); text-shadow:0 2px 6px rgba(0,0,0,.7) }
/* The first sentence breaks only after "clearing", if it has to break at all. */
.tagline .keep{ white-space:nowrap }
.tagline strong{ display:block; color:var(--brassHi); font-weight:500 }

/* Coming soon, and the two stores, not yet links. */
.soon{ padding:clamp(44px, 7vw, 72px) 16px 60px; text-align:center; background:var(--night) }
.soon h2{ font-size:clamp(34px, 4.6vw, 52px); color:var(--i1); margin-bottom:26px }
.badges{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px }
@media (max-width: 420px){ .badges{ flex-direction:column; align-items:stretch; max-width:280px; margin:0 auto } }

/* ---------- A phone showing the game, on the playtest sign-up ---------- */
.phone{ position:relative; margin:0; width:clamp(230px, 22vw, 290px); flex:none }
.phone .screen{ position:relative; border-radius:44px; padding:8px; background:#07090b;
  box-shadow:0 0 0 1.5px var(--ink), inset 0 0 0 2px #23292e, 0 30px 70px -20px rgba(0,0,0,.75) }
.phone img{ width:100%; height:auto; aspect-ratio:603 / 1311; object-fit:cover; border-radius:37px; background:var(--i9) }

/* ---------- The foot ---------- */
.foot{ padding:28px 0 calc(28px + env(safe-area-inset-bottom)); background:var(--night); border-top:1px solid var(--i8); font-size:14px; color:var(--i4) }
.foot .wrap{ display:flex; flex-wrap:wrap; gap:8px 24px; justify-content:center }
.foot a{ color:var(--i3); text-decoration:none } .foot a:hover{ color:var(--i1) }
