@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --violet: #483bf9;
  --white: #fff;
  --muted: #ddd9ff;
  --rule: #8076ff;
  --gutter: clamp(1.5rem, 4.5vw, 5rem);
  --settle: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--violet);
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: var(--muted) var(--violet);
}

* { box-sizing: border-box; }

body { margin: 0; }

::selection {
  background: var(--white);
  color: var(--violet);
}

.coming-soon {
  min-height: 100svh;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
}

.site-header {
  padding-top: max(2rem, env(safe-area-inset-top));
  display: flex;
  align-items: center;
}

.wordmark {
  display: block;
  width: 6.5rem;
  height: auto;
}

.launch {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.emblem-stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 3rem 0;
}

.emblem {
  display: block;
  width: min(48svh, 40vw, 30rem);
  height: auto;
  animation: settle 1000ms var(--settle) both;
}

.announcement {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  border-top: 1px solid var(--rule);
  padding: 2rem 0 max(2.5rem, env(safe-area-inset-bottom));
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.period { color: var(--muted); }

.domain {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

@keyframes settle {
  from { transform: translateY(16px) scale(0.97); }
  to { transform: translateY(0) scale(1); }
}

@media (max-width: 600px) {
  .site-header { padding-top: max(1.5rem, env(safe-area-inset-top)); }
  .wordmark { width: 5.5rem; }
  .emblem-stage { padding: 4rem 0; }
  .emblem { width: min(54vw, 34svh); }
  .announcement {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0 max(2rem, env(safe-area-inset-bottom));
  }
  h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .domain { font-size: 0.875rem; }
}

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

.content-page {
  padding: var(--gutter);
  min-height: 100svh;
  line-height: 1.6;
}

.content-page a { color: inherit; text-underline-offset: 0.2em; }
.content-page a:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
