/* ==========================================================================
   rpdf.cc — Official Product Showcase Design System
   Ciel Porcelain & Clear Aviation Sky-Blue (Default) + PaperLight Theme
   ========================================================================== */

:root {
  --bg-page: #F6F8FC;
  --bg-tinted: #EEF3FA;
  --bg-chrome: rgba(252, 253, 254, 0.84);
  --bg-card: #FFFFFF;
  --bg-sub: #F4F7FC;
  --bg-trough: #EBF2FC;
  --border-hair: #E2EBF6;
  --border-strong: #C9DBF2;
  --ink-primary: #142238;
  --ink-secondary: #5B6E87;
  --ink-muted: #7C8EA6;
  --accent: #2A72EB;
  --accent-soft: #EDF4FF;
  --accent-grad: linear-gradient(135deg, #4C95FA 0%, #256BE6 100%);
  --silk-card: linear-gradient(132deg, #F3F8FF 0%, #DFEDFF 36%, #B0D4FD 74%, #79B4FA 100%);
  --silk-ink: #112443;
  --silk-sub: #2A4C7C;
  --shadow-soft: 0 22px 54px -22px rgba(22, 42, 76, 0.14), 0 4px 14px -4px rgba(22, 42, 76, 0.06);
  --shadow-card: 0 18px 40px -24px rgba(22, 42, 76, 0.16);
  --wechat-green: #07C160;
  --font-sans: "SF Pro Display", "Segoe UI Variable", "PingFang SC", "Microsoft YaHei UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", "Consolas", monospace;
}

html[data-theme="paperlight"] {
  --bg-page: #F3EFE6;
  --bg-tinted: #EAE3D5;
  --bg-chrome: rgba(246, 242, 234, 0.88);
  --bg-card: #FAF7F0;
  --bg-sub: #EFE9DC;
  --bg-trough: #E5DEC9;
  --border-hair: #DED5C3;
  --border-strong: #C7BCA6;
  --ink-primary: #292622;
  --ink-secondary: #686055;
  --ink-muted: #8B8275;
  --accent: #3A6B57;
  --accent-soft: #E8F1EC;
  --accent-grad: linear-gradient(135deg, #4E8670 0%, #2E5A49 100%);
  --silk-card: linear-gradient(132deg, #FAF7F0 0%, #F1EADC 42%, #E2D9C4 80%, #D5CBB3 100%);
  --silk-ink: #27231E;
  --silk-sub: #5A5247;
  --shadow-soft: 0 22px 54px -22px rgba(58, 45, 25, 0.16), 0 4px 14px -4px rgba(58, 45, 25, 0.08);
  --shadow-card: 0 18px 40px -24px rgba(58, 45, 25, 0.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-primary);
  background: var(--bg-page);
  background-image: radial-gradient(ellipse 75% 42% at 50% 0%, rgba(164, 206, 255, 0.24), transparent 68%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.3s ease;
}

html[data-theme="paperlight"] body {
  background-image:
    radial-gradient(ellipse 70% 45% at 15% 0%, rgba(255, 232, 185, 0.36), transparent 65%),
    repeating-linear-gradient(0deg, rgba(110, 92, 68, 0.015) 0 1px, transparent 1px 4px);
}

/* Subtle Global PaperLight Canopy Shadow Veil */
.site-paperlight-veil {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  transition: opacity 0.45s ease;
  overflow: hidden;
}

html[data-theme="paperlight"] .site-paperlight-veil {
  opacity: 1;
}

.veil-sunbeam {
  position: absolute;
  inset: -10%;
  background: linear-gradient(124deg, rgba(255, 236, 188, 0.22) 0%, rgba(255, 224, 166, 0.08) 38%, rgba(44, 54, 70, 0.05) 100%);
}

.veil-foliage {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 680px;
  height: 520px;
  background:
    radial-gradient(ellipse 90px 36px at 18% 24%, rgba(36, 48, 66, 0.12), transparent 72%),
    radial-gradient(ellipse 70px 26px at 34% 16%, rgba(36, 48, 66, 0.10), transparent 70%),
    radial-gradient(ellipse 110px 38px at 28% 39%, rgba(36, 48, 66, 0.09), transparent 72%),
    radial-gradient(ellipse 80px 28px at 46% 30%, rgba(36, 48, 66, 0.08), transparent 70%),
    radial-gradient(ellipse 64px 24px at 14% 52%, rgba(36, 48, 66, 0.09), transparent 70%);
  filter: blur(10px);
  transform-origin: 12% 8%;
  animation: gentleCanopySway 11s ease-in-out infinite alternate;
}

@keyframes gentleCanopySway {
  0%   { transform: rotate(-1.6deg) skewX(-1deg) translate(0, 0); }
  50%  { transform: rotate(1.1deg) skewX(0.8deg) translate(8px, 4px); }
  100% { transform: rotate(-0.8deg) skewX(-0.5deg) translate(-4px, 7px); }
}

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

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 6px;
}

/* ==========================================================================
   Fixed Frosted Top Navigation Bar + Top-Right WeChat Pill
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg-chrome);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border-hair);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-primary);
  flex-shrink: 0;
}

.brand-icon {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(42, 114, 235, 0.18);
}

.brand-wordmark {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  padding: 2px 8px;
  border-radius: 999px;
}

.brand-domain {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-muted);
  padding-left: 2px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--ink-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 9px;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-links a:hover {
  color: var(--ink-primary);
  background: var(--bg-trough);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-trough);
  border: 1px solid var(--border-hair);
  border-radius: 10px;
  padding: 2.5px;
}

.theme-seg {
  border: 0;
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 7.5px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.theme-seg.is-active {
  background: var(--bg-card);
  color: var(--ink-primary);
  box-shadow: 0 2px 6px rgba(20, 34, 56, 0.08);
}

/* Signature Top-Right WeChat Pill */
.wechat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(7, 193, 96, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 246, 0.94));
  color: #124029;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 14px -4px rgba(7, 193, 96, 0.20);
  transition: transform 0.16s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.wechat-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(7, 193, 96, 0.52);
  box-shadow: 0 8px 20px -6px rgba(7, 193, 96, 0.30);
}

.wechat-pill:active {
  transform: translateY(0);
}

.wechat-icon {
  color: var(--wechat-green);
  flex-shrink: 0;
}

.wechat-label {
  color: #3B6B51;
  font-weight: 500;
}

.wechat-id {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.copy-glyph {
  color: #4D8666;
  opacity: 0.85;
}

/* ==========================================================================
   HERO SECTION (Ciel 852 Open Porcelain Symmetry)
   ========================================================================== */
.hero {
  padding: 58px 0 48px;
  text-align: center;
}

.hero-status-strip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-secondary);
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-hair);
  box-shadow: 0 6px 18px -10px rgba(20, 34, 56, 0.12);
}

