/* 剑桥Think教材跟读APP — paocaienglish.cn */

:root {
  --ink: #15202b;
  --ink-soft: #4a5868;
  --paper: #eef1f4;
  --paper-deep: #e3e8ee;
  --surface: #f8f9fb;
  --line: #c9d2dc;
  --blue: #1e5a7a;
  --blue-deep: #164a65;
  --rust: #b8482e;
  --rust-hover: #9a3a24;
  --mist: #8a96a3;
  --white: #ffffff;
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4.5rem;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--rust);
}

.site-wrap {
  overflow-x: hidden;
}

.container-th {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

@media (max-width: 575.98px) {
  .container-th {
    width: min(100% - 1.5rem, var(--max));
  }
}

/* ——— Nav ——— */
.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1.15rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  max-width: 14em;
}

.brand-mark:hover {
  color: var(--white);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  position: relative;
  padding-bottom: 0.12rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 0.28rem auto;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(0.29rem) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-0.29rem) rotate(-45deg);
}

@media (max-width: 991.98px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 10.5rem;
    padding: 0.45rem 0;
    background: rgba(21, 32, 43, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.7rem 1.1rem;
  }

  .nav-links a::after {
    display: none;
  }
}

.page-inner .site-nav {
  position: relative;
  background: var(--ink);
  padding: 1rem 0;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-color: #0f1a24;
  isolation: isolate;
}

.hero-inner {
  position: relative;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 6.75rem 0 4rem;
  display: grid;
  grid-template-columns: 1fr minmax(14rem, 20rem);
  gap: 2rem 2.5rem;
  align-items: end;
}

@media (max-width: 575.98px) {
  .hero-inner {
    width: min(100% - 1.5rem, var(--max));
    padding: 6rem 0 3.1rem;
  }
}

@media (max-width: 991.98px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-covers {
    position: absolute;
    right: 0.75rem;
    bottom: 18%;
    width: 7.5rem;
    height: 11rem;
    max-width: none;
    margin: 0;
    pointer-events: none;
    opacity: 0.92;
  }

  .hero-covers .cover {
    width: 55%;
  }

  .hero-covers .cover:nth-child(2) {
    width: 60%;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 22rem;
  }
}

@media (max-width: 420px) {
  .hero-covers {
    width: 6.2rem;
    height: 9.5rem;
    bottom: 22%;
    opacity: 0.8;
  }
}

.think-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateY(16px);
  animation: riseIn 0.75s var(--ease) 0.02s forwards;
}

