@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Nunito:ital,wght@0,700;0,800;0,900;1,700&display=swap');

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

:root {
  --clay: #121212;
  --clay-2: #171717;
  --clay-3: #0b0b0b;
  --txt: #ececec;
  --dim: #a5a5a5;
  --faint: #7c7c7c;
  --gold: #f2c76b;
  --mint: #7df0b8;
  --violet: #b79cff;
  --r: 28px;
  --side: 264px;
  color-scheme: dark;
}

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

body {
  margin: 0;
  background: #000;
  color: var(--txt);
  font-family: 'DM Sans', 'Nunito', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.78;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Nunito', 'DM Sans', system-ui, 'PingFang SC', sans-serif;
  font-weight: 800;
  line-height: 1.28;
  color: #fff;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

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

/* ---------- 骨架 ---------- */
.col { margin-left: var(--side); min-width: 0; }

.side {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 26px 16px;
  background: #050505;
  overflow-y: auto;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  min-height: 48px;
  text-decoration: none;
  border-radius: 18px;
  transition: background .25s ease;
}
.brand:hover { background: var(--clay); }

.mark {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  object-fit: cover;
  background: conic-gradient(from 140deg, var(--gold), var(--violet), var(--mint), var(--gold));
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, .28), 0 0 18px rgba(242, 199, 107, .22);
}

.brand-t {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .01em;
  color: #fff;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 11px 13px;
  border-radius: 16px;
  font-size: 16px;
  line-height: 1.4;
  color: #c6c6c6;
  text-decoration: none;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.nav a::before {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 4px;
  background: var(--gold);
  opacity: .6;
  transition: opacity .22s ease, box-shadow .22s ease;
}

.nav li:nth-child(3n+1) a::before { background: var(--gold); }
.nav li:nth-child(3n+2) a::before { background: var(--mint); }
.nav li:nth-child(3n+3) a::before { background: var(--violet); }

.nav a:hover,
.nav a.on {
  background: var(--clay);
  color: #fff;
  transform: translateX(3px);
}
.nav a:hover::before,
.nav a.on::before {
  opacity: 1;
  box-shadow: 0 0 12px currentColor;
}

/* ---------- 顶部细条 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 26px;
  font-size: 15px;
  letter-spacing: .16em;
  color: #8f8f8f;
  background: rgba(0, 0, 0, .84);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .05);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 96px 24px 140px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(62% 58% at 50% 0%, rgba(242, 199, 107, .13), transparent 72%),
    radial-gradient(50% 50% at 82% 88%, rgba(183, 156, 255, .10), transparent 70%),
    #000;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.5) saturate(.92);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .52) 45%, #000 97%);
}

.hero-in {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -.01em;
  text-shadow: 0 0 10px rgba(242, 199, 107, .3);
}

.lede {
  margin: 0 auto;
  max-width: 32em;
  font-size: 17px;
  line-height: 1.7;
  color: #b6b6b6;
}

.band {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -18px;
  height: 54px;
  z-index: 3;
  border-radius: var(--r);
  transform: rotate(-2deg);
  background: linear-gradient(90deg, var(--gold), var(--violet) 52%, var(--mint));
  opacity: .88;
  box-shadow: 0 0 48px rgba(242, 199, 107, .28);
}

/* ---------- 正文 ---------- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px 70px;
}

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

.prose { min-width: 0; }

.prose > article {
  background: var(--clay);
  border-radius: var(--r);
  padding: 30px 26px;
  margin: 0 0 20px;
  scroll-margin-top: 92px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 22px 44px -34px #000;
  transition: background .3s ease, transform .3s ease;
}

.prose > article > *:last-child { margin-bottom: 0; }

.prose small,
.rail small {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--gold);
  margin: 0 0 8px;
}

.prose h2 {
  margin: 0 0 13px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: .01em;
}

.prose h3 {
  margin: 22px 0 9px;
  font-size: 1.18rem;
  color: #fff;
}

.prose p {
  margin: 0 0 15px;
  color: #d4d4d4;
}

.prose strong { color: #fff; }

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
  color: #d4d4d4;
}

.prose li { margin: 0 0 8px; }

.prose a {
  color: var(--mint);
  text-underline-offset: 3px;
}

.prose img {
  display: block;
  margin: 18px 0;
  border-radius: 20px;
  box-shadow: 0 20px 40px -30px #000;
}

.prose blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--clay-2);
  color: #cfcfcf;
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.prose th, .prose td {
  padding: 10px 12px;
  text-align: left;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07);
}

/* ---------- 右侧 ---------- */
.rail {
  position: sticky;
  top: 84px;
  background: var(--clay-3);
  border-radius: var(--r);
  padding: 22px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
}

.rail-t {
  margin: 0 0 12px;
  font-size: 19px;
}

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

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 13px;
  font-size: 15px;
  line-height: 1.45;
  color: #a8a8a8;
  text-decoration: none;
  transition: background .22s ease, color .22s ease;
}

