:root {
  color-scheme: light;
  --paper: #fbf8f1;
  --paper-2: #f2eadf;
  --ink: #171411;
  --muted: #686058;
  --green: #0d6b3a;
  --green-dark: #083f25;
  --cream: #fffaf0;
  --tomato: #d5482f;
  --gold: #e3b650;
  --line: rgba(23, 20, 17, 0.16);
  --shadow: 0 24px 70px rgba(32, 24, 16, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 241, 0.9);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand img {
  width: 42px;
  height: 24px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 850;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  padding: 54px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: 0;
}

.lede {
  max-width: 700px;
  margin-bottom: 22px;
  color: #3f3934;
  font-size: 1.16rem;
}

.button-row,
.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  padding: 12px 18px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--ink);
  background: rgba(255, 250, 240, 0.76);
  color: var(--ink);
}

.hero-photo {
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--paper-2);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  padding: 22px;
}

.card h2,
.card h3,
.panel h2,
.panel h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card p,
.panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  gap: 14px;
}

.fact-row {
  margin-top: 18px;
}

.fact-row span {
  border: 1px solid rgba(13, 107, 58, 0.22);
  border-radius: 999px;
  background: rgba(13, 107, 58, 0.08);
  color: var(--green-dark);
  padding: 7px 11px;
  font-size: 0.9rem;
  font-weight: 850;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 820px) {
  .hero-grid,
  .detail-grid,
  .grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.1rem;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 1080px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

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

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1.04;
  }

  .lede {
    font-size: 1.04rem;
  }

  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
