:root {
  color-scheme: light;
  --forest: #173629;
  --forest-deep: #0c2118;
  --forest-light: #2f6f51;
  --mint: #d9eadf;
  --paper: #f4f5f0;
  --white: #ffffff;
  --ink: #121712;
  --muted: #657067;
  --line: #d8ddd5;
  --orange: #e66b24;
  --orange-soft: #f7dfcf;
  --yellow: #d9ec43;
  --display: "STZhongsong", "Songti SC", "Noto Serif CJK SC", serif;
  --body: "Aptos", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Menlo", monospace;
  --shell: min(1240px, calc(100vw - 80px));
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

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

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--orange);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  padding: 0 30px;
  color: var(--white);
  background: rgba(12, 33, 24, 0.93);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  transition: background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(12, 33, 24, 0.98);
  box-shadow: 0 12px 36px rgba(6, 19, 13, 0.2);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

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

.brand b,
.footer-brand b {
  font-family: var(--display);
  font-size: 17px;
}

.brand small,
.footer-brand small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 8px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
}

.desktop-nav a,
.header-gitee {
  position: relative;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.header-gitee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.header-gitee span {
  color: var(--yellow);
  font-size: 16px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 11px 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--white);
  transition: transform 180ms ease;
}

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

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

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
}

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

.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 auto;
  z-index: 90;
  display: none;
  padding: 20px 24px 30px;
  color: var(--white);
  background: var(--forest-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-menu a {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  min-height: 0;
  padding: 120px max(40px, calc((100vw - 1320px) / 2)) 0;
  color: var(--white);
  background: var(--forest);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  opacity: 0.6;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(780px, 70vw);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow--dark {
  color: var(--forest-light);
}

.eyebrow--light {
  color: var(--yellow);
}

.hero h1 {
  max-width: 940px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 118px);
  font-weight: 700;
  line-height: 0.96;
}

.hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.75;
}

.hero-lead strong {
  color: var(--white);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button span {
  font-size: 18px;
  transition: transform 180ms ease;
}

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

.button:hover span,
.button:focus-visible span {
  transform: translate(3px, -3px);
}

.button--primary {
  color: var(--forest-deep);
  background: var(--yellow);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--white);
}

.button--inverse {
  color: var(--forest-deep);
  background: var(--white);
}

.button--inverse:hover,
.button--inverse:focus-visible {
  background: var(--yellow);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  font-size: 14px;
}

.text-link span {
  color: var(--yellow);
}

.court-world {
  position: absolute;
  top: 88px;
  right: -10vw;
  width: 62vw;
  height: 640px;
  opacity: 0.56;
  transform: rotate(-8deg);
}

.court-outline {
  position: absolute;
  inset: 20px;
  border: 2px solid rgba(255, 255, 255, 0.27);
}

.court-line {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, 0.25);
}

.court-line--center {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
}

.court-line--service-left,
.court-line--service-right {
  top: 22%;
  bottom: 22%;
  width: 2px;
}

.court-line--service-left {
  left: 26%;
}

.court-line--service-right {
  right: 26%;
}

.court-line--side-left,
.court-line--side-right {
  right: 0;
  left: 0;
  height: 2px;
}

.court-line--side-left {
  top: 22%;
}

.court-line--side-right {
  bottom: 22%;
}

