/* ===========================================================
   Xiguan · 吸管 — Site Styles
   Palette: ink on black, single straw-orange accent
   =========================================================== */

:root {
  /* color system — only these */
  --bg:           #000;
  --bg-soft:      oklch(8% 0.012 60);
  --panel:        oklch(11% 0.012 60);
  --panel-2:      oklch(14% 0.014 60);
  --rule:         oklch(100% 0 0 / 0.08);
  --rule-strong:  oklch(100% 0 0 / 0.18);

  --ink:          oklch(96% 0.008 80);
  --ink-2:        oklch(80% 0.012 75);
  --ink-mute:     oklch(62% 0.018 70);
  --ink-faint:    oklch(42% 0.02 65);

  --straw:        oklch(74% 0.19 50);
  --straw-soft:   oklch(80% 0.14 55);
  --straw-deep:   oklch(60% 0.18 48);
  --straw-glow:   oklch(75% 0.21 48 / 0.55);
  --straw-tint:   oklch(74% 0.19 50 / 0.10);

  --pad:          clamp(20px, 2.4vw, 40px);
  --pad-y:        clamp(48px, 6vh, 88px);

  --serif:    "MiSans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:     "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans:     "MiSans", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ----------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* small typographic primitives */
.serif      { font-family: var(--serif); font-weight: 500; }
.mono       { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.straw      { color: var(--straw); }
.muted      { color: var(--ink-mute); }
.faint      { color: var(--ink-faint); }

/* ----------------------------------------- shell */
.page {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
}

section.snap, header.snap {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ----------------------------------------- header (full-width sticky) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background-color .35s ease,
    border-color .35s ease,
    backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  background: oklch(8% 0.012 60 / 0.38);
  border-bottom-color: oklch(100% 0 0 / 0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.site-header-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.site-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
  padding: 0 clamp(16px, 2.6vw, 32px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand-logo {
  height: 26px;
  width: 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px var(--straw-glow));
  flex: 0 0 auto;
}

.site-header-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto 0 14px;
}
.site-header-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.site-header-links a:hover,
.site-header-links a:focus-visible {
  color: var(--ink);
  background: oklch(100% 0 0 / 0.06);
}
.site-header-links a.active { color: var(--ink); }
.site-header-links a.active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  bottom: 4px;
  height: 1px;
  background: var(--straw);
  box-shadow: 0 0 8px var(--straw-glow);
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.hbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
  cursor: pointer;
}
.hbtn-ghost {
  color: var(--ink);
  border-color: oklch(100% 0 0 / 0.16);
  background: oklch(100% 0 0 / 0.02);
}
.hbtn-ghost:hover {
  background: oklch(100% 0 0 / 0.07);
  border-color: oklch(100% 0 0 / 0.22);
}
.hbtn-primary {
  color: #fffaf4;
  background: var(--straw);
  border-color: var(--straw);
  box-shadow: 0 10px 28px -14px var(--straw-glow);
}
.hbtn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px var(--straw-tint), 0 14px 36px -14px var(--straw-glow);
}

/* mobile toggle */
.site-header-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid oklch(100% 0 0 / 0.16);
  background: oklch(100% 0 0 / 0.02);
  align-items: center;
  justify-content: center;
  margin-left: auto;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.site-header-toggle-bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.site-header[data-open="true"] .site-header-toggle-bar:nth-child(1) {
  transform: translateY(2.75px) rotate(45deg);
}
.site-header[data-open="true"] .site-header-toggle-bar:nth-child(2) {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* sheet (mobile) */
.site-header-sheet {
  position: fixed;
  inset: 68px 0 0;
  background: oklch(6% 0.012 60 / 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid oklch(100% 0 0 / 0.08);
  z-index: 49;
  display: none;
  pointer-events: auto;
}
.site-header-sheet[hidden] { display: none !important; }
.site-header[data-open="true"] .site-header-sheet {
  display: block;
  animation: site-header-sheet-in .25s ease-out;
}
@keyframes site-header-sheet-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.site-header-sheet-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  padding: 24px 20px 32px;
}
.site-header-sheet-links { display: grid; gap: 4px; }
.site-header-sheet-links a {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}
.site-header-sheet-links a:hover { background: oklch(100% 0 0 / 0.06); }
.site-header-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-header-sheet-actions .hbtn {
  width: 100%;
  height: 44px;
  font-size: 15px;
}

/* ----------------------------------------- hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--bg);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(70% 50% at 50% 55%, transparent 0%, oklch(6% 0.02 50 / 0.55) 65%, oklch(3% 0.01 40 / 0.92) 100%),
    linear-gradient(180deg, oklch(6% 0.02 50 / 0.55) 0%, transparent 22%, transparent 70%, oklch(4% 0.012 50 / 0.7) 100%);
}

.hero-stage {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(92px, 13vh, 132px) var(--pad) clamp(72px, 10vh, 116px);
}
.hero-inner {
  width: min(860px, calc(100vw - var(--pad) * 2));
  max-width: 860px;
  text-align: left;
  margin-left: clamp(2px, 1.1vw, 14px);
  transform: translateY(clamp(8px, 4vh, 36px));
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  background: var(--straw-tint);
  border: 1px solid oklch(74% 0.19 50 / 0.24);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 32px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(88% 0.05 60);
}
.eyebrow-badge .stars { color: var(--straw); letter-spacing: 1px; }
.eyebrow-badge .sep   { color: var(--ink-faint); }

h1.hero-headline {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(54px, 6.25vw, 104px);
  line-height: 1.04;
  letter-spacing: 0;
  color: oklch(93% 0.018 255);
  text-shadow:
    0 1px 28px rgba(0,0,0,0.58),
    0 0 34px oklch(62% 0.06 245 / 0.16);
  max-width: 9.5em;
  text-wrap: balance;
}
h1.hero-headline .hl-line {
  display: block;
  white-space: nowrap;
}
h1.hero-headline .hl-caret {
  display: inline-block;
  margin-left: .04em;
  color: var(--ink);
  animation: hero-caret-blink 1.05s steps(2, end) infinite;
}
@keyframes hero-caret-blink { 50% { opacity: 0; } }
h1.hero-headline .pivot {
  color: var(--straw);
  text-shadow: 0 0 32px var(--straw-glow);
}

.hero-cn {
  margin: 18px 0 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(20px, 1.6vw, 26px);
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.hero-cn .em { color: var(--straw); }

/* straw underline */
.straw-wrap {
  position: relative;
  margin-top: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.straw-svg { width: min(58%, 820px); height: 32px; overflow: visible; }
.straw-path {
  fill: none;
  stroke: var(--straw);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len, 2000);
  stroke-dashoffset: var(--len, 2000);
  filter: drop-shadow(0 0 5px var(--straw-glow)) drop-shadow(0 0 16px oklch(70% 0.2 45 / 0.35));
  transition: stroke-dashoffset 1500ms cubic-bezier(.65,.02,.25,1);
}
.straw-path.draw { stroke-dashoffset: 0; }

.hero-sub {
  position: relative;
  display: block;
  max-width: 640px;
  padding-left: 42px;
  margin: 28px 0 0;
  font-family: var(--sans);
  font-size: clamp(16px, 1.18vw, 19px);
  line-height: 1.68;
  color: oklch(78% 0.026 248 / 0.72);
  letter-spacing: 0;
}
.hero-sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.86em;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--straw), transparent);
  box-shadow: 0 0 10px var(--straw-glow);
}
.hero-sub span {
  display: inline;
  color: var(--straw);
  font-weight: 600;
  line-height: inherit;
  text-shadow: 0 0 18px var(--straw-glow);
}
.hero-sub span::before {
  display: none;
}
.hero-sub .hero-sub-copy {
  display: inline;
  max-width: none;
  line-height: inherit;
  color: oklch(80% 0.022 248 / 0.70);
  font-weight: 400;
  text-shadow: none;
}
.hero-sub .hero-sub-copy::before { display: none; }

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 40px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform .25s, background .25s, border-color .25s, box-shadow .25s;
}
.btn.primary {
  background: var(--straw);
  color: #fffaf4;
  border-color: var(--straw);
  box-shadow: 0 14px 40px -10px var(--straw-glow);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 6px var(--straw-tint), 0 18px 48px -10px var(--straw-glow);
}
.btn.primary .arr { transition: transform .25s; }
.btn.primary:hover .arr { transform: translateX(3px); }
.btn.ghost {
  background: oklch(100% 0 0 / 0.03);
  color: var(--ink);
  border-color: oklch(100% 0 0 / 0.16);
  backdrop-filter: blur(6px);
}
.btn.ghost:hover {
  background: oklch(100% 0 0 / 0.07);
  border-color: var(--rule-strong);
  transform: translateY(-1px);
}

