@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700&family=Russo+One&display=swap');

:root {
  --blue: #3bb1ff;
  --red: #ff5252;
  --ink: #000000;
  --paper: #f4f2ec;
  --line: 3px solid #000000;
  --disp: "Russo One", "Chakra Petch", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "Chakra Petch", system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::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: var(--body);
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

h1, h2, h3 {
  font-family: var(--disp);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  word-break: break-word;
}

p { margin: 0 0 1em; }

a { color: inherit; }

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

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

/* 顶部：细条 / 品牌行 / 菜单行 */
.ticker {
  margin: 0;
  background: var(--ink);
  color: var(--blue);
  font-family: var(--disp);
  font-size: 13px;
  letter-spacing: .3em;
  padding: 7px 18px;
}

.brandrow {
  background: #ffffff;
  border-bottom: var(--line);
  padding: 14px 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--disp);
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border: var(--line);
  background: #fff;
  object-fit: cover;
}

.menuline {
  background: var(--blue);
  border-bottom: var(--line);
}

.menubtn {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 0;
  background: var(--blue);
  color: var(--ink);
  font-family: var(--disp);
  font-size: 18px;
  letter-spacing: .22em;
  text-align: left;
  cursor: pointer;
}

.menubtn:hover { background: var(--red); }

/* 全屏遮罩菜单 */
.sitemenu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--blue);
  padding: 76px 18px 28px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s linear;
}

.menu-open .sitemenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.menu-open .menuline {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  border-bottom: 0;
  background: transparent;
}

.menu-open .menubtn {
  width: auto;
  min-width: 96px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

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

.menu-list li + li { border-top: var(--line); }

.menu-list a {
  display: block;
  min-height: 56px;
  padding: 15px 4px;
  font-family: var(--disp);
  font-size: clamp(19px, 5vw, 26px);
  color: var(--ink);
  text-decoration: none;
}

.menu-list a:hover { background: var(--red); }

/* 首屏 */
.hero {
  min-height: 70vh;
  background: var(--blue);
  border-bottom: var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-copy {
  padding: 34px 18px 20px;
  text-align: right;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(30px, 8.4vw, 62px);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.hero-fig {
  margin: 0;
  border-top: var(--line);
  background: var(--ink);
}

.hero-fig:empty { min-height: 32vh; }

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

/* 正文 + 右侧栏 */
.stage { padding: 26px 18px 6px; }

.content > section {
  border-top: var(--line);
  padding: 26px 0 12px;
  scroll-margin-top: 20px;
}

.content > section:first-child { border-top: 0; padding-top: 4px; }

.content h2 { font-size: clamp(23px, 5.6vw, 34px); }

.content h3 { font-size: clamp(19px, 4.4vw, 24px); }

.content p,
.content li { line-height: 1.78; }

.content ul,
.content ol { padding-left: 1.25em; }

.content a {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--blue);
  text-underline-offset: 3px;
}

.content a:hover { text-decoration-color: var(--red); color: var(--red); }

.content blockquote {
  margin: 18px 0;
  padding: 14px 16px;
  border: var(--line);
  border-radius: 28px;
  background: #fff;
}

.content figure { margin: 18px 0; }

.content img { border: var(--line); display: block; }

.content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.content th,
.content td {
  border: 2px solid #000;
  padding: 8px 10px;
  text-align: left;
}

.content small,
.rail small {
  display: block;
  font-family: var(--disp);
  font-size: 13px;
  letter-spacing: .24em;
  color: var(--red);
  margin-bottom: 6px;
}

.rail {
  margin: 26px 0 8px;
  border: var(--line);
  border-radius: 28px;
  background: #ffffff;
  padding: 18px;
}

.rail h2 {
  font-size: 20px;
  margin: 0 0 .55em;
}

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

.rail-list a {
  display: block;
  min-height: 40px;
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 2px dotted #000;
}

.rail-list a:hover { color: var(--red); }

.totop { padding: 22px 18px 34px; }

.totop a {
  display: inline-block;
  min-height: 48px;
  padding: 13px 26px;
  border: var(--line);
  border-radius: 16px;
  background: var(--red);
  box-shadow: 5px 5px 0 #000;
  font-family: var(--disp);
  font-size: 17px;
  letter-spacing: .1em;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}

.totop a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #000;
}

/* 页脚 */
.foot {
  background: var(--ink);
  color: #ffffff;
  border-top: var(--line);
  padding: 26px 18px 18px;
}

.cta a {
  display: block;
  padding: 18px;
  border: 3px solid #ffffff;
  border-radius: 24px;
  background: var(--blue);
  box-shadow: 5px 5px 0 var(--red);
  color: var(--ink);
  font-family: var(--disp);
  font-size: clamp(20px, 5.4vw, 28px);
  letter-spacing: .08em;
  text-align: center;
  text-decoration: none;
  transition: transform .12s ease;
}

.cta a:hover { transform: translate(-2px, -2px); }

.fcols {
  display: grid;
  gap: 22px;
  margin: 28px 0 20px;
}

.fcol { margin: 0; }

.fcol dt {
  font-family: var(--disp);
  color: var(--blue);
  letter-spacing: .14em;
  font-size: 16px;
  margin-bottom: 8px;
}

.fcol dd { margin: 0; }

.fcol a {
  display: block;
  min-height: 40px;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #2c2c2c;
}

.fcol a:hover { color: var(--red); }

.legal {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #2c2c2c;
  text-align: center;
  font-size: 15px;
  color: #c7c7c7;
}

/* 进场微动效 */
@media (prefers-reduced-motion: no-preference) {
  .menu-list li,
  .rail-list li {
    animation: rise .32s ease both;
  }
  .menu-list li:nth-child(2),
  .rail-list li:nth-child(2) { animation-delay: .04s; }
  .menu-list li:nth-child(3),
  .rail-list li:nth-child(3) { animation-delay: .08s; }
  .menu-list li:nth-child(4),
  .rail-list li:nth-child(4) { animation-delay: .12s; }
  .menu-list li:nth-child(5),
  .rail-list li:nth-child(5) { animation-delay: .16s; }
  .menu-list li:nth-child(6),
  .rail-list li:nth-child(6) { animation-delay: .2s; }
  .menu-list li:nth-child(7),
  .rail-list li:nth-child(7) { animation-delay: .24s; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

@media (min-width: 720px) {
  .fcols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 920px) {
  .stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 282px;
    gap: 36px;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
    padding: 36px 18px 10px;
  }
  .rail {
    position: sticky;
    top: 22px;
    margin-top: 4px;
  }
  .hero-copy { padding-right: max(18px, calc((100vw - 1120px) / 2)); }
  .foot { padding-left: max(18px, calc((100vw - 1120px) / 2)); padding-right: max(18px, calc((100vw - 1120px) / 2)); }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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