@charset "utf-8";

:root {
  --ink: #111111;
  --red: #E4572E;
  --paper: #F4F1EA;
  --line: rgba(17, 17, 17, .16);
  --line-inv: rgba(244, 241, 234, .24);
  --muted: rgba(17, 17, 17, .68);
  --pad: clamp(1.15rem, 4vw, 3rem);
  --edge: 74rem;
}

*,
*::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: "Inter", system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: .004em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

p { margin: 0 0 1.1em; }
a { color: var(--red); text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { padding-left: 1.25em; }
li { margin: .38em 0; }
strong, b { font-weight: 700; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99;
  background: var(--ink);
  color: var(--paper);
  padding: .7rem 1.1rem;
  border-radius: 0 0 12px 0;
  text-decoration: none;
  font-weight: 700;
}
.skip:focus { left: 0; }

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

/* 顶部主条 */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--ink);
  color: var(--paper);
  padding: .7rem var(--pad);
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
  overflow: hidden;
}
.mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

.primary {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.primary::-webkit-scrollbar { display: none; }

.primary ol,
.anchors ol {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .45rem 1.05rem;
  border: 1px solid var(--line-inv);
  border-radius: 999px;
  color: var(--paper);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}
.primary a:hover,
.primary a:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* 二级粘性锚点条 */
.anchorbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 241, 234, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.anchors {
  max-width: var(--edge);
  margin: 0 auto;
  padding: .45rem var(--pad);
  overflow-x: auto;
  scrollbar-width: none;
}
.anchors::-webkit-scrollbar { display: none; }

.anchors a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .3rem .9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.anchors a:hover,
.anchors a:focus-visible {
  color: var(--red);
  border-color: var(--red);
}

/* 首屏 */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  min-height: 100svh;
  padding: clamp(3.5rem, 9vh, 6rem) var(--pad) clamp(2.5rem, 7vh, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-num {
  position: absolute;
  right: -.06em;
  bottom: -.18em;
  z-index: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(11rem, 34vw, 26rem);
  line-height: .8;
  color: rgba(17, 17, 17, .055);
  pointer-events: none;
  will-change: transform;
}

.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 6.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hero-desc {
  max-width: 34rem;
  margin: 0 auto 1.7rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.66;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: .55rem 1.6rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: .98rem;
  transition: background .22s ease, transform .22s ease;
}
.hero-cta:hover { background: var(--red); }

.hero-art {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 4 / 5;
  max-height: 70svh;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(228, 87, 46, .16) 0 12px, transparent 12px 26px),
    linear-gradient(200deg, rgba(17, 17, 17, .07), rgba(244, 241, 234, 0) 60%);
  will-change: transform;
}
.hero-art .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* 正文主容器 */
main {
  display: block;
}

main > div[id] {
  position: relative;
  max-width: var(--edge);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) var(--pad);
  border-top: 1px solid var(--line);
  scroll-margin-top: 86px;
}

main > div[id] > * { max-width: 60rem; }

