:root {
  color-scheme: dark;
  --bg: #0a0d12;
  --surface: #111720;
  --line: #27303c;
  --text: #f6f7f9;
  --muted: #9ba7b5;
  --accent: #82f6c1;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 18%, rgb(45 124 98 / 22%), transparent 30rem),
    radial-gradient(circle at 12% 70%, rgb(46 76 120 / 18%), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: .02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #426557;
  border-radius: 10px;
  color: var(--accent);
  background: #11241e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgb(130 246 193 / 72%);
}

main {
  flex: 1;
  padding-block: clamp(72px, 11vw, 142px) 92px;
}

.hero {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--accent);
  font: 600 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 98px);
  line-height: .98;
  letter-spacing: -.055em;
}

.intro {
  max-width: 620px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(72px, 10vw, 132px);
}

.topics article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(17 23 32 / 72%);
  backdrop-filter: blur(12px);
}

.topics span {
  color: var(--accent);
  font: 500 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.topics h2 {
  margin: 54px 0 10px;
  font-size: 20px;
}

.topics p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

footer {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer p {
  margin: 0;
}

footer a {
  text-underline-offset: 4px;
  transition: color .2s ease;
}

footer a:hover,
footer a:focus-visible {
  color: var(--accent);
}

@media (max-width: 720px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

  .status {
    display: none;
  }

  main {
    padding-top: 64px;
  }

  .topics {
    grid-template-columns: 1fr;
  }

  .topics article {
    min-height: auto;
  }

  .topics h2 {
    margin-top: 34px;
  }

  footer {
    padding-block: 20px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
