/* W3JL shared styles — palette matches index.html's homepage */
:root {
  --bg: #fafaf8;
  --bg-accent: #f0efe9;
  --panel: #ffffff;
  --border: #e2e1da;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #c25e00;
  --maxw: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f11;
    --bg-accent: #16181b;
    --panel: #16181b;
    --border: #26282c;
    --text: #e9e9e6;
    --muted: #9a9a95;
    --accent: #ff9e3d;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, var(--bg-accent), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
header.site .wrap {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  align-items: baseline; justify-content: space-between;
}
header.site .call {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 800; letter-spacing: .06em; color: var(--accent); font-size: 1.1rem;
}
header.site nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .95rem; }
header.site nav a { color: var(--muted); }
header.site nav a[aria-current="page"] { color: var(--text); }

main { padding: 36px 0 56px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; color: var(--accent); margin: 0 0 6px;
}
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: 1.35rem; margin: 40px 0 10px; }
h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.lede { color: var(--muted); font-size: 1.1rem; margin: 0 0 8px; }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 18px 0;
}
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid .card { margin: 0; }

.stat { font-size: 1.5rem; font-weight: 700; }
.stat-label { color: var(--muted); font-size: .85rem; }

table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

.timeline { list-style: none; padding: 0; margin: 18px 0; border-left: 2px solid var(--border); }
.timeline li { position: relative; padding: 0 0 22px 22px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.timeline .tl-call { font-weight: 800; letter-spacing: .05em; font-size: 1.15rem; }

.linklist { list-style: none; padding: 0; margin: 0; }
.linklist li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.linklist li:last-child { border-bottom: 0; }
.linklist .desc { display: block; color: var(--muted); font-size: .92rem; }

.note { color: var(--muted); font-size: .92rem; }

figure { margin: 18px 0; }
figure svg { width: 100%; height: auto; display: block; }
figcaption { color: var(--muted); font-size: .88rem; margin-top: 6px; }

footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: .85rem; padding: 18px 0 28px;
}
