/* ═══════════════════════════════════════════════════
   晨读盲盒 · 官网
   视觉延续小程序的「晨光纸感」：暖纸白底 + 从上往下照的晨光
   ═══════════════════════════════════════════════════ */

:root {
  /* 纸与墨 */
  --paper:      #FDFBF7;
  --paper-alt:  #F8F3E9;
  --paper-deep: #F1E9DA;
  --ink:        #2B2118;
  --ink-2:      #6B5D4F;
  --ink-3:      #9C8D7C;

  /* 晨光 */
  --sun:        #FF8A3D;
  --sun-deep:   #E9702A;
  --gold:       #FFC24B;

  /* 压住暖色发飘 */
  --forest:     #1F6F5C;
  --forest-soft:#E4F0EB;
  --coral:      #FF6B6B;

  --line:       rgba(43, 33, 24, .10);
  --shadow-s:   0 2px 10px rgba(43, 33, 24, .05);
  --shadow-m:   0 10px 30px rgba(43, 33, 24, .08);
  --shadow-l:   0 24px 60px rgba(43, 33, 24, .12);

  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "STSong", Georgia, serif;
  --sans:  "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
           "Microsoft YaHei", "Source Han Sans SC", sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 纸纹：极淡斜向条纹，模拟纸纤维 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
  background-image: repeating-linear-gradient(
    118deg,
    rgba(43,33,24,.014) 0, rgba(43,33,24,.014) 1px,
    transparent 1px, transparent 32px
  );
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.wrap-narrow { max-width: 760px; }
.wrap-split {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}

/* ═══════════ 顶栏 ═══════════ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,251,247,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-s); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.brand-mark { display: flex; filter: drop-shadow(0 3px 8px rgba(255,138,61,.35)); }
.nav-links { display: none; margin-left: auto; gap: 26px; font-size: 15px; color: var(--ink-2); }
.nav-links a { transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.btn-mini { margin-left: auto; }
.nav-links + .btn-mini { margin-left: 0; }

/* ═══════════ 按钮 ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  border: 1.5px solid transparent; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--sun));
  color: #fff; box-shadow: 0 6px 18px rgba(255,138,61,.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,138,61,.4); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: rgba(255,138,61,.5); color: var(--sun-deep); }
.btn-mini { padding: 8px 16px; font-size: 14px; background: var(--ink); color: var(--paper); }
.btn-mini:hover { transform: translateY(-1px); }

/* ═══════════ Hero ═══════════ */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.glow {
  position: absolute; top: 0; left: 0; right: 0; height: 560px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 22% -12%, rgba(255,194,75,.34) 0%, transparent 62%),
    radial-gradient(ellipse 120% 50% at 50% 108%, rgba(248,243,233,.9) 0%, transparent 70%);
}
.glow-soft { height: 420px; opacity: .7; }
.grain { display: none; }

.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 6px 14px 6px 10px;
  background: rgba(255,255,255,.66); border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; color: var(--ink-2); letter-spacing: .04em;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--sun));
  box-shadow: 0 0 0 3px rgba(255,138,61,.16);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 7.2vw, 58px);
  line-height: 1.22;
  margin: 0 0 20px;
  letter-spacing: .01em;
  font-weight: 700;
}
.lede { font-size: clamp(15px, 2.2vw, 17px); color: var(--ink-2); margin: 0 0 30px; max-width: 34em; }
.lede strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { font-size: 14px; color: var(--ink-2); position: relative; padding-left: 16px; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--sun);
}
.hero-points b { color: var(--ink); font-weight: 600; }

/* 手机示意图 */
.hero-art { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 290px; padding: 11px;
  background: linear-gradient(160deg, #FFFDF9, #F2E9D8);
  border-radius: 34px;
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(43,33,24,.06);
  transform: rotate(-2deg);
  transition: transform .5s var(--ease);
}
.hero-art:hover .phone { transform: rotate(0deg) translateY(-6px); }
.phone-notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 19px; background: #E9DFCD; border-radius: 0 0 13px 13px; z-index: 2;
}
.phone-screen {
  background: var(--paper); border-radius: 25px; padding: 34px 20px 20px;
  min-height: 430px; display: flex; flex-direction: column;
}
.m-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.m-pill {
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: var(--forest-soft); color: var(--forest); font-weight: 600;
}
.m-date { font-size: 11px; color: var(--ink-3); }
.m-title {
  font-family: var(--serif); font-size: 19px; line-height: 1.45; margin: 0 0 12px; font-weight: 700;
}
.m-body { font-size: 12.5px; line-height: 1.85; color: var(--ink-2); margin: 0 0 14px; }
.m-block { margin-bottom: 12px; }
.m-label {
  display: inline-block; font-size: 10px; color: var(--ink-3);
  letter-spacing: .12em; margin-bottom: 6px; font-weight: 600;
}
.m-word {
  display: inline-block; font-size: 11.5px; padding: 3px 9px; margin: 0 5px 5px 0;
  background: rgba(255,194,75,.16); border-radius: 6px; color: var(--ink);
}
.m-block-q .m-q { font-size: 12px; color: var(--ink-2); display: block; line-height: 1.7; }
.m-cta {
  margin-top: auto; text-align: center; font-size: 12px; font-weight: 600;
  padding: 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--sun)); color: #fff;
  box-shadow: 0 5px 14px rgba(255,138,61,.3);
}
.spark {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--sun)); opacity: .55;
}
.s1 { top: 8%;  right: 12%; }
.s2 { bottom: 18%; left: 6%; width: 6px; height: 6px; }
.s3 { top: 38%; left: 4%; width: 7px; height: 7px; opacity: .38; }

