:root {
  --ink: #0b1220;
  --ink-soft: #20323d;
  --muted: #667782;
  --line: #d8e4e6;
  --surface: #f6f9f8;
  --panel: #ffffff;
  --brand: #14b8a6;
  --brand-dark: #0f766e;
  --brand-soft: #8bdddd;
  --field: #eef6f5;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(11, 18, 32, 0.12);
  --home-header-height: 93px;
  --home-footer-height: 46px;
  color-scheme: light;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

body[data-page="home"] {
  height: 100svh;
  overflow: hidden;
}

body[data-page="docs"] .site-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

body[data-page="docs"] main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

body[data-page="home"] .site-header {
  position: fixed;
  right: 0;
  left: 0;
}

.home-main {
  position: fixed;
  top: var(--home-header-height);
  right: 0;
  bottom: var(--home-footer-height);
  left: 0;
  overflow: hidden;
  background: var(--surface);
}

.home-track {
  height: 100%;
  transform: translateY(calc(var(--home-view-index, 0) * -100%));
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.home-view {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  scroll-margin-top: var(--home-header-height);
}

.home-section {
  min-height: 100%;
  display: grid;
  align-content: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 228, 230, 0.74);
  background: rgba(246, 249, 248, 0.88);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-link img {
  width: 300px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: #e5f4f2;
  color: var(--brand-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.icon-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.icon-link:hover {
  transform: translateY(-1px);
  border-color: var(--brand-soft);
  background: #f2fbfa;
  color: var(--brand-dark);
}

.icon-link.is-disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.icon-link.is-disabled:hover {
  transform: none;
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--brand-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.16);
}

.button.light {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.light:hover {
  border-color: var(--brand-soft);
  background: #f2fbfa;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #07111f;
  color: #fff;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94) 0%, rgba(7, 17, 31, 0.8) 44%, rgba(7, 17, 31, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.18) 0%, rgba(7, 17, 31, 0.92) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 100%;
  display: grid;
  align-items: center;
  padding: clamp(30px, 7vh, 62px) 0;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #a6ffef;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 20px;
  font-size: 88px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy .lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: #d7e8e7;
  font-size: 22px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-status {
  position: absolute;
  right: clamp(20px, 7vw, 96px);
  bottom: clamp(18px, 4vh, 30px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  gap: 12px;
  width: min(430px, calc(100% - 40px));
}

.status-tile {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(7, 17, 31, 0.56);
}

.status-tile strong {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
}

.status-tile span {
  color: #bdd0d0;
  font-size: 13px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section.home-section {
  padding-top: clamp(8px, 1.6vh, 12px);
  padding-bottom: clamp(8px, 1.6vh, 12px);
}

.fact-panel {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.55fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.section-header h2,
.section-header h3 {
  margin-bottom: 16px;
  font-size: 54px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.section-header h3 {
  font-size: 34px;
}

.section-header p {
  color: var(--muted);
  font-size: 18px;
}

.capability-grid,
.scenario-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.capability,
.scenario,
.metric,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.capability,
.scenario {
  padding: 28px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.capability:hover,
.scenario:hover {
  transform: translateY(-3px);
  border-color: var(--brand-soft);
  box-shadow: var(--shadow);
}

.capability .index,
.scenario .index {
  display: block;
  margin-bottom: 28px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.capability h3,
.scenario h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.capability p,
.scenario p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-surface {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.48fr);
  gap: clamp(18px, 2.6vw, 28px);
  align-items: stretch;
}

.monitor-panel {
  overflow: hidden;
  border-radius: var(--radius);
  background: #07111f;
  color: #fff;
  box-shadow: var(--shadow);
}

.monitor-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 22px;
}

.monitor-topbar span {
  color: #b8d2d2;
}

.monitor-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 16px;
  padding: 16px;
}

.rack-map {
  min-height: clamp(220px, 38vh, 290px);
  display: grid;
  grid-template-columns: repeat(5, minmax(38px, 1fr));
  gap: 12px;
}

.rack {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.2), rgba(255, 255, 255, 0.04));
}

.rack::before,
.rack::after {
  position: absolute;
  left: 14px;
  right: 14px;
  content: "";
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.26);
}

.rack::before {
  top: 28px;
  height: 24%;
}

.rack::after {
  bottom: 28px;
  height: 34%;
}

.rack.is-warning {
  background: linear-gradient(180deg, rgba(253, 224, 71, 0.28), rgba(255, 255, 255, 0.04));
}

.rack.is-alarm {
  background: linear-gradient(180deg, rgba(255, 77, 141, 0.28), rgba(255, 255, 255, 0.04));
}

.event-list {
  display: grid;
  align-content: start;
  gap: 12px;
}

.event {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.event strong {
  display: block;
  margin-bottom: 4px;
}

.event span {
  color: #bdd0d0;
  font-size: 13px;
}

.metric {
  padding: clamp(15px, 2.4vh, 20px);
}

.metric-grid.vertical {
  grid-template-columns: 1fr;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(28px, 3.5vw, 36px);
  line-height: 1;
}

.metric span {
  color: var(--muted);
}

.demo-credentials {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--ink-soft);
}

.demo-credentials dt,
.demo-credentials dd {
  margin: 0;
}

.demo-credentials div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(15, 118, 110, 0.16);
  padding-bottom: 8px;
}

.demo-credentials div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
  align-items: stretch;
}

.pricing-showcase {
  scroll-margin-top: 96px;
}

.price-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--field);
  padding: clamp(18px, 2.8vh, 24px) clamp(18px, 2vw, 24px);
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.price-card.featured {
  background: var(--panel);
  border-color: var(--brand);
  border-width: 2px;
  box-shadow: 0 24px 70px rgba(15, 118, 110, 0.16);
}

.price-card h3 {
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: clamp(25px, 3vw, 29px);
  line-height: 1.2;
}

.price-summary {
  min-height: 0;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 16px;
}

.price-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  min-height: 0;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(32px, 3.7vw, 39px);
  font-weight: 800;
  line-height: 1;
}

.price-value span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.pricing-showcase .plain-list {
  gap: 0;
  margin-bottom: 18px;
  text-align: left;
}

.pricing-showcase .plain-list li {
  position: relative;
  display: block;
  border-bottom: 1px dashed rgba(15, 118, 110, 0.22);
  padding: 6px 0 6px 22px;
  color: var(--ink-soft);
  font-size: 15px;
}

.pricing-showcase .plain-list li::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 6px;
  height: 6px;
  margin-top: 0;
}

