:root {
  color-scheme: light;
  --ink: #17232b;
  --muted: #5d6b73;
  --paper: #f7f5f0;
  --panel: #ffffff;
  --line: #d9d5cc;
  --accent: #1f5c55;
  --accent-soft: #dce9e5;
  --max: 1060px;
}

* { box-sizing: border-box; }

html { font-size: 17px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.site-header,
.site-footer {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 650;
  letter-spacing: -.01em;
}

.mark {
  width: 28px;
  height: 28px;
  fill: var(--accent);
  flex: 0 0 auto;
}

nav {
  display: flex;
  gap: 1.4rem;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .86rem;
}

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

nav a:hover,
nav a[aria-current="page"] { color: var(--ink); }

main {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
}

.hero {
  padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--accent);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

h2 {
  margin: 0 0 .7rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.015em;
}

.lead {
  max-width: 650px;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 2.3rem;
}

.button {
  display: inline-block;
  padding: .8rem 1.1rem;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}

.text-link {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .86rem;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.grid article {
  background: var(--panel);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.grid p,
.note p,
.prose p,
.notes-list p {
  margin: 0;
  color: var(--muted);
}

.note {
  margin: clamp(3rem, 7vw, 5rem) 0;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

.note p { max-width: 720px; }
.note .text-link { display: inline-block; margin-top: 1rem; }

.page { padding: clamp(3.5rem, 8vw, 6.5rem) 0 2rem; }
.page h1 { max-width: 900px; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.page .lead { margin-bottom: 2.8rem; }

.prose { max-width: 720px; }
.prose p + p { margin-top: 1rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.fact-label {
  display: block;
  margin-bottom: .35rem;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.facts strong { font-size: .92rem; font-weight: 600; }

.notes-list {
  max-width: 820px;
  border-top: 1px solid var(--line);
}

.notes-list article {
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.note-date {
  margin-bottom: .4rem !important;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .74rem;
}

.site-footer p { margin: 0; }

@media (max-width: 760px) {
  html { font-size: 16px; }
  .site-header { align-items: flex-start; }
  nav { gap: .9rem; }
  .grid,
  .facts { grid-template-columns: 1fr; }
  .site-footer { display: block; }
  .site-footer p + p { margin-top: .25rem; }
}
