/* =========================================================================
   广州皇恒电商有限公司 · 门户站点
   设计语言：硬边色块 / 发丝分隔线 / 压缩体大写微标签 / 表格化排版
   字体：全部使用系统字体栈，离线可用，不依赖外网字体
   ========================================================================= */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --ink: #0a0a0b;
  --ink-2: #131316;
  --ink-3: #1b1b1f;
  --paper: #f2f0ea;
  --paper-2: #e8e5dc;
  --paper-3: #dcd8cc;
  --blue: #1717e0;
  --blue-2: #2b2bf5;
  --on-blue: #f2f0ea;

  --muted: #6b6860;
  --muted-2: #8b877e;
  --ok: #7be0a8;

  --line: rgba(10, 10, 11, 0.14);
  --line-soft: rgba(10, 10, 11, 0.08);
  --line-ink: rgba(242, 240, 234, 0.16);
  --line-blue: rgba(242, 240, 234, 0.22);

  --pad: clamp(18px, 4vw, 56px);
  --maxw: 1560px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-sans: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC",
    "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-cond: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed",
    "Oswald", "Liberation Sans Narrow", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "Cascadia Mono", Consolas,
    "SF Mono", Menlo, monospace;
}

/* ---------- 2. 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--blue);
  color: var(--paper);
}

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

.section--ink :focus-visible,
.section--blue :focus-visible,
.site-nav :focus-visible {
  outline-color: var(--paper);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 18px;
  font-size: 13px;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- 3. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-family: var(--font-cond);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.2;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.section {
  position: relative;
  padding-block: clamp(60px, 8.5vw, 124px);
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

.section--paper {
  background: var(--paper);
  color: var(--ink);
}

.section--paper2 {
  background: var(--paper-2);
  color: var(--ink);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--blue {
  background: var(--blue);
  color: var(--paper);
}

/* 章节标题区 */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.72fr);
  gap: clamp(22px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.sec-index {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.sec-index .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.sec-index .rule {
  height: 1px;
  width: clamp(28px, 5vw, 90px);
  background: currentColor;
  opacity: 0.28;
}

.sec-index .en {
  font-family: var(--font-cond);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.55;
}

.sec-title {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.028em;
  max-width: 22ch;
}

.sec-lead {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 46ch;
  padding-bottom: 6px;
}

.section--ink .sec-lead {
  color: rgba(242, 240, 234, 0.66);
}

.section--blue .sec-lead {
  color: rgba(242, 240, 234, 0.8);
}

/* 入场 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 4. 顶部导航 ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-nav.is-scrolled {
  background: rgba(10, 10, 11, 0.94);
  border-bottom-color: var(--line-ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  width: 27px;
  height: 27px;
  color: var(--paper);
  flex: none;
}

.brand-mark rect,
.brand-mark path {
  vector-effect: non-scaling-stroke;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-cn {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.brand-en {
  font-family: var(--font-cond);
  font-size: 9px;
  letter-spacing: 0.3em;
  opacity: 0.6;
  margin-top: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  opacity: 0.72;
  transition: opacity 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  border: 1px solid var(--line-blue);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.nav-cta .ar {
  font-family: var(--font-mono);
  font-size: 13px;
  transition: transform 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--paper);
  color: var(--blue);
  border-color: var(--paper);
}

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

.progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue-2);
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  place-items: center;
  flex: none;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--nav-h);
  background: var(--blue);
  color: var(--on-blue);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.hero-rules {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
  z-index: 0;
}

.hero-rules i {
  border-right: 1px solid rgba(242, 240, 234, 0.09);
}

.hero-rules i:last-child {
  border-right: 0;
}

.hero-glow {
  position: absolute;
  right: -18vw;
  bottom: -46vw;
  width: 82vw;
  height: 82vw;
  border: 1px solid rgba(242, 240, 234, 0.13);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3.4vh, 44px);
  padding-block: clamp(20px, 3.6vh, 44px) clamp(26px, 4vh, 52px);
}

.hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-blue);
}

.hero-head .status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.72;
}

.hero-head .dot {
  width: 5px;
  height: 5px;
  background: var(--paper);
  display: block;
}

.hero-title {
  font-size: clamp(41px, 8.2vw, 132px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 15ch;
}

.hero-title .ln {
  display: block;
}

.hero-title .stamp {
  display: inline-block;
  background: var(--paper);
  color: var(--blue);
  padding: 0.02em 0.1em 0.06em;
  margin-right: 0.06em;
}

.hero-title .tail {
  font-family: var(--font-cond);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(24px, 5vw, 90px);
  align-items: end;
  margin-top: auto;
  padding-bottom: clamp(8px, 2vh, 24px);
}

.hero-sub {
  font-size: clamp(13.5px, 1.05vw, 16px);
  line-height: 1.82;
  max-width: 54ch;
  color: rgba(242, 240, 234, 0.86);
  margin-bottom: 26px;
}

.hero-sub strong {
  font-weight: 600;
  color: var(--paper);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  border: 1px solid var(--line-blue);
  transition: background 0.25s, color 0.25s, border-color 0.25s,
    transform 0.25s var(--ease);
}

.btn .ar {
  font-family: var(--font-mono);
  transition: transform 0.3s var(--ease);
}

.btn:hover .ar {
  transform: translateX(3px);
}

.btn--solid {
  background: var(--paper);
  color: var(--blue);
  border-color: var(--paper);
}

.btn--solid:hover {
  background: #fff;
  border-color: #fff;
}

.btn--ghost:hover {
  background: rgba(242, 240, 234, 0.08);
}

.hero-list {
  border-top: 1px solid var(--line-blue);
}

.hero-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-blue);
}

.hero-list .n {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.55;
}

.hero-list .t {
  font-size: 12.8px;
  letter-spacing: 0.01em;
}

.hero-list .en {
  font-family: var(--font-cond);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.42;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(242, 240, 234, 0.62);
}

.hero-tags span::before {
  content: "·";
  margin-right: 8px;
  opacity: 0.6;
}

/* 跑马灯 */
.ticker {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-blue);
  overflow: hidden;
  padding: 11px 0;
  background: var(--blue);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-seq {
  display: flex;
  align-items: center;
}

.ticker-seq span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-left: 24px;
  opacity: 0.58;
}

.ticker-seq span::before {
  content: "／";
  margin-right: 24px;
  opacity: 0.4;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 6. 业务体系 ---------- */
.biz-list {
  border-top: 1px solid var(--line);
}

.biz {
  border-bottom: 1px solid var(--line);
}

.biz-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.05fr) minmax(0, 1.45fr) 40px;
  gap: clamp(12px, 2.6vw, 40px);
  align-items: start;
  width: 100%;
  padding: 26px 0;
  text-align: left;
  transition: background 0.3s var(--ease), padding 0.35s var(--ease);
}

