/* The coming-soon page. Light and dark follow the visitor's setting; system fonts only, nothing from other sites. */
:root {
  --bg: #f7f6f2;
  --text: #1c1f24;
  --muted: #5a6270;
  --accent: #0b6b5d;
  --rule: #d9d6cc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --text: #eceae4;
    --muted: #a3abb8;
    --accent: #5fd0bd;
    --rule: #2c3036;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

main {
  width: 100%;
  max-width: 40rem;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.soon {
  margin: 1.25rem auto 0;
  padding-top: 1.25rem;
  max-width: 12rem;
  border-top: 2px solid var(--rule);
  color: var(--muted);
  font-size: clamp(1.125rem, 4vw, 1.375rem);
  letter-spacing: 0.04em;
}

.contact {
  margin: 2.5rem 0 0;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: rise 600ms ease-out both;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(0.5rem);
    }
  }
}
