:root {
  --story-progress: 0;
  color-scheme: dark;
  font-family: var(--font-body-cn);
  background: #050505;
  color: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  scroll-snap-type: none;
}

body {
  overflow-x: hidden;
  background: #050505;
}

html body.home-page .site-nav.site-nav--unified {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body.is-loading,
body.is-story-input-locked {
  overflow: hidden;
}

body.is-story-fallback {
  overflow-x: hidden;
  overflow-y: auto;
}

body.is-story-fallback .video-stage,
body.is-story-fallback .intro-video,
body.is-story-fallback .story-video,
body.is-story-fallback .copy-stage {
  position: absolute;
}

body.is-story-fallback .story-hud {
  display: none;
}

body.is-story-fallback .site-footer-section,
body.is-story-fallback .site-footer-section.about-footer-section {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #000;
  color: #fff;
  text-align: center;
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
}

.loading-logo-video {
  display: block;
  width: clamp(180px, 11vw, 230px);
  height: auto;
  background: transparent;
  object-fit: contain;
  pointer-events: none;
}

.loading-percent {
  display: flex;
  margin-top: 72px;
  gap: 4px;
  align-items: flex-end;
  justify-content: center;
  min-width: 150px;
  color: #5e75ea;
  font-family: "DIN 1451 Mittelschrift", "DIN Condensed", "Arial Narrow", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}

.loading-number {
  min-width: 82px;
  font-family: var(--font-display-cn);
  font-size: 52px;
  font-weight: 700;
  line-height: 80px;
  text-align: right;
}

.loading-symbol {
  font-family: var(--font-display-cn);
  font-size: 30px;
  font-weight: 700;
  line-height: 58px;
}

.loading-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.loading-screen.has-error .loading-status {
  top: calc(50% + 170px);
  left: 50%;
  width: min(520px, 82vw);
  height: auto;
  clip: auto;
  color: rgba(255, 225, 225, 0.86);
  font-size: 13px;
  line-height: 1.6;
  white-space: normal;
  transform: translateX(-50%);
  position: absolute;
  overflow: visible;
  color: rgba(255, 225, 225, 0.86);
}

.single-story {
  position: relative;
  min-height: 100vh;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100vw;
  height: 80px;
  padding: 0 60px;
  background: transparent;
  color: #ffffff;
  pointer-events: auto;
}

.site-nav a {
  text-decoration: none;
}

.site-nav-logo {
  justify-self: start;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.site-nav-links {
  display: flex;
  gap: clamp(28px, 3.1vw, 54px);
  align-items: center;
  justify-self: center;
}

.site-nav-links a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  transition:
    color 250ms ease,
    opacity 250ms ease;
}

.site-nav-links a:hover {
  color: #ffffff;
}

.site-nav-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  height: 36px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 0 rgba(80, 220, 255, 0);
  color: #ffffff;
  font-size: 13px;
  transition:
    color 250ms ease,
    border-color 250ms ease,
    background 250ms ease,
    box-shadow 250ms ease;
}

.site-nav-download:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 24px rgba(80, 220, 255, 0.18);
  color: #ffffff;
}

.story-hud {
  position: fixed;
  left: 0;
  bottom: 36px;
  z-index: 30;
  width: 100vw;
  height: 32px;
  color: #ffffff;
  pointer-events: none;
  opacity: 1;
  transition: opacity 320ms ease;
}

body:not(.phase-story) .site-nav,
body:not(.phase-story) .story-hud,
body:not(.phase-story) .copy-stage {
  opacity: 0;
  pointer-events: none;
}

.hud-copyright {
  position: absolute;
  bottom: 0;
  left: 60px;
  max-width: calc(100vw - 120px);
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 0.01em;
  line-height: 1.4;
  white-space: normal;
}

.story-progress {
  position: absolute;
  right: 60px;
  bottom: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #ffffff;
  font-size: 11px;
  white-space: nowrap;
}

.story-progress-label {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  line-height: inherit;
  cursor: default;
}

.story-progress-label.is-return-to-top {
  cursor: pointer;
}

.story-progress-track {
  width: 130px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.story-progress-fill {
  width: 100%;
  height: 100%;
  background: rgba(145, 105, 255, 0.95);
  transform: scaleX(var(--story-progress));
  transform-origin: left center;
}

.story-progress-percent {
  min-width: 34px;
  text-align: right;
}

.story-progress-mouse {
  position: relative;
  width: 10px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.story-progress-mouse::before {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 2px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
  content: "";
  transform: translateX(-50%);
}

.video-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  height: 100vh;
  overflow: hidden;
  background: #050505 url("./assets/videos/posters/qmen-story-desktop.v1.webp") center / cover no-repeat;
  pointer-events: none;
}

@media (max-width: 1600px) {
  .video-stage {
    background-image: url("./assets/videos/posters/qmen-story-laptop.v1.webp");
  }
}

@media (max-width: 767px) {
  .video-stage {
    background-image: url("./assets/videos/posters/qmen-story-mobile.v1.webp");
  }
}

.intro-video,
.story-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  background: #000;
  opacity: 0;
  visibility: visible;
  display: block;
  transform: scale(1.08) translateZ(0);
  transform-origin: center center;
  filter: brightness(1.35) contrast(1.15) saturate(1.1);
  pointer-events: none;
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-video {
  z-index: 20;
}

.story-video {
  z-index: 10;
  filter: none;
}

body.phase-intro .intro-video {
  opacity: 1;
}

body.phase-story .intro-video {
  opacity: 0;
}

body.phase-story .story-video {
  opacity: 1;
}

.video-shade {
  position: absolute;
  inset: 0;
  display: none;
  background: none;
  pointer-events: none;
}

.scroll-timeline {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  height: 100vh;
}

.story-video.has-media-error,
.intro-video.has-media-error {
  opacity: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .intro-video,
  body.home-page .story-video {
    display: none;
  }

  body.home-page .story-copy,
  body.home-page .video-stage,
  body.home-page .copy-stage {
    transition-duration: 1ms !important;
    animation: none !important;
  }
}

.copy-stage {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.story-copy {
  --copy-x: 0;
  --copy-y: 0;
  --copy-enter-y: 0px;
  margin: 0;
  opacity: 1;
  filter: none;
  transform: translate(var(--copy-x), calc(var(--copy-y) + var(--copy-enter-y)));
  color: #fff;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.58);
  will-change: opacity;
  transition: opacity 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-copy.is-entering {
  --copy-enter-y: 0px;
  opacity: 0;
  filter: none;
  transition-duration: 1000ms;
}

.story-copy.is-active {
  --copy-enter-y: 0px;
  opacity: 1;
  filter: none;
  transition-duration: 1000ms;
}

.story-copy.is-leaving {
  --copy-enter-y: 0px;
  z-index: 1;
  opacity: 0;
  filter: none;
  pointer-events: none;
  transition-duration: 760ms;
}

.story-copy--left {
  position: fixed;
  left: clamp(96px, 6.8vw, 130px);
  top: 50%;
  width: min(806px, 46vw);
  max-width: 806px;
  --copy-x: 0;
  --copy-y: -4%;
}

.story-copy--center-final {
  position: fixed;
  left: 50%;
  top: 50.02vh;
  width: min(1451px, 82vw);
  max-width: 1451px;
  text-align: center;
  --copy-x: -50%;
  --copy-y: -50%;
}

.story-copy-title {
  margin: 0;
  color: #fff;
  font-family: var(--font-display-cn);
  font-size: clamp(52px, 4.65vw, 89px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.story-copy-title,
.story-copy-subtitle,
.story-copy-keywords,
.story-copy-actions {
  transition: opacity 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-copy.is-entering .story-copy-title,
.story-copy.is-entering .story-copy-subtitle,
.story-copy.is-entering .story-copy-keywords,
.story-copy.is-entering .story-copy-actions {
  opacity: 0;
  filter: none;
  transform: none;
}

.story-copy.is-active .story-copy-title {
  transition-delay: 0ms;
}

.story-copy.is-active .story-copy-subtitle {
  transition-delay: 160ms;
}

.story-copy.is-active .story-copy-keywords {
  transition-delay: 150ms;
}

.story-copy.is-active .story-copy-actions {
  transition-delay: 220ms;
}

.story-copy.is-leaving .story-copy-subtitle {
  transition-delay: 0ms;
}

.story-copy.is-leaving .story-copy-title {
  transition-delay: 100ms;
}

.story-copy-title span {
  display: block;
}

.story-copy-subtitle {
  margin: 32px 0 0;
  max-width: 806px;
  color: #ffffff;
  font-size: clamp(16px, 1.05vw, 20px);
  font-weight: 400;
  line-height: 2;
}

.story-copy-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 806px;
  margin-top: 32px;
}

.story-copy-keyword {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 580ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 580ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(150ms + var(--keyword-index) * 120ms);
}

.story-copy.is-active .story-copy-keyword {
  opacity: 1;
  transform: translateY(0);
}

.story-copy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.story-copy-actions.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.story-copy-button {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
}

.story-copy-button.is-visible {
  display: inline-flex;
  pointer-events: auto;
}

.story-copy-button--primary {
  border: 1px solid #5946cf;
  border-radius: 45px;
  background: linear-gradient(to top, rgba(89, 70, 207, 0.4) 0%, rgba(45, 36, 105, 0) 100%);
  color: #fff;
}

.story-copy-button--secondary {
  border: 1px solid #fff;
  border-radius: 33px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.story-copy-button:hover {
  box-shadow: none;
}

.story-copy-button--primary:hover {
  border-color: #5946cf;
  background: linear-gradient(to top, rgba(89, 70, 207, 0.4) 0%, rgba(45, 36, 105, 0) 100%);
}

.story-copy-button--secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.story-copy--center-final .story-copy-title {
  margin: 0 auto;
  max-width: 100%;
  font-size: clamp(42px, 3.9vw, 75px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}

.story-copy--center-final .story-copy-subtitle {
  margin: 0 auto;
  max-width: 951px;
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.55;
}

.story-copy--center-final .story-copy-actions {
  justify-content: center;
  margin-top: 32px;
  pointer-events: auto;
}

.story-copy-title,
.story-copy-subtitle,
.story-copy-keyword {
  user-select: text;
  -webkit-user-select: text;
  pointer-events: auto;
  cursor: text;
}

.story-copy-actions,
.story-copy-actions a,
.story-copy-actions button {
  user-select: auto;
  pointer-events: auto;
}

@keyframes copyFadeUp {
  from {
    opacity: 0;
    filter: blur(5px);
    --copy-enter-y: 24px;
  }
  to {
    opacity: 1;
    filter: blur(0);
    --copy-enter-y: 0px;
  }
}

@keyframes copyScaleIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes copySlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes copyRevealLeft {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
  }
}

@keyframes titleFloatIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes copySlideRight {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
}

@keyframes copyFinal {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes subtitleIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes keywordIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctaIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 0 22px rgba(80, 220, 255, 0.14);
  }
  50% {
    box-shadow: 0 0 34px rgba(80, 220, 255, 0.28);
  }
}

.capability-section {
  --capability-active: 0;
  position: relative;
  z-index: 8;
  min-height: 700vh;
  overflow: clip;
  background: #020305;
  color: #fff;
  isolation: isolate;
}

.capability-bg {
  position: absolute;
  top: 0;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 71% 43%, rgba(60, 217, 255, 0.22), rgba(0, 0, 0, 0) 24%),
    radial-gradient(circle at 86% 24%, rgba(138, 82, 255, 0.25), rgba(0, 0, 0, 0) 22%),
    radial-gradient(circle at 52% 98%, rgba(21, 91, 136, 0.36), rgba(0, 0, 0, 0) 36%),
    linear-gradient(112deg, #020305 0%, #030407 47%, #060713 100%);
}

.capability-bg::before,
.capability-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.capability-bg::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.12) 52%, rgba(0, 0, 0, 0.1)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.08) 22%, rgba(0, 0, 0, 0.64));
}

.capability-bg::after {
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 70% 44%, #000, transparent 58%);
}

.capability-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(420px, 46vw) minmax(520px, 54vw);
  align-items: center;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
}

