/* ============================================================
   Chengfa · 构成主义设计系统
   配色取自 1920s 俄国先锋派海报：正红、近黑、做旧米白
   排版靠几何、色块、错位、巨字，不靠花哨字体
   ============================================================ */

/* 显示字体：Bebas Neue，自托管 woff2，只含拉丁字母、数字与标点
   中文不在字体里，会自动落到后面的中文字体，不受影响
   授权 SIL Open Font License 1.1，可免费商用 */

@font-face {
  font-family: "Bebas Neue";
  src: url("/fonts/bebas-neue-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("/fonts/bebas-neue-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --red: #E0291E;
  --red-deep: #B31F16;
  --ink: #14130F;
  --paper: #F4F0E6;
  --paper-2: #E7E1D2;
  --gray: #8D8577;
  --hair: rgba(var(--ink-rgb), .16);

  /* RGB 分量：给 rgba() 拼半透明用，主题切换时由核心脚本重算 */
  --red-rgb: 224, 41, 30;
  --ink-rgb: 20, 19, 15;
  --paper-rgb: 244, 240, 230;
  --paper2-rgb: 231, 225, 210;

  --sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  --num: "Bebas Neue", Impact, "Arial Black", "Haettenschweiler", var(--sans);
  --black: var(--num);
  --mono: "Cascadia Mono", Consolas, "Courier New", monospace;

  --edge: 6px solid var(--ink);
}

/* ---------- 角色铭牌：四色 + 图标 ----------
   站长深红、管理员墨蓝、大会员赭金、普通用户暖灰。
   配色统一在这里定义，首页、公开主页、账户设置三处共用。
   图标走 mask，跟随文字颜色，不额外请求图片文件。 */

[data-role] {
  --role-bg: #6A6154;
  --role-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12%204a4%204%200%201%201%200%208%204%204%200%200%201%200-8zm0%2010c4.4%200%207%201.9%207%204.2V20H5v-1.8C5%2015.9%207.6%2014%2012%2014z'/%3E%3C/svg%3E");
}

[data-role="owner"] {
  --role-bg: #A81B14;
  --role-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M3%207.2l4.6%203.1L12%203.6l4.4%206.7L21%207.2%2019.2%2020H4.8L3%207.2z'/%3E%3C/svg%3E");
}

[data-role="admin"] {
  --role-bg: #1F3D5C;
  --role-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12%202l8%203v6.5c0%205-3.3%208.3-8%2010.5-4.7-2.2-8-5.5-8-10.5V5l8-3z'/%3E%3C/svg%3E");
}

[data-role="premium"] {
  --role-bg: #8C6A14;
  --role-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12%203.2l7.2%208.1L12%2020.8%204.8%2011.3%2012%203.2z'/%3E%3C/svg%3E");
}

.face__role::before,
.plate::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 6px;
  vertical-align: -1px;
  background: currentColor;
  -webkit-mask: var(--role-ico) center / contain no-repeat;
  mask: var(--role-ico) center / contain no-repeat;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Bebas Neue 只有 Regular，禁止浏览器伪粗体，否则字形会被撑变形；
     中文字体自带 Bold，不受影响 */
  font-synthesis: none;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  /* 纸面颗粒：一层极淡的斜纹，避免大面积纯色发死 */
  background-image:
    repeating-linear-gradient(-45deg,
      rgba(var(--ink-rgb), .022) 0 1px,
      transparent 1px 7px);
}

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

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

/* ---------- 通用零件 ---------- */

.wrap {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

/* 超粗大字：中文靠字号和字重，英文数字走 Impact */
.big {
  font-family: var(--black);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.zh-big {
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.045em;
}

/* 印章式旋转标签 */
.stamp {
  display: inline-block;
  border: 3px solid var(--ink);
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: rotate(-2.5deg);
  background: var(--paper);
}

.stamp--red {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}

/* 横向细线 + 序号 */
.rule {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
}

.rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hair);
}

/* 粗边框 + 硬阴影（拼贴感的关键，不能用模糊阴影） */
.slab {
  border: var(--edge);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
}

.slab--red {
  background: var(--red);
  color: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
}

/* 斜切色块 */
.edge-top {
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
}

.edge-both {
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
}

/* 按钮：硬边、位移式 hover */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 6px 6px 0 var(--red);
  transition: transform .16s ease, box-shadow .16s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 var(--red);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 1px 1px 0 var(--red);
}

