/* 全局框架、导航、技术架构与弹窗；页面专用布局见 pages.css。 */
:root {
  --primary: #002fa7;
  --primary-light: #a8bdff;
  --bg-dark: #0a0a0a;
  --bg-light: #fafaf8;
  --bg-gray: #f0f0ee;
  --text-main: #0a0a0a;
  --text-secondary: #525252;
  --border: #d4d4d2;
  --radius: 0;
  --shadow: none;
  --space: clamp(32px,5.4vw,112px);
  --gutter: 24px;
  --header-height: 88px;
  --slide-height: 100dvh;
  --duration: 800ms;
  --ease: cubic-bezier(.22,.68,.16,1);
  --mono: 'Cascadia Code',Consolas,monospace;
  --sans: 'Inter','Helvetica Neue',Arial,'Microsoft YaHei UI','Microsoft YaHei','PingFang SC',sans-serif;
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0px;
  height: 100%;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text-main);
  background: var(--bg-light);
  overflow: hidden;
}

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

button {
  font: inherit;
  cursor: pointer;
  color: inherit;
  border: 0px;
}

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

h1, h2, h3, p {
  margin: 0px;
}

button:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: rgb(110, 149, 255) solid 3px;
  outline-offset: 5px;
}

::selection {
  background: rgb(168, 189, 255);
  color: rgb(10, 10, 10);
}

.header {
  position: fixed;
  z-index: 20;
  top: 0px;
  left: 0px;
  width: 100%;
  height: var(--header-height);
  padding: 0 var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
  color: var(--text-main);
}

.brand {
  display: block;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 178px;
  height: 68px;
  object-fit: contain;
  padding: 6px 0px;
}

.top-nav {
  display: flex;
  gap: 36px;
  height: 100%;
  align-items: center;
}

.top-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 14px;
  font-weight: 500;
  color: rgb(102, 102, 102);
}

.top-nav a[aria-current="page"] {
  color: var(--primary);
}

.top-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 3px;
  background: var(--primary);
}

.header-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.header-cta span {
  color: var(--primary);
  font-size: 24px;
}

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

#deck {
  transition: transform var(--duration) var(--ease);
  will-change: transform;
}

.slide {
  height: var(--slide-height);
  position: relative;
  overflow: hidden;
}

.light {
  background: var(--bg-light);
}

.gray {
  background: var(--bg-gray);
}

.dark {
  background: var(--bg-dark);
  color: rgb(250, 250, 248);
}

.slide-inner {
  height: 100%;
  padding: calc(var(--header-height) + 38px) calc(var(--space) + 26px) 88px var(--space);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1920px;
  margin: auto;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 1.2px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.5;
}

.section-note {
  font-size: 14px;
  font-weight: 500;
  color: rgb(101, 101, 101);
}

.dark .eyebrow, .dark .section-note {
  color: rgb(173, 173, 173);
}

h1 {
  font-size: min(6.6vw, 11.4vh);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1.22;
}

