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

:root {
  --ink: #171f26;
  --ink-soft: #40505c;
  --blue: #c8e0f4;
  --pink: #f5e0e8;
  --base: #e9f0f7;
  --hi: rgba(255, 255, 255, 0.92);
  --lo: rgba(23, 31, 38, 0.16);
  --line: rgba(23, 31, 38, 0.08);
  --max: 1180px;
  --r: 14px;
}

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

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

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 90% -6%, rgba(245, 224, 232, 0.9), transparent 62%),
    radial-gradient(760px 460px at 4% 2%, rgba(200, 224, 244, 0.95), transparent 60%),
    linear-gradient(170deg, #e9f0f7, #eef1f7 52%, #f4edf1);
  min-height: 100vh;
}

h1, h2, h3, h4, summary, .brand-name, .foot-name {
  font-family: "Space Grotesk", "Archivo", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.01em;
}

.vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- 顶部 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px clamp(12px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(238, 244, 250, 0.96), rgba(238, 244, 250, 0.76));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  flex: 0 0 auto;
  border-radius: var(--r);
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(145deg, #f3f8fd, #dde8f2);
  box-shadow: -4px -4px 10px var(--hi), 4px 4px 12px var(--lo);
  transition: transform 0.15s ease;
}
.brand:active { transform: scale(0.96); }
.mark { width: 26px; height: 26px; display: block; }
.mark-glyph { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; }