/* 禁用态：别让它看起来还能点 */
.btn:disabled,
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .42;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn--ghost:hover { box-shadow: 9px 9px 0 var(--ink); }

.btn--red {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}

/* ---------- 顶部导航 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
}

.nav__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.brand__mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--red);
  transform: rotate(45deg) translateY(-2px);
}

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

.nav__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.nav__links a {
  position: relative;
  padding: 4px 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width .2s ease;
}

.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: flex;
  gap: 10px;
  margin-left: 8px;
}

/* 登录态切换：.btn 自带 display，需显式压过 UA 的 [hidden] */
.nav__cta [hidden] { display: none !important; }

.nav__cta .btn {
  padding: 10px 20px;
  font-size: 13px;
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 64px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: min(790px, calc(100vh - 68px));
}

/* 背景网格：构成主义的海报底纹 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--hair) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hair) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: .45;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

/* 贯穿画面的粗斜线：构成主义最标志性的一笔 */
.hero::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 54%;
  width: 160%;
  height: 8px;
  background: var(--red);
  opacity: .26;
  transform: rotate(-19deg);
  transform-origin: center;
  pointer-events: none;
}

/* 背景巨型 ×，标题区右上角的暗纹 */
.hero__ghostx {
  position: absolute;
  right: -3vw;
  top: 2vh;
  font-family: var(--black);
  font-size: min(46vw, 620px);
  line-height: .72;
  color: rgba(var(--red-rgb), .07);
  pointer-events: none;
  user-select: none;
  transform: rotate(8deg);
  z-index: 0;
}

.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding-bottom: 20px;
}

.hero__tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.hero__tag span.txt {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink);
  padding-left: 12px;
  border-left: 3px solid var(--ink);
}

/* 主标题：乘 黑 · 法 红 */
.hero__title {
  position: relative;
  margin: 0 0 30px;
  font-size: clamp(68px, 15vw, 178px);
  letter-spacing: -.035em;
  line-height: .8;
  font-weight: 700;
}

.hero__title .x {
  color: var(--red);
  display: inline-block;
  margin-left: .07em;
  transform: translateY(.05em);
}

/* 英文站标题是七個字母，中文那套字号摆不下，单独收一档 */
html[lang="en"] .hero__title,
.hero__title--en {
  font-size: clamp(52px, 9.4vw, 116px);
  letter-spacing: -.045em;
  line-height: .92;
}

html[lang="en"] .hero__title .x {
  margin-left: .04em;
}

.hero__lead {
  max-width: 27em;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  line-height: 1.7;
  margin: 0 0 16px;
  letter-spacing: -.01em;
}

.hero__sub {
  max-width: 34em;
  font-size: 14px;
  color: #4A453C;
  margin: 0 0 36px;
  line-height: 1.85;
}

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

.hero__note {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: #6B6558;
}

/* 右侧几何组：由主块、压条、侧条、细线、标签、方框六个部件拼装
   构成主义海报本来就是拼贴结构，不是单一形状 */
.hero__art {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.art-svg {
  width: clamp(288px, 24.5vw, 374px);
  height: auto;
  flex: none;
}

/* Hero 底部的黑色斜带 */
.belt {
  position: relative;
  margin-top: auto;
  background: var(--ink);
  color: var(--paper);
  clip-path: polygon(0 0, 100% 2.4vw, 100% 100%, 0 100%);
  padding: 30px 0 34px;
}

.belt__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 40px;
}

.belt__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.belt__n {
  font-family: var(--black);
  font-size: 34px;
  color: var(--red);
  line-height: 1;
}

.belt__t {
  font-size: 12px;
  letter-spacing: .12em;
  color: #B9B2A4;
  font-weight: 700;
}

.belt__sep {
  width: 1px;
  height: 26px;
  background: rgba(var(--paper-rgb), .22);
}

/* ---------- 通用区块 ---------- */

.sect {
  padding: 110px 0;
}

.sect--tight { padding: 84px 0; }

.sect--dark {
  background: var(--ink);
  color: var(--paper);
  clip-path: polygon(0 2.4vw, 100% 0, 100% calc(100% - 2.4vw), 0 100%);
}

/* 黑底上的印章要反色，否则米白字压米白底看不见 */
.sect--dark .stamp {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

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

.sect-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 56px;
}

