/* ==========================================================================
   Reachbar — Quiet Native Editorial Design System
   Inspired by Things 3, CleanShot X, Alcove, and Apple macOS HIG.
   Zero neon · Zero aurora gradients · Zero AI clichés · Zero external fonts.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-muted: #f5f5f7;
  --surface: #ffffff;
  --surface-tint: #fbfbfd;
  --ink: #1d1d1f;
  --ink-secondary: #515154;
  --ink-tertiary: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: rgba(0, 113, 227, 0.08);
  --green: #1d8348;
  --shadow-icon: 0 14px 32px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.07);
  --shadow-stage: 0 32px 72px -20px rgba(0, 0, 0, 0.16), 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 12px 34px -16px rgba(0, 0, 0, 0.09), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-win: 0 24px 60px -12px rgba(0, 0, 0, 0.24), 0 0 0 0.5px rgba(0, 0, 0, 0.12);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font-family: inherit; }

.container { width: min(1060px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(740px, calc(100% - 48px)); margin: 0 auto; }

/* ==========================================================================
   Minimal Apple Translucent Navigation
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 620; letter-spacing: -0.015em; color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { width: 24px; height: 24px; border-radius: 6px; }

.nav-links {
  display: flex; align-items: center; gap: 28px; font-size: 13px;
}
.nav-links a { color: var(--ink-secondary); font-weight: 450; transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  border: none; background: transparent; color: var(--ink-secondary);
  font-size: 12.5px; font-weight: 500; padding: 5px 8px; border-radius: 6px; cursor: pointer;
}
.lang-switch:hover { background: var(--bg-muted); color: var(--ink); }

/* Apple Pill Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 980px; border: 1px solid transparent;
  font-size: 14px; font-weight: 550; cursor: pointer; white-space: nowrap;
  padding: 10px 20px;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.985); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-secondary {
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn-secondary:hover { background: var(--bg-muted); }
.btn-sm { padding: 6px 14px; font-size: 12.5px; }
.btn-lg { padding: 12px 24px; font-size: 15px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 15px; font-weight: 500; color: var(--blue); padding: 10px 6px;
}
.link-arrow:hover { text-decoration: underline; }

/* ==========================================================================
   Hero — Things 3 / Alcove Pure White Editorial Gallery
   ========================================================================== */
.hero {
  padding: 64px 0 76px;
  text-align: center;
  background: var(--bg);
}
.hero-icon {
  width: 72px; height: 72px;
  border-radius: 17px;
  box-shadow: var(--shadow-icon);
  margin: 0 auto 24px;
  display: block;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 680;
  letter-spacing: -0.032em;
  color: var(--ink);
  max-width: 780px;
  margin: 0 auto 16px;
}
.hero-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: var(--ink-secondary);
  max-width: 620px;
  margin: 0 auto 28px;
  font-weight: 400;
}
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.hero-note {
  font-size: 12.5px; color: var(--ink-tertiary);
}
.hero-note code {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-secondary);
  background: var(--bg-muted); padding: 2px 7px; border-radius: 5px;
}

/* ==========================================================================
   Hero Real-Footage macOS Cinema Stage (16:10 Studio Backdrop + <video>)
   ========================================================================== */
.gallery-wrap {
  margin: 48px auto 0;
  max-width: 1000px;
  text-align: left;
}
.studio-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  background-color: #e6eef7;
  background-image: url("wallpaper-studio.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-stage);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Full-bleed real 60fps MP4 video layer (automatically takes over when site/media/demo-*.mp4 exists) */
.studio-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 5;
  pointer-events: none;
}
.studio-video.ready {
  opacity: 1;
}

/* Fallback authentic Apple Light macOS stage when local MP4 hasn't been dropped in yet */
.studio-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transition: opacity .3s ease;
}
.studio-frame.has-video .studio-fallback {
  opacity: 0;
  pointer-events: none;
}

/* Authentic macOS Sonoma/Sequoia light translucent menu bar */
.macos-bar {
  height: 26px;
  padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
  font-size: 11.5px; color: #1d1d1f; font-weight: 500;
  user-select: none;
}
.macos-bar-grp { display: flex; align-items: center; gap: 14px; }
.macos-bar-bold { font-weight: 680; }

