:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #66736c;
  --paper: #f8f5ee;
  --surface: #ffffff;
  --line: #d9ded5;
  --accent: #2f7357;
  --accent-dark: #244235;
  --blue: #315f7a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(47, 115, 87, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(49, 95, 122, 0.12), transparent 38%),
    var(--paper);
  font-family: Charter, "Bitstream Charter", "Iowan Old Style", Georgia, serif;
}

a {
  color: inherit;
}

.site-header {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 700 15px/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #f6f2e9;
  background: var(--accent-dark);
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font: 500 14px/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.nav a,
.note-card a,
.site-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hero {
  width: min(1120px, calc(100% - 36px));
  min-height: calc(100vh - 168px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 56px;
  padding: 34px 0 72px;
}

.eyebrow,
.panel-kicker,
time {
  margin: 0 0 14px;
  color: var(--accent);
  font: 700 12px/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 500;
}

h2 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 500;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead,
.page-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--accent-dark);
  border: 1px solid var(--accent-dark);
  border-radius: 8px;
  text-decoration: none;
  font: 700 14px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.button.secondary {
  color: var(--accent-dark);
  background: transparent;
}

.panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(23, 33, 28, 0.08);
}

.panel p {
  color: var(--muted);
  line-height: 1.65;
}

dl {
  margin: 22px 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 700;
}

.section,
.page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 70px 0 92px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.note-card,
.article,
.contact-box,
.info-list section {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.note-card {
  padding: 24px;
}

.note-card p,
.article p,
.contact-box p,
.info-list p {
  color: var(--muted);
  line-height: 1.7;
}

.page {
  padding: 80px 0 110px;
}

.page.standalone {
  min-height: 100vh;
  display: grid;
  align-content: center;
}

.article,
.contact-box,
.info-list section {
  max-width: 780px;
  padding: 28px;
  margin-top: 18px;
}

.info-list {
  margin-top: 30px;
}

.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font: 13px/1.4 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

@media (max-width: 780px) {
  .site-header,
  .site-footer,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .note-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    min-height: auto;
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(38px, 14vw, 58px);
  }
}