.find {
  display: none;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 5px 4px 14px;
  border-radius: var(--r);
  background: linear-gradient(145deg, #e5edf5, #f4f8fc);
  box-shadow: inset -4px -4px 9px var(--hi), inset 4px 4px 9px var(--lo);
}
.find input {
  width: 128px;
  min-height: 40px;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
}
.find button {
  min-height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  background: linear-gradient(145deg, #d3e6f6, #b9d4ea);
  box-shadow: -2px -2px 6px var(--hi), 3px 3px 8px var(--lo);
  transition: transform 0.15s ease;
}
.find button:active { transform: scale(0.96); }

.nav { margin-left: auto; position: relative; }
.nav > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r);
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  color: var(--ink);
  background: linear-gradient(145deg, #f2f7fc, #dfe9f3);
  box-shadow: -4px -4px 10px var(--hi), 4px 4px 12px var(--lo);
  user-select: none;
  transition: transform 0.15s ease;
}
.nav > summary::-webkit-details-marker { display: none; }
.nav > summary:active { transform: scale(0.98); }
.nav[open] > summary {
  box-shadow: inset -3px -3px 8px var(--hi), inset 3px 3px 8px var(--lo);
}
.burger {
  display: block;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  box-shadow: 0 -5px var(--ink), 0 5px var(--ink);
}

.nav > menu {
  list-style: none;
  margin: 12px 0 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f0f5fb, #e1eaf4);
  box-shadow: -5px -5px 14px var(--hi), 6px 6px 18px var(--lo);
}
.nav > menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 16px;
  text-decoration: none;
  color: var(--ink-soft);
}
.nav > menu a:hover,
.nav > menu a:focus-visible {
  color: var(--ink);
  background: linear-gradient(145deg, #f5f9fd, #e3ecf6);
  box-shadow: inset -2px -2px 5px var(--hi), inset 2px 2px 5px var(--lo);
}
.nav > menu a[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(26px, 6vw, 62px) clamp(16px, 4vw, 40px) clamp(30px, 6vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  min-height: 66vh;
}
.hero-copy { min-width: 0; }
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.lead {
  margin: 0;
  max-width: 44ch;
  font-size: 17px;
  color: var(--ink-soft);
}

.hero-art {
  position: relative;
  min-height: 268px;
  isolation: isolate;
}
.band {
  position: absolute;
  left: 0; right: 0; bottom: 24%;
  height: 82px;
  z-index: -1;
  transform: skewY(-6deg);
  border-radius: 18px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  box-shadow: -6px -6px 16px var(--hi), 8px 8px 20px var(--lo);
}
.shot {
  position: absolute;
  margin: 0;
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(145deg, #f3f8fd, #dfe9f3);
  box-shadow: -6px -6px 16px var(--hi), 8px 8px 22px var(--lo);
}
.shot img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 8px;
  background: #dde8f2;
}
.shot-a { width: 62%; aspect-ratio: 4 / 3; top: 0; left: 0; transform: rotate(-3deg); }
.shot-b { width: 50%; aspect-ratio: 3 / 4; right: 0; bottom: 0; transform: rotate(3deg); }

/* ---------- 主体 ---------- */
.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 44px) clamp(16px, 4vw, 40px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.side {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, #eff5fb, #e1eaf4);
  box-shadow: -6px -6px 16px var(--hi), 7px 7px 18px var(--lo);
}
.side-h {
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: 0.16em;
}
.side-h > span {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 9px;
  background: linear-gradient(145deg, #eaf1f8, #e2eaf3);
  box-shadow: inset -2px -2px 5px var(--hi), inset 2px 2px 5px var(--lo);
}
.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: side;
}
.side-list li { counter-increment: side; }
.side-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  color: var(--ink-soft);
}
.side-list a::before {
  content: counter(side, decimal-leading-zero);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(23, 31, 38, 0.42);
}
.side-list a:hover,
.side-list a:focus-visible {
  color: var(--ink);
  background: linear-gradient(145deg, #f4f9fd, #e4edf6);
  box-shadow: inset -2px -2px 5px var(--hi), inset 2px 2px 5px var(--lo);
}
.side-host {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

main { min-width: 0; }
article { min-width: 0; }

.doc {
  max-width: 72ch;
  counter-reset: sec;
}
.doc > div {
  position: relative;
  counter-increment: sec;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 104px;
}
.doc > div:first-child { border-top: 0; padding-top: 2px; }
.doc > div::before {
  content: counter(sec, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: rgba(23, 31, 38, 0.32);
}

.doc h2 {
  margin: 0.5em 0 0.7em;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  overflow-wrap: anywhere;
}
.doc h2 > span,
.doc h3 > span,
.doc h4 > span {
  display: inline-block;
  padding: 0.28em 0.68em;
  border-radius: var(--r);
  background: linear-gradient(145deg, #ebf2f9, #e1e9f2);
  box-shadow: inset -3px -3px 7px var(--hi), inset 3px 3px 7px var(--lo);
}
.doc h3 {
  margin: 1.5em 0 0.6em;
  font-size: 1.16rem;
}
.doc p { margin: 0 0 1.05em; }
.doc ul, .doc ol { margin: 0 0 1.1em; padding-left: 1.35em; }
.doc li { margin: 0.35em 0; }
.doc a { color: #1a5c88; text-underline-offset: 3px; }
.doc strong { font-weight: 600; }
.doc blockquote {
  margin: 1.4em 0;
  padding: 16px 18px;
  border-radius: var(--r);
  color: var(--ink-soft);
  background: linear-gradient(145deg, #eff5fb, #e4ecf5);
  box-shadow: inset -4px -4px 10px var(--hi), inset 4px 4px 10px var(--lo);
}
.doc blockquote p:last-child { margin-bottom: 0; }
.doc img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: -4px -4px 12px var(--hi), 5px 5px 14px var(--lo);
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 16px;
}
.doc th, .doc td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.doc th { font-weight: 600; }
.doc hr {
  border: 0;
  height: 1px;
  margin: 2em 0;
  background: var(--line);
}
.doc time {
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

/* ---------- 页脚 ---------- */
.site-foot {
  margin-top: 50px;
  padding: clamp(28px, 5vw, 52px) clamp(16px, 4vw, 40px) 22px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(241, 246, 251, 0.72), rgba(243, 237, 242, 0.92));
}
.foot-top, .foot-cols, .foot-bottom {
  max-width: var(--max);
  margin: 0 auto;
}
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.foot-id {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: linear-gradient(145deg, #f3f8fd, #dee9f3);
  box-shadow: -4px -4px 10px var(--hi), 4px 4px 12px var(--lo);
}
.foot-name {
  margin: 0;
  font-size: 19px;
  overflow-wrap: anywhere;
}
.foot-h {
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: 0.16em;
}
.foot-h > span {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 9px;
  background: linear-gradient(145deg, #eaf1f8, #e2eaf3);
  box-shadow: inset -2px -2px 5px var(--hi), inset 2px 2px 5px var(--lo);
}
.sub-line { display: flex; gap: 8px; }
.sub-line input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  outline: none;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: linear-gradient(145deg, #e6edf5, #f5f9fd);
  box-shadow: inset -4px -4px 9px var(--hi), inset 4px 4px 9px var(--lo);
}
.sub-line button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  background: linear-gradient(145deg, #d3e6f6, #b9d4ea);
  box-shadow: -3px -3px 8px var(--hi), 4px 4px 10px var(--lo);
  transition: transform 0.15s ease;
}
.sub-line button:active { transform: scale(0.96); }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 24px 0;
}
.foot-cols dl { margin: 0; }
.foot-cols dt {
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.foot-cols dd {
  margin: 0;
  font-size: 16px;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.foot-cols dd a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 2px;
  color: var(--ink-soft);
  text-decoration: none;
}
.foot-cols dd a:hover,
.foot-cols dd a:focus-visible { color: var(--ink); }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-soft);
  text-align: center;
}
.foot-bottom p { margin: 0; }
.foot-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(145deg, #eff5fb, #e1eaf4);
  box-shadow: -3px -3px 8px var(--hi), 4px 4px 10px var(--lo);
  transition: transform 0.15s ease;
}
.foot-bottom a:active { transform: scale(0.96); }

/* ---------- 动效 ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s 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; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 断点 ---------- */
@media (min-width: 760px) {
  .find { display: flex; margin-left: auto; }
  .nav { margin-left: 0; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 70vh;
    gap: 34px;
  }
  .hero-art { min-height: 430px; }
  .nav > menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 232px;
    z-index: 50;
  }
  .foot-top { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .shell { grid-template-columns: 242px minmax(0, 1fr); gap: 36px; }
  .side { position: sticky; top: 96px; }
}

@media (min-width: 820px) {
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .hero-art { min-height: 236px; }
  .shot-a { width: 66%; }
  .shot-b { width: 54%; }
  .sub-line { flex-wrap: wrap; }
  .sub-line button { flex: 1 0 100%; }
}

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