h2 {
  font-size: clamp(36px, 3.9vw, 68px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

h3 {
  font-weight: 400;
}

.body-copy {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.slide-bottom {
  position: absolute;
  bottom: 25px;
  left: var(--space);
  right: calc(var(--space) + 26px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: rgb(104, 104, 104);
  gap: 24px;
}

.dark .slide-bottom {
  color: rgb(170, 170, 170);
  border-color: rgb(55, 55, 55);
}

.slide-bottom a:hover {
  color: var(--primary);
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 500;
  min-height: 56px;
  transition: background 0.2s, color 0.2s;
}

.button span {
  font-size: 24px;
  line-height: 1;
}

.primary {
  background: var(--primary);
  color: white;
}

.primary:hover {
  background: rgb(0, 31, 116);
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 0px;
}

.text-button:hover {
  color: var(--primary);
}

.home {
  background: var(--primary);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: repeat(16, minmax(0px, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  padding-top: calc(var(--header-height) + 24px);
}

.hero-copy {
  grid-column: 1 / 12;
  z-index: 1;
  position: relative;
}

.hero-copy .eyebrow {
  color: rgb(210, 221, 255);
  margin-bottom: 38px;
  letter-spacing: 2px;
}

.hero-copy h1 {
  color: rgb(255, 255, 255);
}

.hero-copy h1 em {
  font-style: normal;
  font-weight: 300;
}

.hero-description {
  font-size: 18px;
  line-height: 1.9;
  color: rgb(210, 221, 255);
  margin: 32px 0px;
}

.home .button {
  background: rgb(250, 250, 248);
  color: var(--primary);
  min-width: 230px;
}

.home .button:hover {
  background: rgb(218, 228, 255);
}

.hero-index {
  grid-column: 12 / 17;
  position: relative;
  z-index: 1;
  align-self: center;
}

.index-caption {
  display: block;
  font-size: 14px;
  letter-spacing: 1px;
  font-family: var(--mono);
  color: rgb(194, 209, 245);
  margin-bottom: 24px;
}

.hero-index a {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border-top: 1px solid rgb(119, 148, 216);
  padding: 23px 0px;
  transition: background 0.25s;
}

.hero-index a:last-child {
  border-bottom: 1px solid rgb(119, 148, 216);
}

.hero-index a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hero-index strong {
  display: block;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -1px;
}

.hero-index small {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgb(194, 209, 245);
  margin-top: 10px;
}

.index-arrow {
  margin-left: auto;
  font-size: 24px;
  line-height: 1.7;
}

.ascii-bg {
  position: absolute;
  left: var(--space);
  right: var(--space);
  width: calc(100% - var(--space)*2);
  height: 38%;
  bottom: 11%;
  opacity: 0.15;
  pointer-events: none;
}

.home .slide-bottom {
  color: rgb(210, 221, 255);
  border-color: rgb(119, 148, 216);
}

.home .slide-bottom a:hover {
  color: white;
}

.scroll-cue {
  display: flex;
  gap: 16px;
  align-items: center;
}

.scroll-cue > span {
  font-size: 24px;
  line-height: 1;
}

.hero-copy .enter:nth-child(3) {
  transition-delay: 0.2s;
}

.lead {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.controller-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}

.controller-heading p {
  font-size: 16px;
  color: rgb(101, 101, 101);
  line-height: 1.5;
  max-width: 240px;
}

.controller-layout {
  display: grid;
  grid-template-columns: repeat(16, minmax(0px, 1fr));
  gap: var(--gutter);
  align-items: stretch;
}

.panel-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}

.panel-label > span {
  font-family: var(--sans);
  font-size: 14px;
  color: rgb(101, 101, 101);
}

.controller-copy {
  grid-column: 10 / 17;
  padding: 2px 0px;
}

.controller-copy .eyebrow {
  margin-bottom: 12px;
}

.controller-copy .body-copy {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px 24px;
}

.features button {
  display: flex;
  text-align: left;
  gap: 10px;
  align-items: center;
  padding: 17px 0px;
  background: transparent;
  border-top: 1px solid rgb(197, 197, 193);
}

.features button > span {
  display: none;
}

.features strong {
  font-size: 20px;
  font-weight: 400;
  display: block;
}

.features small {
  font-size: 14px;
  color: rgb(101, 101, 101);
  margin-top: 7px;
  display: block;
  line-height: 1.5;
}

.features b {
  font-size: 20px;
  font-weight: 400;
  margin-left: auto;
  color: var(--primary);
}

.features button:hover strong {
  color: var(--primary);
}

.data-chain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgb(188, 188, 184);
  margin-top: 28px;
  padding-top: 22px;
}

.chain-label {
  font-size: 14px;
  color: rgb(101, 101, 101);
}

.data-chain strong {
  font-size: 18px;
  font-weight: 400;
}

.data-chain i {
  font-size: 22px;
  font-style: normal;
  color: rgb(115, 115, 115);
}

.data-chain small {
  font-size: 14px;
  color: rgb(101, 101, 101);
}

.blue {
  color: var(--primary);
}

.engine-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.engine-heading h2 {
  font-size: clamp(36px, 3.65vw, 64px);
}

.engine-heading p {
  font-size: 18px;
  color: rgb(173, 173, 173);
  line-height: 1.6;
  max-width: 360px;
}

.engine-layout {
  display: grid;
  grid-template-columns: repeat(16, minmax(0px, 1fr));
  gap: var(--gutter);
  align-items: start;
  margin-top: 40px;
}

.architecture {
  grid-column: 1 / 10;
  padding: 0px 32px 0px 0px;
  border-right: 1px solid rgb(55, 55, 55);
  position: relative;
}

.architecture-label {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  color: rgb(170, 170, 170);
  margin-bottom: 22px;
  font-weight: 500;
}

.architecture-label span {
  font-family: var(--mono);
  font-size: 14px;
}

.asset-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0px, 1fr));
  gap: 0px;
  border-top: 1px solid rgb(89, 89, 89);
  border-bottom: 1px solid rgb(89, 89, 89);
}

.asset-row span {
  text-align: center;
  font-size: 16px;
  padding: 15px 0px;
  border-right: 1px solid rgb(55, 55, 55);
  color: rgb(222, 222, 222);
}

.asset-row span:last-child {
  border: 0px;
}

.bus-line {
  width: 86%;
  height: 28px;
  margin: auto;
  border-bottom: 1px solid rgb(105, 105, 105);
  display: flex;
  justify-content: space-around;
  position: relative;
}

.bus-line i {
  width: 1px;
  background: rgb(105, 105, 105);
}

.bus-line::after {
  content: "";
  width: 1px;
  height: 16px;
  background: rgb(150, 150, 150);
  position: absolute;
  bottom: -16px;
  left: 50%;
}

.engine-core {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--primary);
  padding: 26px 24px;
}

