/* =============================================================================
   暗柔（arsj.fanshiyuone.top / 深圳梵时语科技有限公司）—— 社交向
   源文件: figma.com/design/XLnne24emhqQGXSMXHecGj  node 1:2「暗柔社交版」
   画板: 939 x 2223，底色 #f7e1e6

   >=958px  完全按 Figma 绝对坐标渲染
   768-957px  整体等比缩放（zoom），版式不变
   <768px      单栏流式布局（移动端适配，非原稿版式）

   · 不引 Google Fonts（展示机在国内）；原稿字体 Inter 对中文无字形，这里直接走系统 CJK 栈。
   · 所有文本在原稿里都是单行 nowrap、左对齐，left/top 即 Figma 节点坐标；
     line-height 取原稿文本框高（20→24 / 24→29 / 32→39），让字形落在同一个行盒中线上。
   · 导航「首页」不要照抄导出的 #d9d9d9（浅底上看不见），原稿渲染墨色是 #151515。
   · 截图 .ph-* 的 width/height 是**原稿显示框（1×）**，位图是它的 2 倍 —— 别照 naturalWidth 填。
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body { margin: 0; background: #f7e1e6; overflow-x: hidden; }

h1, h2, p { margin: 0; font-weight: inherit; }

img { display: block; }

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

:root {
  --f-han: "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Hiragino Sans GB",
           "Microsoft YaHei", sans-serif;

  --c-bg:      #f7e1e6;
  --c-ink:     #000;
  --c-nav-cur: #151515;
  --c-nav-ink: #282626;
  --c-cta-bg:  #10100e;
  --c-cta-ink: #fdf0e6;
}

.canvas { background: var(--c-bg); }

.stage { width: 939px; margin: 0 auto; }

.page {
  position: relative;
  width: 939px;
  height: 2223px;
}

.page section, .phs { position: static; }

/* ============================== 顶部导航 ============================== */
.nav {
  position: absolute;
  left: 0; top: 0;
  width: 939px; height: 103px;
}

.nav-mark {
  position: absolute;
  left: 24px; top: 11px;
  width: 75px; height: 74px;
}

.nav-word {
  position: absolute;
  left: 118px; top: 39px;
  font-family: var(--f-han);
  font-size: 32px; font-weight: 400; line-height: 39px;
  color: #0a0808;
  white-space: nowrap;
}

