/* ==========================================================================
   阿普 408 官网 · 区块层
   ========================================================================== */

/* ---------- 区块骨架 ---------- */

.sec {
  position: relative;
  padding: clamp(76px, 9vw, 132px) 0;
}

.sec-dark {
  background: var(--ink);
  color: var(--text);
}

.sec-paper {
  background: var(--paper);
  color: var(--ink-text);
}

.sec-paper::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 42, 38, 0.14), transparent);
}

.sec-head {
  max-width: 800px;
  margin-bottom: clamp(44px, 5vw, 68px);
}

.sec-head.center {
  margin-inline: auto;
  text-align: center;
}

.sec-head.center .kicker {
  justify-content: center;
}

.sec-head h2 {
  margin-top: 22px;
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.sec-head h2 em {
  position: relative;
  font-style: normal;
  color: var(--brand);
  white-space: nowrap;
}

.sec-head h2 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.28em;
  background: linear-gradient(90deg, rgba(255, 107, 61, 0.32), rgba(232, 194, 122, 0.12));
  z-index: -1;
  border-radius: 2px;
}

.sec-paper .sec-head h2 em {
  color: var(--brand-deep);
}

.sec-head .sub,
.sub {
  max-width: 38em;
  margin-top: 20px;
  font-size: clamp(14.5px, 1.15vw, 16px);
  line-height: 1.95;
  color: var(--muted);
}

.sec-paper .sub {
  color: var(--ink-muted);
}

.sec-head.center .sub {
  margin-inline: auto;
}

/* ---------- 能力 bento ---------- */

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

.ability {
  position: relative;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  min-height: 268px;
  padding: 30px 30px 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(250, 248, 246, 0.055), rgba(250, 248, 246, 0.014));
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s ease, transform 0.5s var(--ease),
    background 0.4s ease;
}

.ability::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 107, 61, 0.16),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
}

.ability:hover {
  border-color: rgba(255, 107, 61, 0.32);
  background: linear-gradient(160deg, rgba(250, 248, 246, 0.075), rgba(250, 248, 246, 0.02));
}

.ability:hover::after {
  opacity: 1;
}

.ability.span-7 {
  grid-column: span 7;
}

.ability.span-5 {
  grid-column: span 5;
}

.ability-no {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(250, 248, 246, 0.09);
  transition: color 0.4s ease;
}

.ability:hover .ability-no {
  color: rgba(255, 107, 61, 0.24);
}

.ability-emo {
  position: absolute;
  right: 22px;
  bottom: 14px;
  width: 96px;
  height: auto;
  opacity: 0.95;
  transform: rotate(2deg);
  transition: transform 0.6s var(--ease), opacity 0.4s ease;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.35));
}

.ability:hover .ability-emo {
  transform: rotate(-5deg) translateY(-4px) scale(1.06);
}

.ability h3 {
  max-width: 15em;
  font-size: clamp(1.12rem, 1.5vw, 1.32rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.ability p {
  max-width: 34em;
  margin-top: 12px;
  padding-right: 44px;
  font-size: 13.8px;
  line-height: 1.9;
  color: var(--muted);
}

.ability-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(250, 248, 246, 0.6);
}

.ability.span-7 p {
  max-width: 40em;
}

/* ---------- 学习系统 ---------- */

.system {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.system-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 108px;
}

.sys-tab {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-left: 2px solid transparent;
  border-radius: 0 12px 12px 0;
  text-align: left;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.sys-tab b {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-muted);
  transition: color 0.3s ease;
}

.sys-tab span {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.sys-tab:hover {
  background: rgba(47, 42, 38, 0.035);
}

.sys-tab.is-on {
  border-left-color: var(--brand-deep);
  background: rgba(200, 90, 58, 0.06);
}

.sys-tab.is-on b {
  color: var(--ink-text);
}

.sys-tab.is-on span {
  color: var(--ink-muted);
}

.system-stage {
  position: relative;
  aspect-ratio: 16 / 10.6;
  min-height: 380px;
  perspective: 1400px;
}

.screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px) scale(0.99);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}

