:root {
  --green: #0d3d23;
  --green-deep: #061c10;
  --lime: #c8ff32;
  --paper: #f4f3ed;
  --white: #fff;
  --ink: #132117;
  --muted: #5f685f;
  --line: #d9ddd6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: #2f6e2d; }
.legal-shell { width: min(100% - 40px, 1040px); margin-inline: auto; }
.legal-header { color: var(--white); background: var(--green-deep); }
.legal-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-brand { display: inline-flex; align-items: center; text-decoration: none; }
.legal-brand img { width: 170px; height: auto; filter: brightness(0) invert(1); }
.legal-back { color: rgba(255,255,255,.86); font-size: 13px; font-weight: 750; text-decoration: none; }
.legal-back:hover { color: var(--lime); }
.legal-hero { padding: 78px 0 70px; color: var(--white); background: var(--green); }
.legal-eyebrow { margin: 0 0 13px; color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.legal-hero h1 { max-width: 800px; margin: 0; font-size: clamp(42px, 7vw, 72px); line-height: .98; letter-spacing: -.055em; }
.legal-hero p:last-child { max-width: 680px; margin: 25px 0 0; color: rgba(255,255,255,.74); font-size: 17px; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; padding-block: 70px 100px; }
.legal-nav { position: sticky; top: 28px; align-self: start; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.legal-nav strong { display: block; margin-bottom: 11px; color: var(--green); font-size: 13px; }
.legal-nav a { display: block; padding: 7px 0; color: var(--muted); font-size: 12px; font-weight: 650; text-decoration: none; }
.legal-nav a:hover { color: var(--green); }
.legal-content { min-width: 0; }
.legal-section { padding: 0 0 38px; margin: 0 0 38px; border-bottom: 1px solid var(--line); }
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 { margin: 0 0 17px; color: var(--green); font-size: clamp(24px, 4vw, 34px); line-height: 1.15; letter-spacing: -.035em; }
.legal-section h3 { margin: 25px 0 7px; color: var(--green); font-size: 18px; }
.legal-section p { margin: 11px 0; }
.legal-section ul { padding-left: 20px; }
.legal-section li { margin: 6px 0; }
.legal-section address { font-style: normal; }
.legal-card { padding: 22px 24px; margin: 20px 0; background: var(--white); border: 1px solid var(--line); border-radius: 15px; }
.legal-card strong { color: var(--green); }
.legal-warning { border-left: 5px solid #e0a600; background: #fff9df; }
.legal-note { color: var(--muted); font-size: 13px; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.legal-table th, .legal-table td { padding: 13px 15px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.legal-table th { width: 31%; color: var(--green); background: #e9eee8; }
.legal-footer { padding: 42px 0; color: rgba(255,255,255,.7); background: var(--green-deep); font-size: 12px; }
.legal-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-footer a { margin-left: 18px; color: var(--white); text-decoration: none; }
.legal-footer a:hover { color: var(--lime); }
code { overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .legal-header-inner { min-height: 68px; }
  .legal-brand img { width: 145px; }
  .legal-hero { padding: 58px 0; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding-block: 45px 75px; }
  .legal-nav { position: static; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table tr { margin-bottom: 14px; }
  .legal-table th, .legal-table td { border-bottom: 0; }
  .legal-table td { border-bottom: 1px solid var(--line); }
  .legal-footer-inner { align-items: flex-start; flex-direction: column; }
  .legal-footer a { margin: 0 16px 0 0; }
}
