@font-face {
  font-family: "Lora Local";
  src: url("./assets/fonts/Lora-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter Local";
  src: url("./assets/fonts/Inter-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "LXGW WenKai Local";
  src: url("./assets/fonts/LXGWWenKai-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f7f7f6;
  --canvas: #fcfcfa;
  --field: #f4f5f4;
  --paper: #ffffff;
  --text: #111418;
  --muted: #687076;
  --core: #5a7268;
  --orbit: #65768b;
  --fragment: #947987;
  --line: rgba(17, 20, 24, 0.06);
  --line-strong: rgba(17, 20, 24, 0.1);
  --surface-glow: rgba(255, 255, 255, 0.74);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-stage: 30px;
  --container: min(1220px, calc(100vw - 3.4rem));
  --nav-offset: 108px;
  --stage-shadow: 0 28px 72px -52px rgba(17, 20, 24, 0.26), 0 10px 24px -24px rgba(17, 20, 24, 0.18);
  --sheet-shadow-note: 0 34px 88px -52px rgba(17, 20, 24, 0.22), 0 16px 32px -28px rgba(17, 20, 24, 0.14);
  --sheet-shadow-note-hover: 0 40px 104px -56px rgba(17, 20, 24, 0.26), 0 18px 40px -28px rgba(17, 20, 24, 0.16);
  --sheet-shadow-evidence: 0 40px 120px -64px rgba(17, 20, 24, 0.28), 0 18px 42px -30px rgba(17, 20, 24, 0.18);
  --sheet-shadow-evidence-hover: 0 48px 132px -60px rgba(17, 20, 24, 0.32), 0 22px 48px -28px rgba(17, 20, 24, 0.18);
  --font-heading: "Lora Local", "Lora", "Playfair Display", "LXGW WenKai Local", "LXGW WenKai", serif;
  --font-body: "Inter Local", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-ui: "Inter Local", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 20, 24, 0.16) transparent;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: rgba(17, 20, 24, 0.14);
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

body::-webkit-scrollbar-thumb:hover {
  background: rgba(17, 20, 24, 0.22);
  border: 3px solid transparent;
  background-clip: padding-box;
}

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

figure {
  margin: 0;
}

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

button,
a {
  transition: all 0.2s ease;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(90, 114, 104, 0.24);
  outline-offset: 3px;
}

body,
p,
span,
li {
  font-family: var(--font-body);
}

h1,
h2,
h3,
.footer-title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.024em;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.7rem 1rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--canvas);
  z-index: 100;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(252, 252, 250, 0.84);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-family: var(--font-ui);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-mark {
  color: var(--text);
  opacity: 0.68;
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  transform: translateX(clamp(6rem, 9vw, 8.5rem));
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: transparent;
}

.lang-button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0.44rem 0.78rem;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  line-height: 1;
}

.lang-button.is-active {
  background: var(--text);
  color: #fff;
}

.hero-section {
  background: var(--canvas);
  padding: clamp(6.8rem, 10vw, 9.2rem) 0 clamp(5rem, 8vw, 6.4rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(5.5rem, 10vw, 8.5rem);
  align-items: start;
}

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

html[lang="en"] .hero-copy {
  max-width: 620px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 1.25rem;
  padding: 0.48rem 0.88rem;
  color: var(--core);
  background: rgba(90, 114, 104, 0.1);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.summary-label,
.step-index,
.plate-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  color: rgba(17, 20, 24, 0.52);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 8.4ch;
  font-size: clamp(4.95rem, 9.6vw, 7.15rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.048em;
}

html[lang="en"] .hero-copy h1 {
  max-width: 13ch;
}

.hero-subtitle {
  max-width: 24ch;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.45vw, 1.08rem);
  line-height: 1.42;
}

html[lang="en"] .hero-subtitle {
  max-width: 24ch;
}

.hero-description,
.section-intro p,
.feature-card p,
.workflow-step p,
.path-card p,
.mcp-inline-note,
.footer-copy,
.screen-card figcaption span {
  color: var(--muted);
  line-height: 1.72;
}

.hero-description {
  max-width: 38ch;
  margin: 1.55rem 0 0;
  font-size: 0.9rem;
  color: rgba(101, 118, 139, 0.8);
}

html[lang="en"] .hero-description {
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.95rem 1rem;
  margin-top: 2.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.button-primary {
  background: var(--core);
  color: #fff;
}

.button-primary:hover {
  background: #4d6258;
  color: #fff;
  transform: translateY(-1px);
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--text);
}

.button-secondary:hover {
  background: rgba(17, 20, 24, 0.03);
}

.button-link {
  padding-inline: 0;
  border-color: transparent;
  color: rgba(17, 20, 24, 0.58);
  font-size: 0.84rem;
  font-weight: 500;
}

.button-link::after {
  content: "→";
  margin-left: 0.42rem;
}

.button-link:hover {
  color: rgba(90, 114, 104, 0.9);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem 0.9rem;
  margin: 2rem 0 0;
  padding: 0.82rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: rgba(17, 20, 24, 0.28);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 1.34;
}

.hero-meta li {
  position: relative;
  padding-left: 0.8rem;
}

.hero-meta li:only-child {
  padding-left: 0;
}

.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 999px;
  background: rgba(101, 118, 139, 0.34);
}

.hero-meta li:only-child::before {
  display: none;
}

.hero-visual,
.diagram-frame {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-visual {
  align-self: start;
  margin-top: clamp(3.2rem, 5.6vw, 5rem);
  margin-bottom: 0;
}

html[lang="en"] .hero-visual {
  align-self: start;
  margin-bottom: 0;
  margin-top: clamp(3.6rem, 6.2vw, 5.6rem);
  transform: none;
}

.art-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(0.35rem, 1vw, 0.8rem);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.art-stage::after {
  content: none;
}

.art-stage-hero {
  width: min(100%, 760px);
  padding: clamp(0.2rem, 0.7vw, 0.55rem);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.art-stage-hero::after {
  content: none;
}

.art-stage-diagram {
  width: min(100%, 560px);
}

.art-stage-logic {
  width: min(100%, 540px);
}

.art-stage-workflow {
  width: min(100%, 620px);
}

.art-stage-orbit {
  width: min(100%, 560px);
}

.art-stage-seal {
  width: min(100%, 430px);
  border-radius: 0;
  padding: clamp(0.2rem, 0.7vw, 0.55rem);
}

.hero-visual img,
.section-art img,
.diagram-frame img,
.illustration-blend {
  object-fit: contain;
  filter: contrast(1.02) saturate(0.98);
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 30%,
    rgba(0, 0, 0, 0.98) 44%,
    rgba(0, 0, 0, 0.9) 60%,
    rgba(0, 0, 0, 0.64) 76%,
    rgba(0, 0, 0, 0.18) 90%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse at center,
    #000 30%,
    rgba(0, 0, 0, 0.98) 44%,
    rgba(0, 0, 0, 0.9) 60%,
    rgba(0, 0, 0, 0.64) 76%,
    rgba(0, 0, 0, 0.18) 90%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-visual img {
  width: min(100%, 720px);
  margin-left: auto;
}

@media (max-width: 1320px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(1.9rem, 4vw, 2.8rem);
  }

  .hero-grid > .hero-copy {
    order: 1;
  }

  .hero-grid > .hero-visual {
    order: 2;
  }

  .hero-visual,
  html[lang="en"] .hero-visual {
    align-self: center;
    margin-top: clamp(1.4rem, 2vw, 2rem);
    margin-bottom: 0;
    transform: none;
  }

  .art-stage-hero {
    width: min(100%, 600px);
    margin-inline: auto;
  }

  .hero-visual img {
    width: min(100%, 560px);
    margin-inline: auto;
  }
}

.summary-section {
  background: var(--canvas);
  padding: clamp(3.4rem, 5vw, 4.3rem) 0 clamp(4.8rem, 7vw, 5.8rem);
  border-top: 1px solid var(--line);
}

.summary-grid,
.feature-grid,
.workflow-grid {
  display: grid;
}

.summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(4.8rem, 9vw, 7.2rem);
}

.summary-card {
  display: grid;
  gap: 0.44rem;
  padding: 0.08rem 0 0;
  border-top: 0;
  background: transparent;
  box-shadow: none;
}

.summary-card + .summary-card {
  position: relative;
}

.summary-card + .summary-card::before {
  content: "";
  position: absolute;
  left: calc(clamp(4.8rem, 9vw, 7.2rem) * -0.5);
  top: 0.15rem;
  width: 1px;
  height: 2.2rem;
  background: var(--line);
}

.summary-card p:last-child {
  margin: 0;
  max-width: 15ch;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.34;
}

.summary-label {
  color: rgba(17, 20, 24, 0.38);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
}

.content-section {
  background: var(--canvas);
  padding: clamp(5.8rem, 9vw, 7.8rem) 0;
  scroll-margin-top: var(--nav-offset);
}

.alt-surface {
  background: var(--field);
}

.section-head {
  display: grid;
  gap: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 2.8rem;
}

.section-head-split {
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(4rem, 8vw, 6rem);
}

.section-head-stack {
  justify-items: center;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head-split .section-intro,
.section-head-stack .section-intro {
  margin-bottom: 0;
}

.section-intro h2 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 4.6vw, 3.7rem);
}

.section-intro p {
  max-width: 54ch;
  margin: 1rem 0 0;
  font-size: 1rem;
}

.section-intro-centered {
  margin-inline: auto;
  text-align: center;
}

.section-intro-centered h2,
.section-intro-centered p {
  margin-inline: auto;
}

#features .section-head-split > .section-intro,
#mcp .mcp-copy,
#mcp .mcp-copy .section-intro-left {
  justify-self: start;
  align-self: center;
  text-align: left;
}

