/* Netovation: coming-soon placeholder.
   One static stylesheet: no inline styles (strict CSP), no external requests,
   system fonts only. Light by default, dark through prefers-color-scheme. */

:root {
  color-scheme: light dark;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Ubuntu Sans", Ubuntu, system-ui, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --bg: #f6f7f9;
  --fg: #0e1726;
  --fg-2: #2a3547;
  --muted: #4c566a;
  --faint: #5c6679;
  --accent: #2563eb;
  --glow-1: rgb(37 99 235 / 0.13);
  --glow-2: rgb(14 165 233 / 0.12);
  --grid: rgb(14 23 38 / 0.055);
  --pill-bg: rgb(255 255 255 / 0.7);
  --pill-line: rgb(14 23 38 / 0.1);
  --cell: 48px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d14;
    --fg: #eef2f8;
    --fg-2: #c3ccda;
    --muted: #aab4c5;
    --faint: #8b95a7;
    --accent: #60a5fa;
    --glow-1: rgb(59 130 246 / 0.17);
    --glow-2: rgb(14 165 233 / 0.09);
    --grid: rgb(238 242 248 / 0.045);
    --pill-bg: rgb(255 255 255 / 0.04);
    --pill-line: rgb(255 255 255 / 0.1);
  }
}

@media (min-width: 48em) {
  :root {
    --cell: 64px;
  }
}

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

html {
  background: var(--bg);
  color: var(--fg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  font: 400 1rem/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgb(37 99 235 / 0.2);
}

/* Background: a soft pool of light behind the wordmark and a faint grid that fades out. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(60% 50% at 45% 38%, var(--glow-1), transparent 70%),
    radial-gradient(48% 42% at 58% 50%, var(--glow-2), transparent 70%);
}

body::after {
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-position: center;
  background-size: var(--cell) var(--cell);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 42%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 42%, #000 20%, transparent 75%);
}

main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}

h1,
p {
  margin: 0;
}

.wordmark {
  font-size: clamp(2.75rem, 1.5rem + 6.6vw, 8.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.headline {
  max-width: 30ch;
  margin-top: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
  color: var(--fg-2);
  font-size: clamp(1.25rem, 1rem + 1.1vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  padding: 0.5rem clamp(0.75rem, 0.5rem + 1vw, 1.125rem);
  border: 1px solid var(--pill-line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--muted);
  font-size: clamp(0.875rem, 0.8rem + 0.25vw, 1rem);
  line-height: 1.4;
  text-align: left;
}

.status::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Ready for the contact line that goes below the status (see index.html). */
.contact {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--fg);
}

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

footer {
  padding: 1.5rem 1rem 2rem;
  color: var(--faint);
  font-size: 0.8125rem;
  text-align: center;
}

/* Motion: one entrance (the wordmark comes into focus, the lines follow) and a
   slow status pulse. Only for visitors who have not asked for reduced motion. */
@keyframes glow-in {
  from {
    opacity: 0;
  }
}

@keyframes focus-in {
  from {
    opacity: 0;
    filter: blur(0.5rem);
    transform: scale(0.98);
  }
}

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

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body::before {
    animation: glow-in 1.6s ease-out backwards;
  }

  .wordmark {
    animation: focus-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }

  .headline,
  .status {
    animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
  }

  .status {
    animation-delay: 0.4s;
  }

  .status::before {
    animation: pulse 2.4s ease-in-out 1.4s 2;
  }
}

@media (prefers-contrast: more) {
  :root {
    --fg-2: var(--fg);
    --muted: var(--fg);
    --faint: var(--fg);
    --pill-line: currentColor;
  }
}

@media (prefers-color-scheme: dark) {
  ::selection {
    background: rgb(96 165 250 / 0.3);
  }
}

@media (forced-colors: active) {
  body::before,
  body::after {
    display: none;
  }

  .status::before {
    forced-color-adjust: none;
    background: CanvasText;
  }
}
