:root {
  --ink: #172033;
  --muted: #5c6578;
  --line: #e4e8f0;
  --paper: #f5f7fb;
  --card: #ffffff;
  --navy: #13294b;
  --navy-2: #0d1c36;
  --copper: #b8612d;
  --chip: #e8eef8;
  --shadow: 0 16px 40px rgba(19, 41, 75, 0.06);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1.05rem; line-height: 1.65; }
a { color: var(--navy); }
img { max-width: 100%; }
.wrap { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }

.site-header { background: var(--navy-2); color: #f4f7fb; }
.site-header a { color: inherit; text-decoration: none; }
.bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 0; }
.brand { display: flex; gap: 12px; align-items: center; }
.mark { width: 42px; height: 42px; border-radius: 12px; background: var(--copper); display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; }
.brand strong { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand small { color: #c5d0e2; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0 0 14px; }
.nav a { font-size: 0.92rem; font-weight: 600; color: #d5deec; }
.nav a:hover { color: white; }

.hero { display: grid; grid-template-columns: 1.45fr 0.8fr; gap: 22px; padding: 32px 0 8px; }
.panel, .card, .prose { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.feature { padding: 32px; }
.kicker { margin: 0 0 8px; color: var(--copper); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 550; letter-spacing: -0.03em; }
.feature h2, .page-title { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.08; margin: 0 0 12px; }
.lede, .card p, .muted { color: var(--muted); }
.side { padding: 22px; }
.side ol { margin: 0; padding-left: 18px; }
.side li { margin: 0 0 10px; }

.cats { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; }
.cats a, .label { background: var(--chip); color: var(--navy); text-decoration: none; border-radius: 999px; padding: 6px 12px; font-size: 0.82rem; font-weight: 700; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 36px; }
.card { padding: 20px; display: flex; flex-direction: column; min-height: 230px; }
.card h3 { font-size: 1.4rem; line-height: 1.2; margin: 8px 0; }
.card .more { margin-top: auto; font-weight: 700; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.article { padding: 28px 0 48px; }
.prose { padding: clamp(22px, 4vw, 48px); max-width: 840px; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; margin: 8px 0 10px; }
.prose h2 { margin-top: 1.3em; }
.note { background: #f8f1ea; border-left: 4px solid var(--copper); padding: 12px 14px; border-radius: 8px; color: var(--muted); }
.meta { color: var(--muted); font-size: 0.92rem; }

.glossary { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.glossary article { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.glossary h3 { margin: 0 0 6px; font-size: 1.25rem; }

footer { background: var(--navy-2); color: #d5deec; padding: 32px 0 40px; margin-top: 10px; }
footer a { color: white; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 16px; }

@media (max-width: 860px) {
  .hero, .grid, .glossary, .foot, .bar { grid-template-columns: 1fr; display: grid; }
  .bar { display: flex; }
}
