/* Averiguare's landing page: the app's teal (frontend/src/styles/tokens.css, --primary) with
   the analyst theme's amber as accent. System fonts only: nothing is loaded from elsewhere. */

:root {
  --bg-deep: #032624;
  --bg-mid: #063f3b;
  --bg-brand: #0f766e;
  --text: #f0fdfa;
  --muted: #b5f5e9;
  --link: #5eead4;
  --amber: #facc15;
  color-scheme: dark;
}

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

html {
  height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  overflow-x: hidden;
  background:
    radial-gradient(55rem 40rem at 12% 8%, rgb(45 212 191 / 0.3), transparent 62%),
    radial-gradient(48rem 36rem at 92% 95%, rgb(250 204 21 / 0.16), transparent 60%),
    linear-gradient(160deg, var(--bg-deep), var(--bg-mid) 55%, var(--bg-brand));
  color: var(--text);
  font-family:
    ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* A soft light that breathes behind the headline. */
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 18%;
  width: min(70vw, 42rem);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(94 234 212 / 0.22), transparent 65%);
  animation: breathe 7s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.55;
    scale: 0.92;
  }
  50% {
    opacity: 1;
    scale: 1.06;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 9.5vw, 7rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 .accent {
  background: linear-gradient(90deg, var(--link), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact {
  font-size: clamp(1.05rem, 2.3vw, 1.4rem);
  color: var(--muted);
}

.contact a {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}

.contact a:hover {
  color: var(--text);
}

.contact a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
}
