/* ═══════════════════════════════════════════
   Studio Press / Paper Mill & Ink Theme
   Cream paper base + Crimson ink + Sage green
   ═══════════════════════════════════════════ */

:root {
  --paper: #faf6f0;
  --paper-warm: #f5efe5;
  --paper-deep: #ede6d8;
  --ink: #1a1a2e;
  --ink-light: #2d2d44;
  --crimson: #c41e3a;
  --crimson-dark: #9b1830;
  --sage: #5b7553;
  --sage-light: #7a9a6e;
  --gold: #b8860b;
  --gold-light: #d4a843;
  --slate: #64748b;
  --white: #ffffff;
  --shadow: rgba(26,26,46,0.08);
  --shadow-md: rgba(26,26,46,0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes inkDrop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes typeIn {
  from { width: 0; }
  to { width: 100%; }
}

img { max-width: 100%; display: block; }
a { color: var(--crimson); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--crimson-dark); }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,246,240,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--ink);
  transition: box-shadow var(--transition);
}
.topnav.scrolled { box-shadow: 0 2px 20px var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.nav-brand-mark {
  width: 36px;
  height: 36px;
  background: var(--crimson);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 18px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-light);
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover { color: var(--crimson); background: rgba(196,30,58,0.06); }
.nav-link.active {
  color: var(--white);
  background: var(--ink);
  font-weight: 600;
}
.nav-cta { margin-left: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
  font-family: inherit;
}
.btn:disabled { opacity: 0.7; cursor: not-allowed; }
.btn-crimson {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}
.btn-crimson:hover { background: var(--crimson-dark); border-color: var(--crimson-dark); color: var(--white); }
.btn-sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn-sage:hover { background: var(--sage-light); border-color: var(--sage-light); color: var(--white); }
.btn-ink {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-ink:hover { background: var(--ink-light); border-color: var(--ink-light); color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-crimson {
  background: transparent;
  color: var(--crimson);
  border-color: var(--crimson);
}
.btn-outline-crimson:hover { background: var(--crimson); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.btn-white:hover { background: var(--paper-warm); border-color: var(--paper-warm); }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: 10px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ── Sections ── */
.sec {
  padding: 80px 0;
}
.sec-warm { background: var(--paper-warm); }
.sec-deep { background: var(--paper-deep); }
.sec-ink { background: var(--ink); color: var(--white); }
.sec-ink2 { background: var(--ink-light); color: var(--white); }
.sec-white { background: var(--white); }
.sec-head {
  text-align: center;
  margin-bottom: 56px;
}
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.sec-tag-crimson { background: rgba(196,30,58,0.1); color: var(--crimson); }
.sec-tag-sage { background: rgba(91,117,83,0.12); color: var(--sage); }
.sec-tag-gold { background: rgba(184,134,11,0.12); color: var(--gold); }
.sec-tag-ink { background: rgba(26,26,46,0.08); color: var(--ink); }
.sec-tag-white { background: rgba(255,255,255,0.15); color: var(--white); }
.sec-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.sec-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.sec-title-light { color: var(--white); }
.sec-sub {
  font-size: 17px;
  color: var(--slate);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.sec-sub-light { color: rgba(255,255,255,0.7); }

/* ── Hero ── */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,30,58,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91,117,83,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text { padding-bottom: 80px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  animation: inkDrop 0.6s ease forwards;
}
.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title .crim { color: var(--crimson); }
.hero-title .sage-hl { color: var(--sage-light); }
.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.hero-trust-item svg { flex-shrink: 0; }
.hero-visual {
  position: relative;
  padding-bottom: 80px;
}
.hero-paper {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  transform: perspective(800px) rotateY(-3deg);
  transition: transform var(--transition);
}
.hero-paper:hover { transform: perspective(800px) rotateY(0deg); }
.hp-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-deep);
}
.hp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hp-dot-r { background: #ef4444; }
.hp-dot-y { background: #eab308; }
.hp-dot-g { background: #22c55e; }
.hp-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-left: auto;
}
.hp-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-card {
  background: var(--paper-warm);
  border-radius: 8px;
  padding: 16px;
  border-left: 3px solid var(--crimson);
}
.hp-card:nth-child(2) { border-left-color: var(--sage); }
.hp-card:nth-child(3) { border-left-color: var(--gold); }
.hp-card:nth-child(4) { border-left-color: var(--ink); }
.hp-card-icon { margin-bottom: 8px; }
.hp-card-label { font-size: 12px; color: var(--slate); margin-bottom: 2px; }
.hp-card-val { font-size: 18px; font-weight: 700; color: var(--ink); }

/* ── Stats Ribbon ── */
.stats-ribbon {
  background: var(--crimson);
  color: var(--white);
  padding: 32px 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { padding: 8px 0; }
.stat-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 14px;
  opacity: 0.85;
}

/* ── Feature Grid ── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--paper-deep);
  border-top: 4px solid var(--crimson);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.feat-card:hover::before { transform: scaleX(1); }
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-md);
  border-top-color: transparent;
}
.feat-card.fc-sage { border-top-color: var(--sage); }
.feat-card.fc-sage::before { background: var(--sage); }
.feat-card.fc-gold { border-top-color: var(--gold); }
.feat-card.fc-gold::before { background: var(--gold); }
.feat-card.fc-ink { border-top-color: var(--ink); }
.feat-card.fc-ink::before { background: var(--ink); }
.feat-card.fc-crimson { border-top-color: var(--crimson); }
.feat-card.fc-crimson::before { background: var(--crimson); }
.feat-card.fc-rose { border-top-color: #e11d48; }
.feat-card.fc-rose::before { background: #e11d48; }
.feat-card.fc-sky { border-top-color: #0284c7; }
.feat-card.fc-sky::before { background: #0284c7; }
.feat-card.fc-emerald { border-top-color: #059669; }
.feat-card.fc-emerald::before { background: #059669; }
.feat-card.fc-amber { border-top-color: #d97706; }
.feat-card.fc-amber::before { background: #d97706; }
.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.fi-crimson { background: rgba(196,30,58,0.1); color: var(--crimson); }
.fi-sage { background: rgba(91,117,83,0.12); color: var(--sage); }
.fi-gold { background: rgba(184,134,11,0.12); color: var(--gold); }
.fi-ink { background: rgba(26,26,46,0.08); color: var(--ink); }
.fi-rose { background: rgba(225,29,72,0.1); color: #e11d48; }
.fi-sky { background: rgba(2,132,199,0.1); color: #0284c7; }
.fi-emerald { background: rgba(5,150,105,0.1); color: #059669; }
.fi-amber { background: rgba(217,119,6,0.1); color: #d97706; }
.feat-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.feat-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* ── Platform Grid ── */
.plat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.plat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--paper-deep);
  transition: all var(--transition);
}
.plat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-md);
}
.plat-card.featured {
  background: var(--ink);
  color: var(--white);
  border-color: transparent;
  grid-column: span 1;
}
.plat-card.featured .plat-name { color: var(--white); }
.plat-card.featured .plat-ver { color: rgba(255,255,255,0.6); }
.plat-card.featured .plat-desc { color: rgba(255,255,255,0.6); }
.plat-badge {
  display: inline-block;
  background: var(--crimson);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.plat-icon {
  margin: 0 auto 16px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plat-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}
.plat-ver {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 16px;
}
.plat-desc {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ── Deep Feature Rows ── */
.deep-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.deep-row + .deep-row { border-top: 1px solid var(--paper-deep); }
.deep-row.rev .deep-info { order: 2; }
.deep-row.rev .deep-visual { order: 1; }
.deep-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.db-crimson { background: rgba(196,30,58,0.1); color: var(--crimson); }
.db-sage { background: rgba(91,117,83,0.12); color: var(--sage); }
.db-gold { background: rgba(184,134,11,0.12); color: var(--gold); }
.db-ink { background: rgba(26,26,46,0.08); color: var(--ink); }
.deep-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.deep-desc {
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 20px;
  line-height: 1.7;
}
.deep-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.deep-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}
.deep-list li svg { flex-shrink: 0; margin-top: 3px; }
.deep-visual {
  background: var(--paper-warm);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--paper-deep);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dv-panel-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}
.dv-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.dv-bar-label {
  font-size: 13px;
  color: var(--slate);
  width: 80px;
  text-align: right;
  flex-shrink: 0;
}
.dv-bar-track {
  flex: 1;
  height: 10px;
  background: var(--paper-deep);
  border-radius: 5px;
  overflow: hidden;
}
.dv-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 1s ease;
}
.dvbf-crimson { background: var(--crimson); }
.dvbf-sage { background: var(--sage); }
.dvbf-gold { background: var(--gold); }
.dvbf-ink { background: var(--ink); }
.dv-bar-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  width: 40px;
  flex-shrink: 0;
}
.dv-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.dv-stat {
  text-align: center;
  padding: 12px;
  background: var(--white);
  border-radius: 8px;
}
.dv-stat-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.dvsn-crimson { color: var(--crimson); }
.dvsn-sage { color: var(--sage); }
.dvsn-gold { color: var(--gold); }
.dv-stat-lbl {
  font-size: 11px;
  color: var(--slate);
}