.capability-visual {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.capability-device-scene {
  position: absolute;
  right: clamp(18px, 4vw, 88px);
  top: 50%;
  width: min(780px, 52vw);
  height: min(620px, 72vh);
  transform: translateY(-48%);
  perspective: 1500px;
  animation: capabilityFloat 7s ease-in-out infinite;
}

.capability-orbit {
  position: absolute;
  right: clamp(-20px, 5vw, 96px);
  top: 14vh;
  width: min(780px, 52vw);
  aspect-ratio: 1.18;
  border: 1px solid rgba(77, 218, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 80px rgba(65, 216, 255, 0.13),
    inset 0 0 70px rgba(133, 92, 255, 0.1);
  transform: rotateX(64deg) rotateZ(-18deg);
}

.capability-laptop {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(690px, 100%);
  transform: translate(-50%, -48%) rotateX(6deg) rotateY(-18deg) rotateZ(1deg);
  transform-style: preserve-3d;
}

.capability-laptop-lid {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(143, 241, 255, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.015) 18%),
    linear-gradient(135deg, #141926, #06080d 62%, #020305);
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.72),
    0 0 90px rgba(63, 218, 255, 0.2),
    46px -30px 110px rgba(115, 78, 255, 0.16);
  padding: 18px;
}

.capability-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(120, 230, 255, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 60% 40%, rgba(52, 213, 255, 0.16), transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(132, 83, 255, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(8, 13, 24, 0.96), rgba(3, 4, 8, 0.98));
  box-shadow: inset 0 0 50px rgba(34, 220, 255, 0.08);
}

.capability-laptop-base {
  width: 112%;
  height: 36px;
  margin: -2px 0 0 -6%;
  border-radius: 0 0 46px 46px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(167, 233, 255, 0.26) 48%, rgba(255, 255, 255, 0.05)),
    linear-gradient(#171c25, #050609);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.65),
    0 0 42px rgba(77, 218, 255, 0.18);
  transform: rotateX(62deg) translateY(-7px);
  transform-origin: top center;
}

.screen-glow {
  position: absolute;
  inset: auto 8% 0;
  height: 44%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(66, 220, 255, 0.2), transparent);
  filter: blur(6px);
}

.screen-ui {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: blur(6px);
  transform: scale(0.96);
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 420ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.screen-ui.is-active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.screen-topbar {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  color: rgba(235, 251, 255, 0.84);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-topbar i,
.floating-panel i {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(58, 224, 255, 0.78);
  box-shadow: 0 0 16px rgba(58, 224, 255, 0.7);
}

.workspace-core {
  position: absolute;
  left: 12%;
  top: 22%;
  display: grid;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  gap: 18px;
  width: 76%;
}

.workspace-node--main {
  grid-column: 1 / -1;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(85, 231, 255, 0.52);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 226, 255, 0.32), rgba(64, 99, 255, 0.14) 54%, rgba(255, 255, 255, 0.04));
  box-shadow: 0 0 54px rgba(72, 226, 255, 0.26);
  color: #fff;
  font-size: 52px;
  font-weight: 650;
}

.workspace-core span,
.chain-track + span,
.screen-ui--chain span,
.route-node,
.screen-ui--trust span,
.network-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(140, 234, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 20px rgba(72, 226, 255, 0.045);
  color: rgba(238, 252, 255, 0.9);
  font-size: 13px;
}

.workspace-stream {
  position: absolute;
  right: 10%;
  bottom: 14%;
  display: grid;
  gap: 10px;
  width: 34%;
}

.workspace-stream i {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(54, 224, 255, 0.76), rgba(130, 93, 255, 0.18));
}

.screen-ui svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.screen-ui path {
  fill: none;
  stroke: rgba(69, 225, 255, 0.42);
  stroke-linecap: round;
  stroke-width: 1;
  filter: drop-shadow(0 0 7px rgba(69, 225, 255, 0.55));
}

.network-node {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  min-width: 76px;
  transform: translate(-50%, -50%);
}

.network-node--center {
  left: 50%;
  top: 50%;
  min-width: 136px;
  min-height: 64px;
  border-color: rgba(93, 232, 255, 0.54);
  background: rgba(49, 215, 255, 0.16);
}

.screen-ui--chain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 54px;
}

.chain-track,
.trust-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 219, 255, 0.78), rgba(138, 96, 255, 0.55), transparent);
  box-shadow: 0 0 22px rgba(63, 219, 255, 0.28);
}

.screen-ui--chain span {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 24px;
  transform: translateY(calc((var(--i) - 2) * 4px));
}

.screen-ui--knowledge {
  display: grid;
  grid-template-columns: 132px 1fr 138px;
  gap: 18px;
  padding: 76px 48px 48px;
}

.knowledge-sidebar,
.knowledge-docs,
.knowledge-memory {
  border: 1px solid rgba(128, 232, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 26px rgba(68, 221, 255, 0.04);
}

.knowledge-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
}

.knowledge-sidebar span {
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(72, 226, 255, 0.26), rgba(120, 92, 255, 0.08));
}

.knowledge-docs {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px;
  color: rgba(241, 253, 255, 0.92);
}

.knowledge-docs b {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}

.knowledge-docs i {
  display: block;
  width: var(--w);
  height: 7px;
  border-radius: 999px;
  background: rgba(218, 247, 255, 0.28);
}

.source-row {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 16px;
  border: 1px solid rgba(64, 225, 255, 0.18);
  border-radius: 999px;
  color: rgba(238, 252, 255, 0.82);
  font-size: 13px;
}

.knowledge-memory {
  display: grid;
  place-items: center;
  color: rgba(71, 226, 255, 0.9);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.screen-ui--workflow {
  overflow: visible;
}

.workflow-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 48px;
  border: 1px solid rgba(124, 235, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 30px rgba(58, 224, 255, 0.12);
  color: rgba(242, 253, 255, 0.9);
  font-size: 13px;
}

.workflow-node--input {
  left: 12%;
  top: 44%;
}

.workflow-node--retrieve {
  left: 30%;
  top: 24%;
}

.workflow-node--tool {
  left: 49%;
  top: 42%;
}

.workflow-node--review {
  right: 18%;
  top: 22%;
}

.workflow-node--output {
  right: 10%;
  bottom: 23%;
}

.routing-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(84, 230, 255, 0.58);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 223, 255, 0.24), rgba(90, 91, 255, 0.08));
  color: #fff;
  font-size: 14px;
  transform: translate(-50%, -50%);
}

.route-node {
  position: absolute;
  min-width: 96px;
}

.route-node--cloud {
  left: 13%;
  top: 17%;
}

.route-node--local {
  right: 9%;
  top: 24%;
}

.route-node--private {
  left: 15%;
  bottom: 17%;
}

.screen-ui--trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.screen-ui--trust span {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
}

.trust-seal {
  position: absolute;
  right: 10%;
  top: 16%;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(126, 242, 255, 0.42);
  border-radius: 26px;
  background: rgba(53, 220, 255, 0.12);
  box-shadow: 0 0 42px rgba(53, 220, 255, 0.2);
  color: rgba(241, 253, 255, 0.95);
}

