:root,
[data-theme="dark"] {
  --bg: #040b08;
  --bg-alt: #07130e;
  --surface: rgba(8, 22, 16, 0.84);
  --surface-solid: #081610;
  --surface-hover: rgba(16, 185, 129, 0.08);
  --accent: #10b981;
  --accent-bright: #34d399;
  --accent-soft: rgba(16, 185, 129, 0.14);
  --text: #ecfdf5;
  --text-muted: #8eb8a5;
  --border: rgba(16, 185, 129, 0.2);
  --border-strong: rgba(52, 211, 153, 0.42);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.48);
  --header-bg: rgba(4, 11, 8, 0.86);
  --canvas-dot: rgba(52, 211, 153, 0.55);
  --canvas-line: rgba(16, 185, 129, 0.18);
  --btn-text-on-accent: #032116;
}
[data-theme="light"] {
  --bg: #f3faf6;
  --bg-alt: #e6f4ec;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-hover: rgba(5, 150, 105, 0.07);
  --accent: #059669;
  --accent-bright: #10b981;
  --accent-soft: rgba(5, 150, 105, 0.11);
  --text: #062016;
  --text-muted: #3f6b59;
  --border: rgba(5, 150, 105, 0.18);
  --border-strong: rgba(5, 150, 105, 0.45);
  --shadow: 0 18px 42px rgba(6, 32, 22, 0.08);
  --header-bg: rgba(243, 250, 246, 0.9);
  --canvas-dot: rgba(5, 150, 105, 0.45);
  --canvas-line: rgba(5, 150, 105, 0.15);
  --btn-text-on-accent: #ffffff;
}
*,
*::before,
*::after  { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}
a  { color: inherit; text-decoration: none; }
button  { font: inherit; color: inherit; }
.mono,
.mono-tag,
.tab-code,
.shot-code,
.feature-tag,
.brand-tag  { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }
/* =========================================================
   50/50 Sticky Split-Screen (Index Page)
   ========================================================= */
