/* HotSky coming-soon page. Palette from docs/BRAND.md: near-black ground, the flame orange as
   identity (never as body text on light), warm off-white type. System fonts only — the CSP
   (deploy/terraform/marketing.tf) allows same-origin resources and nothing else. */

:root {
  --bg: #171717;
  --bg-raised: #1f1f1f;
  --fg: #f5f5f4;
  --fg-muted: #a8a29e;
  --brand: #ff7a37;
  --brand-deep: #f56b27;
  --rule: #2a2a2a;
  color-scheme: dark;
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(60rem 30rem at 50% -10rem, rgba(245, 107, 39, 0.18), transparent 60%),
    var(--bg);
  color: var(--fg);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.hero {
  flex: 1;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 7rem) 1.5rem 3rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg);
  text-decoration: none;
  margin-bottom: clamp(2.5rem, 8vh, 5rem);
}

.mark {
  color: var(--brand-deep);
  flex: none;
}

.wordmark {
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

h1 {
  margin: 0 0 2.5rem;
  font-size: clamp(2rem, 5.2vw, 3.125rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

h1 em {
  font-style: normal;
  color: var(--brand);
}

/* Three deliberate lines once there is room; on narrow screens the spans flow as prose. */
@media (min-width: 48em) {
  h1 .line {
    display: block;
  }
}

.lede {
  margin: 0 0 2.5rem;
  max-width: 38rem;
  color: var(--fg-muted);
  font-size: 1.125rem;
}

.cta {
  margin: 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  background: var(--bg-raised);
  color: var(--fg-muted);
  display: inline-block;
}

.cta a {
  color: var(--fg);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brand-deep);
  text-underline-offset: 0.2em;
}

.cta a:hover,
.cta a:focus-visible {
  color: var(--brand);
}

.footer {
  padding: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--fg-muted);
  font-size: 0.875rem;
  text-align: center;
}

.footer p {
  margin: 0;
}

.error h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

.error .code {
  display: block;
  font-size: 5rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--brand-deep);
  margin-bottom: 0.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  .cta a {
    transition: color 120ms ease;
  }
}
