/* ganalcraft.fi: Reimarin staattinen sivusto. Värit samat kuin sovelluksessa (public/css/base.css). */
:root {
  --bg-base: #131314;
  --bg-card: #1e1f20;
  --border: #3c4043;
  --text-primary: #e3e3e3;
  --text-muted: #8e9193;
  --plotter-active: #ff8c1a;
  --accent-text: #a4c78f;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Open Sans", sans-serif;
}
header, main, footer { max-width: 48rem; margin: 0 auto; padding: 0 1.25rem; }
header {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem;
  padding-top: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
header .nimi { font-weight: 700; font-size: 1.15rem; color: var(--text-primary); text-decoration: none; margin-right: auto; }
header nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
header a { color: var(--text-muted); text-decoration: none; }
header a:hover, header a[aria-current="page"] { color: var(--plotter-active); }
main { padding-top: 1.5rem; padding-bottom: 2.5rem; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 1rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
a { color: var(--accent-text); }
code { font-size: 0.9em; background: var(--bg-card); padding: 0.05em 0.3em; border-radius: 4px; }
blockquote {
  margin: 1.25rem 0; padding: 0.75rem 1rem;
  background: var(--bg-card); border-left: 3px solid var(--plotter-active); border-radius: 4px;
}
ul, ol { padding-left: 1.4rem; }
li { margin: 0.25rem 0; }
footer { border-top: 1px solid var(--border); padding-top: 1rem; padding-bottom: 2rem; color: var(--text-muted); font-size: 0.9rem; }
footer a { color: var(--text-muted); }
footer .pieni { margin: 0.5rem 0 0; font-size: 0.75rem; }
