:root {
  --ink: #0c203c;
  --ink-2: #243b5a;
  --muted: #64758d;
  --blue: #0878f9;
  --blue-2: #0f64df;
  --sky: #eaf6ff;
  --sky-2: #f5fbff;
  --cyan: #13bfcf;
  --green: #0fa879;
  --amber: #e99b18;
  --red: #ed5e59;
  --violet: #7067e8;
  --line: #d9e8f5;
  --line-strong: #bfd8ec;
  --surface: #ffffff;
  --page: #f7fbfe;
  --shadow: 0 20px 54px rgba(30, 88, 140, 0.1);
  --shadow-soft: 0 10px 30px rgba(30, 88, 140, 0.07);
  --page-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  letter-spacing: 0;
}

button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(8, 120, 249, 0.22);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr minmax(230px, 300px) auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 10px max(24px, calc((100vw - var(--page-width)) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-elevated {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(36, 75, 114, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #a8d5f5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--sky);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 800;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.nav a {
  position: relative;
  padding: 10px 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 650;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-search {
  position: relative;
}

.site-search input,
.academy-tools input,
.academy-tools select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.site-search input {
  padding: 0 14px 0 38px;
  background-image: radial-gradient(circle at 18px 18px, transparent 5px, #7690a8 5.5px, #7690a8 6.5px, transparent 7px);
  background-repeat: no-repeat;
}

.site-search input:focus,
.academy-tools input:focus,
.academy-tools select:focus {
  border-color: #74b8f4;
  box-shadow: 0 0 0 4px rgba(8, 120, 249, 0.09);
}

.site-search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  display: none;
  max-height: 360px;
  overflow: auto;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.site-search-results.is-visible {
  display: grid;
  gap: 4px;
}

.site-search-results button {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 5px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.site-search-results button:hover {
  background: var(--sky-2);
}

.site-search-results small {
  color: var(--muted);
}

.site-search-results p {
  margin: 0;
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-action,
.primary-button {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(8, 120, 249, 0.18);
}

.secondary-button {
  border-color: #9fcdf3;
  color: var(--blue-2);
  background: #fff;
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.header-action:hover,
.primary-button:hover {
  background: var(--blue-2);
  box-shadow: 0 13px 28px rgba(8, 120, 249, 0.24);
}

.secondary-button:hover {
  background: var(--sky-2);
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f8fcff;
}

.hero-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-sky::before,
.hero-sky::after {
  position: absolute;
  content: "";
}

.hero-sky::before {
  inset: 0;
  border-top: 1px solid rgba(8, 120, 249, 0.08);
  border-bottom: 1px solid rgba(8, 120, 249, 0.08);
  opacity: 0.4;
}

.hero-sky::after {
  top: 180px;
  right: -10vw;
  left: -10vw;
  height: 260px;
  border-top: 1px solid rgba(8, 120, 249, 0.12);
  border-bottom: 1px solid rgba(8, 120, 249, 0.12);
  background: rgba(223, 243, 255, 0.45);
  transform: rotate(-3deg);
}

.sky-line {
  position: absolute;
  z-index: 1;
  display: block;
  width: 260px;
  border-top: 2px dashed rgba(8, 120, 249, 0.25);
  animation: skyDrift 9s ease-in-out infinite alternate;
}

.sky-line-a {
  top: 170px;
  right: 12%;
}

.sky-line-b {
  top: 540px;
  left: 9%;
  width: 340px;
  animation-delay: -3s;
}

.sky-dot {
  position: absolute;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(19, 191, 207, 0.12);
  animation: statusPulse 2.4s ease-in-out infinite;
}

.sky-dot-a {
  top: 166px;
  right: 11.5%;
}

.sky-dot-b {
  top: 536px;
  left: 8.7%;
  animation-delay: -1.2s;
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 58px;
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 54px;
}

.hero-content {
  align-self: end;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow span {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--cyan);
}

.hero h1 {
  margin: 0;
  color: #071a32;
  font-size: clamp(64px, 7.2vw, 110px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-claim {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--ink-2);
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.5;
  font-weight: 520;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.live-stat-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(168px, 1fr));
  gap: 12px;
  align-self: end;
}

.live-stat {
  min-width: 180px;
  padding: 18px 20px;
  border-top: 3px solid var(--blue);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.live-stat:nth-child(2) {
  border-top-color: var(--cyan);
}

.live-stat-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.live-stat-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 168, 121, 0.12);
}

.live-stat strong {
  display: block;
  min-width: 7ch;
  margin-top: 6px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 850;
  transition: color 180ms ease, transform 180ms ease;
}

.live-stat strong.is-ticking {
  color: var(--blue);
  transform: translateY(-2px);
}

.live-stat small {
  color: var(--green);
  font-size: 12px;
}

.operations-board {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  overflow: hidden;
  min-height: 290px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.operations-head {
  grid-column: 1 / -1;
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
}

.operations-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.operations-head strong {
  font-size: 14px;
}

.operations-head span,
.operations-head small {
  color: var(--muted);
  font-size: 12px;
}

.operations-head small {
  padding: 4px 9px;
  border: 1px solid #aee3d1;
  border-radius: 4px;
  color: var(--green);
  background: #f0fcf8;
  font-weight: 750;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(15, 168, 121, 0.1);
  animation: statusPulse 2.2s ease-in-out infinite;
}

.operation-stream {
  display: grid;
  align-content: center;
  padding: 4px 22px;
}

.operation-row {
  display: grid;
  grid-template-columns: 68px 36px 112px minmax(220px, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 45px;
  border-bottom: 1px solid #e9f1f7;
  font-size: 13px;
}

.operation-row:last-child {
  border-bottom: 0;
}

.operation-row time {
  color: #8b9bae;
  font-variant-numeric: tabular-nums;
}

.operation-row > span {
  color: var(--muted);
}

.operation-row em {
  justify-self: end;
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--green);
  background: #eefaf6;
  font-style: normal;
  font-size: 11px;
  font-weight: 750;
}

.operation-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
}

.operation-icon.blue { background: var(--blue); }
.operation-icon.green { background: var(--green); }
.operation-icon.amber { background: var(--amber); }
.operation-icon.cyan { background: var(--cyan); }
.operation-icon.violet { background: var(--violet); }

.operation-side {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 18px;
  border-left: 1px solid var(--line);
  background: var(--sky-2);
}

.side-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
}

.operation-side > div:not(.event-feed) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.operation-side > div strong {
  color: var(--green);
  font-size: 12px;
}

.operation-side .event-feed {
  display: none;
}

.event-feed {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.event-feed p {
  margin: 0;
  padding: 7px 9px 7px 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink-2);
  background: #fff;
  font-size: 11px;
  line-height: 1.4;
}

.event-feed p::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 2px -12px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.event-feed .is-new {
  animation: feedIn 420ms ease both;
}

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

.hero.hero-carousel {
  min-height: 0;
  overflow: visible;
  padding: 22px 0 30px;
  background: #fff;
}

.carousel-shell {
  position: relative;
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
}

.carousel-viewport {
  position: relative;
  aspect-ratio: 1586 / 897;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.carousel-slide img {
  position: absolute;
  top: -10.59%;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #b8d8ef;
  border-radius: 6px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease;
  cursor: pointer;
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

.carousel-shell:hover .carousel-arrow,
.carousel-shell:focus-within .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background: var(--sky-2);
}

.carousel-controls {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.carousel-controls button {
  width: 26px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #c9dceb;
  pointer-events: auto;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-controls button.is-active {
  width: 46px;
  background: var(--blue);
}

.carousel-progress {
  position: absolute;
  right: 1px;
  bottom: 1px;
  left: 1px;
  z-index: 3;
  height: 2px;
  overflow: hidden;
}

.carousel-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}

.carousel-shell.is-playing .carousel-progress span {
  animation: carouselProgress 7s linear both;
}

.hero-stat-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px 210px;
  gap: 12px;
  width: min(var(--page-width), calc(100% - 48px));
  margin: 16px auto 0;
}

.hero-stat-copy {
  display: grid;
  align-content: center;
  min-height: 96px;
  padding: 18px 22px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.hero-stat-copy span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.hero-stat-copy span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 168, 121, 0.12);
}

.hero-stat-copy strong {
  margin-top: 5px;
  font-size: 20px;
}

.ticker-band {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: tickerMove 42s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  padding: 0 28px;
  border-right: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.section {
  padding: 104px 0;
}

.section-inner {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 46px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.section-heading h2,
.command-copy h2,
.cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.2;
  font-weight: 850;
}

.section-heading h3,
.guide-heading h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
}

.section-heading > p:last-child,
.guide-heading > p:last-child,
.command-copy > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.platform {
  background: #fff;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.flow-line article {
  min-height: 210px;
  padding: 28px 28px 30px 0;
  border-right: 1px solid var(--line);
}

.flow-line article + article {
  padding-left: 28px;
}

.flow-line article:last-child {
  border-right: 0;
}

.flow-line span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.flow-line h3 {
  margin: 36px 0 8px;
  font-size: 25px;
}

.flow-line p {
  margin: 0;
  color: var(--muted);
}

.command-center {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--sky-2);
}

.command-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(420px, 1.15fr);
  gap: 80px;
  align-items: center;
}

.ops-panel {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 330px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.ops-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.ops-header span {
  color: var(--muted);
  font-size: 14px;
}

.ops-header strong {
  color: var(--blue);
  font-size: 40px;
  line-height: 1;
}

.score-ring {
  display: grid;
  width: 140px;
  height: 140px;
  place-items: center;
  align-self: center;
  border: 14px solid #dceeff;
  border-top-color: var(--blue);
  border-right-color: var(--cyan);
  border-radius: 50%;
  transform: rotate(12deg);
}

.score-ring span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  transform: rotate(-12deg);
}

.ops-metrics {
  display: grid;
  align-content: center;
  gap: 8px;
}

.ops-metrics p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.ops-metrics b {
  color: var(--ink);
  font-size: 19px;
}

.command-copy h2 {
  max-width: 700px;
}

.pulse-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 34px;
  border-top: 1px solid var(--line-strong);
}

.pulse-list span {
  padding: 15px 0 15px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
}

.pulse-list span::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 10px 2px -17px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.modules {
  background: #fff;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.module-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto 1fr;
  gap: 7px 14px;
  min-height: 150px;
  padding: 26px 28px 24px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.module-card:nth-child(3n + 2),
.module-card:nth-child(3n + 3) {
  padding-left: 28px;
}

.module-card:nth-child(3n) {
  border-right: 0;
}

.module-card i {
  display: grid;
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #b9daf5;
  border-radius: 6px;
  color: var(--blue);
  background: var(--sky-2);
  font-style: normal;
  font-size: 13px;
  font-weight: 850;
}

.module-card h3 {
  margin: 2px 0 0;
  font-size: 19px;
}

.module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.academy {
  border-top: 1px solid var(--line);
  background: var(--page);
}

.academy-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 10px;
  margin-top: 28px;
}

.academy-tools input,
.academy-tools select {
  padding: 0 14px;
}

.manual-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  overflow: hidden;
  margin-bottom: 70px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.manual-tabs {
  display: grid;
  align-content: start;
  padding: 12px;
  border-right: 1px solid var(--line);
  background: #f1f8fd;
}

.manual-tab {
  min-height: 46px;
  padding: 0 13px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.manual-tab:hover,
.manual-tab.is-active {
  color: var(--blue-2);
  background: #fff;
  box-shadow: 0 3px 12px rgba(47, 99, 143, 0.08);
  font-weight: 750;
}

.manual-stage {
  min-height: 380px;
  padding: 40px 48px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.manual-stage.is-swapping {
  opacity: 0.32;
  transform: translateY(5px);
}

.stage-label {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.manual-stage h3 {
  margin: 0;
  font-size: 30px;
}

.manual-stage > p:not(.stage-label) {
  margin: 12px 0 0;
  color: var(--muted);
}

.manual-stage ol {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: manualSteps;
}

.manual-stage li {
  position: relative;
  min-height: 34px;
  padding: 5px 0 5px 44px;
  counter-increment: manualSteps;
}

.manual-stage li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #a7d1f2;
  border-radius: 6px;
  color: var(--blue);
  background: var(--sky-2);
  content: counter(manualSteps);
  font-size: 12px;
  font-weight: 850;
}

.role-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 78px;
}

.role-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.role-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.role-card h3 {
  margin: 10px 0 6px;
}

.role-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.role-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.role-actions button {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-2);
  background: var(--sky-2);
  cursor: pointer;
}

.role-actions code {
  font-size: 12px;
}

.guide-heading {
  max-width: 780px;
  margin: 0 0 36px;
}

.visual-guide-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 72px;
}

.visual-guide {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(42, 92, 136, 0.05);
}

.visual-guide-head > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.visual-guide-head h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.35;
}

.visual-guide-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.diagram-flow {
  display: grid;
  grid-template-columns: minmax(112px, 1fr) 22px minmax(112px, 1fr) 22px minmax(112px, 1fr) 22px minmax(112px, 1fr);
  align-items: center;
}

.diagram-flow > div {
  position: relative;
  min-height: 126px;
  padding: 18px 14px;
  border: 1px solid #cfe3f3;
  border-radius: 6px;
  background: var(--sky-2);
}

.diagram-flow b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 5px;
  color: #fff;
  background: var(--blue);
  font-size: 11px;
}

