:root {
  --bg: #fdfbf7;
  --accent: #b22222;
  /* 中国红 */
  --muted: #5c4b3b;
  --card: #fffaf5;
  --glass: rgba(255, 255, 255, 0.7);
  --radius: 16px;
  --maxw: 1100px;
}

* {
  box-sizing: border-box
}

body {
  font-family: 'Noto Serif SC', serif;
  margin: 0;
  background-color: var(--bg);
  background-image: url('images/bg_texture.png');
  color: #3a2f25;
  line-height: 1.6;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

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

.logo img {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08)
}

.brand h1 {
  font-size: 22px;
  margin: 0;
  color: #2e1e1e
}

.brand p {
  margin: 0;
  font-size: 13px;
  color: var(--muted)
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-weight: 600
}

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

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 290px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 42px 0 46px;
  background: transparent;
  border-top: 1px solid rgba(58, 47, 37, 0.08);
  border-bottom: 1px solid rgba(58, 47, 37, 0.08);
}

.hero-left {
  max-width: 620px;
  padding: 0 12px 0 0;
}

.kicker {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px
}

.hero-title {
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.28;
  margin: 0 0 12px;
  color: #2e1e1e
}

.hero-sub {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 24px
}

.ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(178, 34, 34, 0.2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(178, 34, 34, 0.25);
}

.btn:active {
  transform: scale(0.96);
  box-shadow: 0 2px 8px rgba(178, 34, 34, 0.15);
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* Preview card */
.preview-card {
  justify-self: end;
  width: min(100%, 280px);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center
}

.device {
  width: 100%;
  height: 440px;
  overflow: hidden;
  border: 7px solid rgba(255, 250, 245, .9);
  border-radius: 26px;
  background: var(--card);
  box-shadow: 0 24px 54px -24px rgba(46, 30, 30, .34);
}

.device img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0
}

.feature {
  background: var(--card);
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05)
}

.feature h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #2e1e1e
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px
}

/* Community Boards */
#community-boards {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  margin: 40px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

#community-boards h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #2e1e1e;
}

#community-boards p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
}

/* Gallery */
#gallery {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  margin: 40px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.gallery {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.gallery::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

.gallery img {
  width: auto;
  height: 480px;
  /* Or a fixed height */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.gallery .col {
  flex: 0 0 auto;
  /* Do not grow or shrink */
}

/* Footer */
footer {
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  margin-top: 28px;
  line-height: 1.8;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Download Section */
#download {
  margin-top: 54px;
  padding: 48px 0 12px;
  border-top: 1px solid rgba(58, 47, 37, 0.12);
}

/* ==================== 小程序入口（桌面扫码 / 微信内直跳） ==================== */
.mp-entry {
  margin-top: 18px;
  padding: 22px 0;
}

.mp-entry-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 26px 30px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(184, 134, 59, 0.16), transparent 46%),
    linear-gradient(118deg, #211916 0%, #35241d 58%, #241712 100%);
  color: #fffaf5;
  box-shadow: 0 22px 48px -34px rgba(30, 17, 12, 0.9);
}

.mp-entry-card .download-kicker {
  color: #e8c46b;
}

.mp-entry-card h3 {
  margin: 0 0 10px;
  color: #fffaf5;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
}

.mp-entry-desc {
  margin: 0 0 16px;
  max-width: 520px;
  color: rgba(255, 250, 245, 0.78);
  font-size: 14px;
  line-height: 1.8;
}

.mp-entry-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
}

.mp-launch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #07c160;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.mp-scheme-btn {
  display: none;
}

.mp-entry-tip {
  margin: 12px 0 0;
  color: rgba(255, 250, 245, 0.52);
  font-size: 12px;
}

.mp-entry-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mp-entry-qr img {
  width: 176px;
  height: 176px;
  padding: 8px;
  background: #fff;
  border-radius: 14px;
}

.mp-entry-qr span {
  color: rgba(255, 250, 245, 0.55);
  font-size: 12px;
  letter-spacing: 0.06em;
}

@media (max-width: 860px) {
  .mp-entry-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .mp-entry-qr {
    flex-direction: row;
    justify-content: flex-start;
  }

  .mp-entry-qr img {
    width: 128px;
    height: 128px;
  }
}

.download-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 24px;
}

.download-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#download h3 {
  margin: 0;
  color: #2e1e1e;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.2;
}