.pricing-showcase .plain-list strong {
  color: var(--ink);
}

.pricing-showcase .section-header {
  display: block;
  max-width: 720px;
  margin: 0 auto clamp(14px, 2.4vh, 20px);
  text-align: center;
}

.pricing-showcase .section-header h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3.2vw, 30px);
  line-height: 1.25;
}

.pricing-showcase .section-header p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.price-action {
  min-width: 134px;
  min-height: 40px;
  margin: auto auto 0;
}

.button.muted {
  border-color: #a8b3b8;
  background: #a8b3b8;
  color: #fff;
}

.button.muted:hover {
  border-color: #8f9ca2;
  background: #8f9ca2;
}

.capability-view .section-header,
.architecture-view .section-header {
  margin-bottom: clamp(14px, 2.4vh, 20px);
  align-items: center;
}

.capability-view .section-header h3,
.architecture-view .section-header h3 {
  font-size: clamp(28px, 3.6vw, 34px);
}

.capability-view .section-header p,
.architecture-view .section-header p {
  font-size: 16px;
}

.capability-view {
  background: #fff;
}

.capability-grid.dense {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.capability-grid.dense .capability {
  padding: clamp(14px, 2vh, 18px);
}

.capability-grid.dense .capability .index {
  margin-bottom: 10px;
}

.capability-grid.dense .capability h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.capability-grid.dense .capability p {
  font-size: 14px;
  line-height: 1.55;
}

.architecture-view {
  background: var(--surface);
}

.architecture-layout {
  display: grid;
  gap: 14px;
}

.timeline.architecture.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.timeline.architecture.compact .timeline-item {
  padding: clamp(14px, 2vh, 18px);
}

.timeline.architecture.compact .timeline-item span {
  margin-bottom: 10px;
}

.timeline.architecture.compact .timeline-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.timeline.architecture.compact .timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.metric-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid.compact .metric {
  padding: clamp(14px, 2vh, 18px);
}

.metric-grid.compact .metric strong {
  font-size: clamp(26px, 3vw, 32px);
}

.metric-grid.compact .metric span {
  font-size: 14px;
  line-height: 1.55;
}

.position-view {
  background: #fff;
}

.position-view .section-header,
.running-view .section-header,
.about-view .section-header {
  margin-bottom: clamp(12px, 2vh, 18px);
  align-items: center;
}

.position-view .section-header h3,
.running-view .section-header h3,
.about-view .section-header h3 {
  font-size: clamp(28px, 3.6vw, 34px);
}

.position-view .section-header p,
.running-view .section-header p,
.about-view .section-header p {
  font-size: 16px;
}

.position-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.position-points {
  display: grid;
  gap: 10px;
}

.position-point {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbfa;
  padding: clamp(12px, 1.7vh, 15px);
}

.position-point span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.position-point strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.position-point p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.scenario-grid.compact {
  grid-template-columns: 1fr;
  gap: 10px;
}

.scenario-grid.compact .scenario {
  padding: clamp(12px, 1.7vh, 15px);
}

.scenario-grid.compact .scenario .index {
  margin-bottom: 8px;
}

.scenario-grid.compact .scenario h3 {
  font-size: 18px;
}

.scenario-grid.compact .scenario p {
  font-size: 14px;
  line-height: 1.55;
}

.about-view {
  background: #fff;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.58fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.about-summary {
  display: grid;
  align-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbfa;
  padding: clamp(16px, 2.2vh, 24px);
}

.about-summary p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.55;
}

