/* Cactopus coming-soon page. Colours and type from docs/product/design_system.md. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/bricolage-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/figtree-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/figtree-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F3EBDD;
  --text: #3C332D;
  --text-muted: #6E625A;
  --brand: #702C42;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stage {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 5vw, 56px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mark {
  display: block;
  width: 56px;
  height: 56px;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 900ms var(--ease-out) 80ms forwards;
}

.wordmark {
  font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--brand);
  opacity: 0;
  transform: translateY(12px);
  animation: rise 900ms var(--ease-out) 160ms forwards;
}

.copy {
  margin-top: auto;
}

.line {
  margin: 0;
  font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(3.25rem, 11vw, 9rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--brand);
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1100ms var(--ease-out) 220ms forwards;
}

.intro {
  max-width: 36ch;
  margin: clamp(20px, 3vw, 32px) 0 0;
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.5;
  color: var(--text);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1000ms var(--ease-out) 420ms forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark,
  .wordmark,
  .line,
  .intro {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