.screen.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.screen .app {
  height: 100%;
  font-size: 12px;
  border-radius: 18px;
}

.screen .app-bar {
  height: 44px;
  padding: 0 18px;
}

.screen .app-bar-title {
  font-size: 11.5px;
}

.screen .app-bar-search {
  font-size: 10.5px;
  padding: 4px 10px;
}

.screen .dots i {
  width: 8px;
  height: 8px;
}

.screen .app-body {
  grid-template-columns: 158px minmax(0, 1fr);
}

.screen .app-side {
  padding: 16px 10px;
  gap: 3px;
}

.screen .app-side .side-item {
  padding: 8px 11px;
  font-size: 11.5px;
}

.screen .app-main {
  padding: 24px 26px;
}

.screen .app-kicker {
  font-size: 10.5px;
}

.screen .app-main .app-h {
  font-size: clamp(17px, 1.9vw, 23px);
}

.screen .app-sub {
  font-size: 11.5px;
}

.screen .app-lines i {
  height: 6px;
  margin: 9px 0;
}

/* 阅读器 */

.reader-cover {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: var(--app-panel);
}

.cover-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  border-radius: 9px;
  background: linear-gradient(150deg, #f7e9dd, #f1d6c4 52%, #e9c1a9);
  color: #b2472a;
  overflow: hidden;
}

.cover-art::after {
  content: "";
  position: absolute;
  inset: auto -30% -45% -30%;
  height: 80%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.cover-art span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.7;
}

.cover-art b {
  font-family: var(--font-mono);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.cover-copy .app-h {
  margin-top: 8px;
}

.reader-sec {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--app-line);
}

.reader-sec > b {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--app-brand);
}

.reader-sec p {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--app-muted);
}

.reader-sec code {
  padding: 1px 5px;
  border-radius: 4px;
  background: #f4eee7;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #a45a3d;
}

/* 知识树 */

.app-tree {
  gap: 0;
  font-size: 11px;
}

.tree-root,
.tree-node,
.tree-leaf {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tree-root {
  margin-top: 8px;
  font-weight: 700;
  color: var(--app-text);
  font-size: 11.5px;
}

.tree-root.is-open {
  color: var(--app-brand);
}

.tree-node {
  padding-left: 20px;
  color: var(--app-muted);
}

.tree-leaf {
  padding-left: 32px;
  color: var(--app-muted);
  font-size: 10.5px;
}

.tree-leaf.is-on {
  background: #fdf1ec;
  color: #b2472a;
  font-weight: 600;
}

.kn-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 10.5px;
  color: var(--app-muted);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--app-muted);
}

.dot.ok {
  background: #4b9a6a;
}

.kn-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--app-line);
}

.kn-related b {
  margin-right: 4px;
  font-size: 10.5px;
  color: var(--app-text);
}

.kn-related span {
  padding: 3px 9px;
  border: 1px solid var(--app-line);
  border-radius: 999px;
  font-size: 10px;
  color: var(--app-muted);
}

/* 真题精炼 */

.app-quiz-page .app-h {
  max-width: 26em;
  margin-top: 10px;
  font-size: clamp(15px, 1.6vw, 19px);
}

.app-quiz-page .quiz-opts span {
  padding: 10px 12px;
  font-size: 11.5px;
}

.quiz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.quiz-hint {
  font-size: 10.5px;
  color: var(--app-muted);
}

.quiz-btn {
  padding: 7px 20px;
  border-radius: 999px;
  background: var(--app-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

/* 院校库 */

.school-tabs {
  display: flex;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--app-line);
}

.school-tabs span {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--app-muted);
}

.school-tabs span.is-on {
  background: #fdf1ec;
  color: #b2472a;
  font-weight: 600;
}

.school-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--app-line);
  font-size: 11px;
}

.school-row b {
  flex: 0 0 84px;
  font-size: 11.5px;
}

