@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-Regular.woff2?v=6cf3e021") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-SemiBold.woff2?v=fc9002b9") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: block;
}

:root {
  color-scheme: light;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #101a33;
  background: #fafbfe;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.fonts-loading h1,
.fonts-loading .footer p {
  visibility: hidden;
}

::selection {
  color: #101a33;
  background: #ded8ff;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: 36px clamp(24px, 5vw, 80px) 26px;
  background: radial-gradient(ellipse 420px 330px at 50% 43%, #efedff 0%, #f3f7ff 47%, transparent 100%);
}

.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  display: block;
  width: 148px;
  height: auto;
}

.main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 80px 0 104px;
}

.announcement {
  --symbol-size: 108px;
  --element-gap: 40px;
  width: 100%;
  text-align: center;
  animation: arrive 900ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.symbol {
  margin: 0 auto var(--element-gap);
  width: var(--symbol-size);
  height: var(--symbol-size);
}

.symbol img {
  display: block;
  width: 100%;
  height: 100%;
}

h1 {
  /* Account for the symbol's transparent bottom edge and the font's vertical metrics. */
  margin: 0 0 calc(var(--element-gap) + var(--symbol-size) * 0.08 + 0.22em);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.055em;
  word-spacing: 0.035em;
}

.accent-line {
  width: 40px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: linear-gradient(90deg, #00c8ef, #5535ff 55%, #d798f5);
}

.footer {
  padding-top: 22px;
  border-top: 1px solid #e8eaf1;
  color: #767f90;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.footer p {
  margin: 0;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .page {
    padding-top: 25px;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
    background: radial-gradient(ellipse 240px 260px at 50% 43%, #efedff 0%, #f3f7ff 47%, transparent 100%);
  }

  .wordmark {
    width: 122px;
  }

  .main {
    padding: 72px 0 90px;
  }

  .announcement {
    --symbol-size: 88px;
    --element-gap: 32px;
  }

  .footer {
    gap: 12px;
    font-size: 10px;
  }
}

@media (max-width: 359px) {
  .header {
    gap: 12px;
  }

  .wordmark {
    width: 110px;
  }
}

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