/* Prepare教材跟读APP — pickleenglish.net
   Visual: light exam-timetable · sharp geometry · no dark-hero clone */

:root {
  --ink: #141414;
  --ink-soft: #4a4a4a;
  --paper: #f0f2f5;
  --paper-deep: #e4e7ec;
  --surface: #ffffff;
  --line: #cfd4dc;
  --steel: #1d4e89;
  --steel-deep: #163a66;
  --flare: #e85d04;
  --flare-hover: #c44d03;
  --mist: #7a8494;
  --white: #ffffff;
  --wechat: #07c160;
  --wechat-hover: #06ad56;
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --max: 1040px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  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(--steel);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

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

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

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

/* ——— Nav: sticky light bar ——— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.85rem 0;
  background: rgba(240, 242, 245, 0.92);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(8px);
}

.site-nav .nav-inner {
  position: relative;
}

.page-inner .site-nav {
  background: var(--ink);
  border-bottom-color: var(--ink);
}

.page-inner .brand-mark,
.page-inner .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}

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

.page-inner .nav-toggle span {
  background: var(--white);
}

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

.brand-mark {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.brand-mark:hover {
  color: var(--flare);
}

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.35rem;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

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

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s var(--ease), transform 0.25s, visibility 0.25s;
  }

  .page-inner .nav-links {
    background: #1a1a1a;
    border-bottom-color: #333;
  }

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

  .nav-links a {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .page-inner .nav-links a {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
}

/* ——— Hero: light, typographic, asymmetric ——— */
.hero {
  position: relative;
  min-height: calc(100vh - 3.5rem);
  min-height: calc(100dvh - 3.5rem);
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border-bottom: 2px solid var(--ink);
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, transparent 0 62%, rgba(29, 78, 137, 0.07) 62% 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 23px,
      rgba(20, 20, 20, 0.04) 23px,
      rgba(20, 20, 20, 0.04) 24px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 23px,
      rgba(20, 20, 20, 0.04) 23px,
      rgba(20, 20, 20, 0.04) 24px
    ),
    var(--surface);
}

.hero-bg::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(38%, 22rem);
  background: var(--steel);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  animation: panelSlide 1.1s var(--ease) both;
}

@keyframes panelSlide {
  from {
    transform: translateX(12%);
    opacity: 0.6;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero-grain {
  display: none;
}

.hero-content {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 3.5rem 0 3.75rem;
  display: grid;
  grid-template-columns: 1fr minmax(7rem, 9.5rem);
  gap: 1.5rem 2rem;
  align-items: end;
}

@media (max-width: 575.98px) {
  .hero-content {
    width: min(100% - 1.5rem, var(--max));
    padding: 2.5rem 0 3rem;
    grid-template-columns: 1fr;
  }
}

.hero-main {
  max-width: 34rem;
}

.hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  opacity: 0;
  animation: slideUp 0.7s var(--ease) 0.05s forwards;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0 0 1.15rem;
  color: var(--ink);
  opacity: 0;
  animation: slideUp 0.75s var(--ease) 0.12s forwards;
}

.hero-brand em {
  display: block;
  font-style: normal;
  color: var(--flare);
}

.hero-tagline {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  max-width: 18em;
  opacity: 0;
  animation: slideUp 0.75s var(--ease) 0.22s forwards;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 30em;
  font-size: 1rem;
  color: var(--ink-soft);
  opacity: 0;
  animation: slideUp 0.75s var(--ease) 0.32s forwards;
}

.hero-actions {
  opacity: 0;
  animation: slideUp 0.75s var(--ease) 0.42s forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stamps {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  opacity: 0;
  animation: slideUp 0.8s var(--ease) 0.5s forwards;
}

@media (max-width: 575.98px) {
  .hero-stamps {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-stamps span {
  display: block;
  padding: 0.55rem 0.65rem;
  border: 2px solid var(--ink);
  background: var(--surface);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--ink);
  transform: rotate(-2deg);
}

.hero-stamps span:nth-child(2) {
  background: var(--flare);
  color: var(--white);
  border-color: var(--flare);
  transform: rotate(1.5deg);
}

.hero-stamps span:nth-child(3) {
  background: var(--steel);
  color: var(--white);
  border-color: var(--steel);
  transform: rotate(-1deg);
}

@media (min-width: 992px) {
  .hero-stamps {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
  }

  .hero-stamps span {
    background: rgba(255, 255, 255, 0.95);
  }

  .hero-stamps span:nth-child(2) {
    background: var(--flare);
  }

  .hero-stamps span:nth-child(3) {
    background: var(--ink);
    border-color: var(--ink);
  }
}

.btn-pr {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  margin-left: 0.55rem;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-wechat {
  background: var(--wechat);
  color: var(--white);
  border-color: var(--wechat);
}

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

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

.hero-wechat-hint {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.hero-wechat-hint .wechat-id {
  color: var(--steel-deep);
  font-size: 1.02rem;
}

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

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

/* ——— Sections ——— */
.section {
  padding: 4.25rem 0;
  position: relative;
}

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

.section-head {
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1.15rem;
  align-items: start;
}

.section-head .section-label {
  grid-column: 1 / -1;
}

.section-num {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--flare);
  letter-spacing: -0.04em;
}

.section-head-text {
  min-width: 0;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

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

.lead-line {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 1.15rem;
  max-width: 32em;
  line-height: 1.45;
  padding-left: 0.9rem;
  border-left: 4px solid var(--flare);
}

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

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

.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  max-width: 40em;
}

.prose li {
  margin-bottom: 0.35rem;
}

.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--ink);
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.25rem 1.25rem 1.35rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left: 6px solid var(--flare);
  max-width: 38em;
}

.section-alt .pull-quote {
  background: var(--paper);
}

/* path: vertical rail */
.path-strip {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.25rem 0 1.5rem;
  border-left: 3px solid var(--steel);
  padding-left: 0;
  max-width: 28rem;
}

.path-strip .step {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.35rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.path-strip .step::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 1.05rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--flare);
  border: 2px solid var(--ink);
}

.path-strip .arrow {
  display: none;
}

.path-strip.is-horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  border-left: none;
  max-width: none;
  padding: 1rem;
  background: var(--ink);
}