.sect-head__no {
  font-family: var(--black);
  font-size: 72px;
  line-height: .8;
  color: var(--red);
}

.sect-head__t {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.sect-head__d {
  margin: 14px 0 0;
  max-width: 44em;
  font-size: 15px;
  color: #4A453C;
}

.sect--dark .sect-head__d { color: #A8A192; }

/* ---------- 三步流程 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 3px solid var(--ink);
  background: var(--ink);
}

.step {
  position: relative;
  background: var(--paper);
  padding: 40px 32px 44px;
  border-right: 3px solid var(--ink);
}

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

.step__no {
  font-family: var(--black);
  font-size: 88px;
  line-height: .72;
  color: var(--red);
  letter-spacing: -.03em;
}

.step__t {
  margin: 22px 0 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.step__d {
  margin: 0;
  font-size: 15px;
  color: #4A453C;
  line-height: 1.85;
}

.step__tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--gray);
  text-transform: uppercase;
}

/* ---------- 能换什么 ---------- */

.redeem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  position: relative;
  border: 3px solid var(--ink);
  background: var(--paper);
  padding: 34px 32px 36px;
  overflow: hidden;
}

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

.card__k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
}

.card--ink .card__k { color: #8F8778; }

.card__t {
  margin: 12px 0 10px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.card__d {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.8;
  color: #4A453C;
}

.card--ink .card__d { color: #B0A998; }

.card__rate {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--hair);
}

.card--ink .card__rate { border-color: rgba(var(--paper-rgb), .18); }

.card__rate b {
  font-family: var(--black);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  color: var(--red);
}

.card__rate span {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gray);
}

/* 卡片右上角的几何装饰：旋转方块，不用圆形 */
.card__deco {
  position: absolute;
  right: -46px;
  top: -46px;
  width: 118px;
  height: 118px;
  border: 3px solid var(--ink);
  transform: rotate(45deg);
  opacity: .2;
}

.card--ink .card__deco { border-color: var(--paper); }

/* ---------- 问卷从哪来 ---------- */

.source {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.source__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--paper);
}

.source__list li {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid rgba(var(--paper-rgb), .16);
}

.source__list .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: .1em;
}

.source__list .t {
  font-size: 17px;
  font-weight: 700;
}

.source__list .p {
  font-family: var(--mono);
  font-size: 13px;
  color: #B0A998;
}

.source__quote {
  border-left: 6px solid var(--red);
  padding-left: 24px;
}

.source__quote p {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -.01em;
}

.source__quote span {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: #A8A192;
  text-transform: uppercase;
}

/* ---------- 信任 ---------- */

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

.trust__i {
  padding: 32px 24px 34px;
  border-right: 1px solid var(--hair);
  border-bottom: 3px solid var(--ink);
}

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

.trust__n {
  font-family: var(--black);
  font-size: 52px;
  line-height: 1;
  color: var(--red);
  letter-spacing: -.02em;
}

.trust__n small {
  font-size: .38em;
  color: var(--ink);
  letter-spacing: 0;
}

.trust__t {
  margin: 12px 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.trust__d {
  margin: 0;
  font-size: 13px;
  color: #4A453C;
  line-height: 1.7;
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 3px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--hair);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  letter-spacing: -.01em;
}

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

.faq summary::before {
  content: "+";
  font-family: var(--mono);
  font-size: 20px;
  color: var(--red);
  width: 20px;
  flex: none;
  transition: transform .18s ease;
}

.faq details[open] summary::before {
  content: "−";
  transform: rotate(180deg);
}

.faq__a {
  margin: 0 0 26px 38px;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.9;
  color: #4A453C;
}

/* ---------- 底部 CTA ---------- */

.cta {
  position: relative;
  background: var(--red);
  color: var(--paper);
  padding: 96px 0 84px;
  clip-path: polygon(0 3.4vw, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
}

/* 红色块上的黑色斜线束 */
.cta::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: repeating-linear-gradient(58deg,
      rgba(var(--ink-rgb), .1) 0 3px,
      transparent 3px 34px);
  pointer-events: none;
}

.cta__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}

.cta__t {
  margin: 0;
  font-size: clamp(38px, 6.4vw, 78px);
  line-height: .96;
  letter-spacing: -.05em;
  font-weight: 700;
}