#features .section-head-split > .section-intro h2,
#features .section-head-split > .section-intro p,
#mcp .mcp-copy h2,
#mcp .mcp-copy p,
#mcp .mcp-inline-note {
  margin-inline: 0;
  text-align: left;
}

#features .section-head-split > .section-intro .section-kicker,
#mcp .mcp-copy .section-kicker {
  margin-left: 0;
  margin-right: auto;
}

.section-art,
.diagram-frame {
  display: flex;
  align-items: center;
}

.section-art-logic {
  justify-content: flex-start;
}

.section-art-workflow {
  justify-content: flex-end;
}

.section-art-trust {
  justify-content: center;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}

.feature-card {
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.feature-card h3 {
  margin: 0 0 0.68rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.feature-card p {
  max-width: 28ch;
  margin: 0;
  font-size: 0.95rem;
}

#workflow .section-intro h2,
#mcp .section-intro h2,
#screens .section-intro h2 {
  max-width: none;
  font-size: clamp(2.15rem, 3.4vw, 2.9rem);
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.7rem, 3.2vw, 2.5rem);
}

.workflow-step,
.screen-card {
  background: var(--paper);
  border-radius: 24px;
  border: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.workflow-step {
  display: grid;
  gap: 0.64rem;
  width: min(100%, 18rem);
  padding: 0.9rem 0.9rem 0.84rem;
  border-radius: 10px;
  background: rgba(247, 247, 245, 0.84);
  box-shadow: 0 5px 12px -16px rgba(17, 20, 24, 0.08), 0 2px 6px -8px rgba(17, 20, 24, 0.04);
}

.workflow-step h3 {
  margin: 0;
  font-size: 1.02rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.workflow-step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.52;
}

.step-index {
  color: rgba(17, 20, 24, 0.2);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
}

.workflow-step:nth-child(1) {
  justify-self: start;
}

.workflow-step:nth-child(2) {
  justify-self: center;
  margin-top: 0.28rem;
}

.workflow-step:nth-child(3) {
  justify-self: end;
  margin-top: 0.12rem;
}

.mcp-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(4rem, 8vw, 6rem);
}