.court-scan {
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: 0;
  width: 3px;
  background: var(--yellow);
  box-shadow: 0 0 28px rgba(217, 236, 67, 0.75);
  animation: courtScan 6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.orbit {
  position: absolute;
  display: block;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.orbit--one {
  top: -170px;
  right: -160px;
  width: 430px;
  height: 430px;
}

.orbit--two {
  bottom: -210px;
  left: -160px;
  width: 520px;
  height: 520px;
}

.tennis-ball {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(217, 236, 67, 0.5);
}

.tennis-ball::after {
  position: absolute;
  inset: 3px -2px;
  border: 1px solid rgba(23, 54, 41, 0.74);
  border-width: 0 1px;
  border-radius: 50%;
  content: "";
  transform: rotate(42deg);
}

.tennis-ball--one {
  top: 22%;
  left: 32%;
  animation: ballFloat 4.8s ease-in-out infinite;
}

.tennis-ball--two {
  right: 18%;
  bottom: 25%;
  width: 11px;
  height: 11px;
  animation: ballFloat 4.8s 1.2s ease-in-out infinite reverse;
}

.hero-product {
  position: relative;
  z-index: 5;
  align-self: end;
  width: min(1060px, 82vw);
  max-height: 410px;
  margin: 40px 0 -1px auto;
  background: #f8f9f6;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 48px 100px rgba(5, 19, 12, 0.45);
  overflow: hidden;
  transform: perspective(1400px) rotateX(1.4deg) rotateY(-1.8deg);
  transform-origin: bottom center;
  will-change: transform;
}

.product-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  color: #667067;
  background: #eef1ed;
  border-bottom: 1px solid #d9ddd7;
  font-family: var(--mono);
  font-size: 9px;
}

.product-toolbar > span:last-child {
  justify-self: end;
}

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

.window-dots i {
  width: 8px;
  height: 8px;
  background: #c5cbc4;
  border-radius: 50%;
}

.window-dots i:first-child {
  background: #ef765c;
}

.window-dots i:nth-child(2) {
  background: #e9bc4b;
}

.window-dots i:last-child {
  background: #59ad6a;
}

.product-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.product-status i {
  width: 6px;
  height: 6px;
  background: #4b9a64;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(75, 154, 100, 0.12);
}

.hero-product img {
  display: block;
  width: 100%;
  height: auto;
}

.product-reflection {
  position: absolute;
  inset: 40px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.hero-foot {
  position: relative;
  z-index: 6;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: calc(100% + max(80px, calc(100vw - 1320px)));
  margin-left: min(-40px, calc((1320px - 100vw) / 2));
  color: var(--ink);
  background: var(--paper);
}

.hero-foot > div {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 0 28px;
  border-right: 1px solid var(--line);
}

.hero-foot span {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 11px;
}

.hero-foot p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--forest-light);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.section-index i {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.manifesto {
  padding-top: 126px;
  padding-bottom: 110px;
}

.manifesto-heading {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 60px;
  align-items: end;
  margin-top: 72px;
}

.manifesto-heading p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
}

.manifesto-heading h2,
.workflow-intro h2,
.system-gate h2,
.boundary-heading h2,
.gitee-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 700;
  line-height: 1.18;
}

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

.capability {
  position: relative;
  min-height: 390px;
  padding: 34px 28px 30px;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.capability:last-child {
  border-right: 0;
}

.capability::before {
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.capability:hover::before {
  transform: scaleX(1);
}

.capability-number,
.step-number {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 11px;
}

.capability-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: 72px;
  color: var(--forest);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 22px;
}

.capability h3 {
  margin: 28px 0 12px;
  font-family: var(--display);
  font-size: 23px;
}

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

.capability small {
  position: absolute;
  bottom: 28px;
  color: #9da49d;
  font-family: var(--mono);
  font-size: 9px;
}

.timeline-demo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  min-height: 520px;
  color: var(--white);
  background: #262c28;
  overflow: hidden;
}

.timeline-demo::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 58%;
  width: 2px;
  background: var(--orange);
  box-shadow: 0 0 24px rgba(230, 107, 36, 0.38);
  content: "";
  animation: timelineMarker 8s ease-in-out infinite;
}

.timeline-rail,
.timeline-cells {
  position: absolute;
  right: 34%;
  left: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.timeline-rail {
  top: 0;
  height: 78px;
  color: rgba(255, 255, 255, 0.54);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--mono);
  font-size: 10px;
}

.timeline-rail span {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.timeline-cells {
  top: 78px;
  bottom: 0;
  grid-template-rows: repeat(3, 1fr);
}

.timeline-cells i {
  position: relative;
  display: block;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-cells i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.timeline-cells .is-open {
  background: rgba(76, 139, 93, 0.28);
}

.timeline-cells .is-open::after {
  background: #7fd296;
  box-shadow: 0 0 0 5px rgba(127, 210, 150, 0.1);
}

.timeline-cells .is-busy {
  background: rgba(222, 168, 82, 0.14);
}

.timeline-cells .is-busy::after {
  width: 26px;
  height: 2px;
  background: #d9ae69;
  border-radius: 0;
}

.timeline-cells .is-selected {
  background: rgba(230, 107, 36, 0.15);
  box-shadow: inset 0 0 0 2px var(--orange);
}

.timeline-cells .is-selected::after {
  background: var(--orange);
}

.timeline-caption {
  position: relative;
  z-index: 2;
  grid-column: 2;
  align-self: end;
  padding: 80px 60px 72px;
}

.timeline-caption p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--mono);
  font-size: 10px;
}

.timeline-caption strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.25;
}

.workflow {
  padding-top: 126px;
  padding-bottom: 140px;
}

.workflow-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 100px;
  align-items: end;
  margin-top: 68px;
}