.cta__d {
  margin: 22px 0 0;
  max-width: 26em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(var(--paper-rgb), .88);
}

.cta .btn {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: 8px 8px 0 rgba(var(--paper-rgb), .9);
}

.cta .btn:hover { box-shadow: 11px 11px 0 rgba(var(--paper-rgb), .9); }

.cta__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  max-width: 320px;
}

/* 红色底上的印章：米白底 + 黑字，别继承米白字色 */
.cta .stamp {
  background: var(--paper);
  border-color: var(--ink);
  color: var(--ink);
  text-align: center;
  font-size: 11px;
  letter-spacing: .14em;
  padding: 9px 12px;
  box-shadow: 4px 4px 0 rgba(var(--ink-rgb), .85);
}

.cta__side .btn {
  width: 100%;
  justify-content: center;
}

.btn--line {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
  box-shadow: 6px 6px 0 rgba(var(--ink-rgb), .85);
}

.btn--line:hover { box-shadow: 9px 9px 0 rgba(var(--ink-rgb), .85); }

/* ---------- 页脚 ---------- */

.foot {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 34px;
}

.foot__in {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(var(--paper-rgb), .18);
}

.foot__brand {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.04em;
  margin: 0 0 10px;
}

.foot__d {
  margin: 0;
  max-width: 26em;
  font-size: 13px;
  line-height: 1.8;
  color: #A8A192;
}

.foot__h {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #F2554A;
}

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

.foot__links li { margin-bottom: 8px; }

.foot__links a {
  font-size: 14px;
  color: #CFC9BB;
  transition: color .15s ease;
}

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

.foot__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: #9A9284;
}

/* ---------- 滚动进入动画 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s cubic-bezier(.22, .8, .3, 1),
              transform .6s cubic-bezier(.22, .8, .3, 1);
}

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

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; gap: 28px; }
  .hero__art { justify-content: center; padding: 40px 0 32px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust__i:nth-child(2) { border-right: 0; }
  .source { grid-template-columns: 1fr; gap: 36px; }
  .cta__in { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__in > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 3px solid var(--ink); }
  .step:last-child { border-bottom: 0; }
  .redeem { grid-template-columns: 1fr; }
  .sect { padding: 76px 0; }
  .sect-head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 38px; }
  .sect-head__no { font-size: 52px; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .nav__in { height: 60px; gap: 14px; }
  .brand { font-size: 20px; }
  .brand__en { display: none; }
  .nav__cta .btn { padding: 9px 14px; font-size: 12px; box-shadow: 3px 3px 0 var(--red); }

  .hero { padding-top: 36px; min-height: 0; }
  .hero__tag { flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
  .stamp { font-size: 10px; padding: 5px 10px; letter-spacing: .1em; white-space: nowrap; }
  .hero__tag span.txt { font-size: 11px; letter-spacing: .06em; padding-left: 10px; white-space: nowrap; }

  .hero__title { font-size: clamp(56px, 22vw, 96px); }
  html[lang="en"] .hero__title,
  .hero__title--en { font-size: clamp(34px, 10vw, 62px); }
  .hero__lead { font-size: 15px; }
  .hero__sub { font-size: 13px; line-height: 1.8; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }

  .hero__art { justify-content: center; padding: 26px 0 20px; }
  .art-svg { width: 258px; }

  .belt { padding: 22px 0 26px; clip-path: polygon(0 0, 100% 1.6vw, 100% 100%, 0 100%); }
  .belt__in { gap: 12px 14px; }
  .belt__item { flex: 1 1 44%; }
  .belt__n { font-size: 26px; }
  .belt__t { font-size: 11px; letter-spacing: .06em; }
  .belt__sep { display: none; }

  .trust { grid-template-columns: 1fr; }
  .trust__i { border-right: 0; }
  .step { padding: 30px 22px 34px; }
  .step__no { font-size: 64px; }
  .card { padding: 26px 22px 28px; }

  .source__list li { grid-template-columns: 34px 1fr; row-gap: 4px; }
  .source__list .p { grid-column: 2; }

  .foot__in { grid-template-columns: 1fr; gap: 30px; }
  .cta { padding: 68px 0 60px; }
  .cta__side { width: 100%; }
  .cta__side .btn { width: 100%; justify-content: center; }
}

/* 尊重「减少动效」偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 币种切换按钮（设置页 / 后台用户管理 共用） ---------- */