.hero-foot {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 26px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}
.hero-foot > * { pointer-events: auto; }
.hero-foot .col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-foot .num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-faint);
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.scroll-cue .arrow {
  width: 22px; height: 1px;
  background: var(--ink-mute);
  position: relative;
}
.scroll-cue .arrow::after {
  content:""; position:absolute; right:-1px; top:-3px;
  width:7px; height:7px;
  border-right:1px solid var(--ink-mute);
  border-bottom:1px solid var(--ink-mute);
  transform: rotate(-45deg);
}

/* ----------------------------------------- section header (generic) */
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.sec-eyebrow .tick {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--straw);
  box-shadow: 0 0 10px var(--straw-glow);
}
.sec-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
  word-break: keep-all;
}
.sec-title .line {
  display: block;
}
.sec-title .em { color: var(--straw); }
.sec-sub {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 56ch;
}

/* ----------------------------------------- section: ecosystem */
.ecosystem {
  position: relative;
  min-height: 100vh;
  padding: var(--pad-y) var(--pad);
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
/* dashboard backdrop image */
.ecosystem::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, oklch(14% 0.02 50 / 0.55), transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* floating animated paths */
.eco-paths {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  color: #ffffff;
  mask-image: radial-gradient(ellipse 110% 95% at 50% 50%, black 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 110% 95% at 50% 50%, black 55%, transparent 100%);
}
.eco-paths-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.eco-path {
  --op: 0.3;
  --dur: 24s;
  --delay: 0s;
  stroke-dasharray: 60 1200;
  animation:
    ecoPathFlow var(--dur) linear var(--delay) infinite,
    ecoPathPulse var(--dur) linear var(--delay) infinite;
}
@keyframes ecoPathFlow {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1260; }
}
@keyframes ecoPathPulse {
  0%   { opacity: calc(var(--op) * 0.5); }
  50%  { opacity: var(--op); }
  100% { opacity: calc(var(--op) * 0.5); }
}
@media (prefers-reduced-motion: reduce) {
  .eco-path { animation: none; opacity: var(--op); }
}
/* center vignette so foreground stays readable */
.ecosystem::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 50% 50%, oklch(10% 0.02 50 / 0.35), transparent 80%),
    linear-gradient(to bottom, oklch(8% 0.01 50 / 0.5), transparent 16%, transparent 84%, oklch(8% 0.01 50 / 0.6));
  pointer-events: none;
  z-index: 0;
}
.ecosystem > *:not(.eco-paths) { position: relative; z-index: 1; }
.ecosystem > .eco-paths { z-index: 0; }

