:root {
  --ink: #17211e;
  --muted: #52605a;
  --line: #b8c5bf;
  --accent: #1f6150;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f4f5f1;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.48;
}

a { color: var(--accent); text-underline-offset: 0.15em; }

.actions {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 20px;
  background: rgba(244, 245, 241, 0.94);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
}

.actions a { color: var(--ink); text-decoration: none; }

.actions button {
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 6px 12px;
  cursor: pointer;
}

main {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto 56px;
  background: white;
  padding: 58px 64px;
  box-shadow: 0 22px 60px rgba(25, 42, 36, 0.08);
}

header { text-align: center; margin-bottom: 30px; }
header h1 { margin: 0; font-size: 34px; letter-spacing: -0.02em; }
header p { margin: 7px 0 0; font-size: 13px; }
header span, section > p span { margin: 0 5px; color: var(--muted); }

section { margin-top: 26px; }

h2 {
  margin: 0 0 10px;
  border-bottom: 1px solid var(--ink);
  color: #173f35;
  font-size: 16px;
  font-variant: small-caps;
  letter-spacing: 0.08em;
}

h3 { margin: 0; font-size: 15px; }
p { margin: 5px 0; }

.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}

.right, .date { flex: 0 0 auto; text-align: right; }
.date { font-size: 13px; }
.context { margin-top: 1px; color: var(--muted); font-size: 13px; }
.small { font-size: 12px; }

article { margin-top: 17px; }
ul { margin: 8px 0 0; padding-left: 21px; }
li { margin: 5px 0; }

@media (max-width: 650px) {
  main { padding: 34px 24px; }
  .row { display: block; }
  .right, .date { text-align: left; }
}

@media print {
  @page { size: letter; margin: 0.55in; }
  body { background: white; font-size: 10pt; line-height: 1.3; }
  .actions { display: none; }
  main { width: auto; margin: 0; padding: 0; box-shadow: none; }
  header { margin-bottom: 16px; }
  header h1 { font-size: 24pt; }
  section { margin-top: 14px; break-inside: auto; }
  article { margin-top: 10px; break-inside: avoid; }
  h2 { font-size: 12pt; }
  h3 { font-size: 10.5pt; }
  a { color: inherit; text-decoration: none; }
}