.section-intro-left {
  margin-bottom: 1rem;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.8rem, 3vw, 2.4rem);
  margin: 1.8rem 0;
}

.path-card {
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.path-card h3 {
  margin: 0 0 0.55rem;
  color: rgba(17, 20, 24, 0.78);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.path-card p {
  margin: 0;
  max-width: 26ch;
  font-size: 0.95rem;
}

.mcp-inline-note {
  margin: 0 0 1.45rem;
  color: rgba(17, 20, 24, 0.62);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.screen-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6.8rem, 10vw, 9rem);
}

.screen-card {
  width: 100%;
  padding: 1.15rem 1.15rem 1.3rem;
  border-radius: 16px;
  box-shadow: 0 26px 50px -30px rgba(17, 20, 24, 0.26), 14px 18px 0 -16px rgba(17, 20, 24, 0.06);
}

.screen-card-primary {
  width: min(calc(100% + 2.1rem), 1240px);
  max-width: none;
  align-self: center;
  margin-block: 2.8rem 4rem;
}

.screen-card-secondary {
  max-width: 680px;
  align-self: center;
}

.screen-card-tertiary {
  max-width: 500px;
  align-self: center;
}

.screen-card-primary .plate-label {
  color: rgba(17, 20, 24, 0.66);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
}

.screen-card-primary figcaption {
  padding-top: 1.8rem;
  max-width: 22.5rem;
}

.screen-card-secondary .plate-label,
.screen-card-tertiary .plate-label {
  color: rgba(17, 20, 24, 0.34);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.screen-card-secondary figcaption,
.screen-card-tertiary figcaption {
  padding-top: 0.82rem;
  max-width: 21rem;
}

.plate-label {
  margin: 0 0 0.95rem;
  color: rgba(17, 20, 24, 0.42);
}

.screen-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 0 !important;
  background: transparent;
}

.screen-card figcaption {
  display: grid;
  gap: 0.34rem;
  padding: 0.95rem 0 0;
  text-align: center;
}

.screen-card strong {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.screen-card-primary strong {
  font-size: 1.04rem;
}

.screen-card-secondary strong,
.screen-card-tertiary strong {
  font-size: 0.92rem;
}

#screens .section-intro {
  display: grid;
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

#screens .section-intro .section-kicker,
#screens .section-intro h2,
#screens .section-intro p {
  margin-inline: auto;
  text-align: center;
}

#screens .section-intro h2 {
  width: fit-content;
}