/* ── Review Grid ── */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rev-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--paper-deep);
  transition: all var(--transition);
}
.rev-card:hover {
  box-shadow: 0 8px 24px var(--shadow);
}
.rev-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  color: var(--gold);
}
.rev-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.rev-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rev-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  flex-shrink: 0;
}
.av-crimson { background: var(--crimson); }
.av-sage { background: var(--sage); }
.av-gold { background: var(--gold); }
.av-ink { background: var(--ink); }
.av-rose { background: #e11d48; }
.av-sky { background: #0284c7; }
.rev-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.rev-role {
  font-size: 12px;
  color: var(--slate);
}

/* ── Comparison Table ── */
.cmp-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--paper-deep);
  background: var(--white);
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 700px;
}
.cmp-table th {
  background: var(--ink);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.cmp-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--paper-deep);
}
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table tr:hover td { background: rgba(196,30,58,0.03); }
.cmp-hl { font-weight: 700; color: var(--crimson); }
.cmp-yes { color: var(--sage); font-weight: 600; }
.cmp-no { color: #ef4444; font-weight: 600; }
.cmp-part { color: var(--gold); font-weight: 600; }

/* ── FAQ ── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--paper-deep);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--crimson); }
.faq-item.open { border-color: var(--crimson); box-shadow: 0 4px 16px var(--shadow); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  gap: 16px;
  user-select: none;
}
.faq-q:hover { color: var(--crimson); }
.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson), var(--gold), var(--sage), var(--crimson));
}
.cta-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Download Hero ── */
.dl-hero {
  background: var(--ink);
  color: var(--white);
  padding: 60px 0 40px;
  text-align: center;
}
.dl-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(196,30,58,0.2);
  color: var(--crimson);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.dl-hero-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}
