/* ==========================================================================
   jmcomic 官网 · 全站样式
   视觉：漫画网点纸 + 粗描边 + 硬阴影；主色橙 #ff5a1f / 蓝 #2f5bff
   ========================================================================== */

:root {
  --paper: #f7f2e8;
  --paper-2: #efe6d5;
  --white: #fffdf8;
  --ink: #151210;
  --ink-soft: #5e544b;
  --line: #151210;
  --orange: #ff5a1f;
  --orange-deep: #e8430c;
  --orange-soft: #ffe3d5;
  --blue: #2f5bff;
  --blue-soft: #e2e8ff;
  --green: #0f8a5f;
  --max: 1180px;
  --radius: 18px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--orange);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px);
}

.section--tight {
  padding-block: clamp(40px, 5vw, 64px);
}

.section--paper2 {
  background: var(--paper-2);
}

.section--dark {
  background-color: var(--ink);
  color: var(--paper);
  background-image: radial-gradient(rgba(247, 242, 232, 0.13) 1px, transparent 1.4px);
  background-size: 17px 17px;
}

.section--orange {
  background: var(--orange);
  color: var(--white);
  background-image: radial-gradient(rgba(21, 18, 16, 0.18) 1.2px, transparent 1.5px);
  background-size: 15px 15px;
}

/* ---------------- 章节标题 ---------------- */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 40px;
  margin-bottom: clamp(30px, 4vw, 52px);
}

