:root {
  color-scheme: light;
  --ink: #24313d;
  --muted: #596974;
  --leaf: #32735c;
  --leaf-dark: #215441;
  --mist: #edf6f2;
  --paper: #ffffff;
  --coral: #c85f4d;
  --line: #cfe0d8;
  --warning: #fff2d7;
  --warning-ink: #6c4a10;
  --shadow: 0 20px 56px rgba(34, 70, 57, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(50, 115, 92, 0.12), transparent 32rem),
    linear-gradient(180deg, #f8fbf9 0%, var(--mist) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--leaf-dark);
}

a:hover {
  color: var(--coral);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(200, 95, 77, 0.45);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  border-radius: 0.6rem;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid rgba(50, 115, 92, 0.16);
  background: rgba(248, 251, 249, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 0.85rem 0.85rem 0.85rem 0.25rem;
  background: var(--leaf);
  color: white;
  font-size: 1.3rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: var(--mist);
  color: var(--leaf-dark);
}

.draft-banner {
  background: var(--warning);
  color: var(--warning-ink);
  font-size: 0.92rem;
  font-weight: 650;
  text-align: center;
  padding: 0.65rem 1rem;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 7vw, 5.25rem);
}

.page-shell.home {
  display: block;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--coral);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 4.9rem);
}

h2 {
  margin: 2.8rem 0 0.8rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  margin: 1.8rem 0 0.5rem;
  font-size: 1.08rem;
}

.lede {
  max-width: 68ch;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.meta {
  display: inline-flex;
  margin-top: 1.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.88rem;
}

.content-card {
  margin-top: 2.25rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.content-card > :first-child {
  margin-top: 0;
}

.content-card ul,
.content-card ol {
  padding-left: 1.35rem;
}

.content-card li + li {
  margin-top: 0.55rem;
}

.callout {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--coral);
  border-radius: 0 0.8rem 0.8rem 0;
  background: #fff6f2;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}

.action-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
}

.action-card:hover {
  border-color: var(--leaf);
  color: var(--ink);
  transform: translateY(-2px);
}

.action-card span {
  color: var(--muted);
}

.action-card strong {
  font-size: 1.3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 0.8rem;
  padding: 0.7rem 1rem;
  border-radius: 0.8rem;
  background: var(--leaf);
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--leaf-dark);
  color: white;
}

.side-nav {
  position: sticky;
  top: 1.25rem;
  align-self: start;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
}

.side-nav strong {
  display: block;
  margin-bottom: 0.65rem;
}

.side-nav a {
  display: block;
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #dce7e2;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: white;
}

@media (max-width: 820px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    padding-block: 1rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .page-shell {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .action-card {
    min-height: 170px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .action-card,
  .button {
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  }
}
