/* What They Carry: the landing page. Night colors from the game; pixel images stay crisp. */
:root {
  --night: #0b0d16;
  --panel: #12142a;
  --line: #2c3054;
  --text: #e9e4da;
  --muted: #8f8a80;
  --gold: #e2bd7f;
  --voice: #b9b0e8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 18px/1.65 Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}

img, video { image-rendering: pixelated; max-width: 100%; display: block; }

a { color: var(--gold); }

.gold { color: var(--gold); }

/* The station at night, with the title over it. */
.hero {
  min-height: min(92vh, 860px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1rem;
  background:
    linear-gradient(to bottom, rgba(11, 13, 22, 0.35), rgba(11, 13, 22, 0.55) 60%, var(--night)),
    url("media/station.png") center / cover no-repeat;
  image-rendering: pixelated;
}

.hero-inner { max-width: 760px; }

/* The logo: the soul holding its light, above the title (game/art/logo.py). */
.logo { width: min(560px, 86vw); margin: 0 auto 2rem; }

.hook { font-size: clamp(1.25rem, 3.2vw, 1.75rem); margin: 0 0 2rem; }

.button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  background: rgba(11, 13, 22, 0.7);
}

.button:hover { background: var(--gold); color: var(--night); }
.button.primary { background: var(--gold); color: var(--night); }
.button.primary:hover { background: var(--text); border-color: var(--text); }
.actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin: 0; }

.soon { color: var(--muted); margin-top: 1.2rem; font-size: 0.95rem; }

main { max-width: 980px; margin: 0 auto; padding: 0 1.2rem; }

section { margin: 4.5rem 0; }

h2 { font-weight: normal; color: var(--gold); font-size: 1.35rem; margin: 1rem 0 0.5rem; }

/* Wide trailer on wide screens, the vertical cut on phones held upright. */
.trailer video { width: 100%; border: 1px solid var(--line); background: #000; }
.trailer .tall { display: none; max-width: 420px; margin: 0 auto; }
@media (orientation: portrait) and (max-width: 700px) {
  .trailer .wide { display: none; }
  .trailer .tall { display: block; }
}

.about { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; font-size: 1.2rem; }

.features { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.features img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
.features p { color: #cfc9be; margin: 0; }

.made {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.6rem 1.8rem;
  background: var(--panel);
  border: 1px solid var(--line);
}
.made h2 { color: var(--voice); margin-top: 0; }
.made p { color: #cfc9be; }
.made .small { color: var(--muted); font-size: 0.9rem; margin-bottom: 0; }

.follow { text-align: center; }
.follow .links a { margin: 0 0.8rem; font-size: 1.15rem; }

footer { text-align: center; color: var(--muted); padding: 2rem 1rem 3rem; }
footer .soul { width: 48px; margin: 0 auto 0.6rem; }

/* The full game: what you get and the price. */
.full-game { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.full-game ul { text-align: left; display: inline-block; margin: 0.4rem 0 1.4rem; padding-left: 1.2rem; color: #cfc9be; }
.full-game .price { font-size: 2rem; color: var(--gold); margin: 0.2rem 0; }
.full-game .small { color: var(--muted); font-size: 0.9rem; }

/* Policy pages: Terms, Privacy, Refunds, Fair use. */
.topbar { padding: 1.2rem; text-align: center; border-bottom: 1px solid var(--line); }
.topbar img { width: 260px; margin: 0 auto; }
.legal { max-width: 760px; margin: 2.5rem auto 4rem; font-size: 1rem; }
.legal h1 { font-weight: normal; color: var(--gold); font-size: 1.8rem; margin-bottom: 0.6rem; }
.legal section { margin: 0; }
.legal h2 { margin-top: 2rem; font-size: 1.15rem; }
.legal p, .legal li { color: #cfc9be; }
.legal .meta { color: var(--muted); margin: 0.2rem 0; font-size: 0.95rem; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 1.6rem 0; }
.legal .small-note { color: var(--muted); font-size: 0.9rem; margin-top: 2.5rem; }
footer .legal-links a { margin: 0 0.6rem; color: var(--muted); }
footer .legal-links a:hover { color: var(--gold); }

/* the "turn it sideways" note shows on touch screens only */
.phone { display: none; font-size: 0.9rem; opacity: 0.75; }
@media (pointer: coarse) { .phone { display: block; } }