.status-strong {
  font-weight: 700;
  color: var(--ink-primary);
}

.status-sep {
  opacity: 0.45;
}

.beacon {
  position: relative;
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.beacon-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.32);
  animation: beaconPulse 2.4s ease-in-out infinite;
}

.beacon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}

@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50% { transform: scale(1.42); opacity: 0.22; }
}

.hero-title {
  margin: 22px auto 14px;
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.16;
  max-width: 820px;
}

.hero-subtitle {
  margin: 0 auto 30px;
  max-width: 720px;
  font-size: 1.04rem;
  color: var(--ink-secondary);
  line-height: 1.75;
}

/* 3-Column Swiss Sculpture Stage */
.hero-sculpture-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto 28px;
}

.metric-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.metric-left { text-align: left; }
.metric-right { text-align: right; }

.metric-value {
  font-size: 2.05rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink-primary);
}

.metric-value.accent {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.55rem;
}

.metric-desc {
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--ink-secondary);
}

.obsidian-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: #162032;
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 9px;
}

.sculpture-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sculpture-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 149, 250, 0.22), transparent 70%);
  filter: blur(18px);
}

.sculpture-img {
  position: relative;
  display: block;
  width: 266px;
  height: 266px;
  object-fit: contain;
  border-radius: 36px;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 22px 28px rgba(34, 82, 160, 0.14));
  animation: heroFloat 6.5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Aviation Sky-Blue Silk Card */
