/* FATAL EXCEPTION promo page. The game's own look: Amiga Workbench blue, white and orange,
   VT323 for text and Press Start 2P for arcade lettering (fonts/, SIL Open Font License). */
@font-face{font-family:'VT323';font-display:swap;src:url(fonts/vt323-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Press Start 2P';font-display:swap;src:url(fonts/press-start-2p-latin-400-normal.woff2) format('woff2')}

:root{
  --blue:#0055aa; --deep:#00224a; --white:#ffffff; --orange:#ff8800; --dim:#a9c6ea;
  --crt:#0b0b0f; --bezel:#2b2d33;
}
*{box-sizing:border-box}
html{background:var(--blue);scroll-behavior:smooth;font-variant-ligatures:none}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} }
body{margin:0;background:var(--blue);color:var(--white);font:22px/1.35 'VT323',ui-monospace,monospace}
img{max-width:100%;height:auto;display:block}
a{color:var(--white)}
a:focus-visible,.btn:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.wrap{max-width:1080px;margin:0 auto;padding:0 16px}
h2{font-family:'Press Start 2P',monospace;font-size:20px;line-height:1.5;font-weight:400;margin:0 0 24px}
h3{font-family:'Press Start 2P',monospace;font-size:14px;font-weight:400;margin:16px 0 8px}
.center{text-align:center}
.small{font-size:18px;color:var(--dim)}
section{padding:64px 0}
.band{background:var(--deep)}

/* The title bar, like the game's. */
.bar{background:var(--white);color:var(--blue);position:sticky;top:0;z-index:2}
.bar-in{display:flex;align-items:center;gap:16px;min-height:44px}
.bar-title{font-size:26px;flex:1;white-space:nowrap}
.bar nav{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.bar nav a{color:var(--blue);text-decoration:none;border:2px solid var(--blue);padding:0 8px;font-size:19px}
.bar nav a:hover{background:var(--blue);color:var(--white)}

/* The hero: the logo lettered like the title screen's, and the title screen on a CRT. */
.hero{padding:56px 0 72px}
.hero-in{display:grid;grid-template-columns:1fr 1.15fr;gap:48px;align-items:center}
.logo{font-family:'Press Start 2P',monospace;font-weight:400;font-size:52px;line-height:1.15;margin:0 0 24px;
  background:linear-gradient(#fff 0 30%,#ffd23c 30% 55%,#ff8800 55% 75%,#e0284a 75%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(4px 4px 0 #2a0a3a)}
.tagline{font-size:28px;margin:0 0 28px}
.cta{margin:0}
.btn{display:inline-block;font-family:'Press Start 2P',monospace;font-size:14px;text-decoration:none;
  background:var(--orange);color:#000;padding:14px 18px;border:2px solid #000;box-shadow:4px 4px 0 rgba(0,0,0,.45)}
.btn:hover{transform:translate(-1px,-1px);box-shadow:5px 5px 0 rgba(0,0,0,.45)}
.btn.soon{background:var(--white);color:var(--blue);cursor:default}
.btn.soon:hover{transform:none;box-shadow:4px 4px 0 rgba(0,0,0,.45)}

/* A CRT frame round the game's own screenshots. */
.crt{margin:0;background:var(--bezel);padding:14px;border-radius:14px;
  box-shadow:0 0 0 3px var(--orange),0 0 28px rgba(255,136,0,.35),6px 8px 0 rgba(0,0,0,.35)}
.crt img{border-radius:8px;image-rendering:pixelated;width:100%;background:var(--crt)}
.crt.small{padding:8px;border-radius:10px;box-shadow:0 0 0 2px var(--orange),5px 6px 0 rgba(0,0,0,.35)}
.crt.small img{aspect-ratio:4/3;object-fit:cover;border-radius:6px}

.prose{max-width:760px}
.prose.center{margin:0 auto}
.prose p{margin:0 0 16px}
#about .prose{margin:0 auto}

/* Play. Crash. Fix. */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.steps h3 span{display:inline-block;background:var(--orange);color:#000;padding:4px 7px;margin-right:6px}
.steps p{margin:0;color:var(--dim)}

/* Screenshots. */
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.gallery a{display:block;border:3px solid var(--white);box-shadow:5px 6px 0 rgba(0,0,0,.4);background:#000}
.gallery a:hover{border-color:var(--orange)}
.gallery .wide{grid-column:1/-1}
.gallery .crt-link img{image-rendering:pixelated;width:100%}

/* What's in it, and the floppy. */
.two{display:grid;grid-template-columns:1.6fr 1fr;gap:48px;align-items:center}
.ticks{list-style:none;padding:0;margin:0}
.ticks li{padding-left:28px;position:relative;margin:0 0 12px}
.ticks li::before{content:'';position:absolute;left:4px;top:.45em;width:10px;height:10px;background:var(--orange)}
.floppy{text-align:center}
.floppy p{margin:20px 0 0}
.disk{position:relative;width:180px;height:188px;margin:0 auto;background:#1b1b22;border-radius:6px 6px 6px 6px;
  box-shadow:6px 8px 0 rgba(0,0,0,.35);clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 8%)}
.disk .shutter{position:absolute;left:44px;top:0;width:96px;height:64px;background:#b9bec8}
.disk .shutter::after{content:'';position:absolute;left:58px;top:10px;width:20px;height:42px;background:#1b1b22}
.disk .label{position:absolute;left:18px;right:18px;bottom:0;height:92px;background:#f4f1e6;color:#1d3d8f;
  font:20px/1.1 'VT323',monospace;display:flex;align-items:center;justify-content:center;transform:rotate(-1deg);
  border-top:6px solid var(--orange)}

.foot{background:var(--white);color:var(--blue);padding:18px 0;font-size:18px}
.foot p{margin:0}

@media (max-width:860px){
  .hero-in,.two{grid-template-columns:1fr;gap:32px}
  .steps{grid-template-columns:1fr;max-width:480px;margin:0 auto}
  .logo{font-size:38px}
}
@media (max-width:560px){
  body{font-size:20px}
  section{padding:44px 0}
  .bar-in{flex-wrap:wrap;padding-top:6px;padding-bottom:6px}
  .bar-title{font-size:22px}
  .logo{font-size:28px}
  .tagline{font-size:24px}
  h2{font-size:15px}
  .gallery{grid-template-columns:1fr}
  .btn{font-size:12px}
}
.foot a{color:var(--blue)}
