@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Variable.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
  font-style: normal;
}

:root {
  color-scheme: light;
  --bg: oklch(1 0 0);
  --surface: oklch(0.972 0.012 204.5);
  --ink: oklch(0.245 0.052 204.5);
  --muted: oklch(0.425 0.038 204.5);
  --primary: oklch(0.654 0.041 204.5);
  --primary-deep: oklch(0.405 0.055 204.5);
  --rose: oklch(0.705 0.095 22.2);
  --rose-soft: oklch(0.955 0.027 22.2);
  --rose-deep: oklch(0.405 0.082 22.2);
  --sun: oklch(0.877 0.174 92.5);
  --line: oklch(0.89 0.024 204.5);
  --white: oklch(1 0 0);
  --text-sm: 0.9375rem;
  --text-base: 1rem;
  --text-display: clamp(2.65rem, 7vw, 5rem);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100%;
  margin: 0;
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: var(--text-base);
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: auto clamp(1rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem) auto;
  width: clamp(6rem, 13vw, 11rem);
  aspect-ratio: 1;
  content: "";
  background: var(--sun);
  border-radius: 50%;
  opacity: 0.22;
  pointer-events: none;
  transform: rotate(-10deg);
  animation: slow-turn 22s ease-in-out infinite alternate;
  z-index: 0;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 4rem);
}

.coming-soon {
  position: relative;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.brand-mark {
  position: absolute;
  top: clamp(-3.25rem, -4vw, -1.5rem);
  right: 0;
  width: clamp(15rem, 27vw, 27rem);
  animation: rise-in 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
  z-index: 0;
}

.brand-mark::after {
  position: absolute;
  inset: 44% -4% auto auto;
  width: clamp(4rem, 8vw, 6.5rem);
  aspect-ratio: 1;
  content: "";
  background: var(--rose);
  border-radius: 50%;
  opacity: 0.18;
  transform: translateY(-50%);
  z-index: -1;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.copy {
  position: relative;
  z-index: 1;
  max-width: min(100%, 54rem);
  animation: rise-in 760ms 90ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.status {
  width: fit-content;
  margin: 0 0 clamp(1.1rem, 3vw, 1.8rem);
  padding: 0.46rem 0.72rem;
  color: var(--rose-deep);
  background: var(--rose-soft);
  border: 1px solid color-mix(in oklch, var(--rose) 50%, var(--white));
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 560;
  line-height: 1;
  letter-spacing: 0.01em;
}

h1 {
  max-width: 13.5ch;
  margin: 0;
  color: var(--ink);
  font-family:
    "Montserrat",
    system-ui,
    sans-serif;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 1.2;
  font-weight: 620;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 > span {
  display: block;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  margin-top: clamp(1.45rem, 3.5vw, 2.35rem);
}

.primary-link {
  display: inline-flex;
  min-height: 3rem;
  gap: 0.48rem;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.2rem;
  color: var(--white);
  background: var(--primary-deep);
  border-radius: 999px;
  font-weight: 590;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.primary-link img {
  width: 1.15rem;
  height: 1.15rem;
  filter: brightness(0) invert(1);
}

.primary-link:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.primary-link:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.actions p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.5;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-turn {
  from {
    transform: rotate(-10deg) scale(1);
  }
  to {
    transform: rotate(7deg) scale(1.05);
  }
}

@media (min-width: 761px) {
  .coming-soon {
    width: min(100%, 1180px);
  }

  .brand-mark {
    width: clamp(17rem, 29vw, 30rem);
    top: clamp(-3.75rem, -5vw, -2rem);
  }

  .copy {
    max-width: min(68vw, 56rem);
    padding-top: 0;
    transform: none;
  }

  h1 {
    max-width: 22ch;
    font-size: clamp(3.25rem, 5.35vw, 5.2rem);
  }

  h1 > span {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .site-shell {
    align-items: flex-start;
    padding-block: clamp(1.4rem, 7vw, 3rem);
  }

  .brand-mark {
    position: relative;
    top: auto;
    right: auto;
    width: min(76vw, 17rem);
    margin-bottom: clamp(1.6rem, 8vw, 2.75rem);
  }

  h1 {
    max-width: 13ch;
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
