:root {
  color-scheme: light;
  --canvas: #f7f6f3;
  --surface: #ffffff;
  --panel: #fafaf8;
  --ink: #161614;
  --ink-2: #3d3d38;
  --ink-3: #595952;
  --ink-4: #74746d;
  --line: rgba(0, 0, 0, 0.12);
  --line-soft: rgba(0, 0, 0, 0.07);
  --red: #e02a1e;
  --red-text: #c22218;
  --red-wash: rgba(224, 42, 30, 0.09);
  --red-ring: rgba(224, 42, 30, 0.15);
  --green: #34c759;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-move: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-card: 0 18px 54px rgba(0, 0, 0, 0.1);
  --shadow-dialog: 0 34px 100px rgba(0, 0, 0, 0.25);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--canvas); color: var(--ink); overflow-x: hidden; }
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--red-ring);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.micro {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.micro--accent { color: var(--red-text); }
.micro--muted { color: #a1a1a6; }

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 50%;
  width: min(1320px, calc(100% - 72px));
  min-height: 82px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  transition: color 500ms var(--ease-out), border-color 500ms var(--ease-out);
}

html[data-theme="develop"] .site-header {
  --ink: #f2f2f4;
  --ink-2: #cfcfd4;
  --ink-4: #8d8d94;
  --line-soft: rgba(255, 255, 255, 0.09);
}

.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; }
.brand img { width: 82px; height: 38px; object-fit: contain; }
.brand-divider { width: 1px; height: 14px; background: currentColor; opacity: 0.2; }
.brand-note { color: var(--ink-4); font-size: 9px; font-weight: 750; letter-spacing: 0.17em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 34px; color: var(--ink-2); font-size: 13px; font-weight: 650; }
.site-nav a { position: relative; padding: 8px 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--red);
  transition: right 180ms var(--ease-out);
}
.header-actions { justify-self: end; display: flex; align-items: center; gap: 13px; }
.domain-label { color: var(--ink-4); font: 700 9px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: 0.08em; text-transform: uppercase; }

