@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 {
  --peach: #FF6B4A;
  --ink: #14110F;
  --cream: #F5EDE4;
  --pad: clamp(16px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Space Grotesk", "Archivo", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 2px;
}

/* 顶部导航 */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px var(--pad);
  background: var(--ink);
  color: var(--cream);
  border-bottom: 9px solid var(--peach);
}

.nav__list {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list li {
  order: 1;
}

.nav__list li:nth-child(n+5) {
  order: 3;
}

.nav__list a {
  display: block;
  padding: 12px 10px;
  color: var(--cream);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .02em;
  transition: background .16s ease, color .16s ease;
}

.nav__list a:hover,
.nav__list a:focus-visible {
  background: var(--peach);
  color: var(--ink);
}

.brand {
  order: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 clamp(10px, 2vw, 26px);
  padding: 10px 0;
  color: var(--cream);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.brand__dot {
  width: 13px;
  height: 13px;
  background: var(--peach);
  display: block;
}

.cta {
  order: 4;
  margin-left: clamp(8px, 1.5vw, 20px);
  padding: 12px 16px;
  background: var(--peach);
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  transition: opacity .16s ease;
}

.cta:hover {
  opacity: .84;
}

/* 头图 */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 45vh;
  background: var(--ink);
  overflow: hidden;
}

.hero__fig {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .92;
}

.hero__plate {
  position: relative;
  z-index: 2;
  max-width: min(700px, 100%);
  padding: clamp(18px, 3vw, 36px) clamp(18px, 3vw, 44px);
  background: var(--peach);
  color: var(--ink);
  border-top: 8px solid var(--ink);
  border-left: 8px solid var(--ink);
  text-align: right;
}

.hero__mark {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .22em;
}

.hero__h1 {
  margin: 0;
  font-size: clamp(30px, 5.4vw, 60px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.022em;
}

/* 主体 */
.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 278px;
  gap: clamp(20px, 3vw, 52px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 54px) var(--pad) 0;
}

.doc {
  min-width: 0;
}

.doc > div {
  padding: clamp(26px, 3.6vw, 46px) 0;
  border-top: 3px solid var(--ink);
  scroll-margin-top: 108px;
}

.doc > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.doc h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3.3vw, 36px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -.016em;
}

.doc h2::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 11px;
  background: var(--peach);
  vertical-align: baseline;
}

.doc h3 {
  margin: 26px 0 12px;
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.3;
  font-weight: 700;
}

.doc p {
  margin: 0 0 16px;
}

.doc ul,
.doc ol {
  margin: 0 0 18px;
  padding-left: 1.25em;
}

.doc li {
  margin: 0 0 8px;
}

.doc li::marker {
  color: var(--peach);
  font-weight: 700;
}

.doc strong {
  background: var(--peach);
  padding: 0 .18em;
  font-weight: 700;
}

.doc a {
  text-decoration: underline;
  text-decoration-color: var(--peach);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.doc time {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.doc blockquote {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-left: 7px solid var(--peach);
  background: rgba(255, 107, 74, .09);
}

.doc blockquote p:last-child {
  margin-bottom: 0;
}

.doc img {
  height: auto;
  display: block;
  margin: 0 0 18px;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 16px;
}

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

.doc th {
  background: var(--ink);
  color: var(--cream);
}

/* 侧栏 */
.rail {
  position: sticky;
  top: 100px;
  border: 3px solid var(--ink);
  background: var(--cream);
  padding: 18px 16px;
}

.rail__kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--peach);
  margin-bottom: 2px;
}

.rail__h {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.01em;
}

.rail__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.rail__list li {
  border-bottom: 1px solid rgba(20, 17, 15, .2);
}

.rail__list a {
  display: block;
  padding: 11px 2px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  transition: color .16s ease;
}

.rail__list a:hover {
  color: var(--peach);
}

.rail__top {
  display: block;
  padding: 11px 8px;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  transition: background .16s ease, color .16s ease;
}

.rail__top:hover {
  background: var(--peach);
  color: var(--ink);
}

/* 页脚 */
.foot {
  margin-top: clamp(38px, 6vw, 84px);
  padding: clamp(26px, 4vw, 54px) var(--pad);
  background: var(--ink);
  color: var(--cream);
}

.foot__band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: clamp(22px, 3vw, 40px);
  border-bottom: 6px solid var(--peach);
}

.foot__lead {
  margin: 0;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.foot__cta {
  display: inline-block;
  padding: 16px 28px;
  background: var(--peach);
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  transition: opacity .16s ease;
}

.foot__cta:hover {
  opacity: .84;
}

.foot__cols {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr .8fr;
  gap: clamp(18px, 3vw, 44px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 40px) 0;
}

.foot dl {
  margin: 0;
}

.foot dt {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--peach);
}

.foot dd {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.6;
}

.foot a {
  display: inline-block;
  padding: 8px 0;
  color: var(--cream);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
}

.foot a:hover {
  color: var(--peach);
}

.foot__brand {
  font-weight: 700;
  font-size: 18px;
}

.foot__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin: 0;
  padding: 0;
}

.foot__cr {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 237, 228, .26);
  font-size: 15px;
  color: rgba(245, 237, 228, .78);
}

/* 揭示动效 */
.js .doc > div {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .34s ease, transform .34s ease;
}

.js .doc > div.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .doc > div {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav__list a,
  .cta,
  .rail__list a,
  .rail__top,
  .foot a,
  .foot__cta {
    transition: none;
  }
}

/* 移动端 */
@media (max-width: 980px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .rail {
    position: static;
    order: 2;
  }
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 6px 10px;
  }

  .brand {
    order: 0;
    flex: 1 0 100%;
    justify-content: center;
    margin: 0 0 4px;
    padding: 8px 0;
    font-size: 17px;
  }

  .nav__list li:nth-child(n) {
    order: 1;
  }

  .nav__list a {
    padding: 12px 8px;
    font-size: 16px;
  }

  .cta {
    order: 2;
    padding: 12px 12px;
  }

  .hero {
    min-height: 48vh;
  }

  .hero__plate {
    max-width: 100%;
    width: 100%;
    border-left: 0;
    text-align: left;
    padding: 18px var(--pad) 22px;
  }

  .doc > div {
    scroll-margin-top: 168px;
  }

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

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

  .foot__cta {
    width: 100%;
    text-align: center;
  }
}

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