.split-shell  { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.split-left {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  border-right: 1px solid var(--border);
  background: radial-gradient(circle at 18% 18%, rgba(16, 185, 129, 0.12), transparent 55%),
              radial-gradient(circle at 82% 85%, rgba(16, 185, 129, 0.08), transparent 50%),
              var(--bg);
}
.crypto-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.left-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 70%);
  top: -120px;
  right: -120px;
  pointer-events: none;
  z-index: 0;
}
.left-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(14px, 1.8vh, 22px) clamp(22px, 3vw, 44px);
  gap: clamp(8px, 1.2vh, 14px);
}
/* Left Header */
.left-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}
.brand  { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  object-fit: cover;
}
.brand-text  { display: inline-flex; align-items: center; gap: 8px; }
.brand-title  { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  border: 1px solid var(--border);
}
.header-actions  { display: inline-flex; align-items: center; gap: 8px; }
.ctl-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.ctl-link:hover  { color: var(--text); background: var(--surface-hover); }
.ctl-btn {
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 11px;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}
.ctl-btn:hover  { border-color: var(--border-strong); background: var(--surface-hover); }
/* Hero Main */
.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(8px, 1.1vh, 12px);
  margin: auto 0;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.02em;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseGlow 2.2s infinite;
  flex-shrink: 0;
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero-title {
  margin: 0;
  font-size: clamp(1.55rem, 2.55vw, 2.3rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero-title .highlight  { display: block; color: var(--accent-bright); margin-top: 3px; }
.hero-subtitle  { margin: 0; font-size: clamp(0.84rem, 0.95vw, 0.92rem); line-height: 1.48; color: var(--text-muted); max-width: 56ch; }
/* First-Screen 3-Platform Download Dock */
.download-dock {
  margin-top: 4px;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.dock-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
@property --beam-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes borderBeamSpin {
  to { --beam-angle: 360deg; }
}
@keyframes liveSweep {
  0% { transform: translateX(-140%) skewX(-20deg); }
  45%, 100% { transform: translateX(240%) skewX(-20deg); }
}
.store-actions-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.store-pill {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.store-pill.live {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #022014;
  border: 1px solid rgba(110, 231, 183, 0.55);
  box-shadow: 0 5px 0 #047857, 0 14px 32px rgba(16, 185, 129, 0.38);
}
.store-pill.live::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  animation: liveSweep 3.8s ease-in-out infinite;
  pointer-events: none;
}
.store-pill.live:hover  { transform: translateY(-2px); box-shadow: 0 7px 0 #047857, 0 18px 38px rgba(16, 185, 129, 0.48); }
.store-pill.live:active  { transform: translateY(2px); box-shadow: 0 2px 0 #047857, 0 6px 16px rgba(16, 185, 129, 0.28); }
.store-pill.coming  { border-color: rgba(16, 185, 129, 0.28); box-shadow: 0 4px 0 rgba(16, 185, 129, 0.2), 0 8px 20px rgba(0, 0, 0, 0.18); }
.store-pill.coming::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--beam-angle), transparent 0deg 255deg, rgba(52, 211, 153, 0.95) 315deg, rgba(16, 185, 129, 0.3) 348deg, transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderBeamSpin 3.6s linear infinite;
  pointer-events: none;
}
.store-pill.coming:hover {
  transform: translateY(-2px);
  background: var(--surface-hover);
  box-shadow: 0 6px 0 rgba(16, 185, 129, 0.32), 0 14px 28px rgba(16, 185, 129, 0.22);
}
.store-pill.coming:active  { transform: translateY(2px); box-shadow: 0 2px 0 rgba(16, 185, 129, 0.22); }
.store-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(2, 32, 20, 0.16);
}
.store-pill.coming .store-pill-icon  { background: var(--accent-soft); color: var(--accent-bright); }
.store-pill-body  { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.store-pill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.94rem;
  flex-wrap: wrap;
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-badge.live  { background: rgba(2, 32, 20, 0.18); color: #022014; }
.btn-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ecfdf5;
  box-shadow: 0 0 0 0 rgba(236, 253, 245, 0.8);
  animation: pulseGlow 1.8s infinite;
}
.pill-badge.soon  { background: var(--accent-soft); color: var(--accent-bright); border: 1px solid var(--border-strong); }
.store-pill-sub {
  font-size: 0.76rem;
  line-height: 1.35;
  opacity: 0.92;
  white-space: normal;
  word-break: break-word;
}
.store-pill.coming .store-pill-sub  { color: var(--text-muted); }
.store-toast  { margin-top: 6px; font-size: 0.76rem; color: var(--accent-bright); min-height: 0; }
.store-toast:empty  { margin-top: 0; }
/* Telemetry Row */
.hero-telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex-shrink: 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.telemetry-item  { min-width: 0; }
.telemetry-val  { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; font-size: 0.92rem; color: var(--text); }
.telemetry-label  { font-size: 0.74rem; color: var(--text-muted); }
/* =========================================================
   Right Scrollable Narrative Column
   ========================================================= */
.split-right {
  min-width: 0;
  padding: 24px clamp(20px, 3.6vw, 48px) 48px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.right-nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 6px 10px;
  align-self: flex-end;
  border-radius: 999px;
  background: var(--header-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.right-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 5px 11px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.right-nav a:hover  { color: var(--text); background: var(--surface-hover); }
.right-section  { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 76px; }
/* Enclave Chip Stage */
.enclave-hero {
  padding: 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.enclave-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.mono-tag  { font-size: 0.76rem; color: var(--text-muted); font-weight: 600; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  border: 1px solid var(--border);
}
.chip-stage {
  position: relative;
  height: 196px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chip-ring  { position: absolute; border-radius: 50%; border: 1px dashed var(--border-strong); }
.ring-outer  { width: 178px; height: 178px; animation: spinSlow 26s linear infinite; }
.ring-mid {
  width: 136px;
  height: 136px;
  border-style: solid;
  border-color: var(--border);
  animation: breatheRing 3.4s ease-in-out infinite;
}
.ring-inner {
  width: 102px;
  height: 102px;
  border-color: var(--accent-bright);
  opacity: 0.55;
  animation: spinSlow 14s linear infinite reverse;
}
.chip-core {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  box-shadow: 0 0 36px rgba(16, 185, 129, 0.24);
  z-index: 2;
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes breatheRing {
  0%, 100% { transform: scale(0.96); opacity: 0.55; }
  50% { transform: scale(1.05); opacity: 1; }
}
.enclave-spec-row  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.spec-chip {
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.spec-k  { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.66rem; color: var(--text-muted); }
.spec-v {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-bright);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Section Headers */
.section-head  { display: flex; flex-direction: column; gap: 6px; }
.section-eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-bright);
}
.section-title  { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.2; letter-spacing: -0.02em; }
.section-desc  { margin: 0; font-size: 0.92rem; color: var(--text-muted); }
/* 3D Flip Security Cards */
.flip-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.flip-card  { perspective: 1000px; cursor: pointer; min-height: 215px; outline: none; }
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 215px;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.flip-card.is-flipped .flip-card-inner  { transform: rotateY(180deg); }
.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease;
}
.flip-card:hover .flip-face,
.flip-card:focus-visible .flip-face  { border-color: var(--border-strong); }
.flip-back  { transform: rotateY(180deg); background: var(--bg-alt); border-color: var(--border-strong); }
.flip-top  { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.feature-tag  { font-size: 0.7rem; font-weight: 700; color: var(--accent-bright); }
.flip-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.feature-title  { margin: 0; font-size: 1.05rem; font-weight: 700; }
.feature-desc  { margin: 0; font-size: 0.86rem; color: var(--text-muted); }
.back-specs {
  margin: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text);
}
/* Interactive Screenshot Stage */
.stage-shell {
  display: grid;
  grid-template-columns: minmax(210px, 260px) 1fr;
  gap: 20px;
  padding: 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  align-items: center;
}
.stage-phone-frame {
  position: relative;
  width: 100%;
  padding: 10px;
  border-radius: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.stage-phone-frame:hover  { transform: translateY(-2px); }
.stage-phone-frame img  { width: 100%; height: auto; display: block; border-radius: 16px; }
.stage-zoom-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(4, 11, 8, 0.78);
  color: #ecfdf5;
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.stage-controls-col  { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.stage-tabs  { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stage-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.stage-tab strong  { font-size: 0.86rem; }
.tab-code  { font-size: 0.66rem; color: var(--text-muted); }
.stage-tab.active  { border-color: var(--border-strong); background: var(--accent-soft); }
.stage-tab.active .tab-code  { color: var(--accent-bright); }
.stage-info-box  { padding: 14px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--border); }
.shot-code  { font-size: 0.7rem; color: var(--accent-bright); font-weight: 700; }
.stage-info-title  { margin: 4px 0 6px; font-size: 1.02rem; }
.stage-info-desc  { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.thumb-strip  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumb-item {
  padding: 4px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.18s ease;
}
.thumb-item.active,
.thumb-item:hover  { border-color: var(--accent-bright); transform: translateY(-1px); }
.thumb-item img  { width: 100%; height: auto; display: block; border-radius: 6px; }
/* Metrics Grid */
.metrics-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric-card {
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-val  { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.45rem; font-weight: 800; color: var(--accent-bright); }
.metric-name  { font-weight: 700; font-size: 0.95rem; }
.metric-note  { font-size: 0.82rem; color: var(--text-muted); }
/* Scroll Reveal */
.reveal  { opacity: 0; transform: translateY(18px); transition: opacity 0.52s ease, transform 0.52s ease; }
.reveal.is-visible  { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal  { opacity: 1; transform: none; transition: none; }
  .ring-outer,
  .ring-mid,
  .ring-inner,
  .pulse-dot  { animation: none; }
}
/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 5, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.lightbox.open  { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 440px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-inner img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 1px solid var(--border-strong);
  background: rgba(4, 11, 8, 0.86);
  color: #ecfdf5;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close {
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  font-size: 1.25rem;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  font-size: 1.4rem;
}
.lightbox-nav.prev { left: -18px; }
.lightbox-nav.next { right: -18px; }
/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.86rem;
}
.footer-mail  { font-size: 0.76rem; color: var(--text-muted); margin-top: 4px; }
.footer-links  { display: flex; flex-wrap: wrap; gap: 14px; color: var(--text-muted); }
.footer-links a:hover  { color: var(--accent-bright); }
/* =========================================================
   Subpages Compatibility (privacy.html, terms.html, support.html)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.container  { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.nav-links a.active,
.nav-links a:hover  { color: var(--accent-bright); }
.doc-shell  { padding: 40px 0 64px; }
.doc-card {
  padding: 32px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.doc-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.doc-title  { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.doc-meta  { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 24px; }
.doc-section  { margin-top: 24px; }
.doc-section h2  { font-size: 1.15rem; margin: 0 0 10px; color: var(--accent-bright); }
.doc-section p,
.doc-section li  { color: var(--text-muted); font-size: 0.95rem; }
.callout-box {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  margin-top: 16px;
}
.footer-inner {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
/* =========================================================
   Responsive Breakpoints (Mobile First-Screen Optimization)
   ========================================================= */
@media (max-width: 1023px) {
  .split-shell  { grid-template-columns: 1fr; }
  .split-left  { position: relative; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .left-inner  { padding: 16px 18px 20px; gap: 14px; }
  .hero-title  { font-size: clamp(1.55rem, 6vw, 2.1rem); }
  .hero-subtitle  { font-size: 0.86rem; line-height: 1.45; }
  .right-nav  { display: none; }
  .split-right  { padding: 28px 18px 40px; gap: 40px; }
}
@media (max-width: 640px) {
  .flip-grid,
  .metrics-grid,
  .stage-shell,
  .enclave-spec-row  { grid-template-columns: 1fr; }
  .store-actions-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .store-pill  { padding: 9px 10px; gap: 8px; }
  .store-pill-icon { width: 30px; height: 30px; }
  .store-pill-top { font-size: 0.82rem; gap: 4px; }
  .store-pill-sub { font-size: 0.68rem; }
  .flip-card,
  .flip-card-inner  { min-height: 190px; }
  .hero-telemetry  { gap: 8px; }
  .telemetry-val  { font-size: 0.82rem; }
  .telemetry-label  { font-size: 0.68rem; }
}
