:root {
  color-scheme: dark;
  --bg: #05070c;
  --text: #f3f5f7;
  --muted: #aab1bd;
  --line: rgba(255,255,255,.14);
  --glass: rgba(5,7,12,.48);
  --accent: #e4543f;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); }
body {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #030509;
}

.hero-bg {
  position: absolute;
  inset: -3%;
  background-image: url("assets/hero-startrails.jpg");
  background-position: center center;
  background-size: cover;
  filter: saturate(.92) contrast(1.06) brightness(.77);
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
  z-index: -3;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 48%, transparent 0 18%, rgba(0,0,0,.18) 50%, rgba(0,0,0,.64) 100%),
    linear-gradient(90deg, rgba(2,4,8,.90) 0%, rgba(2,4,8,.66) 38%, rgba(2,4,8,.18) 72%, rgba(2,4,8,.48) 100%),
    linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.25));
  z-index: -2;
}

.content {
  width: min(1180px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 78px) 0 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  width: clamp(112px, 13vw, 170px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  margin-bottom: clamp(36px, 8vh, 86px);
}

.copy { max-width: 790px; }
.eyebrow {
  margin: 0 0 18px;
  font-size: clamp(.68rem, 1vw, .82rem);
  letter-spacing: .24em;
  color: #d6d9df;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 540;
  text-wrap: balance;
  text-shadow: 0 5px 35px rgba(0,0,0,.35);
}

.lead {
  margin: 28px 0 0;
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: rgba(7,10,16,.44);
  backdrop-filter: blur(12px);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  background: rgba(20,24,32,.74);
  border-color: rgba(255,255,255,.32);
}
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.socials span { font-size: .84rem; }

footer {
  margin-top: auto;
  padding-top: 70px;
  color: #8f96a2;
  font-size: .78rem;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(228,84,63,.7);
}

@keyframes drift {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to   { transform: scale(1.07) translate3d(-.5%, -.4%, 0); }
}

@media (max-width: 720px) {
  .content {
    width: min(100% - 30px, 1180px);
    padding-top: 24px;
  }
  .hero-bg { background-position: 54% center; }
  .overlay {
    background:
      linear-gradient(180deg, rgba(2,4,8,.40) 0%, rgba(2,4,8,.66) 30%, rgba(2,4,8,.90) 100%),
      linear-gradient(90deg, rgba(2,4,8,.45), rgba(2,4,8,.15));
  }
  .logo { width: 104px; margin-bottom: 28px; }
  h1 { font-size: clamp(3.1rem, 15vw, 5.1rem); }
  .lead { font-size: .98rem; line-height: 1.6; }
  .socials { margin-top: 30px; gap: 8px; }
  .socials a { padding: 0 13px; min-height: 43px; }
  .socials span { display: none; }
  .socials svg { width: 19px; height: 19px; }
  footer { padding-top: 48px; font-size: .70rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .socials a { transition: none; }
}