.ecosystem-grid {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.2fr) minmax(260px, 1fr);
  gap: clamp(20px, 2vw, 44px);
  align-items: center;
  margin-top: clamp(32px, 4vh, 56px);
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.eco-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.eco-col .col-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.eco-col .col-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--straw);
}
.eco-col .col-title {
  font-family: var(--serif);
  font-size: clamp(26px, 2vw, 36px);
  line-height: 1.1;
  color: var(--ink);
}
.eco-col .col-sub {
  font-size: 13.5px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* chat card — frosted glass */
.chat-card {
  position: relative;
  background: linear-gradient(180deg, oklch(14% 0.012 60 / 0.42), oklch(10% 0.01 60 / 0.42));
  border: 1px solid oklch(100% 0 0 / 0.10);
  border-radius: 18px;
  padding: 14px;
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.07);
  height: min(540px, 56vh);
  min-height: 420px;
  display: flex;
}
.chat-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: 1px solid oklch(100% 0 0 / 0.06);
  border-radius: 14px;
  background: oklch(8% 0.01 60 / 0.28);
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  min-height: 44px;
  border-bottom: 1px solid var(--rule);
}
.chat-top .logo {
  width: 18px; height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--straw-glow));
}
.chat-top .name { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.chat-top .dots { margin-left: auto; color: var(--ink-faint); letter-spacing: 0.18em; }
.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 12px;
  overflow: hidden;
}
.bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.55;
  color: oklch(92% 0.01 70);
}
.bubble.user {
  align-self: flex-start;
  background: oklch(14% 0.012 60);
  border: 1px solid var(--rule);
}
.bubble.agent {
  align-self: flex-end;
  background: oklch(20% 0.04 55 / 0.4);
  border: 1px solid oklch(74% 0.19 50 / 0.18);
}
.bubble .agent-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--straw);
}
.bubble .agent-label img { width: 12px; height: 12px; object-fit: contain; }

.product-options {
  display: flex;
  gap: 6px;
  padding: 0 12px 8px;
}
.product-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px;
  background: oklch(14% 0.012 60);
  border: 1px solid var(--rule);
  border-radius: 10px;
  text-align: left;
}
.product-card strong { font-size: 11px; color: var(--ink); font-weight: 700; line-height: 1.2; }
.product-card span { font-size: 10px; color: var(--ink-mute); line-height: 1.4; }

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px 12px;
  padding: 9px 8px 9px 14px;
  background: var(--ink);
  border-radius: 999px;
  font-size: 11px;
  color: oklch(40% 0.01 60);
  font-weight: 500;
}
.chat-input .send {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  margin-left: auto;
  border-radius: 50%;
  background: oklch(15% 0.02 60);
  color: var(--ink);
}

/* central integration column */
.hub-stage {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 4px;
}
.hub-column {
  width: min(320px, 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

/* xiguan mark card at top */
.hub-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, oklch(18% 0.02 60 / 0.78), oklch(11% 0.012 60 / 0.86));
  border: 1px solid oklch(74% 0.19 50 / 0.28);
  box-shadow:
    0 18px 48px oklch(0% 0 0 / 0.5),
    inset 0 1px 0 oklch(100% 0 0 / 0.05),
    0 0 40px oklch(74% 0.19 50 / 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hub-mark-orb {
  position: relative;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, oklch(82% 0.16 55 / 0.45), oklch(60% 0.18 50 / 0.15) 60%, transparent 75%);
  border: 1px solid oklch(74% 0.19 50 / 0.4);
  flex: 0 0 auto;
}
.hub-mark-orb::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--straw-tint), transparent 70%);
  filter: blur(14px);
  z-index: -1;
}
.hub-mark-orb img {
  width: 30px; height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}
.hub-mark-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.hub-mark-text .cn {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
}
.hub-mark-text .lat {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* connecting spine between mark and list */
.hub-spine {
  position: relative;
  height: 36px;
  display: flex;
  justify-content: center;
}
.hub-spine-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, oklch(74% 0.19 50 / 0.5), oklch(74% 0.19 50 / 0.08));
}
.hub-spine-pulse {
  position: absolute;
  top: 0;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--straw);
  box-shadow: 0 0 6px var(--straw-glow), 0 0 14px var(--straw-glow);
  animation: spine-flow 2600ms ease-in-out infinite;
}
@keyframes spine-flow {
  0%   { transform: translateY(-4px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(36px); opacity: 0; }
}

.hub-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.hub-caption .mono {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--straw);
}
.hub-caption .cn-caption {
  font-size: 13px;
  color: var(--ink-mute);
}

/* integration list grid */
.integration-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-radius: 18px;
  background: oklch(12% 0.012 60 / 0.32);
  border: 1px solid oklch(100% 0 0 / 0.08);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
}
.integration-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: oklch(16% 0.012 60 / 0.30);
  border: 1px solid oklch(100% 0 0 / 0.06);
  transition: transform .25s, border-color .25s, background .25s;
}
.integration-list li:hover {
  transform: translateY(-2px);
  border-color: oklch(74% 0.19 50 / 0.35);
  background: oklch(18% 0.014 60 / 0.45);
}
.integration-list .ico {
  width: 28px; height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: oklch(20% 0.014 60 / 0.7);
  border: 1px solid oklch(100% 0 0 / 0.06);
}
.integration-list .ico img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: brightness(1.08);
}
.integration-list .lbl {
  font-size: 12.5px;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* ----------------------------------------- section: report */
.report {
  position: relative;
  min-height: 100vh;
  padding: var(--pad-y) var(--pad);
  overflow: hidden;
  background-color: var(--bg);
  background-image: var(--third-screen-bg);
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 46% 46%;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.report::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 24% 60%, oklch(74% 0.19 50 / 0.10), transparent 62%),
    radial-gradient(60% 40% at 78% 55%, oklch(74% 0.19 50 / 0.07), transparent 62%),
    linear-gradient(180deg, rgba(0,0,0,0.38), rgba(0,0,0,0.20) 38%, rgba(0,0,0,0.42));
  pointer-events: none;
  z-index: 0;
}
.report::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(100% 0 0 / 0.035), transparent 26%, transparent 72%, oklch(100% 0 0 / 0.02));
  mix-blend-mode: screen;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.report > * { position: relative; z-index: 1; }

