/* ==========================================================================
   壹站推 · 设计系统
   风格取向：纸墨底的编辑式排版 / 瑞士网格 + 中文标题的重字重对比
   信号色仅用于强调，全站克制使用
   ========================================================================== */

:root {
  /* 色彩 */
  --paper: #f6f4ef;
  --paper-2: #efece4;
  --ink: #12100e;
  --ink-2: #3a3630;
  --muted: #857d72;
  --line: #ddd7cb;
  --line-2: #e8e4db;
  --signal: #d93a15;
  --signal-ink: #a82a0d;
  --signal-soft: #fbe9e2;
  --night: #14120f;
  --night-2: #201d19;
  --night-line: #332e28;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", STSong, SimSun, serif;
  --font-latin: Georgia, "Times New Roman", "Songti SC", serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  /* 尺度 */
  --shell: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --sec-y: clamp(72px, 10vw, 148px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------- 基础重置 */
*,
*::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.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

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

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

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

::selection {
  background: var(--signal);
  color: #fff;
}

/* ------------------------------------------------------- 纸感底纹与网格线 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.page {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------- 版心与网格 */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.sec {
  padding: var(--sec-y) 0;
}

.sec--tight {
  padding: clamp(48px, 6vw, 84px) 0;
}

.rule {
  height: 1px;
  background: var(--line);
}

/* --------------------------------------------------------------- 文字体系 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--signal);
}

.h-hero {
  font-size: clamp(38px, 7.2vw, 88px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.h-sec {
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 750;
}

.h-card {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.85;
  color: var(--ink-2);
}

.body-sm {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

.muted {
  color: var(--muted);
}

.serif {
  font-family: var(--font-serif);
  font-weight: 400;
}

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

.signal {
  color: var(--signal);
}

/* ------------------------------------------------------- 数字编号（01/02） */
.idx {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--signal);
}

/* ----------------------------------------------------------------- 导航栏 */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 244, 239, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}

.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 9px;
  height: 9px;
  background: var(--signal);
  display: inline-block;
  transform: translateY(-1px);
}

.brand__en {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 400;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu a {
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.menu a:hover {
  color: var(--ink);
}

.menu a:hover::after,
.menu a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s var(--ease);
}

.nav__cta:hover {
  background: var(--signal);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}

.burger span {
  position: absolute;
  left: 9px;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.burger span:nth-child(1) {
  top: 15px;
}
.burger span:nth-child(2) {
  top: 23px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ------------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.btn svg {
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

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

.btn--solid:hover {
  background: var(--signal);
  border-color: var(--signal);
}

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

.btn--light {
  border-color: rgba(246, 244, 239, 0.4);
  color: var(--paper);
}

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

/* --------------------------------------------------------------- 首页 Hero */
.hero {
  padding: clamp(56px, 9vw, 120px) 0 var(--sec-y);
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}

.hero__title em {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  color: var(--signal);
}

.hero__sub {
  margin-top: 26px;
  max-width: 46ch;
}

.hero__acts {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__side {
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 3vw, 40px);
}

.hero__side dl {
  margin: 0;
}

.hero__side dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 22px;
}

.hero__side dt:first-child {
  margin-top: 0;
}

.hero__side dd {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--ink);
}

/* ------------------------------------------------------------- 滚动跑马灯 */
.marquee {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  gap: 46px;
  padding-left: 46px;
  animation: slide 34s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-size: 15px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 46px;
}

.marquee__item::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--signal);
  border-radius: 50%;
  opacity: 0.6;
}

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

/* --------------------------------------------------------------- 区块标题 */
.head {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.head__title {
  max-width: 20ch;
}

.head__note {
  max-width: 62ch;
  padding-top: 8px;
}

/* --------------------------------------------------------------- 卡片网格 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 44px);
  background: var(--paper);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}

.cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.cell:hover {
  background: #fff;
}

.cell:hover::before {
  transform: scaleX(1);
}

.cell__idx {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 13px;
  color: var(--signal);
}

.cell__title {
  margin: 14px 0 12px;
}

.cell__txt {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

.cell__tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12.5px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper-2);
}

/* --------------------------------------------------------------- 深色区块 */
.night {
  background: var(--night);
  color: var(--paper);
}

.night .h-sec,
.night .h-card {
  color: var(--paper);
}

.night .lede,
.night .body-sm {
  color: rgba(246, 244, 239, 0.72);
}

.night .eyebrow {
  color: rgba(246, 244, 239, 0.5);
}

.night .rule {
  background: var(--night-line);
}

/* ----------------------------------------------------------- 对比流程条 */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--night-line);
}

