:root {
  --bg: #04131f;
  --bg2: #071d2e;
  --panel: rgba(8, 31, 47, 0.82);
  --line: rgba(77, 203, 231, 0.22);
  --text: #f5f2ea;
  --muted: #9fb7c5;
  --cyan: #13c8e8;
  --orange: #ff9d1f;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 68% 5%, rgba(0, 175, 214, 0.10), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--max))/2));
  background: rgba(3, 15, 25, 0.74);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .04em; }
.brand-mark {
  width: 34px; height: 34px; border: 3px solid var(--orange); border-radius: 50%;
  display: grid; place-items: center; color: var(--cyan); box-shadow: 0 0 22px rgba(19,200,232,.24);
}
.accent { color: var(--orange); }
nav { display: flex; gap: 28px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
nav a { color: #bdd0db; }
nav a:hover { color: white; }

.hero {
  min-height: 860px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.hero-image {
  position: absolute; inset: 0;
  background-image: url('/assets/orbitbot-cover.png');
  background-position: center center;
  background-size: cover;
  transform: scale(1.015);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(2,13,22,.94) 0%, rgba(2,13,22,.66) 42%, rgba(2,13,22,.28) 72%, rgba(2,13,22,.42) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 33%, rgba(3,17,27,.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 180px 0 110px;
}
.eyebrow { color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .22em; }
h1 {
  max-width: 980px;
  margin: 18px 0 24px;
  font-size: clamp(50px, 7.2vw, 105px);
  line-height: .93;
  letter-spacing: -.055em;
  font-weight: 900;
}
h1 span { color: var(--orange); }
.hero-copy { max-width: 780px; color: #d3e1e8; font-size: clamp(18px, 2vw, 24px); line-height: 1.55; }
.cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.button { padding: 14px 20px; border-radius: 8px; font-weight: 800; font-size: 14px; }
.button.primary { background: var(--orange); color: #071522; }
.button.secondary { border: 1px solid rgba(255,255,255,.22); background: rgba(5,22,35,.55); }

.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 110px 0; }
.section-title { max-width: 850px; margin-bottom: 42px; }
.section-title > span { color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .22em; }
h2 { margin: 12px 0 0; font-size: clamp(34px, 5vw, 66px); line-height: 1.03; letter-spacing: -.035em; }

.mission-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; }
.logo-card, .copy-card, .stack-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(10,37,55,.88), rgba(4,20,32,.84));
  border-radius: 18px;
}
.logo-card { padding: 18px; display: grid; place-items: center; overflow: hidden; }
.logo-card img { width: 100%; display: block; border-radius: 12px; }
.copy-card { padding: clamp(28px, 4vw, 54px); }
.lead { font-size: clamp(20px, 2.4vw, 31px); line-height: 1.4; margin-top: 0; }
.copy-card > p:last-child { color: var(--muted); line-height: 1.7; }
.capabilities { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0; }
.capabilities span { border: 1px solid rgba(19,200,232,.28); color: #c5f2fb; padding: 8px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .07em; }

.architecture { border-top: 1px solid rgba(255,255,255,.06); }
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.stack-card { padding: 26px; min-height: 285px; transition: transform .2s ease, border-color .2s ease; }
a.stack-card:hover { transform: translateY(-4px); border-color: rgba(19,200,232,.5); }
.stack-card.active { border-color: rgba(255,157,31,.6); box-shadow: inset 0 0 0 1px rgba(255,157,31,.10); }
.node { color: var(--orange); font-weight: 900; font-size: 12px; letter-spacing: .15em; }
.stack-card h3 { font-size: 25px; margin: 44px 0 12px; }
.stack-card p { color: var(--muted); line-height: 1.6; margin-bottom: 0; }
.doctrine {
  margin-top: 22px;
  padding: 26px 30px;
  border-left: 3px solid var(--orange);
  background: rgba(255,157,31,.05);
  font-size: clamp(18px, 2vw, 25px);
}
.doctrine p { margin: 6px 0; }

.manifest {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: end;
  border-top: 1px solid rgba(255,255,255,.06);
}
.manifest p { color: var(--muted); font-size: 18px; line-height: 1.8; }

footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 50px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #7895a5;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}
.footer-links { display: flex; gap: 22px; }

@media (max-width: 900px) {
  nav a:nth-child(-n+2) { display: none; }
  .mission-grid, .manifest { grid-template-columns: 1fr; }
  .stack { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 760px; }
}
@media (max-width: 620px) {
  .site-header { padding: 0 18px; }
  nav { gap: 14px; font-size: 11px; }
  .hero-content, .section, footer { width: min(100% - 32px, var(--max)); }
  .hero-content { padding-bottom: 72px; }
  .stack { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}
