/* ============================================================
   Shuxing Technology 述行科技 - site styles
   改这里就能改版式 / Edit here to restyle the site
   ------------------------------------------------------------
   1. 颜色与字体都在下面的 :root 变量里 (colors & fonts in :root)
   2. 整体气质：纸面底色 + 衬线大标题 + 等宽小标签
      (paper background, serif headlines, mono labels)
   ============================================================ */

:root {
  /* 颜色 colors */
  --paper:   #f6f4ee;   /* 页面底色 page background */
  --ink:     #17191d;   /* 主文字 main text */
  --body:    #3d4149;   /* 正文 body text */
  --faint:   #8a8d94;   /* 弱文字 muted text */
  --line:    #dddbd2;   /* 分隔线 hairlines */
  --accent:  #c94f2a;   /* 点缀色 accent (柿红 persimmon) */

  /* 字体 fonts */
  --serif: "Fraunces", "Songti SC", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
           "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono:  ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  /* 版心 content width */
  --measure: 680px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
}

a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

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

/* ---------- 顶部 header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; padding-bottom: 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand:hover { color: var(--ink); }
/* 声波小标 - 录音产品的记号 little waveform mark for the recording product */
.wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.wave i { width: 3px; background: var(--accent); border-radius: 1px; }
.wave i:nth-child(1) { height: 7px; }
.wave i:nth-child(2) { height: 14px; }
.wave i:nth-child(3) { height: 10px; }
.wave i:nth-child(4) { height: 16px; }
.wave i:nth-child(5) { height: 5px; }
.brand .word { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: 0.01em; }
.brand .zh { font-size: 13px; color: var(--faint); letter-spacing: 0.12em; margin-left: 2px; }

.nav { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a { margin-left: 22px; color: var(--body); text-decoration: none; }
.nav a:hover { color: var(--accent); }
.nav a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

/* ---------- 首屏 hero ---------- */
.hero { padding: 96px 24px 72px; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 550;
  font-size: 52px; line-height: 1.12; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero .lede { font-size: 18px; line-height: 1.75; max-width: 560px; color: var(--body); }

/* ---------- 章节 sections ---------- */
section { padding: 56px 0; border-top: 1px solid var(--line); }
.sec-label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint);
  display: block; margin-bottom: 16px;
}
section h2 {
  font-family: var(--serif); font-weight: 550; font-size: 30px;
  letter-spacing: -0.01em; color: var(--ink); margin-bottom: 18px;
}
section h3 {
  font-family: var(--sans); font-weight: 600; font-size: 16px;
  color: var(--ink); margin: 30px 0 8px;
}
section p { margin-bottom: 15px; }
section ul { margin: 0 0 15px; list-style: none; }
section li { margin-bottom: 12px; padding-left: 22px; position: relative; }
section li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 8px; height: 2px; background: var(--accent);
}
section li strong { color: var(--ink); font-weight: 600; }

/* 产品卡 - 规格表样式 product card as a spec sheet */
.spec {
  border: 1px solid var(--line); border-radius: 4px;
  background: #fffdf8;
  padding: 26px 28px; margin-top: 26px;
}
.spec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px;
}
.spec-head h3 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 2px; padding: 3px 8px;
  white-space: nowrap;
}
.spec ul { margin: 0; }
.spec li:last-child { margin-bottom: 0; }

/* ---------- 支持页 support ---------- */
.contact-box {
  border: 1px solid var(--line); border-radius: 4px; background: #fffdf8;
  padding: 24px 28px; margin: 22px 0 8px;
}
.contact-box .mono { font-family: var(--mono); font-size: 14px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { margin: 0 0 6px; }
.mono { font-family: var(--mono); }

/* ---------- 隐私政策 privacy ---------- */
.updated {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--faint); text-transform: uppercase; margin-bottom: 28px;
}
.todo {
  border: 1px dashed var(--accent); border-radius: 4px;
  background: #fdf3ee; color: #8f3418;
  padding: 12px 16px; font-size: 14px; margin: 16px 0;
}

/* ---------- 页脚 footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; margin-top: 32px; }
.site-footer .legal {
  font-family: var(--mono); font-size: 12px; line-height: 1.9;
  letter-spacing: 0.02em; color: var(--faint);
}
.site-footer .legal strong { color: var(--body); font-weight: 500; }
.site-footer .footer-links { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer .footer-links a { margin-right: 20px; text-decoration: none; color: var(--body); }
.site-footer .footer-links a:hover { color: var(--accent); }

/* ---------- 小屏 small screens ---------- */
@media (max-width: 640px) {
  .hero { padding: 64px 24px 52px; }
  .hero h1 { font-size: 36px; }
  .hero .lede { font-size: 16px; }
  section h2 { font-size: 25px; }
}
@media (max-width: 480px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav a { margin-left: 0; margin-right: 18px; }
  .spec { padding: 20px; }
  .spec-head { flex-direction: column; gap: 8px; }
}
