/* Public, crawlable KX WILD guide pages. Kept independent of the WebGL game shell. */
:root {
  color-scheme: dark;
  --ink: #101712;
  --panel: #172019;
  --panel-raised: #202b22;
  --line: #52604d;
  --muted: #b7c3b0;
  --cream: #f1f4ea;
  --lime: #b8e875;
  --lime-deep: #9ccb60;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  margin: 0;
  background: radial-gradient(circle at 78% 2%, #29412d 0, transparent 29rem), var(--ink);
  color: var(--cream);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: #e3ffc3; }
a:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; border-radius: 2px; }
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 5;
  padding: 10px 14px; background: var(--cream); color: #142015; font-weight: 700;
}
.skip-link:focus { left: 12px; }
.site-header { border-bottom: 1px solid #8ba17c55; background: #111a14ec; }
.site-header > div, main, .site-footer > div { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.site-header > div { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--cream); text-decoration: none; font-size: 24px; line-height: 1; font-weight: 850; letter-spacing: .04em; }
.brand b { color: var(--lime); }
.brand small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.site-nav a { color: var(--cream); text-decoration-color: #8da876aa; }
.site-nav a[aria-current="page"] { color: var(--lime); font-weight: 750; }
main { padding: 56px 0 74px; }
.breadcrumb { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--muted); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); align-items: center; gap: clamp(28px, 5vw, 70px); margin-bottom: 64px; }
.eyebrow { margin: 0 0 12px; color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { color: var(--cream); line-height: 1.12; letter-spacing: -.025em; }
h1 { margin: 0; font-size: clamp(40px, 6vw, 68px); }
h2 { margin: 0 0 17px; font-size: clamp(27px, 3.3vw, 40px); }
h3 { margin: 0 0 8px; font-size: 21px; }
p { margin: 0 0 18px; }
.lede { margin-top: 22px; max-width: 62ch; color: #d0dac9; font-size: 19px; }
.action-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 17px; border: 1px solid #d9f4ba; border-radius: 4px; background: var(--lime); color: #172116; font-weight: 850; text-decoration: none; }
.button:hover { color: #0c130d; background: #d4f9a7; }
.button.secondary { border-color: #6f806a; background: transparent; color: var(--cream); }
.button.secondary:hover { background: #273325; color: white; }
.hero figure { margin: 0; overflow: hidden; border: 1px solid #7f96705f; border-radius: 6px; background: #182218; box-shadow: 0 19px 45px #0006; }
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.hero figcaption { padding: 10px 13px; color: var(--muted); font-size: 12px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 52px; align-items: start; }
.content-grid section + section { margin-top: 54px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.feature-list li, .aside-card { border: 1px solid #63735d; border-radius: 5px; background: #182219; padding: 19px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 14px; }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card h2 { font-size: 22px; }
.aside-card ul { margin: 0; padding-left: 19px; color: var(--muted); }
.aside-card li + li { margin-top: 8px; }
.faq { border-top: 1px solid #566350; }
.faq details { padding: 17px 0; border-bottom: 1px solid #566350; }
.faq summary { cursor: pointer; color: var(--cream); font-weight: 760; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.note { border-left: 3px solid var(--lime-deep); padding: 13px 17px; background: #182218; color: #c6d4bd; }
.site-footer { border-top: 1px solid #63735d; background: #111912; color: var(--muted); font-size: 14px; }
.site-footer > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; padding: 28px 0 34px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 760px) {
  .site-header > div, main, .site-footer > div { width: min(calc(100% - 28px), var(--max)); }
  .site-header > div { min-height: 92px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 9px; }
  .site-nav { gap: 12px; font-size: 13px; }
  main { padding-top: 34px; }
  .hero, .content-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { margin-bottom: 45px; }
  .content-grid section + section { margin-top: 42px; }
  .feature-list { grid-template-columns: 1fr; }
  .content-grid aside { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .aside-card + .aside-card { margin-top: 0; }
}