#screens .section-intro p {
  max-width: 38ch;
}

#screens .screen-card figcaption {
  max-width: 26rem;
  margin-inline: auto;
}

#screens .screen-card span {
  display: block;
  max-width: 25ch;
  margin-inline: auto;
  font-size: 0.87rem;
  line-height: 1.5;
}

#screens .screen-card-secondary span,
#screens .screen-card-tertiary span {
  max-width: 22ch;
  font-size: 0.83rem;
  line-height: 1.44;
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 420px;
  margin: 0 auto;
  gap: 0.25rem 0.92rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  color: rgba(101, 118, 139, 0.38);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.trust-chip::before {
  content: "/";
  margin-right: 0.68rem;
  color: rgba(148, 121, 135, 0.2);
}

.trust-chip:first-child::before {
  display: none;
}

.site-footer {
  background: var(--canvas);
  padding: 1.2rem 0 1.8rem;
  border-top: 1px solid rgba(17, 20, 24, 0.02);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-title {
  color: rgba(101, 118, 139, 0.42);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.12;
  text-transform: uppercase;
}

.footer-copy {
  max-width: 30ch;
  margin: 0.42rem 0 0;
  font-size: 0.84rem;
  color: rgba(101, 118, 139, 0.52);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 0.9rem;
  color: rgba(101, 118, 139, 0.42);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

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

#features .section-head-split > .section-intro {
  order: 2;
}

#features .section-head-split > .section-art {
  order: 1;
}

#mcp .mcp-copy {
  order: 2;
}

#mcp .diagram-frame {
  order: 1;
}

@media (hover: hover) and (pointer: fine) {
  .workflow-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px -18px rgba(17, 20, 24, 0.1), 0 3px 8px -8px rgba(17, 20, 24, 0.05);
  }

  .screen-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 34px 62px -28px rgba(17, 20, 24, 0.28), 16px 20px 0 -16px rgba(17, 20, 24, 0.08);
  }
}

html[lang="zh"] .hero-copy h1,
html[lang="zh"] .section-intro h2,
html[lang="zh"] .feature-card h3,
html[lang="zh"] .workflow-step h3,
html[lang="zh"] .screen-card strong,
html[lang="zh"] .footer-title {
  letter-spacing: 0;
  line-height: 1.22;
}

html[lang="zh"] #screens .section-intro h2 {
  transform: translateX(0.2em);
}

