/* Bosi 首页首屏。局部样式，不影响后续章节。 */
@font-face {
  font-family: 'Bosi Wide';
  src:
    local('GT Flexa Extended Regular'),
    local('GTFlexa-ExtendedRegular'),
    url('fonts/archivo/Archivo-Expanded-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-stretch: expanded;
  font-display: swap;
}
.bosi-opening {
  --bosi-enter: 280ms;
  --bosi-plot: 360ms;
  --bosi-feedback: 180ms;
  --bosi-step: 40ms;
  --bosi-beat: 180ms;
  --bosi-lift: 8px;
  --bosi-ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}
@keyframes bosi-arrive {
  from {
    opacity: 0;
    transform: translateY(var(--bosi-lift));
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.bosi-stage .tiny-footer {
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 0;
}
.bosi-stage .tiny-footer #view {
  margin-inline-start: auto;
}
/* A traveling highlight reads each fixed-length bar without changing its data. */
@keyframes bosi-read-bar {
  0% {
    transform: translateX(-101%);
  }
  25%,
  100% {
    transform: translateX(401%);
  }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .bosi-stage .bars {
    --read-beat: 1.2s;
    --read-cycle: calc(4 * var(--read-beat));
  }
  .bosi-stage .bars li:nth-child(2) {
    --read-index: 1;
  }
  .bosi-stage .bars li:nth-child(3) {
    --read-index: 2;
  }
  .bosi-stage .bars li:nth-child(4) {
    --read-index: 3;
  }
  .bosi-stage .bars .track {
    height: 6px;
  }
  .bosi-stage .bars .track i {
    position: relative;
    overflow: hidden;
  }
  .bosi-stage .bars .track i::after {
    content: '';
    display: block;
    height: 100%;
    width: 25%;
    border-radius: inherit;
    background: var(--signal);
    animation: bosi-read-bar var(--read-cycle) linear infinite backwards;
    animation-delay: calc(var(--read-index, 0) * var(--read-beat));
  }
}
@keyframes bosi-plot-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .bosi-opening .title > span {
    animation: bosi-arrive var(--bosi-enter) var(--bosi-ease) backwards;
  }
  .bosi-opening .title > span + span {
    animation-delay: var(--bosi-step);
  }
  .bosi-stage.is-presenting :is(.question, .answer, .report) {
    animation: bosi-arrive var(--bosi-enter) var(--bosi-ease) backwards;
  }
  .bosi-stage.is-presenting .answer {
    animation-delay: var(--bosi-beat);
  }
  .bosi-stage.is-presenting .report {
    animation-delay: calc(2 * var(--bosi-beat));
  }
  .bosi-stage.is-presenting .bars .track i {
    transform-origin: left center;
    animation: bosi-plot-in var(--bosi-plot) var(--bosi-ease) backwards;
    animation-delay: calc(2 * var(--bosi-beat) + var(--bosi-enter) / 2 + var(--bar-lag, 0ms));
  }
  .bosi-stage .bars li:nth-child(2) {
    --bar-lag: var(--bosi-step);
  }
  .bosi-stage .bars li:nth-child(3) {
    --bar-lag: calc(2 * var(--bosi-step));
  }
  .bosi-stage .bars li:nth-child(4) {
    --bar-lag: calc(3 * var(--bosi-step));
  }
  .bosi-opening .cta .od-icon {
    transition: transform var(--bosi-feedback) var(--bosi-ease);
  }
  .bosi-opening .cta > a:focus-visible .od-icon {
    transform: translateY(2px);
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .bosi-opening .cta > a:hover .od-icon {
    transform: translateY(2px);
  }
}

.bosi-header,
.bosi-opening {
  --signal: #cfed98;
  --hero-muted: #acb1ac;
  --hair: #313632;
  --sheet: #eaf0e3;
  --graph-ink: #243328;
  --hero-width: 1328px;
  --hero-edge: clamp(20px, 5vw, 80px);
  --hero-gap: clamp(28px, 4vw, 72px);
  --type-label: 12px;
  --type-body: clamp(16px, 1.25vw, 20px);
}
.bosi-header {
  position: relative;
  z-index: 6;
  min-height: 76px;
  width: min(var(--hero-width), calc(100% - 2 * var(--hero-edge)));
  border-bottom: 1px solid var(--hair);
}
.bosi-header .wordmark {
  gap: 8px;
}
.bosi-header .bosi-tag {
  margin-left: 2px;
  background: none;
  color: var(--hero-muted);
  border-left: 1px solid var(--hair);
  border-radius: 0;
  padding-left: 12px;
  letter-spacing: 0.16em;
}
.bosi-header .header-shortcuts {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  margin-right: 24px;
  font-size: 14px;
}
.header-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.bosi-header .languages {
  background: none;
}
.bosi-header .menu-btn {
  border: 0;
  background: none;
}
.bosi-header .actions {
  gap: 8px;
}
.bosi-opening {
  width: min(var(--hero-width), calc(100% - 2 * var(--hero-edge)));
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.91fr) minmax(0, 1.09fr);
  align-items: center;
  gap: var(--hero-gap);
  padding-block: clamp(48px, 7vw, 112px);
  min-height: clamp(600px, calc(94svh - 76px), 860px);
  color: var(--ink);
}
.bosi-opening .hero-copy {
  padding: 0;
  width: 100%;
  margin: 0;
  text-align: left;
}
.bosi-opening .eyebrow {
  justify-content: flex-start;
  gap: 12px;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.055em;
}
.bosi-opening .eyebrow::before {
  content: '';
  display: block;
  background: var(--signal);
  width: 24px;
  height: 2px;
}
.bosi-opening .eyebrow strong {
  font: 650 14px/1.4 var(--display);
  color: var(--ink);
  letter-spacing: 0.025em;
}
.bosi-opening .eyebrow i {
  font-style: normal;
  color: var(--hero-muted);
}
.bosi-opening .title {
  --headline-cjk: 'PingFang SC', 'Source Han Sans SC', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif;
  --headline-latin: Georgia, 'Times New Roman', serif;
  font-family: var(--headline-cjk);
  font-size: clamp(56px, 5.5vw, 88px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-top: 24px;
}
.bosi-opening .title span {
  display: block;
  white-space: nowrap;
}
.bosi-opening .title em {
  font-family: var(--headline-latin);
  font-size: 1.04em;
  line-height: 1;
  font-style: italic;
  font-weight: 500;
  font-stretch: normal;
  font-kerning: normal;
  letter-spacing: -0.035em;
  color: var(--signal);
}
.bosi-opening .intro {
  margin: 24px 0 0;
  max-width: 24em;
  color: var(--hero-muted);
  font-size: var(--type-body);
  line-height: 1.74;
  text-wrap: pretty;
}
.bosi-opening .cta {
  margin: 32px 0 0;
  background: var(--signal);
  color: #141a13;
  border-radius: 8px;
}
.bosi-opening .cta > a {
  height: 50px;
  padding-inline: 20px 16px;
  border-radius: 8px 0 0 8px;
}
.bosi-opening .split {
  min-height: 50px;
  border-radius: 0 8px 8px 0;
}
.bosi-opening .split::before {
  background: #7f9865;
  top: 16px;
}
.bosi-opening .drop {
  right: auto;
  left: 0;
}
.bosi-opening .platform-note {
  font: 500 12px/1.5 var(--mono);
  color: var(--hero-muted);
  margin-top: 12px;
  letter-spacing: 0.04em;
}
.bosi-opening .platform-note b {
  font-weight: 400;
  padding-inline: 6px;
}
.bosi-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--hair);
  border-radius: 3px;
  background: #101310;
  background-image: radial-gradient(#333932 0.8px, transparent 0.8px);
  background-size: 12px 12px;
}
.bosi-stage::before,
.bosi-stage::after {
  position: absolute;
  content: '';
  width: 10px;
  height: 10px;
  border-color: #98a78b;
  border-style: solid;
  pointer-events: none;
}
.bosi-stage::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}
.bosi-stage::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}
.stage-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #bdc8bb;
  font: 500 10px/1.5 var(--mono);
  letter-spacing: 0.13em;
  margin-bottom: 16px;
}
.stage-legend .legend-start {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-start::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--signal);
}
.bosi-stage .workspace {
  width: 100%;
  max-width: none;
  margin: 0;
  display: block;
  background: #181b19;
  border: 1px solid #434943;
  border-radius: 9px;
  overflow: clip;
}
.bosi-stage .sidebar {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid #373d37;
  background: #252a25;
}
.bosi-stage .lights {
  order: 2;
}
.bosi-stage .brand-row {
  font-size: 14px;
}
.bosi-stage .brand-row .mark {
  width: 19px;
}
.bosi-stage .side-group {
  display: none;
}
.bosi-stage .window-head {
  min-height: 44px;
  border: 0;
  padding: 12px 20px 0;
  color: #e5e9e4;
  font-weight: 550;
}
.bosi-stage .conversation {
  padding: 16px 20px 20px;
}
.bosi-stage .question {
  background: #2c332c;
  color: #edf2e9;
}
.bosi-stage .avatar {
  background: #303830;
}
.bosi-stage .answer p {
  color: #d4d9d2;
}
.bosi-stage .report {
  background: var(--sheet);
  color: var(--graph-ink);
  border: 0;
  border-radius: 5px;
  padding: 16px 20px 20px;
}
.bosi-stage .report-title {
  padding-bottom: 8px;
  border-bottom: 1px solid #bac7b5;
}
.bosi-stage .report-title h3 {
  font-size: 15px;
  letter-spacing: 0.015em;
}
.bosi-stage .report-title span,
.bosi-stage .caption {
  color: #465846;
}
.bosi-stage .report-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.bosi-stage .num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(44px, 4.8vw, 76px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.075em;
}
.bosi-stage .num small {
  font-family: var(--display);
  letter-spacing: -0.04em;
}
.bosi-stage .kpi-line {
  color: #35543d;
  font-weight: 550;
}
.bosi-stage .bars li,
.bosi-stage .bars strong {
  color: #344539;
}
.bosi-stage .track {
  background: #cad5c4;
}
.bosi-stage .track i {
  background: #738a6b;
}
.bosi-stage .bars li:first-child .track i {
  background: #354d36;
}
.bosi-stage .tiny-footer {
  border-color: #353c35;
  color: var(--hero-muted);
}
.bosi-stage .detail-btn {
  color: var(--signal);
}
.stage-caption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #bec8b9;
}
.bosi-opening :is(a, summary, button):focus-visible {
  outline-color: var(--signal);
}
@media (hover: hover) {
  .bosi-header .header-shortcuts a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .bosi-opening .cta > a:hover,
  .bosi-opening .split:hover {
    background: #e0f8b5;
  }
  .bosi-stage .detail-btn:hover {
    color: #e5ffc0;
  }
}
@media (min-width: 1440px) {
  .bosi-stage {
    padding: 24px;
  }
  .bosi-stage .conversation {
    padding: 20px 24px 24px;
    gap: 20px;
  }
}
@media (max-width: 1024px) {
  .bosi-opening {
    grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
    gap: 24px;
  }
  .bosi-opening .title {
    font-size: clamp(44px, 5.5vw, 56px);
  }
  .bosi-stage {
    padding: 12px;
  }
  .bosi-stage .conversation {
    padding: 12px;
  }
  .bosi-stage .report {
    padding: 12px;
  }
  .bosi-opening .eyebrow {
    gap: 8px;
  }
}
@media (max-width: 800px) {
  .bosi-header {
    min-height: 64px;
  }
  .bosi-header .header-shortcuts {
    display: none;
  }
  .bosi-opening {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 48px;
  }
  .bosi-opening .title {
    font-size: clamp(52px, 8vw, 68px);
  }
  .bosi-opening .intro {
    max-width: 30em;
    margin-top: 16px;
  }
  .bosi-opening .cta {
    margin-top: 24px;
  }
  .bosi-stage {
    padding: 16px;
  }
  .bosi-stage .report-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bosi-stage .num {
    font-size: 48px;
  }
  .bosi-stage .conversation {
    padding: 16px;
  }
  .bosi-stage .report {
    padding: 16px;
  }
}
@media (max-width: 480px) {
  .bosi-header,
  .bosi-opening {
    --hero-edge: 16px;
  }
  .bosi-header .wordmark {
    gap: 4px;
  }
  .bosi-header .bosi-tag {
    padding-left: 8px;
  }
  .bosi-opening {
    padding-block: 36px;
    gap: 32px;
  }
  .bosi-opening .title {
    margin-top: 16px;
    font-size: clamp(44px, 13.6vw, 60px);
  }
  .bosi-opening .platform-note {
    font-size: 11px;
  }
  .bosi-stage .report-grid {
    grid-template-columns: 1fr;
  }
  .bosi-stage .report {
    padding: 12px;
  }
  .bosi-stage .conversation {
    padding: 12px;
  }
  .bosi-stage .window-head {
    padding-inline: 12px;
  }
  .bosi-stage .sidebar {
    padding: 8px 12px;
  }
  .bosi-stage .num {
    font-size: 48px;
  }
  .bosi-stage {
    padding: 12px;
  }
  .stage-legend {
    margin-bottom: 8px;
  }
  .bosi-opening .drop {
    left: auto;
    right: 0;
  }
  .bosi-stage .answer p {
    font-size: 14px;
  }
}
