/* IgniteX blog — shared light style (Apple-like, matches landing) */
:root {
  --ink: #1d1d1f;
  --body: #333336;
  --muted: #6e6e73;
  --hairline: #e8e8ed;
  --card: #f5f5f7;
  --link: #0066cc;
  --green: #1a7f37;
  --green-bg: #e9f7ee;
  --amber: #9a6700;
  --amber-bg: #fff4e0;
  --red: #c0303a;
  --red-bg: #fdeef0;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  max-width: 980px; margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex: none;
  border: 1.5px solid var(--ink); border-radius: 8px;
  font-weight: 800; font-size: 14px; letter-spacing: 0.02em;
  background: #fff; color: var(--ink);
}
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.nav-links a { color: var(--ink); }
.nav-links a.active { color: var(--muted); }
.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: 7px 16px; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { text-decoration: none; opacity: 0.85; }

/* Layout */
main { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.article { max-width: 680px; margin: 0 auto; padding: 56px 0 24px; }

/* Typography */
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
h1 {
  font-size: clamp(30px, 5.5vw, 44px); line-height: 1.12;
  letter-spacing: -0.02em; margin: 10px 0 14px; font-weight: 800;
}
.byline { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.lede { font-size: 20px; line-height: 1.5; color: var(--body); }
h2 { font-size: 26px; letter-spacing: -0.015em; margin: 44px 0 12px; font-weight: 700; }
h3 { font-size: 19px; margin: 30px 0 8px; font-weight: 700; }
p { margin: 0 0 18px; color: var(--body); }
ul, ol { margin: 0 0 18px; padding-left: 24px; color: var(--body); }
li { margin-bottom: 8px; }
hr { border: none; border-top: 1px solid var(--hairline); margin: 44px 0; }
strong { color: var(--ink); }
code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 0.88em; background: var(--card); border-radius: 6px; padding: 2px 6px;
}

/* Summary / note boxes */
.summary, .note {
  background: var(--card); border-radius: var(--radius);
  padding: 22px 26px; margin: 28px 0;
}
.summary p:last-child, .note p:last-child { margin-bottom: 0; }
.summary .box-title, .note .box-title {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}

/* Chips */
.chip {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.chip.green { color: var(--green); background: var(--green-bg); }
.chip.amber { color: var(--amber); background: var(--amber-bg); }
.chip.red { color: var(--red); background: var(--red-bg); }

/* Tables */
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--hairline); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); background: var(--card); }
tr:last-child td { border-bottom: none; }

/* Game list */
.game-list { list-style: none; padding: 0; margin: 0 0 18px; }
.game-list li {
  padding: 10px 0; border-bottom: 1px solid var(--hairline); margin: 0;
}
.game-list li:last-child { border-bottom: none; }
.game-list .g { font-weight: 600; color: var(--ink); }
.game-list .why { color: var(--muted); font-size: 15px; }

/* CTA box */
.cta {
  background: var(--card); border-radius: 24px; text-align: center;
  padding: 40px 28px; margin: 56px 0 24px;
}
.cta .cta-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: 12px;
  font-weight: 800; font-size: 20px; margin-bottom: 14px; background: #fff;
}
.cta h2 { margin: 0 0 10px; font-size: 26px; }
.cta p { max-width: 480px; margin: 0 auto 20px; }
.button {
  display: inline-block; background: var(--ink); color: #fff;
  padding: 13px 30px; border-radius: 999px; font-weight: 600; font-size: 17px;
}
.button:hover { text-decoration: none; opacity: 0.85; }
.cta .cta-fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* Related reading */
.related { margin: 40px 0 0; }
.related h2 { font-size: 20px; margin-bottom: 14px; }
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); margin-top: 48px; }
.site-footer .inner { max-width: 980px; margin: 0 auto; padding: 28px 22px 40px; }
.site-footer p { font-size: 13px; color: var(--muted); }

/* Blog index */
.blog-hero { max-width: 680px; margin: 0 auto; padding: 64px 0 16px; }
.post-grid { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: 680px; margin: 24px auto 40px; }
.post-card {
  display: block; border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 24px 26px; color: var(--ink); transition: border-color 0.15s ease, transform 0.15s ease;
}
.post-card:hover { text-decoration: none; border-color: #c7c7cc; transform: translateY(-1px); }
.post-card .pill {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.post-card h2 { font-size: 21px; margin: 8px 0 8px; }
.post-card p { font-size: 15px; color: var(--muted); margin: 0 0 10px; }
.post-card .meta { font-size: 13px; color: var(--muted); }

@media (max-width: 600px) {
  .nav-links { gap: 14px; }
  .brand-name { display: none; }
  .article { padding-top: 40px; }
}
