/* 归川（粮油官网）· 深圳市米通网络科技有限公司
   画板 1021x1960（Figma 0alrsO0fqJYkIV3C4ATaX4，节点 69:2）
   绝对定位画板 .page + 走正常流的 .site-footer；不引 Google Fonts（展示机在国内）
   稿内两套字体：导航/按钮 = Source Han Sans CN（行高 1.5），品牌字与正文 = Inter（行高 1.21875） */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: hidden; }

body {
  background: #fcf7f0;
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans CN",
               "Noto Sans CJK SC", "Hiragino Sans GB", sans-serif;
  overflow-x: hidden;
}

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

.page {
  position: relative;
  width: 1021px;
  height: 1960px;
  background: #fcf7f0;
}

/* ---- 导航 ---- */
.nav-mark {
  position: absolute;
  left: 20px; top: 12px;
  width: 107px; height: 109px;
}

.nav-word {
  position: absolute;
  left: 170px; top: 38.15px;
  width: 64px;
  font-size: 32px;
  line-height: 39px;
  color: #000;
  white-space: nowrap;
}

.nav-link {
  position: absolute;
  top: 42.8px;
  height: 33px;
  font-size: 22px;
  line-height: 33px;
  letter-spacing: 0.66px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
/* 「首页」导出 fill 是 #d9d9d9，在 #fcf7f0 浅底上几乎不可见；取渲染图里的实测墨色 */
.nav-home    { left: 364px; color: #151515; }
.nav-about   { left: 469px; color: #282626; }
.nav-contact { left: 619px; color: #282626; }

.nav-cta {
  position: absolute;
  left: 769px; top: 30px;
  width: 120px; height: 56px;
  border-radius: 40px;
  background: #10100e;
  color: #fdf0e6;
  font-size: 20px;
  font-weight: 700;
  line-height: 56px;
  text-align: center;
  text-decoration: none;
}

/* ---- App 截图 ---- */
.ph { position: absolute; display: block; }
.ph-p5 { left: 742px; top: 177px;  width: 147px; height: 262px; }
.ph-p4 { left: 88px;  top: 586px;  width: 145px; height: 258px; }
.ph-p3 { left: 691px; top: 889px;  width: 125px; height: 222px; }
.ph-p1 { left: 88px;  top: 1266px; width: 129px; height: 229px; }
.ph-p2 { left: 742px; top: 1519px; width: 128px; height: 228px; }

/* ---- 正文 ----
   top 是小数：按本机 Microsoft YaHei 渲染实测墨迹顶对齐 Figma absoluteRenderBounds
   （换机器 / 换字号要重新量，见 ../../CLAUDE.md）
   稿里标题行用前导空格缩进（t1 16 个、t2 20 个…），这里按实测墨迹宽换成 text-indent；
   换行点由 width + 32px 全角字距决定，不要改宽度。 */
.t {
  position: absolute;
  font-size: 32px;
  line-height: 39px;
  color: #000;
  font-weight: 700;
}
.t .hd { font-weight: 700; }
.t1 { left: 102px; top: 260.74px;  width: 569px; text-indent: 119px; font-weight: 400; }
.t2 { left: 420px; top: 619.8px;  width: 496px; text-indent: 149px; }
.t3 { left: 74px;  top: 946.67px;  width: 444px; text-indent: 126px; }
.t4 { left: 387px; top: 1281.51px; width: 562px; text-indent: 112px; }
.t5 { left: 112px; top: 1599.8px; width: 447px; text-indent: 119px; }

/* ---- 页脚（原稿无，按本仓规则补主体 / 备案信息）---- */
.site-footer {
  background: #10100e;
  color: #cfcac4;
  padding: 36px 20px 40px;
  font-size: 14px;
  line-height: 2;
  text-align: center;
}
.site-footer__inner { max-width: 900px; margin: 0 auto; }
.site-footer__corp { color: #fff; font-size: 16px; font-weight: 700; }
.site-footer__icp a { color: #cfcac4; text-decoration: none; }
.site-footer__icp a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .site-footer { font-size: 13px; padding: 28px 16px 32px; }
  .site-footer__contact span { display: block; }
}

/* ---- 缩放阶梯：每档按「该档最窄视口」算，(下界 − 20) ÷ 1021，向下取两位 ---- */
@media (max-width: 1040px) { .stage { zoom: 0.98; } }
@media (max-width: 1023px) { .stage { zoom: 0.86; } }
@media (max-width: 899px)  { .stage { zoom: 0.73; } }
@media (max-width: 767px)  { .stage { zoom: 0.60; } }
@media (max-width: 639px)  { .stage { zoom: 0.52; } }
@media (max-width: 559px)  { .stage { zoom: 0.45; } }
@media (max-width: 479px)  { .stage { zoom: 0.38; } }
@media (max-width: 413px)  { .stage { zoom: 0.34; } }
@media (max-width: 374px)  { .stage { zoom: 0.29; } }