.think-badge-mark {
  display: inline-block;
  padding: 0.28rem 0.55rem 0.22rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0f1a24;
  background: linear-gradient(135deg, #f2d08a 0%, #e8a84a 50%, #c9652e 100%);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

/* Book stack in hero */
.hero-covers {
  position: relative;
  height: min(52vw, 22rem);
  max-width: 20rem;
  margin: 0 0 0.5rem auto;
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 0.9s var(--ease) 0.5s forwards;
}

.hero-covers .cover {
  position: absolute;
  width: 42%;
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.35s var(--ease);
}

.hero-covers .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-covers .cover:nth-child(1) {
  left: 0;
  bottom: 8%;
  z-index: 1;
  transform: rotate(-8deg);
}

.hero-covers .cover:nth-child(2) {
  left: 22%;
  bottom: 4%;
  z-index: 2;
  transform: rotate(-2deg);
  width: 46%;
}

.hero-covers .cover:nth-child(3) {
  right: 0;
  bottom: 10%;
  z-index: 3;
  transform: rotate(7deg);
}

.hero-covers:hover .cover:nth-child(1) {
  transform: rotate(-11deg) translateY(-4px);
}
.hero-covers:hover .cover:nth-child(2) {
  transform: rotate(0deg) translateY(-8px);
}
.hero-covers:hover .cover:nth-child(3) {
  transform: rotate(10deg) translateY(-4px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(165deg, rgba(15, 26, 36, 0.25) 0%, rgba(15, 26, 36, 0.65) 55%, rgba(15, 26, 36, 0.92) 100%),
    radial-gradient(ellipse 60% 50% at 78% 28%, rgba(30, 90, 122, 0.55), transparent 58%),
    radial-gradient(ellipse 40% 35% at 15% 70%, rgba(184, 72, 46, 0.15), transparent 50%),
    linear-gradient(130deg, #0f1a24 0%, #1a3348 45%, #1e5a7a 100%);
  animation: heroShift 18s ease-in-out infinite alternate;
}

@keyframes heroShift {
  from {
    background-position: center, 78% 28%, 15% 70%, center;
  }
  to {
    background-position: center, 80% 30%, 12% 68%, center;
  }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
  opacity: 0;
  transform: translateY(24px);
  animation: riseIn 0.85s var(--ease) 0.1s forwards;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 0.75rem;
  max-width: 18em;
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 0.85s var(--ease) 0.28s forwards;
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 30em;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 0.85s var(--ease) 0.42s forwards;
}

.hero-actions {
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 0.85s var(--ease) 0.55s forwards;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-th {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn-primary {
  background: var(--rust);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--rust-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-left: 0.65rem;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-wechat {
  background: #07c160;
  color: var(--white);
}

.btn-wechat:hover {
  background: #06ad56;
  color: var(--white);
  transform: translateY(-1px);
}

.wechat-id {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-wechat-hint {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-wechat-hint .wechat-id {
  color: #7dffa8;
  font-size: 1.05rem;
}

@media (max-width: 480px) {
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .btn-ghost {
    margin-left: 0;
  }
}

/* ——— Sections ——— */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.55rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin: 0 0 0.65rem;
}

.section-desc {
  margin: 0;
  max-width: 38em;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-head {
  margin-bottom: 2.25rem;
}

.prose p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  max-width: 42em;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.lead-line {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 1.25rem;
  max-width: 28em;
  line-height: 1.45;
}

/* ——— Cover shelf ——— */
.section-shelf {
  background:
    linear-gradient(180deg, #1a2d3d 0%, #152636 100%);
  color: rgba(255, 255, 255, 0.88);
  border-top: none;
  border-bottom: none;
}

.section-shelf .section-label {
  color: rgba(232, 168, 74, 0.85);
}

.section-shelf .section-title {
  color: var(--white);
}

.section-shelf .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.cover-shelf {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem 1rem;
  align-items: end;
  margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
  .cover-shelf {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575.98px) {
  .cover-shelf {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

.shelf-book {
  margin: 0;
  transition: transform 0.35s var(--ease);
}

.shelf-book img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.shelf-book:hover {
  transform: translateY(-8px);
}

.shelf-book figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-size: 0.82rem;
}

.shelf-lv {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
}

.shelf-cefr {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.shelf-note {
  margin: 1.75rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 42em;
}

/* ——— Level cards ——— */
.level-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (max-width: 767.98px) {
  .level-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .level-cards {
    grid-template-columns: 1fr;
  }
}

.level-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  margin: 0;
}

.level-card-cover {
  width: 3.4rem;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 4px 10px rgba(21, 32, 43, 0.12);
  flex-shrink: 0;
}

.level-card-placeholder {
  width: 3.4rem;
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #2a5f7a, #1e5a7a 55%, #164a65);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 1px;
}

.level-card .lv {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin: 0 0 0.2rem;
}

.level-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ——— Feature blocks ——— */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.feat-item {
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.feat-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.feat-item h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 0.55rem;
}

.feat-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.feat-item ul {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.feat-item li {
  margin-bottom: 0.3rem;
}

@media (max-width: 767.98px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }

  .feat-item:nth-child(odd) {
    border-right: none;
  }

  .feat-item {
    padding: 1.45rem 0.15rem;
  }
}

/* ——— Compare ——— */
.compare-block {
  margin-bottom: 2.25rem;
}

.compare-block:last-child {
  margin-bottom: 0;
}

.compare-block h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 0.85rem;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}

.split-pane {
  padding: 1.35rem 1.25rem;
}

.split-pane:first-child {
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.split-pane h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.04em;
}

.split-pane p,
.split-pane ul {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.split-pane ul {
  padding-left: 1.1rem;
}

.split-pane li {
  margin-bottom: 0.3rem;
}

@media (max-width: 767.98px) {
  .split-2 {
    grid-template-columns: 1fr;
  }

  .split-pane:first-child {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

/* ——— Audience / steps ——— */
.num-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: th;
  border-top: 1px solid var(--line);
}

.num-list li {
  counter-increment: th;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.num-list li::before {
  content: counter(th, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.4;
}

.num-list h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.35rem;
}

.num-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ——— Path timeline ——— */
.path-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.path-list li {
  position: relative;
  padding: 0 0 1.5rem 1.35rem;
}

.path-list li:last-child {
  padding-bottom: 0;
}

.path-list li::before {
  content: "";
  position: absolute;
  left: -0.4rem;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--blue);
  border-radius: 1px;
}

.path-list .stage {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.25rem;
}

.path-list p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ——— Pros cons ——— */
.pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}

.pc-pane {
  padding: 1.5rem 1.35rem;
}

.pc-pane:first-child {
  border-right: 1px solid var(--line);
}

.pc-pane h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}

.pc-pane ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pc-pane li {
  margin-bottom: 0.45rem;
}

@media (max-width: 767.98px) {
  .pc-grid {
    grid-template-columns: 1fr;
  }

  .pc-pane:first-child {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

/* ——— Quote ——— */
.pull-quote {
  margin: 1.75rem 0;
  padding: 0.2rem 0 0.2rem 1.25rem;
  border-left: 3px solid var(--blue);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.5;
}

/* ——— Blog ——— */
.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

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

.blog-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 1.15rem;
  align-items: baseline;
  padding: 1.4rem 0;
  color: inherit;
}

a.blog-row:hover .blog-title {
  color: var(--rust);
}

.blog-date {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.blog-title {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.3rem;
  line-height: 1.4;
  transition: color 0.25s var(--ease);
}

.blog-excerpt {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 38em;
}

.blog-meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--blue);
  white-space: nowrap;
}

.blog-static .blog-row {
  cursor: default;
}

@media (max-width: 767.98px) {
  .blog-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .blog-meta {
    order: -1;
  }
}

/* ——— Page / article ——— */
.page-header {
  background: var(--ink);
  color: var(--white);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 90% 15%, rgba(30, 90, 122, 0.45), transparent 60%),
    linear-gradient(135deg, #15202b 0%, #1a3348 100%);
}

.page-header .container-th {
  position: relative;
  z-index: 1;
}

.page-header .section-label {
  color: rgba(255, 255, 255, 0.45);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 0.55rem;
  line-height: 1.25;
}

.page-header p {
  margin: 0;
  max-width: 30em;
  color: rgba(255, 255, 255, 0.68);
}

.article-shell {
  padding: 3rem 0 4.5rem;
  background: var(--surface);
}

.article-body {
  max-width: 40rem;
  margin: 0 auto;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.35rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1.85rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.article-meta-bar .tag {
  color: var(--blue);
  letter-spacing: 0.06em;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 2.2rem 0 0.85rem;
}

.article-body p {
  margin: 0 0 1.1rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.article-body blockquote {
  margin: 1.75rem 0;
  padding: 0.15rem 0 0.15rem 1.2rem;
  border-left: 3px solid var(--blue);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.article-nav a {
  color: var(--ink-soft);
}


/* ——— Article more (related / latest tabs) ——— */
.article-more {
  padding: 2.75rem 0 3.25rem;
  background: var(--surface, var(--paper-deep, #e8ece9));
  border-top: 1px solid var(--line);
}

.article-more-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.article-more-tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0.7rem 1.1rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.article-more-tab:hover {
  color: var(--ink);
}

.article-more-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.article-more-tab:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.article-more-panel[hidden] {
  display: none !important;
}

.article-more-panel.is-active {
  display: grid;
  gap: 1rem;
}

.related-card {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.related-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-card:first-child {
  padding-top: 0;
}

.related-card:hover {
  opacity: 0.88;
  color: inherit;
}

.related-card-media {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 8 / 5;
  background: var(--ink);
}

.related-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.related-card-excerpt {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-body time {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--mist, var(--ink-soft));
  opacity: 0.85;
}

.latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.latest-list li {
  border-bottom: 1px solid var(--line);
}

.latest-list li:last-child {
  border-bottom: none;
}

.latest-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  color: var(--ink);
  text-decoration: none;
}

.latest-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.latest-date {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--mist, var(--ink-soft));
  opacity: 0.85;
}

.latest-list a:hover {
  color: var(--ink-soft);
}

.latest-list a:hover .latest-date {
  color: var(--ink-soft);
}

.article-more-empty {
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 575.98px) {
  .related-card {
    grid-template-columns: 5.5rem 1fr;
    gap: 0.75rem;
  }

  .related-card-body h3 {
    font-size: 0.95rem;
  }

  .article-more-tab {
    padding-inline: 0.85rem;
    font-size: 0.9rem;
  }
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-end;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.footer-tag {
  margin: 0;
  font-size: 0.88rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--white);
}

/* ——— Pricing ——— */
.price-section {
  background: var(--ink);
  color: var(--white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.price-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 85% 10%, rgba(30, 90, 122, 0.5), transparent 60%);
  pointer-events: none;
}

.price-section .container-th {
  position: relative;
  z-index: 1;
}

.price-section .section-label {
  color: rgba(255, 255, 255, 0.45);
}

.price-section .section-title {
  color: var(--white);
}

.price-section .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(0, 16rem) 1fr;
  gap: 2rem 2.5rem;
  align-items: start;
  margin-top: 0.5rem;
}

.price-figure {
  margin: 0;
}

.price-figure .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #f0c56a;
}

.price-figure .unit {
  display: block;
  margin-top: 0.45rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
}

.price-figure .day {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.price-value h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 0.85rem;
}

.price-value ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.price-value li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
}

.price-value li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.45rem;
  height: 1px;
  background: #f0c56a;
}

.price-contact {
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.price-contact .label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.45rem;
}

.price-contact .wx-line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.85rem;
}

.price-contact .wx-line .wechat-id {
  color: #7dffa8;
}

@media (max-width: 767.98px) {
  .price-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ——— CTA band ——— */
.cta-band {
  background: linear-gradient(125deg, #0f1a24, #1e5a7a 55%, #164a65);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 0.55rem;
  letter-spacing: 0.05em;
}

.cta-band p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.75);
}

.cta-band .wechat-id {
  color: #7dffa8;
  font-size: 1.15em;
}

/* ——— Mobile WeChat bar ——— */
.wechat-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wechat-bar-text {
  font-size: 0.85rem;
  line-height: 1.35;
}

.wechat-bar-text strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.wechat-bar-text .wechat-id {
  color: #7dffa8;
}

.wechat-bar .btn-th {
  flex-shrink: 0;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .wechat-bar {
    display: none;
  }
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%) translateY(8px);
  background: var(--ink);
  color: var(--white);
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 60;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.copy-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 768px) {
  .copy-toast {
    bottom: 2rem;
  }
}

/* Media list page (图文列表) */
.media-list-page .media-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.media-list-page .media-row {
  display: grid;
  grid-template-columns: minmax(8.5rem, 12rem) 1fr;
  gap: 1rem 1.2rem;
  align-items: stretch;
  padding: 0.8rem;
  border: 1px solid var(--line, #c9d0d9);
  background: var(--surface, #fafbfc);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.media-list-page a.media-row:hover {
  transform: translateY(-1px);
  color: inherit;
}

.media-list-page .media-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #1a1f27;
}

.media-list-page .media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.media-list-page a.media-row:hover .media-thumb img {
  transform: scale(1.04);
}

.media-list-page .media-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.media-list-page .media-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
  opacity: 0.85;
}

.media-list-page .media-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.35rem;
}

.media-list-page .media-excerpt {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  line-height: 1.55;
  opacity: 0.82;
}

.media-list-page .media-date {
  font-size: 0.78rem;
  opacity: 0.65;
}

.media-list-page .list-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.media-list-page .list-switch a,
.media-list-page .list-switch span {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--line, #c9d0d9);
  text-decoration: none;
}

.media-list-page .list-switch .is-active {
  border-color: currentColor;
}

@media (max-width: 575.98px) {
  .media-list-page .media-row {
    grid-template-columns: 6.25rem 1fr;
    gap: 0.75rem;
    padding: 0.55rem;
  }

  .media-list-page .media-title {
    font-size: 0.98rem;
  }

  .media-list-page .media-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* List view switch */
.list-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}
.list-switch a,
.list-switch span {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--line, #c9d0d9);
  text-decoration: none;
  color: inherit;
}
.list-switch .is-active {
  border-color: currentColor;
}