.trust-log {
  position: absolute;
  right: 9%;
  bottom: 14%;
  display: grid;
  gap: 10px;
  width: 180px;
  padding: 18px;
  border: 1px solid rgba(124, 235, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.trust-log i {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(61, 226, 255, 0.72), rgba(255, 255, 255, 0.1));
}

.screen-ui--devices {
  overflow: visible;
}

.mini-device {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124, 235, 255, 0.32);
  background:
    radial-gradient(circle at 50% 24%, rgba(58, 224, 255, 0.16), transparent 46%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 44px rgba(58, 224, 255, 0.13);
  color: rgba(244, 253, 255, 0.94);
  font-size: 13px;
}

.mini-device--web {
  left: 10%;
  top: 22%;
  width: 190px;
  height: 116px;
  border-radius: 16px;
}

.mini-device--desktop {
  left: 40%;
  top: 14%;
  width: 214px;
  height: 142px;
  border-radius: 18px;
}

.mini-device--mobile {
  right: 12%;
  bottom: 14%;
  width: 76px;
  height: 142px;
  border-radius: 22px;
}

.floating-panel {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 220px;
  height: 72px;
  padding: 0 20px;
  border: 1px solid rgba(144, 234, 255, 0.2);
  border-radius: 18px;
  background: rgba(8, 13, 22, 0.46);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.34),
    0 0 36px rgba(91, 218, 255, 0.12);
  color: rgba(244, 253, 255, 0.8);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.floating-panel--left {
  left: 2%;
  top: 18%;
  transform: rotateY(-18deg) rotateZ(-4deg);
}

.floating-panel--right {
  right: -2%;
  bottom: 18%;
  transform: rotateY(-18deg) rotateZ(5deg);
}

.capability-screen-copy {
  position: absolute;
  left: clamp(96px, 6.8vw, 130px);
  top: clamp(250px, 28vh, 300px);
  z-index: 2;
  display: flex;
  width: min(937px, 49vw);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-right: 0;
  margin-left: 0;
  padding: 0;
  opacity: 0;
  filter: blur(6px);
  text-align: left;
  transform: translateY(28px);
  transition:
    opacity 520ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 360ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.capability-screen-copy.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.capability-kicker {
  margin: 0 0 18px;
  color: rgba(70, 224, 255, 0.86);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.capability-screen-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 4vw, 76px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-align: left;
  text-wrap: balance;
}

.capability-screen-copy p:last-child {
  max-width: 610px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 2;
  text-align: left;
}

.capability-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 660px;
  margin-top: 24px;
}

.capability-keywords span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(64, 225, 255, 0.28);
  border-radius: 999px;
  background: rgba(64, 225, 255, 0.06);
  color: rgba(91, 231, 255, 0.94);
  font-size: 12px;
}

.capability-scroll-steps {
  position: relative;
  z-index: -1;
  display: grid;
}

.capability-scroll-steps span {
  display: block;
  height: calc(600vh / 7);
}