.section-head__main {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.section--dark .eyebrow,
.section--orange .eyebrow {
  color: var(--paper);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: normal;
  color: var(--orange);
  white-space: nowrap;
}

.section--dark .section-title em,
.section--orange .section-title em {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 5px;
  text-underline-offset: 6px;
}

.section-lead {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.section--dark .section-lead,
.section--orange .section-lead {
  color: rgba(247, 242, 232, 0.78);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid currentColor;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.section-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}

.section-link:hover svg {
  transform: translateX(4px);
}

/* ---------------- 按钮 ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 28px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s var(--ease);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

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

.btn--primary:hover {
  background: var(--orange-deep);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--orange);
}

.btn--dark:hover {
  box-shadow: 6px 6px 0 var(--orange);
}

.btn--ghost {
  background: transparent;
}

.btn--sm {
  min-height: 42px;
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn--block {
  width: 100%;
}

.btn--lg {
  min-height: 58px;
  padding: 16px 34px;
  font-size: 1.06rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------------- 顶部导航 ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 242, 232, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

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

.brand-logo {
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--white);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 8px 12px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color 0.15s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 10px;
}

.header-dl {
  display: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 6vw, 84px) clamp(48px, 6vw, 84px);
  background-image: radial-gradient(rgba(21, 18, 16, 0.09) 1.2px, transparent 1.4px);
  background-size: 16px 16px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -200px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: var(--orange-soft);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-eyebrow .spark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.2);
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-title .line-1 {
  display: block;
  white-space: nowrap;
}

.hero-title .brand-ink {
  display: inline-block;
  color: var(--orange);
  text-shadow: 3px 3px 0 var(--ink);
  letter-spacing: -0.045em;
}

.hero-title .line-2 {
  display: block;
  margin-top: 8px;
  font-size: 0.66em;
  letter-spacing: -0.02em;
}

.hero-title .underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  isolation: isolate;
  background-image: linear-gradient(
    transparent 66%,
    rgba(255, 90, 31, 0.32) 66%,
    rgba(255, 90, 31, 0.32) 92%,
    transparent 92%
  );
}

.hero-title .underline::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: -0.1em;
  height: 0.16em;
  background: var(--orange);
  z-index: -1;
  transform: skewX(-12deg);
  border-radius: 2px;
}

.hero-lead {
  margin-top: 22px;
  max-width: 34em;
  font-size: 1.04rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.stars {
  letter-spacing: 2px;
  color: var(--orange);
  font-size: 0.95rem;
}

.hero-trust strong {
  color: var(--ink);
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  max-width: 36em;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero-update {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 5px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.hero-update time {
  color: var(--ink);
}

.live-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 138, 95, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}

.age-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 6px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Hero 视觉 */

.hero-art {
  position: relative;
  padding: 26px 14px 30px 20px;
}

.art-window {
  position: relative;
  z-index: 2;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.4deg);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
}

.window-bar .dot {
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.window-bar .dot:nth-child(1) {
  background: var(--orange);
}

.window-bar .dot:nth-child(2) {
  background: #ffd166;
}

.window-bar .dot:nth-child(3) {
  background: var(--blue);
}

.window-url {
  margin-left: 8px;
  padding: 1px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.art-shot {
  display: block;
  width: 100%;
}

.art-shot img {
  width: 100%;
  height: auto;
}

.art-covers {
  position: absolute;
  z-index: 1;
  top: 0;
  left: -6px;
  display: flex;
  gap: 10px;
}

.art-cover {
  width: 82px;
  aspect-ratio: 3 / 4;
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--white);
}

.art-cover:nth-child(1) {
  transform: rotate(-9deg) translateY(4px);
}

.art-cover:nth-child(2) {
  transform: rotate(6deg) translateY(-6px);
}

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

.logo-badge {
  position: absolute;
  z-index: 4;
  top: 4px;
  right: -4px;
  width: 86px;
  height: 86px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(7deg);
  overflow: hidden;
}

.logo-badge img {
  width: 100%;
  height: 100%;
}

.hero-sticker {
  position: absolute;
  z-index: 4;
  left: -8px;
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-sticker .score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.86rem;
}

.hero-sticker span small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.cache-chip {
  position: absolute;
  z-index: 4;
  right: -6px;
  bottom: 62px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  transform: rotate(2deg);
}

.cache-chip .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.8s ease-in-out infinite;
}

/* ---------------- 数据条 ---------------- */

.stats {
  border-block: 2px solid var(--ink);
  background: var(--white);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat {
  padding: 22px 10px;
  text-align: center;
  border-right: 1.5px dashed rgba(21, 18, 16, 0.28);
}

.stat:last-child {
  border-right: 0;
}

.stat-value {
  font-family: var(--mono);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.stat-value em {
  font-style: normal;
  color: var(--orange);
}

.stat-label {
  margin-top: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

/* ---------------- 滚动字幕 ---------------- */

.marquee {
  overflow: hidden;
  padding: 13px 0;
  background: var(--ink);
  color: var(--paper);
  border-block: 2px solid var(--ink);
  transform: rotate(-0.6deg) scale(1.01);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-inline: 24px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
  text-transform: uppercase;
}

.marquee-item::after {
  content: "✳";
  color: var(--orange);
  font-size: 14px;
}

/* ---------------- 功能卡片 ---------------- */

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

.feature-card {
  position: relative;
  padding: 26px 24px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.feature-card:hover {
  transform: translate(-3px, -3px) rotate(-0.4deg);
  box-shadow: 9px 9px 0 var(--ink);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--orange-soft);
  box-shadow: 3px 3px 0 var(--ink);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card:nth-child(2n) .feature-icon {
  background: var(--blue-soft);
}

.feature-card h3 {
  margin-top: 18px;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.feature-index {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(21, 18, 16, 0.35);
}

/* ---------------- 阅读器展示 ---------------- */

.reader {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.reader-visual {
  position: relative;
  padding: 18px 18px 22px 12px;
}

.reader-window-wrap {
  position: relative;
  z-index: 1;
}

.reader-window {
  position: relative;
  z-index: 1;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(1.4deg);
}

.reader-window .art-shot {
  background: var(--paper-2);
}

.reader-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
}

.chip--orange {
  background: var(--orange);
  color: var(--white);
}

.chip--blue {
  background: var(--blue);
  color: var(--white);
}

.reader-copy .section-title {
  margin-top: 4px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.check-list li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.check-list .tick {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
}

.check-list .tick svg {
  width: 13px;
  height: 13px;
}

.check-list strong {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.reader-note {
  margin-top: 26px;
  padding: 14px 16px;
  border: 1.5px dashed rgba(21, 18, 16, 0.35);
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.5);
}

/* 书架小卡片：填充右侧文案高度，强化“书架追更”的信息 */
.shelf-card {
  position: relative;
  z-index: 0;
  width: 84%;
  margin: 16px 0 0 auto;
  padding: 14px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(1.6deg);
}

.shelf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 800;
}

.shelf-head span:last-child {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.shelf-covers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.shelf-covers img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
}

.shelf-bar {
  height: 9px;
  margin-top: 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  overflow: hidden;
}

.shelf-bar span {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--orange);
  border-right: 1.5px solid var(--ink);
}

.shelf-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

/* ---------------- 热门漫画封面 ---------------- */

.covers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 26px);
}

.cover-card {
  display: block;
  min-width: 0;
}

.cover-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 2px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cover-card:hover .cover-media {
  transform: translateY(-7px) rotate(-1.5deg);
  box-shadow: 7px 9px 0 var(--ink);
}

.cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.cover-card:hover .cover-media img {
  transform: scale(1.04);
}

.cover-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.cover-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-top: 11px;
}

.cover-genre {
  font-size: 0.88rem;
  font-weight: 800;
}

.cover-read {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.covers-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1.5px dashed rgba(21, 18, 16, 0.3);
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.genre-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.genre-cloud a {
  padding: 4px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}

.genre-cloud a:hover {
  background: var(--orange-soft);
  transform: translateY(-2px);
}

/* ---------------- 步骤 ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 28px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
}

.step-card h3 {
  margin-top: 16px;
  font-size: 1.05rem;
  font-weight: 900;
}

.step-card p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------------- 下载区 ---------------- */

.dl-intro {
  max-width: 640px;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin-top: 36px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--orange);
}

.dl-card--ios {
  box-shadow: 8px 8px 0 var(--blue);
}

.dl-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}

.dl-icon svg {
  width: 28px;
  height: 28px;
}

.dl-card h3 {
  font-size: 1.15rem;
  font-weight: 900;
}

.dl-meta {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-soft);
}

