/*
 * ScalableMC Coming-Soon Landing
 * Issue: #469 · Spec: docs/superpowers/specs/track-d/chunk-16.md §3.3
 *
 * Token values copied verbatim from:
 *   assets/design/styles/tokens.css      (typography + radii)
 *   assets/design/styles/theme-dark.css  (dark colors)
 * No @import: Caddy CSP `default-src 'self'` and the deployed `/opt/scalablemc/landing/`
 * tree does not contain the assets/design path.
 */

:root {
  /* Colors — theme-dark.css */
  --color-bg: #09090b;
  --color-text: #fafafa;
  --color-text-muted: #a1a1aa;
  --color-text-dim: #71717a;
  --color-border: #27272a;
  --orange-500: #ff6b1a;

  /* Typography — tokens.css */
  --font-headline: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Radii — tokens.css */
  --radius-md: 8px;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 2rem 1.5rem;
}

main {
  max-width: 540px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-logo {
  width: clamp(128px, 30vw, 192px);
  height: auto;
}

.wordmark {
  font: 700 2rem/1.2 var(--font-headline);
  margin: 0;
}

.wordmark .accent {
  color: var(--orange-500);
}

.tagline {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: 1rem;
}

.cta {
  display: inline-block;
  background: var(--orange-500);
  color: var(--color-bg);
  text-decoration: none;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font: 700 0.95rem/1.2 var(--font-body);
  margin-top: 1rem;
}

.cta:hover,
.cta:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
}

a {
  color: var(--color-text-muted);
}

footer {
  width: 100%;
  max-width: 540px;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-dim);
  font-size: 0.75rem;
  text-align: center;
}

footer a {
  color: var(--color-text-dim);
}

footer .copyright {
  display: block;
  margin-top: 0.5rem;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-bg);
  color: var(--color-text);
  padding: 0.75rem 1rem;
  border: 2px solid var(--orange-500);
  border-radius: var(--radius-md);
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
