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

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

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

body {
  margin: 0;
  background: #F2F0EB;
  color: #1F2A44;
  font-family: 'Lexend', 'Source Sans 3', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: #1F2A44; }
button, input { font: inherit; }

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

/* ── 底部固定条 ───────────────────────────── */
.dock {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 60;
  max-width: 680px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: #1F2A44;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(31, 42, 68, .22);
}

.dock-logo {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #F2F0EB;
  text-decoration: none;
  overflow: hidden;
}
.dock-mark-img { width: 28px; height: 28px; object-fit: contain; }
.dock-ini { font-weight: 700; font-size: 18px; color: #1F2A44; }

.dock-menu { position: relative; flex: 0 0 auto; }
.dock-menu summary {
  display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  border-radius: 12px;
  background: #F45B69; color: #fff;
  font-size: 15px; font-weight: 600;
  cursor: pointer; list-style: none;
  user-select: none;
}
.dock-menu summary::-webkit-details-marker { display: none; }
.dock-menu summary::after {
  content: ""; width: 15px; height: 2px; background: #fff;
  box-shadow: 0 5px 0 #fff, 0 -5px 0 #fff;
  transition: transform .18s ease;
}
.dock-menu[open] summary { background: #F2F0EB; color: #1F2A44; }
.dock-menu[open] summary::after {
  background: #1F2A44; box-shadow: 0 5px 0 #1F2A44, 0 -5px 0 #1F2A44;
}

.dock-menu menu {
  position: fixed;
  left: 12px; right: 12px; bottom: 86px;
  max-width: 420px; margin: 0 auto;
  padding: 10px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  list-style: none;
  background: #F2F0EB;
  border: 2px solid #1F2A44;
  border-radius: 16px;
  max-height: 62vh; overflow: auto;
}
.dock-menu[open] menu { display: grid; }
.dock-menu menu a {
  display: flex; align-items: center;
  min-height: 44px; padding: 6px 10px;
  border-radius: 10px;
  font-size: 15px; text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.dock-menu menu a:hover { background: #F45B69; color: #fff; }

.dock-search { flex: 1 1 auto; max-width: 220px; margin-left: auto; }
.dock-search input {
  width: 100%; min-height: 44px;
  padding: 0 14px;
  border: 2px solid rgba(242, 240, 235, .3);
  border-radius: 12px;
  background: transparent;
  color: #F2F0EB;
  font-size: 15px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.dock-search input::placeholder { color: rgba(242, 240, 235, .6); }
.dock-search input:focus { border-color: #F45B69; background: rgba(242, 240, 235, .08); }

/* ── 主栅格 ──────────────────────────────── */
main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
section { min-width: 0; }

/* ── 首屏 ─────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  min-height: 100svh;
  min-height: 620px;
  padding: 28px 24px 34px;
  background: #1F2A44;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
}
.hero-num {
  position: absolute; top: 0; right: 8px;
  margin: 0;
  font-size: clamp(120px, 24vw, 250px);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.06em;
  color: rgba(242, 240, 235, .09);
  z-index: 0;
}
.hero-media { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-media .blk { position: absolute; border-radius: 18px; }
.blk.b1 { left: 5%; top: 8%; width: 50%; height: 42%; background: #F45B69; }
.blk.b2 { left: 28%; top: 44%; width: 34%; height: 30%; background: #F2F0EB; }
.blk.b3 { left: 9%; top: 68%; width: 26%; height: 22%; background: #34425F; }

.hero-shot {
  position: absolute;
  object-fit: cover;
  border-radius: 14px;
}
.hero-shot.s1 {
  left: 7%; top: 11%; width: 46%; height: 50%;
  border: 4px solid #F2F0EB;
  transform: rotate(-4deg);
}
.hero-shot.s2 {
  left: 31%; top: 41%; width: 36%; height: 38%;
  border: 4px solid #F45B69;
  transform: rotate(3deg);
}
.hero-shot.s3 {
  left: 12%; top: 65%; width: 28%; height: 28%;
  border: 4px solid #F2F0EB;
  transform: rotate(-2deg);
}

.hero-copy { position: relative; z-index: 2; max-width: min(100%, 600px); }
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.14;
  letter-spacing: -.022em;
  color: #F2F0EB;
}
.hero-desc {
  margin: 0 0 0 auto;
  max-width: 36ch;
  color: rgba(242, 240, 235, .85);
  font-size: 16px;
  line-height: 1.7;
}

/* ── 正文区块 ─────────────────────────────── */
section > div:not(.hero) {
  padding: 46px 0;
  border-top: 1px solid rgba(31, 42, 68, .14);
  scroll-margin-top: 24px;
}
section > div:not(.hero):first-of-type { border-top: 0; }

section h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.3;
  letter-spacing: -.015em;
}
section h2::before {
  content: "";
  display: block;
  width: 40px; height: 6px;
  margin-bottom: 16px;
  background: #F45B69;
  border-radius: 3px;
}
section h3 {
  margin: 28px 0 8px;
  font-size: 20px;
  line-height: 1.4;
}
section p { margin: 0 0 18px; max-width: 64ch; }
section ul, section ol { margin: 0 0 18px; padding-left: 1.25em; }
section li { margin: 6px 0; }
section a { text-decoration-color: #F45B69; text-underline-offset: 3px; }
section blockquote {
  margin: 22px 0;
  padding: 4px 0 4px 18px;
  border-left: 5px solid #F45B69;
  color: #46527A;
}
section img { border-radius: 14px; margin: 18px 0; }
section table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 16px; }
section th, section td {
  border-bottom: 1px solid rgba(31, 42, 68, .16);
  padding: 10px 12px;
  text-align: left;
}
section th { background: rgba(31, 42, 68, .06); }
section code {
  background: rgba(31, 42, 68, .08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 15px;
}

/* ── 右侧栏 ──────────────────────────────── */
.rail {
  position: sticky;
  top: 20px;
  margin-top: 12px;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(31, 42, 68, .14);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(31, 42, 68, .07);
}
.rail h2 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.01em; }
.rail .subtitle {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: #5A6480;
}
.rail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rail-list a {
  display: flex; align-items: center;
  min-height: 40px; padding: 6px 10px;
  border-radius: 10px;
  font-size: 15px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.rail-list a:hover { background: #F2F0EB; color: #F45B69; }

/* ── 页脚 ────────────────────────────────── */
.foot {
  background: #1F2A44;
  color: #F2F0EB;
  padding: 46px 24px calc(140px + env(safe-area-inset-bottom));
}
.foot-in { max-width: 1180px; margin: 0 auto; }
.foot-word {
  margin: 0 0 30px;
  font-size: clamp(36px, 9.5vw, 116px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.04em;
  color: rgba(242, 240, 235, .17);
  word-break: break-word;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 26px;
}
.foot-addr { font-style: normal; }
.foot-addr strong { font-size: 17px; letter-spacing: -.01em; }
.foot-col h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #F45B69;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col ul a {
  display: inline-flex; align-items: center;
  min-height: 40px;
  font-size: 15px;
  color: #F2F0EB;
  text-decoration: none;
  transition: color .15s ease;
}
.foot-col ul a:hover { color: #F45B69; }
.foot-top {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 14px;
  border-radius: 10px;
  background: #F45B69;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: background .15s ease;
}
.foot-top:hover { background: #F2F0EB; color: #1F2A44; }
.foot-copy {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(242, 240, 235, .18);
  font-size: 14px;
  color: rgba(242, 240, 235, .62);
}

/* ── 进入动效 ─────────────────────────────── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ── 断点 ────────────────────────────────── */
@media (max-width: 1000px) {
  main { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
}

@media (max-width: 880px) {
  main { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 10px 16px 40px; }
  .rail { position: static; margin-top: 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .foot-word { margin-bottom: 24px; }
  .hero { min-height: 88svh; padding: 24px 18px 26px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .dock { left: 8px; right: 8px; bottom: 8px; padding: 7px 8px; gap: 6px; }
  .dock-menu menu { left: 8px; right: 8px; bottom: 80px; }
  .dock-search { max-width: none; }
  .hero-shot.s1 { left: 5%; width: 50%; height: 44%; }
  .hero-shot.s2 { left: 34%; width: 38%; height: 34%; }
  .hero-shot.s3 { display: none; }
  .blk.b3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

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