/* 原稿 frame 249,11：gap 60 的 flex，导航项 y = frame y + 29.5，下载键 y = frame y + 18 */
.nav-links {
  position: absolute;
  left: 249px; top: 40.5px;
  height: 33px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.nav-links a {
  font-family: var(--f-han);
  font-size: 22px; font-weight: 700; line-height: 33px;
  letter-spacing: 0.66px;
  color: var(--c-nav-ink);
  white-space: nowrap;
  transition: opacity .2s;
}

.nav-links a.is-current { color: var(--c-nav-cur); }

.nav-links a:hover { opacity: .6; }

.nav-cta {
  position: absolute;
  left: 654px; top: 29px;
  width: 120px; height: 56px;
  border-radius: 40px;
  background: var(--c-cta-bg);
  color: var(--c-cta-ink);
  font-family: var(--f-han);
  font-size: 20px; font-weight: 700; line-height: 56px;
  text-align: center;
  transition: opacity .2s;
}

.nav-cta:hover { opacity: .85; }

/* ============================== 文本 ============================== */
.txt {
  position: absolute;
  color: var(--c-ink);
  font-family: var(--f-han);
  font-weight: 400;
  white-space: nowrap;
}

.t1   { left: 129px; top: 241px; font-size: 24px; line-height: 29px; } /* 原稿 129,241 24px */
.t2   { left: 43px; top: 378px; font-size: 20px; line-height: 24px; } /* 原稿 43,378 20px */
.t3   { left: 417px; top: 645px; font-size: 24px; line-height: 29px; } /* 原稿 417,645 24px */
.t4   { left: 353px; top: 775px; font-size: 20px; line-height: 24px; } /* 原稿 353,775 20px */
.t5   { left: 179px; top: 1042px; font-size: 24px; line-height: 29px; } /* 原稿 179,1042 24px */
.t6   { left: 84px; top: 1172px; font-size: 20px; line-height: 24px; } /* 原稿 84,1172 20px */
.t7   { left: 396px; top: 1435px; font-size: 24px; line-height: 29px; } /* 原稿 396,1435 24px */
.t8   { left: 336px; top: 1556px; font-size: 20px; line-height: 24px; } /* 原稿 336,1556 20px */
.t9   { left: 155px; top: 1852px; font-size: 24px; line-height: 29px; } /* 原稿 155,1852 24px */
.t10  { left: 71px; top: 1973px; font-size: 20px; line-height: 24px; } /* 原稿 71,1973 20px */

/* ============================ App 截图 ============================ */
.ph { position: absolute; }

.ph-home    { left: 618px; top: 201px; width: 171px; height: 304px; }
.ph-chat    { left: 84px; top: 611px; width: 185px; height: 328px; }
.ph-feed    { left: 681px; top: 959px; width: 187px; height: 333px; }
.ph-topup   { left: 110px; top: 1435px; width: 158px; height: 280px; }
.ph-mine    { left: 647px; top: 1755px; width: 169px; height: 301px; }

/* ======================= 中屏：整体等比缩放 ======================= */
/* zoom 按每档最窄视口算：(下界 − 20px 滚动条余量) ÷ 939；第一档上界 = 画板宽 + 19。 */
@media (max-width: 958px) { .stage { zoom: 0.937; } }
@media (max-width: 900px) { .stage { zoom: 0.831; } }
@media (max-width: 800px) { .stage { zoom: 0.797; } }

/* ========================= 窄屏：单栏流式 ========================= */
@media (max-width: 767px) {
  .stage { zoom: 1; width: 100%; }

  .page {
    width: 100%;
    height: auto;
    padding: 96px 20px 48px;
  }

  .nav { width: 100%; height: 72px; }

  .nav-mark { left: 14px; top: 12px; width: 49px; height: 48px; }

  .nav-word {
    left: 75px; top: 12px;
    font-size: 26px; line-height: 48px;
  }

  .nav-links { display: none; }

  .nav-cta {
    left: auto; right: 14px; top: 17px;
    width: 88px; height: 38px;
    font-size: 15px; line-height: 38px;
  }

  .page section { display: block; margin-bottom: 44px; }

  .txt, .ph { position: static; }

  .txt {
    white-space: normal;
    font-size: 15px; line-height: 1.7;
    text-align: center;
    text-indent: 0;
  }

  .txt:first-child { font-size: 21px; line-height: 1.5; margin-bottom: 8px; }

  .phs { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }

  .ph { width: 100%; max-width: 220px; height: auto; border-radius: 8px; }
  .phs .ph:only-child { max-width: 240px; }
  .phs .ph:not(:only-child) { width: calc(50% - 6px); }
}

/* ================================ 页脚 ================================ */
/* 四站逐字节相同，改一处要四处一起改 */
.site-footer {
  background: #000;
  color: rgba(255, 255, 255, .72);
  font-family: var(--f-han);
  padding: 40px 24px;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.9;
}

.site-footer__corp { color: #fff; font-size: 16px; font-weight: 700; }

.site-footer__addr,
.site-footer__contact { font-size: 13px; }

.site-footer__sep { margin: 0 10px; color: rgba(255, 255, 255, .35); }

.site-footer__icp { margin-top: 8px; font-size: 13px; }

.site-footer__icp a { color: rgba(255, 255, 255, .72); transition: color .2s; }

.site-footer__icp a:hover { color: #fff; }

@media (max-width: 767px) {
  .site-footer { padding: 28px 16px; }
  .site-footer__corp { font-size: 15px; }
  .site-footer__addr,
  .site-footer__contact,
  .site-footer__icp { font-size: 12px; }
  .site-footer__contact span { display: block; }
  .site-footer__contact .site-footer__sep { display: none; }
}