body.is-complete .copy-stage,
body.is-complete .story-hud {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

body.is-complete .video-stage {
  opacity: 0;
  transition: opacity 700ms ease;
}

@keyframes capabilityFloat {
  0%,
  100% {
    transform: translateY(-48%);
  }
  50% {
    transform: translateY(-51%);
  }
}

body.is-footer-visible .copy-stage,
body.is-footer-visible .story-hud,
body.is-footer-visible .story-progress,
body.is-footer-visible .story-progress-label,
body.is-footer-visible .story-progress-track,
body.is-footer-visible .story-progress-percent,
body.is-footer-visible .story-progress-mouse {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

body.is-footer-visible.is-story-at-end .story-hud {
  opacity: 1;
  pointer-events: none;
  visibility: visible;
}

body.is-footer-visible.is-story-at-end .story-progress,
body.is-footer-visible.is-story-at-end .story-progress-label,
body.is-footer-visible.is-story-at-end .story-progress-track,
body.is-footer-visible.is-story-at-end .story-progress-percent,
body.is-footer-visible.is-story-at-end .story-progress-mouse {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

body.is-footer-visible.is-story-at-end .story-progress {
  pointer-events: auto;
}

.site-footer-section {
  position: fixed;
  inset: 0;
  z-index: 20;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(48px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-footer-visible .site-footer-section {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.footer-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.footer-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 47%, rgba(67, 132, 255, 0.16), rgba(0, 0, 0, 0) 34%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.78));
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  padding: 464px 60px 60px;
}

.footer-brand-block {
  position: absolute;
  left: 60px;
  top: 464px;
  display: grid;
  gap: 42px;
  width: min(460px, 28vw);
}

.footer-brand-block h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.footer-contact {
  display: block;
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}

a.footer-contact:hover,
.footer-link-column a:hover {
  opacity: 0.72;
}

.footer-link-grid {
  position: absolute;
  left: 632px;
  top: 465px;
  display: grid;
  grid-template-columns: 96px 112px 144px 140px;
  gap: 80px;
}

.footer-link-column {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-link-column h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-link-column a {
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 200ms ease;
}

.footer-qr-card {
  position: absolute;
  top: 464px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.footer-qr-card img {
  width: 206px;
  height: 206px;
  padding: 6px;
  border: 1px solid #fff;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  object-fit: contain;
}

.footer-qr-card p,
.footer-copyright {
  margin: 0;
}

.footer-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 48px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 clamp(32px, 4vw, 72px);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  user-select: text;
  -webkit-user-select: text;
}

.footer-bottom * {
  user-select: text;
  -webkit-user-select: text;
}

@media (max-width: 720px) {
  .site-nav {
    padding: 0 24px;
  }

  .site-nav-links {
    display: none;
  }

  .copy-stage {
    inset: 0;
  }

  .story-copy--left {
    left: 28px;
    top: 50%;
    width: calc(100vw - 56px);
    max-width: none;
    --copy-x: 0;
    --copy-y: -3%;
  }

  .story-copy--center-final {
    width: calc(100vw - 56px);
    --copy-x: -50%;
    --copy-y: -50%;
  }

  .story-copy-title,
  .story-copy--center-final .story-copy-title {
    font-size: clamp(40px, 10vw, 52px);
    line-height: 1.12;
    white-space: normal;
  }

  .story-copy-subtitle,
  .story-copy--center-final .story-copy-subtitle {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.75;
  }

  .story-copy-keywords {
    margin-top: 22px;
  }

  .story-copy-actions,
  .story-copy--center-final .story-copy-actions {
    margin-top: 30px;
  }

  .site-footer-section {
    transform: translateY(28px);
  }

  .footer-content {
    padding: 140px 24px 34px;
  }

  .footer-brand-block,
  .footer-link-grid,
  .footer-qr-card,
  .footer-bottom {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .footer-brand-block {
    width: 100%;
    gap: 24px;
  }

  .footer-link-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 40px 28px;
    margin-top: 56px;
  }

  .footer-link-column {
    gap: 22px;
  }

  .footer-qr-card {
    align-items: flex-start;
    gap: 18px;
    margin-top: 48px;
  }

  .footer-qr-card img {
    width: 150px;
    height: 150px;
  }

  .footer-bottom {
    margin-top: 36px;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .site-nav {
    padding: 0 24px;
  }

  .site-nav-links {
    display: none;
  }

  .hud-copyright {
    left: 24px;
    max-width: calc(100vw - 48px);
  }

  .story-progress {
    right: 24px;
  }

  .story-progress-track {
    width: 90px;
  }
}

.download-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
  color: #fff;
}

body.download-page .site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  width: 100vw;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: transparent;
  color: #fff;
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

body.download-page .site-nav-logo {
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
}

body.download-page .site-nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

body.download-page .site-nav-links a {
  display: flex;
  min-width: auto;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
}

body.download-page .site-nav-download {
  display: flex;
  width: 80px;
  min-width: 80px;
  height: auto;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid #fff;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  letter-spacing: 0;
  white-space: nowrap;
  word-break: keep-all;
  box-shadow: none;
}

.download-main {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.download-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  pointer-events: none;
}

.download-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 42%, rgba(83, 66, 247, 0.2), rgba(0, 0, 0, 0) 38%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.44) 42%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}

.download-hero {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 1920px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 260px 60px 96px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.download-heading {
  width: min(550px, calc(100vw - 48px));
  min-height: 130px;
  color: #fff;
  white-space: nowrap;
}

.download-heading h1 {
  width: min(412px, 100%);
  height: 80px;
  margin: 0 auto;
  color: #fff;
  font-family: var(--font-display-cn);
  font-size: 76px;
  font-weight: 700;
  line-height: 80px;
  letter-spacing: 0;
}

.download-heading p {
  width: min(550px, 100%);
  height: 26px;
  margin: 24px 0 0;
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 22px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 0;
}

.download-note {
  display: flex;
  width: min(452px, calc(100vw - 48px));
  height: 44px;
  align-items: center;
  justify-content: center;
  margin: 42px 0 0;
  padding: 16px 32px;
  border: 1px solid #fff;
  border-radius: 29px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: 0;
  white-space: nowrap;
}

.download-card-grid {
  display: flex;
  width: min(1240px, calc(100vw - 80px));
  height: 250px;
  margin: 50px auto 0;
  gap: 80px;
  align-items: center;
  justify-content: center;
}

.download-card {
  position: relative;
  display: block;
  width: 250px;
  height: 250px;
  flex: 0 0 250px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  overflow: visible;
  appearance: none;
}

/* Keep the Figma four-card layout stable for the iOS/Android slots. Rendering
   the exported folded SVG as the button background avoids the detached-corner
   result seen when the responsive preview scales the nested img element. */
.download-card--mobile {
  background-image: url("./assets/cards/download-card-fold.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.download-card--mobile > .download-card-bg--default {
  display: none;
}

.download-card--mobile.is-qr-active {
  background-image: url("./assets/cards/download-card-base-large.svg");
}

.download-card:hover {
  transform: translateY(-3px);
}

.download-card-default,
.download-card-qr {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.download-card:not(.download-card--macos) .download-card-default {
  gap: 0;
}

.download-card--macos .download-card-default,
.download-card--mobile:not(.download-card--android) .download-card-default {
  gap: 20px;
}

.download-card-qr {
  display: none;
  width: 100%;
  height: 100%;
}

.download-card.is-qr-active {
  background: transparent;
}

.download-card.is-qr-active .download-card-default,
.download-card.is-qr-active .download-card-bg--default {
  display: none;
}

.download-card.is-qr-active .download-card-qr {
  display: flex;
}

.download-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.download-card-bg--qr {
  top: 4px;
  left: 4px;
  display: none;
  width: 242px;
  height: 242px;
}

.download-card.is-qr-active .download-card-bg--qr {
  display: none;
}

.download-card-icon {
  position: absolute;
  left: 50%;
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.download-card:not(.download-card--mobile) .download-card-icon {
  top: 82px;
}

.download-card--macos .download-card-icon,
.download-card--mobile:not(.download-card--android) .download-card-icon {
  top: 72px;
}

.download-card--android .download-card-icon {
  top: 82px;
}

.download-card-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 142px;
  display: block;
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 24px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.download-card--macos .download-card-title,
.download-card--mobile:not(.download-card--android) .download-card-title {
  top: 152px;
}

.download-qr {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: block;
  width: 218px;
  height: 218px;
  border-radius: 4px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.download-status {
  min-width: 320px;
  min-height: 20px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 20px;
}

.download-copyright {
  position: absolute;
  left: 60px;
  bottom: 36px;
  z-index: 2;
  max-width: calc(100vw - 120px);
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.4;
  white-space: normal;
}

@media (max-width: 900px), (max-height: 720px) {
  body.download-page .site-nav {
    padding: 0 28px;
  }

  body.download-page .site-nav-links {
    display: none;
  }
}

@media (max-width: 1500px) {
  .download-hero {
    padding-top: 220px;
  }

  .download-card-grid {
    width: min(1000px, calc(100vw - 72px));
    height: auto;
    gap: 48px;
  }

  .download-card {
    width: 220px;
    height: 220px;
    flex-basis: 220px;
  }

  .download-card-bg--qr {
    width: 212px;
    height: 212px;
  }

  .download-card:not(.download-card--mobile) .download-card-icon,
  .download-card--android .download-card-icon {
    top: 72px;
  }

  .download-card--macos .download-card-icon,
  .download-card--mobile:not(.download-card--android) .download-card-icon {
    top: 63px;
  }

  .download-card-title {
    top: 125px;
  }

  .download-card--macos .download-card-title,
  .download-card--mobile:not(.download-card--android) .download-card-title {
    top: 134px;
  }

  .download-qr {
    width: 192px;
    height: 192px;
  }
}

@media (max-width: 1100px) {
  .download-page {
    overflow-y: auto;
  }

  .download-main {
    min-height: 1120px;
  }

  .download-hero {
    padding-top: 150px;
  }

  .download-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 220px);
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .download-main {
    min-height: 1360px;
  }

  .download-hero {
    padding: 128px 24px 72px;
  }

  .download-heading {
    white-space: normal;
  }

  .download-heading h1 {
    height: auto;
    font-size: 52px;
    line-height: 1.08;
  }

  .download-heading p {
    height: auto;
    font-size: 18px;
    line-height: 1.5;
    white-space: normal;
  }

  .download-note {
    height: auto;
    min-height: 44px;
    padding: 12px 20px;
    white-space: normal;
  }

  .download-card-grid {
    grid-template-columns: 220px;
  }

  .download-copyright {
    left: 24px;
    bottom: 36px;
    max-width: calc(100vw - 48px);
    white-space: normal;
  }
}

/* Blog Page */
.blog-page {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #000;
  color: #fff;
}

body.blog-page {
  overflow-x: hidden;
  overflow-y: auto;
}

body.download-page,
body.blog-post-page {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

body.blog-page .site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  width: 100vw;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: transparent;
  color: #fff;
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

body.blog-page .site-nav-logo {
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
}

body.blog-page .site-nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

body.blog-page .site-nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
}

body.blog-page .site-nav-download {
  display: flex;
  width: 80px;
  min-width: 80px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid #fff;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  letter-spacing: 0;
  white-space: nowrap;
  word-break: keep-all;
}

.blog-main {
  position: relative;
  min-height: 1995px;
  overflow: hidden;
  background: #000;
}

.blog-design-frame {
  position: relative;
  width: min(100vw, 1920px);
  height: 1995px;
  margin: 0 auto;
}

.blog-feature-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
}

.blog-feature-card--large {
  left: 130px;
  top: 180px;
  width: 1086px;
  height: 600px;
}

.blog-feature-card--small {
  left: 1240px;
  width: 550px;
  height: 288px;
}

.blog-feature-card--top {
  top: 180px;
}

.blog-feature-card--bottom {
  top: 492px;
}

.blog-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.blog-feature-copy,
.blog-card-footer,
.blog-arrow-button {
  position: relative;
  z-index: 1;
}

.blog-feature-copy {
  width: 100%;
  min-width: 0;
}

.blog-feature-copy h1,
.blog-feature-copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
}

.blog-feature-card--large .blog-feature-copy h1 {
  white-space: normal;
}

.blog-feature-copy h1,
.blog-feature-copy h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.blog-feature-copy p {
  width: 100%;
  margin: 8px 0 0;
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 14px;
  font-weight: 500;
  line-height: 26px;
}

.blog-card-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-right: 52px;
  color: #fff;
  font-family: var(--font-body-cn);
  line-height: normal;
  white-space: nowrap;
}

.blog-card-footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.blog-card-footer span,
.blog-card-footer time {
  font-size: 12px;
  font-weight: 400;
}

.blog-arrow-button {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid #fff;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.blog-arrow-button img {
  width: 24px;
  height: 24px;
}

.blog-list-column {
  position: absolute;
  top: 868px;
  display: flex;
  width: 822px;
  min-width: 0;
  flex-direction: column;
  gap: 40px;
  color: #fff;
}

.blog-list-column--left {
  left: 130px;
}

.blog-list-column--right {
  left: 968px;
}

.blog-list-item {
  width: 822px;
  max-width: 100%;
  min-width: 0;
  min-height: 163px;
}

.blog-list-link {
  display: block;
  max-width: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.blog-feature-card.is-placeholder,
.blog-list-item.is-placeholder {
  opacity: 0.58;
}

.blog-feature-card.is-placeholder {
  cursor: default;
}

.blog-list-item time {
  display: block;
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
}

.blog-list-item h2 {
  width: 100%;
  max-width: 100%;
  margin: 8px 0 0;
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.blog-author {
  margin: 16px 0 0;
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.blog-list-item p:not(.blog-author) {
  width: 822px;
  margin: 16px 0 0;
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 14px;
  font-weight: 500;
  line-height: 26px;
}

@media (max-width: 1500px) {
  body.blog-page .site-nav {
    padding: 0 40px;
  }

  .blog-main {
    min-height: auto;
    overflow: visible;
  }

  .blog-design-frame {
    width: min(100%, 1180px);
    height: auto;
    padding: 140px 40px 90px;
  }

  .blog-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 24px;
  }

  .blog-feature-card,
  .blog-feature-card--large,
  .blog-feature-card--small,
  .blog-feature-card--top,
  .blog-feature-card--bottom,
  .blog-list-column,
  .blog-list-column--left,
  .blog-list-column--right {
    position: relative;
    inset: auto;
    left: auto;
    top: auto;
  }

  .blog-feature-card--large {
    grid-row: span 2;
    width: 100%;
    height: 560px;
  }

  .blog-feature-card--small {
    width: 100%;
    height: 268px;
  }

  .blog-feature-card--large .blog-feature-copy h1,
  .blog-list-item h2 {
    white-space: normal;
  }

  .blog-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
    margin-top: 72px;
  }

  .blog-list-column,
  .blog-list-item,
  .blog-list-item p:not(.blog-author),
  .blog-list-item h2 {
    width: 100%;
  }
}

@media (max-width: 900px) {
  body.blog-page .site-nav {
    padding: 0 24px;
  }

  body.blog-page .site-nav-links {
    display: none;
  }

  .blog-design-frame {
    padding: 116px 24px 72px;
  }

  .blog-feature-grid,
  .blog-list-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .blog-feature-card,
  .blog-feature-card--large,
  .blog-feature-card--small {
    width: 100%;
    height: 420px;
    padding: 28px;
    border-radius: 32px;
  }

  .blog-feature-card--small {
    height: 280px;
  }

  .blog-feature-copy h1,
  .blog-feature-copy h2,
  .blog-list-item h2 {
    font-size: 20px;
  }

  .blog-card-footer {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-right: 52px;
    white-space: normal;
  }

  .blog-arrow-button {
    right: 28px;
    bottom: 28px;
  }
}

/* Blog Index Real Posts */
body.blog-page {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #000;
  color: #fff;
}

body.blog-page .blog-main {
  width: min(1080px, calc(100vw - 240px));
  min-height: 100vh;
  height: auto;
  margin: 0 auto;
  overflow: visible;
  padding: 150px 0 120px;
  background: #000;
  color: #fff;
}

.blog-index-hero {
  max-width: 880px;
}

.blog-index-kicker {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-index-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 5vw, 82px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.blog-index-hero p:not(.blog-index-kicker) {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.8;
}

.blog-index-list {
  display: grid;
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.blog-index-item {
  min-width: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.blog-index-link {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 42px;
  padding: 40px 0;
  color: inherit;
  text-decoration: none;
}

.blog-index-link time {
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  line-height: 1.4;
}

.blog-index-link h2 {
  grid-column: 2;
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.blog-index-link .blog-author,
.blog-index-link .blog-description {
  grid-column: 2;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.7;
}

.blog-index-link .blog-description {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.blog-index-link:hover h2 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

@media (max-width: 900px) {
  body.blog-page .blog-main {
    width: calc(100vw - 48px);
    padding: 122px 0 82px;
  }

  .blog-index-list {
    margin-top: 52px;
  }

  .blog-index-link {
    display: block;
    padding: 32px 0;
  }

  .blog-index-link h2 {
    margin-top: 14px;
  }
}

/* Blog Entry - Figma frame 94:726, "技术博客-2" */
body.blog-page .blog-main.blog-figma-main {
  position: relative;
  width: 100%;
  min-height: 1080px;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.blog-figma-content {
  position: absolute;
  left: 460px;
  top: 180px;
  width: 1000px;
  min-width: 0;
}

.blog-figma-hero {
  width: 993px;
  min-width: 0;
}

.blog-figma-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display-cn);
  font-size: 40px;
  line-height: 56px;
  font-weight: 700;
  letter-spacing: 0;
}

.blog-figma-hero p {
  width: 993px;
  max-width: 100%;
  margin: 17px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: 0;
}

.blog-figma-posts {
  width: 1000px;
  max-width: 100%;
  margin-top: 60px;
}

.blog-figma-post {
  min-width: 0;
}

.blog-figma-post--primary {
  width: 1000px;
  min-height: 179px;
}

.blog-figma-post--secondary {
  width: 1000px;
  min-height: 269px;
  margin-top: 60px;
}

.blog-figma-post-link {
  display: block;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.blog-figma-post-link--with-media {
  display: grid;
  grid-template-columns: minmax(0, 736px) 240px;
  column-gap: 24px;
  align-items: start;
}

.blog-figma-post-copy {
  min-width: 0;
}

.blog-figma-post-date {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.blog-figma-post-title {
  max-width: 100%;
  margin: 8px 0 0;
  color: #fff;
  font-family: var(--font-display-cn);
  font-size: 32px;
  line-height: 45px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.blog-figma-post-author {
  max-width: 100%;
  margin: 16px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  white-space: normal;
  overflow-wrap: anywhere;
}

.blog-figma-post-description {
  max-width: 100%;
  margin: 16px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  white-space: normal;
  overflow-wrap: anywhere;
}

.blog-figma-post-media {
  width: 240px;
  height: 170px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    #1a1a1a;
  overflow: hidden;
}

.blog-figma-post-media img {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  object-fit: contain;
}

.blog-figma-post-link:hover .blog-figma-post-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.blog-figma-copyright {
  position: absolute;
  left: 60px;
  bottom: 36px;
  max-width: calc(100vw - 120px);
  margin: 0;
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
}

@media (max-width: 1500px) {
  body.blog-page .blog-main.blog-figma-main {
    min-height: 100vh;
    padding: 140px 0 92px;
    overflow: visible;
  }

  .blog-figma-content {
    position: relative;
    left: auto;
    top: auto;
    width: min(1000px, calc(100vw - 80px));
    margin: 0 auto;
  }

  .blog-figma-copyright {
    position: relative;
    left: auto;
    top: auto;
    width: min(1000px, calc(100vw - 80px));
    margin: 96px auto 0;
  }
}

@media (max-width: 900px) {
  body.blog-page .blog-main.blog-figma-main {
    width: 100%;
    padding: 122px 24px 72px;
  }

  .blog-figma-content,
  .blog-figma-copyright {
    width: 100%;
  }

  .blog-figma-hero,
  .blog-figma-hero p,
  .blog-figma-posts,
  .blog-figma-post--primary,
  .blog-figma-post--secondary {
    width: 100%;
  }

  .blog-figma-hero h1 {
    font-family: var(--font-display-cn);
    font-size: 34px;
    line-height: 46px;
  }

  .blog-figma-post-title {
    font-family: var(--font-body-cn);
    font-size: 26px;
    line-height: 36px;
  }

  .blog-figma-post-link--with-media {
    display: block;
  }

  .blog-figma-post-media {
    width: min(240px, 100%);
    margin-top: 24px;
  }
}

/* Blog Post Page */
.blog-post-page {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #000;
  color: #fff;
}

body.blog-post-page .site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  width: 100vw;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

body.blog-post-page .site-nav-logo {
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
}

body.blog-post-page .site-nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

body.blog-post-page .site-nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
}

body.blog-post-page .site-nav-download {
  display: flex;
  width: 80px;
  min-width: 80px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid #fff;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
  color: #fff;
  font-family: var(--font-body-cn);
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  letter-spacing: 0;
  white-space: nowrap;
  word-break: keep-all;
}

.blog-post-main {
  min-height: 100vh;
  height: auto;
  width: min(1080px, calc(100vw - 240px));
  margin: 0 auto;
  overflow: visible;
  padding: 140px 0 120px;
  background: #000;
  color: #fff;
}

.blog-back-link {
  display: inline-flex;
  margin-left: 0;
  align-items: center;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  text-decoration: none;
  transition: color 220ms ease;
}

.blog-back-link:hover {
  color: #fff;
}

.blog-post-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 42px auto 0;
}

.blog-post-article {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  min-width: 0;
}

.blog-post-hero {
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-post-date {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.4;
}

.blog-post-hero h1 {
  margin: 20px 0 0;
  color: #fff;
  font-family: var(--font-display-cn);
  font-size: clamp(36px, 3.4vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.blog-post-author {
  margin: 28px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.blog-post-summary {
  max-width: 840px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.75;
}

.blog-post-toc {
  order: -1;
  width: 100%;
  max-width: 960px;
  max-height: none;
  margin: 0 auto 72px;
  overflow: visible;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
}

.blog-post-toc p {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.blog-post-toc-link {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.8;
  text-decoration: none;
  transition: color 180ms ease;
}

.blog-post-toc-link--h2 {
  font-weight: 500;
}

.blog-post-toc-link--h3 {
  padding-left: 18px;
  font-size: 12px;
}

.blog-post-toc-link:hover {
  color: #fff;
}

.blog-post-content {
  margin-top: 64px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.85;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3 {
  scroll-margin-top: 110px;
  color: #fff;
}

.blog-post-content h1 {
  margin: 78px 0 24px;
  font-family: var(--font-display-cn);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.blog-post-content h2 {
  margin: 72px 0 20px;
  font-family: var(--font-display-cn);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.blog-post-content h3 {
  margin: 48px 0 16px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}

.blog-post-content p,
.blog-post-content li {
  color: rgba(255, 255, 255, 0.78);
}

.blog-post-content a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-post-content blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.blog-post-content blockquote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.blog-post-content pre,
.blog-post-content code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.blog-post-content code {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92em;
}

.blog-post-content pre {
  margin: 28px 0;
  overflow-x: auto;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.blog-post-content pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.7;
}

.blog-post-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.blog-post-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 28px auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.blog-post-content .arxiv-md__figure-caption {
  margin-top: -10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.blog-post-content .katex-display {
  display: block;
  max-width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.9);
}

.blog-post-content .katex {
  color: inherit;
}

.blog-post-content .katex-html {
  overflow-wrap: normal;
}

.blog-post-content th,
.blog-post-content td {
  padding: 13px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
}

.blog-post-content th {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
}

.blog-post-content tr:last-child td {
  border-bottom: 0;
}

.blog-post-content th:last-child,
.blog-post-content td:last-child {
  border-right: 0;
}

.blog-post-content hr {
  height: 1px;
  margin: 58px 0;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1180px) {
  .blog-post-layout {
    width: 100%;
  }

  .blog-post-toc {
    max-height: none;
  }
}

@media (max-width: 900px) {
  body.blog-post-page .site-nav {
    padding: 0 24px;
  }

  body.blog-post-page .site-nav-links {
    display: none;
  }

  .blog-post-main {
    width: calc(100vw - 48px);
    padding: 116px 0 80px;
  }

  .blog-back-link {
    margin-left: 0;
  }

  .blog-post-layout {
    width: 100%;
  }

  .blog-post-hero h1 {
    font-size: 36px;
  }

  .blog-post-content {
    font-size: 15px;
  }

.blog-post-content h1 {
    font-family: var(--font-display-cn);
    font-size: 30px;
  }

  .blog-post-content h2 {
    font-size: 26px;
  }
}

/* Blog Post Figma 94:16 Layout */
body.blog-post-page {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #000;
  color: #fff;
}

.blog-post-main {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow: visible;
  padding: 0 0 120px;
  background: #000;
  color: #fff;
}

.blog-post-layout {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: #000;
  color: #fff;
}

.blog-back-link {
  position: fixed;
  top: 110px;
  left: 24px;
  z-index: 21;
  display: inline-flex;
  width: 124px;
  height: 24px;
  margin: 0;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.blog-post-article {
  width: 1352px;
  max-width: none;
  min-width: 0;
  margin: 0 0 0 438px;
  padding-top: 110px;
  padding-bottom: 120px;
}

.blog-post-hero {
  width: 1352px;
  padding-bottom: 0;
  border-bottom: 0;
}

.blog-post-date {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
}

.blog-post-hero h1,
.blog-post-title {
  max-width: 1352px;
  margin: 24px 0 0;
  color: #fff;
  font-family: var(--font-display-cn);
  font-size: 36px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.blog-post-author {
  margin: 24px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 26px;
}

.blog-post-summary {
  max-width: 1352px;
  margin: 24px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.blog-post-toc {
  position: fixed;
  top: 80px;
  left: 0;
  z-index: 20;
  width: 308px;
  max-width: none;
  max-height: calc(100vh - 80px);
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 75px 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 0;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  background: #000;
}

.blog-post-toc::before {
  position: absolute;
  top: 64px;
  left: 0;
  width: 308px;
  height: 1px;
  background: #666;
  content: "";
}

.blog-post-toc p {
  margin: 0 0 24px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.blog-post-toc-link {
  display: block;
  padding: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
  white-space: normal;
}

.blog-post-toc-link + .blog-post-toc-link {
  margin-top: 24px;
}

.blog-post-toc-link--h3,
.blog-post-toc-link--h4 {
  padding-left: 16px;
  border-left: 1px solid #fff;
  color: #b3b3b3;
  font-size: 12px;
}

.blog-post-toc-link--h4 {
  padding-left: 24px;
  border-left-color: rgba(255, 255, 255, 0.5);
}

.blog-post-content {
  display: flex;
  width: 1352px;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
  margin: 0;
  color: #fff;
  scroll-margin-top: 110px;
}

.blog-post-content h1 {
  font-family: var(--font-display-cn);
  font-size: 36px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
}

.blog-post-content h2 {
  font-family: var(--font-display-cn);
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
}

.blog-post-content h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.blog-post-content h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.blog-post-content p,
.blog-post-content li {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 0;
  padding-left: 20px;
}

.blog-post-content blockquote {
  width: 100%;
  margin: 0;
  padding: 0 0 0 16px;
  border: 0;
  border-left: 1px solid #fff;
  border-radius: 0;
  background: transparent;
}

.blog-post-content blockquote p {
  color: #fff;
}

.blog-post-content pre,
.blog-post-content table,
.blog-post-content .katex-display {
  width: 100%;
  margin: 0;
  overflow-x: auto;
  padding: 24px;
  border: 0;
  border-radius: 40px;
  background: #1a1a1a;
  color: #fff;
}

.blog-post-content pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  white-space: pre-wrap;
}

.blog-post-content code {
  color: #fff;
}

.blog-post-content th,
.blog-post-content td {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  vertical-align: top;
}

.blog-post-content th {
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.blog-post-content hr {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: #666;
}

.blog-post-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 24px;
  background: #1a1a1a;
}

.blog-post-content .arxiv-md__figure-caption {
  margin-top: -12px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 26px;
}

@media (max-width: 1500px) {
  .blog-post-main {
    padding: 0 40px 100px;
  }

  .blog-back-link {
    position: static;
    width: auto;
    margin-top: 112px;
  }

  .blog-post-article,
  .blog-post-content,
  .blog-post-hero {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .blog-post-article {
    padding-top: 48px;
  }

  .blog-post-toc {
    position: static;
    width: 100%;
    max-height: 360px;
    margin: 32px 0 52px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
  }

  .blog-post-toc::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .blog-post-main {
    padding: 0 24px 80px;
  }

  .blog-post-hero h1,
  .blog-post-title {
    font-family: var(--font-display-cn);
    font-size: 32px;
  }

  .blog-post-content {
    font-size: 15px;
  }
}

/* Blog Post Figma 94:16 Latest Layout */
@media (min-width: 1501px) {
  body.blog-post-page {
    background: #000;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .blog-post-main {
    width: 100%;
    margin: 0;
    padding: 0 0 120px;
    background: #000;
  }

  .blog-post-layout {
    position: relative;
    display: block;
    width: 100%;
    min-height: 100vh;
    background: #000;
    color: #fff;
  }

  .blog-post-article {
    width: 1352px;
    max-width: none;
    min-width: 0;
    margin: 0 0 0 458px;
    padding-top: 140px;
    padding-bottom: 120px;
  }

  .blog-post-hero,
  .blog-post-content {
    width: 1352px;
    max-width: none;
  }

  .blog-post-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
  }

  .blog-post-content table {
    display: table;
    width: 1352px;
    max-width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #666;
    border-radius: 40px;
    background: transparent;
    color: #fff;
  }

  .blog-post-content table:has(thead + tbody tr:nth-child(3):last-child) {
    height: 248px;
  }

  .blog-post-content col {
    width: 50%;
  }

  .blog-post-content th,
  .blog-post-content td {
    min-height: 62px;
    height: 62px;
    padding: 0 24px;
    border: 0;
    border-bottom: 1px solid #666;
    vertical-align: middle;
    text-align: left;
    background: transparent;
  }

  .blog-post-content th + th,
  .blog-post-content td + td {
    border-left: 1px solid #666;
  }

  .blog-post-content tbody tr:last-child td {
    border-bottom: 0;
  }

  .blog-post-content thead tr:last-child th {
    border-bottom: 1px solid #666;
  }

  .blog-post-content th {
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    color: #fff;
  }

  .blog-post-content td {
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    color: #fff;
  }

  .blog-post-content table code {
    display: inline-block;
    max-width: 100%;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    line-height: 20px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Blog Post Sidebar Figma 94:16 */
@media (min-width: 768px) {
  .blog-post-sidebar {
    --blog-post-sidebar-width: 312px;
    --blog-post-sidebar-height: 1000px;
    --blog-post-sidebar-notch-y: 106px;
    position: fixed;
    left: 0;
    top: 80px;
    z-index: 20;
    display: flex;
    width: var(--blog-post-sidebar-width);
    height: calc(100vh - 80px);
    flex-direction: column;
    overflow: hidden;
    border: 0;
    background: #1a1a1a;
    transition: clip-path 260ms linear;
  }

  .blog-post-sidebar-head {
    position: relative;
    z-index: 1;
    display: flex;
    height: 64px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
  }

  .blog-post-back {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
  }

  .blog-post-sidebar-action {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .blog-post-sidebar-action::before,
  .blog-post-sidebar-action::after {
    position: absolute;
    content: "";
    border: 1px solid currentColor;
    opacity: 0.9;
  }

  .blog-post-sidebar-action::before {
    left: 5px;
    top: 7px;
    width: 14px;
    height: 11px;
    border-radius: 2px;
  }

  .blog-post-sidebar-action::after {
    left: 11px;
    top: 4px;
    width: 8px;
    height: 5px;
    border-bottom: 0;
    border-radius: 2px 2px 0 0;
  }

  .blog-post-sidebar-divider {
    position: relative;
    z-index: 1;
    height: 1px;
    flex: 0 0 auto;
    background: #000;
  }

  .blog-post-toc-scroll {
    position: relative;
    z-index: 1;
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 0 30px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .blog-post-toc-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .blog-post-toc-scroll::-webkit-scrollbar-track {
    background: transparent;
  }

  .blog-post-toc-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
  }

  .blog-post-toc-title {
    padding: 16px 24px 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
  }

  .blog-post-sidebar .blog-post-toc {
    position: static;
    display: flex;
    width: auto;
    max-width: none;
    max-height: none;
    flex-direction: column;
    gap: 24px;
    margin: 0;
    padding: 24px 24px 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .blog-post-sidebar .blog-post-toc::before {
    display: none;
  }

  .blog-post-sidebar .blog-post-toc-link,
  .blog-post-toc-parent {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .blog-post-sidebar .blog-post-toc-link + .blog-post-toc-link {
    margin-top: 0;
  }

  .blog-post-toc-group {
    display: block;
  }

  .blog-post-toc-parent {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
  }

  .blog-post-toc-arrow {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(45deg);
    transition: transform 160ms ease;
  }

  .blog-post-toc-group:not(.is-open) .blog-post-toc-arrow {
    transform: rotate(-45deg);
  }

  .blog-post-toc-children {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    padding-left: 16px;
    border-left: 1px solid #fff;
  }

  .blog-post-toc-group:not(.is-open) .blog-post-toc-children {
    display: none;
  }

  .blog-post-toc-sub-link {
    color: #b3b3b3;
    font-size: 12px;
    font-weight: 500;
    line-height: 17px;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .blog-post-sidebar a:hover,
  .blog-post-toc-parent:hover,
  .blog-post-toc-sub-link:hover {
    color: #fff;
  }
}

@media (max-width: 767px) {
  .blog-post-sidebar {
    --blog-post-sidebar-notch-y: 106px;
    position: relative;
    display: flex;
    width: calc(100% + 80px);
    max-height: 420px;
    flex-direction: column;
    margin: 32px -40px 52px;
    overflow: hidden;
    border: 0;
    background: #1a1a1a;
    transition: clip-path 260ms linear;
  }

  .blog-post-sidebar-head {
    position: relative;
    z-index: 1;
    display: flex;
    height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
  }

  .blog-post-sidebar-divider {
    position: relative;
    z-index: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
  }

  .blog-post-toc-scroll {
    position: relative;
    z-index: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 24px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .blog-post-toc-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .blog-post-sidebar .blog-post-toc {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 24px;
  }
}

@media (max-width: 900px) {
  .blog-post-sidebar {
    width: calc(100% + 48px);
    margin-right: -24px;
    margin-left: -24px;
  }
}

/* Blog post TOC: anchor navigation, not nested disclosure */
.blog-post-sidebar {
  transition: transform 240ms ease;
}

.blog-post-sidebar-toggle {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.blog-post-sidebar-toggle::before,
.blog-post-sidebar-toggle::after {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform-origin: right center;
}

.blog-post-sidebar-toggle::before {
  left: 5px;
  transform: translateY(-50%) rotate(42deg);
}

.blog-post-sidebar-toggle::after {
  left: 5px;
  transform: translateY(-50%) rotate(-42deg);
}

body.is-toc-collapsed .blog-post-sidebar-toggle::before {
  left: 8px;
  transform: translateY(-50%) rotate(-42deg);
  transform-origin: left center;
}

body.is-toc-collapsed .blog-post-sidebar-toggle::after {
  left: 8px;
  transform: translateY(-50%) rotate(42deg);
  transform-origin: left center;
}

.blog-post-toc-group .blog-post-toc-children {
  display: flex !important;
}

.blog-post-toc-arrow,
.blog-post-toc-parent {
  display: none !important;
}

.blog-post-sidebar .blog-post-toc-link,
.blog-post-sidebar .blog-post-toc-sub-link {
  border: 0;
  outline: 0;
  box-shadow: none;
}

.blog-post-sidebar .blog-post-toc-link.is-active,
.blog-post-sidebar .blog-post-toc-link[aria-current="true"] {
  color: #fff;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.blog-post-sidebar .blog-post-toc-sub-link.is-active,
.blog-post-sidebar .blog-post-toc-sub-link[aria-current="true"] {
  color: rgba(255, 255, 255, 0.86);
  border: 0;
  outline: 0;
  box-shadow: none;
}

.blog-post-content table code,
.blog-post-content .blog-post-table code {
  display: inline;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  line-height: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (min-width: 1501px) {
  body.is-toc-collapsed .blog-post-sidebar {
    transform: translateX(calc(-100% + 48px));
  }
}

/* Blog post TOC collapsed state - Figma node 98:1272 */
.blog-post-sidebar-toggle,
.blog-post-sidebar-collapsed-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.blog-post-sidebar-toggle::before,
.blog-post-sidebar-toggle::after,
.blog-post-sidebar-collapsed-toggle::before,
.blog-post-sidebar-collapsed-toggle::after {
  display: none;
}

.blog-post-sidebar-toggle img,
.blog-post-sidebar-collapsed-toggle img {
  display: block;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.blog-post-sidebar-collapsed-toggle {
  display: none;
}

.blog-post-article {
  transition: margin-left 240ms ease;
}

@media (min-width: 768px) {
  body:not(.is-toc-collapsed) .blog-post-sidebar {
    display: flex;
    transform: none;
  }

  body:not(.is-toc-collapsed) .blog-post-sidebar-collapsed-toggle {
    display: none;
  }

  body:not(.is-toc-collapsed) .blog-post-article {
    width: 1352px;
    margin-left: 458px;
    padding-top: 140px;
  }

  body.is-toc-collapsed .blog-post-sidebar {
    display: none;
    transform: none;
  }

  body.is-toc-collapsed .blog-post-sidebar-collapsed-toggle {
    display: flex;
    position: fixed;
    left: 0;
    top: 80px;
    width: 72px;
    height: 64px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0 20px 20px 0;
    background: #1a1a1a;
    clip-path: path("M0 0H52C63.0457 0 72 8.95431 72 20V44C72 55.0457 63.0457 64 52 64H0V0Z");
    -webkit-clip-path: path("M0 0H52C63.0457 0 72 8.95431 72 20V44C72 55.0457 63.0457 64 52 64H0V0Z");
    z-index: 40;
    cursor: pointer;
  }

body.is-toc-collapsed .blog-post-article {
    width: 1352px;
    margin-left: 284px;
    padding-top: 140px;
  }
}

/* Unified site navigation: keep secondary pages identical to index.html */
body.download-page .site-nav,
body.blog-page .site-nav,
body.blog-post-page .site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: normal;
  width: 100vw;
  height: 80px;
  padding: 0 60px;
  background: transparent;
  color: #ffffff;
  pointer-events: auto;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.download-page .site-nav-logo,
body.blog-page .site-nav-logo,
body.blog-post-page .site-nav-logo {
  justify-self: start;
  color: #ffffff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.04em;
}

body.download-page .site-nav-links,
body.blog-page .site-nav-links,
body.blog-post-page .site-nav-links {
  display: flex;
  gap: clamp(28px, 3.1vw, 54px);
  align-items: center;
  justify-content: normal;
  justify-self: center;
}

body.download-page .site-nav-links a,
body.blog-page .site-nav-links a,
body.blog-post-page .site-nav-links a {
  display: inline;
  min-width: 0;
  padding: 0;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  transition:
    color 250ms ease,
    opacity 250ms ease;
}

body.download-page .site-nav-download,
body.blog-page .site-nav-download,
body.blog-post-page .site-nav-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: auto;
  min-width: 0;
  height: 36px;
  min-height: 0;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 0 rgba(80, 220, 255, 0);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
  transition:
    color 250ms ease,
    border-color 250ms ease,
    background 250ms ease,
    box-shadow 250ms ease;
}

body.download-page .site-nav-download:hover,
body.blog-page .site-nav-download:hover,
body.blog-post-page .site-nav-download:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 24px rgba(80, 220, 255, 0.18);
  color: #ffffff;
}

@media (max-width: 900px) {
  body.download-page .site-nav,
  body.blog-page .site-nav,
  body.blog-post-page .site-nav {
    padding: 0 24px;
  }

  body.download-page .site-nav-links,
  body.blog-page .site-nav-links,
  body.blog-post-page .site-nav-links {
    display: none;
  }
}

@media (max-width: 1180px) {
  .capability-device-scene {
    right: -120px;
    width: 64vw;
    opacity: 0.82;
  }

  .capability-screen-copy {
    left: clamp(64px, 6vw, 96px);
    width: min(760px, 52vw);
  }
}

/* Home footer aligned with the About page footer. */
.site-footer-section.about-footer-section {
  --about-hero-arc-height: 58.5185%;
  --about-hero-arc-bleed: clamp(112px, 7.8vw, 180px);
  --about-font-body: var(--font-body-cn);
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  text-rendering: geometricPrecision;
  transform: translateY(48px);
}

body.is-footer-visible .site-footer-section.about-footer-section {
  transform: translateY(0);
}

.site-footer-section.about-footer-section::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(19, 20, 22, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(100px);
  backdrop-filter: blur(100px);
  pointer-events: none;
  content: "";
}

.about-footer-arcs,
.about-footer-home-bg-overlay {
  position: absolute;
  pointer-events: none;
}

.about-footer-arcs {
  left: calc(0px - var(--about-hero-arc-bleed));
  right: calc(0px - var(--about-hero-arc-bleed));
  bottom: 0;
  z-index: 0;
  height: var(--about-hero-arc-height);
  overflow: hidden;
}

.about-hero-arc {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.about-hero-arc path {
  vector-effect: non-scaling-stroke;
}

.about-hero-arc-primary {
  fill: #5342f7;
}

.about-hero-arc-secondary {
  fill: #9990fb;
}

.about-hero-arc-tertiary {
  fill: #d1cefe;
}

.about-footer-home-bg-overlay {
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.76) 24%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 78%),
    radial-gradient(circle at 50% 12%, rgba(83, 66, 247, 0.18), transparent 38%);
}

.about-footer-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  min-height: 100vh;
}

.about-footer-brand {
  position: absolute;
  left: 60px;
  top: 364px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
}

.about-footer-brand h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: Inter, var(--about-font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
}

.about-footer-brand p,
.about-footer-brand a {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.about-footer-brand a:hover,
.about-footer-column a:hover {
  opacity: 0.72;
}

.about-footer-columns {
  position: absolute;
  left: 50%;
  top: 365px;
  display: grid;
  width: 656px;
  grid-template-columns: 42px 73px 84px 98px;
  justify-content: space-between;
  transform: translateX(-50%);
}

.about-footer-column {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
}

.about-footer-column h3 {
  margin: 0 0 14px;
  color: #fff;
  font-family: Inter, var(--about-font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  white-space: nowrap;
}

.about-footer-column a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 200ms ease;
}

.about-footer-qr {
  position: absolute;
  right: 60px;
  top: 364px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 68px;
}

.about-footer-qr-frame {
  display: flex;
  width: 218px;
  height: 218px;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.about-footer-qr img {
  width: 206px;
  height: 206px;
  border-radius: 4px;
  object-fit: contain;
}

.about-footer-qr p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 14px;
}

.about-footer-copyright {
  position: absolute;
  left: 60px;
  bottom: 36px;
  max-width: calc(100vw - 120px);
  margin: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .about-footer-brand {
    left: 40px;
  }

  .about-footer-columns {
    width: 560px;
    grid-template-columns: 42px 73px 84px 98px;
  }

  .about-footer-qr {
    right: 40px;
  }
}

@media (max-width: 900px) {
  .site-footer-section.about-footer-section {
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(28px);
  }

  body.is-footer-visible .site-footer-section.about-footer-section {
    transform: translateY(0);
  }

  .about-footer-content {
    display: grid;
    gap: 42px;
    width: min(680px, calc(100% - 48px));
    height: auto;
    min-height: 100vh;
    margin: 0 auto;
    padding: 280px 0 80px;
  }

  .about-footer-brand,
  .about-footer-columns,
  .about-footer-qr,
  .about-footer-copyright {
    position: relative;
    inset: auto;
    transform: none;
  }

  .about-footer-brand {
    gap: 18px;
  }

  .about-footer-brand h2 {
    margin-bottom: 8px;
  }

  .about-footer-columns {
    left: auto;
    top: auto;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 48px;
  }

  .about-footer-column {
    gap: 18px;
  }

  .about-footer-column h3 {
    margin-bottom: 6px;
  }

  .about-footer-qr {
    align-items: flex-start;
    gap: 16px;
  }

  .about-footer-copyright {
    white-space: normal;
  }

}

@media (max-width: 560px) {
  .about-footer-content {
    width: calc(100% - 32px);
  }

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

  .about-footer-brand p,
  .about-footer-brand a {
    line-height: 22px;
    white-space: normal;
  }
}

/* Phase 1 responsive overflow fixes: blog index and technical articles only. */
body.blog-post-page {
  overflow-x: visible;
}

body.blog-post-page .blog-post-main {
  overflow-x: clip;
}

@media (min-width: 768px) {
  body.blog-post-page {
    --blog-post-toc-width: 312px;
    --blog-post-layout-gap: 0px;
    --blog-post-page-gutter: 0px;
    --blog-post-content-max: 1352px;
  }

  body.blog-post-page .blog-post-main {
    padding-right: 0;
    padding-left: 0;
  }

  body.blog-post-page .blog-post-layout {
    display: grid;
    grid-template-columns:
      var(--blog-post-toc-width)
      var(--blog-post-layout-gap)
      minmax(0, var(--blog-post-content-max));
    width: min(
      calc(
        var(--blog-post-toc-width) +
        var(--blog-post-layout-gap) +
        var(--blog-post-content-max)
      ),
      calc(100vw - (2 * var(--blog-post-page-gutter)))
    );
    max-width: 100%;
    margin: 0;
  }

  body.blog-post-page .blog-post-sidebar {
    position: sticky;
    grid-column: 1;
    grid-row: 1;
    left: auto;
    top: 80px;
    width: 100%;
    min-width: 0;
    height: calc(100vh - 80px);
    max-height: none;
    margin: 0;
  }

  body.blog-post-page .blog-post-article,
  body.blog-post-page .blog-post-hero,
  body.blog-post-page .blog-post-content,
  body:not(.is-toc-collapsed).blog-post-page .blog-post-article {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    max-width: var(--blog-post-content-max);
    min-width: 0;
    margin-left: 0;
  }

  body.blog-post-page .blog-post-article {
    box-sizing: border-box;
    padding-right: 60px;
    padding-left: 60px;
  }

  body.is-toc-collapsed.blog-post-page .blog-post-layout {
    grid-template-columns: minmax(0, var(--blog-post-content-max));
    justify-content: center;
    width: min(
      var(--blog-post-content-max),
      calc(100vw - (2 * var(--blog-post-page-gutter)))
    );
    margin: 0 auto;
  }

  body.is-toc-collapsed.blog-post-page .blog-post-article {
    grid-column: 1;
    width: 100%;
    max-width: var(--blog-post-content-max);
    min-width: 0;
    margin-left: 0;
    padding-right: 60px;
    padding-left: 60px;
  }
}

@media (min-width: 1024px) and (max-width: 1500px) {
  body.blog-post-page .blog-post-article,
  body.is-toc-collapsed.blog-post-page .blog-post-article {
    padding-top: 140px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.blog-post-page .blog-post-article,
  body.is-toc-collapsed.blog-post-page .blog-post-article {
    padding-top: 102px;
  }

  body.blog-post-page .blog-post-hero h1,
  body.blog-post-page .blog-post-title {
    font-size: 36px;
  }

  body.blog-post-page .blog-post-content,
  body.blog-post-page .blog-post-content p,
  body.blog-post-page .blog-post-content li {
    font-size: 16px;
  }
}

@media (max-width: 1023px) {
  body.blog-post-page .blog-post-main {
    width: 100%;
    padding: 0 24px 80px;
  }

  body.blog-post-page .blog-post-layout,
  body.blog-post-page .blog-post-article,
  body.blog-post-page .blog-post-hero,
  body.blog-post-page .blog-post-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  body.blog-post-page .blog-post-article {
    padding-top: 148px;
    padding-bottom: 120px;
  }

  body.blog-post-page .blog-post-hero h1,
  body.blog-post-page .blog-post-title {
    font-size: 36px;
  }

  body.blog-post-page .blog-post-content,
  body.blog-post-page .blog-post-content p,
  body.blog-post-page .blog-post-content li {
    font-size: 16px;
  }

  body:not(.is-toc-collapsed).blog-post-page .blog-post-sidebar {
    position: fixed;
    left: 0;
    top: 80px;
    z-index: 40;
    display: flex;
    width: 312px;
    height: calc(100vh - 80px);
    max-height: none;
    margin: 0;
    flex-direction: column;
    overflow: hidden;
    background: #1a1a1a;
  }

  body.blog-post-page .blog-post-sidebar-head {
    height: 64px;
    flex: 0 0 auto;
    padding: 0 24px;
  }

  body.blog-post-page .blog-post-sidebar-divider {
    height: 1px;
    flex: 0 0 auto;
    background: #000;
  }

  body.blog-post-page .blog-post-toc-scroll {
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 0 30px;
  }

  body.blog-post-page .blog-post-sidebar .blog-post-toc {
    position: static;
    display: flex;
    width: auto;
    max-width: none;
    max-height: none;
    flex-direction: column;
    gap: 24px;
    margin: 0;
    padding: 24px 24px 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.blog-post-page .blog-post-sidebar .blog-post-toc-link {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
  }

  body.blog-post-page .blog-post-back {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
  }

  body.blog-post-page .blog-post-toc-children {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    padding-left: 16px;
    border-left: 1px solid #fff;
  }

  body.blog-post-page .blog-post-toc-sub-link {
    color: #b3b3b3;
    font-size: 12px;
    font-weight: 500;
    line-height: 17px;
    text-decoration: none;
  }

  body:not(.is-toc-collapsed).blog-post-page .blog-post-layout::before {
    position: fixed;
    inset: 80px 0 0;
    z-index: 39;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    content: "";
  }

  body.is-toc-collapsed.blog-post-page .blog-post-sidebar {
    display: none;
  }

  body:not(.is-toc-collapsed).blog-post-page .blog-post-sidebar-collapsed-toggle {
    display: none;
  }

  body.is-toc-collapsed.blog-post-page .blog-post-sidebar-collapsed-toggle {
    position: fixed;
    left: 0;
    top: 80px;
    z-index: 40;
    display: flex;
    width: 72px;
    height: 64px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0 20px 20px 0;
    background: #1a1a1a;
    clip-path: path("M0 0H52C63.0457 0 72 8.95431 72 20V44C72 55.0457 63.0457 64 52 64H0V0Z");
    -webkit-clip-path: path("M0 0H52C63.0457 0 72 8.95431 72 20V44C72 55.0457 63.0457 64 52 64H0V0Z");
  }
}

.blog-post-article,
.blog-post-content,
.blog-post-content > *,
.blog-post-content .katex-display,
.blog-post-content table {
  min-width: 0;
  max-width: 100%;
}

.blog-post-content .katex {
  position: relative;
}

.blog-post-content .katex-mathml {
  top: 0;
  left: 0;
  contain: strict;
  clip-path: inset(50%);
  white-space: nowrap;
}

.blog-post-content .katex-mathml math {
  display: block;
  width: 1px;
  max-width: 1px;
  height: 1px;
  overflow: clip;
  contain: strict;
}

/* Desktop article TOC stays pinned to the viewport at every scroll position. */
@media (min-width: 1024px) {
  body:not(.is-toc-collapsed).blog-post-page .blog-post-sidebar {
    position: fixed;
    left: 0;
    top: 80px;
    z-index: 40;
    width: var(--blog-post-toc-width, 312px);
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    max-height: none;
    margin: 0;
  }
}

.blog-post-content .katex-display {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.blog-post-content table {
  contain: inline-size;
  overflow-x: auto;
  overflow-y: hidden;
}

.blog-post-content .blog-post-table-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #666;
  border-radius: 40px;
  background: transparent;
}

.blog-post-content .blog-post-table-scroll table {
  display: table;
  width: 100%;
  max-width: none;
  min-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  contain: none;
  overflow: visible;
  table-layout: fixed;
  border: 0;
  border-radius: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  color: #fff;
}

.blog-post-content .blog-post-table-scroll th,
.blog-post-content .blog-post-table-scroll td {
  min-height: 62px;
  height: 62px;
  padding: 0 24px;
  border: 0;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  vertical-align: middle;
  text-align: left;
  background: transparent;
  color: #fff;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.blog-post-content .blog-post-table-scroll th:last-child,
.blog-post-content .blog-post-table-scroll td:last-child {
  border-right: 0;
}

.blog-post-content .blog-post-table-scroll tbody tr:last-child td {
  border-bottom: 0;
}

.blog-post-content .blog-post-table-scroll th {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}

.blog-post-content .blog-post-table-scroll td {
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
}

.blog-post-content .blog-post-table-scroll code {
  display: inline;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  line-height: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.blog-post-page .blog-post-content h1 {
  font-size: 36px;
}

body.blog-post-page .blog-post-content h2 {
  font-size: 32px;
}

@media (max-width: 1023px) {
  .blog-post-content .blog-post-table-scroll table {
    width: 100%;
    min-width: 100%;
  }

  .blog-post-content .blog-post-table-scroll th,
  .blog-post-content .blog-post-table-scroll td {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 900px) {
  body.blog-post-page .blog-post-sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-right: 0;
    margin-left: 0;
  }

  body.blog-post-page .blog-post-toc-scroll,
  body.blog-post-page .blog-post-sidebar .blog-post-toc,
  body.blog-post-page .blog-post-toc-group,
  body.blog-post-page .blog-post-toc-children,
  body.blog-post-page .blog-post-toc-link,
  body.blog-post-page .blog-post-toc-sub-link {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.blog-post-page .blog-post-toc-children {
    display: flex !important;
    flex-direction: column;
  }

  body.blog-post-page .blog-post-toc-link,
  body.blog-post-page .blog-post-toc-sub-link,
  body.blog-post-page .blog-post-content h1,
  body.blog-post-page .blog-post-content h2,
  body.blog-post-page .blog-post-content h3,
  body.blog-post-page .blog-post-content h4 {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (min-width: 901px) and (max-width: 1500px) {
  body.blog-post-page .blog-post-toc-children {
    display: flex;
    flex-direction: column;
  }

  body.blog-post-page .blog-post-toc-sub-link {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  body.blog-page .blog-figma-content,
  body.blog-page .blog-figma-hero,
  body.blog-page .blog-figma-hero p,
  body.blog-page .blog-figma-posts,
  body.blog-page .blog-figma-post,
  body.blog-page .blog-figma-post--primary,
  body.blog-page .blog-figma-post--secondary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.blog-page .blog-figma-post-link--with-media {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 240px);
  }

  body.blog-page .blog-figma-post-copy,
  body.blog-page .blog-figma-post-title,
  body.blog-page .blog-figma-post-description {
    min-width: 0;
    max-width: 100%;
  }

  body.blog-page .blog-figma-post-media,
  body.blog-page .blog-figma-post-media img {
    max-width: 100%;
  }
}

/* Unified responsive content boundaries: download and technical articles. */
@media (max-width: 767px) {
  body.download-page .download-hero {
    padding-inline: var(--page-gutter-mobile);
  }

  body.download-page .download-card-grid {
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
    box-sizing: border-box;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.blog-page .blog-main.blog-figma-main {
    padding-right: var(--page-gutter-tablet);
    padding-left: var(--page-gutter-tablet);
    box-sizing: border-box;
  }

  body.blog-page .blog-figma-content {
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
  }

  body.download-page .download-hero {
    padding-inline: var(--page-gutter-tablet);
  }

  body.download-page .download-card-grid {
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
    box-sizing: border-box;
  }

}