.report-flow {
  position: relative;
  flex: 1;
  margin-top: clamp(24px, 3vh, 40px);
  width: 100%;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  min-height: 520px;
}

/* ----- left rail: data sources ----- */
.rp-sources {
  position: absolute;
  inset: 0 auto 0 0;
  width: 200px;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 3;
  pointer-events: none;
}
.rp-sources li {
  position: absolute;
  left: 0;
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 8px;
  background: oklch(10% 0.012 60 / 0.7);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-12px, -50%);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.4,.0,.2,1);
}
.report.is-in-view .rp-sources li {
  opacity: 1;
  transform: translate(0, -50%);
}
.report.is-in-view .rp-sources li:nth-child(1) { transition-delay: 0.10s; }
.report.is-in-view .rp-sources li:nth-child(2) { transition-delay: 0.20s; }
.report.is-in-view .rp-sources li:nth-child(3) { transition-delay: 0.30s; }
.report.is-in-view .rp-sources li:nth-child(4) { transition-delay: 0.40s; }
.report.is-in-view .rp-sources li:nth-child(5) { transition-delay: 0.50s; }

.rp-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 2px oklch(100% 0 0 / 0.06), 0 0 10px currentColor;
}
.rp-dot.c1 { background: oklch(82% 0.13 28);  color: oklch(82% 0.13 28); }
.rp-dot.c2 { background: oklch(84% 0.15 50);  color: oklch(84% 0.15 50); }
.rp-dot.c3 { background: oklch(80% 0.18 65);  color: oklch(80% 0.18 65); }
.rp-dot.c4 { background: oklch(76% 0.19 48);  color: oklch(76% 0.19 48); }
.rp-dot.c5 { background: oklch(70% 0.16 32);  color: oklch(70% 0.16 32); }

/* ----- the flowing paths SVG ----- */
.rp-paths {
  position: absolute;
  inset: -4% -2% 0 -2%;
  width: 104%;
  height: 110%;
  z-index: 1;
  pointer-events: none;
}
.rp-paths .rp-shadow,
.rp-paths .rp-lines path,
.rp-paths .rp-dots path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.rp-paths .rp-shadow { opacity: 0.4; stroke-width: 3; }

/* draw-in animation: pathLength=1 so dashoffset 1 = invisible, 0 = full */
.rp-paths .rp-lines path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 4px currentColor);
}
.report.is-in-view .rp-paths .rp-lines path {
  animation: rp-draw 2400ms cubic-bezier(.65,.02,.25,1) forwards;
  animation-delay: calc(0.6s + var(--i, 0) * 0.16s);
}
@keyframes rp-draw {
  0%   { stroke-dashoffset: 1; opacity: 0; }
  20%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

/* traveling glow comet on each path */
.rp-paths .rp-dots path {
  stroke-width: 3;
  stroke-dasharray: 0.04 0.96;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 6px currentColor) drop-shadow(0 0 14px currentColor);
}
.report.is-in-view .rp-paths .rp-dots path {
  opacity: 1;
  animation: rp-comet var(--dur, 8s) linear infinite;
  animation-delay: calc(2.6s + var(--i, 0) * 0.4s);
}
@keyframes rp-comet {
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}

/* ----- focal hub where lines converge ----- */
.rp-hub {
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 800ms ease 1.6s;
}
.report.is-in-view .rp-hub { opacity: 1; }
.rp-hub::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(74% 0.19 50 / 0.45), oklch(74% 0.19 50 / 0) 65%);
  filter: blur(20px);
}
.rp-hub-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid oklch(74% 0.19 50 / 0.45);
  box-shadow: inset 0 0 28px oklch(74% 0.19 50 / 0.35);
  animation: rp-ring 9s linear infinite;
}
.rp-hub-ring.r2 {
  inset: -18px;
  border-style: dashed;
  border-color: oklch(74% 0.19 50 / 0.28);
  box-shadow: none;
  animation-duration: 22s;
  animation-direction: reverse;
}
@keyframes rp-ring { to { transform: rotate(360deg); } }
.rp-hub-mark {
  position: relative;
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.55)) drop-shadow(0 0 16px var(--straw-glow)) brightness(1.15);
  z-index: 1;
}
.rp-hub-cap {
  position: absolute;
  top: calc(100% + 28px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--straw);
  white-space: nowrap;
  text-shadow: 0 0 12px var(--straw-glow);
}

/* the report product window */
.report-product {
  position: absolute;
  top: 54%;
  right: clamp(0px, 1.2vw, 18px);
  width: min(76vw, 980px);
  height: min(76vh, 720px);
  min-width: 740px;
  min-height: 560px;
  transform: translateY(-50%);
  overflow: hidden;
  background:
    linear-gradient(180deg, oklch(15% 0.018 62 / 0.96), oklch(8% 0.012 60 / 0.98)),
    oklch(10% 0.012 60);
  border: 1px solid oklch(74% 0.19 50 / 0.32);
  border-radius: 20px;
  box-shadow:
    0 34px 90px rgba(0,0,0,0.68),
    0 0 0 1px rgba(0,0,0,0.55),
    0 0 70px oklch(74% 0.19 50 / 0.26),
    inset 0 1px 0 oklch(100% 0 0 / 0.10);
  z-index: 3;
}
.report-product .top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 42px;
  background:
    linear-gradient(180deg, oklch(18% 0.018 62 / 0.94), oklch(11% 0.012 60 / 0.94));
  border-bottom: 1px solid oklch(74% 0.19 50 / 0.18);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  z-index: 2;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.report-product .top-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: oklch(85% 0.005 80); }