.dl-desc {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.dl-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1.5px dashed rgba(21, 18, 16, 0.28);
  font-size: 0.86rem;
}

.dl-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.dl-list svg {
  width: 15px;
  height: 15px;
  margin-top: 4px;
  flex: none;
  color: var(--green);
}

.dl-card .btn {
  margin-top: 22px;
}

.dl-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  margin-top: 26px;
  font-size: 0.8rem;
  color: rgba(247, 242, 232, 0.7);
}

.dl-foot strong {
  color: var(--paper);
}

.dl-foot .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------------- 入口导航卡 ---------------- */

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

.entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}

.entry-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--orange-soft);
}

.entry-num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.entry-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 900;
}

.entry-title svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.18s var(--ease);
}

.entry-card:hover .entry-title svg {
  transform: translate(3px, -3px);
}

.entry-desc {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

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

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-item {
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 3px 3px 0 rgba(21, 18, 16, 0.9);
  overflow: hidden;
}

.faq-item[open] {
  box-shadow: 3px 3px 0 var(--orange);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-icon {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% 4px auto;
  height: 2px;
  background: var(--ink);
  transform: translateY(-50%);
  transition: transform 0.2s var(--ease);
}

.faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
  background: var(--orange);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--white);
}

.faq-item[open] .faq-icon::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-a {
  padding: 0 22px 20px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.faq-a strong {
  color: var(--ink);
}

.faq-more {
  margin-top: 26px;
}

/* ---------------- CTA ---------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 7vw, 84px);
  border-block: 2px solid var(--ink);
  background: var(--orange);
  color: var(--white);
  background-image: radial-gradient(rgba(21, 18, 16, 0.16) 1.3px, transparent 1.6px);
  background-size: 16px 16px;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}

.cta-title {
  max-width: 640px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-shadow: 3px 3px 0 rgba(21, 18, 16, 0.28);
}

.cta-title small {
  display: block;
  margin-top: 10px;
  font-size: 0.36em;
  font-weight: 600;
  letter-spacing: 0;
  text-shadow: none;
  color: rgba(255, 253, 248, 0.92);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-band .btn {
  border-color: var(--ink);
}

.cta-band .btn--ghost {
  background: rgba(255, 253, 248, 0.14);
  color: var(--white);
}

.cta-band .btn--ghost:hover {
  background: rgba(255, 253, 248, 0.24);
}

/* ---------------- 子页面 ---------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(34px, 5vw, 60px) clamp(36px, 5vw, 56px);
  background: var(--paper-2);
  background-image: radial-gradient(rgba(21, 18, 16, 0.08) 1.2px, transparent 1.4px);
  background-size: 16px 16px;
  border-bottom: 2px solid var(--ink);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--orange-soft);
  opacity: 0.75;
  pointer-events: none;
}

.page-hero__badge {
  display: none;
}

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

@media (min-width: 1200px) {
  .page-hero__badge {
    display: flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(4deg);
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 12px;
    border: 2px solid var(--ink);
    border-radius: 26px;
    background: var(--white);
    box-shadow: 8px 8px 0 var(--ink);
  }

  .page-hero__badge img {
    width: 112px;
    height: 112px;
    border: 2px solid var(--ink);
    border-radius: 20px;
  }

  .page-hero__badge span {
    padding: 2px 12px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb .sep {
  color: rgba(21, 18, 16, 0.35);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.page-title {
  margin-top: 18px;
  max-width: 900px;
  font-size: clamp(1.75rem, 4.4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.page-title em {
  font-style: normal;
  color: var(--orange);
  text-shadow: 2px 2px 0 var(--ink);
}

.page-lead {
  margin-top: 16px;
  max-width: 62ch;
  font-size: 1rem;
  color: var(--ink-soft);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.meta-chip svg {
  width: 13px;
  height: 13px;
}

.article {
  max-width: 880px;
  margin-inline: auto;
  padding-block: clamp(40px, 6vw, 64px);
}

.section .article {
  padding-block: 0;
}

.article > p,
.article > ul,
.article > ol,
.article > table,
.article > .callout,
.article > .faq-list {
  margin-top: 18px;
}

.article p {
  font-size: 1rem;
  line-height: 1.9;
  color: #2c2622;
}

.article strong {
  color: var(--ink);
}

.article a {
  color: var(--orange-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.article h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.article > h2:first-child {
  margin-top: 0;
}

.article h2::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border: 2px solid var(--ink);
  transform: rotate(45deg);
}

.article h3 {
  margin-top: 30px;
  font-size: 1.1rem;
  font-weight: 900;
}

.article ul,
.article ol {
  display: grid;
  gap: 9px;
  padding-left: 0;
}

.article ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.article ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 2px;
  transform: rotate(45deg);
}

.article ol {
  counter-reset: art-list;
}

.article ol li {
  position: relative;
  padding-left: 40px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink-soft);
  counter-increment: art-list;
}

.article ol li::before {
  content: counter(art-list);
  position: absolute;
  left: 0;
  top: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.9rem;
  background: var(--white);
}

.article th,
.article td {
  padding: 12px 16px;
  border-bottom: 1.5px solid rgba(21, 18, 16, 0.18);
  text-align: left;
}

.article th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.article tr:last-child td {
  border-bottom: 0;
}

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

.article td strong {
  color: var(--ink);
}

.callout {
  position: relative;
  padding: 18px 20px 18px 22px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 5px;
  background: var(--orange);
  border-radius: 0 4px 4px 0;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.callout--warn {
  background: #fff4ea;
}

.callout--warn::before {
  background: var(--orange-deep);
}

.callout--info::before {
  background: var(--blue);
}

.related {
  padding-block: clamp(40px, 6vw, 64px);
  border-top: 2px solid var(--ink);
  background: var(--paper-2);
}

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

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.related-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.related-card span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

.related-card strong {
  font-size: 0.96rem;
  font-weight: 800;
}

.related-card small {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

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

.site-footer {
  background: var(--ink);
  color: var(--paper);
  background-image: radial-gradient(rgba(247, 242, 232, 0.08) 1px, transparent 1.4px);
  background-size: 18px 18px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.9fr));
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(44px, 6vw, 68px);
}

.footer-brand {
  max-width: 340px;
}

.footer-brand .brand {
  color: var(--paper);
}

.footer-brand .brand-logo {
  background: var(--paper);
}

.footer-desc {
  margin-top: 18px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(247, 242, 232, 0.7);
}

.footer-age {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1.5px solid rgba(247, 242, 232, 0.28);
  border-radius: 10px;
  font-size: 0.75rem;
  line-height: 1.65;
  color: rgba(247, 242, 232, 0.68);
}

.footer-age .age-badge {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

.footer-col h3 {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.45);
}

.footer-links {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(247, 242, 232, 0.82);
  transition: color 0.15s var(--ease), transform 0.15s var(--ease);
}

.footer-links a:hover {
  color: var(--orange);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 20px;
  border-top: 1px solid rgba(247, 242, 232, 0.18);
  font-size: 0.75rem;
  color: rgba(247, 242, 232, 0.55);
}

.footer-updated {
  white-space: nowrap;
}

.footer-updated time {
  color: rgba(247, 242, 232, 0.82);
}

.footer-bottom a {
  color: rgba(247, 242, 232, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: var(--orange);
}

.footer-note {
  width: 100%;
  font-size: 0.72rem;
  line-height: 1.7;
  color: rgba(247, 242, 232, 0.4);
}

/* ---------------- 移动端吸底下载条 ---------------- */

.download-bar {
  display: none;
}

/* ---------------- 404 ---------------- */

.error-page {
  display: grid;
  place-items: center;
  min-height: 64vh;
  padding-block: 64px;
  text-align: center;
}

.error-code {
  font-family: var(--mono);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--orange);
  text-shadow: 5px 5px 0 var(--ink);
}

