/* Shared frame for the rocket hero explorations: tokens, nav, type scale, buttons, the calm text
   zone and reduced motion. Each hero sets the tokens and its own fonts, and may override any rule. */
:root {
  --bg: #0b0b0d;
  --ink: #f5f5f4;
  --muted: rgba(245, 245, 244, .74);
  --accent: #c9a24a;
  --accent-ink: #141210;
  --line: rgba(255, 255, 255, .18);
  --font-display: Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }

.rh-hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; }

.rh-nav { position: absolute; inset: 0 0 auto; z-index: 30; height: var(--nav-h); display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter); }
.rh-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 18px/1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.rh-brand img { width: 34px; height: auto; }
.rh-links { display: flex; gap: 28px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 15px; }
.rh-links a { text-decoration: none; opacity: .82; }
.rh-links a:hover { opacity: 1; }

.rh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--font-body); text-decoration: none; white-space: nowrap; background: var(--accent); color: var(--accent-ink); transition: transform .2s, box-shadow .2s, background .2s; }
.rh-btn:hover { transform: translateY(-1px); }
.rh-btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.rh-btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }

/* The calm zone holds headline, sub and CTAs. Motion never passes under it. */
.rh-calm { position: relative; z-index: 20; max-width: 660px; }
.rh-h1 { font: 700 clamp(48px, 6.6vw, 108px)/.94 var(--font-display); letter-spacing: -.03em; margin: 0 0 24px; text-wrap: balance; }
.rh-sub { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--muted); margin: 0 0 32px; max-width: 34em; text-wrap: pretty; }
.rh-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.rh-proof { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.rh-proof b { color: var(--ink); font-weight: 650; }

@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .rh-links { display: none; }
  .rh-nav .rh-btn { margin-left: auto; }
  .rh-brand span { font-size: 16px; }
  .rh-h1 { font-size: clamp(42px, 11.5vw, 62px); }
  .rh-btn { height: 50px; padding: 0 22px; }
  .rh-btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
}
