:root {
  --bg: #050810;
  --hairline: rgba(148, 163, 184, 0.16);
  --hairline-strong: rgba(148, 163, 184, 0.30);
  --text: #f8fafc;
  --text-muted: #b8c7dd;
  --text-dim: #94a9c6;
  --accent: #38bdf8;
  --accent-bright: #7dd3fc;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Flat Header */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
}

.header-inner {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

/* Hero Grid */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-top: 36px;
  padding-bottom: 36px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
}

.subtitle {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 40ch;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #04101f;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent-bright);
}

.meta-strip {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 16px 24px;
}

.meta-strip dt {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.meta-strip dd {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}

/* Spacecraft Preview */
.preview-frame {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 16 / 9;
}

.preview-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 36px 8px var(--bg);
}

.preview-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Flat Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--bg);
}

.footer-inner {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-dim);
}

/* Mobile Layout */
@media (max-width: 860px) {
  .container {
    padding: 0 18px;
  }

  .header-inner {
    height: 54px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 22px;
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-intro {
    order: 1;
  }

  h1 {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .subtitle {
    font-size: 14.5px;
    margin-bottom: 0;
  }

  .hero-visual {
    order: 2;
  }

  .cta-row {
    order: 3;
    margin-bottom: 0;
  }

  .btn-primary {
    width: 100%;
    padding: 13px 20px;
  }

  .meta-strip {
    order: 4;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-top: 16px;
  }

  .meta-strip dd {
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary {
    transition: none;
  }
}