.cur-seg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 420px;
}

.cur-seg__b {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background .14s ease, color .14s ease;
}

.cur-seg__b b { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.cur-seg__b i { font-style: normal; font-size: 11px; color: var(--gray); }
.cur-seg__b:hover { background: var(--paper-2); }

.cur-seg__b.is-on {
  background: var(--ink);
  color: var(--paper);
}
.cur-seg__b.is-on i { color: #B8B0A0; }

/* ---------- 通用弹层（全站共用，由 CF.modal 生成） ---------- */

.mo-back {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(var(--ink-rgb), .58);
  opacity: 0;
  transition: opacity .18s ease;
  overflow-y: auto;
}

.mo-back.is-on { opacity: 1; }

.mo {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin: auto;
  padding: 22px 22px 20px;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
  transform: translateY(12px);
  transition: transform .18s ease;
}

.mo-back.is-on .mo { transform: none; }

.mo__head { padding-right: 30px; }

.mo__k {
  display: block;
  font-family: var(--num);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--red);
}

.mo__t {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .01em;
}

.mo__d {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--gray);
  white-space: pre-line;
}

.mo__x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

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

.mo__body {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 18px;
}

.mo__f { display: flex; flex-direction: column; gap: 6px; }

.mo__l {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--gray);
}

.mo__i {
  width: 100%;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  resize: vertical;
}

.mo__i:focus {
  border-color: var(--red);
  box-shadow: 4px 4px 0 var(--red);
}

.mo__hint { font-size: 11px; line-height: 1.5; color: var(--gray); }

.mo__msg {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--red);
}

.mo__foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.mo__btn {
  padding: 10px 20px;
  border: 2px solid var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}

.mo__btn--main {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--red);
}

.mo__btn--main:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--red); }
.mo__btn--main:disabled { opacity: .55; cursor: progress; transform: none; box-shadow: 4px 4px 0 var(--red); }

.mo__btn--ghost { background: transparent; color: var(--ink); }
.mo__btn--ghost:hover { background: var(--paper-2); }
.mo__btn--ghost:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 480px) {
  .mo { padding: 18px 16px 16px; box-shadow: 6px 6px 0 var(--ink); }
  .mo__t { font-size: 18px; }
  .mo__foot { flex-direction: column-reverse; }
  .mo__btn { width: 100%; }
}

/* 目录项未读角标 */
.dock__badge {
  position: absolute;
  top: 6px;
  right: 8px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: var(--red);
  color: var(--paper);
  font-family: var(--num);
  font-size: 11px;
  line-height: 17px;
  text-align: center;
}

.dock__i { position: relative; }

/* ---------- 合规链接（全站页脚与法律页导航） ---------- */

.nav__back {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--paper);
  opacity: .78;
}

.nav__back:hover { opacity: 1; color: var(--red); }

.foot__legal {
  margin: 14px 0 0;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--gray);
}

.foot__legal a {
  color: var(--gray);
  border-bottom: 1px solid transparent;
}

.foot__legal a:hover { color: var(--ink); border-bottom-color: var(--red); }

/* ---------- 受限账户提示条（封禁 / 冻结） ---------- */

.res-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 11px clamp(16px, 4vw, 40px);
  background: var(--red);
  color: var(--paper);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: .01em;
}

.res-bar__k {
  flex: none;
  padding: 2px 7px;
  border: 1px solid var(--paper);
  font-family: var(--num);
  font-size: 10.5px;
  letter-spacing: .14em;
}

.res-bar__t { flex: 1; min-width: 200px; }

.res-bar__a {
  flex: none;
  color: var(--paper);
  font-weight: 700;
  border-bottom: 1px solid var(--paper);
}

.res-bar__a:hover { opacity: .8; }

/* 语言切换（落地页导航里那颗）
   和 /home 的 .hm-nav__lang 保持同一副样子：同样 2px 细边、同样内边距、同样字号。
   导航右侧是 flex 容器且没有 align-items，默认 stretch 会把这颗 a 拉成和
   红色按钮一样高（48px），文字挤在框顶上，像坏掉一样 —— 必须自己居中。 */
.nav__lang {
  flex: 0 0 auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--hair);
  color: var(--gray);
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color .14s, color .14s;
}

.nav__lang:hover {
  border-color: var(--ink);
  color: var(--ink);
}