.hero-silk-card {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
  background: var(--silk-card);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  box-shadow: 0 26px 56px -22px rgba(42, 114, 235, 0.28);
  overflow: hidden;
}

.silk-upper {
  padding: 24px 28px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.silk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--silk-sub);
  letter-spacing: 0.04em;
}

.silk-pill {
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.66rem;
}

.silk-heading {
  margin-top: 6px;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--silk-ink);
}

.silk-sub {
  margin-top: 4px;
  font-size: 0.87rem;
  color: var(--silk-sub);
}

.silk-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-silk-primary, .btn-silk-secondary {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  transition: transform 0.16s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn-silk-primary {
  background: var(--accent-grad);
  color: #FFFFFF;
  box-shadow: 0 8px 22px -6px rgba(37, 107, 230, 0.55);
}

.btn-silk-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -6px rgba(37, 107, 230, 0.66);
}

.btn-silk-secondary {
  background: rgba(255, 255, 255, 0.90);
  color: var(--silk-ink);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.btn-silk-secondary:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
}

.silk-divider {
  margin: 0 28px;
  border-top: 1px dashed rgba(20, 56, 118, 0.20);
}

.silk-lower {
  padding: 15px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.silk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.silk-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--silk-ink);
  background: rgba(255, 255, 255, 0.58);
  padding: 4px 10px;
  border-radius: 8px;
}

.silk-wechat-link {
  border: 0;
  background: transparent;
  color: var(--silk-ink);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background-color 0.16s ease;
}

.silk-wechat-link:hover {
  background: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   EDITIONS COMPARISON: Open Source v1.0.0 vs X.2.0 Bespoke Edition
   ========================================================================== */
.section-editions {
  padding-top: 36px;
}

.editions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.edition-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hair);
  border-radius: 22px;
  padding: 28px 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.edition-bespoke {
  background: linear-gradient(155deg, var(--bg-card) 0%, var(--accent-soft) 100%);
  border-color: var(--border-strong);
  box-shadow: 0 22px 48px -22px rgba(42, 114, 235, 0.22);
}

.edition-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.edition-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
}

.edition-pill.is-open {
  background: rgba(16, 185, 129, 0.12);
  color: #0E7A56;
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.edition-pill.is-bespoke {
  background: #162032;
  color: #FFFFFF;
}

.edition-ver {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
}

.edition-name {
  margin: 0 0 8px;
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.edition-desc {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.68;
}

.edition-features {
  margin: 0 0 24px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  flex: 1;
}

.edition-features strong {
  color: var(--ink-primary);
}

.edition-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-hair);
}

.btn-edition-primary, .btn-edition-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 12px;
  transition: transform 0.16s ease, box-shadow 0.18s ease, background-color 0.16s ease;
}

.btn-edition-primary {
  background: var(--accent-grad);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -6px rgba(37, 107, 230, 0.45);
}

.btn-edition-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -6px rgba(37, 107, 230, 0.56);
}

.btn-edition-secondary {
  background: var(--bg-sub);
  color: var(--ink-primary);
  border: 1px solid var(--border-strong);
}

.btn-edition-secondary:hover {
  background: var(--bg-trough);
  transform: translateY(-1px);
}

.bespoke-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(22, 32, 50, 0.06);
  border: 1px dashed var(--border-strong);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.btn-edition-wechat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(7, 193, 96, 0.34);
  background: linear-gradient(180deg, #FFFFFF, #EFFDF5);
  color: #124029;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.18s ease;
}

