/* =========================================================
   TrustOrigin — Canonical Institutional Design System
   Version: 2.0
   Governance-Constrained Layout Framework
   ========================================================= */

/* ---------- Root Variables ---------- */

:root {
  --ink: #111111;
  --muted: #555555;
  --rule: #D6D6D6;
  --link: #0B3A6E;
  --bg: #FFFFFF;
  --soft: #F9FAFB;
  --max-width: 960px;
}

/* ---------- Base Reset ---------- */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.75;
}

/* ---------- Typography ---------- */

h1 {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.2;
}

h2 {
  font-size: clamp(26px, 4vw, 32px);
  margin-top: 60px;
  margin-bottom: 18px;
  line-height: 1.3;
}

h3 {
  font-size: clamp(20px, 3vw, 24px);
  margin-top: 40px;
  margin-bottom: 12px;
}

p {
  font-size: 18px;
  margin-bottom: 20px;
}

ul {
  margin: 0 0 24px 22px;
}

li {
  margin-bottom: 12px;
  font-size: 18px;
}

/* ---------- Layout ---------- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 20px;
}

.section-soft {
  background: var(--soft);
  padding: 40px;
  border: 1px solid var(--rule);
}

/* ---------- Header ---------- */

header {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: var(--link);
  text-decoration: none;
  margin-left: 24px;
  font-size: 15px;
}

nav a:hover {
  text-decoration: underline;
}

/* ---------- Links ---------- */

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  margin-top: 16px;
}

.button:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- Forms ---------- */

input, textarea, select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--rule);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  margin-bottom: 20px;
  background: #fff;
}

textarea {
  min-height: 160px;
}

/* ---------- Tables ---------- */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

th, td {
  border: 1px solid var(--rule);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

/* ---------- Muted / Governance Notes ---------- */

.muted {
  color: var(--muted);
  font-style: italic;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--rule);
  padding: 60px 20px;
  margin-top: 100px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

footer a {
  color: var(--link);
}