.primary, .header-cta, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  border-radius: 8px;
  font-weight: 720;
  transition: transform 150ms var(--ease-out), filter 180ms ease, background 180ms ease;
}
.primary, .header-cta { border: 0; background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(224, 42, 30, 0.31); }
.header-cta { min-height: 42px; padding: 0 18px; }
.primary { padding: 0 20px; }
.secondary { padding: 0 18px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); }
.primary:active, .header-cta:active, .secondary:active, .carousel-button:active, .icon-button:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover::after { right: 0; }
  .primary:hover, .header-cta:hover { filter: brightness(1.06); }
  .secondary:hover { background: rgba(127, 127, 127, 0.08); }
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  height: clamp(720px, 100vh, 900px);
  min-height: 720px;
  overflow: hidden;
  background: #f7f6f3;
  touch-action: pan-y;
}
.scene {
  --scene-canvas: #f7f6f3;
  --scene-surface: #fff;
  --scene-ink: #161614;
  --scene-ink-2: #3d3d38;
  --scene-ink-3: #595952;
  --scene-ink-4: #74746d;
  --scene-line: rgba(0, 0, 0, 0.12);
  --scene-line-soft: rgba(0, 0, 0, 0.07);
  position: absolute;
  inset: 0;
  visibility: hidden;
  overflow: hidden;
  background: var(--scene-canvas);
  color: var(--scene-ink);
  opacity: 0;
  clip-path: inset(0 0 0 100%);
  transform: translateX(26px);
  filter: blur(3px);
  transition:
    clip-path 850ms var(--ease-move),
    transform 850ms var(--ease-move),
    opacity 480ms ease,
    filter 500ms ease,
    visibility 0s linear 850ms;
}
.scene.is-active {
  z-index: 3;
  visibility: visible;
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateX(0);
  filter: blur(0);
  transition-delay: 0s;
}
.scene.is-leaving {
  z-index: 2;
  visibility: visible;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-22px);
  filter: blur(2px);
}
.scene--develop {
  --scene-canvas: #0b0b0c;
  --scene-surface: #121215;
  --scene-ink: #f2f2f4;
  --scene-ink-2: #cfcfd4;
  --scene-ink-3: #a1a1a6;
  --scene-ink-4: #8d8d94;
  --scene-line: rgba(255, 255, 255, 0.11);
  --scene-line-soft: rgba(255, 255, 255, 0.07);
  --red: #f0392e;
  --red-text: #ff6b61;
}
.scene--alive { --scene-canvas: #fbfaf8; }
.scene-inner {
  width: min(1320px, calc(100% - 72px));
  min-height: 820px;
  margin: 0 auto;
  padding-top: 126px;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: 42px;
}
.scene-copy { position: relative; z-index: 12; padding-left: 8px; }
.scene-eyebrow { display: flex; align-items: center; gap: 11px; color: var(--scene-ink-4); }
.scene-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.scene h1 {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: clamp(58px, 5vw, 74px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -0.054em;
}
.scene h1 em { color: var(--red); font-style: normal; }
.fx-line { display: block; position: relative; width: max-content; max-width: 100%; }
.fx-text { display: block; }
.fx-signal { display: none; }

/* Title motion V2: one semantic signature per scene. */
html[data-title-fx="v2"] h1.fx-title.scene-reveal { opacity: 1; transform: none; }
html[data-title-fx="v2"] .scene.is-active h1.fx-title.scene-reveal { animation: none; }
html[data-title-fx="v2"] .fx-line { overflow: hidden; }
html[data-title-fx="v2"] .fx-text { opacity: 0; }
html[data-title-fx="v2"] .scene.is-active .scene-lead { animation-delay: 820ms; }
html[data-title-fx="v2"] .scene.is-active .scene-actions { animation-delay: 910ms; }
html[data-title-fx="v2"] .scene.is-active .scene-note { animation-delay: 990ms; }

html[data-title-fx="v2"] .scene--rail .fx-text {
  clip-path: inset(0 100% 0 0);
  transform: translateX(-12px);
  filter: blur(1.5px);
}
html[data-title-fx="v2"] .scene--rail.is-active .fx-text { animation: titleRailIn 760ms var(--ease-out) both; }
html[data-title-fx="v2"] .scene--rail .fx-signal {
  display: block;
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--red);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}
html[data-title-fx="v2"] .scene--rail.is-active .fx-signal { animation: titleRailSignal 760ms var(--ease-move) both; }
html[data-title-fx="v2"] .scene--rail .fx-title em { opacity: 0; }
html[data-title-fx="v2"] .scene--rail.is-active .fx-title em { animation: titlePunctuationIn 180ms var(--ease-out) 940ms both; }

html[data-title-fx="v2"] .scene--develop .fx-text {
  transform: translateY(5px);
  filter: blur(4.5px) brightness(0.58);
}
html[data-title-fx="v2"] .scene--develop.is-active .fx-text { animation: titleDevelopIn 980ms var(--ease-out) both; }
html[data-title-fx="v2"] .scene--develop .fx-title { position: relative; overflow: visible; }
html[data-title-fx="v2"] .scene--develop .fx-title::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: min(440px, 92%);
  height: 1px;
  background: var(--red);
  opacity: 0;
  pointer-events: none;
}
html[data-title-fx="v2"] .scene--develop.is-active .fx-title::after { animation: titleDevelopScan 1120ms linear 90ms both; }

html[data-title-fx="v2"] .scene--alive .fx-text {
  transform: translateY(17px) scale(0.985);
  transform-origin: left center;
}
html[data-title-fx="v2"] .scene--alive.is-active .fx-text { animation: titleAliveIn 720ms var(--ease-out) both; }
html[data-title-fx="v2"] .scene--alive .fx-title em { position: relative; display: inline-block; }
html[data-title-fx="v2"] .scene--alive .fx-title em::after {
  content: "";
  position: absolute;
  right: 0.03em;
  bottom: 0.13em;
  width: 0.34em;
  height: 0.34em;
  border: 1px solid var(--red);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}
html[data-title-fx="v2"] .scene--alive.is-active .fx-title em::after { animation: titleAliveRing 760ms var(--ease-out) 980ms both; }

