:root {
  --bg: #0c0d0e;
  --surface: #121416;
  --surface-raised: #181a1d;
  --surface-soft: #1d2023;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f1eb;
  --text-secondary: #d3d4d0;
  --muted: #8d9294;
  --muted-bright: #b9bcb9;
  --amber: #e8ad49;
  --amber-soft: rgba(232, 173, 73, 0.12);
  --cyan: #77d5c8;
  --red: #e36c67;
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #393d3f; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #4a4e50; }
html { scrollbar-color: #393d3f transparent; scrollbar-width: thin; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% -20%, rgba(232, 173, 73, 0.06), transparent 36rem),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font: inherit; border: 0; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Nav ─── */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 13, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-brand small {
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 2px;
  color: var(--muted-bright);
  font-size: 14px;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-links a:hover { color: var(--text); background: var(--amber-soft); }

.nav-links .nav-download {
  margin-left: 8px;
  padding: 8px 20px;
  border-radius: 2px;
  color: #17130c;
  background: var(--amber);
  font-weight: 600;
  font-size: 14px;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.nav-links .nav-download:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  background: var(--amber);
}

.nav-toggle {
  display: none;
  padding: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 24px;
}

/* ─── Hero ─── */
.hero {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-content { max-width: 820px; }

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  color: var(--amber);
  font: 600 11px Consolas, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero h1 small {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.55em;
  letter-spacing: 0.08em;
}

.hero-tagline {
  margin-top: 16px;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--muted-bright);
  font-weight: 400;
  line-height: 1.5;
}

.hero-desc {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(20, 22, 24, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-primary {
  color: #17130c;
  background: var(--amber);
}

.btn-secondary {
  color: var(--muted-bright);
  border: 1px solid var(--line-strong);
  background: transparent;
}

.btn-secondary:hover {
  color: var(--text);
  border-color: rgba(232, 173, 73, 0.45);
  background: var(--amber-soft);
}

.hero-version {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-left: 2px solid var(--amber);
  background: var(--amber-soft);
  font-size: 12px;
  color: var(--muted-bright);
}

.hero-version strong {
  font: 600 12px Consolas, monospace;
  color: var(--text);
}

.hero-scroll {
  margin-top: 48px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ─── Section Shared ─── */
.section {
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--amber);
  font: 600 11px Consolas, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ─── Features Grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(20, 22, 24, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.feature-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.feature-index {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--amber);
  font: 600 13px Consolas, monospace;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-meta {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font: 500 11px Consolas, monospace;
  letter-spacing: 0.08em;
}

.feature-card p {
  color: var(--muted-bright);
  font-size: 14px;
  line-height: 1.7;
}

/* ─── Advantage Grid ─── */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.advantage-card {
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(20, 22, 24, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.advantage-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border: 1px solid var(--line-strong);
  color: var(--amber);
  font-size: 22px;
}

.advantage-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.advantage-card p {
  color: var(--muted-bright);
  font-size: 14px;
  line-height: 1.75;
}

/* ─── Steps ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(20, 22, 24, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.step-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border: 1px solid var(--amber);
  border-radius: 50%;
  color: var(--amber);
  font: 600 18px Consolas, monospace;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--muted-bright);
  font-size: 14px;
  line-height: 1.7;
}

.step-arrow {
  display: none;
}

/* ─── Download Section ─── */
.download-section {
  text-align: center;
  padding: 100px 24px;
}

.download-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 40px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(20, 22, 24, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.download-card .btn { margin-top: 24px; }

.download-info {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.download-info strong { color: var(--muted-bright); }

.download-reqs {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  text-align: left;
}

.download-reqs h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--muted-bright);
}

.download-reqs ul {
  display: grid;
  gap: 6px;
}

.download-reqs li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.download-reqs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--line);
  background: #0b0c0d;
  padding: 48px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--muted-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.16s ease;
}

.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

/* ─── Page Header (for sub-pages) ─── */
.page-header {
  padding: 120px 24px 60px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Features Detail Page ─── */
.feature-detail-grid {
  display: grid;
  gap: 24px;
}

.feature-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 40px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(20, 22, 24, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.feature-detail-card:nth-child(even) {
  direction: rtl;
}

.feature-detail-card:nth-child(even) > * {
  direction: ltr;
}

.feature-detail-info h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-detail-info .feature-meta { margin-bottom: 16px; }

.feature-detail-info p {
  color: var(--muted-bright);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.feature-detail-visual {
  min-height: 240px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
}

.feature-detail-list {
  display: grid;
  gap: 8px;
}

.feature-detail-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted-bright);
  font-size: 14px;
  line-height: 1.6;
}

.feature-detail-list li::before {
  content: "+";
  color: var(--amber);
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

/* ─── About Page ─── */
.about-hero-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px 40px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(20, 22, 24, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.about-logo-mark {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  position: relative;
}

.about-logo-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(232, 173, 73, 0.28);
  transform: rotate(45deg);
}

.about-logo-mark .logo-placeholder {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--amber);
  font-weight: 700;
  font-size: 28px;
}

.about-hero-copy h1 {
  font-size: 34px;
  font-weight: 700;
  margin: 6px 0 10px;
}

.about-hero-copy h1 small {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.about-hero-copy > p {
  color: var(--muted-bright);
  font-size: 15px;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 20px;
}

.about-version-tag {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 8px 14px;
  border-left: 2px solid var(--amber);
  background: var(--amber-soft);
}

.about-version-tag span {
  color: var(--muted);
  font-size: 12px;
}

.about-version-tag strong {
  font: 600 12px Consolas, monospace;
}

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.about-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(20, 22, 24, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.about-panel h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0 24px;
}

.about-facts {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.about-facts > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px;
  background: var(--surface-raised);
}

.about-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.about-facts dd {
  color: var(--text);
  font: 500 12px Consolas, monospace;
  overflow-wrap: anywhere;
}

.author-identity {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.author-monogram {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(232, 173, 73, 0.42);
  color: var(--amber);
  background: var(--amber-soft);
  font: 600 22px Georgia, serif;
}

.author-identity div { display: grid; gap: 4px; }

.author-identity strong { font-size: 18px; }

.author-identity small {
  color: var(--muted);
  font: 500 12px Consolas, monospace;
  letter-spacing: 0.08em;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.contact-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.contact-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.contact-mark.is-email { border-color: rgba(232, 173, 73, 0.3); background: var(--amber-soft); }
.contact-mark.is-wechat { border-color: rgba(7, 193, 96, 0.3); background: rgba(7, 193, 96, 0.07); }
.contact-mark.is-qq { border-color: rgba(244, 244, 242, 0.2); background: #111820; }

.contact-row div { display: grid; gap: 3px; min-width: 0; }

.contact-row small { color: var(--muted); font-size: 10px; }

.contact-row strong,
.contact-row a {
  overflow: hidden;
  color: var(--muted-bright);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-row a:hover { color: var(--amber); }

/* ─── Contact QR Popover ─── */
.contact-qr-trigger {
  position: relative;
  width: max-content;
  color: var(--cyan);
  font-size: 13px;
  cursor: help;
  outline: none;
}
.contact-qr-trigger:hover .contact-qr-popover,
.contact-qr-trigger:focus .contact-qr-popover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.contact-qr-popover {
  position: absolute;
  z-index: 30;
  right: auto;
  left: 50%;
  bottom: calc(100% + 10px);
  display: grid;
  gap: 8px;
  justify-items: center;
  width: auto;
  min-width: 214px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface-raised);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  pointer-events: none;
}
.contact-qr-popover::after {
  content: "";
  position: absolute;
  right: auto;
  left: 50%;
  margin-left: -7px;
  top: 100%;
  border: 7px solid transparent;
  border-top-color: var(--line-strong);
}
.contact-qr-popover img { display: block; width: 192px; height: 192px; object-fit: contain; background: #fff; }
.contact-qr-popover small { display: block; color: var(--muted-bright); text-align: center; }

/* ─── Docs Page ─── */
.docs-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.docs-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}

.docs-sidebar nav {
  display: grid;
  gap: 4px;
}

.docs-sidebar a {
  display: block;
  padding: 8px 14px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  transition: 0.16s ease;
}

.docs-sidebar a:hover {
  color: var(--muted-bright);
  border-left-color: var(--line-strong);
}

.docs-sidebar a.active {
  color: var(--text);
  border-left-color: var(--amber);
  background: linear-gradient(90deg, var(--amber-soft), transparent);
}

.docs-content { min-width: 0; }

.docs-section {
  margin-bottom: 48px;
}

.docs-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.docs-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 12px;
}

.docs-section p {
  color: var(--muted-bright);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.docs-section ul,
.docs-section ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.docs-section li {
  color: var(--muted-bright);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 4px;
}

.docs-section code {
  padding: 2px 6px;
  background: var(--surface-soft);
  font: 500 13px Consolas, monospace;
  color: var(--amber);
}

.docs-section pre {
  padding: 16px;
  margin-bottom: 16px;
  background: #090a0b;
  border: 1px solid var(--line);
  overflow: auto;
}

.docs-section pre code {
  background: none;
  color: var(--muted-bright);
  padding: 0;
}

.docs-note {
  padding: 16px;
  border-left: 2px solid var(--amber);
  background: var(--amber-soft);
  margin-bottom: 20px;
}

.docs-note p {
  color: var(--muted-bright);
  margin: 0;
  font-size: 14px;
}

.docs-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--amber);
}

/* ─── Community Page ─── */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.community-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(20, 22, 24, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.community-qr {
  width: 140px;
  height: 140px;
  border-radius: 4px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  padding: 8px;
}

.community-card-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.community-card-info p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.community-card-info .btn {
  margin-top: 12px;
  padding: 8px 16px;
  font-size: 13px;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(12, 13, 14, 0.98);
    backdrop-filter: blur(12px);
  }
  .nav-links.open a { width: 100%; }
  .nav-links.open .nav-download { margin-left: 0; text-align: center; }

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

  .feature-detail-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .feature-detail-card:nth-child(even) {
    direction: ltr;
  }

  .about-hero-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .about-two-col {
    grid-template-columns: 1fr;
  }

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

  .docs-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .docs-sidebar nav {
    display: flex;
    gap: 4px;
  }

  .docs-sidebar a {
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .docs-sidebar a.active {
    border-left-color: transparent;
    border-bottom-color: var(--amber);
    background: none;
  }

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

  .community-card {
    grid-template-columns: 110px 1fr;
  }

  .community-qr {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 600px) {
  .hero { padding: 100px 16px 60px; }
  .section { padding: 60px 16px; }
  .nav-bar { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .about-hero-card { padding: 32px 24px; }
  .download-card { padding: 32px 24px; }
  .step-card { padding: 28px 20px; }

  .contact-qr-popover {
    max-width: calc(100vw - 32px);
  }
  .contact-qr-popover img {
    width: auto;
    max-width: calc(100vw - 64px);
    height: auto;
    max-height: calc(100vw - 64px);
  }
  .contact-row > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col {
    text-align: center;
  }
}
