/* Shared style for the project pages. Plain CSS, no build step. */
:root {
  --bg: #fafaf7;
  --text: #1c1c1a;
  --muted: #5b5b56;
  --line: #dcdcd4;
  --accent: #0b5d6b;
  --accent-soft: #e4eff1;
  --grey: #8a8a82;
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161716; --text: #ecece6; --muted: #aaaaa2; --line: #333430;
    --accent: #6cc3d1; --accent-soft: #1d2a2d; --grey: #8d8d85; --card: #1d1e1c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.topbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--muted); margin-bottom: 40px; }
.kicker { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; font-size: clamp(26px, 5.5vw, 36px); line-height: 1.25; margin: 0 0 16px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; font-size: 22px; margin: 48px 0 12px; }
.lead { font-size: 19px; color: var(--text); margin: 0 0 8px; }
.note { color: var(--muted); font-size: 15px; }
figure { margin: 28px 0; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 4px; }
figure .box { position: relative; height: 300px; }
figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
ol.steps, ul.plain { padding-left: 22px; margin: 0; }
ol.steps li, ul.plain li { margin: 6px 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 24px 0; }
.fact { border-left: 3px solid var(--accent); padding: 4px 0 4px 12px; }
.fact b { display: block; font-family: Georgia, serif; font-size: 26px; }
.fact span { font-size: 14px; color: var(--muted); }
.callout { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 12px 16px; margin: 24px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.tablewrap { overflow-x: auto; }
footer { margin-top: 64px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.nojs { display: none; }
noscript .nojs { display: block; }
