:root {
  --qisuanyun-blue-reference: #4266bd;
  --qisuanyun-blue: #5878ca;
  --qisuanyun-blue-light: #9cb3eb;
  --qisuanyun-blue-deep: #3558ac;
  --ink: #091622;
  --ink-2: #355f9f;
  --navy: #284e91;
  --navy-soft: #3561a8;
  --teal: var(--qisuanyun-blue);
  --teal-dark: var(--qisuanyun-blue-reference);
  --blue: var(--qisuanyun-blue-light);
  --paper: #f2f6fd;
  --white: #ffffff;
  --line: rgba(49, 88, 184, 0.15);
  --muted: #4f6278;
  --muted-light: #7f8ea4;
  --glass-surface: rgba(255, 255, 255, 0.72);
  --glass-surface-strong: rgba(255, 255, 255, 0.86);
  --glass-border: rgba(69, 101, 183, 0.2);
  --glass-shadow: 0 26px 70px -48px rgba(27, 59, 150, 0.42);
  --max: 1240px;
  --radius: 18px;
  --shadow: 0 34px 90px rgba(0, 15, 24, 0.2);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 10% 8%,
      rgba(120, 153, 230, 0.2),
      transparent 27rem
    ),
    radial-gradient(
      circle at 91% 36%,
      rgba(49, 88, 184, 0.14),
      transparent 32rem
    ),
    linear-gradient(135deg, #f7f9fe 0%, var(--paper) 52%, #e8eef9 100%);
  background-attachment: fixed;
  font-family:
    Inter, 'SF Pro Display', 'PingFang SC', 'Microsoft YaHei', system-ui,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 15px;
  color: var(--navy);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 78px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.scrolled {
  background: rgba(40, 78, 145, 0.88);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.nav-shell {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-word {
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

.brand-word span {
  display: inline-block;
  margin-inline: 1px;
  color: var(--teal);
  font-size: 0.7em;
  transform: translateY(-0.38em);
}

.site-header .brand-word span,
.footer-brand .brand-word span {
  color: #82dcf5;
}

.brand-divider {
  width: 1px;
  height: 24px;
  margin-left: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.brand-sub {
  max-width: 260px;
  color: #d2def0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.header-navigation {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.primary-nav a {
  position: relative;
  color: #dce5f2;
  font-size: 14px;
  transition: color 160ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  content: '';
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover {
  color: var(--white);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 20px;
  flex: 0 0 auto;
}

.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 6px;
  color: #eef4ff;
  font-size: 14px;
  white-space: nowrap;
}

.nav-actions .header-register {
  min-height: 44px;
  white-space: nowrap;
}

.header-login:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding-inline: 17px;
  color: var(--white);
  background: var(--teal);
}

.button-small:hover,
.button-primary:hover {
  background: #4266bd;
}

.button-quiet {
  min-height: 40px;
  padding-inline: 14px;
  color: #e1e8f3;
  background: transparent;
}

.button-quiet:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-primary {
  min-height: 52px;
  padding-inline: 23px;
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(49, 88, 184, 0.18);
}

.button-link {
  color: #e0e8f4;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.14);
}

.button-link:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 77% 32%,
      rgba(49, 88, 184, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 14% 13%,
      rgba(37, 91, 145, 0.11),
      transparent 30%
    ),
    var(--navy);
}

.hero-grid,
.cta-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(133, 177, 190, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 177, 190, 0.08) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: 150px;
  right: -220px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(49, 88, 184, 0.13);
  box-shadow: 0 0 140px rgba(49, 88, 184, 0.08) inset;
}

.hero-glow-two {
  top: 270px;
  right: 60px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(106, 167, 255, 0.11);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(620px, 1.18fr);
  gap: 58px;
  align-items: center;
  min-height: 800px;
  padding-top: 110px;
}

.hero-copy {
  min-width: 0;
  padding-bottom: 30px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: #637997;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(49, 88, 184, 0.1);
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(44px, 3.75vw, 64px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-highlight {
  position: relative;
  display: inline-block;
  color: #dce7ff;
  font-weight: 720;
}

.hero-highlight::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  content: '';
  background: rgba(49, 88, 184, 0.55);
}

.hero-tagline {
  max-width: 580px;
  margin-bottom: 18px;
  color: #f4f8ff;
  font-size: 21px;
  font-weight: 620;
  line-height: 1.55;
}

.hero-lead {
  max-width: 580px;
  margin-bottom: 34px;
  color: #e0eaf8;
  font-size: 17px;
  line-height: 1.85;
}

.hero .eyebrow {
  color: #dce7f6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.tool-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  color: #dce6f5;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.tool-row i {
  width: 3px;
  height: 3px;
  background: #3c5360;
  border-radius: 50%;
}

.hero-availability {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #e8efff;
  font-size: 13px;
}

.hero-availability > span {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(206, 222, 255, 0.25);
  border-radius: 8px;
}

.hero-availability b {
  color: #fff;
  font-size: 13px;
}

.product-stage {
  position: relative;
  width: 790px;
  max-width: 100%;
}

.stage-label {
  position: absolute;
  top: -34px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bdcbe0;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.stage-label span {
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}

.app-window {
  position: relative;
  overflow: hidden;
  background: #0b1721;
  border: 1px solid rgba(164, 203, 215, 0.18);
  border-radius: 16px;
  box-shadow:
    0 45px 110px rgba(0, 0, 0, 0.5),
    0 0 0 8px rgba(255, 255, 255, 0.018);
  transform: perspective(1600px) rotateY(-2.5deg) rotateX(1deg);
  transform-origin: center left;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-stage:hover .app-window {
  transform: perspective(1600px) rotateY(0deg) rotateX(0deg) translateY(-3px);
}

.app-titlebar {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  height: 50px;
  padding: 0 16px;
  background: #0d1b26;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  background: #2c3b46;
  border-radius: 50%;
}

.window-dots span:first-child {
  background: #4b6e73;
}

.project-switcher {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
}

.project-switcher small {
  color: #b7c6d2;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.project-switcher strong {
  color: #cdd8de;
  font-weight: 600;
}

.project-switcher > span {
  color: #b5c5d1;
}

.sync-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b9c8d4;
  font-size: 12px;
}

.sync-status span {
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

.app-body {
  display: grid;
  grid-template-columns: 50px minmax(300px, 1fr) 205px;
  min-height: 440px;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 13px 0 12px;
  background: #09141e;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.side-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--navy);
  background: var(--teal);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.side-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 42px;
}

.side-tools button {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: #9fb2bf;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
}

.side-tools button.active {
  color: var(--teal);
  background: rgba(49, 88, 184, 0.09);
}

.side-avatar {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  margin-top: auto;
  color: #92a7b3;
  background: #152b39;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.model-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #0b1823;
}

.model-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.model-toolbar > div:first-child,
.config-head > div {
  display: flex;
  flex-direction: column;
}

.model-toolbar small,
.config-head small {
  color: #aebfcb;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.13em;
}

.model-toolbar strong {
  margin-top: 3px;
  color: #cbd7dc;
  font-size: 12px;
  font-weight: 600;
}

.view-pills {
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
}

.view-pills span {
  padding: 4px 7px;
  color: #b9c8d3;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.view-pills span:last-child {
  border-right: 0;
}

.view-pills span.active {
  color: #b5c7f2;
  background: rgba(49, 88, 184, 0.08);
}

.molecule-viewport {
  position: relative;
  flex: 1;
  min-height: 375px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(49, 88, 184, 0.15), transparent 57%),
    linear-gradient(rgba(120, 153, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 153, 230, 0.035) 1px, transparent 1px);
  background-size:
    auto,
    24px 24px,
    24px 24px;
}

#workflowCarousel[data-task='GAUSSIAN'] .molecule-viewport {
  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(73, 104, 184, 0.2),
      rgba(7, 18, 29, 0) 58%
    ),
    #0b1823;
}

#workflowCarousel[data-task='AIMD'] .molecule-viewport {
  background:
    linear-gradient(
      to bottom,
      rgba(68, 101, 184, 0.1) 0 57%,
      rgba(31, 57, 126, 0.2) 57% 100%
    ),
    linear-gradient(rgba(120, 153, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 153, 230, 0.035) 1px, transparent 1px),
    #0b1823;
  background-size:
    auto,
    24px 24px,
    24px 24px,
    auto;
}

#moleculeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
}

#moleculeCanvas:active {
  cursor: grabbing;
}

.axis-gizmo {
  position: absolute;
  top: 18px;
  right: 17px;
  width: 48px;
  height: 48px;
  color: #afc0cc;
  font-family: ui-monospace, monospace;
  font-size: 12px;
}

.axis-gizmo::before,
.axis-gizmo::after {
  position: absolute;
  bottom: 12px;
  left: 13px;
  width: 25px;
  height: 1px;
  content: '';
  background: #4e6874;
  transform-origin: left;
}

.axis-gizmo::after {
  transform: rotate(-58deg);
}

