@layer reset, base, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { color: inherit; font: inherit; }
}

@layer base {
  :root {
    color-scheme: light;
    --carbon: #191919;
    --carbon-soft: #242424;
    --warm: #f3f0e8;
    --paper: #e9e6de;
    --steel: #656761;
    --rule: #c9c7bf;
    --blue: #2f50ff;
    --white: #fffdf7;
    --page-pad: clamp(1.25rem, 3.2vw, 4rem);
    --content-max: 1440px;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
  }

  ::selection { background: var(--blue); color: white; }

  html { background: var(--warm); }

  body {
    min-width: 320px;
    background: var(--warm);
    color: var(--carbon);
    font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  body.menu-open { overflow: hidden; }

  section[id] { scroll-margin-top: 76px; }

  :focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
  }

  .skip-link {
    position: fixed;
    z-index: 1000;
    left: 1rem;
    top: 1rem;
    padding: .7rem 1rem;
    background: var(--blue);
    color: white;
    transform: translateY(-160%);
    transition: transform .2s ease;
  }

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

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

@layer components {
  .site-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    height: 76px;
    padding: 0 var(--page-pad);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid transparent;
    background: color-mix(in srgb, var(--warm) 92%, transparent);
    transition: border-color .25s ease, background-color .25s ease;
  }

  .site-header.is-scrolled {
    border-color: var(--rule);
    background: color-mix(in srgb, var(--warm) 97%, transparent);
    backdrop-filter: blur(14px);
  }

  .brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: .15rem;
    font-weight: 650;
    letter-spacing: -.02em;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
  }

  .brand-mark img { width: 50px; height: 50px; }
  .brand-name { font-size: .96rem; }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
    font-size: .86rem;
    color: #4a4b47;
    white-space: nowrap;
  }

  .desktop-nav a,
  .text-link {
    position: relative;
  }

  .desktop-nav a::after,
  .text-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -.35rem;
    height: 1px;
    background: currentColor;
    transition: right .3s var(--ease-out);
  }

  .desktop-nav a:hover::after,
  .text-link:hover::after { right: 0; }

  .header-action {
    justify-self: end;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.2rem;
    border: 1px solid var(--carbon);
    background: var(--carbon);
    color: var(--warm);
    font-size: .84rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
  }

  .header-action:hover { background: var(--carbon-soft); border-color: var(--carbon-soft); color: var(--warm); transform: translateY(-1px); }

  .menu-toggle,
  .mobile-nav { display: none; }

  .hero {
    position: relative;
    max-width: var(--content-max);
    min-height: 100svh;
    margin: 0 auto;
    padding: clamp(8.5rem, 14vh, 10rem) var(--page-pad) 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr);
    column-gap: clamp(2rem, 5vw, 6rem);
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 76px;
    bottom: 0;
    left: calc(59.1% + 1px);
    width: 1px;
    background: linear-gradient(var(--rule), transparent 82%);
    opacity: .8;
  }

  .hero-copy { min-width: 0; align-self: center; padding-bottom: 2rem; }

  .hero h1 {
    max-width: 830px;
    font-size: clamp(2.9rem, 4.9vw, 4.35rem);
    line-height: .98;
    letter-spacing: -.04em;
    font-weight: 690;
  }

  .hero h1 span { display: block; white-space: nowrap; }
  .hero h1 .hero-shift { transform: translateX(clamp(1.25rem, 3.5vw, 3.75rem)); }

  .hero-support {
    width: min(100%, 620px);
    margin-top: clamp(2.3rem, 5vw, 4.5rem);
    padding-left: clamp(1.25rem, 3.5vw, 3.75rem);
  }

  .hero-support p {
    max-width: 46ch;
    color: #4d4e49;
    font-size: clamp(1rem, 1.3vw, 1.18rem);
  }

  .hero-actions {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
  }

  .button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.35rem;
    border: 1px solid currentColor;
    font-size: .9rem;
    font-weight: 650;
    transition: transform .2s var(--ease-out), background-color .2s ease, color .2s ease;
  }

  .button:hover { transform: translateY(-2px); }
  .button-primary { background: var(--carbon); color: var(--warm); }
  .button-primary:hover { background: var(--carbon-soft); border-color: var(--carbon-soft); color: var(--warm); }
  .button-light { background: var(--warm); color: var(--carbon); border-color: var(--warm); }
  .button-light:hover { background: #ffffff; border-color: #ffffff; color: var(--carbon); }
  .text-link { font-size: .9rem; font-weight: 600; }

  .runtime-visual {
    align-self: center;
    min-width: 0;
    padding-bottom: 1.5rem;
  }

  .runtime-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--rule);
    color: #555650;
    font-size: .77rem;
  }

  .runtime-state { display: inline-flex; align-items: center; gap: .5rem; }
  .runtime-state i { width: 6px; height: 6px; background: var(--blue); }

  .runtime-map {
    width: 100%;
    height: auto;
    margin: .5rem 0 .2rem;
    overflow: visible;
    font-family: inherit;
  }

  .map-lines { color: #989a94; }
  .map-dots { fill: var(--blue); }
  .map-node rect { fill: var(--warm); }
  .map-node path { stroke: var(--carbon); stroke-width: 1; vector-effect: non-scaling-stroke; }
  .map-label { fill: var(--steel); font-size: 12px; }
  .map-value { fill: var(--carbon); font-size: 16px; font-weight: 620; }
  .map-core rect { fill: var(--carbon); }
  .map-core text { fill: var(--steel); font-size: 12px; }

  .runtime-visual.is-live .map-lines {
    animation: diagram-focus 1s var(--ease-out) both;
  }

  @keyframes diagram-focus {
    from { opacity: .25; }
    to { opacity: 1; }
  }

  .runtime-mobile-flow { display: none; }

  .runtime-footnote {
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
    color: var(--steel);
    font-size: .78rem;
    text-align: center;
  }

  .model,
  .method,
  .boundary,
  .services {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: clamp(7rem, 12vw, 12rem) var(--page-pad);
  }

  .section-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .65fr);
    gap: clamp(3rem, 9vw, 10rem);
    align-items: end;
  }

  .section-intro h2,
  .method-title h2,
  .boundary h2,
  .closing h2 {
    font-size: clamp(2.8rem, 5.8vw, 5.6rem);
    line-height: 1;
    letter-spacing: -.038em;
    font-weight: 680;
  }

  .section-intro > p,
  .method-title > p,
  .boundary-statement > p {
    max-width: 44ch;
    color: #555650;
    font-size: clamp(1rem, 1.25vw, 1.16rem);
  }

  .shift-stage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 108px 1fr;
    margin-top: clamp(5rem, 9vw, 8.5rem);
    border-top: 1px solid var(--carbon);
    border-bottom: 1px solid var(--carbon);
  }

  .old-order,
  .new-order { padding: 2rem 0 2.4rem; }
  .old-order { padding-right: clamp(1rem, 4vw, 4rem); }
  .new-order { padding-left: clamp(1rem, 4vw, 4rem); }

  .shift-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--steel);
    font-size: .76rem;
  }

  .shift-heading p { text-align: right; }

  .legacy-flow {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
    align-items: center;
    gap: .35rem;
    min-height: 235px;
    font-size: .8rem;
  }

  .legacy-flow span {
    min-width: 46px;
    padding: .45rem 0;
    border-bottom: 1px solid var(--carbon);
    text-align: center;
  }

  .legacy-flow i { height: 1px; background: var(--rule); }

  .recompose-mark {
    position: relative;
    display: grid;
    place-items: center;
  }

  .recompose-mark::before,
  .recompose-mark::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    height: calc(50% - 58px);
    background: var(--rule);
  }

  .recompose-mark::before { top: 0; }
  .recompose-mark::after { bottom: 0; }
  .recompose-mark img { width: 84px; height: 84px; filter: invert(1); opacity: .88; }

  .new-grid {
    min-height: 235px;
    padding: 2.65rem 0 1.25rem;
    display: grid;
    align-content: center;
  }

  .grid-role {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 1rem;
    align-items: center;
    min-height: 54px;
    padding-block: .7rem;
    border-top: 1px solid var(--rule);
  }

  .grid-role:last-child { border-bottom: 1px solid var(--rule); }
  .grid-role span { color: var(--steel); font-size: .76rem; }
  .grid-role strong { font-size: .96rem; font-weight: 600; }
  .role-agent { color: var(--blue); }
  .shift-note { max-width: 48ch; color: var(--steel); font-size: .78rem; }

  .system {
    position: relative;
    overflow: hidden;
    background: var(--carbon);
    color: var(--warm);
    padding: clamp(7rem, 12vw, 11rem) max(var(--page-pad), calc((100vw - var(--content-max)) / 2 + var(--page-pad)));
  }

  .system::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0 49.95%, rgba(255,255,255,.08) 50%, transparent 50.05%);
    pointer-events: none;
  }

  .section-intro-dark { position: relative; z-index: 1; }
  .section-intro-dark > p { color: #aaa9a2; }

  .system-layers {
    position: relative;
    z-index: 1;
    margin-top: clamp(5rem, 9vw, 8rem);
    border-top: 1px solid #4c4c48;
  }

  .system-layer {
    display: grid;
    grid-template-columns: 70px minmax(220px, .75fr) minmax(320px, 1.25fr) minmax(190px, .7fr);
    gap: clamp(1rem, 3vw, 3rem);
    align-items: start;
    padding: clamp(2rem, 3vw, 3.25rem) 0;
    border-bottom: 1px solid #4c4c48;
    transition: color .25s ease;
  }

  .system-layer:hover { color: white; }
  .layer-index { color: var(--blue); font-size: .78rem; }
  .system-layer h3 { font-size: clamp(1.5rem, 2.4vw, 2.45rem); line-height: 1.05; letter-spacing: -.025em; font-weight: 620; }
  .system-layer > p { max-width: 47ch; color: #aaa9a2; }
  .system-layer ul { color: #d6d3cb; font-size: .84rem; }
  .system-layer li + li { margin-top: .5rem; }

  .services {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: clamp(3rem, 8vw, 9rem);
  }

  .services-heading h2 {
    font-size: clamp(2.8rem, 5.8vw, 5.6rem);
    line-height: 1;
    letter-spacing: -.038em;
    font-weight: 680;
  }

  .services-heading > p {
    max-width: 28ch;
    margin-top: 2.25rem;
    color: #555650;
    font-size: clamp(1rem, 1.25vw, 1.16rem);
  }

  .services-list { border-top: 1px solid var(--carbon); }
  .service-line {
    display: grid;
    grid-template-columns: minmax(125px, .8fr) minmax(0, 1.2fr);
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .service-line h3 { font-size: clamp(1.2rem, 1.8vw, 1.65rem); line-height: 1.25; letter-spacing: -.025em; font-weight: 620; }
  .service-line p { max-width: 34ch; color: var(--steel); font-size: .94rem; }

  .method {
    border-top: 1px solid var(--rule);
    display: grid;
    grid-template-columns: minmax(320px, .75fr) minmax(450px, 1fr);
    gap: clamp(4rem, 10vw, 10rem);
  }

  .method-title { align-self: start; }
  .method-title > p { margin-top: 2.3rem; }

  .method-steps { border-top: 1px solid var(--carbon); }
  .method-steps li {
    min-height: 170px;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .method-steps > li > span { color: var(--blue); font-size: .78rem; font-variant-numeric: tabular-nums; }
  .method-steps h3 { font-size: clamp(1.5rem, 2.2vw, 2.15rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 620; }
  .method-steps p { max-width: 35ch; margin-top: .75rem; color: var(--steel); }

  .boundary {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: clamp(4rem, 11vw, 11rem);
    border-top: 1px solid var(--carbon);
  }

  .boundary-statement > p { margin-top: 2.3rem; }
  .boundary-list { border-top: 1px solid var(--carbon); }
  .boundary-list > div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 1.5rem;
    padding: 1.45rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .boundary-list dt { color: var(--carbon); font-size: .8rem; }
  .boundary-list dd { color: #4e4f4a; }

  .closing {
    min-height: 700px;
    padding: clamp(6rem, 10vw, 10rem) max(var(--page-pad), calc((100vw - var(--content-max)) / 2 + var(--page-pad)));
    display: grid;
    grid-template-columns: minmax(260px, .6fr) minmax(0, 1.4fr);
    align-items: center;
    gap: clamp(2rem, 8vw, 8rem);
    background: var(--carbon);
    color: var(--warm);
  }

  .closing-mark { display: grid; place-items: center; }
  .closing-mark img { width: clamp(120px, 15vw, 190px); height: auto; }
  .closing-copy p { max-width: 45ch; margin-top: 2.2rem; color: #aaa9a2; }

  .contact-title {
    margin-top: 4rem;
    font-size: clamp(1.4rem, 2.1vw, 2rem);
    font-weight: 620;
    letter-spacing: -.025em;
  }

  .closing-copy .contact-note { margin-top: .5rem; color: #c4c3bd; font-size: .86rem; }
  .contact-channels { margin-top: 1.6rem; border-top: 1px solid #595955; }
  .contact-channels > div {
    min-height: 62px;
    padding: 1rem 0;
    border-bottom: 1px solid #595955;
    display: grid;
    grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 1rem;
  }

  .contact-channels span { color: #aaa9a2; font-size: .86rem; }
  .contact-channels strong { font-size: .9rem; font-weight: 500; }

  .contact-grid { margin-top: 1.7rem; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2.4rem; }
  .contact-grid .contact-channels { margin-top: 0; flex: 1 1 240px; }
  .qr-card { width: 188px; margin: 0; background: var(--white); border: 1px solid #595955; border-radius: 14px; overflow: hidden; }
  .qr-card img { width: 100%; height: auto; }
  .qr-card figcaption { padding: .68rem .95rem; border-top: 1px solid #595955; font-size: .76rem; color: #aaa9a2; }
  .contact-channels a.contact-mail { color: inherit; text-decoration: none; border-bottom: 1px solid #595955; padding-bottom: .12em; transition: color .25s var(--ease-out), border-color .25s var(--ease-out); }
  .contact-channels a.contact-mail:hover { color: var(--warm); border-color: var(--warm); }

  .contact-grid--light .qr-card { border-color: var(--rule); }
  .contact-grid--light .qr-card figcaption { border-color: var(--rule); color: var(--steel); }
  .contact-grid--light .contact-channels { border-top-color: var(--rule); }
  .contact-grid--light .contact-channels > div { border-bottom-color: var(--rule); }
  .contact-grid--light .contact-channels span { color: var(--steel); }
  .contact-grid--light .contact-channels strong { color: var(--carbon); }
  .contact-grid--light a.contact-mail:hover { color: var(--blue); border-color: var(--blue); }

  .social-row { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 1.4rem 1.8rem; }
  .social-item { display: flex; flex-direction: column; align-items: center; gap: .5rem; min-width: 68px; }
  .social-icon { width: 48px; height: 48px; border: 1px solid #595955; border-radius: 50%; display: grid; place-items: center; color: var(--warm); transition: color .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out); }
  .social-icon svg { width: 22px; height: 22px; }
  .social-name { font-size: .78rem; color: #aaa9a2; transition: color .25s var(--ease-out); }
  .social-badge { font-size: .6rem; letter-spacing: .1em; color: #8b8a83; border: 1px solid #595955; border-radius: 999px; padding: .14rem .55rem; }
  .social-item.is-pending .social-icon { color: #7d7c75; }
  a.social-item { text-decoration: none; }
  a.social-item:hover .social-icon { color: var(--warm); border-color: var(--warm); transform: translateY(-3px); }
  a.social-item:hover .social-name { color: var(--warm); }

  .site-footer {
    min-height: 110px;
    padding: 1.5rem var(--page-pad);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 2rem;
    background: var(--carbon);
    color: #aaa9a2;
    border-top: 1px solid #383835;
    font-size: .76rem;
  }

  .footer-brand { display: inline-flex; align-items: center; gap: .2rem; color: var(--warm); font-size: .9rem; font-weight: 600; }
  .footer-brand img { width: 44px; height: 44px; }
  .site-footer p { text-align: center; }
  .site-footer > span { text-align: right; }
  .site-footer a.icp-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #57564f; }
  .site-footer a.icp-link:hover { color: var(--warm); text-decoration-color: var(--warm); }

  /* --- 首页「我们的使命」 --- */
  .mission {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: clamp(7rem, 12vw, 12rem) var(--page-pad);
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, .9fr);
    gap: clamp(3rem, 9vw, 10rem);
    align-items: end;
  }

  .mission h2 {
    font-size: clamp(2.6rem, 4.5vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -.038em;
    font-weight: 680;
  }

  .mission-copy p {
    max-width: 30ch;
    color: #3c3d39;
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  }

  .mission-copy .text-link { display: inline-block; margin-top: 1.6rem; }

  /* --- 服务介绍页（services.html） --- */
  .sv-hero {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: clamp(9rem, 16vh, 12rem) var(--page-pad) clamp(4rem, 7vw, 6.5rem);
  }

  .sv-tag { color: var(--steel); font-size: .78rem; letter-spacing: .08em; }

  .sv-hero h1 {
    max-width: 900px;
    margin-top: 1.4rem;
    font-size: clamp(2.4rem, 4.6vw, 4.1rem);
    line-height: 1.04;
    letter-spacing: -.038em;
    font-weight: 690;
  }

  .sv-intro {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-left: clamp(1.25rem, 3.5vw, 3.75rem);
    border-left: 1px solid var(--rule);
    display: grid;
    gap: .6rem;
  }

  .sv-intro h2 { color: var(--steel); font-size: .78rem; font-weight: 600; }
  .sv-intro p { max-width: 40ch; font-size: clamp(1rem, 1.3vw, 1.18rem); color: #3c3d39; }

  .sv-services,
  .sv-process {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: clamp(5rem, 9vw, 9rem) var(--page-pad);
  }

  .sv-process { border-top: 1px solid var(--rule); }

  .sv-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .65fr);
    gap: clamp(3rem, 9vw, 10rem);
    align-items: end;
    margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
  }

  .sv-section-head h2 {
    font-size: clamp(2.8rem, 5.8vw, 5.6rem);
    line-height: 1;
    letter-spacing: -.038em;
    font-weight: 680;
  }

  .sv-section-head > p {
    max-width: 44ch;
    color: #555650;
    font-size: clamp(1rem, 1.25vw, 1.16rem);
  }

  .sv-group + .sv-group { margin-top: clamp(3.5rem, 6vw, 5rem); }
  .sv-group-label {
    padding-bottom: .9rem;
    color: var(--steel);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
  }
  .sv-group .services-list { border-top-width: 1px; }
  .sv-num {
    margin-right: .7rem;
    color: var(--steel);
    font-size: .72em;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    vertical-align: .18em;
  }

  .sv-seg {
    margin-bottom: .55rem;
    color: var(--steel);
    font-size: .78rem;
    letter-spacing: .06em;
  }
  .sv-seg::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: .5rem;
    background: var(--blue);
    vertical-align: .12em;
  }

  /* 流程 li 无编号列时，内容固定占第二列（首页与服务页 method-steps 通用） */
  .method-steps li > div { grid-column: 2; }

  .sv-billing-line { color: #3c3d39 !important; border-left: 2px solid var(--carbon); padding-left: 1rem; }

  .sv-closing {
    min-height: 560px;
    padding: clamp(6rem, 10vw, 10rem) max(var(--page-pad), calc((100vw - var(--content-max)) / 2 + var(--page-pad)));
    display: grid;
    align-items: center;
    background: var(--warm);
  }

  .sv-closing-copy { max-width: var(--content-max); margin: 0 auto; width: 100%; }

  .sv-closing-copy h2 {
    font-size: clamp(2.8rem, 5.8vw, 5.6rem);
    line-height: 1;
    letter-spacing: -.038em;
    font-weight: 680;
  }

  .sv-closing-copy > p {
    max-width: 45ch;
    margin-top: 2.2rem;
    color: #4d4e49;
    font-size: clamp(1rem, 1.25vw, 1.16rem);
  }

  .sv-contact-note { color: var(--steel) !important; font-size: .86rem !important; margin-top: 1rem !important; }

  .sv-closing-copy .button { margin-top: 2.5rem; }

  .sv-more-link { display: inline-block; margin-top: 1.6rem; }

  .desktop-nav a.is-active,
  .mobile-nav a.is-active { color: var(--carbon); }
  .desktop-nav a.is-active::after { right: 0; }
}

@layer responsive {
  @media (max-width: 1080px) {
    .site-header { grid-template-columns: 1fr auto auto; gap: .8rem; }
    .desktop-nav { display: none; }
    .menu-toggle {
      justify-self: end;
      width: 44px;
      height: 44px;
      padding: 0;
      display: grid;
      place-content: center;
      gap: 6px;
      border: 0;
      background: transparent;
      cursor: pointer;
    }
    .menu-toggle > span:not(.sr-only) { width: 24px; height: 1px; background: var(--carbon); transition: transform .25s ease; }
    .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
    .mobile-nav {
      position: fixed;
      inset: 76px 0 auto;
      min-height: calc(100svh - 76px);
      padding: 3rem var(--page-pad);
      background: var(--warm);
      border-top: 1px solid var(--rule);
      flex-direction: column;
      align-items: flex-start;
      gap: 1.5rem;
      font-size: clamp(1.8rem, 6vw, 3.5rem);
      font-weight: 620;
      letter-spacing: -.03em;
      overflow-y: auto;
    }
    .mobile-nav:not([hidden]) { display: flex; }

    .hero {
      grid-template-columns: 1fr;
      min-height: auto;
      padding-top: 9rem;
    }
    .hero::before { display: none; }
    .hero-copy { padding-bottom: 2rem; }
    .runtime-visual { width: min(100%, 680px); justify-self: center; }
    .section-intro { grid-template-columns: 1fr; align-items: start; }
    .section-intro > p { margin-left: 20%; }
    .shift-stage { grid-template-columns: 1fr; }
    .recompose-mark { min-height: 108px; }
    .recompose-mark::before, .recompose-mark::after { width: calc(50% - 58px); height: 1px; top: 50%; }
    .recompose-mark::before { left: 0; }
    .recompose-mark::after { left: auto; right: 0; bottom: auto; }
    .old-order { padding-right: 0; }
    .new-order { padding-left: 0; }
    .system-layer { grid-template-columns: 48px minmax(180px, .7fr) minmax(260px, 1.3fr); }
    .system-layer ul { grid-column: 2 / -1; display: flex; gap: 1.25rem; flex-wrap: wrap; }
    .services { grid-template-columns: 1fr; }
    .services-heading > p { max-width: 50ch; }
    .method { grid-template-columns: 1fr; }
    .method-title { position: static; }
    .boundary { grid-template-columns: 1fr; }
  }

  @media (max-width: 720px) {
    :root { --page-pad: 1.25rem; }
    section[id] { scroll-margin-top: 68px; }
    .site-header { height: 68px; }
    .brand-mark, .brand-mark img { width: 46px; height: 46px; }
    .header-action { min-height: 36px; padding: 0 .8rem; font-size: .78rem; }
    .mobile-nav { inset-block-start: 68px; min-height: calc(100svh - 68px); }

    .hero { padding-top: 7.6rem; padding-bottom: 1.5rem; }
    .hero h1 { font-size: clamp(1.75rem, 8.8vw, 4.05rem); line-height: .98; }
    .hero h1 .hero-shift { transform: translateX(.7rem); }
    .hero-support { margin-top: 2.3rem; padding-left: .7rem; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .runtime-visual { margin-top: 3.75rem; margin-bottom: 1rem; }
    .runtime-map { display: none; }
    .runtime-meta { font-size: .7rem; }
    .runtime-mobile-flow { display: grid; gap: 1.8rem; margin: 2.25rem 0; }
    .runtime-mobile-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
    .runtime-mobile-row > div { min-width: 0; padding-top: .55rem; border-top: 1px solid var(--carbon); }
    .runtime-mobile-row span { display: block; color: var(--steel); font-size: .69rem; }
    .runtime-mobile-row strong { display: block; margin-top: .2rem; font-size: .8rem; font-weight: 620; }
    .runtime-mobile-core { position: relative; display: grid; justify-items: center; gap: .45rem; padding: 1rem 0; }
    .runtime-mobile-core::before, .runtime-mobile-core::after {
      content: "";
      position: absolute;
      left: 50%;
      width: 1px;
      height: 1rem;
      background: #989a94;
    }
    .runtime-mobile-core::before { top: 0; }
    .runtime-mobile-core::after { bottom: 0; }
    .runtime-mobile-core img { width: 86px; height: 86px; background: var(--carbon); }
    .runtime-mobile-core span { color: var(--steel); font-size: .7rem; }
    .runtime-footnote { padding-inline: .5rem; }

    .model, .method, .boundary, .services { padding-top: 6.5rem; padding-bottom: 6.5rem; }
    .section-intro h2, .method-title h2, .boundary h2, .closing h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
    .services-heading h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
    .section-intro > p { margin-left: .7rem; }
    .shift-stage { margin-top: 4rem; }
    .legacy-flow { grid-template-columns: 1fr; gap: .5rem; padding: 2rem 0; }
    .legacy-flow i { width: 1px; height: 18px; justify-self: center; }
    .legacy-flow span { min-width: 100px; justify-self: center; }
    .recompose-mark { min-height: 96px; }
    .new-grid { min-height: 220px; }
    .grid-role { grid-template-columns: 72px 1fr; }

    .system { padding-top: 6.5rem; padding-bottom: 6.5rem; }
    .system::before { display: none; }
    .system-layer { grid-template-columns: 1fr; padding: 2.2rem 0; }
    .system-layer h3 { grid-column: 1; }
    .system-layer > p, .system-layer ul { grid-column: 1; }
    .system-layer ul { display: block; }
    .system-layer li + li { margin-top: .4rem; }
    .service-line { grid-template-columns: 1fr; gap: .55rem; padding: 1.6rem 0; }
    .method-steps li { min-height: 150px; grid-template-columns: 1fr; }
    .method-steps li > div { grid-column: 1; }
    .boundary-list > div { grid-template-columns: 64px 1fr; }
    .closing { min-height: auto; grid-template-columns: 1fr; padding-top: 6rem; padding-bottom: 6rem; }
    .closing-mark { place-items: start; }
    .closing-mark img { width: 110px; }
    .contact-title { margin-top: 3.5rem; }
    .contact-channels > div { grid-template-columns: 100px minmax(0, 1fr); }
    .contact-grid { gap: 1.8rem; }
    .qr-card { width: 164px; }
    .social-row { gap: 1.1rem 1.2rem; }
    .social-icon { width: 44px; height: 44px; }
    .site-footer { grid-template-columns: 1fr; gap: .65rem; padding-top: 2rem; padding-bottom: 2rem; }
    .site-footer p, .site-footer > span { text-align: left; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .map-lines { opacity: 1 !important; }
  }
}

  /* --- 首屏运行图落位编排：分散 → 描线连接 → 节点落位 → 重构亮起 --- */
  .js .runtime-visual:not(.is-live) :is(.map-lines, .map-dots, .map-node, .map-core),
  .js .runtime-visual:not(.is-live) ~ .runtime-mobile-flow,
  .js .runtime-visual:not(.is-live) ~ .runtime-footnote { opacity: 0; }

  .runtime-visual.is-live .map-lines path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: map-draw .65s cubic-bezier(.4, 0, .2, 1) both;
  }
  .runtime-visual.is-live .map-lines path:nth-of-type(2) { animation-delay: .07s; }
  .runtime-visual.is-live .map-lines path:nth-of-type(3) { animation-delay: .14s; }
  .runtime-visual.is-live .map-lines path:nth-of-type(4) { animation-delay: .21s; }
  .runtime-visual.is-live .map-lines path:nth-of-type(5) { animation-delay: .28s; }
  .runtime-visual.is-live .map-lines path:nth-of-type(6) { animation-delay: .35s; }
  @keyframes map-draw { to { stroke-dashoffset: 0; } }

  .runtime-visual.is-live .map-node { --shift: 30px; animation: map-node-in .55s cubic-bezier(.2, .7, .2, 1) both; }
  .runtime-visual.is-live .map-node:nth-child(3) { --shift: -30px; animation-delay: .55s; }
  .runtime-visual.is-live .map-node:nth-child(4) { --shift: -30px; animation-delay: .67s; }
  .runtime-visual.is-live .map-node:nth-child(5) { --shift: -30px; animation-delay: .79s; }
  .runtime-visual.is-live .map-node:nth-child(7) { animation-delay: .62s; }
  .runtime-visual.is-live .map-node:nth-child(8) { animation-delay: .74s; }
  .runtime-visual.is-live .map-node:nth-child(9) { animation-delay: .86s; }
  @keyframes map-node-in {
    from { opacity: 0; transform: translateX(var(--shift)); }
    to { opacity: 1; transform: translateX(0); }
  }

  .runtime-visual.is-live .map-dots circle {
    transform-box: fill-box;
    transform-origin: center;
    animation: map-pop .4s cubic-bezier(.34, 1.56, .64, 1) 1.05s both;
  }
  .runtime-visual.is-live .map-dots circle:nth-child(2) { animation-delay: 1.2s; }
  @keyframes map-pop {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
  }

  .runtime-visual.is-live .map-core {
    transform-box: fill-box;
    transform-origin: center;
    animation: map-core-in .5s cubic-bezier(.2, .7, .2, 1) 1.15s both;
  }
  @keyframes map-core-in {
    from { opacity: 0; transform: scale(.94); }
    to { opacity: 1; transform: scale(1); }
  }

  .runtime-visual.is-live ~ .runtime-mobile-flow .runtime-mobile-row { animation: flow-up .5s ease both; }
  .runtime-visual.is-live ~ .runtime-mobile-flow .runtime-mobile-row:nth-of-type(2) { animation-delay: .35s; }
  .runtime-visual.is-live ~ .runtime-mobile-flow .runtime-mobile-core { animation: flow-up .5s ease .18s both; }
  .runtime-visual.is-live ~ .runtime-footnote { animation: flow-up .6s ease .45s both; }
  @keyframes flow-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    .runtime-visual :is(.map-node, .map-core, .map-dots, .map-lines, .map-lines path) {
      opacity: 1 !important; animation: none !important;
      stroke-dasharray: none !important; stroke-dashoffset: 0 !important; transform: none !important;
    }
    .runtime-mobile-flow :is(.runtime-mobile-row, .runtime-mobile-core),
    .runtime-footnote { opacity: 1 !important; animation: none !important; transform: none !important; }
  }

  /* --- 首页使命区 + 服务介绍页响应式 --- */
  @media (max-width: 1080px) {
    .sv-section-head { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
    .mission { grid-template-columns: 1fr; align-items: start; gap: 2rem; }
  }

  @media (max-width: 720px) {
    .mission { padding-top: 6.5rem; padding-bottom: 6.5rem; }
    .mission h2 { font-size: clamp(2.2rem, 10.5vw, 4.2rem); }
    .mission-copy p { margin-left: .7rem; }
    .sv-hero { padding-top: 7.6rem; padding-bottom: 3.5rem; }
    .sv-hero h1 { font-size: clamp(1.7rem, 7.2vw, 3.2rem); }
    .sv-intro { padding-left: .7rem; }
    .sv-services, .sv-process { padding-top: 4.5rem; padding-bottom: 4.5rem; }
    .sv-section-head h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
    .sv-process .method-steps li { grid-template-columns: 1fr; }
    .sv-process .method-steps li > div { grid-column: 1; }
    .sv-closing { padding-top: 4.5rem; padding-bottom: 4.5rem; min-height: auto; }
    .sv-closing-copy h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  }