.engine-mark {
  font-size: 58px;
  letter-spacing: -4px;
  line-height: 1;
  font-weight: 300;
}

.engine-mark span {
  font-size: 32px;
  color: rgb(168, 189, 255);
  margin-left: 8px;
  letter-spacing: 0px;
}

.engine-core small {
  font-size: 14px;
  font-family: var(--mono);
  letter-spacing: 1px;
  color: rgb(206, 220, 255);
}

.engine-core strong {
  font-size: 36px;
  font-weight: 300;
  display: block;
  margin-top: 9px;
  line-height: 1.1;
}

.core-descriptor {
  font-size: 14px;
  line-height: 1.7;
  color: rgb(206, 220, 255);
  margin-left: auto;
}

.output-line {
  height: 26px;
  width: 1px;
  background: rgb(105, 105, 105);
  margin: auto;
}

.output-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0px, 1fr));
  gap: 0px;
  border: 1px solid rgb(89, 89, 89);
}

.output-row span {
  font-size: 15px;
  text-align: center;
  padding: 15px 0px;
  color: rgb(221, 221, 221);
  border-right: 1px solid rgb(89, 89, 89);
}

.output-row span:last-child {
  border-right: 0px;
}

.feedback {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgb(170, 170, 170);
  font-size: 14px;
  gap: 8px;
}

.feedback i {
  font-style: normal;
  color: rgb(119, 119, 119);
}

.engine-explorer {
  grid-column: 10 / 17;
  padding-left: 12px;
}

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

.engine-tabs button {
  padding: 12px 4px;
  font-size: 16px;
  background: transparent;
  border-bottom: 1px solid rgb(60, 60, 60);
  color: rgb(170, 170, 170);
  font-weight: 400;
}

.engine-tabs button[aria-selected="true"] {
  color: rgb(255, 255, 255);
  border-bottom: 3px solid rgb(255, 255, 255);
  background: rgb(33, 33, 33);
}

.engine-tabs button:hover {
  color: rgb(255, 255, 255);
}

#engine-panel {
  padding-top: 24px;
  min-height: 290px;
}

.panel-index {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.5px;
  color: rgb(170, 170, 170);
}

#engine-panel h3 {
  font-size: 30px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.7px;
  margin: 16px 0px;
}

#engine-panel p {
  font-size: 16px;
  line-height: 1.7;
  color: rgb(170, 170, 170);
}

.engine-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 18px;
}

.engine-fields span {
  font-size: 14px;
  color: rgb(209, 209, 209);
  border-bottom: 1px solid rgb(78, 78, 78);
  padding: 6px 0px;
}

.cooperation-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.cooperation-heading p {
  font-size: 18px;
  line-height: 1.6;
  color: rgb(101, 101, 101);
  max-width: 385px;
}

.cooperation-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0px, 1fr));
  margin-top: 40px;
  border-top: 2px solid var(--primary);
}

.cooperation-cards > button {
  text-align: left;
  background: transparent;
  padding: 24px 26px 20px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}

.cooperation-cards > button:first-child {
  padding-left: 0px;
}

.cooperation-cards > button:last-child {
  padding-right: 0px;
  border-right: 0px;
}