.axis-gizmo span {
  position: absolute;
}

.axis-x {
  right: 0;
  bottom: 7px;
  color: #f47b76;
}
.axis-y {
  top: 0;
  left: 28px;
  color: var(--teal);
}
.axis-z {
  bottom: 0;
  left: 2px;
  color: var(--blue);
}

.viewport-hud {
  position: absolute;
  bottom: 14px;
  left: 15px;
  display: flex;
  gap: 9px;
}

.viewport-hud > div {
  display: flex;
  min-width: 84px;
  flex-direction: column;
  padding: 8px 10px;
  background: rgba(4, 14, 21, 0.68);
  border: 1px solid rgba(126, 174, 186, 0.1);
  border-radius: 5px;
  backdrop-filter: blur(8px);
}

.viewport-hud span {
  color: #aebfcb;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.viewport-hud strong {
  margin-top: 3px;
  color: #b7c7ce;
  font-size: 12px;
  font-weight: 600;
}

.config-panel {
  display: flex;
  flex-direction: column;
  padding: 17px 15px 14px;
  background: #0d1d28;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.config-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.config-head strong {
  margin-top: 3px;
  color: #d1dce0;
  font-size: 12px;
}

.status-pill {
  padding: 3px 7px;
  color: var(--teal);
  background: rgba(49, 88, 184, 0.08);
  border: 1px solid rgba(49, 88, 184, 0.12);
  border-radius: 20px;
  font-size: 12px;
}

.config-fields {
  display: flex;
  flex-direction: column;
  margin-top: 11px;
}

.config-fields label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  color: #b3c3ce;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
}

.config-fields label span {
  color: #b7c7ce;
  font-weight: 600;
}

.compute-estimate {
  margin-top: auto;
  padding: 12px;
  background: #0a1721;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
}

.estimate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #afc0cb;
  font-size: 12px;
}

.estimate-top strong {
  color: #b8c9cf;
  font-size: 12px;
}

.meter {
  height: 3px;
  margin: 9px 0 7px;
  overflow: hidden;
  background: #1b303b;
  border-radius: 5px;
}

.meter i {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--teal);
  transition: width 300ms ease;
}

.compute-estimate small {
  color: #a7b9c5;
  font-size: 12px;
}

.run-button {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 11px;
  color: #0d214f;
  background: var(--teal);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.run-button:hover {
  background: #94aeed;
  transform: translateY(-1px);
}

.run-button b {
  font-size: 12px;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-height: 58px;
  padding: 0 8px;
  background: #09141d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.task-preview-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 10px;
  overflow-x: auto;
  background: #0b1924;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.task-preview-tabs button {
  min-height: 27px;
  padding: 0 10px;
  color: #617985;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.task-preview-tabs button.active {
  color: #c1cff4;
  background: rgba(49, 88, 184, 0.08);
  border-color: rgba(49, 88, 184, 0.18);
}

#workflowCarousel {
  overflow: hidden;
}
.carousel-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #0b1924;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.carousel-toolbar .task-preview-tabs {
  flex: 1 1 280px;
  border-top: 0;
}
.carousel-toolbar .task-preview-tabs button {
  min-height: 36px;
  font-size: 14px;
}
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  margin-left: auto;
}
.carousel-controls button {
  min-width: 36px;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid #28424c;
  border-radius: 6px;
  background: #102631;
  color: #d3def7;
  cursor: pointer;
  font-size: 14px;
}
.carousel-controls button:hover {
  background: #1c4149;
}
#workflowCarousel button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}
.carousel-timer {
  height: 2px;
  background: #152d37;
}
.carousel-timer i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
}
@keyframes carousel-countdown {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.carousel-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.task-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  padding: 18px 20px 72px;
  background: #0b1a26;
}
.task-scene[hidden],
#workflowCarousel [hidden] {
  display: none;
}
.scene-eyebrow {
  color: #9cb3eb;
  font:
    12px ui-monospace,
    monospace;
  letter-spacing: 0.06em;
}
.task-scene h3 {
  margin: 10px 0 5px;
  font-size: 17px;
  color: #dbedee;
}
.task-scene p {
  margin: 5px 0 12px;
  font-size: 12px;
  line-height: 1.55;
  color: #94adb9;
}
.task-scene pre {
  padding: 16px;
  overflow-x: auto;
  border: 1px solid #28414b;
  border-radius: 8px;
  background: #07131d;
  color: #b7c7ef;
  font:
    13px/1.8 ui-monospace,
    monospace;
}
.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 8px;
}
.scene-tags span {
  padding: 4px 7px;
  border: 1px solid #28424c;
  border-radius: 5px;
  font-size: 12px;
  color: #b6cbd2;
}
.task-scene .scene-footnote {
  font-size: 12px;
  margin-bottom: 0;
}
.dataset-source {
  display: grid;
  gap: 8px;
  padding: 15px 16px;
  border: 1px solid #28414b;
  border-radius: 10px;
  background: #102731;
}
.dataset-source span {
  color: #a8bcef;
  font:
    12px ui-monospace,
    monospace;
}
.dataset-source strong {
  font-size: 24px;
  color: #ecf1fb;
}
.dataset-source small {
  font-size: 12px;
  color: #a2b8c1;
}
.dataset-split {
  display: flex;
  gap: 3px;
  height: 14px;
  margin: 15px 0 7px;
}
.dataset-split i:nth-child(1) {
  flex: 8;
  background: #5878ca;
}
.dataset-split i:nth-child(2) {
  flex: 1;
  background: #9cb3eb;
}
.dataset-split i:nth-child(3) {
  flex: 1;
  background: #b792f4;
}
.split-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #bdcdd4;
}
#workflowCarousel .viewport-hud {
  z-index: 3;
  pointer-events: none;
}
#workflowCarousel[data-task='ML'] .viewport-hud {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-timer i {
    animation: none !important;
  }
}
@media (max-width: 600px) {
  #workflowCarousel .config-panel {
    display: flex;
    grid-column: 2;
    padding: 18px;
  }
  #workflowCarousel .config-fields label {
    font-size: 14px;
  }
  #workflowCarousel .config-head strong {
    font-size: 16px;
  }
  .task-scene {
    padding: 15px 14px 58px;
  }
  .carousel-toolbar .task-preview-tabs {
    flex-basis: 100%;
  }
  .carousel-toolbar .task-preview-tabs button {
    flex: 1;
    padding: 0 7px;
  }
  .carousel-controls {
    width: 100%;
    justify-content: flex-end;
    padding-top: 0;
  }
}

.workflow-rail button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #536975;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.workflow-rail button::before {
  position: absolute;
  top: -1px;
  right: 24%;
  left: 24%;
  height: 1px;
  content: '';
  background: var(--teal);
  opacity: 0;
}

.workflow-rail button.active {
  color: #c9d6db;
}

.workflow-rail button.active::before {
  opacity: 1;
}

.workflow-rail button span {
  color: #9fb2be;
  font-family: ui-monospace, monospace;
  font-size: 12px;
}

.workflow-rail button.active span {
  color: var(--teal);
}

.workflow-rail button strong {
  font-size: 12px;
  font-weight: 600;
}

.workflow-rail button i {
  position: absolute;
  right: -1px;
  width: 18px;
  height: 1px;
  background: #263a45;
}

.stage-caption {
  display: flex;
  justify-content: flex-end;
  padding: 15px 20px 0;
  color: #eef3ff;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.hero-proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  min-height: 0;
  margin-bottom: 38px;
}

.hero-proof-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 15px 18px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.075),
    rgba(120, 153, 230, 0.035)
  );
  border: 1px solid rgba(155, 183, 244, 0.16);
  border-radius: 14px;
  box-shadow: 0 18px 44px -36px rgba(120, 153, 230, 0.7);
  backdrop-filter: blur(12px) saturate(115%);
}

.hero-proof-item::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, rgba(120, 153, 230, 0.7), transparent);
}

.hero-proof strong {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: #a8bfff;
  background: rgba(120, 153, 230, 0.11);
  border: 1px solid rgba(168, 191, 255, 0.24);
  border-radius: 10px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero-proof span {
  color: #e6edf8;
  font-size: 14px;
  font-weight: 560;
  line-height: 1.45;
}

.section {
  padding: 130px 0;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: 13px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 62px;
}

.section-heading h2,
.workflow-intro h2,
.resource-copy h2,
.analysis-copy h2,
.cta-content h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.048em;
}

.section-heading > p {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.capability-section {
  --section-glow: rgba(120, 153, 230, 0.2);
  background:
    radial-gradient(circle at 88% 12%, var(--section-glow), transparent 30rem),
    linear-gradient(
      180deg,
      rgba(246, 249, 255, 0.82),
      rgba(236, 242, 252, 0.72)
    );
}

.capability-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 14px;
}

.capability-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 30px;
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.capability-card:hover {
  z-index: 2;
  border-color: rgba(27, 59, 150, 0.33);
  box-shadow: 0 24px 54px rgba(12, 34, 47, 0.09);
  transform: translateY(-5px);
}