/* ═══════════ 通用 section ═══════════ */
.section { padding: 72px 0; position: relative; z-index: 1; }
.section-alt { background: var(--paper-alt); }
.s-title {
  font-family: var(--serif); font-size: clamp(25px, 4.4vw, 36px);
  margin: 0 0 12px; line-height: 1.32; font-weight: 700; text-align: center;
}
.s-sub { text-align: center; color: var(--ink-2); margin: 0 0 44px; font-size: 15.5px; }

/* ═══════════ 痛点卡 ═══════════ */
.cards-3 { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 24px; box-shadow: var(--shadow-s);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.card-pain { position: relative; overflow: hidden; }
.card-pain::after {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,138,61,.09), transparent 70%);
}
.card-no {
  font-family: var(--serif); font-size: 30px; font-weight: 700;
  color: rgba(255,138,61,.32); line-height: 1; display: block; margin-bottom: 12px;
}
.card h3 { font-family: var(--serif); font-size: 19px; margin: 0 0 9px; font-weight: 700; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ═══════════ 步骤 ═══════════ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px;
  box-shadow: var(--shadow-s);
}
.step-n {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--sun));
  box-shadow: 0 4px 12px rgba(255,138,61,.28);
}
.step-body h3 { font-family: var(--serif); font-size: 18px; margin: 0 0 5px; font-weight: 700; }
.step-body p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ═══════════ 晨读卡预览 ═══════════ */
.split-copy .s-title, .split-copy .s-sub { text-align: left; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.feat-list h4 {
  margin: 0 0 4px; font-size: 16px; font-family: var(--serif); font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.feat-list h4::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--forest); flex-shrink: 0;
}
.feat-list p { margin: 0 0 0 14px; color: var(--ink-2); font-size: 14.5px; }

.split-art { display: flex; justify-content: center; }
.card-preview {
  width: 100%; max-width: 380px; background: #fff;
  border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px;
  box-shadow: var(--shadow-m);
  position: relative; overflow: hidden;
}
.card-preview::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--sun), var(--coral));
}
.cp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cp-tag {
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: var(--forest-soft); color: var(--forest); font-weight: 600;
}
.cp-date { font-size: 11px; color: var(--ink-3); }
.cp-title { font-family: var(--serif); font-size: 21px; line-height: 1.4; margin: 0 0 12px; font-weight: 700; }
.cp-body { font-size: 14px; line-height: 1.85; color: var(--ink-2); margin: 0 0 18px; }
.cp-row { margin-bottom: 14px; }
.cp-label {
  display: inline-block; font-size: 10.5px; color: var(--ink-3);
  letter-spacing: .14em; margin-bottom: 7px; font-weight: 600;
}
.cp-words { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-words i {
  font-style: normal; font-size: 12.5px; padding: 4px 10px;
  background: rgba(255,194,75,.16); border-radius: 6px;
}
.cp-q { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.7; }
.cp-foot {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 11.5px; color: var(--ink-3); text-align: center; letter-spacing: .06em;
}

/* ═══════════ 特色四卡 ═══════════ */
.cards-4 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.f-ico {
  display: inline-flex; width: 42px; height: 42px; border-radius: 12px;
  align-items: center; justify-content: center; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(255,194,75,.2), rgba(255,138,61,.14));
  color: var(--sun-deep);
}