.btn-edition-wechat:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -8px rgba(7, 193, 96, 0.30);
}

.edition-repo-link {
  text-align: center;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 0;
}

.edition-repo-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */
.section {
  padding: 76px 0;
}

.section-tinted {
  background: var(--bg-tinted);
  border-top: 1px solid var(--border-hair);
  border-bottom: 1px solid var(--border-hair);
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 42px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-kicker.is-light {
  color: #79C7D4;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-wrap: balance;
}

.section-desc {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.98rem;
}

/* ==========================================================================
   LIVE INTERACTIVE DESKTOP APP WINDOW MOCKUP
   ========================================================================== */
.app-window {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.app-chrome {
  height: 46px;
  padding: 0 14px;
  background: var(--bg-sub);
  border-bottom: 1px solid var(--border-hair);
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.84rem;
  flex-shrink: 0;
}

.mini-ver {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 6px;
  border-radius: 6px;
}

.app-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
}

.app-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 9px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.16s ease;
}

.app-tab:hover {
  background: var(--bg-trough);
  color: var(--ink-primary);
}

.app-tab.is-active {
  background: var(--bg-card);
  border-color: var(--border-strong);
  color: var(--ink-primary);
  font-weight: 600;
}

.app-captions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-muted);
  font-size: 0.78rem;
  padding-right: 4px;
  user-select: none;
}

.app-body {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 520px;
}