@media (max-width: 1024px) {
  .site-nav {
    transform: none;
  }

  .summary-grid,
  .feature-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .summary-card + .summary-card::before {
    display: none;
  }

  .hero-grid,
  .section-head-split,
  .mcp-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(2rem, 5vw, 3rem);
  }

  .hero-copy {
    max-width: none;
    padding-inline: 24px;
  }

  .hero-copy h1,
  .section-intro h2 {
    max-width: none;
  }

  .section-head-split .section-intro,
  .mcp-copy {
    padding-inline: 24px;
  }

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

  .hero-visual,
  html[lang="en"] .hero-visual {
    align-self: center;
    margin-bottom: 0;
    margin-top: 0;
    transform: none;
  }

  .hero-grid > .hero-copy {
    order: 1;
  }

  .hero-grid > .hero-visual {
    order: 2;
  }

  #features .section-head-split > .section-art,
  #workflow .section-head-split > .section-art,
  .mcp-layout > .diagram-frame {
    order: 1;
  }

  #features .section-head-split > .section-intro,
  #workflow .section-head-split > .section-intro,
  .mcp-layout > .mcp-copy {
    order: 2;
  }

  .hero-visual,
  .section-art,
  .diagram-frame,
  .section-art-logic,
  .section-art-workflow {
    justify-content: center;
  }

  .art-stage-hero,
  .art-stage-diagram,
  .art-stage-logic,
  .art-stage-workflow,
  .art-stage-orbit,
  .art-stage-seal {
    width: min(100%, 480px);
    margin-inline: auto;
  }

  .screen-card-primary,
  .screen-card-secondary,
  .screen-card-tertiary {
    width: 100%;
    max-width: 100%;
    align-self: center;
  }

  .workflow-step {
    width: 100%;
    justify-self: stretch;
    margin-top: 0;
  }

  .trust-grid {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 1.6rem, 100vw - 1.6rem);
    --radius-stage: 22px;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding-block: 0.88rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .hero-section {
    padding-top: 4.8rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .summary-section,
  .content-section {
    padding-top: 4.2rem;
    padding-bottom: 4.7rem;
  }

  .hero-actions {
    gap: 0.85rem 0.95rem;
  }

  .hero-meta {
    gap: 0.55rem 1rem;
  }

  .workflow-step,
  .screen-card {
    padding: 1.25rem;
  }

  .screen-card-primary,
  .screen-card-secondary,
  .screen-card-tertiary {
    margin-block: 0;
  }

  .art-stage {
    padding: 1rem;
  }

  .trust-grid {
    gap: 0.42rem 0.8rem;
  }

  .footer-inner,
  .footer-links {
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
  }
}

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

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

/* ===== Hero overlap hard fix ===== */

/* 先确保大桌面双栏本身是安全的 */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: clamp(3rem, 5vw, 6rem);
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* 标题本身先收住，不让它无限横向扩张 */
.hero-copy h1 {
  max-width: 10ch;
  line-height: 0.9;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* Hero 图不要主动往标题区扑 */
.hero-visual,
.art-stage-hero {
  transform: none !important;
}

/* ===== Hero-only medium breakpoint: 提前改单列 ===== */
/* 1320 太晚，先直接提高到 1480 试 */
@media (max-width: 1480px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    justify-content: center;
    align-items: flex-start;
    margin-top: 1.6rem;
  }

  .art-stage-hero,
  .hero-visual img {
    max-width: min(56vw, 560px);
    width: 100%;
    height: auto;
  }

  .hero-copy h1 {
    max-width: 9ch;
  }
}

/* ===== 如果你的语言切换会改 html lang，给中文版再上一层保险 ===== */
html[lang="zh"],
html[lang="zh-CN"] {
  /* 可选：如果你有全局中文样式，在这里放 */
}

html[lang="zh"] .hero-copy h1,
html[lang="zh-CN"] .hero-copy h1 {
  max-width: 8ch;
  line-height: 0.92;
}

/* 中文版更早改单列，避免“绝对的知识主权”这种宽字串压到图腾 */
@media (max-width: 1560px) {
  html[lang="zh"] .hero-grid,
  html[lang="zh-CN"] .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  html[lang="zh"] .hero-visual,
  html[lang="zh-CN"] .hero-visual {
    order: 2;
    margin-top: 1.6rem;
    justify-content: center;
  }

  html[lang="zh"] .hero-copy,
  html[lang="zh-CN"] .hero-copy {
    order: 1;
  }

  html[lang="zh"] .art-stage-hero,
  html[lang="zh"] .hero-visual img,
  html[lang="zh-CN"] .art-stage-hero,
  html[lang="zh-CN"] .hero-visual img {
    max-width: min(52vw, 540px);
  }
}