@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f7f8f4;
  --surface: #eef2ea;
  --surface2: #e4ebe0;
  --border: #cfd8cb;
  --green: #2d6a4f;
  --green-dark: #1f5c3a;
  --green-deep: #174a2e;
  --green-bg: #eaf2ec;
  --text: #1a2018;
  --muted: #4a5e48;
  --white: #ffffff;
}

html { font-size: 17px; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.8;
}

/* ── HEADER ── */
header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  background: var(--white);
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}
.logo span { color: var(--green); }
.logo-sub {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
}
.logo-sub span { color: var(--green-dark); font-weight: 500; }

/* ── ARTICLE ── */
article {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* ── LABEL ── */
.label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

/* ── HEADINGS ── */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.25rem 0 0.75rem;
  color: var(--text);
  padding-left: 0.875rem;
  border-left: 3px solid var(--green);
}

/* ── BODY TEXT ── */
.intro {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.8;
}

p {
  margin-bottom: 1.25rem;
  font-weight: 400;
  color: var(--text);
}

/* ── LINKS ── */
a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover { color: var(--green-deep); }
a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── LISTS ── */
ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
li {
  margin-bottom: 0.65rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
}
li strong { font-weight: 600; color: var(--text); }

/* ── CALLOUT ── */
.callout {
  background: var(--green-bg);
  border-left: 4px solid var(--green);
  border-radius: 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
}
.callout strong { color: var(--green-deep); font-weight: 600; }

/* ── CTA ── */
.cta-block {
  background: var(--green);
  border-radius: 14px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}
.cta-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.cta-block p {
  color: #a8cbb8;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.cta-btn {
  display: inline-block;
  background: var(--white);
  color: var(--green-deep);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.cta-btn:hover {
  background: var(--green-bg);
  color: var(--green-deep);
}
.cta-btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

/* ── TABLE ── */
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-bottom: 1.5rem; }
td { padding: 0.65rem 0; border-bottom: 1px solid var(--border); color: var(--text); }
tr:last-child td { border-bottom: none; }

/* ── RELATED ── */
.related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.related h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.related-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.related-links a {
  color: var(--green-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.related-links a::before { content: '→'; color: var(--green); }
.related-links a:hover { color: var(--green-deep); }
.related-links a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── SKIP LINK (keyboard accessibility) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--green);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  html { font-size: 16px; }
  header { padding: 1rem 1.25rem; flex-direction: column; gap: 0.2rem; }
  article { padding: 2rem 1.25rem 4rem; }
  h2 { font-size: 1.15rem; }
}

/* ── PRINT ── */
@media print {
  body { background: white; color: black; }
  .cta-block, .related { display: none; }
}

/* ── NAV ── */
header {
  justify-content: space-between;
}
nav[role="navigation"] {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
nav[role="navigation"] a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
nav[role="navigation"] a:hover { color: var(--green-dark); }
nav[role="navigation"] a.active { color: var(--green-dark); font-weight: 600; }
nav[role="navigation"] a.nav-cta {
  background: var(--green);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.82rem;
}
nav[role="navigation"] a.nav-cta:hover { background: var(--green-dark); color: var(--white); }
nav[role="navigation"] a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (max-width: 600px) {
  nav[role="navigation"] { gap: 1rem; }
  nav[role="navigation"] a { font-size: 0.78rem; }
}
