:root {
  color-scheme: light;
  --forest: #1f3d2b;
  --forest-soft: #365b45;
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --ink: #182219;
  --muted: #657068;
  --border: #dfd8ca;
  --accent: #b85d42;
  --shadow: 0 18px 50px rgba(31, 61, 43, 0.09);
}

* { box-sizing: border-box; }

html { background: var(--cream); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.shell {
  width: min(100% - 32px, 820px);
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 2px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--forest);
  font-weight: 750;
  text-decoration: none;
}

.mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--forest);
  object-fit: cover;
}

.nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.nav a { font-size: 14px; font-weight: 650; text-decoration: none; }

main {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(26px, 6vw, 58px);
  box-shadow: var(--shadow);
}

h1, h2 {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.14;
  letter-spacing: 0;
}

h1 { margin: 0 0 26px; font-size: clamp(34px, 7vw, 54px); }
h2 { margin: 42px 0 12px; font-size: clamp(24px, 4vw, 31px); }
p { margin: 0 0 18px; }
ul { margin: 8px 0 20px; padding-left: 24px; }
li + li { margin-top: 7px; }

.meta {
  color: var(--muted);
  font-size: 15px;
  margin-top: -14px;
  margin-bottom: 30px;
}

.contact {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: 4px 0 20px;
  padding: 11px 18px;
  border-radius: 8px;
  color: var(--cream);
  background: var(--forest);
  font-weight: 750;
  text-decoration: none;
}

footer {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 28px 12px 0;
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .shell { width: min(100% - 20px, 820px); padding-top: 14px; }
  .topbar { align-items: flex-start; flex-direction: column; padding-inline: 8px; }
  .nav { justify-content: flex-start; }
  main { padding: 28px 22px 38px; }
}

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 160ms ease, background-color 160ms ease; }
}
