:root {
  color-scheme: light;
  --ink: oklch(21% 0.025 245);
  --muted: oklch(47% 0.028 245);
  --line: oklch(88% 0.012 235);
  --page: oklch(98% 0.006 235);
  --surface: oklch(99.4% 0.004 235);
  --surface-soft: oklch(96.8% 0.008 235);
  --navy: oklch(22% 0.045 245);
  --navy-deep: oklch(14% 0.035 245);
  --blue: oklch(55% 0.19 252);
  --blue-soft: oklch(94% 0.04 252);
  --teal: oklch(67% 0.14 183);
  --success: oklch(56% 0.14 150);
  --focus: oklch(70% 0.17 82);
  --content: 1180px;
  font-family:
    "Microsoft YaHei UI",
    "PingFang SC",
    "Noto Sans CJK SC",
    "Segoe UI",
    Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--navy-deep);
  background: var(--surface);
  border-radius: 4px;
  transform: translateY(-150%);
}

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

.section-inner,
.entry-header-inner {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.entry-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 68px;
  background: color-mix(in oklch, var(--surface) 96%, transparent);
  border-bottom: 1px solid var(--line);
}

.entry-header-inner {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  height: 100%;
}

.entry-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 48px;
  gap: 10px;
}

.entry-brand img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 6px;
}

.entry-brand span {
  display: grid;
  line-height: 1.1;
}

.entry-brand strong {
  font-size: 17px;
}

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

.entry-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.entry-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.entry-nav a:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 44px;
  padding-inline: 19px;
  color: var(--surface);
  background: var(--navy);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.header-action:hover {
  background: var(--blue);
}

.entry-hero {
  position: relative;
  display: grid;
  min-height: 700px;
  max-height: 760px;
  overflow: hidden;
  color: oklch(97% 0.006 235);
  background: var(--navy-deep);
}

.entry-hero-image,
.entry-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.entry-hero-image {
  object-fit: cover;
  object-position: 54% center;
  opacity: 0.68;
}

.entry-hero-shade {
  background: color-mix(in oklch, var(--navy-deep) 68%, transparent);
}

.entry-hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto 64px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.entry-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 72px;
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 18px 0 0;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-summary {
  max-width: 620px;
  margin: 18px 0 0;
  color: oklch(89% 0.012 235);
  font-size: 17px;
  line-height: 1.75;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 750;
  transition:
    color 180ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-action {
  color: var(--navy-deep);
  background: oklch(94% 0.015 235);
}

.primary-action:hover {
  color: oklch(96% 0.008 235);
  background: var(--blue);
}

.secondary-action {
  color: oklch(96% 0.008 235);
  background: color-mix(in oklch, var(--navy-deep) 55%, transparent);
  border-color: color-mix(in oklch, oklch(96% 0.008 235) 40%, transparent);
}

.secondary-action:hover {
  background: color-mix(in oklch, var(--navy) 88%, transparent);
  border-color: oklch(96% 0.008 235);
}

.hero-status {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: color-mix(in oklch, var(--navy-deep) 90%, transparent);
  border-top: 1px solid color-mix(in oklch, oklch(96% 0.008 235) 18%, transparent);
}

.hero-status span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 24px;
  color: oklch(86% 0.012 235);
  border-right: 1px solid color-mix(in oklch, oklch(96% 0.008 235) 18%, transparent);
  font-size: 13px;
  font-weight: 650;
}

.hero-status span:last-child {
  border-right: 0;
}

.hero-status i {
  width: 8px;
  height: 8px;
  margin-right: 9px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--teal) 18%, transparent);
}

.architecture-section,
.capability-section,
.observatory-section,
.role-section {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.6fr);
  column-gap: 80px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
}

.section-heading h2,
.capability-intro h2,
.observatory-heading h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.capability-intro > p,
.observatory-heading > p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.architecture-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  column-gap: 24px;
  align-items: center;
  min-height: 150px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.architecture-index {
  align-self: start;
  color: var(--blue);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 14px;
  font-weight: 700;
}

.architecture-list h3,
.capability-table h3,
.role-paths h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.architecture-list p {
  max-width: 68ch;
  margin: 8px 0 0;
  color: var(--muted);
}

.architecture-list article > a,
.text-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
}

.architecture-list article > a:hover,
.text-action:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.capability-section {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.4fr);
  gap: 84px;
  align-items: start;
}

.capability-intro {
  position: sticky;
  top: 104px;
}

.capability-intro > p {
  margin-top: 20px;
}

.capability-intro .text-action {
  margin-top: 20px;
}

.capability-table {
  border-top: 1px solid var(--line);
}

.capability-table article {
  display: grid;
  grid-template-columns: minmax(190px, 0.78fr) minmax(260px, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 116px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.system-id {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 800;
}

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

.ready-state {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 3px 10px;
  color: oklch(38% 0.12 150);
  background: oklch(94% 0.04 150);
  border: 1px solid oklch(84% 0.07 150);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.observatory-section {
  color: oklch(95% 0.008 235);
  background: var(--navy-deep);
}

.observatory-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 38px;
}

.observatory-heading > p {
  color: oklch(76% 0.018 235);
}

.observatory-preview {
  position: relative;
  display: block;
  overflow: hidden;
  background: oklch(10% 0.025 235);
  border: 1px solid oklch(36% 0.05 220);
  border-radius: 8px;
}

.observatory-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.observatory-preview span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 16px;
  color: var(--navy-deep);
  background: oklch(95% 0.008 235);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
}

.observatory-preview:hover img {
  transform: scale(1.012);
}

.observatory-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0 0;
  border-top: 1px solid oklch(36% 0.05 220);
}

