@font-face {
  font-family: Fluent;
  src: url('../fonts/Fluent-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Fluent;
  src: url('../fonts/Fluent-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Fluent, sans-serif;
  background: #0f0f0f;
  color: #eff0f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.transition-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 24px 28px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 38%, #25141c66, transparent 48%);
}

.eyebrow {
  font: 11px ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #96999d;
  margin: 0 0 10px;
}

.logo-stage {
  position: relative;
  width: min(620px, 100%);
  aspect-ratio: 620 / 360;
}

canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.fallback-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.animation-ready .fallback-logo {
  display: none;
}

.stage-baseline {
  position: absolute;
  bottom: 6px;
  left: 30%;
  right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ed1e7944, transparent);
}

h1 {
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.04em;
  line-height: 1.18;
  margin: 22px 0 16px;
  color: #8d9093;
}

h1 span {
  color: #eff0f0;
  font-weight: 500;
}

.transition-copy p {
  font-size: 17px;
  color: #a4a6a9;
  margin: 0;
}

.transition-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.continue {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  border: 1px solid #49494b;
  border-radius: 3px;
  padding: 14px 20px;
  color: #eff0f0;
  text-decoration: none;
  font-size: 16px;
  transition: border-color .2s, background .2s;
}

.continue:hover {
  border-color: #ed1e79;
  background: #ed1e790a;
}

.continue span {
  color: #ed1e79;
}

button {
  font: inherit;
  font-size: 13px;
  color: #9a9da0;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

button:hover {
  color: #eff0f0;
}

button span {
  margin-left: 8px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #ed1e79;
  outline-offset: 5px;
}

.preview-note {
  color: #73767a;
  font-size: 11px;
  margin: 24px 0 0;
}

@media(max-width:600px) {
  .transition-page {
    padding: 32px 20px 24px;
  }

  h1 {
    margin-top: 24px;
  }
}
