@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 {
  --ice: #c8e0f4;
  --rose: #f5e0e8;
  --ink: #171f26;
  --paper: #eaf2f9;
  --card-a: #f6fafd;
  --card-b: #e3edf6;
  --txt: #26313a;
  --muted: #5c6c79;
  --r: 18px;
  --lift: -5px -5px 15px rgba(255, 255, 255, 0.92), 8px 8px 20px rgba(23, 31, 38, 0.13);
  --lift-sm: -3px -3px 9px rgba(255, 255, 255, 0.85), 4px 4px 11px rgba(23, 31, 38, 0.12);
  --press: inset 3px 3px 8px rgba(23, 31, 38, 0.18), inset -3px -3px 8px rgba(255, 255, 255, 0.92);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Archivo", "Space Grotesk", system-ui, -apple-system, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: var(--txt);
  background: linear-gradient(158deg, #eff6fb 0%, #f9f0f5 46%, #e9f1f8 100%) fixed;
  overflow-x: hidden;
}

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

a {
  color: #2b4d67;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Archivo", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1.05em;
}

main article {
  scroll-margin-top: 168px;
}

/* 页头 */
.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px clamp(14px, 4vw, 40px) 16px;
  background: linear-gradient(160deg, rgba(238, 246, 252, 0.94), rgba(249, 240, 245, 0.94));
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 24px rgba(23, 31, 38, 0.08);
}

.brand-row {
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 2px;
  font-family: "Space Grotesk", "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 3.6vw, 27px);
  letter-spacing: 0.06em;
  color: var(--ink);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.9);
}

.menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

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

.menu p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: #2a3b48;
  background: linear-gradient(145deg, #f4fafe, #dde9f4);
  box-shadow: var(--lift-sm);
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.pill:hover {
  box-shadow: var(--lift);
}

.pill:active,
.pill.is-press {
  box-shadow: var(--press);
  transform: scale(0.97);
}

.pill.is-on {
  color: #1b2731;
  background: linear-gradient(145deg, #fbeef4, #ecd9e4);
  box-shadow: var(--lift-sm);
}

.cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #171f26;
  background: linear-gradient(145deg, #fbe6ef, #eccddc);
  box-shadow: var(--lift-sm);
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.cta:hover {
  box-shadow: var(--lift);
}

.cta:active,
.cta.is-press {
  box-shadow: var(--press);
  transform: scale(0.97);
}

/* 主体 */
.page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 40px) 64px;
}

/* 首屏 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 34px 0 40px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -22%;
  z-index: -1;
  background: radial-gradient(circle at 32% 30%, rgba(200, 224, 244, 0.95), transparent 56%),
    radial-gradient(circle at 68% 64%, rgba(245, 224, 232, 0.95), transparent 58%);
  animation: drift 18s ease-in-out infinite;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: #35485a;
  background: linear-gradient(145deg, #f7fbfe, #e0ecf6);
  box-shadow: var(--lift-sm);
}

.hero-copy {
  max-width: 28ch;
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(30px, 7vw, 54px);
  font-weight: 700;
  margin-bottom: 0.45em;
}

.lede {
  margin: 0 auto;
  max-width: 34ch;
  color: var(--muted);
  font-size: 16px;
}

.hero-art {
  position: relative;
  width: min(760px, 100%);
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, #e9f2fa, #f7e8ef);
  box-shadow: var(--lift);
  aspect-ratio: 16 / 9;
}

.hero-art .hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 正文与侧栏 */
.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 306px;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  padding-top: 12px;
}

.content-col {
  min-width: 0;
}

.content-col > article {
  margin-bottom: 22px;
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--r);
  background: linear-gradient(145deg, var(--card-a), var(--card-b));
  box-shadow: var(--lift);
  animation: rise 0.5s ease both;
}

.content-col > article:nth-child(2) {
  animation-delay: 0.06s;
}
.content-col > article:nth-child(3) {
  animation-delay: 0.12s;
}
.content-col > article:nth-child(4) {
  animation-delay: 0.18s;
}
.content-col > article:nth-child(5) {
  animation-delay: 0.24s;
}
.content-col > article:nth-child(6) {
  animation-delay: 0.3s;
}
.content-col > article:nth-child(7) {
  animation-delay: 0.36s;
}

.content-col h2 {
  font-size: clamp(22px, 3.4vw, 28px);
}

.content-col h3 {
  font-size: 19px;
  margin-top: 1.4em;
}

.content-col ul,
.content-col ol {
  padding-left: 1.25em;
  margin: 0 0 1.1em;
}

.content-col li {
  margin-bottom: 0.5em;
}

