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

:root {
  --bg:        #1A2B2D;
  --bg-raised: #1F3335;
  --bg-card:   #243B3D;
  --green:     #7A9E7E;
  --green-lt:  #9DC4A1;
  --green-dim: rgba(122,158,126,0.18);
  --cream:     #F0F4F1;
  --muted:     #A8BDB0;
  --border:    rgba(122,158,126,0.15);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-lt); }

/* ─── Nav ─── */
nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26,43,45,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 36px; width: auto; }
.nav-wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav-wordmark .moss {
  font-size: 26px; font-weight: 800; letter-spacing: -0.05em; color: var(--cream); line-height: 1;
}
.nav-wordmark .ai {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.28em; color: var(--green);
  text-transform: uppercase; margin-top: 4px;
}
.nav-back { font-size: 13px; font-weight: 600; color: var(--muted); }
.nav-back:hover { color: var(--cream); }

/* ─── Legal content ─── */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 72px 5vw 96px; }
.legal-wrap h1 {
  font-weight: 800; font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.03em;
  color: var(--cream); margin-bottom: 12px;
}
.legal-updated { font-size: 13px; color: var(--muted); margin-bottom: 48px; }
.legal-wrap h2 {
  font-weight: 700; font-size: 1.3rem; color: var(--cream);
  margin-top: 40px; margin-bottom: 14px;
}
.legal-wrap p { color: var(--muted); margin-bottom: 16px; }
.legal-wrap ul { color: var(--muted); margin: 0 0 16px 20px; }
.legal-wrap li { margin-bottom: 8px; }
.legal-wrap strong { color: var(--cream); }

/* ─── Footer (mirrors index.html) ─── */
footer {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  padding: 40px 5vw;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-left { display: flex; flex-direction: column; gap: 4px; }
.footer-name { font-size: 15px; font-weight: 800; letter-spacing: -0.03em; color: var(--cream); }
.footer-tagline { font-size: 12px; color: var(--muted); }
.footer-right { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 12px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--cream); }
.footer-legal {
  max-width: 1120px; margin: 24px auto 0; padding-top: 20px;
  border-top: 1px solid var(--border); font-size: 11.5px; color: var(--muted); line-height: 1.6;
}

@media (max-width: 700px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
