@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/figtree-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/figtree-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #07090c;
  --fg: #f4f6f8;
  --muted: #9aa3ad;
  --ice: #c8e0f4;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

.stage {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: calc(2rem + env(safe-area-inset-top, 0px)) 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

@starting-style {
  .stage {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 0 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ice);
}

.mark {
  width: 4.5rem;
  height: 4.5rem;
  display: block;
  color: var(--ice);
  transform-origin: 50% 50%;
}

.mark.is-blinking {
  animation: osethBlink 110ms var(--ease-in-out);
}

@keyframes osethBlink {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.045); }
}

h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.85rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede {
  margin: 1.1rem 0 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 2rem;
  padding: 0.85rem 1.6rem;
  border-radius: 0.65rem;
  background: var(--fg);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transform: scale(1);
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}

.cta:active {
  transform: scale(0.97);
}

.cta:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .cta:hover {
    background: var(--ice);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage,
  .cta,
  .mark {
    transition: opacity 160ms ease, background-color 160ms ease;
    transform: none;
    animation: none;
  }

  @starting-style {
    .stage {
      opacity: 0;
      transform: none;
    }
  }
}