.rail-list a:hover,
.rail-list a.on {
  background: var(--clay-2);
  color: #fff;
}

/* ---------- 页脚 ---------- */
.foot {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 42px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 38px 30px;
  border-radius: 36px;
  background: linear-gradient(140deg, #161616, #090909 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 0 70px -34px rgba(242, 199, 107, .45);
}

.cta-t {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 0 10px rgba(242, 199, 107, .32);
}

.cta-a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--gold);
  color: #080808;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cta-a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(242, 199, 107, .55);
}

.cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 26px;
  padding: 34px 4px;
}

address {
  font-style: normal;
  display: grid;
  gap: 6px;
  align-content: start;
}

.addr-b {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
}

.addr-h {
  font-size: 15px;
  color: var(--faint);
  word-break: break-all;
}

.fl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  align-content: start;
}

.fl a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--dim);
  text-decoration: none;
  transition: color .2s ease;
}

.fl a:hover { color: var(--gold); }

.base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 4px 0;
  font-size: 14px;
  color: var(--faint);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

.base a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 4px;
  color: var(--dim);
  text-decoration: none;
}
.base a:hover { color: var(--gold); }

/* ---------- 滚动显现 ---------- */
html.js .prose > article,
html.js .cta,
html.js .rail {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1), background .3s ease;
}

html.js .in {
  opacity: 1;
  transform: none;
}

html.js .prose > article.in:hover {
  transform: translateY(-3px);
  background: var(--clay-2);
}

/* ---------- 窄屏 ---------- */
@media (max-width: 980px) {
  .side {
    inset: 0 0 auto 0;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    background: rgba(5, 5, 5, .95);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07);
  }

  .brand {
    flex: none;
    padding: 8px;
    min-height: 44px;
  }
  .brand-t { font-size: 17px; }

  .nav {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav ul {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav ul::-webkit-scrollbar { display: none; }

  .nav a {
    padding: 11px 13px;
    white-space: nowrap;
    font-size: 15px;
  }
  .nav a::before { display: none; }
  .nav a:hover, .nav a.on { transform: none; }

  .col {
    margin-left: 0;
    padding-top: 62px;
  }

  .topbar { display: none; }

  .hero {
    min-height: calc(100svh - 62px);
    padding: 60px 18px 108px;
  }

  .wrap { padding: 30px 16px 54px; }

  .panel { grid-template-columns: minmax(0, 1fr); }

  .prose > article {
    padding: 24px 18px;
    border-radius: 24px;
    scroll-margin-top: 78px;
  }

  .rail {
    position: static;
    order: 2;
    margin-top: 18px;
  }

  .foot { padding: 0 16px 34px; }

  .cta { padding: 30px 22px; border-radius: 28px; }

  .cols {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  address { grid-column: 1 / -1; }

  .base {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .prose > article,
  html.js .cta,
  html.js .rail {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav a, .cta-a, .prose > article { transition: none; }
}

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