.school-row span {
  color: var(--app-muted);
}

.school-row em {
  margin-left: auto;
  font-style: normal;
  font-size: 10.5px;
  color: var(--app-brand);
}

/* 小程序 */

.mini {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  margin-top: clamp(72px, 8vw, 112px);
}

.phone {
  position: relative;
  width: 300px;
  margin-inline: auto;
  padding: 20px 16px 16px;
  border: 1px solid #ded6cb;
  border-radius: 40px;
  background: #f2ece3;
  box-shadow: 0 40px 80px -34px rgba(47, 42, 38, 0.42), inset 0 1px 0 #fff;
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 74px;
  height: 6px;
  margin-left: -37px;
  border-radius: 99px;
  background: #dcd3c7;
}

.phone-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 4px 12px;
}

.phone-head b {
  font-size: 17px;
}

.phone-head span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #9a938a;
}

.phone-card {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px -12px rgba(47, 42, 38, 0.24);
}

.phone-kicker {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #c85a3a;
}

.phone-card .phone-h {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.phone-sub {
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.7;
  color: #8a827a;
}

.phone-bar {
  height: 4px;
  margin-top: 14px;
  border-radius: 99px;
  background: #f1e9e0;
  overflow: hidden;
}

.phone-bar i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: #c85a3a;
}

.phone-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  padding: 13px 15px;
  border-radius: 13px;
  background: #fff;
  font-size: 12px;
}

.phone-tile span {
  font-size: 10px;
  color: #9a938a;
}

.phone-tabs {
  display: flex;
  justify-content: space-around;
  margin-top: 14px;
  padding: 9px 0 2px;
  border-top: 1px solid #e7ded3;
  font-size: 10.5px;
  color: #9a938a;
}

.phone-tabs .is-on {
  color: #c85a3a;
  font-weight: 600;
}

.mini-copy h3 {
  margin-top: 18px;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.mini-copy > p {
  max-width: 32em;
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-muted);
}

.mini-list {
  margin-top: 26px;
  border-top: 1px solid var(--ink-line);
}

.mini-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 13.5px;
  color: var(--ink-muted);
}

.mini-list b {
  flex: 0 0 46px;
  font-size: 13.5px;
  color: var(--ink-text);
}

.mini-copy .btn {
  margin-top: 28px;
}

/* ---------- 一天九块 ---------- */

.content-wrap {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.content-copy {
  position: sticky;
  top: 110px;
}

.content-copy h2 {
  margin-top: 22px;
  font-size: clamp(2rem, 3.9vw, 3.2rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.content-copy .sub {
  max-width: 26em;
}

.day-stamp {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 30px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--brand);
  border-radius: 0 14px 14px 0;
  background: rgba(250, 248, 246, 0.03);
}

.day-stamp b {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.day-stamp span {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

.day-stamp em {
  margin-top: 4px;
  font-style: normal;
  font-size: 14.5px;
  color: var(--text);
}

.nine {
  border-top: 1px solid var(--line);
}

.nine li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 6px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.35s ease, padding-left 0.35s var(--ease);
}

.nine li:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(255, 107, 61, 0.07), transparent 70%);
}

.nine li > b {
  flex: 0 0 34px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: rgba(250, 248, 246, 0.32);
}

.nine li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nine li strong {
  font-size: 15px;
  font-weight: 600;
}

.nine li span {
  font-size: 12.5px;
  color: var(--muted);
}

.nine li > i {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 3px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.nine li.is-core > b {
  color: var(--brand);
}

.nine li.is-core > i {
  border-color: rgba(255, 107, 61, 0.32);
  color: var(--brand-soft);
  background: rgba(255, 107, 61, 0.08);
}

/* ---------- 择校情报 ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  background: var(--ink-line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--paper);
  transition: background 0.4s ease;
}

.stat:hover {
  background: #fff;
}

.stat b {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

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

.intel-card {
  padding: 26px 26px 24px;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.56);
  transition: transform 0.45s var(--ease), background 0.4s ease,
    border-color 0.4s ease, box-shadow 0.45s ease;
}

.intel-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: transparent;
  box-shadow: 0 22px 46px -28px rgba(47, 42, 38, 0.4);
}

.intel-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fbeee8;
  color: #a94726;
  font-size: 17px;
}

.intel-card h3 {
  font-size: 16px;
  font-weight: 700;
}

.intel-card p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-muted);
}

.source {
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-muted);
}

.source::before {
  content: "※ ";
}

/* ---------- 关于作者 ---------- */

.about {
  background: var(--ink-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.about-art {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #0c0a09;
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9);
}

.about-art img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(1.04);
}

.about-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.12) 0%, transparent 34%, rgba(10, 8, 7, 0.72) 100%);
  pointer-events: none;
}

