:root {
  --bg: #1A1A1D;
  --surface: #232326;
  --ink: #F5F5F7;
  --ink-dim: #B4B4BA;
  --accent: #7C93FF;
  --accent-dim: #262A3D;
  --line: #333338;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.wrap { max-width: 900px; margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* header */
.site-header {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  background: var(--surface);
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.logo { font-size: 17px; font-weight: 700; color: var(--ink); }
.site-header nav a {
  color: var(--ink-dim);
  font-size: 15px;
  font-weight: 500;
  margin-left: 26px;
}
.site-header nav a:hover { color: var(--accent); text-decoration: none; }

/* intro */
.intro { padding: 80px 0 56px; }
h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 680px;
  margin-bottom: 18px;
}
.lede { max-width: 560px; color: var(--ink-dim); font-size: 18px; }

/* games */
.games { padding: 8px 0 64px; }
.games h2 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }

.game-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 32px;
  margin-bottom: 18px;
}
.game-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.game-card h3 { font-size: 22px; font-weight: 700; }
.pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 100px;
}
.game-tagline { color: var(--ink-dim); font-size: 15px; margin-bottom: 16px; }
.game-desc { max-width: 620px; margin-bottom: 20px; }
.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.game-tags span {
  font-size: 13px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 12px;
  color: var(--ink-dim);
}
.game-link { font-weight: 600; font-size: 15px; }

/* press index */
.press-index {
  padding: 48px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press-index h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.press-index p { color: var(--ink-dim); margin-bottom: 18px; }
.press-links { display: flex; flex-direction: column; gap: 8px; font-weight: 500; }

/* community */
.community { padding: 56px 0; }
.community h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.community > .wrap > p { color: var(--ink-dim); margin-bottom: 22px; }
.community-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.community-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.community-card:hover { border-color: var(--accent); text-decoration: none; }
.community-card-title { font-weight: 700; color: var(--ink); font-size: 16px; }
.community-card-sub { font-size: 14px; color: var(--accent); }
.minimal .mailing-list { margin-top: 28px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--ink-dim); font-size: 14px; }
.site-footer p { margin-bottom: 4px; }

@media (max-width: 640px) {
  h1 { font-size: 28px; }
  .intro { padding: 52px 0 40px; }
  .game-card { padding: 22px; }
}

/* minimal homepage */
.minimal {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.minimal .wrap { max-width: 480px; }
.minimal h1 { font-size: 32px; margin-bottom: 16px; }
.minimal .lede { color: var(--ink-dim); font-size: 17px; margin-bottom: 32px; }
.contact-table { border-collapse: collapse; font-size: 15px; }
.contact-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.contact-table td:first-child { color: var(--ink-dim); width: 90px; font-weight: 500; }
.contact-table tr:last-child td { border-bottom: none; }
