:root {
  color-scheme: light;
  --ink: #163635;
  --muted: #475d59;
  --green: #0b3937;
  --line: #d3ddda;
  --paper: #f7f9f5;
  --accent: #d6f388;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.55 Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid #159c9d;
  outline-offset: 4px;
}
.shell {
  width: min(1240px, calc(100% - 80px));
  margin: auto;
}
.topbar,
.brand,
.topbar nav,
footer,
.actions,
.button,
.text-link {
  display: flex;
  align-items: center;
}
.topbar,
footer {
  justify-content: space-between;
}
.topbar {
  min-height: 78px;
  gap: 20px;
}
.brand {
  gap: 12px;
  font-size: 21px;
  font-weight: 720;
  letter-spacing: -0.045em;
}
.brand-mark {
  display: grid;
  place-items: center;
  border-radius: 10px;
  width: 43px;
  height: 43px;
  background: var(--green);
  color: var(--accent);
  font-weight: 850;
  letter-spacing: -0.12em;
  padding-right: 4px;
}
.topbar nav {
  gap: 27px;
  font-size: 14px;
  font-weight: 650;
}
.contact {
  border: 1px solid #a7b6af;
  border-radius: 8px;
  padding: 9px 15px;
}
.hero {
  background: var(--green);
  color: white;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(295px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 5.6%;
  padding: clamp(54px, 6.5vw, 100px) 0;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1 {
  font:
    500 clamp(58px, 6.2vw, 94px) / 1.04 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.06em;
}
.lede {
  max-width: 36em;
  margin-top: 24px;
  color: #d4e5de;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.62;
}
.actions {
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.button,
.text-link {
  min-height: 46px;
  justify-content: center;
  gap: 15px;
  font-size: 15px;
  font-weight: 700;
}
.button {
  width: fit-content;
  border-radius: 8px;
  padding: 10px 18px;
}
.primary {
  background: var(--accent);
  color: #17382a;
}
.text-link {
  color: white;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.preview {
  min-width: 0;
}
.preview-window {
  padding: 7px;
  background: #44716a;
  border: 1px solid #659088;
  border-radius: 13px;
  box-shadow: 0 18px 45px #001a184a;
}
.preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.preview figcaption {
  margin-top: 9px;
  color: #c2d9d1;
  font-size: 12px;
  text-align: right;
}
.downloads {
  padding: 50px 0 48px;
  scroll-margin-top: 20px;
}
h2 {
  font:
    500 clamp(34px, 3.6vw, 52px) / 1.12 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.045em;
}
.editions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(21px, 3vw, 35px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
article p {
  margin: 12px 0 23px;
  max-width: 36em;
  color: var(--muted);
}
.download {
  background: #e7f0eb;
  color: var(--green);
  margin-top: auto;
}
.primary:hover {
  background: #e8fbb7;
}
.download:hover {
  background: #d1e7db;
}
small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
}
footer {
  border-top: 1px solid var(--line);
  gap: 14px;
  padding: 20px 0 26px;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .shell {
    width: calc(100% - 42px);
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 42px 0;
  }
  .intro {
    max-width: 620px;
  }
  .lede {
    margin-top: 16px;
  }
  .actions {
    margin-top: 22px;
  }
  .preview {
    max-width: 610px;
  }
  .downloads {
    padding: 36px 0;
  }
  .topbar {
    min-height: 66px;
  }
}
@media (max-width: 560px) {
  .shell {
    width: calc(100% - 32px);
  }
  .topbar nav {
    gap: 0;
  }
  .topbar .contact {
    display: none;
  }
  .brand {
    font-size: 18px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .editions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .preview-window {
    padding: 4px;
  }
  .actions {
    gap: 18px;
  }
  .button {
    padding: 10px 14px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
  h1 {
    font-size: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
