/* Strobe Games site. System fonts only, no third-party resources (AGENTS §7). */
:root{
  --midnight:#0E1320; --midnight-2:#161d30; --line:#262f47;
  --yellow:#FFD166; --red:#E04B3A; --sail:#F4F1EA; --muted:#b9b5ad; --dim:#8f8b84;
  --sea:#08222c; --sea-2:#0f3a47; --sea-3:#16505f; --brass:#d8b36a; --brass-2:#f2c14e;
  --radius:16px; --max:1180px;
  color-scheme:dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--midnight);color:var(--sail);
  font:17px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif}
img,video{max-width:100%;height:auto;display:block}
a{color:var(--sail)}
a:hover{color:var(--yellow)}
:focus-visible{outline:3px solid var(--yellow);outline-offset:3px;border-radius:6px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-999px;top:8px;background:var(--yellow);color:var(--midnight);padding:8px 14px;border-radius:8px;z-index:10}
.skip:focus{left:8px}

/* Header */
.site-head{position:sticky;top:0;z-index:5;background:rgba(14,19,32,.86);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px}
.brand img{height:36px;width:auto}
.nav{display:flex;gap:22px;font-size:15px;font-weight:600}
.nav a{text-decoration:none;color:var(--muted)}
.nav a:hover,.nav a[aria-current="page"]{color:var(--sail)}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:10px;font-weight:700;text-decoration:none;border-radius:12px;padding:13px 20px;font-size:16px;line-height:1.2}
.btn-primary{background:var(--yellow);color:var(--midnight)}
.btn-primary:hover{color:var(--midnight);background:#ffdb85}
.btn-ghost{border:1px solid var(--line);color:var(--sail)}
.btn-ghost:hover{border-color:var(--yellow)}
.btn .apple{width:18px;height:18px;fill:currentColor}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}