.about-tag {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 5px 11px;
  border: 1px solid rgba(250, 248, 246, 0.18);
  border-radius: 999px;
  background: rgba(10, 8, 7, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(250, 248, 246, 0.72);
}

.about-art figcaption {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(250, 248, 246, 0.62);
}

.about-copy h2 {
  margin-top: 20px;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.about-copy > p {
  max-width: 34em;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.about-list {
  margin-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.about-list li {
  display: flex;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.about-list b {
  flex: 0 0 72px;
  font-size: 13.5px;
  color: var(--text);
}

.about-copy > p.about-sign {
  margin-top: 24px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

/* 固定导航下的锚点偏移 */

main[id],
section[id] {
  scroll-margin-top: 92px;
}

/* ---------- 适合谁 ---------- */

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

.fit-card {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: rgba(250, 248, 246, 0.028);
}

.fit-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 17px;
  font-weight: 700;
}

.fit-card h3 span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.fit-card.is-yes {
  border-color: rgba(63, 217, 138, 0.22);
  background: linear-gradient(160deg, rgba(63, 217, 138, 0.07), transparent 62%);
}

.fit-card.is-yes h3 span {
  background: rgba(63, 217, 138, 0.16);
  color: var(--jade);
}

.fit-card.is-no h3 span {
  background: rgba(250, 248, 246, 0.07);
  color: var(--faint);
}

.fit-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fit-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.fit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.fit-card.is-yes li {
  color: rgba(250, 248, 246, 0.82);
}

.fit-card.is-yes li::before {
  background: var(--jade);
  opacity: 0.9;
}

.fit-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--faint);
}

/* ---------- 四步开始 ---------- */

.how {
  margin-top: clamp(76px, 9vw, 120px);
  padding-top: clamp(56px, 6vw, 80px);
  border-top: 1px solid var(--line-soft);
}

.how h2 {
  margin-top: 20px;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 107, 61, 0.12);
}

.steps b {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brand);
}

.steps strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
}

.steps p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.how-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
}

.how-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 关注我们 ---------- */

.sec-follow {
  overflow: hidden;
}

.follow-glow {
  position: absolute;
  left: 50%;
  top: -12%;
  width: min(1100px, 120vw);
  height: 680px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 107, 61, 0.18),
    rgba(232, 194, 122, 0.06) 52%,
    transparent 74%
  );
  filter: blur(30px);
  pointer-events: none;
}

.follow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.follow-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(250, 248, 246, 0.06), rgba(250, 248, 246, 0.015));
  text-align: center;
  transition: transform 0.5s var(--ease), border-color 0.4s ease,
    background 0.4s ease;
}

.follow-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 61, 0.3);
  background: linear-gradient(170deg, rgba(250, 248, 246, 0.085), rgba(250, 248, 246, 0.025));
}

.follow-card h3 {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
}

.follow-card p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  min-height: 3.4em;
}

.follow-card .text-btn {
  margin-top: 14px;
}

.follow-note {
  position: relative;
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  color: rgba(250, 248, 246, 0.52);
}

/* 二维码槽：有图显示图，没图显示装饰点阵 */

