@charset "utf-8";
/* ============================================================
   汗汗漫画 · hhmhapp.net
   视觉方向 B6「国风动漫」：宣纸色底 + 墨黑 / 朱砂 / 黛青
   ============================================================ */

:root {
  /* 宣纸 */
  --paper: #f5f0e2;
  --paper-2: #fbf8ef;
  --paper-3: #efe8d6;
  --card: #fffdf7;
  --line: #e2dac3;
  --line-2: #ede6d3;

  /* 墨 */
  --ink: #1f2321;
  --ink-2: #4a504b;
  --ink-3: #7c837c;

  /* 黛青（主色） */
  --dai: #2f5468;
  --dai-d: #1f3a49;
  --dai-dd: #13242e;
  --dai-l: #e3ebee;

  /* 朱砂（点缀 / 行动） */
  --zhu: #b5372a;
  --zhu-d: #8a2318;
  --zhu-l: #f7e4de;

  /* 苔绿 · 赭金 */
  --tai: #6e8f7c;
  --zhe: #c89a3c;

  --foot-bg: #171a19;
  --foot-tx: #b7b2a4;

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, "SimSun", serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(90deg, rgba(47, 84, 104, .05) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(0deg, rgba(31, 35, 33, .018) 0 1px, transparent 1px 7px);
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.35; margin: 0; }

p { margin: 0 0 1em; }

a { color: var(--dai); text-decoration: none; }
a:hover { color: var(--zhu); }

img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.skip {
  position: absolute; left: 0; top: 0; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; color: transparent;
}
.skip:focus { position: static; width: auto; height: auto; clip-path: none; color: var(--dai); padding: 8px 12px; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 239, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(120%) blur(6px);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 42px; height: 42px; border-radius: 10px; flex: none; }
.brand b { font-family: var(--serif); font-size: 21px; letter-spacing: .06em; color: var(--ink); }
.brand span { display: block; font-size: 11px; letter-spacing: .22em; color: var(--ink-3); }

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  padding: 8px 13px; border-radius: 3px; font-size: 15px; color: var(--ink-2);
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--dai); background: var(--dai-l); }
.nav a.on { color: var(--ink); border-bottom-color: var(--zhu); font-weight: 700; }

.menubtn {
  display: none; width: 42px; height: 38px; border: 1px solid var(--line);
  background: var(--card); border-radius: 3px; cursor: pointer; padding: 0;
}
.menubtn i { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }

/* ---------- 行动按钮（印章式：直角 + 墨色硬落影） ---------- */
.btn {
  display: inline-block; font-family: var(--serif); font-size: 17px; letter-spacing: .08em;
  color: #fffdf5; background: var(--zhu);
  padding: 13px 34px; border-radius: 3px;
  box-shadow: 0 3px 0 var(--ink), 0 0 0 1px var(--zhu-d) inset;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: #fffdf5; transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink), 0 0 0 1px var(--zhu-d) inset; }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--ink), 0 0 0 1px var(--zhu-d) inset; }
.btn--ghost {
  background: transparent; color: var(--dai-d);
  box-shadow: 0 0 0 1px var(--dai) inset, 0 3px 0 rgba(31, 58, 73, .28);
}
.btn--ghost:hover { color: var(--dai-dd); box-shadow: 0 0 0 1px var(--dai-d) inset, 0 5px 0 rgba(31, 58, 73, .28); }
.btn--sm { font-size: 15px; padding: 9px 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #fdfbf5 0%, #f4eedd 48%, #ece8da 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 300px at 84% 16%, rgba(47, 84, 104, .13), transparent 66%),
    radial-gradient(430px 260px at 8% 84%, rgba(181, 55, 42, .10), transparent 68%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 78px;
  pointer-events: none; opacity: .5;
  background:
    radial-gradient(58% 100% at 22% 118%, rgba(31, 58, 73, .30) 0 60%, transparent 61%),
    radial-gradient(46% 88% at 62% 122%, rgba(19, 36, 46, .26) 0 60%, transparent 61%),
    radial-gradient(40% 74% at 92% 126%, rgba(31, 58, 73, .20) 0 60%, transparent 61%);
}
.hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 46px; align-items: center;
  padding-top: 62px; padding-bottom: 72px;
}
.hero h1 { font-size: 46px; letter-spacing: .04em; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--zhu); }
.hero .lead-p { margin-top: 20px; font-size: 16.5px; color: var(--ink-2); max-width: 33em; }
.hero .actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .seal {
  position: absolute; right: 34px; top: 26px; width: 62px; height: 62px; border-radius: 4px;
  background: var(--zhu); color: #fffdf5; font-family: var(--serif); font-size: 30px;
  display: flex; align-items: center; justify-content: center; opacity: .9;
}
.hero-art { position: relative; }
.hero-art .phone {
  width: 300px; margin: 0 auto; padding: 12px; border-radius: 22px;
  background: linear-gradient(160deg, #47738c, #1f3a49 60%, #13242e);
  box-shadow: 0 18px 40px rgba(19, 36, 46, .34), 0 0 0 1px rgba(255, 253, 247, .5) inset;
}
.hero-art .phone img { width: 100%; height: auto; border-radius: 12px; }
.hero-art .cap {
  margin-top: 14px; text-align: center; font-size: 13px; letter-spacing: .1em; color: var(--dai-d);
}

/* ---------- 数据条 ---------- */
.stats { background: var(--ink); color: #e9e4d6; }
.stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  padding-top: 0; padding-bottom: 0;
}
.stats .cell { padding: 22px 8px; text-align: center; border-left: 1px solid rgba(233, 228, 214, .16); }
.stats .cell:first-child { border-left: 0; }
.stats .n { font-family: var(--serif); font-size: 25px; color: #fdfbf5; }
.stats .n i { font-style: normal; font-size: 14px; letter-spacing: .1em; color: #c7c1ae; }
.stats .t { font-size: 13px; letter-spacing: .12em; color: #a9a494; }

/* ---------- 区块通用 ---------- */
.sec { padding: 66px 0; }
.sec--paper2 { background: var(--paper-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sec--ink { background: var(--ink); color: #ddd8c9; }
.sec--ink h2 { color: #fdfbf5; }
.sec-head { margin-bottom: 30px; }
.sec-head h2 { font-size: 30px; letter-spacing: .04em; }
.sec-head p { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; max-width: 46em; }
.sec--ink .sec-head p { color: #b3ae9e; }
.rule { width: 58px; height: 3px; background: var(--zhu); margin: 0 0 18px; border-radius: 2px; }

/* ---------- 更新日历 ---------- */
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day {
  background: var(--card); border: 1px solid var(--line); border-radius: 5px;
  display: flex; flex-direction: column; overflow: hidden;
}
.day header {
  background: var(--dai-d); color: #fdfbf5; padding: 10px 10px 9px;
  font-family: var(--serif); font-size: 17px; letter-spacing: .1em; text-align: center;
}
.day header i { display: block; font-style: normal; font-size: 11px; letter-spacing: .06em; color: #b8c8d1; }
.day--heavy header { background: var(--zhu-d); }
.day--heavy header i { color: #efc9c2; }
.day ul { list-style: none; margin: 0; padding: 10px 10px 12px; flex: 1; }
.day li { padding: 9px 0 8px; border-bottom: 1px dashed var(--line-2); }
.day li:last-child { border-bottom: 0; }
.day .ti { font-size: 14px; font-weight: 700; color: var(--ink); display: block; line-height: 1.5; }
.day .mt { font-size: 11.5px; color: var(--ink-3); display: block; margin-top: 3px; }
.day .tag {
  display: inline-block; font-size: 11px; padding: 0 6px; border-radius: 2px;
  background: var(--dai-l); color: var(--dai-d); margin-right: 5px;
}
.tag--w { background: var(--zhu-l); color: var(--zhu-d); }
.tag--g { background: #e6efe9; color: #3f5c4b; }
.cal-foot {
  margin-top: 18px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center;
  font-size: 13.5px; color: var(--ink-3);
}
.cal-foot b { color: var(--ink-2); font-weight: 700; }
.cal-foot span { display: inline-flex; align-items: center; gap: 6px; }
.cal-foot em { width: 10px; height: 10px; border-radius: 2px; display: inline-block; font-style: normal; }
.dot-w { background: var(--dai-d); }
.dot-z { background: var(--zhu-d); }

/* ---------- 阅读体验三问 ---------- */
.read3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ask {
  background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 24px 22px;
  border-top: 3px solid var(--dai);
}
.ask:nth-child(2) { border-top-color: var(--zhu); }
.ask:nth-child(3) { border-top-color: var(--tai); }
.ask h3 { font-size: 19px; margin-bottom: 10px; }
.ask .q { font-size: 13px; color: var(--zhu); letter-spacing: .06em; margin-bottom: 8px; }
.ask p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 0; }

/* ---------- 参数对照表 ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; background: var(--card); }
table.spec { width: 100%; border-collapse: collapse; min-width: 660px; font-size: 14.5px; }
table.spec caption { text-align: left; padding: 14px 16px 0; font-size: 13px; color: var(--ink-3); }
table.spec th, table.spec td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
table.spec thead th { background: var(--dai-d); color: #fdfbf5; font-family: var(--serif); font-size: 15px; letter-spacing: .06em; border-bottom: 0; }
table.spec tbody tr:nth-child(even) { background: var(--paper-2); }
table.spec td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* ---------- 截图墙 ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot {
  background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 9px 9px 0;
}
.shot img { width: 100%; height: auto; border-radius: 3px; }
.shot figcaption { font-size: 12.5px; color: var(--ink-3); text-align: center; padding: 9px 2px 11px; line-height: 1.6; }

/* ---------- 内页入口卡 ---------- */
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.entry {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: 5px;
  padding: 26px 24px; color: var(--ink);
}
.entry:hover { border-color: var(--dai); color: var(--ink); }
.entry .k { font-size: 12px; letter-spacing: .2em; color: var(--zhu); }
.entry h3 { font-size: 21px; margin: 8px 0 10px; }
.entry p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 14px; }
.entry .more { font-size: 13.5px; color: var(--dai); letter-spacing: .06em; }

/* ---------- 读者反馈 ---------- */
.voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.voice {
  background: rgba(255, 253, 247, .06); border: 1px solid rgba(233, 228, 214, .18);
  border-left: 3px solid var(--zhe); border-radius: 4px; padding: 22px 22px 18px;
}
.voice p { font-size: 15px; color: #ded9ca; }
.voice .who { font-size: 12.5px; color: #9d988a; letter-spacing: .1em; }
.voice .st { color: var(--zhe); font-size: 13px; letter-spacing: .2em; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); background: transparent; }
.faq summary {
  cursor: pointer; padding: 17px 40px 17px 0; position: relative;
  font-family: var(--serif); font-size: 17px; color: var(--ink); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 14px; font-size: 22px; color: var(--zhu); line-height: 1;
  font-family: var(--sans);
}
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 46px 20px 0; color: var(--ink-2); font-size: 15px; }
.faq .ans p:last-child { margin-bottom: 0; }
.faq .grp { margin: 34px 0 6px; font-size: 15px; letter-spacing: .16em; color: var(--zhu); font-family: var(--serif); }

/* ---------- 行动条 ---------- */
.cta {
  background: linear-gradient(150deg, #2a4c5e, #1f3a49 52%, #13242e);
  color: #e6e1d3; text-align: center;
}
.cta h2 { color: #fdfbf5; font-size: 28px; }
.cta p { color: #b6bfc4; margin: 14px auto 26px; max-width: 40em; }

/* ---------- 页脚 ---------- */
.site-foot { background: var(--foot-bg); color: var(--foot-tx); padding: 54px 0 30px; font-size: 14px; }
.site-foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.site-foot h4 { color: #f2eee0; font-size: 16px; margin-bottom: 12px; letter-spacing: .08em; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: var(--foot-tx); }
.site-foot a:hover { color: #f2eee0; }
.site-foot .fbrand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.site-foot .fbrand img { width: 38px; height: 38px; border-radius: 9px; }
.site-foot .fbrand b { font-family: var(--serif); font-size: 19px; color: #f2eee0; letter-spacing: .06em; }
.site-foot .disc {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(183, 178, 164, .22);
  font-size: 13px; color: #8f8a7d; line-height: 1.8;
}
.site-foot .copy { margin-top: 10px; font-size: 12.5px; color: #7a766a; letter-spacing: .04em; }

/* ---------- 内页正文 ---------- */
.page-hero, .hero.hero--sub { padding: 0; }
.hero--sub .wrap { grid-template-columns: 1.1fr .9fr; padding-top: 46px; padding-bottom: 56px; }
.hero--sub h1 { font-size: 36px; }
.hero--sub .phone { width: 250px; }

.prose { max-width: 100%; }
.prose h2 { font-size: 26px; margin: 44px 0 14px; letter-spacing: .03em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--serif); font-size: 19px; margin: 26px 0 10px; color: var(--dai-d); }
.prose p { font-size: 16px; color: var(--ink-2); }
.prose ul, .prose ol { color: var(--ink-2); padding-left: 1.35em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); }
.prose figure { margin: 28px 0; }
.prose figure img { border: 1px solid var(--line); border-radius: 5px; background: var(--card); padding: 8px; }
.prose figure figcaption { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 10px; }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
.split figure { margin: 0; position: sticky; top: 92px; }
.split figure img { width: 100%; height: auto; }
.split figure .phone {
  padding: 11px; border-radius: 20px; background: linear-gradient(160deg, #47738c, #1f3a49 60%, #13242e);
  box-shadow: 0 14px 32px rgba(19, 36, 46, .28);
}
.split figure .phone img { border-radius: 11px; }
.split figure figcaption { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 12px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.2em; }
.steps li { counter-increment: s; position: relative; padding: 14px 18px 14px 60px; background: var(--card); border: 1px solid var(--line); border-radius: 5px; margin-bottom: 12px; }
.steps li::before {
  content: counter(s, cjk-ideographic); position: absolute; left: 16px; top: 15px;
  width: 30px; height: 30px; border-radius: 3px; background: var(--dai); color: #fdfbf5;
  font-family: var(--serif); font-size: 15px; display: flex; align-items: center; justify-content: center;
}
.steps b { display: block; color: var(--ink); }
.steps span { font-size: 14.5px; color: var(--ink-2); }

.note {
  background: var(--zhu-l); border-left: 3px solid var(--zhu); border-radius: 4px;
  padding: 16px 20px; font-size: 14.5px; color: #6d2a20; margin: 0 0 1.2em;
}
.note b { color: var(--zhu-d); }

.jump { background: var(--paper-3); border: 1px solid var(--line); border-radius: 5px; padding: 18px 22px; margin: 0 0 34px; }
.jump h2 { font-size: 15px; letter-spacing: .14em; color: var(--dai-d); margin: 0 0 10px; font-family: var(--serif); }
.jump ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.jump a { font-size: 14px; }

/* ---------- 渐显 ---------- */
.reveal { transition: opacity .5s ease, transform .5s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1279px) {
  .hero .seal { display: none; }
}

/* ---------- 断点 ≤980 ---------- */
@media (max-width: 980px) {
  .menubtn { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper-2); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px 22px 14px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 4px; border-bottom: 1px solid var(--line-2); border-left: 0; }
  .nav a.on { border-bottom-color: var(--line-2); box-shadow: inset 3px 0 0 var(--zhu); padding-left: 12px; }
  .topbar .wrap { position: relative; }

  .hero .wrap, .hero--sub .wrap { grid-template-columns: 1fr; gap: 34px; padding-top: 44px; padding-bottom: 54px; }
  .hero h1 { font-size: 34px; }
  .hero--sub h1 { font-size: 29px; }
  .hero .seal { display: none; }
  .hero-art { order: -1; }
  .hero-art .phone, .hero--sub .phone { width: 250px; }

  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats .cell:nth-child(3) { border-left: 0; }

  .calendar { grid-template-columns: repeat(2, 1fr); }
  .read3 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .entries { grid-template-columns: 1fr; }
  .voices { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split figure { position: static; max-width: 340px; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  .sec { padding: 50px 0; }
  .sec-head h2 { font-size: 25px; }
  .prose h2 { font-size: 22px; margin-top: 34px; }
}

/* ---------- 断点 ≤620 ---------- */
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .brand img { width: 36px; height: 36px; }
  .brand b { font-size: 18px; }
  .brand span { font-size: 10px; letter-spacing: .16em; }
  .hero h1 { font-size: 27px; }
  .hero--sub h1 { font-size: 24px; }
  .hero-art .phone, .hero--sub .phone { width: 210px; }
  .btn { font-size: 16px; padding: 12px 26px; }
  .stats .n { font-size: 21px; }
  .stats .cell { padding: 16px 6px; }
  .calendar { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shots .shot { padding: 7px 7px 0; }
  .sec { padding: 40px 0; }
  .sec-head h2 { font-size: 21px; }
  .prose h2 { font-size: 19.5px; }
  .cta h2 { font-size: 22px; }
  .site-foot .cols { grid-template-columns: 1fr; }
  .jump ul { flex-direction: column; gap: 6px; }
  table.spec { min-width: 560px; font-size: 13.5px; }
}