.path-strip.is-horizontal .step {
  padding: 0.35rem 0.65rem;
  border: none;
  border-bottom: none;
  background: var(--flare);
  color: var(--white);
  font-size: 0.85rem;
}

.path-strip.is-horizontal .step::before {
  display: none;
}

.path-strip.is-horizontal .arrow {
  display: inline;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
}

/* skill table */
.skill-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  margin: 1.25rem 0;
}

.skill-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 26rem;
}

.skill-table th,
.skill-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.skill-table th {
  font-weight: 800;
  background: var(--steel);
  color: var(--white);
  letter-spacing: 0.04em;
}

.skill-table td {
  color: var(--ink-soft);
  background: var(--surface);
}

.skill-table tr:nth-child(even) td {
  background: var(--paper);
}

.skill-table tr:last-child td {
  border-bottom: none;
}

.skill-table .lv {
  font-weight: 700;
  color: var(--ink);
}

/* compare */
.pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pc-pane {
  padding: 1.35rem 1.25rem;
  border: 2px solid var(--ink);
  background: var(--surface);
}

.pc-pane:first-child {
  background: var(--paper);
}

.pc-pane:last-child {
  background: var(--steel);
  color: var(--white);
  border-color: var(--steel);
}

.pc-pane:last-child h3 {
  color: var(--white);
}

.pc-pane:last-child ul {
  color: rgba(255, 255, 255, 0.82);
}

.pc-pane h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
}

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

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

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

/* stages */
.stage-list {
  display: grid;
  gap: 0.75rem;
}

.stage-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.25rem 1.15rem;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-left: 6px solid var(--flare);
}

.section-alt .stage-item {
  background: var(--paper);
}

.stage-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--steel);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stage-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
}

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

.stage-item ul {
  padding-left: 1.1rem;
  margin-top: 0.4rem;
}

/* pathway — ticket stubs */
.pathway {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0.5rem 0 0;
}

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

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

.pathway-item {
  padding: 1rem 0.95rem;
  background: var(--surface);
  border: 2px solid var(--ink);
  position: relative;
}

.pathway-item.is-focus {
  background: var(--flare);
  border-color: var(--flare);
  color: var(--white);
}

.pathway-item.is-focus h3,
.pathway-item.is-focus p {
  color: var(--white);
}

.pathway-item h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 400;
  margin: 0 0 0.25rem;
}

.pathway-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.note-box {
  margin-top: 1.75rem;
  padding: 1.15rem 1.2rem;
  border: 2px dashed var(--steel);
  background: rgba(29, 78, 137, 0.06);
  max-width: 42em;
}

.note-box h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

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

/* price — light + flare band (not dark clone) */
.price-section {
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  border-top: 2px solid var(--ink);
}

.price-section .container-pr {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) 1fr;
  gap: 0;
}

@media (max-width: 767.98px) {
  .price-section .container-pr {
    grid-template-columns: 1fr;
  }
}

