:root {
  --evergreen: #03321e;
  --lime: #9cca22;
  --warm-white: #f9f9f9;
  --ink: #061f14;
  --muted: #59665e;
  --line: #d4ddd7;
  --pale: #edf3ee;
  --surface: #ffffff;
  --focus: #1f5d3c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--evergreen);
  text-underline-offset: 4px;
}

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

.legal-container {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.legal-header .legal-container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  color: var(--evergreen);
  text-decoration: none;
}

.legal-brand img {
  width: 226px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.legal-main {
  padding-block: 72px 96px;
}

.draft-status {
  margin: 0 0 14px;
  color: var(--evergreen);
  font-weight: 600;
}

h1 {
  max-width: 660px;
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.legal-intro {
  margin-bottom: 52px;
  color: var(--muted);
  font-size: 19px;
}

.legal-section {
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 600;
}

.legal-section p,
.legal-section ul {
  margin-top: 0;
  color: var(--muted);
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-callout {
  margin-block: 28px;
  padding: 20px;
  border-left: 4px solid var(--evergreen);
  background: var(--pale);
}

.legal-callout p {
  margin: 0;
  color: var(--ink);
}

.legal-footer {
  padding-block: 32px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.legal-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 620px) {
  .legal-header .legal-container {
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .legal-main {
    padding-block: 52px 72px;
  }

  h1 {
    font-size: 42px;
  }
}
