:root {
  color-scheme: light;
  --bg: #f5f6f2;
  --paper: #ffffff;
  --navy: #0c1b24;
  --muted: #66737b;
  --hair: rgba(12, 27, 36, 0.14);
  --green: #b7e84b;
  --green-strong: #8dba2f;
  --green-soft: rgba(183, 232, 75, 0.22);
  --blue-soft: #e8f0f2;
  --shadow: 0 18px 44px rgba(12, 27, 36, 0.1);
  --radius: 22px;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(183, 232, 75, 0.2), transparent 26rem),
    linear-gradient(180deg, #fbfcf7 0%, var(--bg) 54%, #eef2ec 100%);
  color: var(--navy);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: #3d6f00;
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(12, 27, 36, 0.16);
}

.brand-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 750;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 36px;
  align-items: end;
  padding: 54px 0 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--hair);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green-strong);
}

h1 {
  margin: 20px 0 14px;
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.56;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.status-card {
  min-height: 210px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 27, 36, 0.02), rgba(12, 27, 36, 0.08)),
    var(--paper);
  border: 1px solid rgba(12, 27, 36, 0.1);
  box-shadow: 0 8px 24px rgba(12, 27, 36, 0.06);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 18px;
  align-items: center;
  padding-top: 28px;
}

.divider {
  width: 1px;
  height: 52px;
  background: var(--hair);
}

.metric-value {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 850;
  line-height: 1;
}

.metric-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #345800;
  font-size: 13px;
  font-weight: 800;
}

.content {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 24px 0 80px;
}

.toc {
  position: sticky;
  top: 20px;
  padding: 18px;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
}

.toc-title {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 9px 0;
  color: var(--navy);
  font-size: 14px;
}

.document {
  display: grid;
  gap: 16px;
}

section,
.callout {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(12, 27, 36, 0.1);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(12, 27, 36, 0.045);
}

section h2 {
  margin: 0 0 13px;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.16;
  letter-spacing: 0;
}

section h3 {
  margin: 22px 0 8px;
  font-size: 16px;
}

p,
li {
  color: rgba(12, 27, 36, 0.78);
  font-size: 16px;
  line-height: 1.68;
}

p {
  margin: 0 0 12px;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--hair);
}

.quick-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.quick-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  background: var(--green);
  color: var(--navy);
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(141, 186, 47, 0.24);
}

.button.secondary {
  background: var(--paper);
  box-shadow: none;
  border: 1px solid var(--hair);
}

.meta {
  color: var(--muted);
  font-size: 13px;
}

.license-list {
  display: grid;
  gap: 10px;
}

.license-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px 16px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--hair);
}

.license-item strong {
  display: block;
  margin-bottom: 3px;
}

.license-item span,
.license-item code {
  color: var(--muted);
  font-size: 13px;
}

.tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--hair);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  .page {
    width: min(100% - 28px, 680px);
  }

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

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

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 34px;
  }

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

  .toc {
    position: static;
  }

  .quick-grid,
  .license-item {
    grid-template-columns: 1fr;
  }

  section,
  .callout {
    padding: 22px;
  }
}
