/* The website: one page, in the game's own colours and type. */
:root {
  --fg: #cfe3f2;
  --dim: #7f97a8;
  --line: rgba(130, 180, 215, 0.35);
  --accent: #ff8a3c;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { background: #04070a; }
body { margin: 0; color: var(--fg); font-family: var(--mono); font-size: 15px; line-height: 1.7; }
img { display: block; max-width: 100%; }

.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(4, 7, 10, 0.88) 0%, rgba(4, 7, 10, 0.55) 38%, rgba(4, 7, 10, 0) 62%), url(img/hero.jpg) center / cover no-repeat;
}
.hero-text { max-width: 560px; margin-left: 7vw; padding: 40px 0; }
h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); font-weight: 300; letter-spacing: 0.32em; text-transform: uppercase; line-height: 1.25; }
.tagline { margin: 10px 0 34px; color: var(--dim); letter-spacing: 0.12em; }
.lead { margin: 0 0 34px; text-shadow: 0 0 10px #000; }
.status { display: inline-block; margin: 0; padding: 10px 16px; border: 1px solid var(--line); background: rgba(8, 14, 20, 0.7); }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--accent); }

main { max-width: 1120px; margin: 0 auto; padding: 40px 24px 20px; }
h2 { margin: 0 0 12px; font-size: 20px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; }
.feature { display: grid; grid-template-columns: 3fr 2fr; gap: 44px; align-items: center; margin: 70px 0; }
.feature.flip { grid-template-columns: 2fr 3fr; }
.feature.flip img { order: 2; }
.feature img { width: 100%; border: 1px solid var(--line); }
.feature p, .plain p { margin: 0; color: #b4c9d8; }
.plain { max-width: 640px; margin: 90px auto; text-align: center; }

footer { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 34px 0 44px; border-top: 1px solid rgba(130, 180, 215, 0.15); color: var(--dim); }
footer p { margin: 0; letter-spacing: 0.08em; }
footer nav { display: flex; gap: 22px; margin-left: 18px; padding-left: 22px; border-left: 1px solid rgba(130, 180, 215, 0.25); }
footer a { color: var(--fg); text-decoration: none; letter-spacing: 0.08em; }
footer a:hover { color: var(--accent); }

@media (max-width: 760px) {
  /* on a phone the picture stands on its own at the top, undimmed, and the words come under it */
  .hero { min-height: 0; display: block; background: none; }
  .hero::before {
    content: ''; display: block; height: 46vh; min-height: 260px;
    background: linear-gradient(180deg, rgba(4, 7, 10, 0) 70%, #04070a 100%), url(img/hero.jpg) 48% 42% / cover no-repeat;
  }
  .hero-text { margin: 0 22px; padding: 6px 0 30px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 18px; margin: 48px 0; }
  .feature.flip img { order: 0; }
  footer { flex-wrap: wrap; row-gap: 14px; }
  footer nav { margin-left: 0; padding-left: 0; border-left: 0; width: 100%; justify-content: center; }
}
