:root {
  --color-primary: #747f59; /* primary */
  --color-1: #ccb5a3;
  --color-2: #9faa7e;
  --color-3: #747f59;
  --color-4: #fff4eb;

  --text-strong: #1f241b;
  --text: #2b2f27;
  --text-muted: #4e5547;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--color-4);
  overflow-x: hidden;
}

/* Soft animated background using your palette */
.bg-animated {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(1200px 1200px at 10% 10%, var(--color-4) 0%, transparent 60%),
              radial-gradient(900px 900px at 90% 20%, color-mix(in srgb, var(--color-1), white 10%) 0%, transparent 70%),
              radial-gradient(1000px 1000px at 20% 80%, color-mix(in srgb, var(--color-2), white 5%) 0%, transparent 65%),
              radial-gradient(800px 800px at 80% 80%, color-mix(in srgb, var(--color-3), white 0%) 0%, transparent 60%),
              linear-gradient(120deg, var(--color-4), var(--color-1), var(--color-2), var(--color-3));
  background-size: 120% 120%, 120% 120%, 120% 120%, 120% 120%, 300% 300%;
  filter: saturate(1.05);
  animation: hueflow 18s ease-in-out infinite alternate, drift 30s linear infinite;
}

@keyframes hueflow {
  0% { filter: saturate(1.0) brightness(1.02); }
  100% { filter: saturate(1.15) brightness(1.06); }
}
@keyframes drift {
  0%   { background-position: 0% 50%, 10% 10%, 90% 20%, 20% 80%, 0% 50%; }
  50%  { background-position: 100% 50%, 20% 0%, 80% 40%, 40% 70%, 50% 100%; }
  100% { background-position: 0% 50%, 10% 10%, 90% 20%, 20% 80%, 100% 50%; }
}

.container {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 6rem 1.25rem 4rem;
}

.hero {
  display: grid;
  place-items: center;
  gap: 1.25rem;
  text-align: center;
}

.logo { height: 96px; width: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.12)); border-radius: 16px; }

.app-name {
  margin: 0;
  font-size: clamp(2.25rem, 4vw + 1rem, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  text-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.site-footer {
  width: 100%;
  padding: 1.25rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  position: fixed;
  left: 0;
  bottom: 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-nav a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.footer-nav a:hover { text-decoration: underline; }
.footer-nav .sep { margin: 0 0.5rem; color: var(--text-muted); }

.copyright {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Simple content styling for legal pages */
.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 1.25rem 7rem;
}
.page h1, .page h2, .page h3 { color: var(--text-strong); }
.page h1 { font-size: 2rem; margin: 0 0 0.75rem; }
.page h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.page h3 { font-size: 1.25rem; margin: 1.25rem 0 0.5rem; }
.page p { line-height: 1.6; }
.page ul { padding-left: 1.25rem; }
