/* Mesmas cores do Alima Financas (frontend-controle-financeiro/src/index.css): indigo de acento,
   tema claro por padrao e escuro seguindo o sistema. */
:root {
  --bg: rgb(245 246 250);
  --ink: rgb(27 30 46);
  --mute: rgb(96 102 122);
  --accent: rgb(79 70 229);
  --glow: rgb(99 102 241 / 0.18);
  --grid: rgb(79 70 229 / 0.07);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: rgb(15 17 28);
    --ink: rgb(229 231 240);
    --mute: rgb(148 153 176);
    --accent: rgb(165 180 252);
    --glow: rgb(99 102 241 / 0.28);
    --grid: rgb(165 180 252 / 0.06);
  }
}

* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background:
    radial-gradient(60rem 30rem at 50% 38%, var(--glow), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 3rem 1rem;
  text-align: center;
}

.mark {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 18px 40px -12px rgb(67 56 202 / 0.55);
  animation: rise 0.7s ease-out both;
}

.brand {
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  animation: rise 0.7s 0.08s ease-out both;
}

.brand span { color: var(--accent); }

.tagline {
  max-width: 32rem;
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  color: var(--mute);
  animation: rise 0.7s 0.16s ease-out both;
}

.foot {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--mute);
}

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

@media (prefers-reduced-motion: reduce) {
  .mark, .brand, .tagline { animation: none; }
}
