html, body { height: 100%; overflow: hidden; background: #FFFFFF; }
.glow {
  background: radial-gradient(closest-side, rgba(81, 184, 101, 0.25), rgba(81, 184, 101, 0) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 700ms cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Legal pages and 404.html, marked <html class="legal">. Plain CSS only: they
   must render with JavaScript off (the app may show them in a webview), so
   Tailwind never runs there. */
html.legal, html.legal body { height: auto; overflow: visible; }
.legal { -webkit-text-size-adjust: 100%; }
.legal body {
  margin: 0;
  min-height: 100vh;
  background: #FFFFFF;
  color: #1A1D23;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
.legal *, .legal *::before, .legal *::after { box-sizing: border-box; }
.legal .hero {
  position: relative;
  text-align: center;
  padding: 32px 16px 8px;
  overflow: hidden;
}
.legal .hero::before {
  content: "";
  position: absolute;
  inset: -60px 20% auto;
  height: 200px;
  background: radial-gradient(closest-side, rgba(81, 184, 101, 0.25), rgba(81, 184, 101, 0) 100%);
  pointer-events: none;
}
.legal h1 {
  position: relative;
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.3;
  color: #312E81;
}
.legal .date {
  position: relative;
  margin: 8px 0 0;
  font-weight: 600;
  color: rgba(26, 29, 35, 0.7);
}
.legal main {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.legal section {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-inline-start: 4px solid #51B865;
  border-radius: 16px;
  padding: 8px 20px 12px;
  margin-bottom: 16px;
}
.legal h2 { margin: 12px 0 4px; font-size: 1.2rem; font-weight: 700; line-height: 1.9; color: #312E81; }
.legal p { margin: 8px 0; }
.legal ul { margin: 8px 0; padding-inline-start: 22px; list-style: disc; }
.legal li { margin: 4px 0; }
.legal li::marker { color: #51B865; }
.legal strong { font-weight: 700; }
.legal a { color: #312E81; font-weight: 600; text-decoration: underline; }
@media (min-width: 640px) {
  .legal h1 { font-size: 3rem; }
  .legal .hero { padding-top: 48px; }
}
