@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/josefin-sans.woff2") format("woff2");
}
:root {
  --slate: #3f5365;
  --slate-soft: #6b7d8d;
  --teal: #17868a;
  --teal-light: #4fb3b6;
  --bg: #f6f8f9;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: radial-gradient(ellipse at center, #ffffff 0%, var(--bg) 60%, #e9eef1 100%);
  color: var(--slate);
  font-family: "Josefin Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow: hidden;
}
canvas#lattice {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
main {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 16px;
}
.logo {
  width: min(300px, 62vw);
  height: auto;
  opacity: 0;
  animation: rise 1.4s cubic-bezier(.2,.7,.2,1) .2s forwards;
}
.tagline {
  margin-top: 2.6rem;
  font-weight: 300;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  letter-spacing: .04em;
  opacity: 0;
  animation: rise 1.2s cubic-bezier(.2,.7,.2,1) 1s forwards;
}
.tagline strong { font-weight: 600; color: var(--teal); }
.soon {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--slate-soft);
  opacity: 0;
  animation: rise 1.2s cubic-bezier(.2,.7,.2,1) 1.6s forwards;
}
.soon::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(23,134,138,.5);
  animation: pulse 2.4s ease-out infinite;
}
footer {
  position: fixed;
  bottom: 1.2rem;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--slate-soft);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(23,134,138,.55); }
  70%  { box-shadow: 0 0 0 .7rem rgba(23,134,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(23,134,138,0); }
}
@media (prefers-reduced-motion: reduce) {
  .logo, .tagline, .soon { animation: none; opacity: 1; }
  .soon::before { animation: none; }
}