.content-col a {
  text-decoration: underline;
  text-decoration-color: rgba(43, 77, 103, 0.35);
  text-underline-offset: 3px;
}

.content-col blockquote {
  margin: 0 0 1.1em;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(145deg, #eef3f9, #f9eef3);
  box-shadow: inset 2px 2px 7px rgba(23, 31, 38, 0.1),
    inset -2px -2px 7px rgba(255, 255, 255, 0.9);
  color: #33434f;
}

.content-col figure {
  margin: 0 0 1.1em;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--lift-sm);
}

.content-col img {
  display: block;
  border-radius: 14px;
}

.content-col time {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #4b5d6b;
  padding: 2px 10px;
  border-radius: 999px;
  background: linear-gradient(145deg, #f2f8fc, #e2ecf5);
  box-shadow: var(--lift-sm);
}

.content-col strong {
  color: var(--ink);
}

/* 侧栏 */
.rail {
  position: sticky;
  top: 172px;
  padding: 22px 20px 26px;
  border-radius: var(--r);
  background: linear-gradient(145deg, #fbf1f6, #ecdfe8);
  box-shadow: var(--lift);
}

.rail small {
  display: block;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: #6a5c66;
  margin-bottom: 6px;
}

.rail h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

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

.rail-list li + li {
  margin-top: 8px;
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 15px;
  color: #33404b;
  background: linear-gradient(145deg, #fdf7fa, #f0e6ec);
  box-shadow: var(--lift-sm);
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.rail-list a:hover {
  box-shadow: var(--lift);
}

.rail-list a:active {
  box-shadow: var(--press);
  transform: scale(0.98);
}

.rail-list a.is-on {
  color: #171f26;
  font-weight: 600;
  background: linear-gradient(145deg, #eaf3fb, #d9e8f5);
}

/* 页脚 */
.site-foot {
  margin-top: 40px;
  padding: clamp(34px, 5vw, 62px) clamp(14px, 4vw, 40px) 26px;
  color: #cfe0ec;
  background: linear-gradient(160deg, #1c262f, #131a21);
  box-shadow: inset 0 12px 26px rgba(0, 0, 0, 0.36);
}

.foot-top {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1fr;
  gap: 26px;
}

.foot-brand {
  margin: 0;
  font-family: "Space Grotesk", "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5.6vw, 52px);
  line-height: 1.08;
  letter-spacing: 0.04em;
  color: #e8f2fa;
  text-shadow: -2px -2px 6px rgba(255, 255, 255, 0.09), 3px 3px 9px rgba(0, 0, 0, 0.6);
}

.foot-col small {
  display: block;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: #8ba2b3;
  margin-bottom: 6px;
}

.foot-col h3 {
  font-size: 17px;
  color: #dcebf6;
  margin: 0 0 10px;
}

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

.foot-col li + li {
  margin-top: 6px;
}

.foot-col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 8px;
  margin-left: -8px;
  border-radius: 10px;
  font-size: 15px;
  color: #cbdeeb;
  transition: background 150ms ease, color 150ms ease;
}

.foot-col a:hover {
  color: #ffffff;
  background: rgba(200, 224, 244, 0.12);
}

.foot-contact address {
  font-style: normal;
  line-height: 1.7;
}

.foot-contact address strong {
  display: block;
  color: #e3eef7;
  font-size: 16px;
}

.foot-contact address span {
  display: block;
  font-size: 14px;
  color: #93a9b9;
  word-break: break-all;
}

.copy {
  width: min(1180px, 100%);
  margin: 34px auto 0;
  padding-top: 18px;
  text-align: center;
  font-size: 14px;
  color: #8ea4b4;
  border-top: 1px solid rgba(200, 224, 244, 0.14);
}

/* 动效 */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  0% {
    transform: translate3d(-3%, -2%, 0) scale(1);
  }
  50% {
    transform: translate3d(4%, 3%, 0) scale(1.09);
  }
  100% {
    transform: translate3d(-3%, -2%, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero::before,
  .content-col > article {
    animation: none;
  }
  .pill,
  .cta,
  .rail-list a {
    transition: none;
  }
}

/* 断点 */
@media (max-width: 940px) {
  .content-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .rail {
    position: static;
    order: 2;
  }
  .foot-top {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  main article {
    scroll-margin-top: 210px;
  }
  .menu-row {
    flex-wrap: wrap;
  }
  .menu {
    flex: 1 1 100%;
  }
  .cta {
    margin-left: auto;
  }
  .pill {
    padding: 9px 13px;
    font-size: 14px;
  }
  .hero {
    min-height: auto;
    padding-top: 26px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-art {
    aspect-ratio: 4 / 3;
  }
  .foot-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

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