.cooperation-cards > button:hover {
  background: var(--bg-gray);
}

.cooperation-cards h3 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -1px;
  margin: 25px 0px 18px;
}

.cooperation-cards p {
  font-size: 18px;
  color: rgb(101, 101, 101);
  line-height: 1.7;
}

.card-tags {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: rgb(101, 101, 101);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 24px;
}

.page-dots {
  position: fixed;
  z-index: 25;
  right: 23px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-dots a {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  position: relative;
}

.page-dots a::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(160, 160, 160);
}

.page-dots a[aria-current="page"]::after {
  background: var(--primary);
  width: 7px;
  height: 7px;
}

.theme-dark .page-dots a[aria-current="page"]::after {
  background: white;
}

.page-dots span {
  position: absolute;
  right: 24px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(5px);
  transition: 0.2s;
  background: rgb(32, 32, 32);
  color: white;
  padding: 8px 12px;
  font-size: 14px;
  pointer-events: none;
}

.page-dots a:hover span, .page-dots a:focus-visible span {
  opacity: 1;
  transform: none;
}

.page-counter {
  position: fixed;
  right: 24px;
  bottom: 25px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgb(119, 119, 119);
}

.page-counter #current-number {
  font-size: 20px;
  color: var(--primary);
}

.theme-dark .page-counter #current-number {
  color: rgb(255, 255, 255);
}

.theme-dark .page-counter {
  color: rgb(176, 176, 176);
}

.page-counter i {
  height: 16px;
  width: 1px;
  background: rgb(153, 153, 153);
}

.enter {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease,transform .7s var(--ease);
}

.active .enter {
  opacity: 1;
  transform: none;
}

.active .enter:nth-child(2) {
  transition-delay: 0.1s;
}

.active .enter:nth-child(3) {
  transition-delay: 0.2s;
}

.engine .architecture.enter {
  transform: none;
  transition: opacity 0.8s;
}

.engine-core {
  transform: translateY(10px);
  opacity: 0;
  transition: transform .65s var(--ease) .18s,opacity .65s .18s;
}

.active .engine-core {
  transform: none;
  opacity: 1;
}

.cooperation-cards > button {
  transform: translateY(20px);
  opacity: 0;
  transition: transform .7s var(--ease),opacity .7s,background .2s;
}

.active .cooperation-cards > button {
  transform: none;
  opacity: 1;
}

.cooperation-cards > button:nth-child(2) {
  transition-delay: 0.1s;
}

.cooperation-cards > button:nth-child(3) {
  transition-delay: 0.2s;
}

.cooperation-cards > button:nth-child(4) {
  transition-delay: 0.3s;
}

dialog {
  border: 1px solid var(--border);
  padding: 42px;
  max-width: 600px;
  width: calc(100% - 32px);
  max-height: 85dvh;
  overflow: auto;
  color: var(--text-main);
  background: var(--bg-light);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.733);
}

dialog h2 {
  font-size: 32px;
  margin: 20px 0px;
  line-height: 1.3;
}

dialog p {
  font-size: 18px;
  line-height: 1.75;
  color: rgb(82, 82, 82);
}

dialog ul {
  padding-left: 22px;
  font-size: 16px;
  line-height: 2;
  color: rgb(82, 82, 82);
}

dialog .button {
  margin-top: 24px;
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 30px;
  background: transparent;
  color: rgb(101, 101, 101);
  width: 40px;
  height: 40px;
}

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

@media (min-width: 1700px) {
  .slide-inner {
    padding-top: calc(var(--header-height) + 56px);
    padding-bottom: 110px;
  }

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

  .hero-index a {
    padding: 32px 0px;
  }

  .hero-index strong {
    font-size: 48px;
  }

  .hero-index small {
    font-size: 16px;
  }

  .controller-copy .body-copy {
    font-size: 20px;
    line-height: 1.9;
  }

  .features button {
    padding: 26px 0px;
  }

  .features strong {
    font-size: 25px;
  }

  .features small {
    font-size: 16px;
  }

  .engine-layout {
    margin-top: 52px;
  }

  .engine-core {
    padding: 38px 32px;
  }

  .engine-core strong {
    font-size: 46px;
  }

  .engine-tabs button {
    padding: 18px 8px;
    font-size: 18px;
  }

  #engine-panel h3 {
    font-size: 36px;
  }

  #engine-panel p {
    font-size: 18px;
  }

  .cooperation-cards > button {
    padding: 32px;
  }

  .cooperation-cards h3 {
    font-size: 40px;
  }
}

