/* steelsum.shgs.eu: the one stylesheet (11.1-CONTEXT D-13).
   Light palette of the design system (graphite colourway,
   .planning/phases/04-design/spec/04-design-system.md); system fonts only,
   no web fonts, no imported sheets, no external resources. */
:root {
  color-scheme: light;
  --canvas: #F1F3F5;
  --surface: #FFFFFF;
  --ink: #1C2430;           /* onSurface */
  --muted: #56606E;         /* onSurfaceVariant */
  --outline: #DCE0E5;       /* outlineVariant */
  --accent: #6E2E00;        /* accentText, links (>= 7:1) */
  --primary: #FF6A00;
  --soft: #FFE7D5;          /* primarySoft */
  --on-soft: #6B2D00;       /* onPrimarySoft */
  --tip: #FFF1E6;           /* resultSurface */
  --tip-edge: #FFD1AE;      /* resultOutline */
  --focus: #B84A00;         /* focusRing */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

header.site, nav, main, footer {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1rem;
}

header.site {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding-top: 1rem;
  padding-bottom: .5rem;
  border-bottom: 3px solid var(--primary);
}

header.site .brand { font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
header.site .lang { margin-left: auto; }

nav { font-size: .95rem; padding-top: .75rem; }
nav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
nav a { display: inline-block; padding: .1rem .5rem; border-radius: 1rem; text-decoration: none; }
nav a[aria-current="page"] { background: var(--soft); color: var(--on-soft); font-weight: 700; }

main {
  background: var(--surface);
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding-top: .5rem;
  padding-bottom: 2rem;
  border: 1px solid var(--outline);
  border-radius: .75rem;
}

h1 { font-size: 1.6rem; line-height: 1.2; font-weight: 800; margin: 1.25rem 0 .75rem; }
h2 { font-size: 1.25rem; line-height: 1.25; font-weight: 800; margin: 2rem 0 .5rem; }
h3 { font-size: 1.05rem; line-height: 1.3; font-weight: 700; margin: 1.5rem 0 .4rem; }

a { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

p, ul, ol, table, aside, pre { margin: 0 0 1rem; }
li { margin: .2rem 0; }

code, pre { font-family: ui-monospace, "Cascadia Mono", Consolas, "Roboto Mono", "Noto Sans Mono", monospace; font-size: .92em; }
code { background: var(--canvas); padding: 0 .25rem; border-radius: .25rem; }
pre { background: var(--canvas); padding: .75rem; overflow-x: auto; border-radius: .5rem; }
pre code { padding: 0; }

.ui { font-weight: 700; }
.muted { color: var(--muted); }

aside.tip {
  background: var(--tip);
  border: 1px solid var(--tip-edge);
  border-left: 4px solid var(--primary);
  border-radius: .5rem;
  padding: .75rem 1rem .1rem;
}

table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--outline); padding: .35rem .6rem; text-align: left; vertical-align: top; }
th { background: var(--canvas); font-weight: 700; }

img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--outline);
  border-radius: .5rem;
}
p > img { display: block; margin: .5rem auto; max-height: 80vh; width: auto; }

footer { color: var(--muted); font-size: .85rem; padding-bottom: 2rem; }
