/* RDHive tokens — ~/rdhive-brand/DESIGN.md §7 */
:root {
  --rd-navy:#1F2333; --rd-navy-2:#2A2F42; --rd-navy-line:#3E445A;
  --rd-red:#E12D32; --rd-red-hover:#C9242A;
  --rd-text-soft:#C9CCD6; --rd-muted:#8D92A3; --rd-white:#FDFDFC;
  --rd-font:'DM Sans', Arial, sans-serif;
  --rd-gutter:clamp(1rem,5vw,6rem); --rd-max:1100px;
  /* Brand red is 3.4:1 on navy, below AA for small text; this tint is 5.6:1. */
  --rd-red-on-navy:#FF6B6F;
}

/* DM Sans (Google Fonts, SIL OFL 1.1), variable 400–700, latin subset, self-hosted */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html { background: var(--rd-navy); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 var(--rd-gutter);
  background: radial-gradient(ellipse 80% 60% at 50% 40%, var(--rd-navy-2), var(--rd-navy) 70%);
  color: var(--rd-white);
  font-family: var(--rd-font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.hero {
  flex: 1;
  width: 100%;
  max-width: var(--rd-max);
  margin: 0 auto;
  padding: 64px 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--rd-red-on-navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.contact {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rd-navy-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--rd-text-soft);
  font-style: normal;
}

.contact a {
  color: var(--rd-white);
  text-decoration: underline;
  text-decoration-color: var(--rd-navy-line);
  text-underline-offset: 4px;
}

.contact a:hover { text-decoration-color: currentColor; }

a:focus-visible {
  outline: 2px solid var(--rd-text-soft);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Arrival: fade + 12px rise, 400ms ease-out, once (DESIGN.md §6) */
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.hero { animation: rise 400ms ease-out both; }

@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; }
}
