@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 {
  --pink: #FF3B5C;
  --ink: #111827;
  --yellow: #FFD84D;
  --paper: #FFFFFF;
  --wash: #F3F0EA;
  --soft: #333A49;
  --rule: 2px solid #111827;
}

* {
  box-sizing: border-box;
}

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

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

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

a {
  color: inherit;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶部细条 ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 16px;
  background: var(--pink);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
}

.topbar-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  background: var(--yellow);
  border-radius: 50%;
}

/* ---------- 页头 ---------- */
.masthead {
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.masthead-top {
  padding-top: 14px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.menu-bar {
  padding: 0 20px 14px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.pills a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.pills a:hover,
.pills a:focus-visible {
  background: var(--ink);
  color: var(--yellow);
  transform: translateY(-2px);
}

/* ---------- 首屏 ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: center;
  min-height: 100vh;
  padding: 56px 0 64px;
}

.hero-copy h1 {
  position: relative;
  padding-bottom: 0.28em;
  font-size: clamp(2.15rem, 5.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-copy h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(260px, 46%);
  height: 14px;
  background: var(--yellow);
}

.lede {
  margin-top: 24px;
  max-width: 32em;
  color: var(--soft);
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-art {
  position: relative;
  min-height: 440px;
  aspect-ratio: 4 / 4.3;
}

.shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--wash);
  border: 3px solid var(--ink);
  border-radius: 4px;
}

.shot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-1 {
  top: 3%;
  left: 0;
  width: 63%;
  aspect-ratio: 3 / 4;
  transform: rotate(-3deg);
}

.shot-2 {
  right: 0;
  bottom: 1%;
  width: 53%;
  aspect-ratio: 3 / 4;
  background: var(--yellow);
  transform: rotate(3deg);
}

.tile {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
}

.tile span {
  display: block;
  width: 54%;
  height: 14px;
  background: var(--ink);
  border-radius: 2px;
}

.tile span + span {
  width: 34%;
  background: var(--pink);
}

.badge {
  position: absolute;
  left: 1%;
  bottom: 13%;
  z-index: 3;
  max-width: 72%;
  padding: 8px 14px;
  background: var(--pink);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  transform: rotate(-2deg);
}

/* ---------- 正文区 ---------- */
.stage {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 72px;
}

.rail {
  position: sticky;
  top: 20px;
  padding: 16px;
  background: var(--wash);
  border: var(--rule);
  border-radius: 4px;
}

.rail h2 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.rail h2 span {
  display: inline-block;
  padding: 0 0.35em;
  background: var(--yellow);
  border-radius: 4px;
}

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

.rail-list li {
  counter-increment: rail;
}

.rail-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  border-bottom: 1px dashed rgba(17, 24, 39, 0.28);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.16s ease;
}

.rail-list li:last-child a {
  border-bottom: 0;
}

.rail-list a::before {
  content: counter(rail, decimal-leading-zero);
  color: var(--pink);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rail-list a:hover,
.rail-list a.on {
  color: var(--pink);
}

.prose {
  min-width: 0;
  font-size: 1.06rem;
  line-height: 1.85;
}

.prose > section {
  padding: 44px 0;
  border-top: 2px solid var(--ink);
  scroll-margin-top: 28px;
}

.prose > section:first-child {
  padding-top: 12px;
  border-top: 0;
}

.prose h2 {
  margin: 0 0 0.55em;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.prose h2 > span,
.prose h3 > span {
  padding: 0.04em 0.3em;
  background: var(--yellow);
  border-radius: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.prose h3 {
  margin: 1.5em 0 0.45em;
  font-size: 1.2rem;
}

.prose p {
  margin-bottom: 1.1em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.prose li {
  margin: 0.35em 0;
}

.prose a {
  color: var(--pink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose img {
  margin: 1.3em 0;
  border: var(--rule);
  border-radius: 4px;
}

.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  border-left: 6px solid var(--pink);
  font-weight: 600;
}

.prose time {
  color: #4B5563;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

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

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

.prose th {
  background: var(--yellow);
}

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 12px;
  padding-bottom: 24px;
  background: var(--ink);
  color: #fff;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 44px 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.22);
}

.cta h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.cta h2 span {
  display: inline-block;
  padding: 0 0.2em;
  background: var(--pink);
  border-radius: 4px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 26px;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--yellow);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  background: transparent;
  color: var(--yellow);
}

.foot-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding: 34px 0;
}

.foot address {
  font-style: normal;
  line-height: 1.9;
  color: #D7DCE6;
}

.foot-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.16s ease;
}

.foot-links a:hover,
.foot-links a:focus-visible {
  color: var(--yellow);
}

.copy {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #C3CAD6;
  font-size: 1rem;
}

/* ---------- 动效 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pills a,
  .cta-btn,
  .foot-links a {
    transition: none;
  }
}

/* ---------- 窄屏 ---------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    min-height: 0;
    padding: 36px 0 46px;
  }

  .hero-art {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }

  .badge {
    bottom: 8%;
    font-size: 0.9rem;
  }

  .stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-bottom: 52px;
  }

  .rail {
    position: static;
  }

  .rail-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .rail-list a {
    min-height: 40px;
    padding: 6px 12px;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 999px;
  }

  .prose > section {
    scroll-margin-top: 16px;
  }

  .foot-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

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

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .topbar {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
  }

  .pills a,
  .pills {
    gap: 6px;
  }

  .pills a {
    padding: 8px 13px;
    font-size: 0.95rem;
  }

  .foot-links {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 32px 0;
  }
}

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