.observatory-facts div {
  padding: 24px;
  border-right: 1px solid oklch(36% 0.05 220);
}

.observatory-facts div:first-child {
  padding-left: 0;
}

.observatory-facts div:last-child {
  border-right: 0;
}

.observatory-facts dt {
  color: oklch(70% 0.018 235);
  font-size: 12px;
}

.observatory-facts dd {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 750;
}

.compact-heading {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.role-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.role-paths article {
  padding: 38px 54px 38px 0;
}

.role-paths article + article {
  padding-right: 0;
  padding-left: 54px;
  border-left: 1px solid var(--line);
}

.role-paths article > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.role-paths h3 {
  margin-top: 8px;
}

.role-paths ol {
  margin: 22px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.role-paths li + li {
  margin-top: 8px;
}

.role-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
}

.role-action p {
  margin: 0;
  color: var(--muted);
}

.dark-action {
  color: var(--surface);
  background: var(--navy);
}

.entry-footer {
  padding: 44px 0;
  color: oklch(86% 0.012 235);
  background: var(--navy);
}

.entry-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.entry-footer strong {
  color: oklch(97% 0.006 235);
  font-size: 17px;
}

.entry-footer p {
  margin: 4px 0 0;
  color: oklch(70% 0.02 235);
  font-size: 13px;
}

.entry-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.entry-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 14px;
  font-size: 13px;
}

.entry-footer nav a:hover {
  color: oklch(97% 0.006 235);
}

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

  .entry-nav {
    display: none;
  }

  .entry-hero {
    min-height: 680px;
  }

  .entry-hero-image {
    object-position: 48% center;
  }

  .entry-hero-shade {
    background: color-mix(in oklch, var(--navy-deep) 76%, transparent);
  }

  .entry-hero h1 {
    font-size: 60px;
  }

  .section-heading,
  .capability-layout,
  .observatory-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .capability-intro {
    position: static;
  }

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

  .observatory-facts div:nth-child(2) {
    border-right: 0;
  }

  .observatory-facts div:nth-child(n + 3) {
    border-top: 1px solid oklch(36% 0.05 220);
  }
}

@media (max-width: 640px) {
  .section-inner,
  .entry-header-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .entry-header {
    height: 64px;
  }

  .entry-brand small {
    display: none;
  }

  .entry-brand img {
    width: 32px;
    height: 32px;
  }

  .header-action {
    padding-inline: 15px;
  }

  .entry-hero {
    min-height: 720px;
    max-height: none;
  }

  .entry-hero-content {
    width: min(calc(100% - 32px), var(--content));
    margin-bottom: 128px;
  }

  .entry-hero-image {
    object-position: 54% center;
    opacity: 0.52;
  }

  .entry-hero-shade {
    background: color-mix(in oklch, var(--navy-deep) 72%, transparent);
  }

  .entry-hero h1 {
    font-size: 52px;
  }

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

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

  .hero-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-status {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 108px;
    padding: 8px 12px;
  }

  .hero-status span {
    justify-content: center;
    min-width: 0;
    padding-inline: 8px;
    border-right: 0;
    font-size: 12px;
    white-space: normal;
  }

  .hero-status span:nth-child(odd) {
    border-right: 1px solid color-mix(in oklch, oklch(96% 0.008 235) 18%, transparent);
  }

  .hero-status span:nth-child(n + 3) {
    border-top: 1px solid color-mix(in oklch, oklch(96% 0.008 235) 18%, transparent);
  }

  .architecture-section,
  .capability-section,
  .observatory-section,
  .role-section {
    padding: 68px 0;
  }

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

  .section-heading h2,
  .capability-intro h2,
  .observatory-heading h2 {
    font-size: 30px;
  }

  .architecture-list article {
    grid-template-columns: 44px minmax(0, 1fr);
    row-gap: 12px;
    min-height: 0;
    padding: 26px 0;
  }

  .architecture-list article > a {
    grid-column: 2;
  }

  .capability-layout {
    gap: 42px;
  }

  .capability-table article {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 0;
    padding: 22px 0;
  }

  .capability-table article > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .ready-state {
    align-self: start;
  }

  .observatory-heading {
    margin-bottom: 28px;
  }

  .observatory-preview img {
    aspect-ratio: 4 / 3;
  }

  .observatory-preview span {
    right: 10px;
    bottom: 10px;
  }

  .observatory-facts div {
    padding: 18px 12px;
  }

  .observatory-facts div:first-child {
    padding-left: 12px;
  }

  .role-paths {
    grid-template-columns: 1fr;
  }

  .role-paths article,
  .role-paths article + article {
    padding: 28px 0;
    border-left: 0;
  }

  .role-paths article + article {
    border-top: 1px solid var(--line);
  }

  .role-action,
  .entry-footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .entry-footer nav {
    margin-inline: -14px;
  }
}

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

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