.flow__step {
  padding: 30px 26px 34px;
  border-right: 1px solid var(--night-line);
}

.flow__step:last-child {
  border-right: 0;
}

.flow__n {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 26px;
  color: var(--signal);
  line-height: 1;
}

.flow__t {
  margin: 18px 0 10px;
  font-size: 17px;
  font-weight: 650;
  color: var(--paper);
}

.flow__d {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(246, 244, 239, 0.68);
}

/* ----------------------------------------------------------- 左右图文分栏 */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.split--top {
  align-items: start;
}

.figure {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper-2);
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.03);
  transition: transform 0.9s var(--ease);
}

.figure:hover img {
  transform: scale(1.03);
}

.figure--tall img {
  aspect-ratio: 4 / 5;
}

.figure--wide img {
  aspect-ratio: 16 / 10;
}

.figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  background: linear-gradient(to top, rgba(18, 16, 14, 0.78), transparent);
}

/* ------------------------------------------------------------- 列表式条目 */
.list {
  border-top: 1px solid var(--line);
}

.list__row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding-left 0.4s var(--ease);
}

.list__row:hover {
  padding-left: 12px;
}

.list__n {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 15px;
  color: var(--signal);
  padding-top: 4px;
}

.list__t {
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------- 指标横条 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px clamp(18px, 2.4vw, 30px) 32px;
}

.stat__k {
  font-family: var(--font-latin);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat__k small {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  margin-left: 4px;
}

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

/* ------------------------------------------------------------------- 引用 */
.quote {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.6vw, 32px);
  line-height: 1.6;
  letter-spacing: -0.01em;
  max-width: 30ch;
}

/* --------------------------------------------------------------- 联系信息 */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
}

.info__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.info__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 6px;
}

.info__v {
  font-size: 17px;
  line-height: 1.7;
}

.info__v a:hover {
  color: var(--signal);
}

.tel {
  font-family: var(--font-latin);
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.copy-btn {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.copy-btn:hover {
  color: var(--signal);
  border-color: var(--signal);
}

.map-box {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: clamp(24px, 3vw, 38px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.map-box__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 26px;
  gap: 6px;
}

.map-box__grid i {
  background: var(--line-2);
  display: block;
}

.map-box__grid i.on {
  background: var(--signal);
  opacity: 0.75;
}

/* -------------------------------------------------------- 时间轴（历程） */
.tl {
  border-top: 1px solid var(--line);
}

.tl__row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.tl__d {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 17px;
  color: var(--signal);
}

/* ---------------------------------------------------------------- 页头条 */
.phead {
  padding: clamp(52px, 7vw, 96px) 0 clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.crumb span {
  color: var(--signal);
}

.phead__t {
  max-width: 24ch;
}

.phead__d {
  margin-top: 22px;
  max-width: 58ch;
}

/* ------------------------------------------------------------------ 页脚 */
.foot {
  background: var(--night);
  color: rgba(246, 244, 239, 0.7);
  padding: clamp(52px, 6vw, 80px) 0 34px;
}

.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--night-line);
}

.foot .brand {
  color: var(--paper);
}

.foot__t {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.42);
  margin-bottom: 18px;
}

.foot__links a {
  display: block;
  padding: 5px 0;
  font-size: 14.5px;
  transition: color 0.25s var(--ease);
}

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

.foot__bot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 12.5px;
  color: rgba(246, 244, 239, 0.45);
}

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

/* ------------------------------------------------------------- 滚动进入 */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.rv.in {
  opacity: 1;
  transform: none;
}

/* 首屏载入错峰显现 */
.load > * {
  animation: rise 0.95s var(--ease) both;
}

.load > *:nth-child(1) {
  animation-delay: 0.05s;
}
.load > *:nth-child(2) {
  animation-delay: 0.14s;
}
.load > *:nth-child(3) {
  animation-delay: 0.23s;
}
.load > *:nth-child(4) {
  animation-delay: 0.32s;
}
.load > *:nth-child(5) {
  animation-delay: 0.41s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

/* --------------------------------------------------------------- 响应式 */
@media (max-width: 1000px) {
  .hero__grid,
  .head,
  .split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__side {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
  }

  .head__note {
    padding-top: 0;
  }

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

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

  .flow__step:nth-child(2) {
    border-right: 0;
  }

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

@media (max-width: 760px) {
  .menu {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .menu.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .menu a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 16px;
  }

  .menu a::after {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .grid-3,
  .grid-2,
  .stats,
  .flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow__step {
    border-right: 0;
  }

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

  .list__row .list__d {
    grid-column: 2;
  }

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

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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