@charset "UTF-8";

/* =====================================================
   CY社区 · 档案室风格
   深青主色 / 方角 / 2px 实线 / 纸面网点底纹
   ===================================================== */

:root {
  --teal: #15616D;
  --teal-deep: #0C464F;
  --teal-pale: #E3F0F1;
  --teal-line: #C3DCDE;
  --ink: #10262A;
  --text: #2E4A4E;
  --muted: #6D8A8D;
  --paper: #FBFCFA;
  --sand: #F2F5F1;
  --radius: 3px;
  --shell: 1180px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px dashed var(--teal);
  outline-offset: 4px;
}

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

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  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-plus::before { background-image: url("../icons/plus.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 3px solid var(--teal);
  background: #FFFFFF;
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(calc(100% - 56px), var(--shell));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 10px;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--teal-line);
  border-radius: 2px;
  object-fit: contain;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul,
.site-footer ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav ul {
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}

.primary-nav a {
  display: inline-block;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  color: var(--text);
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

.primary-nav a:hover {
  border-bottom-color: var(--teal);
  color: var(--teal);
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-download {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--teal);
  border-radius: 2px;
  color: var(--teal);
  letter-spacing: 0.03em;
}

.nav-download .icon {
  width: 16px;
  height: 16px;
  filter: invert(28%) sepia(21%) saturate(1400%) hue-rotate(140deg) brightness(90%);
}

.nav-download:hover {
  background: var(--teal);
  color: #fff;
}

.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(--teal-line);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 19px;
  height: 19px;
}

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  padding: 64px 0 58px;
  scroll-margin-top: calc(var(--header-height) + 18px);
  background-color: #F4F9F8;
  background-image: radial-gradient(#BFD9D8 1px, transparent 1px);
  background-size: 16px 16px;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  content: "";
  background: linear-gradient(90deg, var(--teal) 0 38%, #8FBFC0 38% 62%, var(--teal-deep) 62%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
}

.hero-copy {
  max-width: 505px;
  padding: 18px 0 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-family: "Courier New", monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.hero h1 {
  margin: 0;
  color: var(--teal-deep);
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: clamp(46px, 5.6vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.hero-title {
  margin: 12px 0 14px;
  padding-left: 13px;
  border-left: 4px solid var(--teal);
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.35;
}

.hero-summary {
  max-width: 480px;
  margin: 0 0 26px;
  color: var(--text);
  font-size: 15.5px;
}

.button {
  min-width: 162px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 2px;
}

.button-primary {
  border: 1px solid var(--teal-deep);
  background: var(--teal);
  color: #fff;
  box-shadow: 5px 5px 0 rgba(12, 70, 79, 0.18);
}

.button-primary .icon {
  filter: brightness(0) invert(1);
}

.button-primary:hover {
  background: var(--teal-deep);
  box-shadow: 2px 2px 0 rgba(12, 70, 79, 0.2);
}

/* ---------- 英雄区：分类标签云 ---------- */
.hero-tagcloud {
  width: 100%;
  padding: 18px 18px 14px;
  border: 2px solid var(--teal);
  border-radius: 2px;
  background: #fff;
  box-shadow: 10px 10px 0 rgba(21, 97, 109, 0.12);
}

.tcHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--teal-line);
}

.tcHead b {
  color: var(--teal-deep);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 19px;
  letter-spacing: 0.04em;
}

.tcHead span {
  color: var(--muted);
  font-size: 11.5px;
}

.tcCloud {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  padding: 15px 0 12px;
}

.tcTag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--teal-line);
  border-radius: 2px;
  color: var(--teal-deep);
  background: var(--teal-pale);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.tcTag i {
  color: var(--muted);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 400;
}

.tcBig {
  padding: 12px 14px;
  border-color: var(--teal);
  color: #fff;
  background: var(--teal);
  font-size: 16px;
}

.tcBig i {
  color: #CFE6E7;
  font-size: 11px;
}

.tcMid {
  padding: 9px 12px;
  background: #D2E7E8;
  font-size: 14px;
}

.tcSmall {
  padding: 6px 9px;
  color: var(--text);
  background: #F4F8F7;
  font-size: 12px;
  font-weight: 400;
}

.tcFoot {
  padding-top: 11px;
  border-top: 1px dashed var(--teal-line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* ---------- 核心特色 ---------- */
.routes {
  padding: 66px 0 72px;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  color: var(--teal-deep);
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

.fours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
}

.four {
  position: relative;
  min-height: 176px;
  padding: 26px 28px 24px 74px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  background: #fff;
}

.four .n {
  position: absolute;
  top: 26px;
  left: 24px;
  color: var(--teal);
  font-family: "Courier New", monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.four h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.four p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.78;
}

.four:hover {
  background: #F4F9F8;
}

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

.screens .section-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  column-gap: 40px;
  align-items: end;
}

.screens .section-heading .eyebrow,
.screens .section-heading h2 {
  grid-column: 1;
}

.screens .section-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0 0 5px;
}

.covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.covers figure {
  min-width: 0;
  margin: 0;
  border: 2px solid var(--teal);
  background: #fff;
}

.covers figure:nth-child(even) {
  transform: translateY(16px);
}

.covers img {
  width: 100%;
  aspect-ratio: 9 / 15.5;
  border-bottom: 1px solid var(--teal-line);
  object-fit: cover;
  object-position: top center;
}

.covers b {
  display: block;
  padding: 10px 12px 0;
  color: var(--teal-deep);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 14px;
}

.covers small {
  display: block;
  padding: 2px 12px 12px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 70px 0 52px;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(28px, 5vw, 68px);
}

.faq-layout .section-heading {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  margin-bottom: 0;
}

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

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  padding: 0 6px 0 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.faq-item summary .icon {
  width: 15px;
  height: 15px;
  flex: none;
  transform: rotate(0);
  transition: transform 200ms ease;
  filter: invert(27%) sepia(19%) saturate(1500%) hue-rotate(145deg) brightness(95%);
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-item[open] summary h3 {
  color: var(--teal);
}

.faq-answer {
  padding: 0 30px 18px 0;
}

.faq-answer p {
  margin: 0;
  color: var(--text);
  font-size: 13.8px;
  line-height: 1.85;
}

/* ---------- 官方入口 ---------- */
.official {
  padding: 8px 0 66px;
}

.official .section-heading {
  max-width: 720px;
  margin-bottom: 18px;
}

.official .section-heading h2 {
  font-size: clamp(22px, 2.3vw, 27px);
}

.official-fold {
  border: 2px solid var(--teal);
  border-radius: 2px;
  background: #fff;
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  color: var(--teal-deep);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.official-fold summary::-webkit-details-marker {
  display: none;
}

.official-fold summary::after {
  margin-left: auto;
  content: "＋";
  color: var(--teal);
  font-family: "Courier New", monospace;
  font-size: 17px;
}

.official-fold[open] summary::after {
  content: "－";
}

.official-fold .official-link {
  padding: 13px 18px 16px;
  border-top: 1px dashed var(--teal-line);
  background: #F4F9F8;
}

.official-link p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.official-link a {
  color: var(--teal);
  font-weight: 600;
  word-break: break-all;
}

/* ---------- 用户评价 ---------- */
.reviews {
  padding: 68px 0 74px;
  border-top: 3px solid var(--teal);
  background: #fff;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

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

.review-card {
  padding: 24px 0 22px;
  border-bottom: 1px dashed var(--teal-line);
}

.review-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.review-card .who b {
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.review-card .who b::before {
  content: "— ";
  color: var(--teal-line);
}

.review-card time {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 11px;
  white-space: nowrap;
}

.review-card > p {
  margin: 11px 0 0;
  color: var(--text);
  font-size: 13.8px;
  line-height: 1.85;
}

.rv-site {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 8px;
  border: 1px dashed var(--teal-line);
  color: var(--teal);
  font-family: "Courier New", monospace;
  font-size: 11px;
}

/* ---------- 下载区 ---------- */
.download-cta {
  padding: 58px 0 62px;
  background: var(--teal-deep);
  color: #fff;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.download-cta .page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 40px;
}

.download-cta .eyebrow {
  color: #9ECBCB;
  margin-bottom: 6px;
}

.download-cta .section-heading {
  margin-bottom: 0;
}

.download-cta .section-heading h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 34px);
}

.download-cta .section-heading > p:last-child {
  color: #BBDADB;
  margin-top: 8px;
}

.download-cta .button-primary {
  border-color: #fff;
  background: #fff;
  color: var(--teal-deep);
  box-shadow: none;
}

.download-cta .button-primary .icon {
  filter: none;
}

.download-cta .button-primary:hover {
  background: #CFE6E7;
}

.download-cta .disclaimer {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.28);
  color: #A9CBCD;
  font-size: 12px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 26px 0 24px;
  border-top: 1px solid #2C6E77;
  background: #093138;
  color: #B7D4D6;
  font-size: 12px;
}

.site-footer .page-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #D8EAEB;
}

.site-footer a:hover {
  color: #fff;
}

.icp {
  font-family: "Courier New", monospace;
  letter-spacing: 0.03em;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 150px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--teal);
  border-radius: 2px;
  background: #fff;
  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 {
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
  content: "";
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: var(--teal);
}

.to-top:hover::before {
  border-color: #fff;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

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

  .hero-tagcloud {
    max-width: 600px;
  }

  .screens .section-heading {
    display: block;
  }

  .screens .section-heading > p:last-child {
    margin-top: 10px;
  }

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

  .covers figure:nth-child(even) {
    transform: none;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .faq-layout .section-heading {
    position: static;
  }

  .rgrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .download-cta .page-shell {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
  }
}

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

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

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
    background: #fff;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
  }

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

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

  .brand {
    grid-row: 1;
    grid-column: 1;
    gap: 8px;
    font-size: 18px;
  }

  .brand img {
    width: 31px;
    height: 31px;
  }

  .primary-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0 -17px;
    padding: 0 17px 14px;
    border-top: 1px solid var(--teal-line);
    background: #fff;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-download {
    grid-row: 1;
    grid-column: 3;
    min-width: auto;
    min-height: 35px;
    margin-left: auto;
    padding: 0 10px;
    font-size: 12px;
  }

  .nav-download .icon {
    width: 14px;
    height: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-row: 1;
    grid-column: 4;
    width: 35px;
    height: 35px;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-top: 8px;
    border-top: 1px solid #EDF4F3;
    margin-top: 12px;
  }

  .primary-nav a {
    padding: 11px 4px;
    border-bottom: 1px solid #EDF4F3;
    font-size: 13px;
  }

  .hero {
    padding: 38px 0 40px;
    background-size: 14px 14px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-title {
    font-size: 21px;
    margin: 10px 0 12px;
  }

  .hero-summary {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .tcBig {
    font-size: 14px;
  }

  .tcTag {
    font-size: 12px;
  }

  .routes,
  .screens,
  .reviews {
    padding: 48px 0;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .fours {
    grid-template-columns: minmax(0, 1fr);
  }

  .four {
    min-height: 0;
    padding: 22px 20px 22px 62px;
  }

  .four .n {
    top: 22px;
    left: 20px;
    font-size: 19px;
  }

  .covers {
    display: flex;
    width: calc(100% + 17px);
    margin-right: -17px;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .covers figure {
    flex: 0 0 min(68vw, 258px);
    scroll-snap-align: start;
  }

  .faq {
    padding: 48px 0 34px;
  }

  .faq-item summary h3 {
    font-size: 14px;
  }

  .official {
    padding: 4px 0 48px;
  }

  .download-cta {
    padding: 40px 0 44px;
  }

  .download-cta .disclaimer {
    font-size: 11.5px;
  }

  .site-footer .page-shell {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }

  .to-top {
    right: 16px;
    bottom: 132px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 16px;
  }

  .nav-download span {
    display: none;
  }

  .nav-download {
    width: 35px;
    padding: 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .primary-nav ul {
    grid-template-columns: minmax(0, 1fr);
  }
}