.about-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-pill-row span {
  border: 1px solid rgba(20, 184, 166, 0.26);
  border-radius: var(--radius);
  background: #edf8f7;
  padding: 5px 8px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.contact-facts.compact div {
  padding: clamp(9px, 1.35vh, 12px) 16px;
}

body[data-page="home"] .site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
}

.home-footer-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: var(--home-footer-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #bdd0d0;
  font-size: 14px;
}

.home-footer-inner > * {
  white-space: nowrap;
}

.home-footer-inner a {
  color: #bdd0d0;
}

.home-footer-inner a:hover {
  color: #fff;
}

.compact-footer {
  margin-top: 64px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.doc-page {
  flex: 1;
  padding-top: clamp(28px, 4vh, 44px);
  padding-bottom: clamp(28px, 4vh, 44px);
}

.doc-sidebar {
  position: sticky;
  top: 112px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.doc-group {
  margin-bottom: 14px;
}

.doc-group:last-child {
  margin-bottom: 0;
}

.doc-title {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.doc-link {
  display: block;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink-soft);
  font-weight: 700;
}

.doc-link:hover,
.doc-link.is-active {
  background: #e5f4f2;
  color: var(--brand-dark);
}

.doc-loading,
.doc-error {
  color: var(--muted);
  font-weight: 700;
}

.doc-error {
  color: var(--brand-dark);
}

.doc-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 38px;
}

.doc-content > .doc-loading,
.doc-content > .doc-error {
  height: 100%;
  display: grid;
  place-items: center start;
}

.doc-section h1 {
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: 0;
}

.doc-section h2 {
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.doc-section h3 {
  margin-top: 24px;
  font-size: 24px;
}

.doc-section p {
  color: var(--ink-soft);
}

.doc-section a {
  color: var(--brand-dark);
  font-weight: 800;
}

.doc-section blockquote {
  margin: 22px 0;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #edf8f7;
  padding: 16px;
}

.doc-section blockquote p {
  margin: 0;
}

.doc-section table {
  width: 100%;
  margin: 18px 0 28px;
  border-collapse: collapse;
  overflow-wrap: anywhere;
}

.doc-section th,
.doc-section td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}

.doc-section th {
  background: #edf8f7;
  color: var(--brand-dark);
}

code {
  border-radius: 4px;
  background: #eef6f5;
  padding: 2px 6px;
  color: var(--brand-dark);
}

pre {
  overflow-x: auto;
  border-radius: var(--radius);
  background: #07111f;
  color: #d7e8e7;
  padding: 18px;
}

.plain-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  color: var(--muted);
}

