/* =============================================================================
   等见 · 同城兴趣社交（深圳加热科技有限公司）—— 社交向
   源文件: figma.com/design/WD47b6RgumXuOSk4L2O4Jx  node 205177:6383「等见社交版」
   画板: 1555 x 4240，底色 #ffe6e9；画板外无兄弟节点（use_figma 求交为空）

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

   · 不引 Google Fonts（展示机在国内）；原稿正文/品牌字是 Inter（对中文无字形，Figma 回落 CJK），
     导航是 Source Han Sans CN Bold，这里一律走系统 CJK 栈。
   · 原稿 5 段正文都是**固定宽度 + 居中对齐**的文本框（不是 anrou 那种单行左对齐），
     故 left/width 照抄节点框、text-align:center；其中 t2/t3 在 577/580 宽下折成两行（14 字 + 2 字），
     换行由 width 决定，**不加 <br>**。
   · top 不是节点 y，而是按 `absoluteRenderBounds`（墨迹框）反推，注释里 “墨迹 y=” 是校准靶子。
   · 导航「首页」不照抄导出的 #d9d9d9（粉底上看不见），用实测墨色 #151515（各站同一个坑）。
   · 截图 .ph-* 的 width/height 是**原稿显示框（1×）**，位图约 1.17× —— 别照 naturalWidth 填。
   ========================================================================== */

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

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

body { margin: 0; background: #ffe6e9; 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:      #ffe6e9;   /* 画板底色 */
  --c-ink:     #000;
  --c-nav-cur: #151515;
  --c-nav-ink: #282626;
  --c-cta-bg:  #10100e;
  --c-cta-ink: #ece6fb;   /* 「下载」字色（原稿就是淡紫，不是纯白） */
}

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

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

.page {
  position: relative;
  width: 1555px;
  height: 4240px;
}

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

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

/* logo 原稿 122x125 圆角 31 + CROP 图片；裁切与圆角已烤进 assets/logo.png（2× = 244x250，带 alpha） */
.nav-mark {
  position: absolute;
  left: 22px; top: 18px;
  width: 122px; height: 125px;
}

/* 品牌字「等见」：原稿 Inter 64px 居中，节点框 205,54 128x77；墨迹 x=207.1 y=61.9 */
.nav-word {
  position: absolute;
  left: 205px; top: 55.7px;
  width: 128px;
  font-family: var(--f-han);
  font-size: 64px; font-weight: 400; line-height: 64px;
  text-align: center;
  color: var(--c-ink);
  white-space: nowrap;
}

/* 原稿导航项 x = 638 / 743 / 893（gap 60，宽 45/90/90）；墨迹 y≈61.7 */
.nav-links {
  position: absolute;
  left: 638px; top: 54.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;   /* 原稿 3% */
  color: var(--c-nav-ink);
  white-space: nowrap;
  transition: opacity .2s;
}

.nav-links a:nth-child(1) { width: 45px; }
.nav-links a:nth-child(2),
.nav-links a:nth-child(3) { width: 90px; }

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

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

.nav-cta {
  position: absolute;
  left: 1043px; top: 43px;
  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; }

/* ============================== 正文 ============================== */
/* 原稿 40px、行高 AUTO；两行块墨高 84.96 − 单行墨高 ≈38 ⇒ 行距 ≈47，与 tielian 反推值一致 */
.txt {
  position: absolute;
  color: var(--c-ink);
  font-family: var(--f-han);
  font-size: 40px; font-weight: 400; line-height: 47px;
  text-align: center;
}

.t1 { left:  131px; top:  560.7px; width: 612px; }   /* 节点 131,562 w612；墨迹 y=567.2（1 行） */
.t2 { left:  454px; top: 1411.7px; width: 577px; }   /* 节点 454,1413 w577；墨迹 y=1418.2（2 行） */
.t3 { left:  479px; top: 1807.7px; width: 580px; }   /* 节点 479,1809 w580；墨迹 y=1814.2（2 行） */
.t4 { left:  125px; top: 2693.9px; width: 934px; }   /* 节点 125,2695 w934；墨迹 y=2700.3（1 行） */
.t5 { left:  533px; top: 3582.7px; width: 963px; }   /* 节点 533,3584 w963；墨迹 y=3589.2（1 行） */

/* ============================ App 截图 ============================ */
.ph { position: absolute; object-fit: cover; }

.ph-home  { left:  928px; top:  238px; width: 415px; height: 935px; }
.ph-feed  { left:   30px; top: 1299px; width: 380px; height: 861px; }
.ph-video { left: 1085px; top: 1299px; width: 387px; height: 861px; }
.ph-topup { left: 1107px; top: 2338px; width: 365px; height: 844px; }
.ph-mine  { left:   76px; top: 3208px; width: 399px; height: 911px; }

/* ======================= 中屏：整体等比缩放 ======================= */
/* zoom 而非 transform:scale —— zoom 会带动布局高度，页面不会留白。
   🔴 阶梯照 xihuan-www（同为 1555 宽）按「该档最窄视口」重算过：(下界 + 1 − 滚动条 17px) ÷ 1555 向下取两位。
      **别抄 shuyun1 的旧阶梯**（按上界算，实测会横向溢出）。
      溢出检测要用「所有元素 rect.right 最大值 vs clientWidth」，scrollWidth 会被 html{overflow-x:hidden} 钳住测不出来。 */
@media (max-width: 1574px) { .stage { zoom: .92; } }             /* 最窄 1454 → 1430/1555 */
@media (max-width: 1452px) { .stage { zoom: .85; } }             /* 最窄 1354 → 1321/1555 */
@media (max-width: 1352px) { .stage { zoom: .79; } }             /* 最窄 1254 → 1228/1555 */
@media (max-width: 1252px) { .stage { zoom: .73; } }             /* 最窄 1154 → 1135/1555 */
@media (max-width: 1152px) { .stage { zoom: .66; } }             /* 最窄 1054 → 1026/1555 */
@media (max-width: 1052px) { .stage { zoom: .60; } }             /* 最窄  954 →  933/1555 */
@media (max-width:  952px) { .stage { zoom: .53; } }             /* 最窄  854 →  824/1555 */
@media (max-width:  852px) { .stage { zoom: .48; } }             /* 最窄  769 →  746/1555 */

/* ========================= 窄屏：单栏流式 ========================= */
@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: 47px; height: 48px; }

  .nav-word {
    left: 72px; top: 12px; width: auto;
    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 {
    width: auto;
    font-size: 18px; line-height: 1.6;
  }

  .txt + .txt { margin-top: 6px; }

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

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

/* ================================ 页脚 ================================ */
/* 与 jiare-www / tielian 同主体同款；主体信息是**深圳加热科技**自己的，别抄兄弟站 */
.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 .site-footer__sep`，否则打不过上一行 span 的 display:block */
  .site-footer__contact span { display: block; }
  .site-footer__contact .site-footer__sep { display: none; }
}