.report-product .top-bar .dot:nth-child(1) { background: oklch(75% 0.16 30); }
.report-product .top-bar .dot:nth-child(2) { background: oklch(85% 0.13 90); }
.report-product .top-bar .dot:nth-child(3) { background: oklch(75% 0.15 145); }
.report-product .top-bar .url {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(86% 0.035 70);
  margin-left: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.report-iframe {
  display: block;
  position: absolute;
  top: 42px; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: calc(100% - 42px);
  border: 0;
}

/* ----------------------------------------- section: scenes */
.scenes {
  position: relative;
  min-height: 100vh;
  padding: 0 var(--pad);
  overflow: visible;
  display: block;
  background: var(--bg);
}
.scenes-sticky {
  position: relative;
  top: auto;
  min-height: 100vh;
  padding: var(--pad-y) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.scenes-grid {
  margin-top: clamp(32px, 4vh, 56px);
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 3vw, 56px);
  align-items: stretch;
  height: min(640px, calc(100vh - 280px));
  min-height: 440px;
  flex: 0 0 auto;
  transform: translateY(calc(var(--scene-local-progress, 0) * -8px));
  transition: transform .2s ease-out;
}

.scene-stage {
  position: relative;
  min-height: 0;
  display: flex;
  perspective: 1200px;
}
.scene-card {
  position: relative;
  width: 100%;
  padding: clamp(28px, 2.4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 26px;
  background:
    radial-gradient(80% 60% at 80% 16%, oklch(28% 0.12 55 / 0.55), transparent 60%),
    radial-gradient(60% 60% at 20% 90%, oklch(18% 0.04 55 / 0.4), transparent 70%),
    linear-gradient(160deg, oklch(16% 0.04 55), oklch(9% 0.02 60));
  border: 1px solid oklch(74% 0.19 50 / 0.18);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  isolation: isolate;
  transform:
    translateY(calc(var(--scene-local-progress, 0) * -18px))
    rotateX(calc(var(--scene-local-progress, 0) * 1deg));
  transition: opacity .24s ease, transform .36s cubic-bezier(.2,.75,.2,1), border-color .28s ease;
}
.scene-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(74% 0.19 50 / 0.22), transparent 65%);
  filter: blur(12px);
  pointer-events: none;
}
.scene-card-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 70%;
  object-fit: contain;
  object-position: center top;
  opacity: 0;
  transition: opacity .5s ease, transform .4s ease;
  transform: translateY(calc(var(--scene-local-progress, 0) * -34px)) scale(calc(1 + var(--scene-local-progress, 0) * .035));
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}
.scene-card-art[src] { opacity: 1; }
.scene-card-eyebrow,
.scene-card-title,
.scene-card-body,
.scene-card-foot,
.scene-card-index { position: relative; z-index: 1; }
.scene-card-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--straw);
}
.scene-card-index {
  position: absolute;
  left: clamp(28px, 2.4vw, 40px);
  top: clamp(24px, 2vw, 32px);
  font-family: var(--serif);
  font-size: 60px;
  line-height: 1;
  color: oklch(74% 0.19 50 / 0.55);
  z-index: 2;
}
.scene-card-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.08;
  color: var(--ink);
}
.scene-card-body {
  margin: 14px 0 0;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}
.scene-card.is-changing {
  opacity: 0;
  transform: translateY(12px) scale(.985);
}
.scene-card-foot {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scene-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.04);
  border: 1px solid oklch(100% 0 0 / 0.12);
  color: var(--ink-mute);
}

.scene-rail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  transform: translateY(calc(var(--scene-local-progress, 0) * 10px));
  transition: transform .2s ease-out;
}
.scene-rail-head {
  margin-bottom: 14px;
}
.scene-rail-head .kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--straw);
  display: inline-block;
  margin-bottom: 8px;
}
.scene-rail-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 2.2vw, 38px);
  line-height: 1.1;
  color: var(--ink);
}
.scene-rail-head p {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.6;
  max-width: 32ch;
}

.scene-rail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: oklch(10% 0.012 60);
  border: 1px solid var(--rule);
  border-radius: 14px;
  text-align: left;
  transition: transform .28s, border-color .28s, background .28s, box-shadow .28s;
  cursor: pointer;
}
.scene-rail-item:hover,
.scene-rail-item:focus-visible {
  transform: translateX(4px);
  border-color: var(--rule-strong);
  background: oklch(13% 0.012 60);
}
.scene-rail-item.is-active {
  border-color: oklch(74% 0.19 50 / 0.45);
  background: linear-gradient(90deg, oklch(20% 0.06 55 / 0.4), oklch(11% 0.012 60 / 0.9));
  box-shadow: 0 14px 36px oklch(74% 0.19 50 / 0.12), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: translateX(6px);
}
.scene-rail-item .inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.scene-rail-item .num {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
}
.scene-rail-item.is-active .num { color: var(--straw); }
.scene-rail-item .title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.scene-rail-item .tail {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: oklch(100% 0 0 / 0.05);
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1;
  transition: background .28s, color .28s;
}
.scene-rail-item.is-active .tail {
  background: var(--straw);
  color: oklch(15% 0.02 50);
}

