/* =========================================================
   Shunwei Advertising — site stylesheet
   Deep, restrained B2B look. No frameworks.
   ========================================================= */

:root {
  --ink:        #07080a;
  --ink-2:      #0b0d11;
  --surface:    #101318;
  --surface-2:  #151920;
  --line:       rgba(255, 255, 255, 0.085);
  --line-soft:  rgba(255, 255, 255, 0.05);
  --line-hi:    rgba(255, 255, 255, 0.18);
  --fg:         #edeff2;
  --fg-dim:     #9ba4b2;
  --fg-faint:   #6a7382;
  --cyan:       #25f4ee;
  --pink:       #fe2c55;
  --radius:     14px;
  --radius-lg:  22px;
  --maxw:       1180px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: rgba(37, 244, 238, 0.28); color: #fff; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section--tight { padding-block: clamp(56px, 6vw, 88px); }

.divider {
  height: 1px;
  background: var(--line-soft);
  border: 0;
  margin: 0;
}

/* ---------- typography ---------- */

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.1;
}

.h1 {
  font-size: clamp(2.35rem, 5.6vw, 4.25rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  letter-spacing: -0.033em;
  line-height: 1.12;
}

.h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.lede {
  font-size: clamp(1.02rem, 1.45vw, 1.19rem);
  line-height: 1.72;
  color: var(--fg-dim);
  max-width: 62ch;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--fg-dim); }
.faint { color: var(--fg-faint); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(37, 244, 238, 0.85);
  flex: none;
}

/* Gradient stays bright end to end: cyan -> white -> pink.
   A direct cyan-to-pink interpolation passes through a muddy
   mid-tone that makes short Chinese words unreadable at heading size. */

.grad-text {
  background: linear-gradient(100deg, #25f4ee 0%, #b9fdfa 26%, #ffffff 52%, #ffc2ce 78%, #fe2c55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background: rgba(7, 8, 10, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}

.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
  flex: none;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #25f4ee 0%, #0fb8cf 42%, #fe2c55 100%);
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #05090c;
  letter-spacing: 0;
  flex: none;
}

.brand__text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  line-height: 1.2;
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav__links a {
  font-size: 0.9rem;
  color: var(--fg-dim);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--fg); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.02);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--fg-faint);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-toggle button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--fg);
}

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav__burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--fg);
  position: relative;
}

.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.25s;
}

.nav__burger span::before { top: -5px; }
.nav__burger span::after  { top: 5px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.25s, border-color 0.25s,
              box-shadow 0.3s, color 0.25s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--fg);
  color: #07080a;
}

.btn--primary:hover {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 14px 34px -12px rgba(255, 255, 255, 0.35);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-hi);
  color: var(--fg);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--sm { padding: 9px 17px; font-size: 0.85rem; }

.btn svg { width: 15px; height: 15px; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: border-color 0.25s, gap 0.25s;
}

.link-arrow:hover { border-bottom-color: var(--cyan); gap: 10px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(140px, 16vw, 190px);
  padding-bottom: clamp(64px, 8vw, 104px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: -10% -10% 0 -10%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 12%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 12%, transparent 78%);
  opacity: 0.9;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.hero__glow--a {
  width: 46vw;
  height: 34vw;
  left: 4%;
  top: -8%;
  background: radial-gradient(circle, rgba(37, 244, 238, 0.34), transparent 66%);
}

.hero__glow--b {
  width: 40vw;
  height: 30vw;
  right: 2%;
  top: 4%;
  background: radial-gradient(circle, rgba(254, 44, 85, 0.26), transparent 68%);
}

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

.hero__inner > * { max-width: 940px; }

.hero .h1 { margin-bottom: 26px; }

.hero .lede { max-width: 60ch; }

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

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.84rem;
  color: var(--fg-faint);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fg-faint);
  flex: none;
}

/* ---------- logo / trust strip ---------- */

.strip {
  border-block: 1px solid var(--line-soft);
  padding-block: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}

.strip__inner {
  display: flex;
  align-items: center;
  gap: 12px 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.strip__label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  font-weight: 600;
  flex: none;
}

.strip__items {
  display: flex;
  gap: 12px 36px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--fg-dim);
}

.strip__items span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.strip__items svg { width: 15px; height: 15px; color: var(--cyan); flex: none; opacity: 0.9; }

/* ---------- section head ---------- */

.sec-head {
  max-width: 780px;
  margin-bottom: clamp(38px, 5vw, 60px);
}