@media (max-height: 820px) and (min-width: 901px) {
  :root {
    --header-height: 76px;
  }

  .brand-logo {
    height: 60px;
    width: 163px;
  }

  .slide-inner {
    padding-top: 105px;
    padding-bottom: 98px;
  }

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

  h2 {
    font-size: 46px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 26px;
  }

  .hero-description {
    margin: 24px 0px;
  }

  .hero-index a {
    padding: 20px 0px;
  }

  .controller-heading {
    margin-bottom: 25px;
  }

  .controller-copy .body-copy {
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 16px;
  }

  .data-chain {
    margin-top: 23px;
    padding-top: 20px;
  }

  .engine-heading h2 {
    font-size: 44px;
  }

  .engine-heading p {
    font-size: 16px;
    max-width: 300px;
  }

  .engine-layout {
    margin-top: 30px;
  }

  .engine-core {
    padding: 20px 22px;
  }

  .engine-core strong {
    font-size: 32px;
  }

  .feedback {
    margin-top: 24px;
  }

  .engine-tabs button {
    font-size: 15px;
  }

  #engine-panel {
    padding-top: 20px;
    min-height: 270px;
  }

  #engine-panel h3 {
    font-size: 28px;
    margin: 14px 0px;
  }

  .cooperation-cards {
    margin-top: 30px;
  }

  .cooperation-cards > button {
    padding-top: 20px;
    padding-bottom: 16px;
  }

  .cooperation-cards h3 {
    font-size: 30px;
    margin: 20px 0px 14px;
  }

  .cooperation-cards p {
    font-size: 16px;
  }

  .card-tags {
    margin-top: 20px;
    padding-top: 14px;
  }

  .slide-bottom {
    bottom: 22px;
    padding-top: 13px;
  }
}

@media (max-width: 1200px) and (min-width: 901px) {
  :root {
    --space: 38px;
    --gutter: 16px;
  }

  .header-cta {
    display: none;
  }

  .top-nav {
    gap: 28px;
  }

  .hero-copy {
    grid-column: 1 / 11;
  }

  .hero-index {
    grid-column: 12 / 17;
  }

  .index-caption {
    font-size: 12px;
  }

  .hero-index small {
    font-size: 12px;
  }

  .controller-copy {
    grid-column: 9 / 17;
  }

  .controller-heading h2 {
    font-size: 40px;
  }

  .controller-heading p {
    display: none;
  }

  .features {
    gap: 0px 15px;
  }

  .features small {
    font-size: 13px;
  }

  .engine-heading p {
    max-width: 260px;
  }

  .architecture {
    padding-right: 16px;
  }

  .engine-explorer {
    padding-left: 0px;
  }

  .architecture-label span {
    font-size: 12px;
  }

  .engine-tabs button {
    font-size: 14px;
  }

  .engine-core {
    gap: 16px;
    padding: 20px 16px;
  }

  .engine-mark {
    font-size: 46px;
  }

  .engine-core strong {
    font-size: 28px;
  }

  .engine-core small {
    font-size: 12px;
  }

  .cooperation-cards > button {
    padding: 20px;
  }

  .cooperation-heading p {
    max-width: 300px;
  }

  .card-tags {
    font-size: 13px;
  }
}

