/* Ships in Orbit Studio: one stylesheet for every page. */
:root {
  --space: #0B1530;
  --panel: #131F42;
  --line: #24335E;
  --text: #E8ECF7;
  --muted: #B8C2DE;
  --coral: #FF7A59;
  --coral-soft: #FFB199;
  --radius: 18px;
  --wrap: 1120px;
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--space);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; line-height: 1.6; background: var(--space); color: var(--text); }
img, svg { max-width: 100%; }
a { color: var(--coral-soft); }
a:hover { color: #FFD3C4; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--coral); color: var(--space); padding: 8px 14px; border-radius: 8px; font-weight: 600; z-index: 10; }
.skip:focus { left: 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; }
.brand-studio { color: var(--coral); font-weight: 600; letter-spacing: 0.2em; font-size: 12px; text-transform: uppercase; margin-left: 4px; }
.site-header nav { display: flex; gap: 8px; flex-wrap: wrap; }
.site-header nav a, .site-footer nav a { color: var(--muted); text-decoration: none; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--text); background: var(--panel); }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--coral); font-weight: 600; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(36px, 6vw, 60px); line-height: 1.06; letter-spacing: -0.02em; }
.lede { margin: 20px 0 0; font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 34em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--coral); color: var(--space); font-weight: 700; text-decoration: none; }
.button:hover { background: #FF9477; color: var(--space); }
.button-quiet { background: transparent; color: var(--text); border: 1px solid var(--line); }
.button-quiet:hover { background: var(--panel); color: var(--text); }
.orbit-art { width: 100%; height: auto; display: block; }
.rocket { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .rocket-a { animation: drift 6s ease-in-out infinite; }
  .rocket-b { animation: drift 7s ease-in-out infinite reverse; }
  .stars { animation: twinkle 5s ease-in-out infinite; }
}
@keyframes drift { 50% { translate: 0 -6px; } }
@keyframes twinkle { 50% { opacity: 0.55; } }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: #0E1A3A; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { margin: 0; font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.01em; line-height: 1.15; }
.section-lede { margin: 12px 0 0; color: var(--muted); max-width: 40em; font-size: 17px; }
h3 { margin: 0; font-size: 21px; line-height: 1.25; }

.fleet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.ship-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ship-card p { margin: 0; color: var(--muted); }
.ship-card-empty { background: transparent; border-style: dashed; }
.ship-head { display: flex; align-items: center; gap: 16px; }
.app-icon { flex: none; }
.status { margin: 4px 0 0 !important; font-size: 14px; color: var(--coral-soft) !important; }
.text-link { margin-top: auto; font-size: 15px; font-weight: 600; }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.principle { border-top: 2px solid var(--coral); padding-top: 20px; }
.principle p { margin: 10px 0 0; color: var(--muted); }

.contact { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.contact .button { margin-top: 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 20px 0; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 4px; flex-wrap: wrap; }

/* Long-form pages (privacy) */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 24px; margin-top: 40px; }
.doc p, .doc li { color: var(--muted); font-size: 17px; }
.doc strong { color: var(--text); }
.doc .updated { color: var(--coral-soft); font-size: 15px; margin-top: 12px; }

@media (max-width: 860px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }
  .fleet, .principles { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
