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

:root {
  --gradient-green: linear-gradient(135deg, #a1cf15, #ade012 19%, #a3e735 30%, #d1ff45 35%, #dffd80 58%, #a2f03e 66%, #b2e419 72%, #ccf44e 86%, #799b0c);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

body {
  font-family: var(--font-sans);
  background: #fff;
  color: #111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.legal-nav__logo {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
}

.legal-nav__logo span {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-nav__back {
  font-size: 0.825rem;
  color: rgba(0,0,0,0.45);
  text-decoration: none;
  transition: color 0.18s ease;
}

.legal-nav__back:hover {
  color: #000;
}

/* MAIN */
.legal-main {
  padding: 4rem 0 6rem;
}

.legal-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HERO */
.legal-hero {
  margin-bottom: 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.legal-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin-bottom: 0.75rem;
}

.legal-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.06rem;
  color: #0a0a0a;
  margin-bottom: 0.5rem;
}

.legal-subtitle {
  font-size: 0.9rem;
  color: rgba(0,0,0,0.4);
}

/* BODY */
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-body h2 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  font-size: 0.925rem;
  line-height: 1.75;
  color: rgba(0,0,0,0.6);
  margin-bottom: 0.875rem;
}

.legal-body p:last-child {
  margin-bottom: 0;
}

.legal-body ul {
  padding-left: 1.5rem;
  margin-bottom: 0.875rem;
}

.legal-body li {
  font-size: 0.925rem;
  line-height: 1.75;
  color: rgba(0,0,0,0.6);
  margin-bottom: 0.25rem;
}

.legal-body a {
  color: #5a9200;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover {
  color: #000;
}

.legal-body strong {
  color: rgba(0,0,0,0.8);
  font-weight: 600;
}

/* INFO BOX */
.legal-info-box {
  background: #f8f8f8;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-info-box p {
  margin-bottom: 0 !important;
  font-size: 0.875rem;
}

/* TABLE */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.legal-table th {
  text-align: left;
  padding: 0.5rem 1rem 0.5rem 0;
  font-weight: 600;
  color: rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-table td {
  padding: 0.625rem 1rem 0.625rem 0;
  color: rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
.legal-footer {
  background: #f5f5f5;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 1.5rem 2rem;
  text-align: center;
}

.legal-footer p {
  font-size: 0.8rem;
  color: rgba(0,0,0,0.4);
}

.legal-footer a {
  color: rgba(0,0,0,0.55);
  text-decoration: none;
}

.legal-footer a:hover {
  color: #000;
}
