:root {
  --emerald: #0f5132;
  --emerald-deep: #0a3a24;
  --gold: #c9a227;
  --ink: #16211c;
  --muted: #5b6b62;
  --paper: #fbf9f4;
  --card: #ffffff;
  --line: #e3ded2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--ink);
}

.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--emerald), var(--emerald-deep));
  color: #f6e7b0;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
}

nav.site { display: flex; gap: 22px; flex-wrap: wrap; }
nav.site a { color: var(--muted); font-size: 15px; }
nav.site a:hover { color: var(--emerald); }

.hero { padding: 72px 0 56px; }
.hero h1 {
  font: 600 clamp(34px, 5vw, 54px)/1.1 Georgia, "Times New Roman", serif;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.hero .lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 0 30px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 14px;
}

.actions { display: flex; gap: 14px; flex-wrap: wrap; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  background: var(--emerald);
  color: #fff;
}
.button:hover { background: var(--emerald-deep); text-decoration: none; }
.button.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.button.ghost:hover { border-color: var(--emerald); color: var(--emerald); text-decoration: none; }

section { padding: 44px 0; }
section h2 {
  font: 600 clamp(24px, 3vw, 32px)/1.2 Georgia, serif;
  margin: 0 0 10px;
}
section p.section-lead { color: var(--muted); max-width: 700px; margin: 0 0 28px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.panel {
  background: linear-gradient(160deg, #123f2a, #0a2a1b);
  color: #f2efe4;
  border-radius: 22px;
  padding: 40px;
}
.panel h2 { color: #fff; }
.panel p { color: #cfdcd3; margin: 0 0 20px; max-width: 640px; }
.panel .button { background: var(--gold); color: #1c1607; }
.panel .button:hover { background: #dcb63c; }

main { display: block; }

article.prose { max-width: 760px; padding: 48px 0 72px; }
article.prose h1 { font: 600 clamp(30px, 4vw, 42px)/1.15 Georgia, serif; margin: 0 0 8px; }
article.prose .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
article.prose h2 { font: 600 22px/1.3 Georgia, serif; margin: 36px 0 10px; }
article.prose h3 { font-size: 18px; margin: 24px 0 8px; }
article.prose p, article.prose li { color: #2c3a33; }
article.prose ul { padding-left: 22px; }
article.prose li { margin: 6px 0; }
.note {
  border-left: 3px solid var(--gold);
  background: #fdf7e6;
  padding: 16px 18px;
  border-radius: 10px;
  color: #5b4a12;
  font-size: 15px;
  margin: 24px 0;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: 14px;
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

@media (max-width: 620px) {
  .hero { padding: 46px 0 34px; }
  .panel { padding: 26px; }
  header.site .wrap { min-height: 60px; }
  nav.site { gap: 14px; }
}
