:root {
  --ink: #172322;
  --muted: #5d6968;
  --paper: #fbfbf7;
  --surface: #ffffff;
  --line: #d7ded9;
  --teal: #126b62;
  --teal-dark: #0c4d47;
  --mint: #dcefe8;
  --gold: #f3d48b;
  --rose: #b94b55;
  --blue: #314f8f;
  --shadow: 0 18px 44px rgba(23, 35, 34, 0.08);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(215, 222, 217, 0.82);
  background: rgba(251, 251, 247, 0.95);
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.94rem;
  color: var(--muted);
}

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

.site-nav a:hover {
  color: var(--teal-dark);
}

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

.hero-copy,
.content,
.section-heading,
.wide-visual,
.reproduce pre {
  width: min(1120px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.hero-copy {
  margin-left: calc((100vw - min(1120px, 100vw - 64px)) / 2);
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: 4rem;
  line-height: 1;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.1rem;
  line-height: 1.18;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.03rem;
  line-height: 1.25;
}

.lead {
  max-width: 760px;
  color: #31403f;
  font-size: 1.25rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--teal-dark);
  background: transparent;
}

.button.secondary:hover {
  background: var(--mint);
}

.hero-facts {
  display: grid;
  gap: 12px;
  width: min(360px, 100%);
  margin: 0 calc((100vw - min(1120px, 100vw - 64px)) / 2) 0 0;
}

.hero-facts div,
.module,
.safety-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-facts div {
  padding: 16px;
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 4px 0 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.band {
  padding: 72px 32px;
  border-bottom: 1px solid var(--line);
  background: #edf5f1;
}

.statement h2 {
  max-width: 930px;
}

.statement p {
  max-width: 850px;
  color: #34413f;
}

.section {
  padding: 80px 32px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 800px;
  color: var(--muted);
}

.wide-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.wide-visual figcaption {
  padding: 12px 16px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, 100%);
  margin: 28px auto 0;
}

.module {
  padding: 20px;
}

.module p,
.safety-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: 40px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "+";
  font-weight: 900;
}

.dashboard-visual {
  margin: 0;
}

.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.taxonomy-grid span {
  border-left: 5px solid var(--rose);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff7f4;
  font-weight: 800;
}

.safety {
  background: #f4f0e4;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.safety-grid article {
  padding: 20px;
}

.reproduce pre {
  overflow-x: auto;
  border: 1px solid #ccd5e4;
  border-radius: var(--radius);
  padding: 20px;
  color: #edf3ff;
  background: #172033;
  box-shadow: var(--shadow);
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px;
  color: var(--muted);
  background: #ffffff;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  font-weight: 800;
  color: var(--teal-dark);
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-copy,
  .hero-facts {
    margin-right: auto;
    margin-left: auto;
    width: min(1120px, 100%);
  }

  h1 {
    font-size: 3rem;
  }

  .module-grid,
  .taxonomy-grid,
  .safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .band,
  .section,
  .site-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .module-grid,
  .taxonomy-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }
}
