/* Lastflame website. The game's palette: firelight on a dark shore. */
:root {
  --ink: #0f161b;
  --ink2: #162129;
  --ink3: #1e2c35;
  --line: #2c3d48;
  --sand: #f4eadb;
  --sand-dim: #c2b7a5;
  --mute: #9ba7ad;
  --ember: #f0652f;
  --ember-deep: #b9421b;
  --gold: #f2b84b;
  --display: 'IM Fell English', Georgia, serif;
  --ui: 'Karla', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--ink); }

body {
  margin: 0;
  overflow-wrap: break-word;
  color: var(--sand);
  font: 17px/1.6 var(--ui);
  background: linear-gradient(180deg, #0e151b 0%, #111a21 55%, #17130f 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--sand); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--sand); text-decoration: none; font: 26px/1 var(--display); }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { color: var(--sand-dim); text-decoration: none; }
.nav a:hover { color: var(--sand); }

/* Home */
.hero { text-align: center; padding: 28px 0 8px; }
.hero svg {
  width: min(420px, 92vw);
  height: auto;
  display: block;
  margin: 0 auto 8px;
  /* Let the shore fade into the page instead of ending in a box. */
  -webkit-mask-image: radial-gradient(ellipse 50% 55% at 50% 55%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 55% at 50% 55%, #000 60%, transparent 100%);
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 12px; }
.hero h1 { font-size: clamp(40px, 9vw, 64px); }
.hero p.lede { font-size: 20px; color: var(--sand-dim); max-width: 34em; margin: 0 auto 26px; }

.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 14px;
  background: var(--ember);
  color: #23140c;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(240, 101, 47, 0.28);
}
.button:hover { background: #ff7a45; color: #23140c; }
.small { font-size: 14px; color: var(--mute); }

section { padding: 34px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
section h2 { font-size: 32px; }

.points { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .points { grid-template-columns: 1fr 1fr; } }
.points li { background: var(--ink2); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.points h3 { font-size: 23px; margin-bottom: 6px; color: var(--gold); }
.points p { margin: 0; color: var(--sand-dim); }

.shots { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.shots img { height: 460px; border-radius: 22px; border: 1px solid var(--line); scroll-snap-align: start; }

/* Text pages (privacy, support, press) */
.page { padding: 20px 0 40px; }
.page h1 { font-size: 44px; }
.page h2 { font-size: 26px; margin-top: 30px; }
.page li { margin-bottom: 6px; }
.page table { width: 100%; border-collapse: collapse; font-size: 15px; }
.page td, .page th { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
.page dt { font-weight: 700; margin-top: 16px; }
.page dd { margin: 4px 0 0; color: var(--sand-dim); }
.fill { background: rgba(242, 184, 75, 0.16); color: var(--gold); padding: 0 4px; border-radius: 4px; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--mute); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
footer a { color: var(--mute); }