html[data-title-fx="v2"] .fx-line:nth-child(1) .fx-text,
html[data-title-fx="v2"] .fx-line:nth-child(1) .fx-signal { animation-delay: 120ms; }
html[data-title-fx="v2"] .fx-line:nth-child(2) .fx-text,
html[data-title-fx="v2"] .fx-line:nth-child(2) .fx-signal { animation-delay: 210ms; }
html[data-title-fx="v2"] .fx-line:nth-child(3) .fx-text,
html[data-title-fx="v2"] .fx-line:nth-child(3) .fx-signal { animation-delay: 300ms; }
.scene-lead { max-width: 515px; margin: 25px 0 0; color: var(--scene-ink-3); font-size: 15px; line-height: 1.85; }
.scene-actions { display: flex; gap: 12px; margin-top: 29px; }
.scene .secondary { --ink-2: var(--scene-ink-2); --line: var(--scene-line); }
.scene-note { margin: 16px 0 0; color: var(--scene-ink-4); font-size: 11px; }
.scene-visual { position: relative; min-width: 0; min-height: 600px; }
.scene-window {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--scene-line);
  border-radius: 14px;
  background: var(--scene-surface);
  box-shadow: var(--shadow-card);
}
.scene-window img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 800ms var(--ease-out); }
.scene-window::after {
  content: "打开 ai.benzan.net ↗";
  position: absolute;
  right: 13px;
  bottom: 13px;
  padding: 8px 11px;
  border-radius: 7px;
  background: rgba(15, 15, 15, 0.86);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .scene-window:hover img { transform: scale(1.012); }
  .scene-window:hover::after { opacity: 1; transform: translateY(0); }
}

.scene-reveal { opacity: 0; transform: translateY(14px); }
.scene.is-active .scene-reveal { animation: sceneRise 620ms var(--ease-out) both; }
.scene.is-active .scene-reveal:nth-child(2) { animation-delay: 70ms; }
.scene.is-active .scene-reveal:nth-child(3) { animation-delay: 130ms; }
.scene.is-active .scene-reveal:nth-child(4) { animation-delay: 190ms; }
.scene.is-active .scene-reveal:nth-child(5) { animation-delay: 240ms; }