.qr-slot {
  position: relative;
  width: 100%;
  max-width: 196px;
  aspect-ratio: 1;
  padding: 11px;
  border-radius: 18px;
  background: #fffdfa;
  box-shadow: 0 18px 38px -22px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(47, 42, 38, 0.06);
  overflow: hidden;
}

.qr-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.qr-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(21, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.5px;
}

.qr-fallback i {
  border-radius: 1px;
  background: #2f2a26;
}

.qr-fallback i.off {
  background: transparent;
}

.qr-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  padding: 6px;
  border-radius: 10px;
  background: #fffdfa;
  box-shadow: 0 0 0 4px #fffdfa;
  transform: translate(-50%, -50%);
}

.qr-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-badge {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(47, 42, 38, 0.9);
  color: #faf8f6;
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ---------- FAQ ---------- */

.faq-wrap {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 110px;
}

.faq-head h2 {
  margin-top: 20px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.faq-head > p:not(.kicker) {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-muted);
}

.faq-head .btn {
  margin-top: 24px;
}

.faq-list {
  border-top: 1px solid var(--ink-line);
}

.faq-list details {
  border-bottom: 1px solid var(--ink-line);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 40px 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 600;
  color: var(--ink-text);
  transition: color 0.3s ease;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-muted);
  transition: transform 0.35s var(--ease), background 0.3s ease;
}

.faq-list summary:hover {
  color: var(--brand-deep);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}

.faq-list details p {
  max-width: 42em;
  padding: 0 40px 24px 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-muted);
  animation: fadein 0.45s var(--ease);
}

/* ---------- 收尾 ---------- */

.final {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 12vw, 168px) 0;
  background: var(--ink-2);
  text-align: center;
}

.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(56% 64% at 50% 18%, rgba(255, 107, 61, 0.16), transparent 72%);
  pointer-events: none;
}

.final-glow {
  position: absolute;
  left: 50%;
  bottom: -46%;
  width: min(900px, 110vw);
  height: 620px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(63, 217, 138, 0.13), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.final-apu {
  position: relative;
  z-index: 1;
  width: clamp(88px, 10vw, 128px);
  height: auto;
  margin: 0 auto 4px;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45));
  animation: bob 6s ease-in-out infinite;
}

.final-inner {
  position: relative;
  z-index: 2;
}

.final .kicker {
  justify-content: center;
  margin-top: 18px;
}

.final h2 {
  margin-top: 20px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.final-sub {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.final .btn {
  margin-top: 34px;
}

/* ---------- 页脚 ---------- */

.foot {
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
  background: #0b0908;
}

.foot-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.foot-brand img {
  height: 32px;
  width: auto;
}

.foot-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.foot-brand b {
  font-size: 14px;
}

.foot-brand span {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-left: auto;
}

.foot-links a {
  padding: 8px 0;
  font-size: 12.5px;
  color: rgba(250, 248, 246, 0.52);
  transition: color 0.25s ease;
}

.foot-links a:hover {
  color: var(--text);
}

.foot-note {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: rgba(250, 248, 246, 0.42);
}

/* ---------- 二维码弹层 ---------- */

.modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(360px, 100%);
  padding: 30px 30px 26px;
  border-radius: 26px;
  background: var(--cream);
  color: var(--ink-text);
  text-align: center;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.45s var(--ease);
}

.modal.is-open .modal-card {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  line-height: 1;
  color: var(--ink-muted);
  transition: background 0.25s ease;
}

.modal-close:hover {
  background: rgba(47, 42, 38, 0.08);
}

.modal-qr {
  width: 214px;
  height: 214px;
  margin: 0 auto 20px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(47, 42, 38, 0.08);
}

.modal-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-qr .qr-fallback {
  width: 100%;
  height: 100%;
}

.modal-card h3 {
  font-size: 19px;
  font-weight: 700;
}

.modal-card p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-muted);
}

.modal-hint {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}

/* ---------- 移动端底栏 ---------- */

