/* 招菜官网 — 自建静态站（Caddy file_server 直出）
   设计约束：不引用任何境外 CDN / Google Fonts（大陆访问会挂），全部自包含。 */

:root {
  --ink: #1b2018;
  --ink-soft: #4a5347;
  --ink-faint: #7c857a;
  --paper: #ffffff;
  --paper-warm: #f7f7f3;
  --line: #e3e5df;
  --green-deep: #4d5a49;
  --green-dark: #38412f;
  --accent: #dcb43c;
  --accent-ink: #2b2510;
  --radius: 4px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶栏 ---------- */

.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img { width: 34px; height: 34px; }

.brand-name { font-size: 19px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.2; }
.brand-sub { font-size: 10px; letter-spacing: 0.22em; color: var(--ink-faint); line-height: 1.2; }

.nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- 首页大图区 ---------- */

.hero {
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
    linear-gradient(150deg, var(--green-deep) 0%, var(--green-dark) 100%);
  color: #fff;
  padding: 96px 0 104px;
}

.hero .eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 20px;
}

.hero h1 {
  font-size: clamp(48px, 9vw, 96px);
  line-height: 1.02;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
  font-weight: 800;
}

.hero .lede {
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 20px;
  max-width: 17em;
}

.hero p.sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 36em;
  margin: 0 0 34px;
}

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

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #e8c356; }

.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- 内页页头 ---------- */

.page-head {
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  padding: 60px 0 56px;
}

.page-head .eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  margin: 0 0 14px;
}

.page-head h1 {
  font-size: clamp(30px, 5vw, 42px);
  margin: 0 0 14px;
  line-height: 1.25;
  font-weight: 700;
}

.page-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 40em;
  font-size: 16.5px;
}

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

section { padding: 68px 0; }
section + section { border-top: 1px solid var(--line); }
section.tint { background: var(--paper-warm); }

.sec-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(24px, 3.6vw, 32px);
  margin: 0 0 18px;
  line-height: 1.35;
  font-weight: 700;
}

h3 { font-size: 17px; margin: 0 0 8px; font-weight: 700; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 17px; color: var(--ink-soft); max-width: 44em; }

/* 卡片网格 */

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 32px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
}

.card p { color: var(--ink-soft); font-size: 15px; }

.card .num {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 10px;
}

/* 定义表 */

.deflist {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.deflist div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.deflist dt { color: var(--ink-faint); font-size: 14.5px; margin: 0; }
.deflist dd { margin: 0; font-size: 15.5px; overflow-wrap: anywhere; }

/* 提示条 */

.notice {
  border-left: 3px solid var(--accent);
  background: var(--paper-warm);
  padding: 18px 22px;
  margin-top: 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.notice p { font-size: 15px; color: var(--ink-soft); }

/* 长文（隐私政策） */

.prose h2 { font-size: 20px; margin: 38px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); max-width: 46em; }
.prose .meta { font-size: 14px; color: var(--ink-faint); }

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

.site-foot {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 52px 0 28px;
  font-size: 14.5px;
}

.foot-top {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: 32px;
}

.site-foot .brand-name { color: #fff; }
.site-foot .brand-sub { color: rgba(255, 255, 255, 0.5); }
.site-foot p { color: rgba(255, 255, 255, 0.7); margin: 14px 0 0; max-width: 22em; }

.foot-col h4 {
  font-size: 13px;
  color: #fff;
  margin: 0 0 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; }

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
}

/* 工信部要求：备案号展示在首页底部并链接工信部备案系统 */
.icp { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.icp:hover { color: #fff; text-decoration: underline; }

@media (max-width: 860px) {
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .deflist div { grid-template-columns: 1fr; gap: 4px; }
  .site-head .wrap { min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav { gap: 18px; }
  .hero { padding: 66px 0 72px; }
  section { padding: 52px 0; }
}
