:root {
  --background: #f6f3ec;
  --surface-glow: #e7eee7;
  --foreground: #17241f;
  --muted: #52635c;
  --accent: #315d4b;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101714;
    --surface-glow: #1b2a23;
    --foreground: #f3f2ec;
    --muted: #b8c5bf;
    --accent: #9bc6b2;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

.site-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.site-shell::before {
  position: absolute;
  z-index: -1;
  width: min(68rem, 110vw);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--surface-glow) 78%, transparent) 0 35%,
    transparent 68%
  );
  content: "";
  inset: auto -34rem -42rem auto;
}

.brand {
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.coming-soon {
  align-self: center;
  width: min(100%, 54rem);
  padding-block: clamp(4rem, 11vh, 8.5rem);
}

h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 6.8rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.introduction {
  max-width: 43rem;
  margin: clamp(2rem, 5vw, 3.4rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: clamp(2rem, 5vw, 3.2rem) 0 0;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.status::before {
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-content: center;
  gap: 1.5rem;
  padding: 2rem;
  text-align: center;
}

.not-found h1,
.not-found p {
  margin: 0;
}

.not-found a {
  color: var(--accent);
  font-weight: 650;
  text-underline-offset: 0.25em;
}

.not-found a:focus-visible {
  border-radius: 0.2rem;
  outline: 3px solid var(--accent);
  outline-offset: 0.3rem;
}

@media (max-width: 32rem) {
  .site-shell {
    padding: 1.5rem;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
