:root {
  color-scheme: dark;
  --bg: #06070b;
  --panel: rgba(16, 18, 28, 0.92);
  --panel-2: rgba(22, 25, 39, 0.88);
  --text: #eef3ff;
  --muted: #9aa7c7;
  --cyan: #00d8ff;
  --amber: #ffcb74;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(0, 216, 255, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 128, 90, 0.10), transparent 30%),
    linear-gradient(180deg, #080a11 0%, #04050a 100%);
  color: var(--text);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  padding: 32px 18px 56px;
}

.shell {
  width: min(860px, 100%);
}

.hero {
  background: linear-gradient(180deg, rgba(17, 20, 34, 0.94), rgba(10, 12, 20, 0.9));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 28px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.06;
}

.sub {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 640px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 216, 255, 0.28);
  box-shadow: 0 26px 84px rgba(0, 0, 0, 0.55);
}

.card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.card span {
  color: var(--muted);
}

.article {
  background: linear-gradient(180deg, rgba(12, 15, 24, 0.96), rgba(10, 12, 20, 0.92));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.article h2 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.article h2:first-of-type {
  margin-top: 16px;
}

.article p,
.article li {
  color: #d8def0;
}

.article ul {
  padding-left: 22px;
}

.top-link {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--amber);
  text-decoration: none;
}

.top-link:hover {
  text-decoration: underline;
}

.meta {
  color: var(--muted);
  margin-top: 10px;
}

.footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
