:root {
  --limestone: #f5f1e8;
  --limestone-deep: #ebe3d5;
  --paper: #fffaf0;
  --slate: #172126;
  --muted: #59635f;
  --olive: #58705a;
  --olive-dark: #2f4636;
  --clay: #96624d;
  --line: #d8cdbd;
  --shadow: 0 16px 42px rgba(23, 33, 38, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(88, 112, 90, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(88, 112, 90, 0.035) 1px, transparent 1px),
    var(--limestone);
  background-size: 38px 38px;
  color: var(--slate);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(4rem, 9vw, 8.7rem);
  line-height: 0.92;
}

h1 span {
  display: block;
}

h2 {
  margin: 0;
  font-size: clamp(2.05rem, 4.8vw, 5.2rem);
  line-height: 0.98;
}

h3 {
  margin: 0;
  font-size: 1.13rem;
  line-height: 1.2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(216, 205, 189, 0.86);
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  position: relative;
  width: 25px;
  height: 25px;
  border: 2px solid var(--olive-dark);
  background: rgba(255, 250, 240, 0.7);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--olive-dark);
}

.brand-mark::before {
  top: 0;
  bottom: 0;
  left: 48%;
  width: 2px;
}

.brand-mark::after {
  right: 0;
  bottom: 48%;
  left: 0;
  height: 2px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.nav-links a:hover {
  color: var(--slate);
}

.hero {
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - 72px);
  padding: clamp(68px, 10vw, 132px) clamp(20px, 5vw, 64px) clamp(56px, 8vw, 92px);
}

.hero-copy {
  min-width: 0;
  width: 100%;
  max-width: 1080px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lede {
  max-width: 820px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

.hero-actions,
.pilot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--olive-dark);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--olive-dark);
  color: var(--paper);
}

.button.secondary {
  background: rgba(255, 250, 240, 0.35);
  color: var(--olive-dark);
}

.section,
.product-card,
.pilot,
.site-footer {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 900px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.72);
}

.body-copy {
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.body-copy p:first-child {
  margin-top: 0;
}

.build-steps span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--olive);
  font-weight: 850;
}

.category p,
.build-steps p,
.product-card p,
.pilot p {
  color: var(--muted);
}

.categories {
  background: var(--limestone);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.category {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.78);
}

.category.active {
  border-color: rgba(88, 112, 90, 0.45);
  background: #edf2e8;
}

.status {
  margin: 0 0 52px;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  background: var(--olive-dark);
  color: var(--paper);
}

.product-card h2 {
  max-width: 780px;
}

.product-card .eyebrow {
  color: #d4b47a;
}

.product-card .subhead {
  max-width: 760px;
  color: #dae2d7;
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
}

.text-link {
  flex: 0 0 auto;
  color: var(--paper);
  font-weight: 850;
  text-decoration-color: rgba(255, 250, 240, 0.45);
  text-underline-offset: 5px;
}

.build-section {
  background: rgba(255, 250, 240, 0.75);
}

.build-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.build-steps li {
  min-height: 250px;
  padding: 22px;
  border-top: 3px solid var(--olive);
  background: rgba(245, 241, 232, 0.92);
}

.pilot {
  justify-content: space-between;
  gap: 28px;
  background: var(--slate);
  color: var(--paper);
}

.pilot-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.button.light {
  border-color: rgba(255, 250, 240, 0.65);
  color: var(--paper);
}

.pilot div {
  max-width: 820px;
}

.pilot .eyebrow {
  color: #d4b47a;
}

.pilot p {
  color: #dce0dc;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(216, 205, 189, 0.22);
  background: var(--slate);
  color: #dce0dc;
}

.site-footer p {
  margin: 0;
}

.site-footer nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
  font-size: 0.92rem;
  font-weight: 750;
}

.site-footer nav a,
.footer-links a {
  color: #dce0dc;
  text-decoration-color: rgba(220, 224, 220, 0.35);
  text-underline-offset: 4px;
}

.product-hero {
  min-height: 76vh;
}

.boundary-section {
  background: var(--limestone-deep);
}

.boundary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.boundary-list li {
  padding: 18px;
  border-left: 4px solid var(--olive);
  background: rgba(255, 250, 240, 0.7);
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .split {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .build-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 14px 20px;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 6px 18px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    max-width: 100vw;
    padding: 52px 20px 42px;
  }

  .hero-copy,
  .section-heading,
  .body-copy,
  .pilot div {
    width: 100%;
    max-width: 320px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 9vw, 2.5rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.7rem, 7.4vw, 2.2rem);
    line-height: 1.04;
  }

  .lede {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    width: 100%;
  }

  .category-grid,
  .build-steps {
    grid-template-columns: 1fr;
  }

  .category,
  .build-steps li {
    min-height: auto;
  }

  .status {
    margin-bottom: 28px;
  }

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

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

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


.legal-hero {
  min-height: 58vh;
}

.legal-hero.compact {
  min-height: 42vh;
}

.compliance-grid .category {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.text-link.dark {
  color: var(--olive-dark);
}

.legal-copy {
  max-width: 980px;
  background: rgba(255, 250, 240, 0.78);
  border-top: 1px solid var(--line);
}

.legal-copy h2 {
  margin-top: 42px;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.legal-copy h2:first-of-type {
  margin-top: 0;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.legal-copy a {
  color: var(--olive-dark);
  font-weight: 800;
}


.expanded-footer {
  align-items: flex-start;
}

.expanded-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  max-width: 720px;
}

.expanded-footer a {
  color: #dce0dc;
  font-weight: 750;
  text-decoration-color: rgba(220, 224, 220, 0.35);
  text-underline-offset: 4px;
}

.body-copy ul,
.legal-copy ul,
.legal-copy ol {
  padding-left: 1.25rem;
}

.body-copy li + li,
.legal-copy li + li {
  margin-top: 0.55rem;
}

.category .text-link {
  display: inline-block;
  margin-top: 18px;
}

@media (max-width: 680px) {
  .expanded-footer nav {
    justify-content: flex-start;
  }
}