.mobile-bar {
  position: fixed;
  z-index: 70;
  left: 14px;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: 12px;
  padding: 11px 12px 11px 18px;
  border: 1px solid rgba(250, 248, 246, 0.14);
  border-radius: 20px;
  background: rgba(20, 16, 14, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.85);
  transform: translateY(120%);
  transition: transform 0.5s var(--ease);
}

.mobile-bar.is-visible {
  transform: none;
}

.mobile-bar-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  min-width: 0;
}

.mobile-bar-copy b {
  font-size: 13.5px;
}

.mobile-bar-copy span {
  font-size: 10.5px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-bar .btn {
  margin-left: auto;
  flex: 0 0 auto;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1180px) {
  .hero-inner {
    gap: 28px;
  }

  .ability.span-7 p {
    max-width: 34em;
  }

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

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

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

  .burger {
    display: grid;
  }

  .hero-title {
    font-size: clamp(2.5rem, 7.4vw, 5.4rem);
  }

  .app-shot {
    inset: 4% 0 6% 2%;
  }

  .stage-apu {
    left: -30px;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 46px) 0 72px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-art {
    max-width: 620px;
    margin-inline: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-stage {
    width: 100%;
    max-width: 620px;
    height: clamp(360px, 64vw, 480px);
    margin-inline: auto;
  }

  .stage-apu {
    width: 168px;
    left: -8px;
    bottom: -20px;
  }

  .float-chip {
    padding: 6px 11px;
    font-size: 10.5px;
  }

  .chip-a {
    right: 0;
  }

  .chip-b {
    display: none;
  }

  .scroll-hint {
    display: none;
  }

  .system {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .system-tabs {
    position: static;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .system-tabs::-webkit-scrollbar {
    display: none;
  }

  .sys-tab {
    flex: 0 0 auto;
    min-width: 186px;
    padding: 14px 16px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    border-radius: 12px 12px 0 0;
  }

  .sys-tab.is-on {
    border-left: 0;
    border-bottom-color: var(--brand-deep);
  }

  .content-wrap {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .content-copy {
    position: static;
  }

  .mini {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .mini-copy {
    max-width: 560px;
    margin-inline: auto;
  }

  .intel-grid {
    grid-template-columns: 1fr;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-head {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 64px;
  }

  .wrap,
  .nav-inner {
    width: calc(100% - 32px);
  }

  .sec {
    padding: 68px 0;
  }

  .sec-head {
    margin-bottom: 34px;
  }

  .sec-head h2 {
    font-size: clamp(1.8rem, 7.4vw, 2.4rem);
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .ability,
  .ability.span-5,
  .ability.span-6,
  .ability.span-7 {
    grid-column: span 1;
    min-height: 0;
    padding: 24px 22px;
  }

  .ability p,
  .ability.span-7 p {
    padding-right: 46px;
  }

  .ability-emo {
    width: 62px;
    right: 14px;
    bottom: 14px;
    opacity: 0.82;
  }

  .ability-no {
    font-size: 34px;
    top: 16px;
    right: 18px;
  }

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

  .fit-grid {
    grid-template-columns: 1fr;
  }

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

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

  .follow-card {
    padding: 20px 14px;
  }

  .follow-card h3 {
    margin-top: 15px;
    font-size: 14.5px;
  }

  .follow-card p {
    font-size: 11.5px;
  }

  .mobile-bar {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 34px);
    padding-bottom: 48px;
    min-height: 100svh;
  }

  /* 手机首屏不摆桌面窗口：小屏看不清，还会把首屏截成两段 */
  .hero-stage {
    display: none;
  }

  main {
    padding-bottom: 76px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 10.2vw, 3.1rem);
    margin-top: 20px;
  }

  .lede {
    margin-top: 20px;
    font-size: 14.5px;
  }

  .hero-cta {
    margin-top: 26px;
  }

  .hero-cta .btn {
    flex: 1 1 auto;
  }

  .hero-facts {
    gap: 10px 26px;
    margin-top: 30px;
  }

  .hero-facts b {
    font-size: 22px;
  }

  .hero-stage {
    height: 330px;
  }

  .app-shot {
    inset: 2% 0 4%;
    transform: none;
    animation: none;
  }

  .hero .app-body {
    grid-template-columns: 1fr;
  }

  .hero .app-side {
    display: none;
  }

  .hero .app-main {
    padding: 16px;
  }

  .stage-apu {
    width: 128px;
    left: -6px;
    bottom: -12px;
  }

  .system-stage {
    aspect-ratio: 4 / 3.5;
    min-height: 0;
  }

  .sys-tab {
    min-width: 148px;
    padding: 12px 14px;
  }

  .sys-tab b {
    font-size: 14.5px;
  }

  .sys-tab span {
    font-size: 11.5px;
  }

  .screen .app-body {
    grid-template-columns: 1fr;
  }

  .screen .app-side {
    display: none;
  }

  .screen .app-main {
    padding: 18px;
  }

  .reader-cover {
    grid-template-columns: 1fr;
  }

  .cover-art {
    display: none;
  }

  .reader-sec p,
  .app-lines i {
    font-size: 11px;
  }

  .mini {
    margin-top: 64px;
  }

  .about-list b {
    flex-basis: 64px;
  }

  .about-art figcaption {
    left: 16px;
    bottom: 12px;
    font-size: 10px;
  }

  .mini-copy h3 {
    font-size: 1.7rem;
  }

  .content-copy h2 {
    font-size: clamp(1.75rem, 7.2vw, 2.3rem);
  }

  .nine li > i {
    font-size: 9px;
    padding: 2px 7px;
  }

  .source {
    font-size: 11px;
  }

  .faq-list summary {
    padding: 18px 38px 18px 0;
    font-size: 15px;
  }

  .foot-inner {
    gap: 20px;
  }

  .foot-links {
    margin-left: 0;
  }

  .foot-note {
    padding-bottom: 4px;
  }

  .modal-card {
    padding: 24px 22px 22px;
  }

  .modal-qr {
    width: 190px;
    height: 190px;
  }
}

@media (max-width: 520px) {
  .ability {
    padding: 22px 20px;
  }

  .hero-stage {
    height: 288px;
  }

  .float-chip {
    display: none;
  }

  .stage-apu {
    width: 106px;
    bottom: -10px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .qr-slot {
    padding: 7px;
    border-radius: 13px;
  }

  .qr-mark {
    width: 32px;
    height: 32px;
    padding: 5px;
    border-radius: 8px;
  }

  .qr-badge {
    font-size: 9px;
    bottom: 5px;
  }

  .stat b {
    font-size: 2.1rem;
  }

  .stat {
    padding: 20px 18px;
  }

  .final h2 {
    font-size: clamp(2rem, 9.4vw, 2.8rem);
  }

  .foot-note {
    font-size: 11.5px;
  }
}

@media (max-width: 390px) {
  .btn {
    height: 50px;
    padding: 0 20px;
    font-size: 14px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .eyebrow {
    font-size: 11.5px;
  }

  .fit-card {
    padding: 22px 20px;
  }

  .follow-card p {
    min-height: 0;
  }
}

/* ---------- 减少动态 ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-title .line > span {
    transform: none;
  }
}

/* JS 未加载时，不能被动画初始态藏住 */
.no-js .hero-title .line > span {
  transform: none;
}

.no-js .app-shot {
  animation: none;
  transform: none;
}

/* ?static=1：无动画版本，给截图、打印、低性能设备用 */
.no-anim {
  scroll-behavior: auto;
}

.no-anim .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.no-anim .hero-title .line > span {
  transform: none !important;
  animation: none !important;
}

.no-anim .app-shot,
.no-anim .stage-apu,
.no-anim .final-apu,
.no-anim .float-chip,
.no-anim .hero-bg-img,
.no-anim .orb,
.no-anim .marquee-track,
.no-anim .btn-glow::after {
  animation: none !important;
}

.no-anim .marquee-track {
  transform: none;
}