.biz-row:hover {
  background: var(--paper-2);
}

.section--paper2 .biz-row:hover {
  background: var(--paper);
}

.biz-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding-top: 7px;
  color: var(--muted-2);
}

.biz-title {
  font-size: clamp(19px, 1.85vw, 26px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.biz-sub {
  display: block;
  margin-top: 7px;
  font-family: var(--font-cond);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.biz-desc {
  font-size: 13.4px;
  line-height: 1.78;
  color: var(--muted);
}

.biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.biz-tags li {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  padding: 3px 7px;
  color: var(--muted);
  transition: border-color 0.25s, color 0.25s;
}

.biz-row:hover .biz-tags li {
  border-color: rgba(10, 10, 11, 0.24);
  color: var(--ink);
}

.biz-toggle {
  justify-self: end;
  position: relative;
  width: 15px;
  height: 15px;
  margin-top: 6px;
  flex: none;
}

.biz-toggle i {
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.biz-toggle i:last-child {
  transform: rotate(90deg);
}

.biz.is-open .biz-toggle i:last-child {
  transform: rotate(0deg);
}

.biz-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.biz.is-open .biz-panel {
  grid-template-rows: 1fr;
}

.biz-panel > div {
  overflow: hidden;
}

.biz-panel-inner {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(12px, 2.6vw, 40px);
  padding-bottom: 30px;
}

.biz-detail {
  max-width: 86ch;
}

.biz-detail li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13.2px;
  line-height: 1.72;
  color: rgba(10, 10, 11, 0.8);
}

.biz-detail li .mk {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--blue);
  padding-top: 4px;
}

.biz-note {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  line-height: 1.9;
}

/* ---------- 7. 系统能力 ---------- */
.sys-top {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(26px, 4.5vw, 72px);
  align-items: start;
}

.sys-copy {
  font-size: 13.8px;
  line-height: 1.85;
  color: rgba(242, 240, 234, 0.72);
  max-width: 46ch;
}

.spec {
  margin-top: 30px;
  border-top: 1px solid var(--line-ink);
}

.spec > div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-ink);
}

