@font-face {
  font-family: "RuopuBrand";
  src: url("/assets/ruopu-en-outfit-bold-39f7d4ca4570.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0041-005A;
}
@font-face {
  font-family: "RuopuBrand";
  src: url("/assets/ruopu-zh-swei-bold-249d8adc2a5b.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+82E5, U+6734;
}

:root {
  --bg-cinema: radial-gradient(ellipse 72% 78% at 70% 48%, #1D3844 0%, #12242E 46%, #0B161D 100%);
  --bg-dark-surface: rgba(11, 22, 29, 0.42);
  --bg-light: #FFFFFF;
  --bg-light-2: #F5F7F9;
  --ink-dark: #F0F5F8;
  --ink-dark-muted: #9DB0BF;
  --ink-light: #101921;
  --ink-light-muted: #4E5E6E;
  --accent: #2AB3A6;
  --accent-hover: #35C7B9;
  --accent-deep: #1D6E78;
  --line-dark: rgba(255, 255, 255, 0.10);
  --line-dark-strong: rgba(255, 255, 255, 0.18);
  --line-light: rgba(16, 25, 33, 0.10);
  --radius: 6px;
  --container: min(1480px, 88vw);
  --gutter: 28px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; font-size: 16px; }
body {
  margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.65;
  color: var(--ink-light); background: var(--bg-light); overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  padding: 8px 14px; background: var(--accent); color: #071418; font-weight: 600; border-radius: 4px;
}
.skip-link:focus { left: 8px; }

/* Full-Bleed Cinema Hero */
.hero-cinema {
  background: var(--bg-cinema); color: var(--ink-dark); border-bottom: 1px solid var(--line-dark);
}

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  min-height: 72px; border-bottom: 1px solid var(--line-dark);
}
.brand {
  display: inline-flex; align-items: baseline; gap: 9px;
  font-family: "RuopuBrand", var(--font-sans);
  font-size: 21px; font-weight: 700; letter-spacing: 0.08em; line-height: 1; white-space: nowrap;
}
.brand .brand-zh { font-size: 20px; font-weight: 700; letter-spacing: 0.05em; color: inherit; }
.footer-top .brand { font-size: 18px; }
.footer-top .brand .brand-zh { font-size: 17px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  font-size: 15px; color: var(--ink-dark-muted); padding: 6px 0;
  border-bottom: 2px solid transparent; transition: color 0.16s, border-color 0.16s;
}
.site-nav a:hover, .site-nav a.is-current { color: var(--ink-dark); border-bottom-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-ghost {
  padding: 8px 15px; font-size: 14px; color: var(--ink-dark-muted);
  border: 1px solid var(--line-dark-strong); border-radius: var(--radius); transition: color 0.16s, border-color 0.16s;
}
.nav-ghost:hover { color: var(--ink-dark); border-color: var(--accent); }
.nav-cta {
  padding: 8px 18px; font-size: 14px; font-weight: 600; color: #061418;
  background: var(--accent); border-radius: var(--radius); transition: background 0.16s;
}
.nav-cta:hover { background: var(--accent-hover); }

/* Hero Main & Dual Column */
.hero-main {
  width: 100%; max-width: var(--container); margin-inline: auto; padding: 26px var(--gutter) 34px;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 4vw, 64px); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-kicker {
  margin: 0 0 14px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.hero-title {
  margin: 0 0 18px; font-size: clamp(2.65rem, 4.2vw, 4.1rem); line-height: 1.14;
  font-weight: 700; letter-spacing: -0.025em; color: var(--ink-dark);
}
.hero-title .accent { color: var(--accent); white-space: nowrap; }
.hero-lead {
  margin: 0 0 28px; max-width: 48ch;
  font-size: clamp(1.06rem, 1.2vw, 1.22rem); line-height: 1.7; color: var(--ink-dark-muted);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; font-size: 15.5px; font-weight: 600;
  border-radius: var(--radius); transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.btn-primary { background: var(--accent); color: #061418; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border: 1px solid var(--line-dark-strong); color: var(--ink-dark); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.hero-step {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 14px 12px; border-top: 2px solid transparent; transition: background 0.16s, border-color 0.16s;
}
.hero-step + .hero-step { border-left: 1px solid var(--line-dark); }
.hero-step:hover, .hero-step.is-active { background: rgba(255, 255, 255, 0.04); border-top-color: var(--accent); }
.hero-step .step-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.hero-step strong { font-size: 15px; font-weight: 600; color: var(--ink-dark); }
.hero-step small { font-size: 13.5px; line-height: 1.4; color: var(--ink-dark-muted); }

/* Right 3D Transparent Stage */
.hero-visual { display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; }
.stage-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; max-width: 640px; margin: 0 auto 4px;
}
.stage-flow {
  display: inline-flex; align-items: center; gap: 10px;
}
.flow-step {
  position: relative; padding: 4px 0 7px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  color: rgba(157, 176, 191, 0.56);
  background: transparent; border: 0; border-radius: 0;
  transition: color 0.32s ease;
}
.flow-step::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); border-radius: 1px;
  transform: scaleX(0); transform-origin: left center; opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}
.flow-step:hover { color: rgba(240, 245, 248, 0.88); }
.flow-step.is-active, .flow-step[aria-pressed="true"] {
  color: #F2FAFC; font-weight: 600;
}
.flow-step.is-active::after, .flow-step[aria-pressed="true"]::after {
  transform: scaleX(1); opacity: 1;
}
.flow-arrow {
  font-size: 13px; font-weight: 300; line-height: 1;
  color: rgba(157, 176, 191, 0.44); user-select: none;
  padding-bottom: 3px;
}
.auto-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 0 7px;
  font-size: 12.5px; letter-spacing: 0.02em;
  color: rgba(157, 176, 191, 0.58);
  background: transparent; border: 0;
  transition: color 0.2s ease;
}
.auto-toggle:hover { color: rgba(240, 245, 248, 0.9); }
.auto-toggle.is-playing, .auto-toggle[aria-pressed="true"] {
  color: rgba(210, 228, 236, 0.82);
}
.auto-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(157, 176, 191, 0.45);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.auto-toggle.is-playing .auto-dot, .auto-toggle[aria-pressed="true"] .auto-dot {
  background: var(--accent);
  box-shadow: 0 0 6px rgba(42, 179, 166, 0.55);
}

.hero-stage {
  position: relative; width: 100%; max-width: min(640px, 60vh); aspect-ratio: 1 / 1;
  margin: 0 auto; border: 0; background: transparent;
}
.stage-layer {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  pointer-events: none; z-index: 1; transition: opacity 0.55s ease;
}
#layer-solid { opacity: 1; }
#layer-mesh, #layer-cad { opacity: 0; }

.stage-metrics {
  display: flex; align-items: baseline; justify-content: center; gap: clamp(32px, 4.5vw, 72px);
  width: 100%; max-width: 640px; margin: 2px auto 14px;
}
.metric-item { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.metric-val {
  font-family: var(--font-mono); font-size: clamp(1.65rem, 2.1vw, 2.15rem);
  font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink-dark);
}
.metric-label { font-size: 13.5px; color: var(--ink-dark-muted); }

.thumb-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%;
}
.thumb-card {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; text-align: left;
  border: 1px solid var(--line-dark-strong); border-radius: var(--radius);
  background: var(--bg-dark-surface); transition: border-color 0.16s, background 0.16s;
}
.thumb-card:hover { border-color: rgba(42, 179, 166, 0.55); }
.thumb-card.is-active, .thumb-card[aria-pressed="true"] {
  border-color: var(--accent); background: rgba(42, 179, 166, 0.13);
}
.thumb-img { width: 52px; height: 52px; flex: 0 0 52px; object-fit: contain; }
.thumb-meta { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.thumb-name {
  font-size: 14px; font-weight: 600; color: var(--ink-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.thumb-size { font-family: var(--font-mono); font-size: 12px; color: var(--ink-dark-muted); }

/* Lower Light Sections */
.section { padding-block: 80px; border-bottom: 1px solid var(--line-light); background: var(--bg-light); }
.section-alt { background: var(--bg-light-2); }
.section-inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-kicker {
  margin: 0 0 10px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-deep);
}
.section-head h2 {
  margin: 0 0 12px; font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-light);
}
.section-head p:not(.section-kicker) { margin: 0; font-size: 1.05rem; line-height: 1.7; color: var(--ink-light-muted); }

.pipeline-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.pipeline-card { padding-top: 20px; border-top: 1px solid var(--line-light); }
.pipeline-card span { font-family: var(--font-mono); font-size: 13px; color: var(--accent-deep); }
.pipeline-card h3 { margin: 8px 0 10px; font-size: 1.15rem; font-weight: 600; color: var(--ink-light); }
.pipeline-card p { margin: 0; font-size: 0.97rem; line-height: 1.65; color: var(--ink-light-muted); }

.bench-header {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px 48px; align-items: end; margin-bottom: 32px;
}
.bench-header .section-head { margin-bottom: 0; }
.bench-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bench-stat {
  padding: 20px 22px; background: var(--bg-light); border: 1px solid var(--line-light); border-radius: var(--radius);
}
.bench-stat strong {
  display: block; font-family: var(--font-mono); font-size: clamp(1.65rem, 2.2vw, 2.2rem);
  font-weight: 600; line-height: 1.15; color: var(--ink-light); margin-bottom: 4px;
}
.bench-stat span { display: block; font-size: 14px; color: var(--ink-light-muted); }

.bench-figure { margin: 0; }
.bench-figure a {
  display: block; border: 1px solid var(--line-light); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-light);
}
.bench-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.bench-figure figcaption { margin-top: 12px; font-size: 13.5px; color: var(--ink-light-muted); }