.studio-viewport {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Quiet Native Light Command Bar Replica (1:1 macOS AppKit Light Frosted Aesthetic) */
.native-bar {
  width: min(760px, 100%);
  border-radius: 15px;
  background: rgba(252, 252, 254, 0.88);
  backdrop-filter: saturate(190%) blur(30px);
  -webkit-backdrop-filter: saturate(190%) blur(30px);
  box-shadow: var(--shadow-win);
  overflow: hidden;
  color: #1d1d1f;
  animation: quietFade .24s ease;
}
@keyframes quietFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.nb-input-row {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.09);
}
.nb-search-icon {
  width: 17px; height: 17px; color: #86868b; flex-shrink: 0;
}
.nb-query {
  flex: 1; font-size: 17px; font-weight: 450; color: #1d1d1f; letter-spacing: -0.01em;
}
.nb-caret {
  display: inline-block; width: 1.5px; height: 18px; background: var(--blue);
  vertical-align: -3px; margin-left: 1px;
  animation: nbBlink 1s steps(1) infinite;
}
@keyframes nbBlink { 50% { opacity: 0; } }
.nb-timing {
  font-family: var(--font-mono); font-size: 11px; color: #6e6e73;
  background: rgba(0, 0, 0, 0.045); padding: 2px 7px; border-radius: 5px;
}