.sec-head .h2 { margin-bottom: 18px; }

.sec-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: none;
  flex-wrap: wrap;
}

.sec-head--split > div { max-width: 660px; }

/* ---------- cards grid ---------- */

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease),
              background 0.35s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(37, 244, 238, 0.5), transparent 38%, transparent 62%, rgba(254, 44, 85, 0.42));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
}

.card:hover::after { opacity: 1; }

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  color: var(--cyan);
}

.card__icon svg { width: 19px; height: 19px; }

.card__num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--fg-faint);
  margin-bottom: 14px;
}

.card h3 { margin-bottom: 10px; }

.card p {
  font-size: 0.925rem;
  color: var(--fg-dim);
  line-height: 1.68;
  margin: 0;
}

.card__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 7px;
  font-size: 0.855rem;
  color: var(--fg-faint);
}

.card__list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.card__list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 8px;
  flex: none;
  opacity: 0.75;
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006));
}

.stat {
  padding: 34px 26px;
  border-right: 1px solid var(--line-soft);
}

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

.stat__val {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #b9c2ce);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__val em {
  font-style: normal;
  font-size: 0.55em;
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
  margin-left: 2px;
}

.stat__label {
  margin-top: 12px;
  font-size: 0.835rem;
  color: var(--fg-dim);
  line-height: 1.5;
}

/* ---------- steps ---------- */

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

.step {
  padding: 34px 26px 0 0;
  position: relative;
  border-right: 1px solid var(--line-soft);
}

.step:last-child { border-right: 0; }
.step:not(:first-child) { padding-left: 26px; }

.step__idx {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 16px;
  display: block;
}

.step h4 {
  font-size: 1.03rem;
  margin-bottom: 9px;
  letter-spacing: -0.015em;
}

.step p {
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 1.65;
  margin: 0;
}

.step__when {
  display: block;
  margin-top: 12px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ---------- split feature ---------- */

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 22px;
}

.feature-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-list .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(37, 244, 238, 0.12);
  border: 1px solid rgba(37, 244, 238, 0.3);
  color: var(--cyan);
  margin-top: 2px;
}

.feature-list .tick svg { width: 11px; height: 11px; }

.feature-list strong {
  display: block;
  font-weight: 600;
  font-size: 0.965rem;
  margin-bottom: 3px;
  letter-spacing: -0.012em;
}

.feature-list span {
  font-size: 0.885rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ---------- panel (visual block) ---------- */

.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #12151b, #0a0c10 70%);
  padding: 26px;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -110px;
  top: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 244, 238, 0.22), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 20px;
  position: relative;
}

.panel__title {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  font-weight: 600;
}

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

.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: block;
}

.bars { display: grid; gap: 18px; position: relative; }

.bar__top {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 8px;
  color: var(--fg-dim);
}

.bar__top b {
  color: var(--fg);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.bar__track {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.bar__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #25f4ee, #12c9d6);
  width: 0;
  transition: width 1.1s var(--ease);
}

.bar__fill--pink { background: linear-gradient(90deg, #fe2c55, #ff6b8a); }

.panel__foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--fg-faint);
}

.panel__foot b { color: var(--cyan); font-weight: 600; }

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(40px, 6vw, 68px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 120% at 12% 0%, rgba(37, 244, 238, 0.16), transparent 62%),
    radial-gradient(ellipse 50% 120% at 92% 100%, rgba(254, 44, 85, 0.15), transparent 62%),
    #0b0d11;
}

.cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta .h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 12px; }

.cta p { color: var(--fg-dim); max-width: 46ch; margin: 0; font-size: 0.98rem; }

.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: 56px 34px;
  margin-top: clamp(60px, 8vw, 100px);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.014));
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand p {
  font-size: 0.875rem;
  color: var(--fg-faint);
  max-width: 34ch;
  margin-top: 16px;
  line-height: 1.65;
}

.footer__col h5 {
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 0 0 16px;
  font-weight: 600;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer__col a {
  font-size: 0.885rem;
  color: var(--fg-dim);
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--fg); }

.footer__bottom {
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.79rem;
  color: var(--fg-faint);
}

.footer__disclaimer {
  margin-top: 14px;
  font-size: 0.75rem;
  color: #545c69;
  line-height: 1.6;
  max-width: 92ch;
}

/* ---------- legal / doc pages ---------- */

.doc {
  padding-top: clamp(120px, 14vw, 160px);
  padding-bottom: 80px;
}