.price-rail {
  background: var(--flare);
  color: var(--white);
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.price-body {
  padding: 3rem 1.75rem 3.25rem;
  border-left: 2px solid var(--ink);
}

@media (max-width: 767.98px) {
  .price-body {
    border-left: none;
    border-top: 2px solid var(--ink);
  }
}

.price-section .section-title {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
}

.price-section .section-desc {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.5rem;
}

.price-layout {
  display: block;
  margin-top: 0;
}

.price-figure {
  margin-bottom: 1.5rem;
}

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

.price-figure .unit {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.price-figure .day {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--mist);
}

.price-value h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.price-value ul {
  margin: 0 0 1.5rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.price-value li {
  margin-bottom: 0.4rem;
}

.price-contact .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.35rem;
}

.wx-line {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.wx-line .wechat-id {
  color: var(--steel);
}

/* cta */
.cta-band {
  padding: 2.75rem 0;
  background: var(--ink);
  color: var(--white);
  text-align: left;
  border-top: 4px solid var(--flare);
}

.cta-band .container-pr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 400;
  margin: 0 0 0.35rem;
}

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

.cta-band .wechat-id {
  color: #7dffa8;
}

/* blog */
.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-item {
  margin-bottom: 0.65rem;
}

.blog-row {
  display: grid;
  grid-template-columns: 6rem 1fr auto;
  gap: 0.85rem 1.15rem;
  align-items: start;
  padding: 1.15rem 1.1rem;
  background: var(--surface);
  border: 2px solid var(--ink);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

a.blog-row:hover {
  transform: translate(-3px, -3px);
  box-shadow: 3px 3px 0 var(--flare);
  color: inherit;
}

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

.blog-static .blog-row {
  cursor: default;
  border-left: 5px solid var(--steel);
}

.blog-date {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mist);
  padding-top: 0.15rem;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 0.3rem;
  color: var(--ink);
  line-height: 1.35;
  transition: color 0.2s;
}

.blog-excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.blog-meta {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flare);
  padding: 0.25rem 0.45rem;
  border: 1.5px solid var(--flare);
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .blog-row {
    grid-template-columns: 1fr auto;
  }

  .blog-date {
    grid-column: 1 / -1;
  }
}

/* page inner */
.page-header {
  padding: 2.5rem 0 1.75rem;
  background: var(--surface);
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}

.page-header .section-label {
  color: var(--steel);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.page-header p {
  margin: 0;
  max-width: 32em;
  color: var(--ink-soft);
}

.article-shell {
  padding: 2.5rem 0 1rem;
}

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

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--mist);
  font-weight: 600;
}

.article-meta-bar .tag {
  color: var(--flare);
  border: 1.5px solid var(--flare);
  padding: 0.1rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 2rem 0 0.7rem;
}

.article-body p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

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

.article-body blockquote {
  margin: 1.35rem 0;
  padding: 1rem 1.1rem;
  border: 2px solid var(--ink);
  border-left: 6px solid var(--flare);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  background: var(--surface);
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.article-nav a:hover {
  color: var(--flare);
}

/* article more tabs */
.article-more {
  padding: 2.75rem 0 3.25rem;
  background: var(--paper);
  border-top: 2px solid var(--ink);
}

.article-more-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.35rem;
  border-bottom: 2px solid var(--ink);
}

.article-more-tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.65rem 1rem 0.7rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--mist);
  cursor: pointer;
}

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

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

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

.related-card {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.95rem;
  border: 2px solid var(--ink);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.related-card:hover {
  box-shadow: 3px 3px 0 var(--steel);
  color: inherit;
}

.related-card-media {
  overflow: hidden;
  aspect-ratio: 8 / 5;
  background: var(--ink);
  border: 1.5px solid 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.05rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
  line-height: 1.35;
}

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

.related-card-body time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mist);
}

.latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--surface);
}

.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 1rem;
  color: var(--ink);
  text-decoration: none;
}

.latest-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.4;
}

.latest-date {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mist);
}

.latest-list a:hover {
  background: var(--paper);
  color: var(--steel);
}

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

/* footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding: 2.35rem 0 1.75rem;
  border-top: 4px solid var(--flare);
}

.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.25rem;
  color: var(--white);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
}

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

.footer-copy {
  margin: 0;
  width: 100%;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.wechat-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-top: 3px solid var(--flare);
}

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

.wechat-bar-text strong {
  display: block;
  font-size: 0.95rem;
}

.wechat-bar .btn-pr {
  flex-shrink: 0;
  padding: 0.6rem 0.95rem;
  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(12px);
  z-index: 60;
  padding: 0.7rem 1.15rem;
  background: var(--flare);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.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;
}
