@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #000000;
  --panel: #0a0a0a;
  --panel-2: #0b1220;
  --line: rgba(255, 255, 255, 0.09);
  --fg: #e6e6e6;
  --fg-soft: #cfcfcf;
  --dim: #8a929e;
  --neon: #93b4ff;
  --gold: #d9c79a;
  --r: 18px;
  --edge: clamp(14px, 4vw, 44px);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: 'Montserrat', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.012em;
  overflow-x: hidden;
}

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

a { color: var(--neon); }

::selection { background: rgba(147, 180, 255, 0.28); color: #fff; }

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

.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;
}

/* ---------- 顶部 ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px var(--edge);
  background: rgba(0, 0, 0, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(120%);
}

.rail ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail-l ul { justify-content: flex-end; }
.rail-r ul { justify-content: flex-start; }

.rail a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  border-radius: 11px;
  color: var(--dim);
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.rail a:hover,
.rail a:focus-visible {
  color: #fff;
  background: rgba(147, 180, 255, 0.1);
  box-shadow: inset 0 -2px 0 rgba(147, 180, 255, 0.75);
}

.brandbox {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 0 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 4px;
  text-decoration: none;
  color: #fff;
}

.brand .mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--neon);
  font-size: 0.875rem;
  letter-spacing: 0;
  box-shadow: 0 0 16px rgba(147, 180, 255, 0.3);
}

.brand .bname {
  font-family: 'Cormorant', Georgia, 'Songti SC', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-shadow: 0 0 14px rgba(147, 180, 255, 0.45);
}

.find {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 172px;
}

.find input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 34px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #121212;
  color: var(--fg);
  font: inherit;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.find input::placeholder { color: #666d78; }

.find input:focus-visible { border-color: var(--neon); }

.find button {
  flex: 0 0 auto;
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--neon);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}

.find button:hover { background: #16233a; color: #fff; }

/* ---------- 首屏 ---------- */

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 26px;
  padding: 104px var(--edge) 148px;
  text-align: center;
  background:
    radial-gradient(115% 78% at 50% -12%, #0d1a2f 0%, #060a12 42%, #000 74%);
}

.eyebrow {
  margin: 0;
  color: var(--neon);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-shadow: 0 0 16px rgba(147, 180, 255, 0.5);
}

.stage h1 {
  max-width: 18ch;
  margin: 0;
  font-family: 'Cormorant', Georgia, 'Songti SC', serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 8.2vw, 6rem);
  line-height: 1.12;
  letter-spacing: 0.035em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 0 34px rgba(147, 180, 255, 0.24);
}

.badge {
  position: absolute;
  bottom: 7vh;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #121212;
  color: #c3cfe4;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  white-space: nowrap;
  box-shadow: 0 0 30px rgba(147, 180, 255, 0.16);
}

.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

/* ---------- 主体 ---------- */

main [id] { scroll-margin-top: 92px; }

.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: clamp(22px, 3.6vw, 56px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 84px) var(--edge) clamp(24px, 4vw, 48px);
}

.sheet {
  background: linear-gradient(180deg, #0b0f16 0%, #070707 58%, #050505 100%);
  border-radius: var(--r);
  padding: clamp(20px, 3.2vw, 44px);
}

.sheet-h {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--neon);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
}

.sheet-h::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(147, 180, 255, 0.5), transparent);
}

.subtitle {
  margin: 0.75em 0 1.6em;
  color: #79828f;
  font-size: 0.9375rem;
  line-height: 1.8;
  letter-spacing: 0.07em;
}

.prose { max-width: 74ch; }

.prose > div {
  padding: clamp(22px, 3vw, 38px) 0;
  border-top: 1px solid var(--line);
}

.prose > div:first-child {
  border-top: 0;
  padding-top: 4px;
}

.prose h2 {
  margin: 0 0 0.55em;
  font-family: 'Cormorant', Georgia, 'Songti SC', serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 3.1vw, 2.05rem);
  line-height: 1.32;
  letter-spacing: 0.02em;
  color: #fff;
}

.prose h2::before {
  content: '';
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 0.75em;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
}

.prose h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.125rem;
  font-weight: 600;
  color: #f1f4f9;
}

.prose p {
  margin: 0 0 1em;
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--fg-soft);
}

.prose strong { color: #fff; font-weight: 600; }
.prose em { color: var(--gold); font-style: normal; }

.prose a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(147, 180, 255, 0.4);
}

.prose a:hover { border-bottom-color: var(--neon); }

.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
  color: var(--fg-soft);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.prose li { margin: 0.42em 0; }
.prose li::marker { color: var(--neon); }

.prose blockquote {
  margin: 1.3em 0;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--panel-2);
  color: #dbe4f4;
  font-size: 1.0625rem;
}

.prose blockquote p { font-size: 1rem; margin: 0; }

.prose figure { margin: 1.3em 0; }
.prose figcaption { color: var(--dim); font-size: 0.875rem; margin-top: 8px; }

.prose img { border-radius: 14px; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  margin: 0 0 1.2em;
}

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

.prose th { color: #fff; font-weight: 600; }

/* ---------- 侧栏 ---------- */

.side {
  position: sticky;
  top: 92px;
  align-self: start;
  background: #0b0b0b;
  border-radius: var(--r);
  padding: 18px 14px;
}

.side-h {
  margin: 0 0 8px;
  padding-left: 10px;
  color: #6f7885;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
}

.side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 11px;
  color: #aeb6c2;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.side a:hover,
.side a:focus-visible {
  background: #15161a;
  color: #fff;
  box-shadow: inset 3px 0 0 var(--neon);
}

/* ---------- 页脚 ---------- */

.foot {
  margin-top: clamp(36px, 7vw, 92px);
  padding: clamp(28px, 5vw, 52px) var(--edge) 26px;
  background: #04060a;
  border-top: 1px solid var(--line);
}

.foot-brand {
  margin: 0 0 22px;
  font-family: 'Cormorant', Georgia, 'Songti SC', serif;
  font-size: clamp(2.2rem, 11vw, 5.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(147, 180, 255, 0.55);
  text-shadow: 0 0 40px rgba(147, 180, 255, 0.18);
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.foot address {
  font-style: normal;
  color: #6f7885;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 11px;
  color: #8b939f;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease;
}

.foot a:hover,
.foot a:focus-visible { color: #fff; background: #121212; }

/* ---------- 动效 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 窄屏 ---------- */

@media (max-width: 960px) {
  .topbar {
    position: static;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px var(--edge) 6px;
  }

  .brandbox {
    order: -1;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    width: 100%;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
  }

  .find { width: 152px; justify-self: end; }

  .rail-l ul,
  .rail-r ul { justify-content: center; }

  .rail a { padding: 0 9px; font-size: 0.875rem; }

  .stage { padding: 56px var(--edge) 120px; }

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

  .side { position: static; }
}

@media (max-width: 560px) {
  .brand .bname { font-size: 1.1rem; letter-spacing: 0.26em; }

  .stage h1 { font-size: clamp(2.1rem, 10vw, 3.1rem); }
  .eyebrow { font-size: 0.75rem; letter-spacing: 0.22em; text-indent: 0.22em; }

  .badge { bottom: 5vh; padding: 9px 16px; font-size: 0.75rem; }

  .prose p { font-size: 1.0625rem; }

  .foot-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge i { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

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