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

:root {
  --ink: #000000;
  --paper: #ffffff;
  --mute: #555555;
  --soft: #f2f2f2;
  --line: rgba(0, 0, 0, 0.14);
  --glass: rgba(255, 255, 255, 0.58);
  --r: 10px;
  --pad: clamp(1rem, 4vw, 3rem);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Open Sans', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, .mark-glyph, .sumtxt, .cta-btn, .top-cta, .totop, .brandmark {
  font-family: 'Poppins', 'Open Sans', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

::selection { background: #000; color: #fff; }

:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: #000;
  color: #fff;
  padding: 0.8rem 1rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--r);
}
.skip:focus { left: 0.6rem; top: 0.6rem; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem var(--pad);
  background: rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brandmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1.5px solid #000;
  border-radius: var(--r);
  text-decoration: none;
  overflow: hidden;
  flex: none;
}
.brandmark img { width: 26px; height: 26px; object-fit: contain; }
.mark-glyph { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.04em; }

.navwrap { margin-left: auto; }

.navwrap > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 1.5px solid #000;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.95rem;
  user-select: none;
}
.navwrap > summary::-webkit-details-marker { display: none; }
.navwrap > summary::marker { content: ''; }

.bars {
  position: relative;
  width: 16px;
  height: 2px;
  background: #000;
  flex: none;
}
.bars::before,
.bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: #000;
}
.bars::before { top: -5px; }
.bars::after { top: 5px; }

.navwrap > menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin: 0;
  padding: 0.5rem var(--pad) 1rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}
.navwrap > menu > li > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem 0.2rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}
.navwrap > menu > li:last-child > a { border-bottom: 0; }

.top-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  margin-left: 0.2rem;
  background: #000;
  color: #fff;
  border-radius: var(--r);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  flex: none;
}

/* ---------- 首屏 ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  align-content: center;
  min-height: 70vh;
  padding: clamp(2.5rem, 7vw, 5rem) var(--pad) clamp(3rem, 8vw, 6rem);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 12vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
  text-align: center;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.hero-fig {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--soft);
  aspect-ratio: 4 / 5;
}
.hero-fig img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}

/* ---------- 主板 ---------- */
main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0 var(--pad);
}

article { min-width: 0; }

article > div {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}
article > div:first-child { padding-top: clamp(1.5rem, 4vw, 3rem); }

article h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.9rem, 5.2vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

article h3 {
  margin: 2rem 0 0.7rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

article p { margin: 0 0 1.1rem; max-width: 68ch; }
article ul,
article ol { margin: 0 0 1.2rem; padding-left: 1.3rem; max-width: 68ch; }
article li { margin-bottom: 0.45rem; }
article a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
article a:hover { background: #000; color: #fff; text-decoration: none; }
article img { width: 100%; border-radius: var(--r); }
article figure { margin: 1.5rem 0; }
article blockquote {
  margin: 1.6rem 0;
  padding: 0.4rem 0 0.4rem 1.2rem;
  border-left: 4px solid #000;
  font-weight: 600;
}
article strong { font-weight: 700; }
article table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; }
article th,
article td { border-bottom: 1px solid var(--line); padding: 0.6rem 0.4rem; text-align: left; }

/* ---------- 侧栏 ---------- */
.side {
  margin: 1rem 0 3rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.07);
}

.side h2 {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.side h2 > span { border-bottom: 2px solid #000; padding-bottom: 2px; }

.side-list { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.side-list li { margin: 0; }
.side-list a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0.15rem 0;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.side-list li:last-child a { border-bottom: 0; }
.side-list a:hover { background: #000; color: #fff; padding-left: 0.5rem; }

.totop {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.9rem;
  border: 1.5px solid #000;
  border-radius: var(--r);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.totop:hover { background: #000; color: #fff; }

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 2rem;
  padding: clamp(2.5rem, 7vw, 5rem) var(--pad) 2rem;
  border-top: 1px solid #000;
}

.cta-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.8rem, 5vw, 3.5rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  background: #000;
  color: #fff;
  border-radius: var(--r);
}
.cta-block h2 {
  margin: 0;
  font-size: clamp(1.9rem, 6.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  overflow-wrap: anywhere;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 1.4rem;
  border: 2px solid #fff;
  border-radius: var(--r);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  flex: none;
}
.cta-btn:hover { background: #fff; color: #000; }

.fcols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.fcols dl { margin: 0; }
.fcols dt {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.fcols dd {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--mute);
  max-width: 40ch;
}
.fcols ul { list-style: none; margin: 0; padding: 0; }
.fcols li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94rem;
  border-bottom: 1px solid transparent;
}
.fcols li a:hover { border-bottom-color: #000; }

.copy {
  margin: 1.4rem 0 0;
  font-size: 0.88rem;
  color: var(--mute);
}

/* ---------- 动效 ---------- */
body.js .stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
body.js .stagger.in > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.js .stagger > * { opacity: 1; transform: none; transition: none; }
  .hero-fig img { transform: none !important; }
}

/* ---------- 断点 ---------- */
@media (min-width: 700px) {
  .fcols { grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
}

@media (min-width: 900px) {
  .navwrap { margin-left: 0; flex: 1; }
  .navwrap > summary { display: none; }
  .navwrap > menu {
    position: static;
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.2rem;
    padding: 0;
    border: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }
  .navwrap > menu > li > a {
    min-height: 44px;
    padding: 0 0.7rem;
    border-bottom: 0;
    border-radius: var(--r);
    font-size: 0.94rem;
    letter-spacing: -0.02em;
  }
  .navwrap > menu > li > a:hover { background: #000; color: #fff; }
  .top-cta { margin-left: auto; }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
  .hero-fig { aspect-ratio: auto; height: 70vh; }
}

@media (min-width: 1100px) {
  main {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
  .side {
    position: sticky;
    top: 5.5rem;
    margin-top: clamp(1.5rem, 4vw, 3rem);
  }
}

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