.diagram-flow strong,
.diagram-flow small {
  display: block;
}

.diagram-flow strong {
  font-size: 14px;
}

.diagram-flow small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.diagram-flow > i {
  position: relative;
  height: 1px;
  background: #83bce9;
}

.diagram-flow > i::after {
  position: absolute;
  top: -3px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #83bce9;
  border-right: 1px solid #83bce9;
  content: "";
  transform: rotate(45deg);
}

.tutorial-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tutorial-card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.tutorial-card.is-hidden {
  display: none;
}

.guide-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.guide-top span {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--blue-2);
  background: var(--sky);
  font-size: 11px;
  font-weight: 800;
}

.guide-top h3 {
  margin: 0;
  font-size: 20px;
}

.tutorial-card > p {
  color: var(--muted);
  font-size: 14px;
}

.guide-steps {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 14px;
}

code {
  padding: 2px 5px;
  border: 1px solid #d4e6f4;
  border-radius: 3px;
  color: var(--blue-2);
  background: #f2f8fd;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.92em;
}

.guide-note {
  margin-bottom: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--cyan);
  color: var(--ink-2) !important;
  background: #f1fbfc;
}

.demo-showcase {
  margin-top: 76px;
  padding-top: 62px;
  border-top: 1px solid var(--line-strong);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.demo-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.demo-tag {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.chat-demo {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.bubble {
  width: fit-content;
  max-width: 88%;
  margin: 0;
  padding: 9px 11px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.45;
}

.bubble.user {
  justify-self: end;
  color: #07576f;
  background: #def7f5;
}

.bubble.bot {
  border: 1px solid var(--line);
  background: #f5f9fc;
}

.commands {
  border-top: 1px solid var(--line);
  background: #fff;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.command {
  display: grid;
  min-height: 82px;
  align-content: center;
  gap: 5px;
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease;
}

.command:hover,
.command.is-copied {
  background: var(--sky-2);
}

.command code {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 750;
}

.command span {
  color: var(--muted);
  font-size: 12px;
}

.commercial {
  border-top: 1px solid var(--line);
  background: var(--sky-2);
}

.free-mode-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid #aee3d1;
  border-radius: 6px;
  color: #087553;
  background: #effbf7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  background: #fff;
}

.price-card {
  min-width: 0;
  padding: 24px 20px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.price-card.is-featured {
  box-shadow: inset 0 4px 0 var(--blue);
  background: #f8fcff;
}

.price-card > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
}

.price-card h3 {
  margin: 8px 0 4px;
  font-size: 20px;
}

.plan-price {
  min-height: 52px;
  margin: 8px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.price-card > p:not(.plan-price),
.price-card li {
  color: var(--muted);
  font-size: 13px;
}

.price-card ul {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding-left: 17px;
}

.commercial-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.commercial-flow div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.commercial-flow div:last-child {
  border-right: 0;
}

.commercial-flow strong,
.commercial-flow span {
  display: block;
}

.commercial-flow span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.sales-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 42px;
  margin-top: 64px;
}

.sales-panel {
  padding: 0;
}

.sales-panel h3 {
  margin: 0;
  font-size: 30px;
}

.sales-panel ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  color: var(--muted);
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.proof-list span {
  padding: 18px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: #fff;
  font-size: 13px;
}

.comparison-wrap {
  margin-top: 64px;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.comparison-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
  font-size: 13px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.comparison-table th {
  color: var(--ink);
  background: var(--sky-2);
}

.comparison-table td {
  color: var(--muted);
}

.faq {
  border-top: 1px solid var(--line);
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 80px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  position: relative;
  padding: 20px 42px 20px 0;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 19px;
  right: 2px;
  color: var(--blue);
  content: "+";
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: -4px 0 20px;
  padding-right: 34px;
  color: var(--muted);
}

.cta {
  padding: 74px 0;
  border-top: 1px solid #a9d5f4;
  border-bottom: 1px solid #a9d5f4;
  background: var(--sky);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.cta p:not(.section-kicker) {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  width: min(var(--page-width), calc(100% - 48px));
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  color: var(--blue-2);
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 130;
  padding: 10px 14px;
  border-radius: 5px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #a9d4f4;
  border-radius: 6px;
  color: var(--blue);
  background: #fff;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.commercial-status-pending .charge-only,
.charge-disabled .charge-only {
  display: none !important;
}

.search-hit {
  animation: searchHit 900ms ease;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.72; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes skyDrift {
  from { transform: translateX(-18px); }
  to { transform: translateX(24px); }
}

@keyframes feedIn {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tickerMove {
  to { transform: translateX(-50%); }
}

@keyframes searchHit {
  0%, 100% { box-shadow: none; }
  35% { box-shadow: 0 0 0 5px rgba(8, 120, 249, 0.18); }
}

@keyframes carouselProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 1160px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-search {
    display: none;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 70px;
  }

  .live-stat-group {
    width: min(500px, 100%);
  }

  .operation-stream {
    padding-right: 14px;
    padding-left: 14px;
  }

  .operation-row {
    grid-template-columns: 60px 34px 100px minmax(150px, 1fr) auto;
    gap: 8px;
  }

  .visual-guide {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    gap: 16px;
  }

  .nav {
    justify-content: flex-end;
    gap: 18px;
  }

  .nav a:nth-child(1),
  .nav a:nth-child(4) {
    display: none;
  }

  .brand-copy small {
    display: none;
  }

  .header-action {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero.hero-carousel {
    padding: 16px 0 24px;
  }

  .carousel-shell,
  .hero-stat-rail {
    width: calc(100% - 32px);
  }

  .hero-stat-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stat-copy {
    grid-column: 1 / -1;
    min-height: 70px;
  }

  .hero-shell {
    width: min(100% - 32px, var(--page-width));
    padding: 58px 0 42px;
  }

  .hero h1 {
    font-size: clamp(58px, 15vw, 84px);
  }

  .hero-claim {
    font-size: 22px;
  }

  .operations-board {
    grid-template-columns: 1fr;
  }

  .operation-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .operation-side .side-title,
  .operation-side .event-feed {
    grid-column: 1 / -1;
  }

  .section {
    padding: 78px 0;
  }

  .section-inner {
    width: min(100% - 32px, var(--page-width));
  }

  .flow-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-line article:nth-child(2) {
    border-right: 0;
  }

  .flow-line article:nth-child(3),
  .flow-line article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .flow-line article:nth-child(3) {
    padding-left: 0;
  }

  .command-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-card,
  .module-card:nth-child(3n + 2),
  .module-card:nth-child(3n + 3) {
    padding: 24px;
  }

  .module-card:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .module-card:nth-child(2n) {
    border-right: 0;
  }

  .manual-layout {
    grid-template-columns: 1fr;
  }

  .manual-tabs {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .manual-tab {
    text-align: center;
  }

  .role-path,
  .demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagram-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .diagram-flow > i {
    display: none;
  }

  .tutorial-list {
    grid-template-columns: 1fr;
  }

  .command-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sales-grid {
    grid-template-columns: 1fr;
  }

  .commercial-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .commercial-flow div:nth-child(2) {
    border-right: 0;
  }

  .commercial-flow div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding: 8px 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .nav {
    display: none;
  }

  .hero-shell {
    width: calc(100% - 28px);
    gap: 26px;
    padding-top: 48px;
  }

  .hero.hero-carousel {
    padding-top: 10px;
  }

  .carousel-shell,
  .hero-stat-rail {
    width: calc(100% - 20px);
  }

  .carousel-viewport {
    border-radius: 5px;
  }

  .carousel-arrow {
    display: none;
  }

  .carousel-controls {
    bottom: 7px;
  }

  .carousel-controls button {
    width: 18px;
    height: 3px;
  }

  .carousel-controls button.is-active {
    width: 32px;
  }

  .hero-stat-copy {
    min-height: 62px;
    padding: 12px 4px;
  }

  .hero-stat-copy strong {
    font-size: 17px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(52px, 17vw, 70px);
  }

  .hero-claim {
    margin-top: 20px;
    font-size: 19px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 26px;
  }

  .primary-button,
  .secondary-button {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }

  .live-stat-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .live-stat {
    min-width: 0;
    padding: 14px 12px;
  }

  .live-stat strong {
    font-size: 22px;
  }

  .live-stat-label {
    font-size: 11px;
  }

  .operations-board {
    min-height: 0;
  }

  .operations-head {
    padding: 0 14px;
  }

  .operations-head span {
    display: none;
  }

  .operation-stream {
    padding: 4px 12px;
  }

  .operation-row {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 64px;
  }

  .operation-row time,
  .operation-row > span {
    display: none;
  }

  .operation-row strong {
    font-size: 12px;
  }

  .operation-row em {
    font-size: 10px;
  }

  .operation-row:nth-child(n + 4) {
    display: none;
  }

  .operation-side {
    display: none;
  }

  .ticker-track span {
    min-height: 48px;
    padding: 0 20px;
  }

  .section {
    padding: 62px 0;
  }

  .section-inner {
    width: calc(100% - 28px);
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .command-copy h2,
  .cta h2 {
    font-size: 32px;
  }

  .section-heading > p:last-child,
  .guide-heading > p:last-child,
  .command-copy > p {
    font-size: 16px;
  }

  .flow-line {
    grid-template-columns: 1fr;
  }

  .flow-line article,
  .flow-line article + article,
  .flow-line article:nth-child(3) {
    min-height: 150px;
    padding: 22px 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-line article:last-child {
    border-bottom: 0;
  }

  .flow-line h3 {
    margin-top: 18px;
  }

  .ops-panel {
    grid-template-columns: 110px 1fr;
    min-height: 280px;
    padding: 20px;
  }

  .score-ring {
    width: 96px;
    height: 96px;
    border-width: 10px;
  }

  .pulse-list {
    grid-template-columns: 1fr;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .module-card,
  .module-card:nth-child(3n + 2),
  .module-card:nth-child(3n + 3) {
    min-height: 120px;
    padding: 20px 0;
    border-right: 0;
  }

  .academy-tools {
    grid-template-columns: 1fr;
  }

  .manual-tabs {
    grid-template-columns: repeat(4, 122px);
  }

  .manual-stage {
    min-height: 0;
    padding: 26px 20px;
  }

  .manual-stage h3 {
    font-size: 25px;
  }

  .role-path,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .visual-guide {
    padding: 22px;
  }

  .diagram-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagram-flow > div {
    min-height: 120px;
  }

  .tutorial-card {
    padding: 22px 18px;
  }

  .guide-top {
    align-items: flex-start;
  }

  .guide-top h3 {
    font-size: 18px;
  }

  .command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .command {
    min-height: 76px;
    padding: 12px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .commercial-flow {
    grid-template-columns: 1fr;
  }

  .commercial-flow div,
  .commercial-flow div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-list {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    gap: 18px;
  }

  .cta-inner {
    display: block;
  }

  .site-footer {
    display: grid;
    width: calc(100% - 28px);
    justify-content: start;
    padding: 22px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
