:root {
  --cream: #f4edda;
  --paper: #fffdf7;
  --green: #155d3b;
  --green-deep: #0c3f2a;
  --red: #c63b2a;
  --yellow: #e6a928;
  --ink: #11110f;
  --muted: #68665f;
  --line: rgba(17, 17, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.legal-header {
  color: var(--paper);
  background: var(--green-deep);
}

.legal-nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.legal-nav img {
  width: min(230px, 58vw);
  height: auto;
}

.back-link {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-hero {
  padding: 92px 20px 84px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.legal-hero-inner,
.legal-content {
  width: min(940px, 100%);
  margin: 0 auto;
}

.kicker {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.94;
  text-transform: uppercase;
}

h1 {
  max-width: 800px;
  font-size: clamp(3.3rem, 9vw, 7.4rem);
  letter-spacing: -0.065em;
}

.legal-intro {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.legal-content {
  padding: 82px 20px 110px;
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) 1fr;
  gap: 38px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: 1px solid var(--line);
}

h2 {
  color: var(--green);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.035em;
}

.legal-copy p,
.legal-copy ul {
  margin: 0 0 16px;
}

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

.legal-copy ul {
  padding-left: 20px;
}

.legal-copy strong {
  color: var(--green-deep);
}

.legal-copy a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-note {
  padding: 18px 20px;
  background: rgba(230, 169, 40, 0.18);
  border-left: 4px solid var(--yellow);
}

.legal-footer {
  padding: 34px 20px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--green-deep);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-footer-inner {
  width: min(1180px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

@media (max-width: 700px) {
  .legal-nav {
    min-height: 80px;
  }

  .legal-hero {
    padding-top: 70px;
  }

  .legal-content {
    padding-top: 58px;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .legal-footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .legal-nav {
    width: min(100% - 28px, 1180px);
  }

  .back-link {
    font-size: 0.64rem;
  }

  h1 {
    font-size: 2.4rem;
    letter-spacing: -0.055em;
  }
}