.capability-featured {
  grid-column: 1 / -1;
  grid-row: auto;
  display: flex;
  min-height: 570px;
  flex-direction: column;
  color: var(--white);
  background:
    radial-gradient(
      circle at 76% 28%,
      rgba(120, 153, 230, 0.18),
      transparent 30%
    ),
    linear-gradient(135deg, #31588f, var(--ink-2) 62%, #4266bd);
  border-color: transparent;
}

.capability-card:last-child {
  grid-column: 1 / -1;
  min-height: 285px;
}

.card-index {
  color: #5c7085;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.capability-card h3 {
  margin: 16px 0 13px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.capability-card > p,
.capability-featured > div:last-child > p {
  max-width: 570px;
  margin-bottom: 20px;
  color: #64757e;
  font-size: 14px;
}

.capability-featured > div:last-child > p {
  color: #9badb6;
}

.capability-featured ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-featured li {
  padding: 6px 10px;
  color: #97abb5;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  font-size: 12px;
}

.capability-visual {
  flex: 1;
}

.box-visual {
  position: relative;
  min-height: 360px;
}

.box-frame {
  position: absolute;
  top: 51%;
  left: 50%;
  width: 245px;
  height: 245px;
  border: 1px solid rgba(49, 88, 184, 0.48);
  transform: translate(-50%, -50%) rotateX(60deg) rotateZ(42deg);
  box-shadow: 0 0 50px rgba(49, 88, 184, 0.06) inset;
}

.box-frame::before,
.box-frame::after {
  position: absolute;
  inset: 21px;
  content: '';
  border: 1px solid rgba(49, 88, 184, 0.13);
}

.box-frame::after {
  inset: 54px;
}

.box-frame i {
  position: absolute;
  width: 11px;
  height: 11px;
  background: var(--teal);
  border: 2px solid #183541;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(49, 88, 184, 0.65);
}

.box-frame i:nth-child(1) {
  top: 16%;
  left: 22%;
}
.box-frame i:nth-child(2) {
  top: 38%;
  right: 20%;
  background: var(--blue);
}
.box-frame i:nth-child(3) {
  bottom: 16%;
  left: 43%;
  width: 7px;
  height: 7px;
}
.box-frame i:nth-child(4) {
  top: 54%;
  left: 13%;
  width: 8px;
  height: 8px;
  background: #f4a28a;
}
.box-frame i:nth-child(5) {
  top: 10%;
  right: 14%;
  width: 7px;
  height: 7px;
}
.box-frame i:nth-child(6) {
  right: 6%;
  bottom: 24%;
  background: #d6e1e5;
}

.box-label {
  position: absolute;
  padding: 6px 9px;
  color: #81a0ad;
  background: rgba(6, 20, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.label-a {
  top: 23%;
  left: 10%;
}
.label-b {
  top: 42%;
  right: 4%;
}
.label-c {
  right: 21%;
  bottom: 18%;
}

.mini-signal {
  display: flex;
  height: 88px;
  align-items: flex-end;
  gap: 5px;
  margin-top: 17px;
}

.mini-signal span {
  width: 19%;
  background: #e9effb;
  border-top: 2px solid var(--teal-dark);
}

.mini-signal span:nth-child(1) {
  height: 34%;
}
.mini-signal span:nth-child(2) {
  height: 82%;
}
.mini-signal span:nth-child(3) {
  height: 58%;
}
.mini-signal span:nth-child(4) {
  height: 97%;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list span {
  padding: 5px 8px;
  color: #5d747e;
  background: #edf2fc;
  border: 1px solid #dce5f7;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.compute-bars {
  display: flex;
  height: 74px;
  align-items: flex-end;
  gap: 11px;
  margin-top: 24px;
  padding-bottom: 1px;
  border-bottom: 1px solid #d9e3f5;
}

.compute-bars span {
  position: relative;
  width: 12%;
  height: var(--value);
  background: #dce6f8;
  border-radius: 2px 2px 0 0;
}

.compute-bars span::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  content: '';
  background: var(--teal-dark);
}

.spark-chart {
  margin: 27px 0 8px;
}

.ml-orbit {
  position: relative;
  height: 88px;
  margin-top: 18px;
  border: 1px solid #dce5f6;
  border-radius: 50%;
  transform: scaleX(0.72);
}

.ml-orbit span,
.ml-orbit i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--teal-dark);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ml-orbit i:nth-child(2) {
  transform: translate(-116px, -6px);
  background: var(--blue);
}
.ml-orbit i:nth-child(3) {
  transform: translate(96px, -18px);
  background: #f3a089;
}
.ml-orbit i:nth-child(4) {
  transform: translate(28px, 29px);
  background: #71848d;
}

.cycle-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 26px;
}

.cycle-visual span {
  position: relative;
  display: grid;
  min-height: 58px;
  place-items: center;
  color: var(--qisuanyun-blue-reference);
  background: #edf2fc;
  border: 1px solid #dce5f7;
  border-radius: 8px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
}

.cycle-visual span:not(:last-child)::after {
  position: absolute;
  right: -10px;
  content: '→';
  color: var(--teal-dark);
}

.spark-chart svg {
  display: block;
  width: 100%;
  height: 90px;
  overflow: visible;
}

.chart-grid {
  fill: none;
  stroke: #e2e8f5;
  stroke-width: 1;
}

.chart-line-back {
  fill: none;
  stroke: rgba(27, 59, 150, 0.12);
  stroke-width: 9;
}

.chart-line {
  fill: none;
  stroke: var(--teal-dark);
  stroke-linecap: round;
  stroke-width: 2;
}

.workflow-section {
  color: var(--white);
  background: linear-gradient(135deg, #315a99, #294e8b);
}

.workflow-intro {
  display: grid;
  grid-template-columns: 0.75fr 1.3fr 0.85fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 44px;
}

.workflow-switcher {
  display: flex;
  gap: 8px;
  margin-bottom: 54px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.workflow-switcher button {
  min-height: 42px;
  padding: 0 17px;
  color: #e6edfa;
  background: rgba(14, 40, 91, 0.7);
  border: 1px solid rgba(216, 228, 255, 0.34);
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.workflow-switcher button.active {
  color: #183a77;
  background: #e4edff;
  border-color: #e4edff;
}

.workflow-intro .section-kicker {
  align-self: start;
  color: #dce7ff;
}

.workflow-intro h2 {
  max-width: 460px;
}

.workflow-intro > p:last-child {
  margin-bottom: 0;
  color: #e1e9f7;
  font-size: 15px;
}

.workflow-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.map-line {
  position: absolute;
  top: 20px;
  right: 7.5%;
  left: 7.5%;
  height: 1px;
  background: #29404d;
}

.map-line i {
  display: block;
  width: 70%;
  height: 100%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(49, 88, 184, 0.5);
}

.workflow-node {
  position: relative;
  min-width: 0;
  min-height: 132px;
  padding: 68px 14px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: default;
  outline: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.workflow-node::before {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 14px;
  width: 16px;
  height: 16px;
  content: '';
  background: #294e8b;
  border: 2px solid #5c79c9;
  border-radius: 50%;
  box-shadow: 0 0 0 7px #294e8b;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.workflow-node span {
  color: #e4edff;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  transition: color 180ms ease;
}

.workflow-node strong {
  display: block;
  margin-top: 8px;
  color: #f1f5ff;
  font-size: 15px;
  transition: color 180ms ease;
}

.workflow-node:is(:hover, :focus-visible) {
  background: linear-gradient(
    145deg,
    rgba(49, 88, 184, 0.16),
    rgba(120, 153, 230, 0.06)
  );
  border-color: rgba(120, 153, 230, 0.38);
  box-shadow: 0 22px 48px -34px rgba(120, 153, 230, 0.85);
  transform: translateY(-7px);
}

.workflow-node:is(:hover, :focus-visible)::before {
  background: #b9cdf8;
  border-color: #c8d6ff;
  box-shadow:
    0 0 0 7px #294e8b,
    0 0 24px rgba(120, 153, 230, 0.9);
  transform: scale(1.16);
}

.workflow-node:is(:hover, :focus-visible) span {
  color: #b9c9ff;
}

.workflow-node:is(:hover, :focus-visible) strong {
  color: #fff;
}

.resource-section {
  --section-glow: rgba(49, 88, 184, 0.16);
  background:
    radial-gradient(circle at 78% 34%, var(--section-glow), transparent 30rem),
    linear-gradient(
      135deg,
      rgba(239, 244, 253, 0.86),
      rgba(229, 237, 250, 0.76)
    );
}

.resource-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 110px;
  align-items: center;
}

.resource-copy h2 {
  max-width: 540px;
  margin-bottom: 28px;
}

.resource-copy > p:not(.section-kicker) {
  max-width: 545px;
  margin-bottom: 40px;
  color: var(--muted);
}

.resource-points {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #cdd9ef;
}

.resource-points > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid #cdd9ef;
}

.resource-points span {
  color: var(--teal-dark);
  font-family: ui-monospace, monospace;
  font-size: 13px;
}

.resource-points p {
  margin: 0;
  color: #516477;
  font-size: 14px;
}

.resource-points strong {
  margin-right: 8px;
  color: var(--ink);
}

.account-console {
  position: relative;
  padding: 29px;
  background: var(--glass-surface-strong);
  border: 1px solid var(--glass-border);
  border-radius: 13px;
  box-shadow: 0 34px 80px rgba(27, 59, 150, 0.14);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.sample-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  margin-bottom: 14px;
  padding: 3px 9px;
  color: #294b93;
  background: #e9effd;
  border: 1px solid #cbd9f7;
  border-radius: 6px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
}

.account-console::before {
  position: absolute;
  top: -11px;
  right: 29px;
  width: 82px;
  height: 22px;
  content: '账户概览';
  color: #69808a;
  background: #e6edfb;
  border: 1px solid #cfdbf3;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
  letter-spacing: 0.1em;
}

.account-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid #dfe7f5;
}

.account-top > div {
  display: flex;
  flex-direction: column;
}

.account-top small,
.usage-head span {
  color: #819098;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.account-top > div strong {
  margin-top: 6px;
  font-size: 34px;
  font-weight: 660;
  letter-spacing: -0.045em;
}

.account-top > span {
  color: #87969d;
  font-size: 12px;
}

.account-top > span b {
  color: #e26861;
}

.usage-block {
  padding: 23px 0 12px;
}

.usage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

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

.usage-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
}

.usage-item > div:first-child {
  display: flex;
  align-items: center;
  gap: 11px;
}

.usage-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--qisuanyun-blue-reference);
  background: #e8eefb;
  border-radius: 7px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
}

