:root {
  --bg: #000000;
  --panel: #0b0b12;
  --panel-2: #121212;
  --line: rgba(126, 158, 255, 0.16);
  --line-soft: rgba(126, 158, 255, 0.09);
  --txt: #e9edf7;
  --dim: #97a3bd;
  --neon: #6ea8ff;
  --radius: 28px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #000000;
  background-image:
    radial-gradient(920px 520px at 76% -10%, rgba(44, 72, 138, 0.34), transparent 62%),
    radial-gradient(700px 460px at 4% 14%, rgba(28, 50, 106, 0.22), transparent 64%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--txt);
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', 'Noto Sans SC', 'PingFang SC', sans-serif;
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
}

img,
svg {
  max-width: 100%;
}

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

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 顶部细条 ---------- */
.ticker {
  display: flex;
  justify-content: center;
  padding: 9px 14px;
  background: linear-gradient(90deg, #080e1e, #101c36 50%, #080e1e);
  border-bottom: 1px solid var(--line-soft);
}

.ticker-line {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  letter-spacing: 0.09em;
  color: #a7bce0;
}

/* ---------- 品牌行 ---------- */
.brand-row {
  display: flex;
  justify-content: center;
  padding: 14px 14px 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 20px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(14, 15, 24, 0.66);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
  background: linear-gradient(145deg, #2c5ac4, #9dc0ff);
  box-shadow: 0 0 16px rgba(110, 168, 255, 0.42);
}

/* ---------- 胶囊菜单 ---------- */
.menu {
  padding: 6px 10px 14px;
}

.menu ul {
  list-style: none;
  margin: 0 auto;
  padding: 4px 0;
  max-width: 1080px;
  display: flex;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.menu ul::-webkit-scrollbar {
  display: none;
}

.menu a.pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(16, 17, 27, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--dim);
  font-size: 16px;
  white-space: nowrap;
  transition: color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.menu a.pill:hover,
.menu a.pill:focus-visible {
  color: #ffffff;
  border-color: rgba(110, 168, 255, 0.58);
  box-shadow: 0 0 18px rgba(110, 168, 255, 0.28);
}

/* ---------- 首屏 ---------- */
.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 14px 6px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 45vh;
  padding: 34px 20px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(13, 14, 22, 0.56);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(26px, 6.2vw, 44px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-shadow: 0 0 22px rgba(110, 168, 255, 0.32);
}

.hero-desc {
  margin: 0;
  max-width: 54ch;
  color: var(--dim);
  font-size: 16px;
}

.hero-img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: 22px;
}

/* ---------- 正文骨架 ---------- */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 14px 54px;
}

.body-sec {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.body-sec > div {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

/* ---------- 侧栏 ---------- */
.side {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 18px;
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: rgba(12, 13, 21, 0.62);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.side small {
  display: block;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #7d94b8;
}

.side h2 {
  margin: 4px 0 12px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.side-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--dim);
  font-size: 16px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.side-list a:hover,
.side-list a:focus-visible {
  color: #ffffff;
  background: rgba(110, 168, 255, 0.1);
  border-color: var(--line);
}

/* ---------- 正文排版 ---------- */
.prose {
  min-width: 0;
}

.prose :where(article) {
  padding: 24px 20px;
  margin: 0 0 18px;
  border-radius: 24px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(18, 18, 25, 0.88), rgba(8, 8, 12, 0.88));
  scroll-margin-top: 22px;
}

.prose :where(article:last-child) {
  margin-bottom: 0;
}

.prose :where(small) {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #7ea8ff;
}

.prose :where(h2, h3) {
  margin: 0 0 10px;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.prose :where(h2) {
  font-size: clamp(20px, 3.2vw, 25px);
  text-shadow: 0 0 18px rgba(110, 168, 255, 0.26);
}

.prose :where(h3) {
  font-size: 18px;
  color: #dfe6f5;
}

.prose :where(p) {
  margin: 0 0 14px;
  color: #c3cbdb;
}

.prose :where(p:last-child) {
  margin-bottom: 0;
}

.prose :where(ul, ol) {
  margin: 0 0 14px;
  padding-left: 1.25em;
  color: #c3cbdb;
}

.prose :where(li) {
  margin-bottom: 6px;
}

.prose :where(a) {
  color: #8fbaff;
  border-bottom: 1px solid rgba(143, 186, 255, 0.36);
}

.prose :where(strong) {
  color: #ffffff;
}

.prose :where(img) {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 14px 0;
  border-radius: 20px;
}

.prose :where(blockquote) {
  margin: 0 0 14px;
  padding: 12px 16px;
  border-left: 3px solid #3a63b8;
  border-radius: 0 14px 14px 0;
  background: rgba(58, 99, 184, 0.1);
  color: #aeb9cf;
}

.prose :where(table) {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.prose :where(th, td) {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

/* ---------- 页脚 ---------- */
.site-foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px 14px 40px;
  border-top: 1px solid var(--line-soft);
}

.f-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 18px 22px;
  align-items: start;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: rgba(12, 13, 21, 0.58);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.f-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.f-text {
  margin: 8px 0 0;
  color: var(--dim);
  font-size: 16px;
}

.f-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.f-form input {
  flex: 1 1 150px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.62);
  color: var(--txt);
  font: inherit;
  font-size: 16px;
}

.f-form button {
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(110, 168, 255, 0.5);
  background: linear-gradient(145deg, #16274a, #2b4c8d);
  color: #ffffff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow 0.22s ease;
}

.f-form button:hover {
  box-shadow: 0 0 18px rgba(110, 168, 255, 0.42);
}

.f-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 20px 6px 0;
}

.f-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.f-nav dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.f-nav dt {
  margin: 0;
}

.f-nav dt a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: 16px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.f-nav dt a:hover,
.f-nav dt a:focus-visible {
  color: #ffffff;
  border-color: rgba(110, 168, 255, 0.55);
}

.f-nav dd {
  margin: 0 4px 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #5d6c8b;
}

.copy {
  flex: 1 1 100%;
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: #6b7a96;
}

/* ---------- 动效 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .js .reveal.in {
    transition: none;
  }
}

/* ---------- 断点 ---------- */
@media (max-width: 900px) {
  .body-sec {
    grid-template-columns: 1fr;
  }
  .body-sec > div {
    grid-column: 1;
    grid-row: 1;
  }
  .side {
    grid-column: 1;
    grid-row: 2;
    position: static;
  }
  .side-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .f-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .menu ul {
    justify-content: flex-start;
    padding-left: 2px;
  }
  .hero-card {
    padding: 28px 16px;
    gap: 12px;
  }
  .prose :where(article) {
    padding: 20px 16px;
    border-radius: 22px;
  }
  .f-bar {
    justify-content: flex-start;
  }
  .copy {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .side-list {
    grid-template-columns: 1fr;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
