@charset "UTF-8";

/* ===== 微密圈 · 杂志圈层主题 ===== */
:root {
  --rose: #12249F;
  --rose-deep: #132588;
  --rose-soft: #A6A4FD;
  --blush: #EFF6FF;
  --paper: #FFFCFC;
  --ink: #11132A;
  --muted: #606480;
  --line: #D7D7F5;
  --radius: 10px;
  --shell: 1200px;
  --header-height: 74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Songti SC", "Noto Serif SC", Georgia, "Microsoft YaHei", serif;
  font-size: 16px;
  line-height: 1.75;
}

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

a { color: inherit; text-decoration: none; }

button { color: inherit; font: inherit; }

a, button { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

.page-shell { width: min(calc(100% - 48px), var(--shell)); margin: 0 auto; }

.icon { display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; vertical-align: middle; }
.icon::before { display: block; width: 100%; height: 100%; content: ""; background: center / contain no-repeat; }
.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }
.icon-arrow::before { background-image: url("../icons/arrow.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }
.icon-plus::before { background-image: url("../icons/plus.svg"); }
.icon-bolt::before { background-image: url("../icons/bolt.svg"); }
.icon-shield::before { background-image: url("../icons/shield.svg"); }

/* ===== 顶栏 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 3px double var(--line);
  background: rgba(255, 252, 252, 0.97);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--shell));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 20px;
}

.brand { display: inline-flex; align-items: center; min-width: max-content; gap: 9px; font-size: 21px; font-weight: 700; letter-spacing: 1.5px; }
.brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; }

.primary-nav ul { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 32px); padding: 0; margin: 0; list-style: none; }
.primary-nav a { position: relative; display: inline-block; padding: 6px 0; color: var(--muted); font-size: 13.5px; letter-spacing: 0.6px; }
.primary-nav a::before { content: "·"; margin-right: 6px; color: var(--rose-soft); }
.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--rose); }

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-download { min-width: 128px; padding: 0 16px; border: 1px solid var(--rose); color: var(--rose); background: transparent; }
.nav-download .icon,
.button-primary .icon { filter: invert(15%) sepia(63%) saturate(4780%) hue-rotate(330deg) brightness(72%) contrast(100%); }
.nav-download:hover { color: #FFFFFF; background: var(--rose); }
.nav-download:hover .icon { filter: brightness(0) invert(1); }

.menu-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--rose); border-radius: 2px; background: transparent; cursor: pointer; }
.menu-toggle .icon { width: 19px; height: 19px; }

/* ===== 英雄区：动态流 + 创作者侧栏 ===== */
.hero {
  padding: 58px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--blush) 0%, #FFF8F9 60%, var(--paper) 100%);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr); align-items: center; gap: 46px; }

.hero-copy { max-width: 520px; }

.eyebrow { margin: 0 0 16px; color: var(--rose); font-size: 11px; font-weight: 700; letter-spacing: 3px; }
.eyebrow::after { content: ""; display: block; width: 42px; height: 2px; margin-top: 9px; background: var(--rose); }

.hero h1 { margin: 0; font-size: clamp(42px, 5vw, 62px); font-weight: 700; letter-spacing: 4px; line-height: 1.1; overflow-wrap: anywhere; }

.hero-title { margin: 16px 0 14px; font-size: clamp(21px, 2.4vw, 28px); font-weight: 700; color: var(--rose-deep); line-height: 1.4; }

.hero-summary { max-width: 470px; margin: 0 0 26px; color: var(--muted); font-size: 14.5px; }

.button { min-width: 168px; padding: 0 22px; }

.button-primary { border: 1px solid var(--rose); color: #FFFFFF; background: var(--rose); }
.button-primary .icon { filter: brightness(0) invert(1); }
.button-primary:hover { background: var(--rose-deep); border-color: var(--rose-deep); }

/* 动态流面板 */
.feedFlow { display: grid; grid-template-columns: minmax(0, 1fr) 148px; gap: 12px; width: 100%; max-width: 540px; margin-left: auto; align-items: start; }

.ffMain { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; box-shadow: 0 16px 34px rgba(18, 36, 159, 0.08); }

.ffHead { display: flex; align-items: baseline; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ffHead b { font-size: 15px; letter-spacing: 1px; }
.ffHead span { margin-left: auto; color: var(--muted); font-size: 10.5px; }

.ffPost { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.ffPost:last-child { border-bottom: 0; padding-bottom: 3px; }

.ffAva { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #FFFFFF; background: var(--rose); font-size: 12px; }
.ffAva.b { background: #1222BE; }
.ffAva.c { background: #7271FB; }

.ffMeta { display: flex; align-items: baseline; gap: 8px; }
.ffMeta b { font-size: 12px; }
.ffMeta time { color: #8A8CB0; font-size: 9.5px; }
.ffPost p { margin: 3px 0 6px; color: #2A2C4B; font-size: 12px; line-height: 1.65; }
.ffTags { display: flex; flex-wrap: wrap; gap: 5px; }
.ffTags span { color: var(--rose); font-size: 9.5px; }

.ffSide { padding: 16px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--blush); text-align: center; }
.ffFace { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 8px; border: 2px solid #FFFFFF; border-radius: 50%; color: #FFFFFF; background: var(--rose); font-size: 17px; box-shadow: 0 4px 10px rgba(18, 36, 159, 0.2); }
.ffSide b { display: block; font-size: 13px; }
.ffSide small { display: block; margin-top: 2px; color: var(--muted); font-size: 9.5px; }
.ffStats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin: 11px 0; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ffStats b { display: block; color: var(--rose-deep); font-size: 12px; }
.ffStats span { display: block; color: var(--muted); font-size: 8.5px; }
.ffFollow { display: block; padding: 7px 0; border-radius: 2px; color: #FFFFFF; background: var(--rose); font-size: 10.5px; letter-spacing: 0.5px; }

/* ===== 核心特色：两列杂志条目 ===== */
.routes { padding: 66px 0 70px; background: var(--paper); scroll-margin-top: calc(var(--header-height) + 12px); }

.section-heading { max-width: 640px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 3.1vw, 37px); font-weight: 700; letter-spacing: 1px; line-height: 1.3; }
.section-heading h2::after { content: ""; display: block; width: 54px; height: 2px; margin-top: 12px; background: var(--rose); }
.section-heading > p:last-child { margin: 13px 0 0; color: var(--muted); font-size: 14px; }

.fours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }

.four { min-width: 0; padding: 22px 0 22px 46px; border-top: 1px solid var(--line); }
.four .n { float: left; margin-left: -46px; color: var(--rose-soft); font-size: 22px; font-weight: 700; line-height: 1.3; }
.four h3 { margin: 0 0 6px; font-size: 17.5px; font-weight: 700; letter-spacing: 0.5px; }
.four p { margin: 0; color: var(--muted); font-size: 13.6px; }

/* ===== 界面展示 ===== */
.screens { padding: 66px 0 74px; border-top: 1px solid var(--line); background: var(--blush); scroll-margin-top: calc(var(--header-height) + 12px); }

.covers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.covers figure { min-width: 0; margin: 0; }
.covers img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top center; border: 1px solid #CDCEF3; border-radius: 2px; background: #FFFFFF; }
.covers b { display: block; margin-top: 10px; padding-top: 8px; border-top: 1px solid #C3C5EB; color: var(--rose-deep); font-size: 12.5px; letter-spacing: 0.6px; }
.covers small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }

/* ===== FAQ ===== */
.faq { padding: 68px 0 18px; background: var(--paper); scroll-margin-top: calc(var(--header-height) + 12px); }

.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); background: transparent; }

.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 12px 4px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 0.3px; }
.faq-item summary h3::before { content: "问 "; color: var(--rose-soft); font-size: 11px; }
.faq-item summary .icon { width: 14px; height: 14px; transition: transform 180ms ease; filter: invert(15%) sepia(63%) saturate(4780%) hue-rotate(330deg) brightness(72%) contrast(100%); }
.faq-item[open] summary .icon { transform: rotate(45deg); }

.faq-answer { padding: 0 4px 16px 30px; }
.faq-answer p { margin: 0; color: var(--muted); font-size: 13.8px; }

/* ===== 官方入口 ===== */
.official { padding: 20px 0 68px; background: var(--paper); }

.official-fold { border: 1px solid var(--rose); border-radius: 2px; background: var(--blush); }
.official-fold summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; color: var(--rose-deep); cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; letter-spacing: 0.6px; }
.official-fold summary::-webkit-details-marker { display: none; }
.official-fold summary::after { content: "＋"; margin-left: auto; font-size: 15px; }
.official-fold[open] summary::after { content: "－"; }
.official-link { padding: 10px 18px 15px; border-top: 1px dashed #C3C5EB; }
.official-link p { margin: 0; font-size: 13.5px; }
.official-link a { color: var(--rose); font-weight: 700; word-break: break-all; }

/* ===== 用户评价 ===== */
.reviews { padding: 68px 0 74px; background: var(--rose-deep); color: #FFF1F2; scroll-margin-top: calc(var(--header-height) + 12px); }
.reviews .section-heading h2 { color: #FFFFFF; }
.reviews .section-heading h2::after { background: var(--rose-soft); }
.reviews .section-heading > p:last-child { color: #A6A4FD; }
.reviews .eyebrow { color: #A6A4FD; }
.reviews .eyebrow::after { background: #A6A4FD; }

.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.rv { display: flex; min-height: 232px; flex-direction: column; padding: 22px 20px; border: 1px solid #2135A9; border-radius: 2px; background: rgba(255, 255, 255, 0.035); }
.rv header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #2135A9; }
.who b { color: #FFFFFF; font-size: 12.5px; font-weight: 700; letter-spacing: 0.5px; }
.rv time { color: #8A92E8; font-size: 9.5px; }
.rv > p { margin: 13px 0 12px; color: #E4E4FF; font-size: 13.2px; line-height: 1.9; }
.rv-site { margin-top: auto; color: #A6A4FD; font-size: 10px; }

/* ===== 下载 CTA ===== */
.download-cta { padding: 68px 0 72px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #FFF8F9 0%, var(--blush) 100%); text-align: center; scroll-margin-top: calc(var(--header-height) + 12px); }
.download-cta .section-heading { max-width: 640px; margin-right: auto; margin-left: auto; text-align: center; }
.download-cta .section-heading h2::after { margin-right: auto; margin-left: auto; }
.download-cta .eyebrow::after { margin-right: auto; margin-left: auto; }
.disclaimer { margin: 18px 0 0; color: var(--muted); font-size: 11.5px; }

/* ===== 页脚 ===== */
.site-footer { padding: 34px 0 20px; border-top: 3px double var(--line); color: var(--muted); background: #FFFFFF; text-align: center; }
.site-footer p { margin: 0 0 7px; font-size: 12px; }
.site-footer a { color: var(--rose); }
.site-footer .icp { margin: 0; }

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 150px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--rose);
  border-radius: 50%;
  background: #FFFFFF;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}
.to-top::before { content: ""; width: 8px; height: 8px; border-top: 2px solid var(--rose); border-left: 2px solid var(--rose); transform: rotate(45deg) translate(1px, 1px); }
.to-top.is-show { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--blush); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-copy { max-width: 640px; }
  .feedFlow { max-width: 560px; margin: 0 auto; }
  .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fours { gap: 0 24px; }
}

@media (max-width: 700px) {
  :root { --header-height: 64px; }

  body { padding-top: var(--header-height); }

  .site-header { position: fixed; right: 0; left: 0; width: 100%; background: var(--paper); }

  .page-shell,
  .nav-shell { width: min(calc(100% - 32px), var(--shell)); }

  .nav-shell { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-rows: var(--header-height); min-height: var(--header-height); column-gap: 8px; }

  .brand { grid-row: 1; grid-column: 1; font-size: 17px; letter-spacing: 1px; }
  .brand img { width: 30px; height: 30px; }

  .primary-nav { display: none; grid-row: 2; grid-column: 1 / -1; margin: 0 -16px; padding: 0 16px 12px; border-top: 1px solid var(--line); background: var(--paper); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding-top: 12px; }
  .primary-nav a { padding: 9px 11px; border: 1px solid var(--line); background: #FFFFFF; font-size: 12.5px; }
  .primary-nav a::before { display: none; }

  .nav-download { grid-row: 1; grid-column: 3; min-width: auto; min-height: 34px; margin-left: auto; padding: 0 9px; font-size: 11.5px; }
  .nav-download .icon { width: 14px; height: 14px; }
  .menu-toggle { display: inline-flex; grid-row: 1; grid-column: 4; width: 34px; height: 34px; }

  .hero { padding: 36px 0 44px; }
  .hero h1 { font-size: 38px; letter-spacing: 3px; }
  .hero-title { font-size: 21px; }
  .hero-summary { font-size: 13.5px; }

  .feedFlow { grid-template-columns: minmax(0, 1fr); }
  .ffMain { padding: 13px; }
  .ffSide { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; text-align: left; }
  .ffFace { width: 40px; height: 40px; margin: 0; font-size: 15px; }
  .ffSide small { margin: 0; }
  .ffStats { display: none; }
  .ffFollow { padding: 6px 12px; grid-row: 1 / span 2; grid-column: 3; }

  .routes { padding: 46px 0 50px; }
  .screens { padding: 48px 0 52px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2 { font-size: 26px; }

  .fours { grid-template-columns: minmax(0, 1fr); }
  .four { padding: 18px 0 18px 38px; }
  .four .n { margin-left: -38px; font-size: 18px; }

  .covers { gap: 12px; }

  .faq { padding: 48px 0 16px; }
  .official { padding: 16px 0 46px; }
  .reviews { padding: 48px 0 50px; }
  .rgrid { grid-template-columns: minmax(0, 1fr); }
  .rv { min-height: auto; }
  .download-cta { padding: 48px 0 50px; }
  .download-cta .button-primary { width: 100%; }
  .to-top { right: 16px; bottom: 136px; width: 38px; height: 38px; }
}

@media (max-width: 380px) {
  .brand span { font-size: 15px; }
  .nav-download span { display: none; }
  .nav-download { width: 34px; padding: 0; }
  .hero h1 { font-size: 33px; }
  .primary-nav ul { grid-template-columns: 1fr; }
}