.cpu-icon {
  color: #396fb5;
  background: #e6eef9;
}

.gpu-icon {
  color: #846735;
  background: #f3eddd;
}

.usage-item p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.usage-item p strong {
  font-size: 12px;
}

.usage-item p small {
  color: #94a0a5;
  font-size: 12px;
}

.usage-value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.usage-value strong {
  font-size: 12px;
}

.usage-value span {
  color: #93a0a5;
  font-size: 12px;
}

.usage-track {
  grid-column: 1 / -1;
  height: 3px;
  overflow: hidden;
  background: #e9eef8;
  border-radius: 3px;
}

.usage-track i {
  display: block;
  width: var(--usage);
  height: 100%;
  background: var(--teal-dark);
}

.latest-charge {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
  margin-top: 6px;
  padding: 14px;
  background: rgba(245, 248, 254, 0.82);
  border: 1px solid #dfe7f5;
  border-radius: 7px;
}

.charge-status {
  padding: 4px 7px;
  color: var(--qisuanyun-blue-reference);
  background: #e4ebfa;
  border-radius: 20px;
  font-size: 12px;
}

.latest-charge > div {
  display: flex;
  flex-direction: column;
}

.latest-charge > div strong,
.latest-charge > strong {
  font-size: 12px;
}

.latest-charge > div small {
  color: #93a0a5;
  font-size: 12px;
}

.demo-note {
  display: block;
  margin-top: 11px;
  color: #9ba7ab;
  font-size: 12px;
  text-align: right;
}

.analysis-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #3561a8);
}

.analysis-shell {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 90px;
  align-items: center;
}

.analysis-copy h2 {
  margin-bottom: 27px;
}

.analysis-copy > p:not(.section-kicker) {
  margin-bottom: 30px;
  color: #e1e9f7;
  font-size: 15px;
}

.metric-tabs {
  display: flex;
  gap: 7px;
}

.metric-tabs button {
  min-width: 70px;
  min-height: 35px;
  color: #dbe7fb;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(210, 225, 255, 0.28);
  border-radius: 7px;
  cursor: pointer;
  font-family: ui-monospace, monospace;
  font-size: 14px;
  font-weight: 700;
}

.metric-tabs button.active {
  color: #173a70;
  background: #e7efff;
  border-color: #e7efff;
}

.analysis-chart {
  padding: 24px 24px 19px;
  background: #0c1c28;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.analysis-chart .sample-badge {
  color: #ecf2ff;
  background: rgba(139, 172, 239, 0.16);
  border-color: rgba(185, 208, 255, 0.42);
}

.chart-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 4px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chart-meta > div {
  display: flex;
  flex-direction: column;
}

.chart-meta small {
  color: #b6c6d2;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.chart-meta strong {
  margin-top: 4px;
  color: #d3dee2;
  font-size: 14px;
}

.chart-meta > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #aebfcb;
  font-size: 13px;
}

.chart-meta > span i {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

#metricChart {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 12px;
  overflow: visible;
}

.result-grid path {
  fill: none;
  stroke: rgba(132, 154, 209, 0.1);
  stroke-width: 1;
}