.faq-list { border-top: 1px solid var(--line-light); }
.faq-list details { border-bottom: 1px solid var(--line-light); }
.faq-list summary {
  list-style: none; display: flex; align-items: center; gap: 16px;
  min-height: 60px; padding: 16px 0; font-size: 1.06rem; font-weight: 600; color: var(--ink-light); cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-family: var(--font-mono); font-size: 13px; color: var(--accent-deep); }
.faq-list summary b { margin-left: auto; font-weight: 400; font-size: 20px; color: var(--ink-light-muted); transition: transform 0.16s; }
.faq-list details[open] summary b { transform: rotate(45deg); color: var(--accent-deep); }
.faq-list details p { margin: 0 0 20px 36px; max-width: 74ch; font-size: 15.5px; line-height: 1.7; color: var(--ink-light-muted); }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band .kicker {
  margin: 0 0 10px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-deep);
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.65rem, 2.4vw, 2.2rem); line-height: 1.2; color: var(--ink-light); }
.cta-band p:not(.kicker) { margin: 0; font-size: 1.05rem; color: var(--ink-light-muted); }
.cta-band .btn-primary { background: var(--accent-deep); color: #FFFFFF; flex-shrink: 0; }
.cta-band .btn-primary:hover { background: #165962; }

.site-footer {
  background: var(--bg-light-2); color: var(--ink-light-muted);
  border-top: 1px solid var(--line-light); padding-block: 28px; font-size: 13px;
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line-light);
}
.footer-top .brand { color: var(--ink-light); font-size: 16px; }
.filing-links {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; text-align: center;
}
.filing-links + .filing-links { margin-top: 8px; }
.filing-links a { display: inline-flex; align-items: center; gap: 4px; }
.filing-links a:hover { color: var(--ink-light); }
.filing-sep { opacity: 0.35; }
.filing-links img {
  display: inline-block; width: 17px; height: 18px; flex: 0 0 auto;
  object-fit: contain;
}

/* Responsive: 2560x1080 / 1920x1080 / 1440x900 / 390x844 */
@media (min-width: 1600px) {
  .hero-stage { max-width: min(680px, 62vh); }
  .stage-controls, .stage-metrics { max-width: 680px; }
}
@media (max-width: 1560px) and (min-width: 1121px) {
  .thumb-strip { gap: 8px; }
  .thumb-card { gap: 7px; padding: 7px 8px; }
  .thumb-img { width: 44px; height: 44px; flex: 0 0 44px; }
  .thumb-name { font-size: 13px; }
}
@media (max-height: 920px) and (min-width: 1081px) {
  .hero-main { padding-block: 16px 22px; }
  .hero-stage { max-width: min(560px, 56vh); }
  .stage-controls, .stage-metrics { max-width: 560px; }
}
@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .pipeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bench-header { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --container: 100%; }
  .site-header { min-height: 60px; gap: 12px; }
  .site-nav { display: none; }
  .nav-ghost, .nav-cta { padding: 7px 11px; font-size: 13px; }
  .hero-main { padding-block: 24px 36px; }
  .hero-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-step:nth-child(3) { border-left: 0; }
  .hero-step:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .stage-controls { gap: 8px; }
  .stage-flow { gap: 7px; }
  .flow-step { font-size: 13px; }
  .auto-toggle { font-size: 12px; white-space: nowrap; }
  .thumb-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .thumb-card { padding: 8px; gap: 8px; }
  .thumb-img { width: 42px; height: 42px; flex: 0 0 42px; }
  .section { padding-block: 52px; }
  .pipeline-grid, .bench-stats { grid-template-columns: 1fr; gap: 18px; }
  .bench-figure img { aspect-ratio: auto; object-fit: contain; }
  .cta-band, .footer-top { flex-direction: column; align-items: flex-start; }
  .faq-list details p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