.doc__head {
  max-width: 760px;
  padding-bottom: 34px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.doc__meta {
  display: flex;
  gap: 8px 26px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--fg-faint);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.doc__body {
  max-width: 780px;
  font-size: 0.955rem;
  line-height: 1.78;
  color: var(--fg-dim);
}

.doc__body h2 {
  font-size: 1.22rem;
  color: var(--fg);
  margin: 40px 0 14px;
  letter-spacing: -0.018em;
}

.doc__body h2:first-child { margin-top: 0; }

.doc__body h3 {
  font-size: 1rem;
  color: var(--fg);
  margin: 26px 0 10px;
}

.doc__body ul, .doc__body ol {
  padding-left: 20px;
  margin: 0 0 16px;
  display: grid;
  gap: 7px;
}

.doc__body li { line-height: 1.7; }

.doc__body strong { color: var(--fg); font-weight: 600; }

.doc__body a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(37, 244, 238, 0.35);
}

.doc__body hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 34px 0;
}

.doc__toc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.018);
}

.doc__toc h4 {
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 0 0 14px;
}

.doc__toc ol {
  margin: 0;
  padding-left: 18px;
  columns: 2;
  column-gap: 32px;
  font-size: 0.875rem;
}

.doc__toc a { color: var(--fg-dim); }
.doc__toc a:hover { color: var(--cyan); }
.doc__toc li { margin-bottom: 7px; break-inside: avoid; }

/* ---------- contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006));
  display: flex;
  flex-direction: column;
}

.contact-card h3 { margin-bottom: 8px; }

.contact-card > p {
  font-size: 0.9rem;
  color: var(--fg-dim);
  margin-bottom: 20px;
}

.contact-card > p.contact-card__foot {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  color: var(--fg-faint);
  line-height: 1.65;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.925rem;
}

.contact-line:first-of-type { border-top: 0; }

.contact-line svg { width: 16px; height: 16px; color: var(--cyan); flex: none; }

.contact-line b {
  font-weight: 500;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  word-break: normal;
}

.form-row { display: grid; gap: 6px; margin-bottom: 16px; }

.form-row label {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-faint);
  font-weight: 600;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.028);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s, background 0.2s;
}

.form-row textarea { resize: vertical; min-height: 108px; }

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: rgba(37, 244, 238, 0.55);
  background: rgba(255, 255, 255, 0.05);
}

.form-note {
  font-size: 0.78rem;
  color: var(--fg-faint);
  margin-top: 14px;
  line-height: 1.6;
}

/* ---------- Chinese typography adjustments ----------
   Chinese glyphs are visually denser than Latin, so headings run
   slightly smaller and body text needs more leading. */

html[lang="zh-CN"] body { line-height: 1.78; }

html[lang="zh-CN"] .h1 {
  font-size: clamp(1.8rem, 4.2vw, 3.3rem);
  letter-spacing: -0.008em;
  line-height: 1.18;
}

html[lang="zh-CN"] .h2 {
  font-size: clamp(1.5rem, 2.9vw, 2.35rem);
  letter-spacing: 0;
  line-height: 1.3;
}

html[lang="zh-CN"] .h3 { letter-spacing: 0; line-height: 1.45; }

html[lang="zh-CN"] .lede { line-height: 1.9; }

html[lang="zh-CN"] .card p,
html[lang="zh-CN"] .step p,
html[lang="zh-CN"] .feature-list span,
html[lang="zh-CN"] .doc__body { line-height: 1.85; }

html[lang="zh-CN"] .eyebrow { letter-spacing: 0.12em; }

html[lang="zh-CN"] .stat__val { letter-spacing: -0.02em; }

/* Reveal animation is opt-in via the .js class so content stays visible
   if scripts fail to run (crawlers, no-JS, blocked JS). */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { padding: 30px 24px 30px 0; }
  .step:nth-child(2n) { padding-left: 24px; border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .nav__inner { gap: 16px; }
  .nav__links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 8, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }

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

  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.98rem;
    color: var(--fg);
  }

  .nav__links a:last-child { border-bottom: 0; }

  .nav__burger { display: grid; }

  .nav__actions .btn--ghost { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .doc__toc ol { columns: 1; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .nav__inner { padding-inline: 20px; }
  .grid, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stat:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .step:not(:first-child) { padding-left: 0; }
  .step:last-child { border-bottom: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .hero__meta { gap: 10px 20px; font-size: 0.79rem; }
  .card { padding: 26px 22px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal, .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