.result-area {
  fill: url(#areaFill);
  transition: d 300ms ease;
}

.result-line {
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  filter: drop-shadow(0 0 6px rgba(49, 88, 184, 0.28));
  transition: d 300ms ease;
}

.axis-labels text {
  fill: #aebfcb;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}

.chart-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 17px;
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chart-summary > div {
  display: flex;
  flex-direction: column;
  padding: 0 15px;
  background: #0c1c28;
}

.chart-summary > div:first-child {
  padding-left: 4px;
}

.chart-summary span {
  color: #aebfcb;
  font-size: 13px;
}

.chart-summary strong {
  margin-top: 4px;
  color: #e1e9ef;
  font-size: 13px;
  font-weight: 600;
}

.software-section {
  --section-glow: rgba(120, 153, 230, 0.18);
  background:
    radial-gradient(circle at 28% 18%, var(--section-glow), transparent 28rem),
    linear-gradient(
      180deg,
      rgba(244, 247, 253, 0.82),
      rgba(232, 239, 251, 0.76)
    );
}

.software-shell {
  padding: 8px 0;
}

.software-heading {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.72fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 42px;
}

.software-heading h2 {
  margin-bottom: 0;
}

.software-heading > p {
  max-width: 570px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 15px;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.software-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  border-radius: 13px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.software-card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 59, 150, 0.34);
  box-shadow: 0 22px 48px rgba(27, 59, 150, 0.14);
}

.software-logo {
  display: grid;
  height: 138px;
  place-items: center;
  padding: 25px 26px;
  background: rgba(242, 246, 253, 0.82);
  border-bottom: 1px solid rgba(49, 88, 184, 0.12);
}

.software-logo img {
  display: block;
  width: 100%;
  max-width: 215px;
  max-height: 82px;
  object-fit: contain;
}

.software-generic {
  color: var(--qisuanyun-blue-reference);
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background:
    radial-gradient(
      circle at 72% 28%,
      rgba(27, 59, 150, 0.18),
      transparent 24%
    ),
    linear-gradient(145deg, #f8faff, #e8eefb);
}

.capability-showcase {
  display: grid;
  gap: 18px;
}

.capability-foundation {
  position: relative;
  display: grid;
  min-height: 470px;
  overflow: hidden;
  grid-template-columns: 1.05fr 0.95fr;
  color: var(--white);
  background:
    radial-gradient(
      circle at 80% 35%,
      rgba(120, 153, 230, 0.18),
      transparent 28%
    ),
    linear-gradient(125deg, #31578f 0%, #3a64a6 72%, #4266bd 100%);
  border: 1px solid rgba(120, 153, 230, 0.2);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(16, 38, 96, 0.18);
}

.capability-foundation::before {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 153, 230, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 153, 230, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 12%, #000 100%);
}

.foundation-copy {
  z-index: 1;
  display: flex;
  padding: 54px;
  flex-direction: column;
  justify-content: center;
}

.capability-label {
  margin: 22px 0 10px;
  color: var(--teal);
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.foundation-copy h3,
.ai-assist-intro h3 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(32px, 3.4vw, 50px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.foundation-copy > p:not(.capability-label) {
  max-width: 590px;
  margin: 22px 0 0;
  color: #d7e3f5;
  font-size: 15px;
  line-height: 1.85;
}

.foundation-steps {
  display: flex;
  margin: 34px 0 24px;
  align-items: center;
  gap: 12px;
}

.foundation-steps span {
  display: flex;
  color: #eef4ff;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.foundation-steps b {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: #c2d3ff;
  border: 1px solid rgba(194, 211, 255, 0.42);
  border-radius: 50%;
  font:
    700 12px ui-monospace,
    monospace;
  place-items: center;
}

.foundation-steps i {
  color: #afc1dc;
  font-style: normal;
}
.tag-list-dark span {
  color: #d4e0f1;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.capability-foundation .card-index,
.capability-foundation .capability-label {
  color: #d9e5fb;
}

.foundation-visual {
  position: relative;
  min-height: 420px;
}

.model-orbit,
.model-core {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.model-orbit {
  border: 1px solid rgba(120, 153, 230, 0.3);
}
.orbit-one {
  width: 310px;
  height: 310px;
}
.orbit-two {
  width: 220px;
  height: 220px;
  border-style: dashed;
  animation: orbit-turn 28s linear infinite;
}

.model-core {
  width: 126px;
  height: 126px;
  background: radial-gradient(circle at 38% 34%, #c4d3f4, #5878ca 55%, #3558ac);
  box-shadow: 0 0 70px rgba(120, 153, 230, 0.3);
}

.model-core span,
.model-core i {
  position: absolute;
  width: 13px;
  height: 13px;
  background: #f2f6ff;
  border: 3px solid rgba(17, 42, 100, 0.64);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
}

.model-core span {
  top: 32px;
  left: 53px;
}
.model-core i:nth-child(2) {
  top: 62px;
  left: 29px;
}
.model-core i:nth-child(3) {
  top: 73px;
  right: 24px;
}
.model-core i:nth-child(4) {
  right: 38px;
  bottom: 21px;
}
.model-core i:nth-child(5) {
  top: 27px;
  right: 25px;
}

.model-chip {
  position: absolute;
  padding: 9px 12px;
  color: #d6e2f3;
  background: rgba(8, 24, 58, 0.76);
  border: 1px solid rgba(120, 153, 230, 0.22);
  border-radius: 6px;
  font:
    700 13px ui-monospace,
    monospace;
  font-style: normal;
  letter-spacing: 0.1em;
}

.chip-top {
  top: 21%;
  right: 11%;
}
.chip-bottom {
  right: 24%;
  bottom: 16%;
}

@keyframes orbit-turn {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.capability-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  padding: 26px 4px 4px;
}

.capability-group-heading span {
  display: block;
  margin-bottom: 7px;
  color: #3558ac;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.capability-group-heading h3 {
  margin: 0;
  color: #10253f;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.capability-group-heading > p {
  max-width: 480px;
  margin: 0;
  color: #425872;
  font-size: 15px;
  line-height: 1.7;
  text-align: right;
}

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

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

.service-card {
  position: relative;
  display: flex;
  min-height: 370px;
  overflow: hidden;
  padding: 30px;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(69, 101, 183, 0.24);
  border-radius: 18px;
  box-shadow: 0 22px 52px -38px rgba(25, 58, 135, 0.38);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-card::after {
  position: absolute;
  right: -62px;
  bottom: -68px;
  width: 180px;
  height: 180px;
  content: '';
  pointer-events: none;
  background: rgba(49, 88, 184, 0.06);
  border-radius: 50%;
}

.service-card:hover {
  border-color: rgba(53, 88, 172, 0.48);
  box-shadow: 0 26px 58px -36px rgba(25, 58, 135, 0.48);
  transform: translateY(-4px);
}

.service-card-primary {
  background: linear-gradient(145deg, #f8fbff 0%, #edf3ff 100%);
  border-color: rgba(53, 88, 172, 0.52);
  box-shadow:
    0 24px 58px -34px rgba(25, 58, 135, 0.5),
    inset 0 3px 0 #5878ca;
}

.service-card-top {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  justify-content: space-between;
}

.service-card-top > span {
  color: #61768c;
  font:
    750 13px ui-monospace,
    monospace;
  letter-spacing: 0.12em;
}

.service-card-category {
  display: inline-flex;
  min-height: 30px;
  padding: 5px 10px;
  color: #294f9a;
  align-items: center;
  background: rgba(53, 88, 172, 0.07);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.service-card h3 {
  margin: 0 0 12px;
  color: #0d1e34;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.service-card-copy {
  margin: 0;
  color: #3f566e;
  font-size: 15px;
  line-height: 1.8;
}

.service-card-fit {
  margin-top: 18px;
  padding: 11px 13px;
  background: rgba(53, 88, 172, 0.055);
  border-left: 2px solid #7899df;
  border-radius: 0 9px 9px 0;
}

.service-card-fit span,
.service-card-fit strong {
  display: block;
}

.service-card-fit span {
  color: #536a82;
  font-size: 13px;
  font-weight: 650;
}

.service-card-fit strong {
  margin-top: 3px;
  color: #163968;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.service-card-path {
  display: flex;
  margin-top: 18px;
  align-items: center;
  gap: 9px;
  color: #35536f;
  font-size: 14px;
  font-weight: 600;
}

.service-card-path i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #8ea9df, #d6e1f6);
}

.service-card-action {
  position: relative;
  z-index: 1;
  top: 8px;
  display: inline-flex;
  width: min(100%, 250px);
  min-height: 48px;
  margin-top: auto;
  align-self: center;
  padding: 11px 16px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #294f9a;
  background: #eef3fc;
  border: 1px solid #c8d7f1;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.service-card-action-primary {
  color: #fff;
  background: #3558ac;
  border-color: #3558ac;
}

.service-card-action-primary:hover {
  color: #fff;
  background: #294f9a;
  border-color: #294f9a;
  transform: translateY(-1px);
}

.service-card-status {
  justify-content: center;
  gap: 10px;
  color: #536a82;
  background: rgba(238, 243, 252, 0.72);
  border-color: #cedaeb;
  cursor: default;
}

.service-card-status::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  content: '';
  background: #92a5bd;
  border-radius: 50%;
}

.service-card-status small {
  padding-left: 10px;
  color: #718398;
  border-left: 1px solid #c8d4e5;
  font-size: 12px;
  font-weight: 600;
}

.ai-assist-card {
  display: grid;
  padding: 46px;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 50px;
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(120, 153, 230, 0.2),
      transparent 19rem
    ),
    linear-gradient(
      135deg,
      rgba(235, 241, 253, 0.86),
      rgba(250, 252, 255, 0.76)
    );
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.ai-assist-intro h3 {
  color: #102b36;
  font-size: clamp(29px, 3vw, 42px);
}
.ai-assist-intro > p:not(.capability-label) {
  margin: 18px 0 0;
  color: #4f6378;
  font-size: 15px;
  line-height: 1.75;
}

.ai-assist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.ai-assist-grid div {
  min-height: 130px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(120, 153, 230, 0.34);
  border-radius: 14px;
}

.ai-assist-grid strong,
.ai-assist-grid small {
  display: block;
}

.ai-assist-grid strong {
  margin-top: 18px;
  color: #18333f;
  font-size: 14px;
}

.ai-assist-grid div > span {
  color: var(--qisuanyun-blue-reference);
  font:
    800 12px ui-monospace,
    monospace;
  letter-spacing: 0.12em;
}

.ai-assist-grid small {
  margin-top: 6px;
  color: #53677a;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .capability-foundation,
  .ai-assist-card {
    grid-template-columns: 1fr;
  }

  .foundation-visual {
    min-height: 340px;
  }

  .service-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card-grid:not(.service-card-grid-two) .service-card:last-child {
    grid-column: 1 / -1;
  }

  .capability-group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .capability-group-heading > p {
    max-width: 620px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-two {
    animation: none;
  }
}

@media (max-width: 680px) {
  .foundation-copy {
    padding: 30px 24px;
  }
  .foundation-steps {
    align-items: flex-start;
    flex-direction: column;
  }
  .foundation-steps i {
    display: none;
  }
  .service-card-grid,
  .service-card-grid-two {
    grid-template-columns: 1fr;
  }
  .service-card-grid:not(.service-card-grid-two) .service-card:last-child {
    grid-column: auto;
  }

  .service-card {
    min-height: 350px;
    padding: 26px 22px;
  }
  .ai-assist-card {
    padding: 30px 22px;
  }
  .ai-assist-grid {
    grid-template-columns: 1fr;
  }
}

.software-vasp .software-logo,
.software-lammps .software-logo {
  background: #0b1924;
}

.software-cp2k .software-logo img {
  max-width: 94px;
  max-height: 94px;
}

.software-detail {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
}

.software-detail strong {
  color: #132d39;
  font-size: 15px;
}

.software-detail small {
  margin-top: 5px;
  color: #53677a;
  font-size: 13px;
  line-height: 1.55;
}

.software-detail em {
  align-self: flex-start;
  margin-top: 11px;
  padding: 3px 8px;
  color: #3158a1;
  background: #e8effd;
  border-radius: 6px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.software-card[data-availability='consultation'] .software-detail em {
  color: #52677e;
  background: #edf1f6;
}

.software-note {
  max-width: 980px;
  margin: 24px 0 0;
  color: #5e7184;
  font-size: 13px;
}

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

.scenario-entry {
  position: relative;
  display: grid;
  min-height: 168px;
  overflow: hidden;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 8px 16px;
  align-content: center;
  padding: 28px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(120, 153, 230, 0.18),
      transparent 12rem
    ),
    rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(49, 88, 184, 0.16);
  border-radius: 18px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.scenario-entry::after {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #5475c4;
  content: '↗';
  font-size: 18px;
  font-weight: 800;
}

.scenario-entry:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 88, 184, 0.34);
  box-shadow: 0 22px 48px rgba(27, 59, 150, 0.14);
}

.scenario-entry > span {
  grid-row: 1 / 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #3158a1;
  background: #e8effd;
  border-radius: 13px;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.scenario-entry strong {
  align-self: end;
  color: #102d56;
  font-size: 19px;
}

.scenario-entry small {
  max-width: calc(100% - 24px);
  color: #53677a;
  font-size: 13px;
  line-height: 1.65;
}

.scenario-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: #214f96;
  font-size: 14px;
  font-weight: 800;
}

.collaboration-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(120, 153, 230, 0.14),
      transparent 28rem
    ),
    linear-gradient(180deg, #f7faff, #eef4ff);
}

.collaboration-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(49, 88, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 88, 184, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
  content: '';
}

.centered-heading {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto 54px;
  text-align: center;
}

.centered-heading .section-kicker {
  justify-content: center;
}

.centered-heading h2 {
  margin-bottom: 18px;
  color: #0c2f5e;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.centered-heading > p:not(.section-kicker) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.collaboration-options {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

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

.enterprise-service-grid .collaboration-card {
  min-height: 430px;
  padding: 32px;
}

.enterprise-service-grid .collaboration-service-list {
  grid-template-columns: 1fr;
}

.collaboration-card {
  min-height: 405px;
  padding: 38px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(49, 88, 184, 0.16);
  border-radius: 24px;
  box-shadow: 0 24px 70px -52px rgba(11, 47, 107, 0.52);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.collaboration-card-featured {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(120, 153, 230, 0.2),
      transparent 17rem
    ),
    linear-gradient(145deg, #eff5ff, #e5eeff);
  border-color: rgba(49, 88, 184, 0.28);
}

.option-label {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 6px 11px;
  color: #4266bd;
  background: rgba(49, 88, 184, 0.09);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.collaboration-card h3,
.contact-shell h3 {
  margin-bottom: 12px;
  color: #0d294d;
  font-size: 24px;
  line-height: 1.35;
}

.collaboration-card > p {
  color: #58708c;
}

.collaboration-card ul {
  display: grid;
  gap: 13px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.collaboration-card .collaboration-service-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}

.collaboration-card li {
  position: relative;
  padding-left: 25px;
  color: #294766;
}

.collaboration-card li::before {
  position: absolute;
  left: 0;
  color: var(--qisuanyun-blue);
  font-weight: 900;
  content: '✓';
}

.collaboration-action {
  color: #173a70;
  background: #fff;
  border-color: rgba(49, 88, 184, 0.32);
}

.collaboration-action:hover {
  color: #fff;
  background: var(--qisuanyun-blue);
}

.collaboration-research-coverage {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 18px;
  padding: 22px 24px;
  color: #3f5875;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(69, 101, 183, 0.16);
  border-radius: 16px;
}

.collaboration-research-coverage strong {
  color: #183f79;
  font-size: 14px;
}

.collaboration-research-coverage p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
}

.collaboration-research-coverage span {
  font-size: 12px;
  line-height: 1.6;
}

.collaboration-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.collaboration-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: center;
  min-height: 92px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(49, 88, 184, 0.15);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.collaboration-steps span {
  grid-row: 1 / 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #4266bd;
  background: rgba(49, 88, 184, 0.09);
  border-radius: 12px;
  font-family: ui-monospace, monospace;
  font-weight: 800;
}

.collaboration-steps strong {
  color: #173a70;
  font-size: 14px;
}

.collaboration-steps small {
  color: #53677a;
  font-size: 13px;
}

.contact-section {
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(120, 153, 230, 0.16),
      transparent 26rem
    ),
    linear-gradient(
      145deg,
      rgba(244, 247, 253, 0.82),
      rgba(232, 239, 251, 0.76)
    );
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
  background: var(--glass-surface-strong);
  border: 1px solid rgba(49, 88, 184, 0.16);
  border-radius: 28px;
  box-shadow: 0 34px 90px -62px rgba(11, 47, 107, 0.62);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.contact-support {
  display: flex;
  min-height: 650px;
  flex-direction: column;
  padding: 46px 42px;
  color: #dbeafe;
  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(120, 153, 230, 0.22),
      transparent 17rem
    ),
    linear-gradient(150deg, #31578f, var(--qisuanyun-blue-deep));
}

.contact-eyebrow {
  margin-bottom: 14px;
  color: #dce7f8;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.contact-support h3 {
  color: #fff;
  font-size: 30px;
}

.contact-support > p:not(.contact-eyebrow) {
  color: #d9e5f6;
  font-size: 16px;
}

.support-signal {
  position: relative;
  display: flex;
  width: min(100%, 270px);
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 28px auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 22px;
}

.support-signal img {
  position: relative;
  z-index: 2;
  margin-bottom: 14px;
}

.support-signal strong,
.support-signal small {
  position: relative;
  z-index: 2;
}

.support-signal small {
  margin-top: 3px;
  color: #c3d5ed;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.signal-orbit {
  position: absolute;
  border: 1px solid rgba(120, 153, 230, 0.24);
  border-radius: 50%;
}

.signal-orbit-one {
  width: 190px;
  height: 190px;
}

.signal-orbit-two {
  width: 130px;
  height: 130px;
  border-style: dashed;
  transform: rotate(38deg);
}

.support-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.support-tags span {
  padding: 5px 9px;
  color: #bfdbfe;
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 999px;
  font-size: 13px;
}

.support-action {
  width: 100%;
  margin-top: auto;
  color: #eff6ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(147, 197, 253, 0.35);
}

.support-action:hover {
  background: rgba(120, 153, 230, 0.18);
}

.contact-form {
  display: grid;
  align-content: center;
  padding: 48px 50px;
}

.contact-form > p:not(.contact-eyebrow, .contact-privacy) {
  margin-bottom: 26px;
  color: #4f6379;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #213d62;
  font-size: 13px;
  font-weight: 700;
}

.contact-form label b {
  color: #dc2626;
}

.contact-form :is(input, select, textarea) {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: #10233f;
  background: #f8faff;
  border: 1px solid #d5e0f1;
  border-radius: 10px;
  font: inherit;
  font-weight: 400;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.contact-form textarea {
  min-height: 124px;
  resize: vertical;
}

.contact-form :is(input, select, textarea):focus {
  background: #fff;
  border-color: var(--qisuanyun-blue);
  box-shadow: 0 0 0 3px rgba(49, 88, 184, 0.12);
}

.contact-submit {
  width: 100%;
  margin-top: 2px;
  color: #fff;
}

.contact-privacy {
  margin: 11px 0 0;
  color: #5e7184;
  font-size: 13px;
  text-align: center;
}

.documentation-section {
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(120, 153, 230, 0.16),
      transparent 26rem
    ),
    linear-gradient(180deg, #f7faff, #eef4ff);
}

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

.documentation-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 30px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(49, 88, 184, 0.16);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.documentation-card:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 88, 184, 0.34);
  box-shadow: 0 22px 48px rgba(27, 59, 150, 0.14);
}

.documentation-card > span {
  margin-bottom: 24px;
  color: #5475c4;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.documentation-card strong {
  color: #102d56;
  font-size: 21px;
}

.documentation-card small {
  margin-top: 10px;
  color: #53677a;
  font-size: 14px;
  line-height: 1.7;
}

.documentation-card em {
  margin-top: auto;
  padding-top: 24px;
  color: #214f96;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.cta-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #4266bd, #3558ac);
}

.cta-grid {
  opacity: 0.3;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 475px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-content .section-kicker {
  color: #dce8ff;
}

.cta-content h2 {
  margin-bottom: 20px;
}

.cta-content > p:not(.section-kicker) {
  max-width: 660px;
  margin-bottom: 30px;
  color: #e1eaf8;
  font-size: 16px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 10px;
}

.button-quiet-light {
  min-height: 52px;
  color: #eef3fb;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

.button-quiet-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  --footer-heading: #f7faff;
  --footer-copy: #d5e2f4;
  --footer-link: #c5d5ed;
  color: var(--footer-copy);
  background: linear-gradient(135deg, #244980 0%, #315a98 100%);
  font-family:
    Inter, 'Microsoft YaHei UI', 'PingFang SC', 'Noto Sans CJK SC', system-ui,
    sans-serif;
  text-rendering: optimizeLegibility;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.58fr);
  gap: clamp(48px, 7vw, 96px);
  padding: 70px 0 54px;
}

.footer-brand {
  gap: 16px;
  max-width: 100%;
  margin-bottom: 18px;
}

.brand-mark-footer {
  width: 58px;
  height: 58px;
}

.footer-brand .brand-word {
  font-size: 34px;
  letter-spacing: -0.04em;
}

.brand-mark-dialog {
  width: 34px;
  height: 34px;
}

.footer-main > div:first-child p {
  margin: 0;
  color: var(--footer-copy);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
}

.footer-brand-copy {
  display: grid;
  gap: 6px;
}

.footer-main > div:first-child .footer-brand-promise {
  color: #eef5ff;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links strong {
  margin-bottom: 5px;
  color: var(--footer-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-links a,
.footer-links button {
  width: max-content;
  max-width: 100%;
  padding: 0;
  color: var(--footer-link);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.footer-disabled {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 0;
  cursor: default;
  color: #b3c4de;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.footer-links small {
  padding: 1px 6px;
  color: #dbe7fb;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.footer-workflow-link small {
  color: #f5fbff;
  background: rgba(134, 205, 255, 0.18);
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--footer-heading);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  color: var(--footer-link);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 500;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-filing {
  color: #b7c8e2;
}

.footer-bottom-links a:hover {
  color: var(--footer-heading);
}

.auth-dialog {
  width: min(calc(100% - 32px), 560px);
  max-height: min(90vh, 800px);
  padding: 30px;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ink);
  background: #f8faf9;
  border: 1px solid rgba(10, 34, 46, 0.16);
  border-radius: 14px;
  box-shadow: 0 42px 120px rgba(0, 8, 15, 0.48);
  scrollbar-width: thin;
  scrollbar-color: #b8c8c3 transparent;
}

.auth-dialog::backdrop {
  background: rgba(2, 10, 16, 0.78);
  backdrop-filter: blur(9px);
}

.auth-dialog[open] {
  animation: dialog-in 220ms ease both;
}

.dialog-close {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 34px;
  height: 34px;
  color: #7b8b92;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.dialog-close:hover {
  color: var(--ink);
  background: #e9efec;
}

.dialog-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 38px;
}

.dialog-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.dialog-brand .brand-word {
  color: var(--ink);
}

.dialog-brand .brand-word span {
  color: #2aa6cc;
}

.dialog-brand small {
  color: #99a5aa;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.09em;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 24px 0;
  padding: 4px;
  background: #e9efec;
  border-radius: 8px;
}

.auth-tabs button {
  min-height: 42px;
  color: #718087;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}

.auth-tabs button.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 3px 10px rgba(16, 39, 49, 0.08);
}

.auth-copy h2 {
  margin-bottom: 7px;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.auth-copy p {
  margin-bottom: 20px;
  color: #708087;
  font-size: 14px;
}

#authForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-fields {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.auth-fields label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  color: #53656d;
  font-size: 13px;
  font-weight: 650;
}

.auth-fields input[type='text'],
.auth-fields input[type='email'],
.auth-fields input[type='password'],
.auth-fields input[type='tel'],
.captcha-row > input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5dfdb;
  border-radius: 7px;
  outline: 0;
  font-size: 14px;
}

#authForm input:focus,
#emailVerificationForm input:focus {
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(27, 59, 150, 0.11);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.password-hint {
  margin: -3px 0 0;
  color: #8a989e;
  font-size: 12px;
}

.captcha-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.captcha-field > label {
  color: #53656d;
  font-size: 13px;
  font-weight: 650;
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr 152px;
  gap: 10px;
}

.captcha-image {
  position: relative;
  display: grid;
  height: 48px;
  overflow: hidden;
  place-items: center;
  padding: 0;
  background: #e6eeeb;
  border: 1px solid #ccd9d4;
  border-radius: 7px;
  cursor: pointer;
}

.captcha-image canvas {
  display: block;
  width: 132px;
  height: 46px;
}

.captcha-image > span {
  position: absolute;
  right: 5px;
  bottom: 3px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: #53717a;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}

.captcha-field > small {
  color: #8a989e;
  font-size: 12px;
  font-weight: 400;
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #718087;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.check-row input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--teal-dark);
}

.auth-options a {
  color: #5878ca;
}

.auth-options a:hover {
  text-decoration: underline;
}

.terms-row {
  align-items: flex-start;
}

.terms-row input {
  margin-top: 3px;
}

.terms-row span {
  min-width: 0;
  line-height: 1.6;
}

.terms-row a {
  color: #315db5;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(49, 93, 181, 0.32);
  text-underline-offset: 3px;
}

.terms-row a:hover,
.terms-row a:focus-visible {
  color: #173969;
  text-decoration-color: currentColor;
}

.auth-error {
  margin: 0;
  padding: 9px 11px;
  color: #a73e38;
  background: #fbeceb;
  border: 1px solid #f2cbc8;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.5;
}

.auth-submit {
  width: 100%;
  margin-top: 3px;
  border: 0;
}

.auth-submit[disabled] {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.register-only {
  display: none !important;
}

.auth-dialog.register-mode .login-only {
  display: none !important;
}

.auth-dialog.register-mode .register-only {
  display: flex !important;
}

.verification-panel,
.verified-panel {
  padding-top: 28px;
}

.verification-back {
  margin-bottom: 25px;
  padding: 0;
  color: #66777f;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
}

.verification-back:hover {
  color: var(--teal-dark);
}

.verify-mark {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  place-items: center;
  color: #5878ca;
  background: #e8eefb;
  border: 1px solid #cbd8f3;
  border-radius: 13px;
  font-family: ui-monospace, monospace;
  font-size: 21px;
  font-weight: 800;
}

.verify-mark i {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 15px;
  height: 15px;
  background: var(--teal-dark);
  border: 3px solid #f8faf9;
  border-radius: 50%;
}

.verify-step {
  margin-bottom: 8px !important;
  color: var(--teal-dark) !important;
  font-family: ui-monospace, monospace;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.verify-copy p:last-child {
  margin-bottom: 24px;
}

.verify-copy strong {
  color: var(--ink);
  word-break: break-all;
}

#emailVerificationForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#emailVerificationForm fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

#emailVerificationForm legend {
  margin-bottom: 9px;
  color: #53656d;
  font-size: 13px;
  font-weight: 650;
}

.otp-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 14px repeat(3, 1fr);
  gap: 8px;
  align-items: center;
}

.otp-group > span {
  width: 8px;
  height: 1px;
  justify-self: center;
  background: #9eaca7;
}

.otp-group input {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5dfdb;
  border-radius: 7px;
  outline: 0;
  font-size: 21px;
  font-weight: 720;
  text-align: center;
}

.verify-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #7d8c92;
  font-size: 12px;
}

.verify-actions-row button {
  padding: 0;
  color: var(--teal-dark);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.verify-actions-row button:disabled {
  color: #9ca8ac;
  cursor: not-allowed;
}

.demo-code {
  margin: 0;
  padding: 9px 11px;
  color: #5e727a;
  background: #e8f3f0;
  border: 1px dashed #c8d5f0;
  border-radius: 6px;
  font-size: 12px;
}

.demo-code strong {
  color: #5878ca;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.16em;
}

.verified-panel {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.verified-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin-bottom: 22px;
  place-items: center;
  color: #274fa8;
  background: #e5ebf9;
  border: 1px solid #cbd7f2;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 800;
}

.verified-panel h2 {
  margin-bottom: 9px;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.verified-panel > p:not(.verify-step) {
  max-width: 390px;
  margin-bottom: 26px;
  color: #708087;
  font-size: 14px;
}

.verified-panel .button {
  width: 100%;
}

.prototype-note {
  margin: 17px 0 0;
  padding-top: 14px;
  color: #95a2a7;
  border-top: 1px solid #e1e8e5;
  font-size: 12px;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 24px;
  bottom: 24px;
  display: flex;
  max-width: 355px;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 17px;
  color: #cad6db;
  background: #0d202c;
  border: 1px solid rgba(49, 88, 184, 0.2);
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast > span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(49, 88, 184, 0.1);
}

.toast p {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: #8297a1;
  font-size: 12px;
}

.toast strong {
  color: #d7e1e5;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 120ms;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    box-shadow: 0 0 0 0 rgba(49, 88, 184, 0.35);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(49, 88, 184, 0);
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 1401px) {
  .site-header .nav-shell {
    width: min(calc(100% - 48px), 1440px);
  }
}

@media (min-width: 1161px) and (max-width: 1400px) {
  .brand-sub,
  .brand-divider {
    display: none;
  }
}

@media (max-width: 1160px) {
  .primary-nav {
    gap: 14px;
  }

  .brand-sub,
  .brand-divider {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 85px;
    padding-top: 185px;
    padding-bottom: 80px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .product-stage {
    justify-self: center;
    width: min(100%, 850px);
    min-width: 0;
  }

  .resource-layout,
  .analysis-shell {
    gap: 55px;
  }
}

@media (max-width: 1160px) {
  .site-header {
    height: 70px;
  }

  .menu-button {
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-left: 10px;
    order: 3;
    flex: 0 0 auto;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 7px;
    cursor: pointer;
  }

  .menu-button span {
    width: 18px;
    height: 1px;
    background: #c7d3d8;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded='true'] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button[aria-expanded='true'] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .header-navigation {
    position: fixed;
    top: 70px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    max-height: calc(100dvh - 86px);
    overflow-y: auto;
    margin-left: 0;
    background: #284e91;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  }

  .header-navigation.open {
    display: flex;
  }

  .primary-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav a {
    padding: 12px 13px;
  }

  .primary-nav a::after {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-actions .button-quiet {
    display: none;
  }
}

@media (max-width: 920px) {
  .app-window {
    transform: none;
  }

  .product-stage:hover .app-window {
    transform: translateY(-2px);
  }

  .section-heading,
  .workflow-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading > p,
  .workflow-intro > p:last-child {
    max-width: 660px;
  }

  .workflow-map {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 18px;
  }

  .map-line {
    display: none;
  }

  .workflow-node {
    min-height: 112px;
    padding: 50px 14px 16px;
  }

  .resource-layout,
  .analysis-shell {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .software-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .scenario-grid,
  .documentation-grid {
    grid-template-columns: 1fr 1fr;
  }

  .enterprise-service-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-service-grid .collaboration-card {
    min-height: 0;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-support {
    min-height: 0;
  }

  .support-action {
    margin-top: 0;
  }

  .resource-copy h2,
  .resource-copy > p:not(.section-kicker) {
    max-width: 680px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .nav-actions .button-small {
    min-height: 44px;
    padding-inline: 13px;
    font-size: 14px;
  }

  .hero-layout {
    gap: 36px;
    padding-top: 106px;
    padding-bottom: 44px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .product-stage.reveal {
    opacity: 1;
    transform: none;
  }

  .hero h1 {
    font-size: clamp(36px, 9.8vw, 48px);
  }

  .hero-tagline {
    font-size: 17px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 20px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .tool-row {
    gap: 9px;
    font-size: 13px;
  }

  .stage-label {
    display: none;
  }

  .stage-caption {
    padding: 12px 0 0;
    font-size: 12px;
  }

  .app-window {
    border-radius: 10px;
  }

  .app-titlebar {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 10px;
  }

  .window-dots,
  .app-sidebar {
    display: none;
  }

  .project-switcher {
    min-width: 0;
  }

  .project-switcher strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .window-dots span:nth-child(n + 2) {
    display: none;
  }

  .project-switcher small,
  .sync-status {
    display: none;
  }

  .app-body {
    grid-template-columns: minmax(0, 1fr);
    min-height: 260px;
  }

  .app-sidebar {
    padding-top: 10px;
  }

  .side-mark {
    width: 24px;
    height: 24px;
  }

  .side-tools {
    gap: 6px;
    margin-top: 30px;
  }

  .side-tools button {
    width: 25px;
    height: 25px;
  }

  #workflowCarousel .config-panel {
    display: none;
  }

  .molecule-viewport {
    min-height: 240px;
  }

  .workflow-rail {
    display: none;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-proof-item {
    min-height: 64px;
    padding: 12px 14px;
  }

  .section {
    padding: 88px 0;
  }

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

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

  .capability-featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 610px;
  }

  .capability-card:last-child {
    grid-column: auto;
  }

  .box-visual {
    min-height: 310px;
  }

  .box-frame {
    width: 205px;
    height: 205px;
  }

  .workflow-intro {
    margin-bottom: 56px;
  }

  .workflow-switcher {
    margin-bottom: 36px;
  }

  .workflow-map {
    grid-template-columns: 1fr 1fr;
    row-gap: 42px;
  }

  .resource-section {
    overflow: hidden;
  }

  .account-console {
    padding: 22px 17px;
  }

  .account-top > div strong {
    font-size: 28px;
  }

  .latest-charge {
    grid-template-columns: auto 1fr;
  }

  .latest-charge > strong {
    grid-column: 2;
  }

  .analysis-chart {
    padding: 18px 12px 15px;
  }

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

  .scenario-grid,
  .documentation-grid {
    grid-template-columns: 1fr;
  }

  .scenario-entry {
    min-height: 148px;
    padding: 24px;
  }

  .software-logo {
    height: 126px;
  }

  .centered-heading {
    margin-bottom: 38px;
  }

  .collaboration-options {
    grid-template-columns: 1fr;
  }

  .collaboration-card {
    min-height: 0;
    padding: 30px 26px;
  }

  .collaboration-card .collaboration-service-list {
    grid-template-columns: 1fr;
  }

  .collaboration-steps {
    grid-template-columns: 1fr 1fr;
  }

  .collaboration-research-coverage {
    grid-template-columns: 1fr;
  }

  .contact-support,
  .contact-form {
    padding: 34px 26px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .chart-meta > span {
    display: none;
  }

  .chart-summary strong {
    font-size: 13px;
  }

  .cta-content {
    min-height: 520px;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions .button {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 18px 0;
  }

  .footer-meta {
    gap: 10px 16px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }
}

@media (max-width: 350px) {
  .site-header .brand-word {
    display: none;
  }
}

@media (max-width: 440px) {
  .brand-word {
    font-size: 16px;
  }

  .site-header .brand {
    gap: 7px;
  }

  .site-header .brand-mark {
    width: 27px;
    height: 27px;
  }

  .footer-brand {
    gap: 12px;
  }

  .brand-mark-footer {
    width: 50px;
    height: 50px;
  }

  .footer-brand .brand-word {
    font-size: 28px;
  }

  .footer-main > div:first-child p {
    font-size: 16px;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    margin-left: 4px;
  }

  .nav-actions {
    margin-left: auto;
    gap: 2px;
  }

  .nav-actions .button-small span[aria-hidden='true'] {
    display: none;
  }

  .nav-actions .button-small {
    padding-inline: 8px;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 34px;
  }

  .eyebrow {
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .model-toolbar {
    padding-inline: 10px;
  }

  .view-pills span:nth-child(n + 2) {
    display: none;
  }

  .viewport-hud > div:nth-child(2) {
    display: none;
  }

  .capability-card {
    padding: 24px;
  }

  .workflow-map {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .collaboration-steps {
    grid-template-columns: 1fr;
  }

  .auth-dialog {
    max-height: 94dvh;
    padding: 24px 18px;
  }

  .dialog-brand small {
    display: none;
  }

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

  .captcha-row {
    grid-template-columns: 1fr 140px;
    gap: 7px;
  }

  .captcha-image canvas {
    width: 122px;
  }

  .otp-group {
    grid-template-columns: repeat(3, 1fr) 9px repeat(3, 1fr);
    gap: 5px;
  }

  .otp-group input {
    height: 49px;
    font-size: 19px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Phase 85: aligned public header */
.site-header .nav-shell {
  width: min(calc(100% - 48px), var(--max));
}

.site-header .header-navigation.open .primary-nav {
  display: flex;
}

.site-header .brand-mark {
  width: 48px;
  height: 48px;
}

.site-header .brand-word {
  font-size: 24px;
}

.site-header .brand-sub {
  font-size: 15px;
  max-width: none;
  white-space: nowrap;
}

.site-header .primary-nav a,
.site-header .header-login,
.site-header .header-register {
  font-size: 18px;
}

@media (max-width: 1160px) {
  .site-header .brand-mark {
    width: 40px;
    height: 40px;
  }

  .site-header .brand-word {
    font-size: 22px;
  }

  .site-header .header-login,
  .site-header .header-register {
    font-size: 16px;
  }
}

@media (max-width: 720px) {
  .site-header .nav-shell {
    width: min(calc(100% - 32px), var(--max));
  }
}

@media (max-width: 440px) {
  .site-header .brand-mark {
    width: 32px;
    height: 32px;
  }

  .site-header .brand-word {
    font-size: 16px;
  }

  .site-header .header-login,
  .site-header .header-register {
    font-size: 14px;
  }
}

/* Phase 93: persistent current-page navigation */
.site-header .primary-nav a[aria-current='page'] {
  color: #ffffff;
  font-weight: 700;
  border-radius: 4px;
  background: #ffffff24;
  box-shadow: 0 0 0 7px #ffffff24;
}

.site-header .primary-nav a[aria-current='page']::after {
  height: 3px;
  background: var(--product-focus, #91dafa);
  transform: scaleX(1);
  transform-origin: left;
}

.site-header .primary-nav a:focus-visible {
  outline: 2px solid var(--product-focus, #91dafa);
  outline-offset: 7px;
}

/* Standalone showcase package: give desktop navigation more breathing room. */
@media (min-width: 1161px) {
  .site-header .primary-nav {
    gap: 26px;
  }

  .site-header .primary-nav a {
    letter-spacing: 0.025em;
  }
}

@media (max-width: 1160px) {
  .site-header .primary-nav a[aria-current='page'] {
    box-shadow: none;
    border-inline-start: 3px solid var(--product-focus, #91dafa);
  }

  .site-header .primary-nav a:focus-visible {
    outline-offset: -2px;
  }
}

/* Phase 94: shared public footer, independent of product palettes */
.site-footer a:focus-visible {
  outline: 2px solid #91dafa;
  outline-offset: 4px;
  border-radius: 3px;
}

.site-footer .footer-bottom-links {
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .site-footer .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .site-footer .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
}