.error-page h1 {
  margin-top: 18px;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
}

.error-page p {
  margin-top: 12px;
  color: var(--ink-soft);
}

.error-page .btn-row {
  justify-content: center;
  margin-top: 26px;
}

/* ---------------- 动效 ---------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.7);
  }
}

/* ---------------- 响应式 ---------------- */

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

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

  .hero-art {
    max-width: 620px;
    margin-inline: auto;
    padding: 30px 20px 34px;
  }

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

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

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

  .reader-visual {
    order: 2;
    max-width: 640px;
    margin-inline: auto;
    width: 100%;
  }

  .reader-copy {
    order: 1;
  }

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

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

  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 560px;
  }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    right: 0;
    z-index: 80;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 18px 30px rgba(21, 18, 16, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-link {
    padding: 14px 6px;
    font-size: 1rem;
    border-bottom: 1.5px dashed rgba(21, 18, 16, 0.18);
    border-radius: 0;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.is-active {
    color: var(--orange-deep);
  }

  .nav-cta {
    margin: 16px 0 0;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
    margin-left: 10px;
  }

  .header-inner {
    position: relative;
    min-height: 64px;
  }

  .header-dl {
    display: inline-flex;
    margin-left: auto;
    min-height: 40px;
    padding: 8px 16px;
    font-size: 0.84rem;
  }

  .download-bar {
    position: fixed;
    z-index: 95;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 242, 232, 0.97);
    backdrop-filter: blur(12px);
    border-top: 2px solid var(--ink);
    transform: translateY(110%);
    transition: transform 0.25s var(--ease);
  }

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

  .download-bar .btn {
    flex: 1;
    min-height: 46px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .download-bar .btn svg {
    width: 18px;
    height: 18px;
  }

  body {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: 72px;
  }

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

  .stats-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat:nth-child(3) {
    border-right: 0;
  }

  .stat:nth-child(n + 4) {
    border-top: 1.5px dashed rgba(21, 18, 16, 0.28);
  }

  .stat:nth-child(5) {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15.5px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    padding-block: 34px 46px;
  }

  .hero-title {
    margin-top: 18px;
    font-size: clamp(2.1rem, 8vw, 2.4rem);
  }

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

  .hero-art {
    padding: 34px 8px 40px;
  }

  .art-covers {
    display: none;
  }

  .logo-badge {
    width: 68px;
    height: 68px;
    top: 0;
    right: 0;
    border-radius: 18px;
  }

  .hero-sticker {
    left: -2px;
    bottom: -4px;
    padding: 7px 13px 7px 9px;
    font-size: 0.72rem;
  }

  .hero-sticker .score {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }

  .cache-chip {
    right: 0;
    bottom: 74px;
    font-size: 9.5px;
  }

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

  .stat {
    padding: 16px 8px;
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-child(3) {
    border-right: 1.5px dashed rgba(21, 18, 16, 0.28);
  }

  .stat:nth-child(n + 3) {
    border-top: 1.5px dashed rgba(21, 18, 16, 0.28);
  }

  .stat:nth-child(4) {
    border-right: 0;
  }

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

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

  .covers-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .dl-card {
    padding: 22px;
  }

  .article h2 {
    margin-top: 38px;
    font-size: 1.25rem;
  }

  .article th,
  .article td {
    padding: 10px 12px;
    font-size: 0.84rem;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .cta-inner {
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }

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

  .page-hero {
    padding-block: 26px 36px;
  }

  .page-actions .btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.8rem, 7.8vw, 2.3rem);
  }

  .hero-title .line-1 {
    white-space: normal;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .stat:last-child {
    grid-column: span 2;
  }
}

@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 [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