.workflow-intro > p {
  max-width: 460px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
}

.workflow-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 90px;
  margin-top: 96px;
}

.workflow-nav {
  position: sticky;
  top: 110px;
  align-self: start;
}

.workflow-nav > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.workflow-nav ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.workflow-nav li {
  border-bottom: 1px solid var(--line);
}

.workflow-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 8px;
  color: var(--muted);
  font-size: 13px;
  transition: color 180ms ease, background 180ms ease;
}

.workflow-nav a span {
  color: #a2aaa3;
  font-family: var(--mono);
  font-size: 9px;
}

.workflow-nav li.is-active a {
  color: var(--forest);
  background: var(--mint);
  font-weight: 700;
}

.workflow-nav li.is-active a span {
  color: var(--orange);
}

.workflow-steps {
  border-top: 1px solid var(--line);
}

.workflow-step {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 96px;
  gap: 30px;
  align-items: start;
  min-height: 220px;
  padding: 42px 8px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.workflow-step small {
  color: var(--forest-light);
  font-family: var(--mono);
  font-size: 9px;
}

.workflow-step h3 {
  margin: 8px 0 12px;
  font-family: var(--display);
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.3;
}

.workflow-step p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.step-state {
  justify-self: end;
  padding-top: 4px;
  color: #9da49d;
  font-family: var(--mono);
  font-size: 9px;
}

.system-gate {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  min-height: 660px;
  color: var(--white);
  background: var(--orange);
}

.system-gate-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px max(50px, calc((100vw - 1240px) / 2));
  padding-right: 70px;
  background: var(--forest-deep);
}

.system-gate-copy > p:last-child {
  max-width: 520px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.system-steps {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.system-steps li {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 26px;
  padding: 24px 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.system-steps li:last-child {
  border-bottom: 0;
}

.system-steps span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--forest-deep);
  background: var(--white);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 12px;
}

.system-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.system-steps strong {
  display: block;
  color: var(--white);
  font-family: var(--display);
  font-size: 23px;
}

.boundaries {
  padding-top: 126px;
  padding-bottom: 130px;
}

.boundary-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 100px;
  align-items: end;
  margin-top: 68px;
}

.boundary-heading p {
  max-width: 380px;
  margin: 0 0 10px;
  color: var(--muted);
}

.boundary-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 88px;
  border-top: 1px solid var(--line);
}

.boundary-list article {
  position: relative;
  min-height: 245px;
  padding: 40px 80px 40px 72px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.boundary-list article:nth-child(even) {
  border-right: 0;
}

.boundary-list span {
  position: absolute;
  top: 43px;
  left: 12px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 10px;
}

.boundary-list h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 25px;
}

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

.gitee-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 100px;
  min-height: 660px;
  padding: 110px max(40px, calc((100vw - 1240px) / 2));
  color: var(--white);
  background: var(--forest);
  overflow: hidden;
}

.gitee-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.gitee-copy,
.commit-stream {
  position: relative;
  z-index: 2;
}

.gitee-copy p:not(.eyebrow) {
  margin: 28px 0 36px;
  color: rgba(255, 255, 255, 0.62);
}

.commit-stream {
  align-self: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.commit-stream::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 9px;
  width: 1px;
  background: rgba(255, 255, 255, 0.24);
  content: "";
}

.commit-stream > div {
  position: relative;
  display: grid;
  grid-template-columns: 20px 80px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.commit-stream i {
  z-index: 1;
  width: 19px;
  height: 19px;
  background: var(--forest);
  border: 4px solid var(--yellow);
  border-radius: 50%;
}

.commit-stream span {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 9px;
}

.commit-stream b {
  font-size: 14px;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 60px;
  align-items: center;
  min-height: 230px;
  padding: 50px max(40px, calc((100vw - 1240px) / 2));
  color: rgba(255, 255, 255, 0.64);
  background: var(--forest-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

footer > p {
  max-width: 400px;
  margin: 0;
}

footer > div {
  display: flex;
  gap: 24px;
}

footer > div a {
  color: var(--white);
}

footer > small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--mono);
  font-size: 9px;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 720ms var(--delay, 0s) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes courtScan {
  0%,
  8% {
    left: 0;
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  48% {
    left: calc(100% - 3px);
    opacity: 1;
  }
  56%,
  100% {
    left: calc(100% - 3px);
    opacity: 0;
  }
}

@keyframes ballFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0);
  }
  50% {
    transform: translate3d(28px, -22px, 0) rotate(120deg);
  }
}