.nb-split {
  display: grid; grid-template-columns: 1.2fr 0.85fr;
  min-height: 236px;
}
.nb-list {
  padding: 6px;
  border-right: 0.5px solid rgba(0, 0, 0, 0.08);
  display: flex; flex-direction: column; gap: 2px;
}
.nb-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
}
.nb-item.selected {
  background: #007aff;
  color: #fff;
}
.nb-item-svg {
  width: 22px; height: 22px; flex-shrink: 0;
  color: #515154;
}
.nb-item.selected .nb-item-svg { color: #fff; }
.nb-item-text { flex: 1; min-width: 0; }
.nb-item-title {
  font-size: 13px; font-weight: 540;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nb-item-sub {
  font-size: 11px; color: #86868b;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nb-item.selected .nb-item-sub { color: rgba(255, 255, 255, 0.82); }
.nb-item-kbd {
  font-family: var(--font-mono); font-size: 10.5px; color: #86868b;
}
.nb-item.selected .nb-item-kbd { color: rgba(255, 255, 255, 0.86); }

.nb-preview {
  padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(245, 245, 247, 0.52);
}
.nb-doc-sheet {
  background: #fff;
  border: 0.5px solid rgba(0, 0, 0, 0.10);
  border-radius: 9px;
  padding: 13px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.nb-doc-title { font-size: 13px; font-weight: 620; color: #1d1d1f; margin-bottom: 6px; }
.nb-doc-body { font-size: 11.5px; line-height: 1.55; color: #515154; white-space: pre-wrap; }
.nb-meta-row {
  display: flex; justify-content: space-between;
  font-size: 11px; color: #86868b;
  padding-top: 10px; border-top: 0.5px solid rgba(0, 0, 0, 0.08);
}

.nb-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 14px;
  border-top: 0.5px solid rgba(0, 0, 0, 0.08);
  background: rgba(245, 245, 247, 0.65);
  font-size: 11px; color: #6e6e73;
}
.nb-foot kbd {
  font-family: var(--font-mono); font-size: 10px;
  padding: 1px 5px; border-radius: 4px;
  background: #fff; border: 0.5px solid rgba(0, 0, 0, 0.14); color: #1d1d1f;
}

/* Native Light Window Switcher & Tiling Preview inside Studio Frame */
.native-switcher {
  padding: 16px 20px 14px;
  border-radius: 18px;
  background: rgba(252, 252, 254, 0.86);
  backdrop-filter: saturate(190%) blur(30px);
  -webkit-backdrop-filter: saturate(190%) blur(30px);
  box-shadow: var(--shadow-win);
  text-align: center;
  min-width: 390px;
  animation: quietFade .24s ease;
}
.ns-row { display: flex; justify-content: center; gap: 14px; margin-bottom: 12px; }
.ns-tile {
  width: 64px; height: 64px; border-radius: 15px;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.035);
  border: 2px solid transparent;
  transition: transform .2s cubic-bezier(.22,1,.36,1), border-color .18s ease, background .18s ease;
}
.ns-tile.active {
  background: rgba(0, 113, 227, 0.10);
  border-color: var(--blue);
  transform: scale(1.06);
}
.ns-tile svg { width: 32px; height: 32px; color: #1d1d1f; }
.ns-tile.active svg { color: var(--blue); }
.ns-label { font-size: 13px; font-weight: 600; color: #1d1d1f; }
.ns-sub { font-size: 11.5px; color: #6e6e73; margin-top: 2px; }

/* Native Tiling Stage Preview */
.native-tiling {
  position: relative;
  width: min(780px, 100%);
  height: 310px;
  animation: quietFade .24s ease;
}
.nt-win {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 11px;
  box-shadow: 0 14px 36px -8px rgba(0, 0, 0, 0.16), 0 0 0 0.5px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  transition: all .45s cubic-bezier(.22, 1, .36, 1);
  display: flex; flex-direction: column;
}
.nt-bar {
  height: 26px; padding: 0 10px;
  display: flex; align-items: center; gap: 6px;
  background: #f5f5f7; border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
  font-size: 11px; color: #515154; font-weight: 550;
}
.tl { width: 8px; height: 8px; border-radius: 50%; }
.tl.r { background: #ff5f57; }
.tl.y { background: #febc2e; }
.tl.g { background: #28c840; }
.nt-content {
  padding: 12px 14px; font-size: 12px; color: #515154; line-height: 1.55; flex: 1;
}

/* Discreet local-only recording slot helper (only shown on localhost when MP4 is missing) */
.slot-hint {
  position: absolute;
  right: 14px; bottom: 12px;
  font-family: var(--font-mono); font-size: 10.5px;
  color: rgba(29, 29, 31, 0.64);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  padding: 4px 9px; border-radius: 6px;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  z-index: 6;
}
.slot-hint.hidden { display: none; }

/* Apple Editorial Scene Tabs underneath Stage */
.gallery-tabs {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-tab {
  text-align: left;
  background: transparent;
  border: none;
  border-top: 2px solid var(--line);
  padding: 14px 2px 4px;
  cursor: pointer;
  transition: border-color .18s ease;
}
.gallery-tab:hover { border-top-color: var(--line-strong); }
.gallery-tab.active { border-top-color: var(--ink); }
.gallery-tab-title {
  display: block;
  font-size: 14px; font-weight: 600; color: var(--ink-secondary);
  margin-bottom: 4px;
  transition: color .15s ease;
}
.gallery-tab.active .gallery-tab-title { color: var(--ink); }
.gallery-tab-desc {
  display: block;
  font-size: 12.5px; line-height: 1.48; color: var(--ink-tertiary);
}

/* ==========================================================================
   Section 2: Quiet Editorial Craft Pillars (Things 3 Rhythm)
   ========================================================================== */
.band-muted {
  background: var(--bg-muted);
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-white {
  background: var(--bg);
  padding: 88px 0;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.pillar h3 {
  font-size: 17px; font-weight: 640; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 8px;
}
.pillar p {
  font-size: 14.5px; line-height: 1.62; color: var(--ink-secondary);
}

/* ==========================================================================
   Section 3: Interactive 120Hz Smooth Mouse Scroll Lab (Light Paper Apple Feel)
   ========================================================================== */
.section-header {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-header h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  line-height: 1.14;
  font-weight: 680;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 16px; line-height: 1.58; color: var(--ink-secondary);
}

/* Authentic macOS NSSegmentedControl */
.scroll-toolbar {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.mac-segmented {
  display: inline-flex;
  padding: 3px;
  border-radius: 9px;
  background: #e8e8ed;
  gap: 2px;
}
.mac-seg-btn {
  border: none; background: transparent; color: var(--ink-secondary);
  font-size: 13px; font-weight: 540; padding: 6px 15px; border-radius: 7px; cursor: pointer;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.mac-seg-btn.active {
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.05);
}

.scroll-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.paper-pane {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.paper-pane.reachbar-side {
  border-color: rgba(0, 113, 227, 0.28);
}
.paper-pane-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.paper-pane-note {
  font-size: 12px; font-weight: 450; color: var(--ink-tertiary);
}
.paper-pane.reachbar-side .paper-pane-note { color: var(--blue); font-weight: 550; }

.paper-viewport {
  position: relative;
  height: 276px;
  overflow: hidden;
  background: #fff;
}
.paper-track {
  position: absolute; left: 0; right: 0; top: 0;
  padding: 18px 22px;
  will-change: transform;
}
.paper-track h4 {
  font-size: 14px; font-weight: 640; color: var(--ink);
  margin: 16px 0 6px;
}
.paper-track h4:first-child { margin-top: 0; }
.paper-track p {
  font-size: 13.5px; line-height: 1.68; color: var(--ink-secondary);
  margin-bottom: 10px;
}

.paper-meter {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface-tint);
  font-size: 11.5px; color: var(--ink-tertiary);
}
.paper-meter canvas { width: 132px; height: 22px; display: block; }

.scroll-footnote {
  text-align: center;
  margin-top: 18px;
  font-size: 13px; color: var(--ink-tertiary);
}

/* ==========================================================================
   Section 4: Editorial Spec & Privacy Sheets (iA / Superkey Clarity)
   ========================================================================== */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.spec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-card);
}
.spec-card h3 {
  font-size: 20px; font-weight: 660; letter-spacing: -0.02em;
  margin-bottom: 8px; color: var(--ink);
}
.spec-card > p {
  font-size: 14px; color: var(--ink-secondary); margin-bottom: 20px;
}
.spec-list { list-style: none; }
.spec-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 0; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-secondary);
}
.spec-list li strong {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--ink); white-space: nowrap;
}

/* ==========================================================================
   Section 5: Single-Focus Perpetual Purchase Panel (Things 3 × CleanShot X)
   ========================================================================== */
.purchase-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px 42px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.purchase-card h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 680; letter-spacing: -0.03em; margin-bottom: 10px;
}
.purchase-sub {
  font-size: 15px; color: var(--ink-secondary); max-width: 520px; margin: 0 auto 24px;
}
.purchase-price-row {
  margin: 22px 0 6px;
  display: flex; justify-content: center; align-items: baseline; gap: 10px;
}
.purchase-price {
  font-size: 48px; font-weight: 720; letter-spacing: -0.04em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.purchase-unit {
  font-size: 14px; color: var(--ink-tertiary);
}
.purchase-seat-note {
  font-size: 13.5px; color: var(--ink-secondary); margin-bottom: 26px;
}
.purchase-points {
  list-style: none;
  max-width: 480px;
  margin: 0 auto 28px;
  text-align: left;
  border-top: 1px solid var(--line);
}
.purchase-points li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--ink-secondary);
  display: flex; gap: 10px;
}
.purchase-points li::before {
  content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0;
}
.purchase-cta-stack {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.purchase-free-note {
  font-size: 13px; color: var(--ink-tertiary);
}

/* ==========================================================================
   Section 6: Quiet Hairline FAQ + Minimal Footer
   ========================================================================== */
.faq-wrap {
  max-width: 720px; margin: 0 auto;
  border-top: 1px solid var(--line);
}
details.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
details.faq-item summary {
  font-size: 15.5px; font-weight: 580; color: var(--ink);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+"; font-size: 18px; font-weight: 400; color: var(--ink-tertiary);
}
details.faq-item[open] summary::after { content: "−"; color: var(--ink); }
details.faq-item p {
  margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--ink-secondary);
  padding-right: 28px;
}

/* Subpages (Activate / Releases / Renew / Privacy / Terms) */
.page-head { padding: 56px 0 28px; }
.page-head h1 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 680; letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.page-head p { font-size: 16px; color: var(--ink-secondary); max-width: 640px; }
.doc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 32px; box-shadow: var(--shadow-card);
}
.doc-card h2 { font-size: 18px; font-weight: 640; margin: 26px 0 10px; color: var(--ink); }
.doc-card h2:first-child { margin-top: 0; }
.doc-card p, .doc-card li { font-size: 14.5px; line-height: 1.68; color: var(--ink-secondary); margin-bottom: 10px; }
.doc-card ul { padding-left: 20px; }
.code-line-box {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--ink);
  background: var(--bg-muted); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; overflow-x: auto;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

footer {
  border-top: 1px solid var(--line);
  background: var(--bg-muted);
  padding: 34px 0 46px;
  font-size: 12.5px; color: var(--ink-tertiary);
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--ink-secondary); }

/* Bilingual toggle */
html[data-lang="en"] [data-zh] { display: none !important; }
html[data-lang="zh"] [data-en] { display: none !important; }

@media (max-width: 860px) {
  .gallery-tabs, .pillars, .scroll-compare, .spec-grid, .two-col { grid-template-columns: 1fr; }
  .nb-split { grid-template-columns: 1fr; }
  .nb-preview { display: none; }
  .nav-links { display: none; }
  .purchase-card { padding: 28px 22px; }
}
