:root {
  color-scheme: dark;
  --bg: #071014;
  --panel: rgba(17, 29, 35, 0.72);
  --panel-solid: #111d23;
  --text: #eef7f8;
  --muted: #9db3b7;
  --line: rgba(167, 223, 227, 0.18);
  --cyan: #48f0ff;
  --green: #75f3a2;
  --amber: #f0c36a;
  --rose: #ff7d9b;
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, rgba(72, 240, 255, 0.16), transparent 32rem),
    radial-gradient(circle at 82% 0%, rgba(117, 243, 162, 0.12), transparent 28rem),
    linear-gradient(135deg, #071014 0%, #0d181b 48%, #090d11 100%);
  color: var(--text);
}

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

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(72, 240, 255, 0.5);
  background: linear-gradient(145deg, rgba(72, 240, 255, 0.22), rgba(117, 243, 162, 0.12));
  box-shadow: 0 0 32px rgba(72, 240, 255, 0.25);
  color: var(--cyan);
  font-weight: 900;
}

.nav {
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
  padding: 48px 0 86px;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
}

.button.primary {
  border-color: rgba(72, 240, 255, 0.68);
  background: var(--cyan);
  color: #061014;
  box-shadow: 0 16px 48px rgba(72, 240, 255, 0.18);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.orbital-panel {
  position: relative;
  min-height: 500px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(72, 240, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 240, 255, 0.06) 1px, transparent 1px),
    rgba(9, 22, 27, 0.68);
  background-size: 28px 28px;
  overflow: hidden;
  box-shadow: inset 0 0 80px rgba(72, 240, 255, 0.08), 0 28px 80px rgba(0, 0, 0, 0.26);
}

.signal-grid {
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(117, 243, 162, 0.2);
}

.orbit {
  position: absolute;
  inset: 74px;
  border: 1px solid rgba(72, 240, 255, 0.34);
  border-radius: 50%;
}

.orbit-two {
  inset: 128px 74px 92px 118px;
  border-color: rgba(240, 195, 106, 0.34);
  transform: rotate(-18deg);
}

.core {
  position: absolute;
  inset: 50%;
  display: grid;
  place-items: center;
  width: 154px;
  height: 154px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(72, 240, 255, 0.72);
  background: radial-gradient(circle, rgba(72, 240, 255, 0.28), rgba(9, 22, 27, 0.92) 70%);
  box-shadow: 0 0 64px rgba(72, 240, 255, 0.32);
  text-align: center;
}

.core span {
  display: block;
  font-size: 42px;
  font-weight: 900;
}

.core small {
  display: block;
  color: var(--green);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.metric {
  position: absolute;
  display: grid;
  gap: 6px;
  min-width: 126px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(6, 14, 18, 0.78);
}

.metric span {
  color: var(--muted);
  font-size: 12px;
}

.metric strong {
  font-size: 30px;
}

.metric-a {
  top: 58px;
  right: 44px;
}

.metric-b {
  left: 42px;
  bottom: 54px;
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.intro {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: start;
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.post-card {
  min-height: 286px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 29, 35, 0.88), rgba(11, 19, 23, 0.86));
}

.post-card h3 {
  margin: 22px 0 14px;
  font-size: 24px;
  line-height: 1.28;
}

.post-card p {
  color: var(--muted);
  line-height: 1.75;
}

.post-card time {
  display: block;
  margin-top: 30px;
  color: var(--amber);
  font-size: 13px;
}

.lab {
  padding-bottom: 52px;
}

.lab-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.lab-list > div {
  display: grid;
  grid-template-columns: 80px 0.7fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: rgba(7, 16, 20, 0.92);
}

.lab-list span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
}

.lab-list h3 {
  margin: 0;
  font-size: 22px;
}

.lab-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 44px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-shell {
    width: min(100% - 28px, 680px);
  }

  .topbar {
    min-height: 68px;
  }

  .nav {
    gap: 16px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 46px 0 68px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

  .orbital-panel {
    min-height: 390px;
  }

  .intro,
  .post-grid,
  .lab-list > div {
    grid-template-columns: 1fr;
  }

  .post-card {
    min-height: auto;
  }

  .section-heading,
  .footer {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav {
    display: none;
  }

  .hero-text,
  .intro p:last-child {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .orbital-panel {
    min-height: 330px;
  }

  .metric {
    min-width: 104px;
    padding: 12px;
  }

  .metric strong {
    font-size: 24px;
  }
}