/* ----------------------------------------- section: cta (spiral) */
.cta-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
  display: grid;
  place-items: center;
}
.spiral-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.cta-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(70% 60% at 50% 50%, transparent 0%, rgba(0,0,0,0.55) 80%),
    linear-gradient(180deg, rgba(0,0,0,0.6), transparent 35%, transparent 65%, rgba(0,0,0,0.6));
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pad);
  max-width: 880px;
}
.cta-inner h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.cta-inner h2 .em { color: var(--straw); text-shadow: 0 0 28px var(--straw-glow); }
.cta-inner h2 .cta-h-line { display: block; white-space: nowrap; }
.cta-inner p {
  margin: 20px auto 0;
  max-width: 540px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-mute);
}
.cta-inner .ctas {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-foot {
  position: absolute;
  bottom: 26px;
  left: 0; right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--pad);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ----------------------------------------- floating assistant */
.assistant {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 40;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  transition: width .28s cubic-bezier(.2,.82,.2,1), height .28s cubic-bezier(.2,.82,.2,1);
}
.assistant-surface {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
}
.assistant-orb {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  opacity: 1;
  transform: scale(1);
  transition: opacity .18s ease, transform .28s cubic-bezier(.2,.82,.2,1);
}
.assistant-orb::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--straw-glow), transparent 70%);
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}
.assistant:hover .assistant-orb::before {
  animation: assistant-breathe 1600ms ease-in-out infinite;
}
@keyframes assistant-breathe {
  0%, 100% { opacity: 0.3; transform: scale(0.86); }
  50%      { opacity: 0.8; transform: scale(1.16); }
}
.assistant-orb img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(0,0,0,0.5), 0 0 0 1px oklch(74% 0.19 50 / 0.3);
}
.assistant-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  width: 100%; height: 100%;
  padding: 22px 24px;
  overflow: hidden;
  background: linear-gradient(180deg, oklch(13% 0.012 60 / 0.96), oklch(6% 0.01 60 / 0.98));
  border: 1px solid oklch(74% 0.19 50 / 0.22);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96) translateY(8px);
  transition: opacity .18s ease, transform .28s cubic-bezier(.2,.82,.2,1);
}
.assistant-prompts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.assistant-prompt {
  padding: 11px 18px;
  background: oklch(100% 0 0 / 0.06);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.assistant-input {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 8px 0 22px;
  background: var(--ink);
  color: oklch(40% 0.01 60);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
}
.assistant-input .dots { margin-left: auto; color: oklch(50% 0.01 60); letter-spacing: 0.18em; }
.assistant-input .send {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  margin-left: 14px;
  border-radius: 50%;
  background: var(--straw);
  color: oklch(15% 0.02 50);
  font-size: 18px;
  line-height: 1;
}
.assistant.is-open {
  width: min(720px, calc(100vw - 80px));
  height: 200px;
}
.assistant.is-open .assistant-orb {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}
.assistant.is-open .assistant-panel {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

/* ----------------------------------------- responsive */
@media (max-width: 1100px) {
  .ecosystem-grid { grid-template-columns: 1fr; }
  .hub-stage { order: -1; min-height: 0; padding: 24px 0; }
  .hub-column { width: min(420px, 100%); }
  .report-chat-cloud { width: min(30vw, 220px); }
  .report-knowledge  { width: min(11vw, 100px); }
  .report-hub { width: 120px; height: 120px; left: 36%; }
  .report-hub-mark { width: 70px; height: 70px; }
  .report-product { width: min(78vw, 820px); min-width: 560px; height: min(72vh, 640px); }
  .scenes { min-height: auto; }
  .scenes-sticky { justify-content: flex-start; }
  .scenes-grid {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .scene-stage { min-height: min(52vh, 480px); }
  .scene-rail { transform: none; }
  .scene-card-index { font-size: 60px; right: 18px; top: 18px; }
}

@media (max-width: 720px) {
  :root { --pad: 16px; --pad-y: 48px; }
  .site-header-nav { padding: 0 14px; }
  .site-header-shell { max-width: none; }
  .hero-foot { display: none; }
  .hero-stage {
    align-items: flex-end;
    padding: 96px var(--pad) 74px;
  }
  .hero-inner {
    width: 100%;
    margin-left: 0;
    transform: none;
  }
  h1.hero-headline {
    white-space: normal;
    font-size: clamp(40px, 11vw, 72px);
    max-width: 8.8em;
  }
  .hero-sub {
    padding-left: 30px;
    font-size: 16px;
    line-height: 1.72;
  }
  .hero-sub::before {
    width: 20px;
    top: 0.88em;
  }
  .hero-sub span::before {
    width: 18px;
    margin-right: 8px;
  }
  .straw-svg { width: 88%; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .chat-card { height: auto; min-height: 380px; }
  .hub-stage { padding: 16px 0; }
  .hub-column { width: 100%; }
  .integration-list { grid-template-columns: 1fr; }
  .report-flow { min-height: 600px; }
  .report-chat-cloud { top: 20%; left: 50%; transform: translate(-50%, -50%); width: min(60vw, 280px); }
  .report-knowledge  { left: 22%; bottom: 6%; width: 72px; }
  .report-hub { top: 50%; left: 50%; width: 96px; height: 96px; }
  .report-hub-mark { width: 56px; height: 56px; }
  .report-product { top: auto; bottom: 0; right: 0; left: 0; transform: none; width: 100%; min-width: 0; height: min(56vh, 430px); min-height: 340px; }
  .scenes { min-height: auto; }
  .scenes-sticky { padding: calc(var(--pad-y) + 18px) 0 var(--pad-y); }
  .scene-stage { min-height: 430px; }
  .scene-card { padding: 22px; }
  .scene-card-index { font-size: 48px; }
  .assistant { bottom: 16px; }
  .assistant.is-open { width: calc(100vw - 32px); height: 200px; }
  .assistant-panel { padding: 18px 16px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .connector::before, .connector::after { animation: none; opacity: 0; }
  .report-hub-ring { animation: none; }
  html { scroll-behavior: auto; }
}


/* =========================================================
   SECTION 2 — 三个 Agent (agent grid)
   ========================================================= */

[hidden] { display: none !important; }


/* ===========================================================
   Section 2 — 既会主动调研,也会被动接听
   左:文案 / 右:动态会话现场 + 实时抽取
   =========================================================== */
.scn2 {
  position: relative;
  min-height: 100vh;
  padding: var(--pad-y) var(--pad);
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.scn2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 8% 50%, oklch(20% 0.08 50 / 0.22), transparent 65%),
    radial-gradient(ellipse 70% 60% at 100% 20%, oklch(18% 0.06 50 / 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 100%, oklch(22% 0.09 50 / 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Background paths layer — React + framer-motion mount point */
.scn2-paths {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  color: oklch(96% 0.008 80);
}
.scn2-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(0, 1.32fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

/* ------- LEFT: text column ------- */
.scn2-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
  display: flex; align-items: center; gap: 12px;
}
.scn2-eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--straw);
  box-shadow: 0 0 8px var(--straw-glow);
  opacity: 0.75;
}
.scn2-title {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.scn2-title .em {
  color: var(--straw);
  text-shadow: 0 0 24px var(--straw-glow);
}
.scn2-sub {
  max-width: 460px;
  margin: 26px 0 0;
  font-family: var(--sans);
  font-size: clamp(15px, 1.06vw, 17px);
  line-height: 1.75;
  color: var(--ink-mute);
}
.scn2-meta {
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px dashed var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  max-width: 480px;
}
.scn2-meta-cell dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}
.scn2-meta-cell dd {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.scn2-meta-cell dd b {
  color: var(--straw);
  font-weight: 600;
}

/* ------- RIGHT: showcase card ------- */
.scn2-stage {
  position: relative;
  background: linear-gradient(180deg, oklch(11% 0.012 60) 0%, oklch(7% 0.008 50) 100%);
  border: 1px solid var(--rule-strong);
  border-radius: 22px;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.025) inset,
    0 90px 140px -50px oklch(60% 0.18 48 / 0.22);
  overflow: hidden;
  isolation: isolate;
}
.scn2-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 92% 0%, oklch(60% 0.18 48 / 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* status bar */
.scn2-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--rule);
  background: oklch(8% 0.008 50 / 0.55);
  z-index: 1;
}
.scn2-bar-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--straw);
  flex-shrink: 0;
  animation: scn2-pulse 1.6s ease-in-out infinite;
}
@keyframes scn2-pulse {
  0%, 100% { box-shadow: 0 0 0 0 oklch(74% 0.19 50 / 0.55); }
  60%      { box-shadow: 0 0 0 9px oklch(74% 0.19 50 / 0); }
}
.scn2-bar-mode {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.scn2-bar-en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
}
.scn2-bar-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid oklch(74% 0.19 50 / 0.35);
  color: var(--straw);
  border-radius: 999px;
  background: var(--straw-tint);
  white-space: nowrap;
}
.scn2-bar-spacer { flex: 1; }
.scn2-bar-clock {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.scn2-bar-chips {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 14px;
}
.scn2-bar-chips i {
  width: 3px;
  display: block;
  background: var(--rule-strong);
  border-radius: 1px;
}

/* split body */
.scn2-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.82fr);
  z-index: 1;
}

/* --- chat panel --- */
.scn2-chat-wrap {
  position: relative;
  border-right: 1px solid var(--rule);
  overflow: hidden;
}
.scn2-chat {
  padding: 22px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 440px;
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: none;
}
.scn2-chat::-webkit-scrollbar { display: none; }
.scn2-chat-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, oklch(9% 0.01 55));
  pointer-events: none;
}
.scn2-chat-wrap::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 40px;
  background: linear-gradient(180deg, oklch(11% 0.012 60), transparent);
  pointer-events: none;
  z-index: 2;
}

