:root {
  color-scheme: dark;
  --bg: #0f1217;
  --panel: #181e26;
  --line: #344150;
  --text: #f4f6f8;
  --muted: #b8c4d2;
  --green: #73d6a2;
  --gold: #f2c166;
  --coral: #f17878;
  --blue: #8fb4ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(13, 16, 22, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 0.85rem;
}

nav a {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

nav a:hover {
  color: var(--green);
}

.hero {
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding: 7rem clamp(1rem, 5vw, 5rem) 4.5rem;
  background:
    linear-gradient(90deg, rgba(13, 16, 22, 0.94), rgba(13, 16, 22, 0.56) 52%, rgba(13, 16, 22, 0.14)),
    url("assets/farstar-sector-preview.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  max-width: 9ch;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

h3 {
  font-size: 1.2rem;
}

.hero p:not(.eyebrow),
.split-band p,
.testing-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
}

.hero p:not(.eyebrow) {
  max-width: 42rem;
  margin-top: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.65rem 1rem;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: #092016;
  border-color: transparent;
}

.button.secondary {
  background: rgba(24, 30, 38, 0.8);
  color: var(--text);
}

.band,
.split-band {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  max-width: 52rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 1rem;
}

.feature-grid span {
  color: var(--gold);
  display: block;
  font-weight: 800;
  margin-bottom: 2rem;
}

.feature-grid p,
.stat-list span,
footer span {
  color: var(--muted);
  line-height: 1.45;
}

.feature-grid h3 {
  margin-bottom: 0.55rem;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  background: #141922;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-band p {
  margin-top: 1rem;
}

.stat-list {
  display: grid;
  gap: 0.75rem;
}

.stat-list div {
  border-left: 3px solid var(--blue);
  background: rgba(255, 255, 255, 0.035);
  padding: 0.8rem 1rem;
}

.stat-list strong,
.stat-list span {
  display: block;
}

.stat-list strong {
  margin-bottom: 0.3rem;
}

.testing-band {
  display: grid;
  gap: 1.4rem;
}

.testing-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 68rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.5rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 82vh;
    padding-top: 8.5rem;
    background:
      linear-gradient(180deg, rgba(13, 16, 22, 0.94), rgba(13, 16, 22, 0.74)),
      url("assets/farstar-sector-preview.png") center / cover no-repeat;
  }

  .feature-grid,
  .split-band,
  .testing-copy {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.8rem, 17vw, 4.5rem);
  }
}