.app-rail {
  background: var(--bg-sub);
  border-right: 1px solid var(--border-hair);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.rail-top, .rail-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.rail-sep {
  width: 26px;
  height: 1px;
  background: var(--border-hair);
  margin: 4px 0;
}

.rail-btn {
  width: 44px;
  padding: 7px 0;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
}

.rail-btn:hover {
  background: var(--bg-trough);
  color: var(--ink-primary);
}

.rail-btn.is-active {
  background: var(--accent-soft);
  border-color: var(--border-strong);
  color: var(--accent);
  font-weight: 700;
}

.app-stage {
  position: relative;
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
}

.demo-panel {
  display: none;
  flex-direction: column;
  flex: 1;
}

.demo-panel.is-active {
  display: flex;
}

.demo-subbar {
  padding: 10px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-sub-left, .demo-sub-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sub-chip {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 8px;
}

.sub-hint {
  font-size: 0.78rem;
  color: var(--ink-secondary);
}

.mono-readout {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-secondary);
}

.mini-btn {
  border: 1px solid var(--border-hair);
  background: var(--bg-sub);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.mini-btn:hover {
  background: var(--bg-trough);
}

.seg-group {
  display: inline-flex;
  background: var(--bg-trough);
  border: 1px solid var(--border-hair);
  border-radius: 9px;
  padding: 2px;
}

.seg-btn {
  border: 0;
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.seg-btn.is-active {
  background: var(--bg-card);
  color: var(--ink-primary);
  box-shadow: 0 2px 6px rgba(20, 34, 56, 0.08);
}

/* DEMO 1: Spatial Desk Canvas */
.spatial-stage {
  position: relative;
  flex: 1;
  min-height: 468px;
  background-color: var(--bg-page);
  background-image: radial-gradient(rgba(100, 116, 139, 0.28) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  overflow: hidden;
  user-select: none;
}

.spatial-links-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spatial-card {
  position: absolute;
  width: 196px;
  background: #FFFFFF;
  border: 1px solid #D7E3F3;
  border-radius: 12px;
  padding: 10px 12px 14px;
  box-shadow: 0 14px 28px -14px rgba(20, 34, 56, 0.22);
  cursor: grab;
  transition: box-shadow 0.16s ease;
  touch-action: none;
}

.spatial-card:active {
  cursor: grabbing;
  box-shadow: 0 20px 38px -14px rgba(42, 114, 235, 0.34);
  border-color: var(--accent);
}

.card-tag {
  height: 4px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.tag-sky { background: linear-gradient(90deg, #3B82F6, #60A5FA); }
.tag-emerald { background: linear-gradient(90deg, #10B981, #34D399); }
.tag-amber { background: linear-gradient(90deg, #D97706, #F59E0B); }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1A2840;
  margin-bottom: 10px;
}

.card-badge {
  font-size: 0.64rem;
  color: #556985;
  background: #F1F5FA;
  padding: 1px 6px;
  border-radius: 5px;
}

.card-doc-preview {
  background: #FAFBFD;
  border: 1px solid #E9EFF7;
  border-radius: 8px;
  padding: 10px;
  min-height: 146px;
}

.doc-h1 {
  font-size: 0.76rem;
  font-weight: 700;
  color: #16243B;
  margin-bottom: 8px;
}

.doc-line {
  height: 6px;
  border-radius: 3px;
  background: #DCE5F2;
  margin-bottom: 6px;
}

.doc-line.w95 { width: 95%; }
.doc-line.w90 { width: 90%; }
.doc-line.w85 { width: 85%; }
.doc-line.w80 { width: 80%; }
.doc-line.w75 { width: 75%; }
.doc-line.w70 { width: 70%; }
.doc-line.w65 { width: 65%; }
.doc-line.w60 { width: 60%; }

.doc-box {
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(135deg, #E8F1FE, #D4E6FC);
  margin: 9px 0;
}

.doc-grid-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 8px 0 10px;
}

.doc-grid-mini span {
  height: 22px;
  border-radius: 4px;
  background: #E4EDF9;
}

.doc-bars {
  height: 54px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 6px 8px 0;
  margin: 6px 0 10px;
  background: #F1F6FD;
  border-radius: 6px;
}

.doc-bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #4C95FA, #2A72EB);
}

.spatial-note {
  position: absolute;
  width: 214px;
  background: #FEF9E7;
  border: 1px solid #F2DC9B;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 12px 24px -14px rgba(120, 88, 22, 0.28);
  cursor: grab;
  touch-action: none;
}

.note-head {
  font-size: 0.74rem;
  font-weight: 700;
  color: #8A5E12;
  margin-bottom: 5px;
}

.spatial-note p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: #574115;
}

/* DEMO 2: PaperLight Living Window Shadows */
.sun-control {
  font-size: 0.78rem;
  color: var(--ink-secondary);
}

.sun-control input[type="range"] {
  width: 118px;
  accent-color: var(--accent);
}

.paperlight-stage {
  position: relative;
  flex: 1;
  min-height: 468px;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E8E1D4;
  overflow: hidden;
  transition: background-color 0.35s ease;
}

.paper-sheet {
  position: relative;
  z-index: 2;
  max-width: 580px;
  width: 100%;
  padding: 34px 38px;
  border-radius: 10px;
  border: 1px solid rgba(132, 118, 96, 0.26);
  box-shadow: 0 18px 38px -18px rgba(48, 38, 22, 0.25);
  color: #2B2722;
  transition: background-color 0.3s ease;
}

.paperlight-stage[data-paper="kinari"] .paper-sheet { background: #F7F4EC; }
.paperlight-stage[data-paper="ivory"] .paper-sheet  { background: #F4ECD9; }
.paperlight-stage[data-paper="linen"] .paper-sheet  {
  background: #EFE9DC;
  background-image:
    repeating-linear-gradient(0deg, rgba(110, 96, 76, 0.04) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(110, 96, 76, 0.03) 0 1px, transparent 1px 5px);
}

.sheet-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #827868;
  margin-bottom: 10px;
}

.paper-sheet h3 {
  margin: 0 0 14px;
  font-size: 1.38rem;
  font-weight: 700;
  color: #25211D;
}

.paper-sheet p {
  margin: 0 0 14px;
  font-size: 0.94rem;
  line-height: 1.85;
  color: #3A342D;
}

.paper-sheet blockquote {
  margin: 18px 0 0;
  padding: 10px 14px;
  border-left: 3px solid #3A6B57;
  background: rgba(58, 107, 87, 0.07);
  border-radius: 0 8px 8px 0;
  font-size: 0.86rem;
  color: #344D42;
}

.pl-sunlight-layer, .pl-shadow-layer {
  position: absolute;
  inset: -40px;
  z-index: 4;
  pointer-events: none;
  transition: background 0.22s ease, transform 0.22s ease;
}

.pl-shadow-layer {
  mix-blend-mode: multiply;
  transform-origin: 18% 12%;
  animation: windowSwayDemo 8.5s ease-in-out infinite alternate;
}

@keyframes windowSwayDemo {
  0%   { transform: rotate(-1.5deg) skewX(-1.2deg) translate(0, 0); }
  50%  { transform: rotate(1.4deg) skewX(1deg) translate(9px, 4px); }
  100% { transform: rotate(-0.6deg) skewX(-0.5deg) translate(-5px, 6px); }
}

/* DEMO 3: Markdown Studio */
.md-studio {
  flex: 1;
  min-height: 468px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-card);
}

.md-studio[data-mode="preview"] { grid-template-columns: 1fr; }
.md-studio[data-mode="preview"] .md-source-pane { display: none; }
.md-studio[data-mode="source"] { grid-template-columns: 1fr; }
.md-studio[data-mode="source"] .md-preview-pane { display: none; }

.md-source-pane {
  border-right: 1px solid var(--border-hair);
  display: flex;
}

#mdDemoEditor {
  width: 100%;
  min-height: 468px;
  border: 0;
  outline: 0;
  resize: none;
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--ink-primary);
  background: var(--bg-page);
}

.md-preview-pane {
  padding: 22px 28px;
  overflow-y: auto;
  max-height: 480px;
  background: var(--bg-card);
}

.md-rendered h1 {
  margin: 0 0 12px;
  font-size: 1.42rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-hair);
}

.md-rendered h2 {
  margin: 18px 0 10px;
  font-size: 1.12rem;
}

.md-rendered p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.72;
}

.md-rendered .md-callout {
  margin: 12px 0;
  padding: 10px 14px;
  border-left: 3.5px solid #10B981;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 0 9px 9px 0;
  font-size: 0.86rem;
}

.md-rendered .md-callout strong {
  display: block;
  font-size: 0.76rem;
  color: #0D8A62;
  margin-bottom: 3px;
}

.md-rendered ul {
  margin: 0 0 14px;
  padding-left: 4px;
  list-style: none;
}

.md-rendered li {
  font-size: 0.88rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.md-rendered li.is-done span {
  text-decoration: line-through;
  color: var(--ink-muted);
}

.md-rendered table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  margin-top: 10px;
}

.md-rendered th, .md-rendered td {
  border: 1px solid var(--border-hair);
  padding: 7px 10px;
}

.md-rendered th {
  background: var(--bg-sub);
  font-weight: 600;
}

/* DEMO 4: FrostFolder Interactive Vault Studio */
.vault-demo-grid {
  flex: 1;
  min-height: 468px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

.vault-dark-stage {
  background: radial-gradient(circle at 50% 45%, #17222B 0%, #0B0D10 74%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.frost-assembly {
  position: relative;
  width: 244px;
  height: 306px;
}

.frost-tab {
  position: absolute;
  right: -14px;
  bottom: 24px;
  width: 28px;
  height: 118px;
  border-radius: 0 8px 8px 0;
  background: rgba(63, 152, 166, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 0;
  box-shadow: 4px 6px 14px rgba(0, 0, 0, 0.45);
}

.frost-peek-top {
  position: absolute;
  top: -8px;
  left: 16px;
  right: 8px;
  height: 60px;
  background: #EDF2F7;
  border: 1px solid #CBD5E1;
  border-radius: 2px;
  transform: rotate(-2.2deg);
  transition: transform 0.2s ease;
}

.frost-assembly:hover .frost-peek-top {
  transform: rotate(-2.5deg) translateY(-3px);
}

.frost-peek-right {
  position: absolute;
  right: -7px;
  bottom: 30px;
  width: 44px;
  height: 108px;
  background: #F6F9FC;
  border: 1px solid #CBD5E1;
  border-radius: 1.5px;
  transform: rotate(3.1deg);
}

.frost-peek-bottom {
  position: absolute;
  left: 14px;
  right: 8px;
  bottom: -6px;
  height: 34px;
  background: #E5EDF4;
  border: 1px solid #CBD5E1;
  border-radius: 1.5px;
  transform: rotate(-0.45deg);
}

#frostCanvas {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 3px;
  box-shadow: 0 22px 42px -10px rgba(0, 0, 0, 0.65);
}

.frost-cover-text {
  position: absolute;
  z-index: 4;
  inset: 0;
  padding: 20px 18px 20px 38px;
  pointer-events: none;
  color: #F7FBFF;
  text-shadow: 0 1px 4px rgba(4, 8, 12, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.frost-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: -18px;
}

.frost-line1 {
  margin-top: 4px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  opacity: 0.88;
}

.frost-line2 {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  opacity: 0.78;
}

.frost-footer {
  position: absolute;
  left: 38px;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  opacity: 0.74;
}

.frost-lock-badge {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(11, 18, 26, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #EAF4FF;
  font-size: 0.64rem;
  font-weight: 600;
}

.frost-paperclip {
  position: absolute;
  z-index: 6;
  top: -11px;
  left: 34px;
  filter: drop-shadow(1px 3px 3px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.frost-binder {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: -6px;
  transform: translateY(-56%);
  filter: drop-shadow(1px 3px 4px rgba(0, 0, 0, 0.52));
  pointer-events: none;
}

.vault-controls-panel {
  padding: 24px 26px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.ctrl-block label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.ctrl-block input[type="text"] {
  width: 100%;
  padding: 8px 11px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: var(--bg-page);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.swatch-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.swatch-btn.is-active {
  transform: scale(1.16);
  box-shadow: 0 0 0 2px var(--accent), 0 4px 12px rgba(0, 0, 0, 0.22);
}

.ctrl-sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.slider-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-secondary);
  margin-bottom: 4px;
}

.slider-top span:last-child {
  font-family: var(--font-mono);
}

.ctrl-slider input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.ctrl-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--bg-sub);
  border: 1px solid var(--border-hair);
  padding: 5px 11px;
  border-radius: 9px;
  cursor: pointer;
}

/* ==========================================================================
   FEATURE DEEP-DIVE SPLITS
   ========================================================================== */
.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}

.feature-split.is-reversed .feature-text {
  order: 2;
}

.feature-heading {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.feature-heading.is-light { color: #F5FAFF; }

.feature-lead {
  margin: 0 0 20px;
  font-size: 0.98rem;
  color: var(--ink-secondary);
}

.feature-lead.is-light { color: #A9BDCE; }

.feature-bullets {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.93rem;
  color: var(--ink-secondary);
}

.feature-bullets strong { color: var(--ink-primary); }

.feature-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hair);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.spec-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.spec-mini {
  background: var(--bg-sub);
  border: 1px solid var(--border-hair);
  border-radius: 14px;
  padding: 16px;
}

.spec-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.spec-title {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 700;
}

.spec-mini p {
  margin: 5px 0 0;
  font-size: 0.8rem;
  color: var(--ink-secondary);
}

.theme-compare-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tc-card {
  border-radius: 16px;
  padding: 20px 18px;
  border: 1px solid var(--border-hair);
}

.tc-ciel {
  background: linear-gradient(150deg, #FAFBFD 0%, #E7F2FE 100%);
  color: #142238;
}

.tc-paper {
  background: linear-gradient(150deg, #F8F4EC 0%, #E9DFCC 100%);
  color: #2B2620;
}

.tc-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  margin-bottom: 10px;
}

.tc-card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.tc-card p {
  margin: 0;
  font-size: 0.83rem;
  opacity: 0.84;
}

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.flow-node {
  flex: 1;
  background: var(--bg-sub);
  border: 1px solid var(--border-hair);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
}

.flow-node.is-accent {
  background: var(--accent-soft);
  border-color: var(--border-strong);
}

.flow-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.flow-node strong {
  font-size: 0.84rem;
}

.flow-arrows {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 700;
}

.flow-caption {
  margin: 16px 0 0;
  font-size: 0.83rem;
  color: var(--ink-secondary);
  text-align: center;
}

/* Dark Frost Vault Spotlight */
.section-dark-vault {
  background: radial-gradient(ellipse 80% 70% at 18% 20%, #162632 0%, #0C1015 70%);
  color: #F3F8FC;
}

.vault-spotlight {
  max-width: 960px;
  margin: 0 auto;
}

.vault-security-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sec-pill-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
}

.sec-pill-card strong {
  display: block;
  font-size: 0.98rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.sec-pill-card span {
  font-size: 0.86rem;
  color: #A7BBCB;
}

.sec-pill-card code {
  background: rgba(121, 199, 212, 0.16);
  color: #8FE2EF;
}

/* Architecture Grid */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.arch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hair);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.arch-name {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.arch-card p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   INTERACTIVE CHANGELOG TIMELINE
   ========================================================================== */
.changelog-shell {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}

.version-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ver-tab {
  border: 1px solid var(--border-hair);
  background: var(--bg-card);
  color: var(--ink-secondary);
  border-radius: 14px;
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--font-sans);
  transition: all 0.16s ease;
}

.ver-tab strong {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--ink-primary);
}

.ver-tab span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.ver-tab.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 8px 20px -12px rgba(42, 114, 235, 0.35);
}

.ver-tab.is-active strong {
  color: var(--accent);
}

.version-detail {
  background: var(--bg-card);
  border: 1px solid var(--border-hair);
  border-radius: 20px;
  padding: 28px 30px;
  box-shadow: var(--shadow-card);
}

.ver-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-hair);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.ver-head h3 {
  margin: 0;
  font-size: 1.32rem;
}

.ver-date-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.ver-summary {
  margin: 0 0 18px;
  color: var(--ink-secondary);
  font-size: 0.94rem;
}

.ver-group-title {
  margin: 18px 0 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.ver-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.89rem;
  color: var(--ink-secondary);
}

.ver-list strong { color: var(--ink-primary); }

/* ==========================================================================
   FOOTER & TOAST
   ========================================================================== */
.footer {
  padding: 46px 0 34px;
  border-top: 1px solid var(--border-hair);
  background: var(--bg-card);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.05rem;
}

.footer-domain {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.footer-note {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-label {
  font-size: 0.84rem;
  color: var(--ink-secondary);
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: #142238;
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(10, 20, 38, 0.32);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-sculpture-grid { grid-template-columns: 1fr; text-align: center; }
  .metric-left, .metric-right { text-align: center; flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .feature-split, .vault-demo-grid, .arch-grid, .changelog-shell, .vault-security-grid, .editions-grid {
    grid-template-columns: 1fr;
  }
  .feature-split.is-reversed .feature-text { order: 0; }
  .version-tabs { flex-direction: row; overflow-x: auto; }
  .ver-tab { flex-shrink: 0; gap: 10px; }
}

@media (max-width: 680px) {
  .app-body { grid-template-columns: 1fr; }
  .app-rail { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--border-hair); }
  .rail-top, .rail-bottom { flex-direction: row; width: auto; }
  .rail-sep { width: 1px; height: 22px; margin: 0 4px; }
  .md-studio { grid-template-columns: 1fr; }
  .brand-domain, .wechat-label { display: none; }
  .br-desktop { display: none; }
  .spec-cards-grid, .theme-compare-cards { grid-template-columns: 1fr; }
}
