:root {
  color-scheme: light dark;
  --forest-950: #073d31;
  --forest-900: #094b3b;
  --forest-800: #0d5e49;
  --forest-700: #16735a;
  --cream-50: #fffdf8;
  --cream-100: #faf5e9;
  --cream-200: #eee5d2;
  --gold-500: #d69b36;
  --ink: #14211d;
  --muted: #5d6a65;
  --line: rgba(9, 75, 59, 0.16);
  --shadow: 0 24px 60px rgba(7, 61, 49, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 4%, rgba(214, 155, 54, 0.16), transparent 24rem),
    linear-gradient(145deg, var(--cream-50), var(--cream-100));
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--forest-700);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--forest-900);
}

.site-header,
.site-footer,
.shell {
  width: min(100% - 2rem, 940px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--forest-950);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.65rem;
  background: var(--forest-900);
  color: var(--cream-50);
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  gap: 0.4rem;
}

.site-nav a {
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: var(--forest-900);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: rgba(9, 75, 59, 0.09);
}

.shell {
  padding-block: 1.5rem 4rem;
}

.hero {
  overflow: hidden;
  position: relative;
  border-radius: 2rem;
  padding: clamp(2rem, 6vw, 4rem);
  background: var(--forest-950);
  box-shadow: var(--shadow);
  color: var(--cream-50);
}

.hero::after {
  position: absolute;
  width: 16rem;
  height: 16rem;
  right: -6rem;
  bottom: -8rem;
  border: 2.8rem solid rgba(250, 245, 233, 0.1);
  border-radius: 50%;
  content: "";
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #f1c56f;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 15ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  font-weight: 700;
}

.hero-copy {
  max-width: 39rem;
  margin: 1rem 0 0;
  color: rgba(255, 253, 248, 0.82);
  font-size: 1.08rem;
}

.meta {
  margin: 1.5rem 0 0;
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.9rem;
}

.content-card {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  padding: clamp(1.4rem, 4vw, 2.7rem);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 16px 40px rgba(7, 61, 49, 0.07);
}

.content-card h2 {
  margin: 2.3rem 0 0.75rem;
  color: var(--forest-950);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}

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

.content-card p,
.content-card ul,
.content-card ol {
  max-width: 46rem;
}

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

.callout {
  margin-block: 1.5rem;
  border-left: 4px solid var(--gold-500);
  border-radius: 0 1rem 1rem 0;
  padding: 1rem 1.15rem;
  background: rgba(214, 155, 54, 0.11);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  background: var(--forest-800);
  color: var(--cream-50);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--forest-950);
  color: var(--cream-50);
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--forest-900);
}

.button.secondary:hover {
  background: rgba(9, 75, 59, 0.08);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-block: 1.5rem 2.5rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1;
    text-align: center;
  }

  .hero {
    border-radius: 1.4rem;
  }

  .content-card {
    border-radius: 1.2rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f7f3e9;
    --muted: #abbab4;
    --line: rgba(238, 229, 210, 0.18);
  }

  body {
    background:
      radial-gradient(circle at 88% 4%, rgba(214, 155, 54, 0.11), transparent 24rem),
      #061f1a;
  }

  .brand,
  .site-nav a,
  .content-card h2,
  a {
    color: #9dd7c2;
  }

  .site-nav a[aria-current="page"],
  .site-nav a:hover,
  .button.secondary:hover {
    background: rgba(157, 215, 194, 0.1);
  }

  .content-card {
    background: rgba(9, 51, 41, 0.92);
  }

  .button.secondary {
    color: #b9e0d2;
  }
}