.spec dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(242, 240, 234, 0.44);
  padding-top: 3px;
}

.spec dd {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(242, 240, 234, 0.88);
}

/* 终端示意 */
.term {
  border: 1px solid var(--line-ink);
  background: var(--ink-2);
  font-family: var(--font-mono);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
}

.term-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-ink);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 240, 234, 0.5);
}

.term-dots {
  display: flex;
  gap: 5px;
}

.term-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(242, 240, 234, 0.4);
}

.term-tag {
  border: 1px solid var(--line-ink);
  padding: 2px 7px;
  letter-spacing: 0.16em;
}

.term-cmd {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-ink);
  font-size: 11.5px;
  color: rgba(242, 240, 234, 0.86);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.term-cmd .ps {
  color: var(--ok);
}

.caret {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--paper);
  animation: blink 1.2s steps(1) infinite;
  flex: none;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.term-body {
  padding: 8px 16px 14px;
}

.term-row {
  display: grid;
  grid-template-columns: 44px 62px minmax(0, 1fr) 30px;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(242, 240, 234, 0.1);
  font-size: 11px;
}

.term-row:last-child {
  border-bottom: 0;
}

.term-row .i {
  color: rgba(242, 240, 234, 0.34);
}

.term-row .k {
  color: var(--paper);
  letter-spacing: 0.06em;
}

.term-row .d {
  color: rgba(242, 240, 234, 0.56);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.term-row .s {
  text-align: right;
  font-size: 9.5px;
  color: var(--ok);
  letter-spacing: 0.08em;
}

.term-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  border-top: 1px solid var(--line-ink);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 240, 234, 0.44);
}

/* 能力矩阵 */
.matrix-block {
  margin-top: clamp(34px, 5vw, 64px);
}

.matrix-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.matrix-head h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.matrix-head span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(242, 240, 234, 0.4);
  text-transform: uppercase;
}

.matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.matrix {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border: 1px solid var(--line-ink);
}

.matrix th {
  font-family: var(--font-cond);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-ink);
  color: rgba(242, 240, 234, 0.45);
  white-space: nowrap;
}

.matrix th:first-child {
  width: 30%;
}

.matrix td {
  padding: 13px 16px;
  border-top: 1px solid rgba(242, 240, 234, 0.1);
  font-size: 12.5px;
  color: rgba(242, 240, 234, 0.84);
}

.matrix tbody tr {
  transition: background 0.25s;
}

.matrix tbody tr:hover {
  background: rgba(242, 240, 234, 0.04);
}

.matrix td.dom {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.matrix td.mark {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper);
}

.matrix td.mark.part {
  color: rgba(242, 240, 234, 0.5);
}

.matrix td.mark.none {
  color: rgba(242, 240, 234, 0.22);
}

.matrix-note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: rgba(242, 240, 234, 0.38);
}

/* ---------- 8. 数据治理 ---------- */
.gov-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.gov {
  background: var(--paper);
  padding: clamp(20px, 2.3vw, 32px);
  min-height: 196px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.3s var(--ease);
}

.section--paper2 .gov {
  background: var(--paper-2);
}

.gov:hover {
  background: var(--paper-3);
}

.gov .n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.gov h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.005em;
}

