/* gogee gogee static site - shared styles. System fonts, no external resources. */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --text: #1f2430;
  --muted: #565d6b;
  --accent: #b4410a;
  --accent-text: #8f3406;
  --border: #e3ddd2;
  --mark: #fff1c2;
  --mark-text: #4a3500;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161b;
    --surface: #1c1f26;
    --text: #eceae6;
    --muted: #a7acb7;
    --accent: #ff9a5c;
    --accent-text: #ffb27f;
    --border: #2f3440;
    --mark: #4a3b10;
    --mark-text: #ffe9a8;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--surface); color: var(--text);
  padding: .6rem 1rem; border: 2px solid var(--accent); border-radius: 6px; z-index: 10;
}
.skip:focus { top: 1rem; }
header.site, main, footer.site { max-width: 46rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
header.site { padding-top: 1.25rem; padding-bottom: .75rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--border); }
.brand { font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
a { color: var(--accent-text); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
nav a[aria-current="page"] { color: var(--text); font-weight: 700; }
main { padding-top: 2rem; padding-bottom: 3rem; }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5rem; }
h2 { font-size: 1.4rem; line-height: 1.25; margin: 2.25rem 0 .5rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .25rem; }
p, ul, ol, dl { margin: .6rem 0; }
li { margin: .3rem 0; }
.lede { font-size: 1.2rem; color: var(--muted); }
.meta { color: var(--muted); font-size: .95rem; }
.ph { background: var(--mark); color: var(--mark-text); padding: 0 .25em; border-radius: 3px; font-weight: 600; white-space: nowrap; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; margin: 1.25rem 0; }
.links { list-style: none; padding: 0; display: grid; gap: .75rem; }
.links a { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: .9rem 1.1rem; font-weight: 600; }
.badge { display: inline-block; border: 2px solid var(--text); color: var(--text); border-radius: 10px; padding: .6rem 1.1rem; font-weight: 700; text-decoration: none; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .25rem 1rem; margin: .6rem 0; }
summary { cursor: pointer; font-weight: 700; padding: .6rem 0; }
details[open] summary { margin-bottom: .25rem; }
pre { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: .9rem 1rem; overflow-x: auto; white-space: pre-wrap; font: .95rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; border-bottom: 1px solid var(--border); padding: .5rem .5rem .5rem 0; vertical-align: top; }
footer.site { border-top: 1px solid var(--border); padding-top: 1rem; padding-bottom: 2rem; color: var(--muted); font-size: .95rem; }
footer.site ul { list-style: none; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
@media print {
  :root { --bg: #fff; --surface: #fff; --text: #000; --muted: #333; --accent-text: #000; --border: #999; --mark: transparent; --mark-text: #000; }
  .skip, nav { display: none; }
  body { font-size: 11pt; }
  a { text-decoration: underline; }
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
  details { border: 0; padding: 0; }
  details > * { display: block; }
  h2, h3 { break-after: avoid; }
}