.dl-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Download Main Card ── */
.dl-main {
  margin-top: -40px;
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
}
.dl-main-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 60px var(--shadow-md);
  border: 1px solid var(--paper-deep);
  max-width: 720px;
  margin: 0 auto;
}
.dl-main-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--paper-deep);
}
.dl-main-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dl-main-info { flex: 1; }
.dl-main-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}
.dl-main-meta {
  font-size: 13px;
  color: var(--slate);
  margin-top: 2px;
}
.dl-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.dl-spec {
  background: var(--paper-warm);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}
.dl-spec-label {
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 4px;
}
.dl-spec-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.dl-sec-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(91,117,83,0.08);
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--sage);
  font-weight: 600;
}
.dl-main-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Other Platforms ── */
.op-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.op-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--paper-deep);
  text-align: center;
  transition: all var(--transition);
}
.op-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow);
}
.op-icon {
  margin: 0 auto 14px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.op-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.op-ver {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 16px;
}
.op-steps {
  text-align: left;
  list-style: none;
  margin-bottom: 20px;
}
.op-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 8px;
}
.op-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--ink);
}

/* ── Guide Grid ── */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.guide-col-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.guide-col-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.guide-col-dot.dot-crimson { background: var(--crimson); }
.guide-col-dot.dot-sage { background: var(--sage); }
.guide-steps { list-style: none; }
.gstep {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.gstep-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  flex-shrink: 0;
}
.gsn-crimson { background: var(--crimson); }
.gsn-sage { background: var(--sage); }
.gstep-body { flex: 1; }
.gstep-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.gstep-desc {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}

/* ── Requirements ── */
.req-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.req-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--paper-deep);
}
.req-icon {
  margin-bottom: 14px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.ri-crimson { background: rgba(196,30,58,0.1); color: var(--crimson); }
.ri-sage { background: rgba(91,117,83,0.12); color: var(--sage); }
.ri-gold { background: rgba(184,134,11,0.12); color: var(--gold); }
.ri-ink { background: rgba(26,26,46,0.08); color: var(--ink); }
.req-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.req-val {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}

/* ── Version Timeline ── */
.ver-list {
  max-width: 700px;
  margin: 0 auto 56px;
}
.ver-item {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
  position: relative;
}
.ver-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20px;
  flex-shrink: 0;
}
.ver-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.vd-crimson { background: var(--crimson); }
.vd-sage { background: var(--sage); }
.vd-gold { background: var(--gold); }
.vd-ink { background: var(--ink); }
.vd-rose { background: #e11d48; }
.ver-line {
  width: 2px;
  flex: 1;
  background: var(--paper-deep);
  min-height: 24px;
}
.ver-item:last-child .ver-line { display: none; }
.ver-body {
  padding-bottom: 24px;
  flex: 1;
}
.ver-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.ver-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.ver-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 50px;
}
.vt-stable { background: rgba(91,117,83,0.12); color: var(--sage); }
.vt-lts { background: rgba(184,134,11,0.12); color: var(--gold); }
.vt-beta { background: rgba(196,30,58,0.1); color: var(--crimson); }
.ver-date {
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 6px;
}
.ver-desc {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}