.gov .en {
  font-family: var(--font-cond);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.gov p {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12.6px;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 9. 方法 / 引言带 ---------- */
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.pull {
  font-size: clamp(31px, 4.9vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.038em;
}

.pull .mark {
  color: rgba(242, 240, 234, 0.45);
  font-family: var(--font-cond);
  font-weight: 400;
}

.method-note {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(242, 240, 234, 0.8);
  max-width: 44ch;
  padding-bottom: 8px;
}

.steps {
  margin-top: clamp(34px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-blue);
}

.steps li {
  padding: 20px 22px 4px 0;
  border-right: 1px solid var(--line-blue);
  padding-left: 22px;
}

.steps li:first-child {
  padding-left: 0;
}

.steps li:last-child {
  border-right: 0;
}

.steps .n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.6;
}

.steps h4 {
  margin-top: 10px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.steps p {
  margin-top: 8px;
  font-size: 11.8px;
  line-height: 1.75;
  color: rgba(242, 240, 234, 0.7);
  max-width: 30ch;
}

/* ---------- 10. 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}

.about-body p {
  font-size: 14px;
  line-height: 1.95;
  color: rgba(10, 10, 11, 0.78);
  max-width: 58ch;
}

.about-body p + p {
  margin-top: 18px;
}

.about-sign {
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.facts {
  border-top: 1px solid var(--ink);
}

.facts > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  padding-top: 3px;
}

.facts dd {
  font-size: 12.8px;
  line-height: 1.6;
}

.coops {
  margin-top: 26px;
  border-top: 1px solid var(--ink);
}

.coops li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.coops .n {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted-2);
  padding-top: 4px;
}

.coops h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.coops p {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 11. 联系 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.channels {
  border-top: 1px solid var(--ink);
}

.channels > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.channels dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  padding-top: 4px;
}

.channels dd {
  font-size: 12.8px;
  line-height: 1.7;
}

.channels dd strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 3px;
}

.contact-note {
  margin-top: 22px;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--muted-2);
  max-width: 42ch;
}

.form {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  padding: clamp(20px, 2.6vw, 32px);
}

.form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-head h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.form-head span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label .req {
  color: var(--blue);
  margin-left: 4px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 11px;
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
  line-height: 1.7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(23, 23, 224, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(10, 10, 11, 0.3);
}

.field .err {
  font-size: 10.5px;
  color: #a3271c;
  letter-spacing: 0.02em;
  min-height: 0;
  display: none;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #a3271c;
}

.field.is-invalid .err {
  display: block;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn--ink:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.form-hint {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  line-height: 1.7;
}

.summary {
  display: none;
  margin-top: 20px;
  border-top: 1px dashed var(--line);
  padding-top: 18px;
}

.summary.is-on {
  display: block;
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.summary-head h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary textarea {
  width: 100%;
  height: 186px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.75;
  resize: vertical;
}

.summary .copied {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--blue);
  opacity: 0;
  transition: opacity 0.3s;
}

.summary .copied.is-on {
  opacity: 1;
}

/* ---------- 12. FAQ ---------- */
.faq {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 22px;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover .faq-q {
  color: var(--blue);
}

.faq-n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.faq-q {
  font-size: clamp(14.5px, 1.35vw, 17px);
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: color 0.2s;
}

.faq-i {
  position: relative;
  width: 14px;
  height: 14px;
  justify-self: end;
}

.faq-i::before,
.faq-i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}

.faq-i::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-i::after {
  transform: rotate(0deg);
}

.faq-a {
  padding: 0 40px 24px 64px;
  font-size: 13.4px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 82ch;
}

/* ---------- 13. 页脚 ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(44px, 6vw, 76px) 24px;
  overflow: hidden;
}

.footer-mark {
  font-size: clamp(56px, 13vw, 184px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.055em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 240, 234, 0.2);
  user-select: none;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.footer-mark span {
  display: inline-block;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 26px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-ink);
}

.footer-brand .brand-cn {
  font-size: 20px;
}

.footer-brand .brand-en {
  margin-top: 8px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 11.5px;
  line-height: 1.85;
  color: rgba(242, 240, 234, 0.5);
  max-width: 26ch;
}

.footer-col h4 {
  font-family: var(--font-cond);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 240, 234, 0.42);
  margin-bottom: 14px;
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a {
  font-size: 12px;
  color: rgba(242, 240, 234, 0.74);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 18px;
  font-size: 10.5px;
  line-height: 1.8;
  color: rgba(242, 240, 234, 0.42);
}

.footer-base .mono {
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

/* ---------- 13. 响应式 ---------- */
@media (max-height: 860px) and (min-width: 901px) {
  .hero-title {
    font-size: clamp(36px, 6.4vw, 96px);
  }

  .hero-inner {
    gap: clamp(14px, 2.2vh, 26px);
    padding-block: 18px 20px;
  }

  .hero-sub {
    font-size: 13.5px;
    line-height: 1.72;
    margin-bottom: 18px;
  }

  .hero-tags {
    margin-top: 14px;
  }

  .btn {
    padding: 12px 18px;
  }

  .hero-list li {
    padding: 9px 0;
  }
}

@media (max-height: 720px) and (min-width: 901px) {
  .hero-title {
    font-size: clamp(32px, 5.4vw, 78px);
  }

  .hero-sub {
    font-size: 12.8px;
    max-width: 62ch;
  }

  .hero-tags {
    display: none;
  }

  .hero-head {
    padding-bottom: 10px;
  }
}

@media (max-width: 1200px) {
  .hero-glow {
    right: -30vw;
    bottom: -60vw;
    width: 100vw;
    height: 100vw;
  }
}

@media (max-width: 1024px) {
  .sec-head,
  .sys-top,
  .about-grid,
  .contact-grid,
  .method-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .sec-lead {
    padding-bottom: 0;
  }

  .hero-foot {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    align-items: start;
  }

  .hero-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
  }

  .hero-list li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .gov-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps li {
    padding-block: 18px;
    border-bottom: 1px solid var(--line-blue);
  }

  .steps li:nth-child(2n) {
    border-right: 0;
  }

  .steps li:nth-child(2n + 1) {
    padding-left: 0;
  }

  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 46ch;
  }

  .footer-col li + li {
    margin-top: 0;
  }

  .footer-col a {
    display: block;
    padding: 9px 0;
    font-size: 12.5px;
  }

  .footer-col h4 {
    margin-bottom: 10px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .site-nav.is-open {
    background: var(--ink);
    border-bottom-color: var(--line-ink);
  }

  .site-nav.is-open .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 24px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-ink);
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
  }

  .site-nav.is-open .nav-links a {
    padding: 16px 0;
    font-size: 15px;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--line-ink);
    opacity: 0.9;
  }

  .site-nav.is-open .nav-links a::after {
    display: none;
  }

  .site-nav.is-open .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(38px, 11vw, 78px);
  }

  .hero-inner {
    gap: 24px;
  }

  .hero-sub {
    margin-bottom: 22px;
  }

  .biz-row {
    grid-template-columns: 34px minmax(0, 1fr) 26px;
    gap: 10px 14px;
    padding: 22px 0;
  }

  .biz-desc {
    grid-column: 2 / 4;
    margin-top: 2px;
  }

  .biz-toggle {
    margin-top: 4px;
  }

  .biz-panel-inner {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }

  .faq-a {
    padding: 0 0 20px 0;
  }

  .faq-item summary {
    grid-template-columns: 32px minmax(0, 1fr) 20px;
    gap: 12px;
    padding: 17px 0;
  }

  .matrix-block {
    margin-top: 40px;
  }

  .footer-mark {
    -webkit-text-stroke-width: 1px;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 58px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-head .status {
    display: none;
  }

  .hero-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-list li {
    border-bottom: 1px solid var(--line-blue);
  }

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

  .hero-list li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line-blue);
  }

  .hero-tags {
    gap: 8px 18px;
  }

  .gov-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gov {
    min-height: 0;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps li {
    border-right: 0;
    padding-left: 0;
  }

  .steps li:last-child {
    border-bottom: 0;
  }

  .steps p {
    max-width: 44ch;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .facts > div {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .term-row {
    grid-template-columns: 38px 54px minmax(0, 1fr);
    gap: 8px;
  }

  .term-row .d {
    display: none;
  }

  .term-row .s {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .hero-inner {
    gap: 15px;
    padding-block: 16px 20px;
  }

  .hero-title {
    font-size: clamp(32px, 9.6vw, 44px);
    line-height: 1.01;
  }

  .hero-sub {
    font-size: 12.4px;
    line-height: 1.7;
    margin-bottom: 15px;
  }

  .hero-list li {
    padding: 8px 0;
  }

  .hero-tags {
    font-size: 9.5px;
    gap: 5px 14px;
    margin-top: 12px;
  }

  .btn {
    padding: 11px 14px;
    font-size: 11px;
  }

  .hero-cta {
    gap: 8px;
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) and (max-height: 700px) {
  .hero-tags {
    display: none;
  }

  .hero-title {
    font-size: clamp(29px, 8.8vw, 38px);
  }

  .hero-sub {
    font-size: 11.8px;
    max-width: none;
  }
}

/* ---------- 14. 动效降级 / 打印 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

  .caret {
    animation: none;
  }

  .ticker-track {
    animation: none;
  }
}

@media print {
  .site-nav,
  .ticker,
  .hero-glow,
  .form,
  .hero-rules {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero,
  .section--ink,
  .section--blue,
  .footer {
    background: #fff !important;
    color: #000 !important;
  }

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

  .biz-panel {
    grid-template-rows: 1fr !important;
  }
}
