/* Citizz.app public web — citizz-web-tokens.css (owned in citizz-public-web/css; edit freely). Re-sync from portal: node scripts/sync-citizz-public-from-portal.mjs */
:root {
  --bg0: #e8eaf4;
  --bg1: #dfe4f4;
  --surface: #f4f5fb;
  --card: #ffffff;
  --text: #14151c;
  --muted: #5c6170;
  --line: rgba(20, 21, 28, 0.09);
  --accent: #4f3df0;
  --accent-hover: #5f4df5;
  --accent-muted: rgba(79, 61, 240, 0.1);
  /* CitiZZ “ZZ” — warm gold aligned with consumer app accents */
  --citizz-zz-deep: #9a4110;
  --citizz-zz-mid: #c2780a;
  --citizz-zz-bright: #f59e0b;
  --citizz-zz-glow: rgba(245, 158, 11, 0.22);
  --citizz-trust-teal: #0ea5ae;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 21, 28, 0.05), 0 8px 32px rgba(79, 61, 240, 0.09);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.18s;
  --dur-med: 0.38s;
  --dur-slow: 0.55s;
}

@keyframes ambientShift {
  0%,
  100% {
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }
  33% {
    opacity: 0.92;
    transform: scale(1.03) translate(1%, -1%);
  }
  66% {
    opacity: 0.95;
    transform: scale(1.02) translate(-1%, 1%);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes backdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes heroGlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) skewX(-12deg);
  }
  100% {
    transform: translateX(200%) skewX(-12deg);
  }
}

@keyframes payFlowCardIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pubCtaStagger {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gatePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
}

@keyframes navGlow {
  0%,
  100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 8px 32px rgba(79, 61, 240, 0.07);
  }
  50% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 12px 40px rgba(79, 61, 240, 0.11);
  }
}
* {
  box-sizing: border-box;
}
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background-color: var(--bg0);
  background-image:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(79, 61, 240, 0.12), transparent 52%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(14, 165, 233, 0.09), transparent 48%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(244, 114, 182, 0.06), transparent 45%),
    linear-gradient(180deg, var(--bg0) 0%, #e2e6f2 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  color: var(--text);
  margin: 0;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background: inherit;
  animation: ambientShift 28s var(--ease-out) infinite;
  opacity: 0.55;
}

body > * {
  position: relative;
  z-index: 1;
}
