:root {
  --navy: #0F2547;
  --navy-deep: #091830;
  --crimson: #B3122E;
  --crimson-light: #E8364F;
  --ice: #E6EDF5;

  --bg: #FFFFFF;
  --bg-alt: #F3F6FA;
  --text: #1A2433;
  --muted: #55627A;
  --heading: var(--navy);
  --accent: var(--crimson);
  --border: #DCE3EC;
  --card: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1526;
    --bg-alt: #0F1D33;
    --text: #D5DEE9;
    --muted: #93A3BA;
    --heading: var(--ice);
    --accent: var(--crimson-light);
    --border: #22324D;
    --card: #12223B;
  }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); }

h1, h2, h3 {
  font-family: "Orbitron", "Inter", sans-serif;
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h2 { font-size: 1.6rem; font-weight: 900; letter-spacing: 0.02em; }
h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; }

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

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 80% 40%, #16335F 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--ice);
  padding-bottom: 96px;
}

.orbits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.orbits ellipse { fill: none; stroke: rgba(230, 237, 245, 0.10); stroke-width: 1.2; }
.orbits .sat { fill: var(--crimson-light); }

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.brand img { height: 48px; width: auto; }
.nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  color: var(--ice);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.85;
}
.nav a:hover { opacity: 1; }

.hero-body {
  position: relative;
  padding-top: 72px;
  max-width: 1080px;
}
.eyebrow {
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson-light);
  margin: 0 0 16px;
}
.hero h1 {
  color: #fff;
  font-weight: 900;
  font-size: clamp(1.35rem, 4.2vw, 2.8rem);
  max-width: 24ch;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.lede {
  font-size: 1.15rem;
  max-width: 56ch;
  color: rgba(230, 237, 245, 0.85);
  margin: 0 0 36px;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 6px;
  background: var(--crimson);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #9A0F27; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* Sections */

.section { padding: 88px 24px; }
.section.alt { background: var(--bg-alt); padding-left: 0; padding-right: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
}
.card h3 { position: relative; padding-left: 22px; }
.card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 9px;
  height: 9px;
  background: var(--accent);
  transform: rotate(45deg);
}
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.pubs {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.pubs li {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 22px 24px;
}
.pubs a {
  color: var(--heading);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.45;
  text-decoration: none;
}
.pubs a:hover { color: var(--accent); text-decoration: underline; }
.pubs a::after { content: " \2197"; color: var(--accent); }
.pub-meta { margin: 8px 0 0; color: var(--muted); font-size: 0.93rem; }

.about {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
  align-items: start;
}
.about p { max-width: 62ch; }
.mark-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .mark-light { display: none; }
  .mark-dark { display: block; }
}

.contact { text-align: center; }
.contact p { color: var(--muted); margin-bottom: 28px; }

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer p { margin: 0; }

/* Small screens */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 16px; }
  .brand img { height: 38px; }
  .nav ul { gap: 16px; }
  .nav a { font-size: 0.88rem; }
  .hero-body { padding-top: 40px; }
  .hero { padding-bottom: 72px; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about-mark { width: 72px; }
}

@media (max-width: 420px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 16px; }
}