@media (max-width: 900px), (max-height: 620px) {
  :root {
    --space: 24px;
    --header-height: 112px;
  }

  body {
    overflow: auto;
  }

  .header {
    height: 112px;
    padding: 8px 24px 0px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand-logo {
    width: 136px;
    height: 53px;
    padding: 2px 0px;
  }

  .header-cta {
    font-size: 12px;
    gap: 14px;
    margin-top: 17px;
  }

  .header-cta span {
    font-size: 20px;
  }

  .top-nav {
    order: 3;
    width: 100%;
    height: 42px;
    justify-content: space-between;
    gap: 12px;
  }

  .top-nav a {
    font-size: 12px;
  }

  .top-nav a[aria-current="page"]::after {
    height: 2px;
  }

  .slide {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    scroll-margin-top: 112px;
  }

  .slide-inner {
    height: auto;
    padding: 48px 24px 90px;
    display: flex;
    justify-content: flex-start;
  }

  .section-heading {
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .section-note {
    font-size: 12px;
    line-height: 1.6;
    text-align: right;
    max-width: 48%;
  }

  .slide-bottom {
    left: 24px;
    right: 24px;
    bottom: 22px;
    font-size: 12px;
    line-height: 1.6;
    padding-top: 12px;
    gap: 16px;
  }

  .slide-bottom > span:last-child {
    max-width: 45%;
    text-align: right;
  }

  h1 {
    font-size: clamp(42px, 8vw, 70px);
    letter-spacing: -0.055em;
    line-height: 1.25;
  }

  h2 {
    font-size: 34px;
    letter-spacing: -1.5px;
    line-height: 1.35;
  }

  .home .slide-inner {
    padding-top: 160px;
  }

  .hero-layout {
    gap: 45px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 26px;
    letter-spacing: 1px;
  }

  .hero-description {
    font-size: 16px;
    margin: 24px 0px;
    line-height: 1.9;
  }

  .home .button {
    min-width: 220px;
  }

  .hero-index {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .index-caption {
    grid-column: 1 / -1;
    font-size: 12px;
    margin-bottom: 0px;
  }

  .hero-index a {
    padding: 20px 0px;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    align-items: flex-start;
    border-bottom-width: medium !important;
    border-bottom-style: none !important;
    border-bottom-color: currentcolor !important;
  }

  .hero-index strong {
    font-size: 27px;
  }

  .hero-index small {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 8px;
  }

  .index-arrow {
    position: absolute;
    top: 15px;
    right: 3px;
    font-size: 19px;
  }

  .home .slide-bottom > span {
    display: none;
  }

  .ascii-bg {
    height: 45%;
    bottom: 10%;
    left: 24px;
    right: 24px;
    width: calc(100% - 48px);
  }

  .lead {
    font-size: 18px;
  }

  .controller-heading {
    display: block;
    margin-bottom: 28px;
  }

  .controller-heading h2 {
    font-size: 32px;
  }

  .controller-heading p {
    font-size: 16px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: none;
  }

  .controller-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .panel-label, .panel-label > span {
    font-size: 12px;
  }

  .controller-copy .eyebrow {
    font-size: 12px;
  }

  .controller-copy .body-copy {
    font-size: 16px;
    line-height: 1.8;
  }

  .features {
    gap: 0px 20px;
  }

  .features strong {
    font-size: 20px;
  }

  .features small {
    font-size: 14px;
  }

  .features b {
    font-size: 16px;
  }

  .data-chain {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .chain-label {
    width: 100%;
    font-size: 14px;
  }

  .data-chain strong {
    font-size: 16px;
  }

  .data-chain i {
    font-size: 18px;
  }

  .data-chain small {
    width: 100%;
    font-size: 14px;
  }

  .engine-heading {
    display: block;
  }

  .engine-heading h2 {
    font-size: 32px;
  }

  .engine-heading p {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 18px;
    max-width: none;
  }

  .engine-layout {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 30px;
  }

  .architecture {
    width: 100%;
    padding: 0px;
    border-right: 0px;
  }

  .architecture-label {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .architecture-label span {
    font-size: 11px;
  }

  .asset-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .asset-row span {
    font-size: 14px;
    padding: 12px 0px;
    border-bottom: 1px solid rgb(55, 55, 55);
  }

  .engine-core {
    padding: 22px 16px;
    gap: 18px;
  }

  .engine-core strong {
    font-size: 28px;
  }

  .engine-core small {
    font-size: 11px;
  }

  .engine-mark {
    font-size: 44px;
  }

  .engine-mark span {
    font-size: 25px;
    margin-left: 4px;
  }

  .core-descriptor {
    font-size: 12px;
  }

  .output-row span {
    font-size: 12px;
    padding: 13px 0px;
  }

  .feedback {
    font-size: 12px;
    gap: 5px;
    margin-top: 22px;
  }

  .engine-explorer {
    width: 100%;
    padding: 0px;
  }

  .engine-tabs button {
    font-size: 14px;
    padding: 14px 3px;
  }

  #engine-panel {
    min-height: 300px;
    padding-top: 24px;
  }

  .panel-index {
    font-size: 12px;
  }

  #engine-panel h3 {
    font-size: 28px;
  }

  #engine-panel p {
    font-size: 16px;
  }

  .engine-fields span {
    font-size: 14px;
  }

  .cooperation-heading {
    display: block;
  }

  .cooperation-heading h2 {
    font-size: 32px;
  }

  .cooperation-heading p {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 16px;
    max-width: none;
  }

  .cooperation-cards {
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
  }

  .cooperation-cards > button {
    border-bottom: 1px solid var(--border);
    padding: 22px 16px !important;
  }

  .cooperation-cards > button:nth-child(2n) {
    border-right: 0px;
  }

  .cooperation-cards > button:nth-child(2n+1) {
    padding-left: 0px !important;
  }

  .cooperation-cards h3 {
    font-size: 25px;
    margin: 22px 0px 16px;
  }

  .cooperation-cards p {
    font-size: 14px;
    line-height: 1.8;
  }

  .card-tags {
    font-size: 12px;
    margin-top: 20px;
    padding-top: 16px;
    line-height: 1.8;
  }

  .button {
    font-size: 14px;
    min-height: 50px;
    gap: 24px;
    padding: 14px 18px;
  }

  .text-button {
    font-size: 14px;
    gap: 14px;
  }

  .page-dots, .page-counter {
    display: none;
  }

  .enter, .cooperation-cards > button, .engine-core {
    opacity: 1 !important;
    transform: none !important;
  }

  #deck {
    transition: none;
    will-change: auto;
    transform: none !important;
  }

  dialog {
    padding: 36px 24px;
  }

  dialog h2 {
    font-size: 28px;
  }

  dialog p {
    font-size: 16px;
  }
}

.mobile-break {
  display: none;
}

@media (max-width: 900px), (max-height: 620px) {
  .mobile-break {
    display: initial;
  }
}

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

  *, ::before, ::after {
    transition: none !important;
    animation: auto ease 0s 1 normal none running none !important;
  }

  .enter, .cooperation-cards > button, .engine-core {
    opacity: 1;
    transform: none;
  }
}

