*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 var(--font-body); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--pere-display-weight, 500); letter-spacing: var(--pere-display-tracking, -0.018em); line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 2rem 0 1rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 .5rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.note { color: var(--muted); font-size: .9rem; }
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; padding-bottom: 1rem; }
.brand { font: 500 1.2rem var(--font-display); color: var(--text); text-decoration: none; }
.brand img { height: 48px; width: auto; display: block; }
nav a { margin-left: 1.25rem; color: var(--text); text-decoration: none; }
nav a:hover, nav a:focus { text-decoration: underline; }
.btn { display: inline-block; padding: .65rem 1.1rem; background: var(--accent); color: var(--accent-text);
  border-radius: var(--radius); text-decoration: none; font-weight: 600; margin: 0 .5rem .5rem 0; }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.card { border: 1px solid var(--rule); background: var(--surface); border-radius: var(--radius); padding: 1rem 1.25rem; max-width: 40rem; }
.hero-img, .card-img { max-width: 100%; height: auto; display: block; }
.hero-visual { background: var(--pere-ink, #0B2227); margin: 1.5rem 0 0; padding: 1.5rem 1.5rem; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
th, td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { background: var(--surface); }
.draft-banner { background: var(--pere-panel, var(--surface, #FBFAF6)); color: var(--pere-ink, var(--text)); border: 1px solid var(--pere-hairline, var(--rule)); border-left: 4px solid var(--pere-ink, var(--text)); padding: .75rem 1rem; border-radius: var(--radius); margin-top: 1.5rem; }
.site-footer { border-top: 1px solid var(--rule); margin-top: 3rem; padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: .95rem; }
.site-footer p { margin: .25rem 0; }
@media (max-width: 40rem) { .site-header .wrap { flex-direction: column; align-items: flex-start; } nav a { margin: 0 1rem 0 0; } }
