:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --ink: #171816;
  --muted: #62665f;
  --line: #d8ddd4;
  --green: #17624a;
  --blue: #2459a8;
  --coral: #c64b36;
  --white: #ffffff;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(247 248 244 / 94%);
  backdrop-filter: blur(14px);
}

.site-header .shell {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.brand-link img {
  width: 32px;
  height: 32px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

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

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 80px;
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Iowan Old Style", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 72px;
  line-height: 0.98;
}

h2 {
  margin-bottom: 24px;
  font-size: 38px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.2;
}

.lede {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button-link.secondary {
  background: transparent;
  color: var(--ink);
}

.button-link:hover {
  background: var(--green);
  border-color: var(--green);
}

.hero-mark {
  align-self: stretch;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
}

.hero-mark img {
  width: 176px;
  height: 176px;
  filter: drop-shadow(0 18px 26px rgb(23 24 22 / 16%));
}

.band {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 64px;
  margin-bottom: 56px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.product-row {
  display: grid;
  grid-template-columns: 64px minmax(190px, 0.55fr) minmax(0, 1.45fr);
  gap: 28px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.product-index {
  color: var(--coral);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 28px;
}

.product-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.path {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.boundary-item {
  min-height: 220px;
  padding: 28px;
  background: var(--white);
}

.boundary-item strong {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 14px;
}

.boundary-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-page {
  padding: 76px 0 112px;
}

.legal-header {
  max-width: 780px;
  margin-bottom: 64px;
}

.legal-header h1 {
  font-size: 56px;
}

.legal-header p,
.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-meta {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.legal-section {
  max-width: 820px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  font-size: 30px;
}

.legal-section h3 {
  margin-top: 28px;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 17px;
}

.legal-section ul {
  padding-left: 22px;
}

.legal-section code {
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.site-footer {
  padding: 38px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

@media (max-width: 780px) {
  .shell {
    width: min(100% - 32px, 680px);
  }

  .site-header .shell {
    min-height: 58px;
  }

  .site-nav {
    gap: 14px;
    font-size: 12px;
  }

  .site-nav a:first-child {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 0 72px;
  }

  h1 {
    font-size: 46px;
    line-height: 1.02;
  }

  h2 {
    font-size: 32px;
  }

  .lede {
    font-size: 18px;
  }

  .hero-mark {
    min-height: 220px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-mark img {
    width: 132px;
    height: 132px;
  }

  .band {
    padding: 68px 0;
  }

  .section-heading,
  .product-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-index {
    font-size: 20px;
  }

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

  .boundary-item {
    min-height: auto;
  }

  .legal-page {
    padding: 56px 0 88px;
  }

  .legal-header h1 {
    font-size: 42px;
  }

  .site-footer .shell {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
