:root {
  color-scheme: light;
  --ink: #14221d;
  --muted: #56665f;
  --paper: #fbfcf8;
  --surface: #ffffff;
  --soft: #eef3ed;
  --line: #d7e0d9;
  --brand: #175f49;
  --brand-dark: #0e4636;
  --accent: #d9a441;
  --shadow: 0 22px 60px rgba(20, 34, 29, 0.11);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-dark);
}

a:focus-visible {
  outline: 3px solid rgba(217, 164, 65, 0.75);
  outline-offset: 4px;
  border-radius: 3px;
}

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

h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 680;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid rgba(215, 224, 217, 0.75);
  background: rgba(251, 252, 248, 0.95);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-row {
  min-height: 76px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border-radius: 0.7rem;
  color: #fff;
  background: var(--brand);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

nav,
.footer-row div {
  display: flex;
  gap: 1.2rem;
}

nav a,
.footer-row a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.eyebrow,
.card-label {
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  max-width: 65ch;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  align-items: center;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border-radius: 0.7rem;
  color: #fff;
  background: var(--brand);
  font-weight: 730;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 95, 73, 0.18);
}

.button:hover {
  color: #fff;
  background: var(--brand-dark);
}

.text-link {
  font-weight: 700;
}

.boundary-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border: 1px solid rgba(215, 224, 217, 0.9);
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.boundary-card::before {
  position: absolute;
  width: 8rem;
  height: 8rem;
  top: -4rem;
  right: -3rem;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.18);
  content: "";
}

.boundary-card h2 {
  max-width: 12ch;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.check-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.muted-section {
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.section-heading {
  max-width: 650px;
  margin-bottom: 2.6rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-grid article {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.62);
}

.feature-grid p,
.document p,
.document li {
  color: var(--muted);
}

.contact-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.contact-panel h2 {
  margin-bottom: 0;
}

.contact-link {
  overflow-wrap: anywhere;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 750;
}

.document {
  max-width: 820px;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.document-header {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.document-header h1 {
  max-width: none;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.document section {
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.document section:last-child {
  border-bottom: 0;
}

.document ul {
  padding-left: 1.35rem;
}

.document li + li {
  margin-top: 0.35rem;
}

.scope-value {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface);
  overflow-wrap: anywhere;
}

code {
  color: var(--brand-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
}

.footer-row p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
}

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

  .boundary-card {
    max-width: 560px;
  }

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

  .contact-panel {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 1.5rem, 1120px);
  }

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

  .header-row {
    padding-block: 1rem;
  }

  .wordmark span:last-child {
    max-width: 17rem;
  }

  nav,
  .footer-row div {
    width: 100%;
  }

  .footer-row div {
    flex-wrap: wrap;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }
}

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