/* Codineo brand colors (see brand/README.md) */
:root {
  --indigo: #4338CA;
  --ink: #111827;
  --amber: #FBBF24;
  --white: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.62);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--ink);
  color: var(--white);
  font-family: 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: clamp(1rem, 3vw, 1.75rem);
  padding: 1.5rem;
  text-align: center;
}

.logo { margin: 0; line-height: 0; }

.logo svg {
  display: block;
  width: min(80vw, 480px);
  height: auto;
}

.slogan {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.375rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--white);
  border-bottom-color: currentColor;
}

/* Narrow screens: email on its own line instead of a dangling separator */
@media (max-width: 480px) {
  .footer { row-gap: 0.25rem; }
  .footer .sep-wrap { display: none; }
  .footer .contact { flex-basis: 100%; text-align: center; }
}