/* Scene A */
.rail-route { position: absolute; top: 55px; left: 42px; right: 26px; height: 66px; }
.rail-line { position: absolute; top: 18px; left: 20px; right: 20px; height: 1px; background: var(--scene-line); }
.rail-packet {
  position: absolute;
  z-index: 3;
  top: 13px;
  left: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--red);
  box-shadow: 0 0 0 2px var(--red-ring);
}
.scene.is-active .rail-packet { animation: railTravel 4.8s var(--ease-move) 600ms 3 both; }
.rail-nodes { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); }
.rail-node { text-align: center; color: var(--scene-ink-4); font-size: 10px; }
.rail-node i { display: block; width: 13px; height: 13px; margin: 12px auto 11px; border: 3px solid var(--scene-canvas); border-radius: 50%; background: #a2a29d; box-shadow: 0 0 0 1px var(--scene-line); }
.rail-node:first-child { color: var(--scene-ink); font-weight: 720; }
.rail-node:first-child i { background: var(--red); }
.scene--rail .scene-window { top: 139px; left: 12px; width: calc(100% - 20px); height: 430px; }
.route-popover {
  position: absolute;
  z-index: 8;
  left: -26px;
  bottom: 5px;
  width: 254px;
  padding: 15px;
  border: 1px solid var(--scene-line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-dialog);
  transform-origin: 42px 100%;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
}
.scene.is-active .route-popover { animation: popIn 340ms var(--ease-out) 720ms both; }
.popover-head, .asset-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.popover-head strong, .asset-head strong { font-size: 13px; }
.status { padding: 5px 8px; border-radius: 999px; background: var(--red-wash); color: var(--red-text); font-size: 9px; font-weight: 720; }
.route-list { display: grid; gap: 5px; margin-top: 11px; }
.route-item { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; min-height: 38px; padding: 0 9px; border-radius: 8px; background: #fafaf8; font-size: 10px; }
.route-item b { font-size: 11px; }
.route-item span:first-child { color: var(--scene-ink-4); font: 700 8px/1 ui-monospace, Menlo, monospace; }

/* Scene B */
.scene--develop .scene-inner { grid-template-columns: 0.82fr 1.18fr; }
.stage-label { position: absolute; top: 26px; left: 28px; display: flex; align-items: center; gap: 18px; color: var(--scene-ink-4); }
.stage-live { display: inline-flex; align-items: center; gap: 7px; color: var(--red-text); font-size: 10px; font-weight: 720; }
.stage-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.scene.is-active .stage-live i { animation: breathe 1.8s ease-in-out 3; }
.scene--develop .scene-window { top: 72px; left: 28px; width: calc(100% - 34px); height: 438px; box-shadow: 0 25px 80px rgba(0, 0, 0, 0.58); }
.scene--develop .scene-window img { filter: brightness(0.85); }
.scan-line { position: absolute; z-index: 6; left: 28px; top: 98px; width: calc(100% - 34px); height: 1px; background: var(--red); opacity: 0; }
.scene.is-active .scan-line { animation: scanDown 3.6s linear 520ms 3; }
.task-drawer {
  position: absolute;
  z-index: 10;
  top: 142px;
  right: -12px;
  width: 250px;
  padding: 16px;
  border: 1px solid var(--scene-line);
  border-radius: 16px;
  background: rgba(32, 32, 36, 0.97);
  color: #f2f2f4;
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateX(34px) scale(0.97);
  transform-origin: right 72px;
}
.scene.is-active .task-drawer { animation: drawerIn 460ms var(--ease-drawer) 780ms both; }
.task-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--scene-line); }
.task-head strong { font-size: 13px; }
.task-head span { color: var(--scene-ink-4); font: 700 8px/1 ui-monospace, Menlo, monospace; }
.task-row { display: grid; grid-template-columns: 9px 1fr auto; gap: 8px; align-items: start; min-height: 53px; padding: 11px 0; border-bottom: 1px solid var(--scene-line-soft); }
.task-row:last-child { border-bottom: 0; }
.task-row i { width: 6px; height: 6px; margin-top: 5px; border-radius: 50%; background: var(--red); }
.task-row.done i { background: var(--green); }
.task-row b, .task-row span { display: block; font-size: 10px; }
.task-row div span { margin-top: 4px; color: var(--scene-ink-4); }
.task-row > span { padding-top: 2px; color: var(--red-text); }
.film-strip { position: absolute; z-index: 4; left: 70px; right: 100px; bottom: 5px; display: flex; gap: 9px; }
.film-frame { width: 106px; height: 76px; overflow: hidden; border: 1px solid var(--scene-line); border-radius: 10px; opacity: 0.54; background: #141416; }
.film-frame.active { border-color: var(--red); opacity: 1; }
.film-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Scene C */
.workflow-line { position: absolute; top: 36px; left: 18px; width: calc(100% - 36px); height: 112px; overflow: visible; }
.workflow-line path { fill: none; stroke: var(--scene-line); stroke-width: 1; }
.workflow-line .active-path { stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 740; stroke-dashoffset: 740; }
.scene.is-active .workflow-line .active-path { animation: drawPath 4.6s var(--ease-move) 400ms 2 alternate; }
.workflow-nodes { position: absolute; z-index: 3; top: 26px; left: 0; right: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.flow-node { display: grid; justify-items: center; gap: 9px; color: var(--scene-ink-3); font-size: 10px; }
.flow-node i { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--scene-line); border-radius: 50%; background: var(--scene-canvas); color: var(--scene-ink-2); font: 700 9px/1 ui-monospace, Menlo, monospace; }
.flow-node.active { color: var(--scene-ink); font-weight: 720; }
.flow-node.active i { border-color: rgba(224, 42, 30, 0.5); color: var(--red-text); box-shadow: 0 0 0 5px var(--red-ring); }
.scene.is-active .flow-node.active i { animation: ringPulse 2s ease-out 3; }
.scene--alive .scene-window { top: 130px; left: 22px; width: calc(100% - 56px); height: 405px; opacity: 0.82; }
.approval-card {
  position: absolute;
  z-index: 10;
  top: 226px;
  right: -2px;
  width: 236px;
  padding: 17px;
  border: 1px solid var(--scene-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-dialog);
  opacity: 0;
  transform: translateY(13px) scale(0.96);
}
.scene.is-active .approval-card { animation: dialogIn 410ms var(--ease-out) 850ms both; }
.approval-card h3 { margin: 13px 0 0; font-size: 14px; }
.approval-card p { margin: 9px 0 0; color: var(--scene-ink-3); font-size: 11px; line-height: 1.65; }
.approval-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.approval-actions span { display: grid; min-height: 32px; place-items: center; border: 1px solid var(--scene-line); border-radius: 16px; background: #fff; font-size: 10px; font-weight: 720; transition: transform 140ms var(--ease-out); }
.approval-actions .approve { border-color: var(--red); background: var(--red); color: #fff; }
.approval-actions button:active { transform: scale(0.97); }
.asset-popover {
  position: absolute;
  z-index: 8;
  left: -20px;
  bottom: 7px;
  width: 247px;
  padding: 14px;
  border: 1px solid var(--scene-line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(9px) scale(0.97);
  transform-origin: 48px 100%;
}
.scene.is-active .asset-popover { animation: popIn 340ms var(--ease-out) 1040ms both; }
.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 11px; }
.asset-grid div { height: 45px; overflow: hidden; border: 1px solid var(--scene-line-soft); border-radius: 7px; }
.asset-grid img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.carousel-controls {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: 22px;
  width: min(1190px, calc(100% - 72px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  align-items: stretch;
  border-top: 1px solid var(--scene-line, rgba(0, 0, 0, 0.12));
  color: var(--ink);
  transition: color 500ms var(--ease-out), border-color 500ms var(--ease-out);
}
html[data-theme="develop"] .carousel-controls { --ink: #f2f2f4; --ink-3: #a1a1a6; --line: rgba(255, 255, 255, 0.1); }
.carousel-button {
  position: relative;
  min-height: 62px;
  padding: 17px 20px 11px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink-3);
  text-align: left;
  transition: color 180ms ease, transform 140ms var(--ease-out);
}
.carousel-button b { display: block; font-size: 12px; }
.carousel-button span { display: block; margin-top: 5px; font-size: 9px; }
.carousel-button[aria-selected="true"] { color: var(--ink); }
.control-progress { position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--red); }
.icon-button {
  width: 62px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  transition: transform 140ms var(--ease-out), background 180ms ease;
}
@media (hover: hover) and (pointer: fine) { .icon-button:hover { background: rgba(127, 127, 127, 0.08); } }

/* Shared full-home content */
.proof-strip {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.proof-strip > div { min-height: 122px; padding: 28px 22px; border-right: 1px solid var(--line); }
.proof-strip > div:last-child { border-right: 0; }
.proof-strip strong { display: block; margin-top: 11px; font-size: 15px; }
.proof-strip b { display: block; margin-top: 15px; font-size: 13px; }
.proof-strip span:not(.micro) { display: block; margin-top: 7px; color: var(--ink-4); font-size: 10px; line-height: 1.5; }

.chapter { padding: 132px 0; }
.chapter-inner { width: min(1240px, calc(100% - 72px)); margin: 0 auto; }
.chapter-head { display: grid; grid-template-columns: 0.84fr 1.16fr; gap: 70px; align-items: end; }
.chapter-kicker { display: flex; gap: 10px; align-items: center; color: var(--ink-4); }
.chapter-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.chapter h2 { max-width: 670px; margin: 22px 0 0; font-size: clamp(42px, 4.4vw, 66px); line-height: 1.06; letter-spacing: -0.047em; }
.chapter h2 em { color: var(--red); font-style: normal; }
.chapter-intro { max-width: 515px; color: var(--ink-3); font-size: 15px; line-height: 1.85; }
.chapter-intro .primary { margin-top: 22px; }
.chapter-showcase { position: relative; min-height: 590px; margin-top: 72px; }

.chapter--rail { background: #f7f6f3; }
.production-rail { position: absolute; top: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.production-step { min-height: 93px; padding: 22px; border-right: 1px solid var(--line); }
.production-step:last-child { border-right: 0; }
.production-step small { color: var(--ink-4); font: 700 9px/1 ui-monospace, Menlo, monospace; }
.production-step b { display: block; margin-top: 13px; font-size: 13px; }
.chapter-window {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.chapter-window img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.chapter--rail .chapter-window { top: 122px; left: 4%; width: 72%; height: 430px; }
.output-stack { position: absolute; z-index: 3; right: 0; top: 164px; width: 280px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.output-stack h3 { margin: 0; font-size: 14px; }
.output-row { display: grid; grid-template-columns: 33px 1fr auto; align-items: center; gap: 10px; min-height: 54px; border-bottom: 1px solid var(--line-soft); font-size: 10px; }
.output-row:last-child { border-bottom: 0; }
.output-row i { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; background: #f3f2ef; color: var(--red-text); font-style: normal; font-size: 9px; font-weight: 720; }
.output-row b { display: block; font-size: 11px; }
.output-row span { color: var(--ink-4); }

.chapter--develop { --ink: #f2f2f4; --ink-2: #cfcfd4; --ink-3: #a1a1a6; --ink-4: #8d8d94; --line: rgba(255, 255, 255, 0.1); --line-soft: rgba(255, 255, 255, 0.07); --red: #f0392e; --red-text: #ff6b61; background: #0b0b0c; color: var(--ink); }
.chapter--develop .chapter-showcase { min-height: 640px; border-top: 1px solid var(--line); }
.dark-stage-window { position: absolute; top: 48px; left: 0; width: 78%; height: 520px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #111113; box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58); }
.dark-stage-window img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: brightness(0.9); }
.chapter-scan { position: absolute; z-index: 2; left: 0; top: 88px; width: 78%; height: 1px; background: var(--red); opacity: 0.72; }
.is-visible .chapter-scan { animation: chapterScan 4.2s linear 3; }
.task-board { position: absolute; z-index: 4; right: 0; top: 94px; width: 330px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #202024; box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55); }
.task-board h3 { margin: 0 0 12px; font-size: 15px; }
.task-board .task-row { min-height: 64px; }
.film-caption { position: absolute; left: 24px; bottom: 16px; color: var(--ink-4); font: 700 9px/1 ui-monospace, Menlo, monospace; letter-spacing: 0.12em; text-transform: uppercase; }

.chapter--alive { background: #fbfaf8; }
.business-flow { display: grid; grid-template-columns: repeat(4, 1fr); position: absolute; top: 0; left: 0; right: 0; border-top: 1px solid var(--line); }
.business-node { position: relative; min-height: 100px; padding: 23px; border-right: 1px solid var(--line); }
.business-node:last-child { border-right: 0; }
.business-node small { color: var(--ink-4); font: 700 9px/1 ui-monospace, Menlo, monospace; }
.business-node b { display: block; margin-top: 14px; font-size: 13px; }
.business-node::after { content: ""; position: absolute; top: -4px; left: 22px; width: 7px; height: 7px; border-radius: 50%; background: #9a9a95; }
.business-node:first-child::after { background: var(--red); box-shadow: 0 0 0 5px var(--red-ring); }
.chapter--alive .chapter-window { top: 136px; left: 5%; width: 75%; height: 410px; opacity: 0.86; }
.governance-card { position: absolute; z-index: 3; right: 0; top: 178px; width: 286px; padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); }
.governance-card h3 { margin: 12px 0 0; font-size: 15px; }
.governance-card p { margin: 9px 0 0; color: var(--ink-3); font-size: 11px; line-height: 1.7; }
.control-list { display: grid; gap: 7px; margin-top: 14px; }
.control-list div { display: flex; align-items: center; justify-content: space-between; min-height: 36px; padding: 0 10px; border-radius: 8px; background: #f7f6f3; font-size: 10px; }
.control-list i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.capability-section { padding: 124px 0; background: #f3f2ef; }
.capability-inner { width: min(1240px, calc(100% - 72px)); margin: 0 auto; }
.capability-title { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.capability-title h2 { max-width: 720px; margin: 0; font-size: clamp(40px, 4vw, 60px); line-height: 1.08; letter-spacing: -0.045em; }
.capability-title p { max-width: 390px; margin: 0; color: var(--ink-3); font-size: 14px; line-height: 1.75; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-card { min-height: 250px; padding: 25px 22px; border-right: 1px solid var(--line); }
.capability-card:last-child { border-right: 0; }
.capability-card small { color: var(--ink-4); font: 700 9px/1 ui-monospace, Menlo, monospace; }
.capability-card h3 { margin: 50px 0 0; font-size: 18px; }
.capability-card p { margin: 12px 0 0; color: var(--ink-3); font-size: 12px; line-height: 1.7; }
.capability-card a { display: inline-flex; margin-top: 25px; color: var(--red-text); font-size: 11px; font-weight: 720; }

.final-cta { position: relative; padding: 132px 0 116px; overflow: hidden; background: #151515; color: #f5f5f5; }
.final-cta::before { content: ""; position: absolute; top: 0; bottom: 0; left: 18%; width: 1px; background: rgba(255, 255, 255, 0.08); box-shadow: 320px 0 rgba(255, 255, 255, 0.06), 640px 0 rgba(255, 255, 255, 0.06), 960px 0 rgba(255, 255, 255, 0.06); }
.final-inner { position: relative; z-index: 2; width: min(1240px, calc(100% - 72px)); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 0.6fr; align-items: end; gap: 80px; }
.final-cta h2 { max-width: 850px; margin: 18px 0 0; font-size: clamp(48px, 5.5vw, 78px); line-height: 1.04; letter-spacing: -0.052em; }
.final-cta h2 em { color: #ff453a; font-style: normal; }
.final-side p { margin: 0 0 22px; color: #a5a5aa; font-size: 13px; line-height: 1.75; }
.site-footer { display: flex; justify-content: space-between; align-items: center; width: min(1240px, calc(100% - 72px)); margin: 80px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #8d8d94; font-size: 10px; }
.icp-record { color: inherit; }
.icp-record:hover { color: #d0d0d4; }
.footer-links { display: flex; gap: 24px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes sceneRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes titleRailIn { from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-12px); filter: blur(1.5px); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: translateX(0); filter: blur(0); } }
@keyframes titleRailSignal { 0% { opacity: 0; transform: scaleX(0); } 14% { opacity: 0.82; } 72% { opacity: 0.68; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes titlePunctuationIn { from { opacity: 0; transform: translateX(-3px); } to { opacity: 1; transform: translateX(0); } }
@keyframes titleDevelopIn { 0% { opacity: 0.12; transform: translateY(5px); filter: blur(4.5px) brightness(0.58); } 40% { opacity: 0.68; filter: blur(1.8px) brightness(0.78); } 72% { opacity: 0.92; filter: blur(0.45px) brightness(0.95); } 100% { opacity: 1; transform: translateY(0); filter: blur(0) brightness(1); } }
@keyframes titleDevelopScan { 0% { opacity: 0; transform: translateY(0); } 8%, 82% { opacity: 0.75; } 100% { opacity: 0; transform: translateY(3.08em); } }
@keyframes titleAliveIn { 0% { opacity: 0; transform: translateY(17px) scale(0.985); } 72% { opacity: 1; transform: translateY(-1px) scale(1); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes titleAliveRing { 0% { opacity: 0; transform: scale(0.9); } 25% { opacity: 0.72; } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes drawerIn { from { opacity: 0; transform: translateX(34px) scale(0.97); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(13px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes railTravel { 0% { transform: translateX(0); } 33% { transform: translateX(170px); } 66% { transform: translateX(350px); } 100% { transform: translateX(520px); } }
@keyframes scanDown { 0% { opacity: 0; transform: translateY(0); } 8%, 82% { opacity: 0.75; } 100% { opacity: 0; transform: translateY(386px); } }
@keyframes chapterScan { 0% { opacity: 0; transform: translateY(0); } 8%, 84% { opacity: 0.72; } 100% { opacity: 0; transform: translateY(470px); } }
@keyframes drawPath { to { stroke-dashoffset: 0; } }
@keyframes breathe { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes ringPulse { 0% { box-shadow: 0 0 0 0 var(--red-ring); } 100% { box-shadow: 0 0 0 12px rgba(224, 42, 30, 0); } }

@media (max-width: 1080px) {
  .site-header { width: calc(100% - 40px); grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .scene-inner { width: calc(100% - 40px); grid-template-columns: 0.92fr 1.08fr; gap: 24px; }
  .scene h1 { font-size: 54px; }
  .task-drawer { right: -4px; transform: scale(0.88); transform-origin: right center; }
  .proof-strip, .chapter-inner, .capability-inner, .final-inner, .site-footer { width: calc(100% - 40px); }
  .chapter--rail .chapter-window, .dark-stage-window, .chapter--alive .chapter-window { width: 76%; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-card:nth-child(2) { border-right: 0; }
  .capability-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-height: 820px) and (min-width: 761px) {
  .site-header { min-height: 70px; }
  .scene-inner { min-height: 0; height: 100%; padding-top: 88px; padding-bottom: 78px; }
  .scene h1 { font-size: clamp(50px, 4.6vw, 62px); }
  .scene-lead { margin-top: 18px; font-size: 13px; line-height: 1.7; }
  .scene-actions { margin-top: 20px; }
  .scene-note { margin-top: 11px; }
  .scene-visual { min-height: 480px; }
  .rail-route { top: 22px; }
  .scene--rail .scene-window { top: 102px; height: 340px; }
  .route-popover { bottom: 0; transform: scale(0.9); transform-origin: left bottom; }
  .stage-label { top: 10px; }
  .scene--develop .scene-window { top: 50px; height: 350px; }
  .scan-line { top: 72px; }
  .task-drawer { top: 112px; transform: scale(0.88); transform-origin: right center; }
  .film-strip { bottom: 0; transform: scale(0.84); transform-origin: left bottom; }
  .workflow-line { top: 8px; }
  .workflow-nodes { top: 4px; }
  .scene--alive .scene-window { top: 92px; height: 330px; }
  .approval-card { top: 158px; transform: scale(0.86); transform-origin: right center; }
  .asset-popover { bottom: 0; transform: scale(0.88); transform-origin: left bottom; }
  .carousel-controls { bottom: 8px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; }
  .brand-note, .brand-divider, .domain-label { display: none; }
  .header-cta { min-height: 38px; padding: 0 13px; font-size: 12px; }
  .hero-carousel { min-height: 1130px; }
  .scene-inner { min-height: 980px; padding-top: 105px; grid-template-columns: 1fr; align-content: start; }
  .scene-copy { padding: 0; }
  .scene h1 { font-size: 44px; }
  .scene-lead { font-size: 13px; }
  .scene-visual { min-height: 455px; margin-top: 72px; }
  .scene--develop .scene-inner { grid-template-columns: 1fr; }
  .scene-window { height: 300px !important; }
  .scene--rail .scene-window { top: 108px; }
  .scene--develop .scene-window { top: 58px; left: 0; width: 100%; }
  .scene--alive .scene-window { top: 112px; left: 0; width: 94%; }
  .rail-route { top: 25px; left: 0; right: 0; }
  .route-popover { left: 8px; bottom: 0; transform: scale(0.84); transform-origin: left bottom; }
  .task-drawer { top: 145px; right: -2px; transform: scale(0.76); transform-origin: right center; }
  .film-strip { display: none; }
  .approval-card { top: 170px; right: -4px; transform: scale(0.78); transform-origin: right center; }
  .asset-popover { display: none; }
  .carousel-controls { width: calc(100% - 28px); top: 486px; bottom: auto; grid-template-columns: repeat(3, 1fr) 46px; }
  .carousel-button { min-height: 55px; padding: 14px 8px 8px; }
  .carousel-button b { font-size: 10px; }
  .carousel-button span { display: none; }
  .icon-button { width: 46px; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip > div:first-child { grid-column: 1 / -1; }
  .proof-strip > div { border-bottom: 1px solid var(--line); }
  .chapter { padding: 90px 0; }
  .chapter-head { grid-template-columns: 1fr; gap: 28px; }
  .chapter h2 { font-size: 43px; }
  .chapter-showcase { min-height: 660px; margin-top: 48px; }
  .production-rail, .business-flow { grid-template-columns: 1fr 1fr; }
  .production-step, .business-node { min-height: 82px; border-bottom: 1px solid var(--line); }
  .chapter--rail .chapter-window, .dark-stage-window, .chapter--alive .chapter-window { top: 210px; left: 0; width: 100%; height: 330px; }
  .output-stack, .task-board, .governance-card { top: 440px; right: 8px; width: calc(100% - 36px); transform: scale(0.88); transform-origin: right top; }
  .chapter-scan { top: 230px; width: 100%; }
  .capability-title, .final-inner { display: grid; grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-card:nth-child(3) { border-bottom: 1px solid var(--line); }
  .final-cta { padding-top: 96px; }
  .final-cta h2 { font-size: 47px; }
  .site-footer { align-items: flex-start; gap: 24px; flex-wrap: wrap; }
  .footer-links { display: grid; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .scene { filter: none; transform: none; }
  .reveal { opacity: 1; transform: none; }
  html[data-title-fx="v2"] .fx-text { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: inset(0) !important; animation: none !important; }
  html[data-title-fx="v2"] .scene--rail .fx-title em { opacity: 1 !important; animation: none !important; }
  html[data-title-fx="v2"] .fx-signal,
  html[data-title-fx="v2"] .fx-title::after,
  html[data-title-fx="v2"] .fx-title em::after { display: none !important; animation: none !important; }
}