.resource-dialog {
  max-width: 1050px;
  width: calc(100% - 64px);
  padding: 36px 40px;
  max-height: 88dvh;
  overscroll-behavior: contain;
}

.resource-dialog .dialog-close {
  position: sticky;
  top: -24px;
  float: right;
  margin-top: -20px;
  margin-right: -24px;
  background: var(--bg-light);
  z-index: 2;
}

.resource-dialog > h2 {
  font-size: 36px;
  line-height: 1.3;
  margin: 14px 0px 22px;
  letter-spacing: -1px;
}

.resource-dialog .resource-lead {
  font-size: 20px;
  line-height: 1.7;
  color: rgb(51, 51, 51);
  margin-bottom: 24px;
  max-width: 45em;
}

.resource-dialog .resource-heading {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  margin: 28px 0px 14px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  margin: 24px 0px;
}

.resource-grid article {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.resource-grid h3 {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 400;
  margin: 0px 0px 10px;
}

.resource-grid p {
  font-size: 16px;
  line-height: 1.8;
  color: rgb(101, 101, 101);
}

.resource-dialog .resource-note {
  font-size: 14px;
  color: rgb(115, 115, 115);
  line-height: 1.8;
  border-left: 2px solid var(--border);
  padding-left: 14px;
  margin: 22px 0px;
}

.resource-dialog .profile-full {
  font-size: 17px;
  line-height: 2;
  text-align: left;
}

.resource-timeline {
  border-top: 1px solid var(--border);
  margin: 26px 0px;
}

.resource-timeline > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 18px 0px;
  border-bottom: 1px solid var(--border);
}

.resource-timeline b {
  font-family: var(--mono);
  font-size: 25px;
  color: var(--primary);
  font-weight: 400;
}

.resource-timeline p {
  font-size: 16px;
}

.industry-stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0px, 1fr));
  border-top: 2px solid var(--primary);
  margin: 26px 0px;
}

.industry-stages article {
  padding: 22px 18px;
  border-right: 1px solid var(--border);
}

.industry-stages article:first-child {
  padding-left: 0px;
}

.industry-stages article:last-child {
  border: 0px;
}

.industry-stages b {
  font-family: var(--mono);
  color: rgb(115, 115, 115);
  font-size: 14px;
  font-weight: 400;
}

