/* Aeolyon coming-soon site
   Palette: navy #01102F, teal #01A6AE, aqua #53CFCF, white #FFFFFF
   Type: Outfit (SIL Open Font License 1.1), self-hosted
*/

@font-face {
  font-family: Outfit;
  src: url("fonts/Outfit-Variable.woff2") format("woff2-variations"),
       url("fonts/Outfit-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #01102f;
  --teal: #01a6ae;
  --aqua: #53cfcf;
  --white: #ffffff;
  --text: rgba(255, 255, 255, 0.82);
  --muted: rgba(255, 255, 255, 0.62);
  --line: rgba(83, 207, 207, 0.28);
  --fill: rgba(1, 166, 174, 0.08);
  color-scheme: dark;
}

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

html, body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--navy);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  font-family: Outfit, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(1, 166, 174, 0.45);
  color: var(--white);
}

.ambient {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: absolute;
  inset: -10% 0 20%;
  background:
    radial-gradient(ellipse 54% 42% at 50% 42%, rgba(1, 166, 174, 0.22), transparent 62%),
    radial-gradient(ellipse 36% 28% at 50% 58%, rgba(83, 207, 207, 0.12), transparent 70%);
}

.rings {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(52rem, 140vw);
  height: auto;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0.85;
}

.rings circle {
  fill: none;
  stroke: var(--aqua);
  stroke-width: 1.1;
  transform-origin: 400px 400px;
  animation: ring-breathe 10s ease-in-out infinite;
}

.rings circle:nth-child(1) { stroke: var(--teal); stroke-opacity: 0.42; animation-delay: 0s; }
.rings circle:nth-child(2) { stroke-opacity: 0.28; animation-delay: -2.2s; }
.rings circle:nth-child(3) { stroke-opacity: 0.18; animation-delay: -4.4s; }
.rings circle:nth-child(4) { stroke-opacity: 0.11; animation-delay: -6.6s; }

@keyframes ring-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

.wave {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(90rem, 160vw);
  height: 180px;
  transform: translateX(-50%);
  opacity: 0.55;
}

.wave path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wave-a {
  stroke: var(--teal);
  stroke-width: 1.6;
  stroke-opacity: 0.55;
  animation: wave-drift 18s linear infinite;
}

.wave-b {
  stroke: var(--aqua);
  stroke-width: 1.25;
  stroke-opacity: 0.4;
  animation: wave-drift 24s linear infinite reverse;
}

@keyframes wave-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-8%); }
}

main,
footer {
  position: relative;
  z-index: 1;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  gap: 1.15rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.4rem 0.95rem 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(1, 16, 47, 0.45);
  color: var(--aqua);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 0 rgba(83, 207, 207, 0.7);
  animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(83, 207, 207, 0.65); }
  70% { box-shadow: 0 0 0 0.55rem rgba(83, 207, 207, 0); }
  100% { box-shadow: 0 0 0 0 rgba(83, 207, 207, 0); }
}

h1 {
  margin: 0.35rem 0 0.15rem;
  display: flex;
  justify-content: center;
}

.logo {
  display: block;
  width: min(40rem, 88vw);
  height: auto;
  overflow: visible;
}

.tagline {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.lede {
  margin: 0.15rem 0 0.35rem;
  max-width: 34rem;
  color: var(--text);
  font-size: clamp(1rem, 1.7vw, 1.125rem);
  line-height: 1.65;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.38rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--fill);
  color: var(--aqua);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

footer {
  padding: 1.25rem 1.5rem 1.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
}

footer p {
  margin: 0;
}

/* 404 */
.page-status {
  margin: 0.5rem 0 0;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 550;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.home-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--fill);
  color: var(--aqua);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.home-link:hover {
  border-color: var(--aqua);
  background: rgba(1, 166, 174, 0.16);
}

.home-link:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}

.logo-link {
  display: block;
  line-height: 0;
  border-radius: 0.5rem;
}

.logo-link:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 8px;
}

.logo-mark {
  display: block;
  width: min(7.5rem, 28vw);
  height: auto;
}

@media (max-width: 40rem) {
  main {
    padding: 4rem 1.25rem 2.5rem;
    gap: 1rem;
  }

  .logo {
    width: min(22.5rem, 90vw);
  }

  .chips {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    column-gap: 0.55rem;
    row-gap: 0.55rem;
  }

  .wave {
    height: 120px;
    bottom: 10%;
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rings circle,
  .wave-a,
  .wave-b,
  .eyebrow .dot {
    animation: none;
  }
}
