/* 设计变量、基础样式、公共容器、标题和按钮 */

:root {
  --red: #ed1c2b;
  --red-dark: #bd111c;
  --ink: #111317;
  --text: #535861;
  --muted: #838791;
  --paper: #fff;
  --soft: #f5f6f8;
  --line: #e5e7eb;
  --shadow: 0 22px 60px rgba(18, 24, 35, .08);
  --shell: min(2400px, calc(100vw - clamp(64px, 7.5vw, 192px)));
  --header-height: 80px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--red) #eceef1;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 9px; }

::-webkit-scrollbar-track { background: #eceef1; }

::-webkit-scrollbar-thumb {
  background: var(--red);
  border: 2px solid #eceef1;
  border-radius: 99px;
}

::selection {
  color: #fff;
  background: var(--red);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.source-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: .18em;
}

button {
  color: inherit;
  font: inherit;
}

h1, h2, h3, p { text-wrap: pretty; }

.wide-shell {
  width: var(--shell);
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -64px;
  left: 24px;
  z-index: 110;
  padding: 12px 18px;
  color: #fff;
  background: var(--red);
  border-radius: 0 0 10px 10px;
}

.skip-link:focus { top: 0; }

.hero-kicker, .section-kicker {
  margin: 0 0 22px;
  color: var(--red);
  font-size: clamp(13px, .65vw, 18px);
  font-weight: 750;
  letter-spacing: .025em;
}

h1 span, h2 span, .closing h2 span { color: var(--red); }

.button {
  min-height: 50px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: clamp(14px, .7vw, 18px);
  font-weight: 680;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button b { font-size: 1.1em; }

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 30px rgba(237,28,43,.25);
}

.button-primary:hover { background: var(--red-dark); }

.button-secondary {
  background: rgba(255,255,255,.78);
  border-color: rgba(17,19,23,.14);
  backdrop-filter: blur(12px);
}

.band {
  min-height: calc(100svh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  padding: clamp(56px, 6vh, 80px) 0 clamp(48px, 5vh, 72px);
  display: flex;
  align-items: center;
  scroll-margin-top: var(--header-height);
}

.band > .wide-shell { flex: 0 0 var(--shell); }

.soft-band { background: var(--soft); }

/* 区块的外层间距与 .band 一起维护，按下方断点覆盖。 */
.about-band { padding-block: clamp(80px, 5vw, 130px); }

.about-copy h2, .section-heading h2 {
  margin: 0;
  font-size: clamp(46px, 3vw, 74px);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -.055em;
}

.section-heading {
  margin-bottom: clamp(38px, 2.5vw, 66px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: clamp(48px, 5vw, 128px);
  align-items: end;
}

.section-heading > p {
  max-width: 640px;
  margin: 0 0 5px;
  justify-self: start;
  color: var(--muted);
  font-size: clamp(15px, .76vw, 20px);
  line-height: 1.75;
}

.button-light {
  margin-top: 28px;
  color: var(--red);
  background: #fff;
}

@media (max-width: 1500px) {
  :root { --shell: calc(100vw - 80px); }
}

@media (min-width: 821px) and (max-height: 1000px) {
  .band { padding: 56px 0 36px; }

  .section-heading { margin-bottom: 28px; }
}

@media (max-width: 1180px) {
  :root { --shell: calc(100vw - 56px); }
}

@media (max-width: 820px) {
  :root {
    --shell: calc(100vw - 40px);
    --header-height: 70px;
  }

  .band {
    min-height: calc(100svh - 70px);
    min-height: calc(100dvh - 70px);
    scroll-margin-top: 70px;
  }

  .band { padding: 76px 0; }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-heading > p { justify-self: start; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 32px); }

  .button {
    min-height: 45px;
    padding: 0 18px;
    gap: 14px;
  }

  .band {
    min-height: 0;
    padding: 76px 0 58px;
  }

  .about-band { padding-block: 84px 58px; }

  .about-copy h2, .section-heading h2 {
    font-size: clamp(31px, 7.8vw, 35px);
    line-height: 1.16;
  }

  .section-heading { margin-bottom: 30px; }
}
