/* Chimera marketing one-pager.
   Visual tokens mirror docs/chimera_visual_design_brief.md and the
   in-app Flutter theme — same surface colors + teal accent so the
   site reads as the same product. */

:root {
  --bg:        #0A0A12;
  --surface:  #12121E;
  --surface-2:#1A1A2E;
  --border:   #20203a;
  --text:     #ECECF1;
  --muted:    #8A8A9C;
  --accent:   #00BFA5;
  --accent-2: #14E0C2;
  --apex:     #DC2626;
  --max-w:    1100px;
  --radius:   14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 191, 165, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 30%, rgba(124, 58, 237, 0.06), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

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

img { max-width: 100%; height: auto; display: block; }

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

/* ─── Header ──────────────────────────────────────────────────── */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 28px;
}

.brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.brand-dot {
  color: var(--accent);
  font-weight: 900;
}

.site-nav a {
  font-size: 14px;
  color: var(--muted);
  margin-left: 22px;
  letter-spacing: 0.04em;
}
.site-nav a:hover { color: var(--text); }

/* ─── Hero ────────────────────────────────────────────────────── */

main { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

.hero {
  padding: 80px 0 100px;
  text-align: center;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 24px;
}

.title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(64px, 12vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  background: linear-gradient(180deg, #ffffff 0%, #b8b8c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--text);
  margin: 0 auto 28px;
  max-width: 640px;
}

.sub {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 40px;
}

.cta-row {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.cta.primary {
  background: var(--accent);
  color: #001512;
  border: 1px solid var(--accent);
}
.cta.primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-1px);
}
.cta.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.cta.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── Section label (small caps eyebrow over a section) ──────── */

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin: 0 0 24px;
}

/* ─── Games (studio site — list of releases) ─────────────────── */

.games {
  margin: 20px 0 80px;
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 20px;
}

.game-card-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 14px;
}

.game-card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text);
}

.game-card-tag {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: var(--text);
  margin: 0 0 16px;
}

.game-card-body {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 620px;
}

.game-card-placeholder {
  opacity: 0.55;
  border-style: dashed;
}

.cta-row .cta-meta {
  align-self: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav a.external { color: var(--text); }
.site-nav a.external:hover { color: var(--accent); }

@media (max-width: 540px) {
  .game-card { padding: 28px 24px; }
}

/* ─── Pillars ─────────────────────────────────────────────────── */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 40px 0 80px;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}

.pillar-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
}

.pillar h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text);
}

.pillar p { margin: 0; color: var(--muted); }

/* ─── Quote ──────────────────────────────────────────────────── */

.quote {
  margin: 80px auto;
  max-width: 720px;
  text-align: center;
}

.quote blockquote {
  margin: 0;
  padding: 0;
}

.quote blockquote p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 20px;
}

.quote blockquote footer {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── About ──────────────────────────────────────────────────── */

.about {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  margin: 40px 0 100px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.about h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 16px;
  color: var(--text);
}

.about p {
  margin: 0 0 14px;
  color: var(--muted);
}
.about p:last-child { margin-bottom: 0; }

/* ─── Footer ─────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 28px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}
.footer-brand .muted { margin-left: 10px; font-weight: 400; letter-spacing: 0.04em; }

.footer-nav a {
  color: var(--muted);
  margin-left: 22px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.footer-nav a:hover { color: var(--accent); }

/* ─── Legal page typography (Terms, Privacy) ─────────────────── */

body.legal main {
  padding: 60px 28px 100px;
  max-width: 820px;
}
body.legal h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 36px;
  margin: 0 0 8px;
}
body.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}
body.legal h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin: 36px 0 12px;
}
body.legal h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin: 24px 0 8px;
  color: var(--text);
}
body.legal p, body.legal li {
  color: #cccce0;
}
body.legal ul, body.legal ol { padding-left: 22px; }
body.legal li { margin-bottom: 8px; }
body.legal .placeholder {
  border: 1px dashed var(--apex);
  background: rgba(220, 38, 38, 0.08);
  color: #ffb4b4;
  padding: 14px 18px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 14px;
}

/* ─── Mobile tweaks ──────────────────────────────────────────── */

@media (max-width: 540px) {
  .site-header { padding: 18px 20px; }
  main { padding: 0 20px; }
  .hero { padding: 40px 0 60px; }
  .pillar { padding: 24px 22px; }
  .about { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-nav a { margin: 0 18px 0 0; }
}
