/* trans.study — shared design tokens (the brand DNA both front-ends inherit).
   Layout and components live in m/m.css and d/d.css; this is only the palette,
   type, reset, and a couple of shared primitives. */
:root {
  --ink: #14181f;
  --ink-soft: #3d4350;
  --ink-faint: #6b7280;
  --paper: #fbfaf7;
  --paper-raised: #ffffff;
  --line: #e7e4dc;
  --line-strong: #d6d2c7;

  --blue: #4aa3d4;
  --blue-ink: #1f6f9e;
  --pink: #e58aa0;
  --pink-ink: #c4536e;
  --accent: var(--blue-ink);

  --exec: #b4554d;
  --judicial: #6a5a9c;
  --state: #b88a3e;

  --serif: "Iowan Old Style", "Charter", "Georgia", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(20,24,31,.05), 0 8px 24px rgba(20,24,31,.06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }
.muted { color: var(--ink-faint); }
.small { font-size: .82rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5em; font: inherit; font-weight: 600;
  background: var(--accent); color: #fff; border: 0; padding: 13px 22px; border-radius: 999px;
  cursor: pointer; text-decoration: none; transition: transform .08s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