@keyframes timelineMarker {
  0%,
  12% {
    left: 17%;
  }
  50% {
    left: 58%;
  }
  88%,
  100% {
    left: 82%;
  }
}

@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 48px, 920px);
  }

  .hero {
    min-height: 0;
    padding-inline: 32px;
  }

  .hero-product {
    width: 90vw;
    max-height: 390px;
  }

  .hero-foot {
    width: calc(100% + 64px);
    margin-left: -32px;
  }

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

  .capability:nth-child(2) {
    border-right: 0;
  }

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

  .workflow-layout {
    grid-template-columns: 210px 1fr;
    gap: 48px;
  }

  .system-gate {
    grid-template-columns: 1fr;
  }

  .system-gate-copy {
    min-height: 500px;
    padding-inline: 64px;
  }

  .system-steps {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  .system-steps li:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.34);
  }

  .gitee-band {
    gap: 60px;
  }

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

  footer > div {
    justify-self: end;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 36px);
    --header-height: 66px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand b {
    font-size: 15px;
  }

  .brand small {
    font-size: 7px;
  }

  .desktop-nav,
  .header-gitee {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .hero {
    display: block;
    min-height: 790px;
    padding: 116px 18px 0;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 68px);
    line-height: 1.03;
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-top: 28px;
  }

  .button {
    width: 100%;
  }

  .text-link {
    justify-content: center;
    border-bottom: 0;
  }

  .court-world {
    top: 120px;
    right: -46vw;
    width: 120vw;
    height: 500px;
  }

  .hero-product {
    width: calc(100vw - 20px);
    max-height: none;
    margin: 46px 0 0;
    transform: none !important;
  }

  .product-toolbar {
    grid-template-columns: 1fr auto;
  }

  .product-status {
    display: none;
  }

  .hero-foot {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% + 36px);
    margin-left: -18px;
  }

  .hero-foot > div {
    min-height: 72px;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
  }

  .hero-foot p {
    font-size: 11px;
  }

  .manifesto,
  .workflow,
  .boundaries {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .manifesto-heading,
  .workflow-intro,
  .boundary-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
  }

  .manifesto-heading h2,
  .workflow-intro h2,
  .system-gate h2,
  .boundary-heading h2,
  .gitee-copy h2 {
    font-size: 40px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .capability,
  .capability:nth-child(2) {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-icon {
    margin-top: 42px;
  }

  .timeline-demo {
    grid-template-columns: 1fr;
    min-height: 600px;
  }

  .timeline-rail,
  .timeline-cells {
    right: 0;
  }

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

  .timeline-rail span:nth-child(n + 5) {
    display: none;
  }

  .timeline-cells {
    bottom: 190px;
    grid-template-columns: repeat(6, minmax(92px, 1fr));
    overflow: hidden;
  }

  .timeline-caption {
    grid-column: 1;
    align-self: end;
    padding: 36px 18px 40px;
    background: #262c28;
  }

  .workflow-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 64px;
  }

  .workflow-nav {
    position: static;
  }

  .workflow-nav ol {
    display: flex;
    gap: 6px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
  }

  .workflow-nav li {
    flex: 0 0 auto;
    border: 0;
  }

  .workflow-nav a {
    padding: 9px 12px;
  }

  .workflow-nav a span {
    display: none;
  }

  .workflow-step {
    grid-template-columns: 38px 1fr;
    gap: 10px;
    min-height: 0;
    padding: 34px 0;
  }

  .workflow-step .step-state {
    display: none;
  }

  .workflow-step h3 {
    font-size: 25px;
  }

  .system-gate-copy {
    min-height: 520px;
    padding: 74px 18px;
  }

  .system-steps {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }

  .system-steps li,
  .system-steps li:nth-child(odd) {
    min-height: 130px;
    padding: 22px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  }

  .system-steps strong {
    font-size: 20px;
  }

  .boundary-list {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }

  .boundary-list article,
  .boundary-list article:nth-child(even) {
    min-height: 220px;
    padding: 36px 18px 36px 52px;
    border-right: 0;
  }

  .boundary-list span {
    top: 39px;
    left: 8px;
  }

  .gitee-band {
    grid-template-columns: 1fr;
    gap: 64px;
    min-height: 820px;
    padding: 84px 18px;
  }

  .commit-stream > div {
    grid-template-columns: 20px 68px 1fr;
    gap: 12px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 54px 18px;
  }

  footer > div {
    justify-self: start;
  }
}

@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;
  }

  .hero-reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
