:root {
  --paper: #fdf6ec;
  --paper-soft: #f5ecd7;
  --navy: #1b3a5c;
  --navy-deep: #142d47;
  --tan: #e6d9bb;
  --ink: #1a1a1a;
  --ink-soft: #4b4b4b;
  --ink-muted: #7a7060;
  --sand: #b08a4a;
}
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-deep); text-decoration: underline; }

header.top {
  border-bottom: 1px solid var(--tan);
  background: var(--paper);
}
header.top .inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.top img { height: 5rem; width: auto; display: block; }
header.top .back {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  font-weight: 600;
}

main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}
h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--navy-deep);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
}
h2 {
  font-size: 1.15rem;
  margin: 2.25rem 0 0.75rem;
  color: var(--navy-deep);
  font-weight: 700;
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
}
p { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }
strong { color: var(--ink); font-weight: 600; }

.callout {
  background: var(--paper-soft);
  border: 1px solid var(--tan);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--tan);
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.5;
  vertical-align: top;
}
thead th {
  font-weight: 600;
  color: var(--navy-deep);
  border-bottom: 2px solid var(--tan);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
tbody tr:last-child td { border-bottom: none; }
td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
code {
  background: var(--paper-soft);
  border: 1px solid var(--tan);
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.85em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--navy-deep);
}

footer.bottom {
  border-top: 1px solid var(--tan);
  background: var(--paper-soft);
}
footer.bottom .inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 300;
}