.download-intro {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

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

.store-link {
  display: flex;
  align-items: center;
  min-height: 112px;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(58, 47, 37, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.84);
  color: #211916;
  text-decoration: none;
  box-shadow: 0 10px 28px -24px rgba(40, 25, 18, 0.65);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.store-link:hover {
  transform: translateY(-3px);
  border-color: rgba(178, 34, 34, 0.28);
  box-shadow: 0 18px 36px -26px rgba(40, 25, 18, 0.75);
}

.store-link:focus-visible,
.qr-item:focus-visible {
  outline: 3px solid rgba(178, 34, 34, 0.28);
  outline-offset: 3px;
}

.store-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.store-logo svg {
  width: 30px;
  height: 30px;
}

.store-logo--apple {
  color: #fff;
  background: linear-gradient(145deg, #29b6f6, #0d78ef);
}

.store-logo--google {
  background: #fff;
  border: 1px solid #eee8e0;
}

.store-logo--google svg {
  width: 31px;
  height: 31px;
}

.store-logo--android {
  color: #fff;
  background: #3ddc84;
}

.store-logo--huawei {
  color: #fff;
  background: #c8102e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* 桌面版分组与徽标 */
.store-group-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 -2px;
  padding-top: 12px;
  border-top: 1px solid rgba(58, 47, 37, 0.1);
  color: #3a2f25;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-group-meta {
  color: #9a8a7b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
}

.store-logo--macos {
  color: #fff;
  background: linear-gradient(145deg, #7a7a80, #2f2f33);
}

.store-logo--windows {
  color: #fff;
  background: linear-gradient(145deg, #29a3f2, #0f6cc4);
}

.store-logo--macappstore {
  color: #fff;
  background: linear-gradient(145deg, #29b6f6, #0d78ef);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.store-logo--msstore {
  color: #fff;
  background: linear-gradient(145deg, #29a3f2, #0f6cc4);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* 桌面版下载卡：版本、体积与签名状态一眼可见；当前设备自动高亮。 */
.store-link--desktop {
  position: relative;
  overflow: hidden;
  min-height: 138px;
  padding: 20px;
  background:
    radial-gradient(140% 160% at 100% 0%, rgba(178, 34, 34, 0.07) 0%, rgba(178, 34, 34, 0) 52%),
    linear-gradient(180deg, #fffdfb 0%, #fff8f1 100%);
  border: 1px solid rgba(178, 34, 34, 0.16);
  box-shadow: 0 16px 38px -30px rgba(40, 25, 18, 0.8);
}

/* 悬停时扫过一道高光，暗示“可点击下载”。 */
.store-link--desktop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.store-link--desktop:hover::after {
  transform: translateX(130%);
}

.store-link--desktop:hover {
  transform: translateY(-4px);
  border-color: rgba(178, 34, 34, 0.4);
  box-shadow: 0 24px 46px -30px rgba(178, 34, 34, 0.55);
}

.store-link--desktop .store-logo {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  border-radius: 16px;
  box-shadow: 0 10px 20px -14px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease;
}

.store-link--desktop .store-logo svg {
  width: 32px;
  height: 32px;
}

.store-link--desktop:hover .store-logo {
  transform: translateY(-1px) scale(1.05);
}

.store-link--desktop .store-name {
  font-size: 18px;
  letter-spacing: 0.01em;
}

.store-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.store-version {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #211916;
  color: #fffaf5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.store-version b {
  font-weight: 800;
}

.store-version span {
  font-size: 9px;
  opacity: 0.62;
}

.store-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(58, 47, 37, 0.15);
  border-radius: 6px;
  color: #7d6c5c;
  font-size: 10px;
  font-weight: 600;
}

.store-link.is-current {
  border-color: rgba(178, 34, 34, 0.42);
  box-shadow: 0 18px 40px -28px rgba(178, 34, 34, 0.65), inset 0 0 0 1px rgba(178, 34, 34, 0.08);
}

.store-link.is-current::before {
  content: "当前设备";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.download-head-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.download-release {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid rgba(178, 34, 34, 0.16);
  border-radius: 999px;
  background: rgba(178, 34, 34, 0.055);
  color: #3a2f25;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.download-release strong {
  color: var(--accent);
  font-weight: 800;
}

.download-release-build {
  color: #8b7b6c;
  font-size: 11px;
}

.download-release-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(178, 34, 34, 0.12);
  animation: releasePulse 2.4s ease-in-out infinite;
}

@keyframes releasePulse {
  50% {
    box-shadow: 0 0 0 7px rgba(178, 34, 34, 0.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-release-dot {
    animation: none;
  }

  .store-link--desktop::after {
    display: none;
  }

  .store-link--desktop,
  .store-link--desktop .store-logo {
    transition: none;
  }
}

.store-link--soon {
  cursor: default;
  opacity: 0.62;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.store-link--soon:hover {
  transform: none;
  border-color: rgba(58, 47, 37, 0.13);
  box-shadow: none;
}

.store-copy {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.store-eyebrow {
  color: #8b7b6c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.store-name {
  margin-top: 1px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.25;
}

.store-meta {
  margin-top: 4px;
  color: #8b7b6c;
  font-size: 11px;
}

.store-arrow {
  color: #a39384;
  font-size: 18px;
  transition: transform 0.18s ease, color 0.18s ease;
}

.store-link:hover .store-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.qr-panel {
  padding: 20px;
  border-radius: 16px;
  background: #211916;
  color: #fffaf5;
  box-shadow: 0 22px 48px -34px rgba(30, 17, 12, 0.9);
}

.qr-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.qr-panel-head strong {
  font-size: 17px;
}

.qr-panel-head span {
  color: rgba(255, 250, 245, 0.58);
  font-size: 11px;
}

#download .qr-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#download .qr-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.055);
  color: inherit;
  text-align: left;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

#download .qr-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

#download .qr-item img {
  width: 70px;
  height: 70px;
  padding: 5px;
  object-fit: contain;
  background: #fff;
  border-radius: 7px;
}

#download .qr-item span {
  min-width: 0;
}

#download .qr-item b,
#download .qr-item small {
  display: block;
}

#download .qr-item b {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#download .qr-item small {
  margin-top: 3px;
  color: rgba(255, 250, 245, 0.55);
  font-size: 9.5px;
}

#download .download-note {
  margin: 14px 0 0;
  color: rgba(255, 250, 245, 0.58);
  font-size: 11px;
  line-height: 1.7;
}

.download-safe {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 15px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 250, 245, 0.72);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.download-safe strong {
  flex: 0 0 auto;
  color: #3a2f25;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 45px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: #ccc;
}

/* --- Article & Hub Layouts --- */

/* Breadcrumbs */
.breadcrumbs {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 8px;
  color: #ccc;
}

/* Page Layout */
.page-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-top: 20px;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.sidebar h3 {
  margin-top: 0;
  font-size: 18px;
  color: #2e1e1e;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

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

.sidebar li {
  margin-bottom: 10px;
}

.sidebar a {
  color: var(--muted);
  text-decoration: none;
  display: block;
  padding: 6px 0;
  transition: color 0.2s;
}

.sidebar a:hover,
.sidebar a.active {
  color: var(--accent);
  font-weight: 600;
}

.sidebar .btn {
  color: #fff !important;
  text-align: center;
}

/* Article Content */
.article-content {
  background: var(--card);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  min-height: 600px;
}

.article-content h1 {
  font-size: 32px;
  margin-top: 0;
  color: #2e1e1e;
}

.article-meta {
  font-size: 14px;
  color: #999;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 20px;
}

.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: #3a2f25;
}

.article-body h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #2e1e1e;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}

.article-body h3 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 16px;
  color: #2e1e1e;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.article-body blockquote {
  margin: 20px 0;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.03);
  border-left: 4px solid var(--muted);
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

/* Hub Grid */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.hub-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(178, 34, 34, 0.1);
}

.hub-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #2e1e1e;
}

.hub-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.hub-card .tag {
  display: inline-block;
  font-size: 12px;
  padding: 4px 8px;
  background: rgba(178, 34, 34, 0.08);
  color: var(--accent);
  border-radius: 4px;
  margin-bottom: 12px;
  width: fit-content;
}

@media (max-width:900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px 0 36px;
  }

  .hero-left {
    max-width: 640px;
    padding: 0;
  }

  .preview-card {
    justify-self: center;
    width: 210px;
  }

  .device {
    height: 350px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr)
  }

  .wrap {
    padding: 18px
  }

  .page-container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    margin-bottom: 30px;
  }

  .download-head,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .download-intro {
    max-width: 620px;
  }
}

@media (max-width:560px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  nav a {
    margin: 0 8px;
  }

  .hero-title {
    font-size: 28px
  }

  .hero-sub {
    font-size: 15px;
  }

  .preview-card {
    display: none;
  }

  .hero {
    padding: 26px 0 30px;
  }

  .features {
    grid-template-columns: 1fr
  }

  #download {
    margin-top: 38px;
    padding-top: 36px;
  }

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

  .store-link {
    min-height: 104px;
  }

  .store-link--desktop {
    min-height: 128px;
    padding: 16px;
  }

  .store-link--desktop .store-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .store-group-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .qr-panel {
    padding: 16px;
  }

  #download .qr-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .download-safe {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .article-content {
    padding: 24px;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: all 600ms ease
}

.in-view {
  opacity: 1;
  transform: none
}

/* Feature Card Links */
.feature-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.feature-card-link .feature {
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
}

.feature-card-link:hover .feature {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(178, 34, 34, 0.1);
}