.plain-list li::before {
  width: 8px;
  height: 8px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.doc-section .plain-list li {
  position: relative;
  display: block;
  padding-left: 26px;
}

.doc-section .plain-list li::before {
  position: absolute;
  top: 0.86em;
  left: 0;
  margin-top: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline-item {
  padding: 24px;
}

.timeline-item span {
  display: block;
  margin-bottom: 18px;
  color: var(--brand-dark);
  font-weight: 800;
}

.fact-panel div {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding: 18px 22px;
}

.fact-panel div:last-child {
  border-bottom: 0;
}

.fact-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.fact-panel strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

.contact-facts strong {
  overflow-wrap: anywhere;
}

.site-footer {
  background: #07111f;
  color: #d7e8e7;
}

.demo-modal[hidden] {
  display: none;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.58);
  backdrop-filter: blur(10px);
}

.demo-modal-panel {
  position: relative;
  width: min(520px, 100%);
  border: 1px solid rgba(216, 228, 230, 0.86);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 90px rgba(7, 17, 31, 0.28);
  padding: 34px;
  outline: none;
}

.demo-modal-panel .eyebrow {
  color: var(--brand-dark);
}

.demo-modal-panel h2 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.15;
}

.demo-modal-panel p {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-close:hover {
  border-color: var(--brand-soft);
  background: #edf8f7;
  color: var(--brand-dark);
}

.modal-credentials {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

body.modal-open {
  overflow: hidden;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .home-track,
  .button,
  .icon-link,
  .capability,
  .scenario,
  .price-card,
  [data-reveal] {
    transition: none;
  }

  .button:hover,
  .icon-link:hover,
  .capability:hover,
  .scenario:hover,
  [data-reveal] {
    transform: none;
  }
}

@media (max-width: 1120px) {
  :root {
    --home-header-height: 69px;
    --home-footer-height: 52px;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .brand-link img {
    width: 240px;
  }

  .home-footer-inner {
    gap: 12px;
    font-size: 13px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 8px;
    box-shadow: var(--shadow);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .hero-status {
    right: 20px;
    bottom: 20px;
    width: min(420px, calc(100% - 40px));
  }

  .section-header,
  .monitor-body,
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .section-header {
    gap: clamp(16px, 2.4vh, 24px);
  }

  .capability-grid,
  .scenario-grid,
  .metric-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline.architecture.compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .metric-grid.compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .position-layout,
  .product-surface,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .position-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .doc-sidebar {
    position: static;
  }

  h1 {
    font-size: 64px;
  }

  .section-header h2,
  .section-header h3,
  .doc-section h1 {
    font-size: 44px;
  }

  .section-header h3 {
    font-size: 28px;
  }
}

@media (max-width: 1000px) {
  body[data-page="home"] .home-view {
    overflow-y: auto;
  }

  body[data-page="home"] .running-view .product-surface {
    width: min(860px, 100%);
    margin: 0 auto;
    gap: 12px;
  }

  body[data-page="home"] .running-view .monitor-topbar {
    padding: 12px 16px;
  }

  body[data-page="home"] .running-view .monitor-topbar span {
    font-size: 13px;
  }

  body[data-page="home"] .running-view .monitor-body {
    grid-template-columns: minmax(0, 1fr) minmax(170px, 0.42fr);
    gap: 12px;
    padding: 12px;
  }

  body[data-page="home"] .running-view .rack-map {
    min-height: clamp(150px, 24vh, 210px);
    gap: 8px;
  }

  body[data-page="home"] .running-view .rack::before,
  body[data-page="home"] .running-view .rack::after {
    left: 10px;
    right: 10px;
  }

  body[data-page="home"] .running-view .rack::before {
    top: 18px;
  }

  body[data-page="home"] .running-view .rack::after {
    bottom: 18px;
  }

  body[data-page="home"] .running-view .event-list {
    gap: 8px;
  }

  body[data-page="home"] .running-view .event {
    padding: 10px;
  }

  body[data-page="home"] .running-view .event strong {
    font-size: 14px;
    line-height: 1.35;
  }

  body[data-page="home"] .running-view .metric-grid.vertical {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 760px), (max-width: 1120px) and (max-height: 560px) {
  :root {
    --home-header-height: 64px;
    --home-footer-height: 0px;
  }

  .nav-wrap,
  .section,
  .home-footer-inner {
    width: min(calc(100% - 24px), 1180px);
  }

  .nav-wrap {
    min-height: var(--home-header-height);
    gap: 10px;
  }

  .brand-link img {
    width: 132px;
  }

  .nav-actions {
    flex: 0 0 auto;
    gap: 4px;
  }

  .icon-link {
    width: 32px;
    height: 32px;
  }

  .icon-link svg {
    width: 18px;
    height: 18px;
  }

  .menu-toggle {
    width: 32px;
    height: 32px;
  }

  .menu-toggle span {
    width: 16px;
    margin: 3px auto;
  }

  body[data-page="home"] {
    height: auto;
    overflow: auto;
  }

  body[data-page="home"] .site-header {
    position: sticky;
  }

  .home-main {
    position: static;
    min-height: auto;
    overflow: visible;
  }

  .home-track {
    height: auto;
    transform: none !important;
    transition: none;
    will-change: auto;
  }

  .home-view {
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  body[data-page="home"] .home-section {
    min-height: auto;
    align-content: start;
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .hero {
    min-height: calc(100svh - var(--home-header-height));
  }

  .hero-inner {
    min-height: auto;
    padding: 34px 0 18px;
  }

  .hero-status {
    position: relative;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    width: min(calc(100% - 24px), 1180px);
    margin: 0 auto 28px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(34px, 9.2vw, 40px);
    line-height: 1.08;
  }

  .section-header h2,
  .section-header h3,
  .doc-section h1 {
    font-size: clamp(28px, 8.5vw, 34px);
    line-height: 1.18;
    text-wrap: balance;
  }

  .section-header h3 {
    font-size: clamp(24px, 7vw, 28px);
  }

  .hero-copy .lead {
    font-size: 17px;
  }

  .section {
    padding: 72px 0;
  }

  .section-header {
    gap: 28px;
  }

  .capability-grid,
  .scenario-grid,
  .metric-grid,
  .timeline,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid.dense,
  .timeline.architecture.compact,
  .metric-grid.compact,
  .position-points {
    grid-template-columns: 1fr;
  }

  .pricing-showcase .section-header h2 {
    font-size: 28px;
  }

  .price-card {
    padding: 22px 20px;
  }

  .price-value {
    font-size: 38px;
  }

  .home-footer-inner {
    min-height: var(--home-footer-height);
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    font-size: 12px;
  }

  .home-footer-inner > * {
    white-space: normal;
  }

  .doc-content {
    min-width: 0;
    padding: 24px 20px;
  }

  .doc-page {
    gap: 18px;
    padding-top: 22px;
    padding-bottom: 28px;
  }

  .doc-layout,
  .doc-sidebar {
    min-width: 0;
  }

  .doc-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 10px;
  }

  .doc-group {
    min-width: 0;
    margin-bottom: 0;
  }

  .doc-link {
    white-space: normal;
  }

  .rack-map {
    min-height: 280px;
    grid-template-columns: repeat(3, minmax(42px, 1fr));
  }

  body[data-page="home"] .running-view .monitor-body,
  body[data-page="home"] .running-view .metric-grid.vertical {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .running-view .rack-map {
    min-height: 190px;
  }

  body[data-page="home"] .site-footer {
    position: static;
  }
}