.scn2-msg {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  max-width: 86%;
  opacity: 0;
  transform: translateY(8px);
  animation: scn2-msg-in 0.5s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes scn2-msg-in {
  to { opacity: 1; transform: translateY(0); }
}
.scn2-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.scn2-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: oklch(20% 0.012 60);
  border: 1px solid var(--rule-strong);
  overflow: hidden;
}
.scn2-avatar.agent {
  background: oklch(15% 0.05 50);
  border-color: oklch(74% 0.19 50 / 0.4);
  box-shadow: 0 0 14px oklch(74% 0.19 50 / 0.3);
}
.scn2-avatar.agent img { width: 16px; height: 16px; object-fit: contain; }
.scn2-avatar.user::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink-mute);
  opacity: 0.6;
}

.scn2-bubble {
  position: relative;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.55;
  padding: 10px 14px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  background: oklch(15% 0.012 60);
  color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: 0 4px 18px -8px rgba(0,0,0,0.5);
  word-break: break-word;
}
.scn2-msg.user .scn2-bubble {
  background: var(--straw);
  color: oklch(16% 0.02 50);
  border-color: oklch(74% 0.19 50 / 0);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
  box-shadow: 0 6px 22px -8px var(--straw-glow);
  font-weight: 500;
}
.scn2-bubble small {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1px 6px;
  margin-right: 7px;
  border-radius: 4px;
  background: var(--straw-tint);
  color: var(--straw);
  vertical-align: 2px;
  font-weight: 600;
}

/* ----- rich bubble types: cards / form / confirm ----- */
.scn2-msg.rich { max-width: 92%; }
.scn2-bubble.rich {
  padding: 12px;
  background: oklch(13% 0.012 60);
}

/* case cards stack */
.scn2-cards {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.scn2-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  padding: 9px 12px;
  background: oklch(18% 0.015 50);
  border: 1px solid var(--rule);
  border-radius: 9px;
  opacity: 0;
  transform: translateX(-8px);
  animation: scn2-rich-in 0.5s cubic-bezier(.2,.7,.2,1) forwards;
}
.scn2-card:nth-child(1) { animation-delay: 0.05s; }
.scn2-card:nth-child(2) { animation-delay: 0.22s; }
.scn2-card:nth-child(3) { animation-delay: 0.39s; }
@keyframes scn2-rich-in {
  to { opacity: 1; transform: translateX(0) translateY(0); }
}
.scn2-card .card-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.3;
}
.scn2-card .card-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 2px 7px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
}
.scn2-card .card-metric {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  color: var(--straw);
  letter-spacing: 0.06em;
  grid-column: 1 / -1;
}
.scn2-card .card-metric b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  margin-right: 6px;
}