/* Hero: text beside the game's own title screen, framed so its logo never collides with ours */
.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line);background:radial-gradient(80% 90% at 75% 40%,#1a2440 0%,var(--midnight) 70%)}
.hero .wrap{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);align-items:center;gap:48px;padding-top:72px;padding-bottom:72px}
.hero-media{position:relative;border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:0 30px 80px rgba(0,0,0,.45);aspect-ratio:16/9;background:#06121a}
.hero-media video,.hero-media img{width:100%;height:100%;object-fit:cover}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:13px;font-weight:700;color:var(--yellow);margin:0 0 12px}
.hero h1{font-size:clamp(38px,4.6vw,64px);line-height:1.03;margin:0 0 16px;letter-spacing:-.02em}
.hero p.lede{font-size:clamp(18px,1.7vw,20px);color:#ddd8ce;max-width:34ch;margin:0 0 28px}
.facts-inline{margin:18px 0 0;font-size:14px;color:var(--muted)}

/* Sections */
section.band{padding:72px 0;border-bottom:1px solid var(--line)}
h2{font-size:clamp(28px,3.4vw,40px);line-height:1.1;margin:0 0 14px;letter-spacing:-.01em}
h3{font-size:20px;margin:0 0 6px}
.sub{color:var(--muted);max-width:60ch;margin:0 0 32px}
.grid{display:grid;gap:20px}
.g3{grid-template-columns:repeat(3,1fr)}
.g2{grid-template-columns:repeat(2,1fr)}
.card{background:var(--midnight-2);border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.card p{margin:0;color:var(--muted)}
.promise .k{font-size:28px;line-height:1;margin-bottom:10px}

.game-card{display:grid;grid-template-columns:1.1fr 1fr;gap:0;padding:0;overflow:hidden;text-decoration:none}
.game-card img{width:100%;height:100%;object-fit:cover;min-height:280px}
.game-card .body{padding:32px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.game-card .body p{color:var(--muted)}
.tag{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--midnight);background:var(--yellow);border-radius:999px;padding:4px 10px;align-self:flex-start}
.next-card{border-style:dashed;text-align:center;color:var(--dim)}

.creator-band{background:var(--yellow);color:var(--midnight)}
.creator-band h2,.creator-band p{color:var(--midnight)}
.creator-band .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.creator-band .btn{background:var(--midnight);color:var(--sail)}
.creator-band .btn:hover{color:var(--yellow)}

/* Game page theme */
.theme-hh{background:var(--sea)}
.theme-hh .site-head{background:rgba(8,34,44,.88)}
.theme-hh section.band,.theme-hh .hero{border-color:#13414d}
.theme-hh .card{background:#0c2f3a;border-color:#1a4a57}
.theme-hh .eyebrow{color:var(--brass-2)}
.theme-hh .btn-primary{background:var(--brass-2);color:#1b1206}
.theme-hh .btn-primary:hover{background:#f6cf6f;color:#1b1206}
.theme-hh .hero{background:radial-gradient(80% 90% at 75% 40%,#0f4252 0%,var(--sea) 70%)}
.theme-hh .hero-media{border-color:#1a4a57}
.hh-title{display:flex;align-items:center;gap:16px;margin-bottom:12px}
.hh-title img{width:72px;height:72px;border-radius:16px}
.hh-title h1{margin:0}

.shots{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.shots figure{margin:0}
.shots img{height:auto;border-radius:12px;border:1px solid #1a4a57;aspect-ratio:4/3;object-fit:cover;width:100%}
.shots figcaption{font-size:14px;color:var(--muted);margin-top:8px}
.trailer{max-width:880px;border-radius:var(--radius);overflow:hidden;border:1px solid #1a4a57;background:#000}
.trailer video{width:100%;aspect-ratio:4/3}

.features li{margin:0 0 10px}
.features{padding-left:20px;color:#ddd8ce}
.faq details{border-top:1px solid #1a4a57;padding:16px 0}
.faq details:last-child{border-bottom:1px solid #1a4a57}
.faq summary{cursor:pointer;font-weight:700;font-size:18px}
.faq p{color:var(--muted);margin:10px 0 0}

/* Press */
.policy{border-left:4px solid var(--yellow);padding:18px 22px;background:var(--midnight-2);border-radius:0 12px 12px 0}
.policy p{margin:0 0 8px}
.facts{width:100%;border-collapse:collapse;font-size:16px}
.facts th,.facts td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
.facts th{color:var(--muted);font-weight:600;width:34%}
.dl{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.dl a{display:block;text-decoration:none;background:var(--midnight-2);border:1px solid var(--line);border-radius:12px;padding:14px 16px;height:100%}
.dl a:hover{border-color:var(--yellow)}
.dl .n{font-weight:700;display:block}
.dl .m{font-size:13px;color:var(--dim)}
.copy-block{background:var(--midnight-2);border:1px solid var(--line);border-radius:12px;padding:18px 20px;color:#ddd8ce;margin-bottom:16px}
.copy-block h3{font-size:15px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}
.copy-block p{margin:0}

/* Footer */
.site-foot{padding:40px 0 56px;color:var(--dim);font-size:15px}
.site-foot .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px}
.site-foot nav{display:flex;flex-wrap:wrap;gap:18px}
.site-foot a{color:var(--muted);text-decoration:none}
.site-foot a:hover{color:var(--sail)}

@media (max-width:900px){
  .hero .wrap{grid-template-columns:1fr}
  .hero-media{order:-1}
  .g3,.shots,.dl{grid-template-columns:1fr 1fr}
  .game-card{grid-template-columns:1fr}
  .game-card img{min-height:0;aspect-ratio:16/9}
}
@media (max-width:640px){
  body{font-size:16px}
  .nav{gap:14px;font-size:14px}
  .nav .hide-sm{display:none}
  .g3,.g2,.shots,.dl{grid-template-columns:1fr}
  .hero .wrap{padding-top:24px;padding-bottom:44px;gap:28px}
  section.band{padding:52px 0}
  .facts th{width:40%}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.after-faq{margin-top:28px}
.page-title{font-size:clamp(34px,5vw,56px);line-height:1.05;margin:0 0 20px}
.loop-toggle{position:absolute;right:12px;bottom:12px;z-index:2;font-family:inherit;font-weight:600;font-size:13px;line-height:1;color:var(--sail);background:rgba(14,19,32,.72);border:1px solid rgba(244,241,234,.35);border-radius:999px;padding:8px 14px;cursor:pointer}
.loop-toggle:hover{border-color:var(--yellow);color:var(--yellow)}
/* Founder's story */
.story{max-width:720px}
.story p{color:#ddd8ce;margin:0 0 18px}
.story h2{font-size:24px;margin:36px 0 12px}
.story .lede{font-size:clamp(19px,1.8vw,21px);color:var(--sail)}
.story .signoff{margin-top:32px;font-weight:700;color:var(--sail)}
.story .signoff span{font-weight:400;color:var(--muted)}
/* Game legal and support pages (copied text, site shell: S-005) */
.doc{max-width:720px}
.doc h1{font-size:clamp(32px,4vw,44px);line-height:1.1;margin:0 0 8px}
.doc h2{font-size:22px;margin:36px 0 10px}
.doc p,.doc li{color:#ddd8ce}
.doc ul{padding-left:22px}
.doc .meta{color:var(--muted);margin:0 0 28px}
.doc .contact{background:#0c2f3a;border:1px solid #1a4a57;border-radius:14px;padding:20px 22px;margin:0 0 8px;color:#ddd8ce}
.doc .contact strong{color:var(--sail)}
.doc .contact a.button{display:inline-block;margin-top:12px;padding:12px 20px;min-height:44px;border-radius:10px;background:var(--brass-2);color:#1b1206;font-weight:700;text-decoration:none}
.doc .contact a.button:hover{background:#f6cf6f}
.story-wrap .story{margin:0}
