:root {
  --teal: #2AC3C7;
  --teal-dark: #1a8a8d;
  --teal-soft: #e6f8f8;
  --pink: #E81E92;
  --pink-soft: #fdf0f7;
  --navy: #0c1020;
  --ink: #1a1a2e;
  --ink-soft: #2a2e3f;
  --muted: #6b7280;
  --line: #e6e7ea;
  --bg: #ffffff;
  --bg-soft: #F5F5F8;
  --radius: 18px;
  --shadow-md: 0 4px 12px rgba(12,16,32,.06), 0 16px 40px rgba(12,16,32,.1);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
a { color: var(--teal-dark); }

/* NAV (shared with homepage) */
nav.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
nav.site .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(42,195,199,.25);
  flex: 0 0 auto;
}
.logo-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.logo-word { font-weight: 800; font-size: 18px; letter-spacing: -.01em; color: var(--ink); }
.logo-word em { font-style: normal; color: var(--teal); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--teal); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer; border: 0;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(42,195,199,.4); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* LEGAL PAGE */
.legal-hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(700px 400px at 85% -10%, rgba(42,195,199,.12), transparent 60%),
    radial-gradient(600px 400px at -10% 20%, rgba(232,30,146,.06), transparent 60%),
    #fff;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-soft);
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(42,195,199,.24);
}
.legal-hero h1 {
  font-size: clamp(38px, 4.5vw, 54px);
  line-height: 1.05; letter-spacing: -.02em;
  margin: 18px 0 10px; font-weight: 900;
}
.legal-hero h1 em { font-style: normal; color: var(--teal); }
.legal-hero .updated {
  color: var(--muted); font-weight: 600; font-size: 15px; margin: 0;
}

.legal-body {
  padding: 56px 0 96px;
}
.legal-body .inner { max-width: 760px; margin: 0 auto; }
.legal-body p {
  font-size: 17px; color: var(--ink-soft); margin: 0 0 18px;
}
.legal-body h2 {
  font-size: 26px; font-weight: 900; letter-spacing: -.015em;
  margin: 48px 0 14px; color: var(--ink);
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 {
  font-size: 19px; font-weight: 800; margin: 28px 0 10px; color: var(--ink);
}
.legal-body ul {
  margin: 0 0 22px; padding-left: 24px;
}
.legal-body li {
  font-size: 17px; color: var(--ink-soft); margin-bottom: 8px;
}
.legal-body li::marker { color: var(--teal); }
.legal-body strong { color: var(--ink); font-weight: 800; }
.legal-body a {
  color: var(--teal-dark); font-weight: 700;
  text-decoration: none; border-bottom: 1px solid rgba(42,195,199,.35);
  transition: color .15s ease, border-color .15s ease;
}
.legal-body a:hover { color: var(--teal); border-bottom-color: var(--teal); }

.legal-body .callout {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 24px 0;
}
.legal-body .callout p:last-child { margin-bottom: 0; }

/* CROSS LINK */
.cross-link {
  text-align: center;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  color: var(--muted); font-weight: 600;
}

/* FOOTER (shared with homepage) */
footer.site {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: #fff;
}
footer.site .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
footer.site h5 { font-weight: 800; font-size: 14px; margin: 0 0 14px; letter-spacing: .02em; color: var(--ink); }
footer.site .cols a:not(.logo) { display: block; color: var(--ink-soft); text-decoration: none; padding: 4px 0; font-size: 14px; font-weight: 600; }
footer.site .cols a:not(.logo):hover { color: var(--teal); }
footer.site .bottom a { text-decoration: none; }
footer.site .bottom a:hover { text-decoration: underline; }
footer.site .logo { display: inline-flex; margin-bottom: 4px; }
footer.site .about p { color: var(--muted); font-size: 14px; margin: 8px 0 0; max-width: 340px; }
footer.site .bottom { display: block; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow-x: auto; }
footer.site .bottom > div { display: inline; }

@media (max-width: 960px) {
  footer.site .cols { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .legal-hero { padding: 48px 0 32px; }
  .legal-body { padding: 40px 0 64px; }
  .nav-links { display: none; }
  footer.site .bottom { white-space: normal; }
}