main > div[id]:nth-of-type(even) {
  background: var(--ink);
  color: var(--paper);
  border-top-color: transparent;
}
main > div[id]:nth-of-type(even) a { color: #F2A78C; }
main > div[id]:nth-of-type(even) figure { border-color: var(--line-inv); }
main > div[id]:nth-of-type(even) blockquote { border-color: var(--line-inv); }

main > div[id] small {
  display: block;
  margin-bottom: .45rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: .07em;
  color: var(--red);
}

main > div[id] h2 {
  margin: .05em 0 .75em;
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.028em;
  text-wrap: balance;
}

main > div[id] h3 {
  margin: 2em 0 .6em;
  font-size: clamp(1.14rem, 2.4vw, 1.36rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.012em;
}

main > div[id] p,
main > div[id] li {
  font-size: 1.02rem;
}

main > div[id] figure {
  margin: 1.8rem 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
main > div[id] figure img { border-radius: 0; width: 100%; }
main > div[id] figcaption {
  padding: .7rem 1rem;
  font-size: .88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
main > div[id]:nth-of-type(even) figcaption { color: rgba(244, 241, 234, .68); }

main > div[id] blockquote {
  margin: 1.8rem 0;
  padding: 1.05rem 1.3rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 18px;
}
main > div[id] blockquote p:last-child { margin-bottom: 0; }

main > div[id] ul,
main > div[id] ol {
  margin: 0 0 1.2em;
  padding-left: 1.1em;
}
main > div[id] li::marker { color: var(--red); }

main > div[id] h2 + p,
main > div[id] h3 + p { margin-top: 0; }

/* 收束区 */
.outro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: var(--edge);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5.5rem) var(--pad);
  border-top: 1px solid var(--line);
  align-items: start;
  scroll-margin-top: 86px;
}

.outro-main { border-left: 3px solid var(--red); padding-left: clamp(1rem, 3vw, 1.6rem); }

.outro-brand {
  margin: 0 0 1.4rem;
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .45rem 1.3rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .94rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.back:hover { background: var(--ink); color: var(--paper); }

.outro-side {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.2rem 1.3rem;
}
.outro-side small {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: .92rem;
  color: var(--red);
  letter-spacing: .07em;
}
.outro-side h2 {
  margin: .15em 0 .7em;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.side-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.side-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: .2rem 0;
  color: var(--ink);
  text-decoration: none;
  font-size: .94rem;
  border-bottom: 1px solid transparent;
}
.side-list a:hover { color: var(--red); }

/* 页脚 */
.foot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.6rem;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.4rem, 6vw, 4rem) var(--pad) 1.4rem;
}

.foot div { min-width: 0; }

.foot small {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: .88rem;
  color: var(--red);
  letter-spacing: .07em;
}
.foot h2 {
  margin: .2em 0 .7em;
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: .01em;
}

.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: rgba(244, 241, 234, .82);
  text-decoration: none;
  font-size: .92rem;
}
.foot li a:hover { color: var(--red); }

.f-brand {
  margin: .9rem 0 0;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -.015em;
}

.foot .back { border-color: var(--line-inv); color: var(--paper); }
.foot .back:hover { background: var(--red); border-color: var(--red); color: #fff; }

.signup { display: flex; flex-wrap: wrap; gap: .5rem; }
.signup input {
  flex: 1 1 8rem;
  min-width: 0;
  min-height: 44px;
  padding: .45rem 1rem;
  border: 1px solid var(--line-inv);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: .95rem;
}
.signup input::placeholder { color: rgba(244, 241, 234, .55); }
.signup button {
  min-height: 44px;
  padding: .45rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: filter .2s ease;
}
.signup button:hover { filter: brightness(1.08); }

.foot-base {
  grid-column: 1 / -1;
  margin-top: .6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-inv);
  text-align: center;
  font-size: .85rem;
  color: rgba(244, 241, 234, .7);
}
.foot-base p { margin: 0; }

/* 视差与逐条浮现 */
.js-on .hero-copy > *,
.js-on main > div[id] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .75s cubic-bezier(.2, .75, .25, 1);
}
.js-on .is-in > * { opacity: 1; transform: none; }
.js-on .is-in > *:nth-child(2) { transition-delay: .07s; }
.js-on .is-in > *:nth-child(3) { transition-delay: .14s; }
.js-on .is-in > *:nth-child(4) { transition-delay: .21s; }
.js-on .is-in > *:nth-child(5) { transition-delay: .28s; }
.js-on .is-in > *:nth-child(6) { transition-delay: .35s; }
.js-on .is-in > *:nth-child(n+7) { transition-delay: .4s; }

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 1.6rem;
    padding-top: clamp(1.6rem, 7vh, 3rem);
  }
  .hero-num {
    font-size: clamp(9rem, 38vw, 17rem);
    bottom: -.1em;
    right: -.12em;
  }
  .hero-art {
    aspect-ratio: 16 / 11;
    max-height: none;
  }
  .outro { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .masthead { padding: .6rem var(--pad); }
  main > div[id] { padding-top: clamp(2.4rem, 7vh, 3.6rem); padding-bottom: clamp(2.4rem, 7vh, 3.6rem); }
  .foot { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .signup { flex-direction: column; }
  .signup input,
  .signup button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-on .hero-copy > *,
  .js-on main > div[id] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-art,
  .hero-num { will-change: auto; }
}

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