/* Noatak Games: one small stylesheet, no build step, no external requests. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #14181f;
  --muted: #4f5a6a;
  --line: #dde2ea;
  --accent: #1f6f8b;      /* glacier teal */
  --accent-strong: #134e63;
  --accent-soft: #e3f1f6;
  --radius: 14px;
  --max: 46rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1218;
    --surface: #161c25;
    --text: #e8edf4;
    --muted: #a3afbf;
    --line: #273142;
    --accent: #5fb6d3;
    --accent-strong: #8fd0e6;
    --accent-soft: #15303b;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-strong); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-top: .9rem; padding-bottom: .9rem;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }

/* Summit lockup (mark + NOATAK GAMES). Source files: Noatak logo set, "final" folder. */
.brand picture { display: block; line-height: 0; }
.brand-lockup { display: block; height: 2.5rem; width: auto; }

.site-nav { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .95rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }

/* Main */
main { padding: 2.5rem 0 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -.01em; }
h2 { font-size: 1.25rem; margin: 2.2rem 0 .5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: .35rem; }
.lede { font-size: 1.15rem; color: var(--muted); }
.meta { color: var(--muted); font-size: .95rem; }

.callout {
  background: var(--accent-soft); border-radius: var(--radius);
  padding: 1rem 1.2rem; margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.4rem .6rem; margin: 1.5rem 0;
}
.card h2 { margin-top: 0; }
.tag {
  display: inline-block; font-size: .8rem; font-weight: 600;
  padding: .15rem .6rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-strong); margin-bottom: .6rem;
}

.toc { font-size: .95rem; }
.toc ol { padding-left: 1.2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; color: var(--muted); font-size: .9rem; }
.site-footer nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
.site-footer a { color: var(--muted); }

@media (max-width: 30rem) {
  h1 { font-size: 1.6rem; }
  body { font-size: 16px; }
}