.industry-stages h3 {
  font-size: 28px;
  font-weight: 300;
  margin: 20px 0px 12px;
}

.industry-stages p {
  font-size: 16px;
  line-height: 1.9;
}

.resource-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 24px;
  background: var(--primary);
  color: white;
  font-size: 16px;
}

.resource-path i {
  font-style: normal;
}

.resource-path span:nth-last-child(-n+2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.376);
  padding: 6px 0px;
}

.source-document {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 16px;
  background: var(--bg-light);
}

.source-document summary {
  padding: 17px 0px;
  font-size: 15px;
  color: rgb(82, 82, 82);
  cursor: pointer;
  line-height: 1.5;
}

.source-document summary > span {
  float: right;
  font-size: 13px;
  color: var(--primary);
  margin-right: 2px;
}

.source-document[open] summary > span {
  display: none;
}

.source-document figure {
  margin: 0px 0px 16px;
}

.source-document img {
  display: block;
  width: 100%;
  height: auto;
  background: rgb(255, 255, 255);
}

.source-document figure > a {
  display: block;
  cursor: zoom-in;
}

.source-document figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: rgb(115, 115, 115);
  margin-top: 12px;
}

.source-document figcaption a {
  color: var(--primary);
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 24px;
  border-bottom: 1px solid var(--border);
  margin: 0px 0px 24px;
}

.product-tabs button {
  padding: 14px 0px;
  color: rgb(101, 101, 101);
  font-size: 16px;
  background: transparent;
  border-bottom: 3px solid transparent;
  font-weight: 500;
}

.product-tabs button[aria-selected="true"] {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.spec-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0px;
  overscroll-behavior: contain;
}

.spec-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
  text-align: left;
  line-height: 1.6;
}

.spec-table th, .spec-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.spec-table thead th {
  background: var(--bg-gray);
  font-weight: 500;
  white-space: nowrap;
}

.spec-table tbody th {
  font-weight: 500;
  color: var(--primary);
}

.spec-table td {
  color: rgb(82, 82, 82);
}

.resource-dialog #product-panel {
  outline-offset: 4px;
}

@media (max-width: 900px), (max-height: 620px) {
  .resource-dialog {
    width: calc(100% - 24px);
    max-height: 90dvh;
    padding: 28px 20px;
  }

  .resource-dialog .dialog-close {
    top: -20px;
    margin-right: -12px;
    margin-top: -18px;
  }

  .resource-dialog > h2 {
    font-size: 28px;
    margin: 14px 0px 20px;
  }

  .resource-dialog .eyebrow {
    font-size: 11px;
    max-width: 85%;
    overflow-wrap: anywhere;
  }

  .resource-dialog .resource-lead {
    font-size: 17px;
  }

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

  .resource-grid article {
    padding: 18px;
  }

  .resource-grid h3 {
    font-size: 20px;
  }

  .resource-grid p {
    font-size: 15px;
  }

  .resource-dialog .resource-note {
    font-size: 13px;
  }

  .resource-dialog .profile-full {
    font-size: 16px;
    line-height: 1.9;
  }

  .industry-stages {
    grid-template-columns: 1fr 1fr;
  }

  .industry-stages article {
    border-bottom: 1px solid var(--border);
    padding: 18px 14px !important;
  }

  .industry-stages article:nth-child(2n) {
    border-right: 0px;
  }

  .industry-stages h3 {
    font-size: 25px;
    margin: 15px 0px 12px;
  }

  .industry-stages p {
    font-size: 14px;
  }

  .resource-timeline > div {
    grid-template-columns: 70px 1fr;
    gap: 12px;
  }

  .resource-timeline p {
    font-size: 15px;
  }

  .source-document summary {
    font-size: 14px;
  }

  .source-document summary > span {
    float: none;
    display: block;
    margin: 4px 0px 0px 17px;
  }

  .source-document figcaption {
    font-size: 12px;
    flex-wrap: wrap;
  }

  .product-tabs {
    gap: 0px 18px;
  }

  .product-tabs button {
    font-size: 14px;
    white-space: nowrap;
  }

  .spec-table {
    font-size: 14px;
    min-width: 460px;
  }

  .spec-table th, .spec-table td {
    padding: 12px;
  }

  .resource-path {
    font-size: 14px;
    padding: 20px;
    gap: 12px;
  }
}