/* ── Security Banner ── */
.sec-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: rgba(91,117,83,0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(91,117,83,0.15);
  margin-bottom: 40px;
}
.sec-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.sec-banner-text { flex: 1; }
.sec-banner-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--sage);
  margin-bottom: 2px;
}
.sec-banner-desc {
  font-size: 13px;
  color: var(--slate);
}

/* ── Article Hero ── */
.art-hero {
  background: var(--ink);
  color: var(--white);
  padding: 60px 0 48px;
}
.art-hero-inner { text-align: center; }
.art-hero-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.art-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto 28px;
}
.kw-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.kw {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── Article Layout ── */
.art-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 56px 0;
}
.art-body { min-width: 0; }
.art-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--crimson);
}
.art-body h2:first-child { margin-top: 0; }
.art-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 10px;
}
.art-body p {
  font-size: 15px;
  color: #4a4a5a;
  margin-bottom: 16px;
  line-height: 1.8;
}
.art-body ul, .art-body ol {
  margin: 0 0 16px 20px;
  font-size: 15px;
  color: #4a4a5a;
  line-height: 1.8;
}
.art-body li { margin-bottom: 6px; }
.art-body strong { color: var(--ink); }

/* ── Inline CTA ── */
.inline-cta {
  background: var(--paper-warm);
  border: 2px solid var(--crimson);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
  text-align: center;
}
.inline-cta-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.inline-cta-desc {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 20px;
}

/* ── Tips Grid ── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0;
}
.tip-card {
  background: var(--white);
  border-radius: 8px;
  padding: 18px;
  border: 1px solid var(--paper-deep);
}
.tip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--crimson);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.tip-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.tip-desc {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}

/* ── Sidebar ── */
.sidebar { position: relative; }
.sbox {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--paper-deep);
  margin-bottom: 20px;
}
.sbox-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}
.sdl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--paper-deep);
  background: var(--paper-warm);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 10px;
  font-family: inherit;
  text-align: left;
}
.sdl-btn:hover {
  border-color: var(--crimson);
  background: rgba(196,30,58,0.04);
}
.sdl-btn.primary {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
}
.sdl-btn.primary:hover { background: var(--crimson-dark); }
.sdl-btn-icon { flex-shrink: 0; }
.sdl-btn-info { flex: 1; }
.sdl-btn-name { font-size: 14px; font-weight: 600; }
.sdl-btn-ver { font-size: 12px; opacity: 0.7; }

.stoc { margin-bottom: 4px; }
.toc-link {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--slate);
  border-bottom: 1px solid var(--paper-deep);
  transition: color var(--transition);
}
.toc-link:hover { color: var(--crimson); }
.toc-link:last-child { border-bottom: none; }

.sstat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sstat-item {
  text-align: center;
  padding: 12px;
  background: var(--paper-warm);
  border-radius: 8px;
}
.sstat-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--crimson);
  line-height: 1;
  margin-bottom: 4px;
}
.sstat-lbl {
  font-size: 11px;
  color: var(--slate);
}

.side-security {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: rgba(91,117,83,0.06);
  border-radius: 8px;
  font-size: 13px;
  color: var(--sage);
  line-height: 1.5;
}
.side-security svg { flex-shrink: 0; margin-top: 2px; }

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 40px 0;
  text-align: center;
}
.footer-inner { max-width: 640px; margin: 0 auto; }
.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}
.footer-security {
  font-size: 14px;
  color: var(--sage-light);
  margin-bottom: 8px;
}
.footer-note {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-text { padding-bottom: 40px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-row { grid-template-columns: 1fr; gap: 32px; }
  .deep-row.rev .deep-info { order: 1; }
  .deep-row.rev .deep-visual { order: 2; }
  .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: repeat(2, 1fr); }
  .art-layout { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .dl-specs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 2px solid var(--ink);
    gap: 4px;
  }
  .nav-menu.active { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: 0; margin-top: 8px; }
  .hero-title { font-size: 36px; }
  .sec-title { font-size: 28px; }
  .feat-grid { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: 1fr; }
  .rev-grid { grid-template-columns: 1fr; }
  .op-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .req-grid { grid-template-columns: 1fr; }
  .dl-specs { grid-template-columns: 1fr 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .sstat { grid-template-columns: 1fr 1fr; }
  .cta-title { font-size: 26px; }
  .dl-hero-title { font-size: 30px; }
  .art-hero-title { font-size: 30px; }
  .dv-stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { padding: 14px 28px; font-size: 15px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .dl-specs { grid-template-columns: 1fr; }
  .dl-main-card { padding: 24px; }
  .dl-main-head { flex-direction: column; text-align: center; }
}