/* ═══════════ CTA ═══════════ */
.cta { position: relative; overflow: hidden; background: var(--paper); }
.cta-inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.cta-copy h2 { font-family: var(--serif); font-size: clamp(26px, 4.6vw, 38px); margin: 0 0 12px; font-weight: 700; }
.cta-copy > p { color: var(--ink-2); margin: 0 0 22px; font-size: 16px; }
.cta-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cta-list li { font-size: 15px; color: var(--ink-2); padding-left: 24px; position: relative; }
.cta-list li::before {
  content: "✓"; position: absolute; left: 0; top: .1em;
  color: var(--forest); font-weight: 700;
}
.cta-qr { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.qr-box {
  width: 200px; height: 200px; padding: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-m);
  display: flex; align-items: center; justify-content: center;
}
.qr-box img { width: 176px; height: 176px; object-fit: contain; }
.qr-ph {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-3); font-size: 12px; text-align: center; line-height: 1.5;
}
.qr-ph small { font-size: 10.5px; opacity: .75; }
.qr-tip { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ═══════════ FAQ ═══════════ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 20px; box-shadow: var(--shadow-s);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  font-family: var(--serif); font-size: 16.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-ico {
  flex-shrink: 0; width: 11px; height: 11px; position: relative; margin-top: 3px;
}
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--sun); border-radius: 2px;
  transition: transform .25s var(--ease);
}
.faq-ico::before { left: 0; top: 5px; width: 11px; height: 2px; }
.faq-ico::after  { left: 4.5px; top: 0; width: 2px; height: 11px; }
.faq details[open] .faq-ico::after { transform: rotate(90deg); }
.faq p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; line-height: 1.8; }

/* ═══════════ 页脚 ═══════════ */
.foot { border-top: 1px solid var(--line); padding: 34px 0; background: var(--paper); position: relative; z-index: 1; }
.foot-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.foot-brand { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 17px; font-weight: 700; }
.foot-links { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); }
.foot-links a:hover { color: var(--sun-deep); }
.foot-copy { margin: 0; font-size: 12.5px; color: var(--ink-3); }
/* 备案号：法规要求挂在首页底部，并链接到工信部备案系统 */
.foot-legal { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.foot-icp { margin: 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.foot-icp a { color: inherit; text-decoration: none; padding-bottom: 1px; border-bottom: 1px solid rgba(107, 93, 79, .28); transition: color .2s var(--ease), border-color .2s var(--ease); }
.foot-icp a:hover { color: var(--sun-deep); border-bottom-color: var(--sun-deep); }
.ag-icp { margin: 16px 0 0; font-size: 12.5px; }
.ag-icp a { color: var(--ink-3); text-decoration: none; border-bottom: 1px solid rgba(107, 93, 79, .28); }
.ag-icp a:hover { color: var(--sun-deep); border-bottom-color: var(--sun-deep); }

/* ═══════════ 滚动淡入 ═══════════ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ═══════════ 平板 ═══════════ */
@media (min-width: 700px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .hero-points { gap: 10px 26px; }
  .foot-inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; text-align: left; row-gap: 14px; }
  .foot-legal { order: 3; flex-basis: 100%; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
}

/* ═══════════ 桌面 ═══════════ */
@media (min-width: 940px) {
  .nav-links { display: flex; }
  .hero { padding: 84px 0 104px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 60px; }
  .grain { display: block; position: absolute; inset: 0; pointer-events: none; }
  .wrap-split { grid-template-columns: 1fr 1fr; gap: 68px; }
  .cta-inner { grid-template-columns: 1.2fr .8fr; gap: 60px; }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .phone { width: 320px; }
  .section { padding: 96px 0; }
}

/* ═══════════ 无障碍 ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

/* ══════════════════════════════════════
   协议页（agreement-*.html）
   ══════════════════════════════════════ */
.ag-body { background: var(--paper); }
.ag-top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(253,251,247,.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.ag-top-in { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.ag-back { font-size: 14px; color: var(--ink-2); transition: color .2s var(--ease); }
.ag-back:hover { color: var(--sun-deep); }
.ag-brand { font-family: var(--serif); font-size: 17px; font-weight: 700; }

.ag-main { padding: 48px 24px 72px; position: relative; z-index: 1; }
.ag-title {
  font-family: var(--serif); font-size: clamp(26px, 5vw, 36px);
  margin: 0 0 8px; text-align: center; font-weight: 700;
}
.ag-updated { text-align: center; color: var(--ink-3); font-size: 13.5px; margin: 0 0 40px; }
.ag-sec { margin-bottom: 34px; }
.ag-sec h2 {
  font-family: var(--serif); font-size: 18px; margin: 0 0 12px;
  font-weight: 700; color: var(--ink);
  padding-left: 12px; border-left: 3px solid var(--sun);
  line-height: 1.5;
}
.ag-sec p {
  margin: 0 0 12px; color: var(--ink-2); font-size: 15px; line-height: 1.9;
}
.ag-foot {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line);
  text-align: center;
}
.ag-foot p { color: var(--ink-3); font-size: 13.5px; margin: 0 0 18px; }
.ag-back-wrap { margin: 0; }
