/* Holding page for the apex domain. Deliberately one file, no build step, no
   framework — it is deployed straight from the repo by ApexSiteStack's
   BucketDeployment, so anything requiring a toolchain would be a trap. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #111435;
  --muted: #5b5f7a;
  --link: #2f3ba8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111435;
    --fg: #f4f5fb;
    --muted: #a7abc7;
    --link: #aab4ff;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  max-width: 34rem;
  padding: 2rem 1.5rem;
  text-align: center;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.contact {
  margin-top: 1.5rem;
}

a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

a:hover,
a:focus-visible {
  opacity: 0.75;
}