/* lead-capture form */
.scn2-form {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.scn2-form-head {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0 4px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.scn2-form-head::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--straw);
  animation: scn2-pulse 1.6s ease-in-out infinite;
}
.scn2-form-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 4px;
  border-bottom: 1px dashed var(--rule);
  opacity: 0;
  transform: translateY(4px);
  animation: scn2-rich-in 0.4s ease forwards;
}
.scn2-form-row:nth-child(2) { animation-delay: 0.10s; }
.scn2-form-row:nth-child(3) { animation-delay: 0.22s; }
.scn2-form-row:nth-child(4) { animation-delay: 0.34s; }
.scn2-form-row:nth-child(5) { animation-delay: 0.46s; }
.scn2-form-row:last-child { border-bottom: none; }
.scn2-form-row dt {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.scn2-form-row dd {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}

/* push confirmation */
.scn2-confirm {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.scn2-confirm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: oklch(22% 0.05 50 / 0.5);
  border: 1px solid oklch(74% 0.19 50 / 0.32);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(4px);
  animation: scn2-rich-in 0.4s ease forwards;
}
.scn2-confirm-row:nth-child(1) { animation-delay: 0.08s; }
.scn2-confirm-row:nth-child(2) { animation-delay: 0.26s; }
.scn2-confirm-row:nth-child(3) { animation-delay: 0.44s; }
.scn2-confirm-row .row-check {
  width: 18px; height: 18px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--straw);
  color: oklch(15% 0.02 50);
  font-weight: 700;
  display: grid; place-items: center;
  font-size: 10px;
  font-family: var(--mono);
  box-shadow: 0 0 10px var(--straw-glow);
}
.scn2-confirm-row .row-meta {
  display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0;
}
.scn2-confirm-row .row-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.scn2-confirm-row .row-detail {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink);
}

/* typing indicator */
.scn2-typing {
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: oklch(15% 0.012 60);
  border: 1px solid var(--rule);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}
.scn2-typing i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink-mute);
  animation: scn2-dot 1.2s ease-in-out infinite;
}
.scn2-typing i:nth-child(2) { animation-delay: 0.15s; }
.scn2-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes scn2-dot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* --- sidecar: extraction pipeline --- */
.scn2-side {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: oklch(7% 0.008 50 / 0.5);
  min-height: 440px;
}
.scn2-side-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.scn2-side-label::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--straw);
  border-radius: 50%;
  flex-shrink: 0;
}
.scn2-side-label.muted::before { background: var(--ink-faint); }

.scn2-caps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.scn2-caps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: oklch(12% 0.01 60 / 0.5);
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  opacity: 0.45;
  transition: opacity .4s ease, border-color .4s ease, background .4s ease, color .4s ease;
}
.scn2-caps li.is-on {
  opacity: 1;
  border-color: oklch(74% 0.19 50 / 0.4);
  color: var(--ink);
  background: var(--straw-tint);
}
.scn2-caps li .cap-id {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--ink-faint);
  letter-spacing: 0.12em;
  width: 18px;
  flex-shrink: 0;
}
.scn2-caps li.is-on .cap-id { color: var(--straw); }
.scn2-caps li .cap-name { flex: 1; }
.scn2-caps li .cap-check {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--straw);
  opacity: 0;
  transform: scale(0.5);
  transition: all .35s cubic-bezier(.4,1.6,.6,1);
}
.scn2-caps li.is-on .cap-check {
  opacity: 1; transform: scale(1);
}

.scn2-outs {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scn2-outs li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--sans);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s ease, transform .5s ease;
}
.scn2-outs li.is-on {
  opacity: 1; transform: translateY(0);
}
.scn2-outs li > span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  flex-shrink: 0;
}
.scn2-outs li > b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  text-align: right;
}
.scn2-outs li.is-on > b { color: var(--straw); }

/* scene tabs */
.scn2-tabs {
  position: relative;
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--rule);
  background: oklch(6% 0.006 50 / 0.65);
  z-index: 1;
}
.scn2-tab {
  flex: 1;
  appearance: none;
  background: transparent;
  border: none;
  border-right: 1px solid var(--rule);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
  cursor: pointer;
  transition: color .25s, background .25s;
  position: relative;
  text-align: left;
}
.scn2-tab:last-child { border-right: none; }
.scn2-tab:hover { color: var(--ink); background: oklch(10% 0.01 50 / 0.45); }
.scn2-tab.is-active {
  color: var(--straw);
  background: oklch(10% 0.012 50 / 0.6);
}
.scn2-tab.is-active::before {
  content: "";
  position: absolute;
  top: -1px; left: 14px; right: 14px;
  height: 2px;
  background: var(--straw);
  box-shadow: 0 0 12px var(--straw-glow);
}
.scn2-tab .tab-num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}
.scn2-tab.is-active .tab-num { color: var(--straw); }
.scn2-tab .tab-name {
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.06em;
}
.scn2-tab .tab-desc {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-left: auto;
}
.scn2-tab.is-active .tab-desc { color: var(--ink-mute); }

@media (max-width: 1100px) {
  .scn2-grid { grid-template-columns: 1fr; gap: 48px; }
  .scn2-body { grid-template-columns: 1fr; }
  .scn2-chat-wrap { border-right: none; border-bottom: 1px solid var(--rule); }
  .scn2-side { min-height: 0; }
  .scn2-meta { max-width: 100%; }
  .scn2-sub { max-width: 100%; }
}
@media (max-width: 720px) {
  .scn2-bar-en, .scn2-bar-tag, .scn2-bar-chips { display: none; }
  .scn2-chat { min-height: 380px; max-height: 420px; }
  .scn2-tab .tab-desc { display: none; }
}
