/* 外贸 GEO 工具箱 · 默认样式（起步用）
   审美方向定好以后，设计步骤会重写这份文件：先改 :root 里的颜色和字体，再改版式。
   规矩：正文至少 16px；按钮至少 44px 高；375px 宽不能左右滑。 */
:root {
  --ink: #151515;
  --ink-2: color-mix(in srgb, #151515 78%, #F4F3EF);
  --muted: color-mix(in srgb, #151515 60%, #F4F3EF);
  --paper: #F4F3EF;
  --card: #FFFFFF;
  --line: #D9D6CE;
  --brand: #1F2A37;
  --accent: #E8A33D;
  --accent-ink: #161616;
  --radius: 4px;
  --wrap: 1180px;
  --font-head: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-top: 1.6em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px; z-index: 9; }

/* 页头 */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--ink); }
.nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
@media (max-width: 860px) {
  .bar { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 10px 16px; }
  .nav { order: 3; width: 100%; margin: 0; gap: 14px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .btn-sm { margin-left: auto; }
}

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .9rem; }

/* 首屏和区块 */
.hero { padding: 64px 0 48px; background: var(--brand); color: #fff; }
.hero a:not(.btn) { color: #fff; }
.hero .lead { font-size: 1.2rem; max-width: 46em; color: #e6e8ee; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 24px 0; padding: 0; list-style: none; }
.hero .facts li { border-left: 3px solid var(--accent); padding-left: 10px; }
.section { padding: 48px 0; }
.section.alt { background: var(--card); border-block: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 a { text-decoration: none; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.answer { font-size: 1.15rem; border-left: 4px solid var(--accent); padding-left: 16px; }
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 16px; }
.crumbs a { color: var(--muted); }

/* 表格 */
.table-wrap { overflow-x: auto; margin: 1em 0 1.6em; }
table { border-collapse: collapse; width: 100%; background: var(--card); font-size: .98rem; }
caption { text-align: left; font-weight: 700; padding: 0 0 8px; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
thead th, .specs th { background: #efeee9; font-weight: 600; }
.specs th { width: 38%; }

/* 常见问题 */
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-item summary { cursor: pointer; list-style: none; }
.faq-item summary h3 { display: inline; font-size: 1.1rem; }
.faq-a { padding-top: 8px; color: var(--ink-2); }

/* 询盘表单 */
.inquiry { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.inquiry .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.inquiry label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.inquiry input, .inquiry textarea { display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; }
.inquiry .hp { position: absolute; left: -9999px; }
.form-note { color: var(--muted); font-size: .9rem; margin-top: 10px; }

/* 页脚 */
.site-footer { background: #101828; color: #d0d5dd; padding: 40px 0 20px; margin-top: 48px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.f-brand { color: #fff; font-weight: 700; }
.f-h { color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.social a { margin-right: 12px; }
.legal { border-top: 1px solid #344054; margin-top: 24px; padding-top: 16px; font-size: .85rem; }

/* 设计方向：精密目录 · 首屏深底 */
