:root {
  --black: #050706;
  --panel: #111612;
  --green: #75bf38;
  --green-dark: #075f36;
  --white: #f8faf8;
  --muted: #b7c0b8;
  --line: rgba(255, 255, 255, 0.14);
  --max-width: 1060px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

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

a {
  color: inherit;
}

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

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--black);
  background: var(--green);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 6, 0.95);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  width: min(45vw, 230px);
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  text-decoration: none;
}

.brand-name {
  color: var(--white);
  font-size: clamp(0.42rem, 1.2vw, 0.55rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.7rem 0.75rem;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green);
}

.legal-hero {
  position: relative;
  padding-block: clamp(4.5rem, 11vw, 8rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 20%, rgba(117, 191, 56, 0.2), transparent 28rem),
    linear-gradient(135deg, rgba(7, 95, 54, 0.18), transparent 48%);
}

.legal-hero::after {
  position: absolute;
  top: 0;
  right: -8rem;
  width: min(40vw, 500px);
  height: 100%;
  background: repeating-linear-gradient(-55deg, transparent 0 22px, rgba(117, 191, 56, 0.08) 22px 44px);
  content: "";
  transform: skewX(-8deg);
}

.eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin: 0 0 0.9rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.7rem;
  height: 3px;
  background: currentColor;
  content: "";
}

.legal-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.2rem, 12vw, 8rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.9;
  text-transform: uppercase;
}

.effective-date {
  position: relative;
  z-index: 1;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.legal-layout {
  display: grid;
  padding-block: clamp(3rem, 8vw, 6rem);
  gap: 2.5rem;
}

.legal-toc {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  background: var(--panel);
}

.legal-toc h2 {
  margin: 0 0 0.8rem;
  font-size: 0.77rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-toc ol {
  display: grid;
  margin: 0;
  padding-left: 1.25rem;
  gap: 0.25rem;
}

.legal-toc a {
  color: var(--muted);
  text-underline-offset: 3px;
}

.legal-toc a:hover {
  color: var(--green);
}

.legal-content {
  min-width: 0;
}

.legal-content > p:first-child {
  margin-top: 0;
  color: var(--white);
  font-size: clamp(1.08rem, 2.5vw, 1.28rem);
  font-weight: 700;
}

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

.legal-section:first-of-type {
  margin-top: 2rem;
}

.legal-section h2 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.legal-section p,
.legal-section ul {
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: #c8cec9;
}

.legal-section li + li {
  margin-top: 0.45rem;
}

.legal-section strong {
  color: var(--white);
}

.contact-card {
  margin-top: 1rem;
  padding: 1.25rem;
  border-left: 5px solid var(--green);
  background: rgba(117, 191, 56, 0.09);
  font-style: normal;
}

.contact-card p {
  margin: 0;
  color: var(--white);
}

.contact-card p + p {
  margin-top: 0.35rem;
}

.contact-card a {
  color: var(--green);
  font-weight: 900;
  text-underline-offset: 4px;
}

.site-footer {
  padding-block: 3rem 1.5rem;
  border-top: 1px solid var(--line);
  background: #080a09;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: block;
  width: min(100%, 280px);
}

.footer-copy {
  max-width: 460px;
  margin: 1rem 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  list-style: none;
}

.footer-links a {
  color: var(--white);
  text-underline-offset: 4px;
}

.footer-links a:hover {
  color: var(--green);
}

.copyright {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: #899089;
  font-size: 0.78rem;
}

.copyright p {
  margin: 0;
}

.copyright p + p {
  margin-top: 0.35rem;
}

.copyright a {
  color: var(--muted);
  text-underline-offset: 3px;
}

.copyright a:hover {
  color: var(--green);
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 70px;
  }

  .site-nav a {
    padding-inline: 0.45rem;
    font-size: 0.69rem;
  }

  .site-nav li:first-child {
    display: none;
  }
}

@media (min-width: 820px) {
  .legal-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: clamp(3rem, 7vw, 6rem);
  }

  .legal-toc {
    position: sticky;
    top: 106px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

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