/* legal.css — shared stylesheet for Terms, Privacy, and Refund pages */
/* style.css locks html/body (height:100%; overflow:hidden) for the full-screen map; these
   are normal documents, so give them their page scroll back. */
html,
body {
  height: auto;
  min-height: 100%;
  overflow: auto;
}

.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: 32px;
}
.legal-back:hover { color: var(--color-text); }
.legal-back svg { width: 16px; height: 16px; }

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  color: var(--color-amber);
}
.legal-brand svg { width: 28px; height: 28px; }
.legal-brand span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.legal-brand span b { color: var(--color-amber); font-weight: 800; }

.legal-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--color-text-faint);
  font-size: var(--text-sm, 0.875rem);
  margin-bottom: 40px;
  font-family: var(--font-mono);
}

.legal-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--color-text);
}

/* Subheading inside a numbered section (e.g. "Your location" under Information We
   Collect). Deliberately smaller and tighter than h2 so it reads as a subdivision of
   the section above it rather than a new top-level clause. */
.legal-wrap h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--color-text);
}

.legal-wrap p,
.legal-wrap li {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-wrap p { margin-bottom: 14px; }

.legal-wrap ul,
.legal-wrap ol {
  margin: 0 0 14px 0;
  padding-left: 22px;
}
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap ul { list-style: disc; }
.legal-wrap ol { list-style: decimal; }

.legal-wrap strong { color: var(--color-text); font-weight: 600; }

.legal-wrap a {
  color: var(--color-amber);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--color-amber) 40%, transparent);
}
.legal-wrap a:hover { color: var(--color-amber-hover); }

.legal-callout {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 28px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.legal-footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 0.88rem;
}
.legal-footer-nav a { color: var(--color-text-muted); text-decoration: none; }
.legal-footer-nav a:hover { color: var(--color-amber); }
.legal-footer-nav a.current { color: var(--color-text); text-decoration: underline; }
