/* SFK 门面站与国家站共用样式（WEB-2 / WEB-3 / TD-344）。
   视觉以《SFK_官网首页_效果稿_v0.1.html》（创始人 10-06 定稿）为准：深绿＋金色、奶油底、首屏主图、三张卡压住首屏下沿、两条横幅、页脚两栏。
   手机优先：窄屏下导航只留标志与「Get the app」，卡片与横幅单列。 */
:root {
  --g: #173a28;
  --g2: #1f4a35;
  --g3: #243f31;
  --gold: #c9a84c;
  --cream: #f6f3ea;
  --ink: #16241c;
  --mut: #5d6b62;
  --card: #ffffff;
  --line: #e4dfd0;
  --foot: #0f2a1c;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--cream);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ── 顶部导航（压在首屏图上）── */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; color: #fff; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { font-weight: 800; letter-spacing: .14em; font-size: 22px; line-height: 1; }
.logo i { display: block; height: 2px; width: 26px; background: var(--gold); margin-top: 5px; }
.links { display: flex; gap: 28px; font-size: 15px; opacity: .95; }
.links a:hover { color: var(--gold); }
.right { display: flex; gap: 12px; align-items: center; }
.chip { border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; padding: 6px 14px; font-size: 14px; white-space: nowrap; }

/* ── 按钮 ── */
.btn { white-space: nowrap; display: inline-block; border-radius: 999px; padding: 12px 24px; font-weight: 700; font-size: 16px; line-height: 1.4; }
.btn.gold { background: var(--gold); color: #1b2a1f; }
.btn.line { border: 1.5px solid rgba(255, 255, 255, .8); color: #fff; }
.btn.dark { background: var(--g); color: #fff; }
.btn.sm { padding: 8px 16px; font-size: 14px; }

/* ── 首屏 ── */
.hero { position: relative; min-height: 640px; color: #fff; background: #102a1d url(img/hero_bg.png) center/cover no-repeat; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 38, 26, .92) 0%, rgba(14, 38, 26, .78) 42%, rgba(14, 38, 26, .25) 100%); }
.hero .wrap { position: relative; width: 100%; padding-top: 90px; padding-bottom: 110px; }
.hero h1 { font-size: 58px; line-height: 1.08; max-width: 760px; letter-spacing: -.02em; }
.hero .sub { font-size: 24px; color: var(--gold); margin: 18px 0 32px; max-width: 640px; line-height: 1.4; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero small { display: block; max-width: 640px; margin-top: 34px; font-size: 13px; opacity: .78; line-height: 1.5; }
.hero.short { min-height: 420px; }
.hero.short .wrap { padding-bottom: 120px; }
.hero.short h1 { font-size: 52px; }
.hero.short .sub { font-size: 20px; max-width: 760px; }

/* ── 三张卡（压住首屏下沿）── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: -90px; position: relative; z-index: 3; align-items: start; }
/* 10-06 设计窗口：卡片按内容自然高度（⛔ 拉齐三张卡），按钮紧跟内容、固定间距、左对齐 */
.card { background: var(--card); border-radius: 20px; box-shadow: 0 14px 40px rgba(20, 40, 28, .12); overflow: hidden; display: flex; flex-direction: column; }
.card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card h3 { font-size: 24px; letter-spacing: -.01em; line-height: 1.25; }
.card p { color: var(--mut); font-size: 16px; }
.card p.idea { color: var(--ink); font-weight: 600; font-size: 17px; line-height: 1.45; }
.card .push { padding-top: 6px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #efe6c8; color: #6a5413; width: max-content; }
.tag.green { background: #e1ede5; color: #1c4a31; }
.steps { display: grid; gap: 8px; margin: 4px 0 8px; }
.steps div { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--g); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.store { background: #000; color: #fff; border-radius: 10px; padding: 11px 16px; font-size: 14px; font-weight: 700; }
.thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 6px 0 4px; }
.thumbs figure { position: relative; border-radius: 14px; overflow: hidden; height: 118px; background: #fff; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; background: linear-gradient(transparent, rgba(10, 30, 20, .8)); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; }
.svcvis { height: 150px; background: linear-gradient(135deg, var(--g2), var(--g)); display: grid; place-items: center; }

/* ── 国家页状态表 ── */
table.status { width: 100%; border-collapse: collapse; }
table.status td { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
table.status td:last-child { text-align: right; font-weight: 700; }

/* ── 横幅 ── */
section.bands { padding: 64px 0 72px; }
.foot2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.band { background: var(--g); color: #fff; border-radius: 22px; padding: 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.band.alt { background: var(--g3); }
.band h3 { font-size: 22px; margin-bottom: 6px; }
.band p { color: #d4e1d8; }

/* ── 正文页（About）── */
.prose { padding: 56px 0 64px; max-width: 820px; }
.prose p { margin: 0 0 16px; }
.prose .group { margin-bottom: 28px; }

/* ── 页脚 ── */
footer { background: var(--foot); color: #c7d6cc; padding: 46px 0 34px; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 26px; }
footer strong { color: #fff; display: block; margin-bottom: 4px; }
footer .links2 { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; color: #fff; }
footer .links2 a { text-decoration: underline; text-underline-offset: 3px; }
footer .policies { display: flex; gap: 10px 18px; flex-wrap: wrap; margin-bottom: 12px; color: #fff; }
footer .policies a { text-decoration: underline; text-underline-offset: 3px; }
footer small { display: block; opacity: .75; line-height: 1.55; font-size: 13px; }

/* App 内嵌网页（WEB-2 决策 5，与 M7 同一识别）：⛔ 显示下载入口，也⛔ 显示机构／合作伙伴入口（TD-153 §3.2：App 内⛔ 许出现指向门户根地址的链接） */
html.inapp .not-in-app { display: none !important; }

@media (max-width: 860px) {
  .links, .chip { display: none; }
  .hero { min-height: 560px; }
  /* 窄屏下文字横跨整张图 ⇒ 遮罩改为均匀偏深，免责小字压在亮处也看得清 */
  .hero::before { background: linear-gradient(180deg, rgba(14, 38, 26, .80) 0%, rgba(14, 38, 26, .86) 100%); }
  .hero h1 { font-size: 38px; }
  .hero .sub { font-size: 20px; }
  .hero.short { min-height: 360px; }
  .hero.short h1 { font-size: 38px; }
  .hero.short .sub { font-size: 17px; }
  .pillars { grid-template-columns: 1fr; margin-top: -60px; }
  .foot2, footer .cols { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; padding: 28px; }
  /* 手机上小按钮也要手指点得到（≥ 44px 高） */
  .btn.sm { padding: 12px 18px; }
}
@media (max-width: 420px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero h1 { font-size: 34px; }
  .card .body { padding: 22px 20px 24px; }
}
