:root {
  --site-wrap: 1280px;
  --site-gutter: 28px;
  --site-ease: cubic-bezier(.16, 1, .3, 1);
}

/* Shared alignment layer. It is intentionally late-loaded so the source-page art remains intact. */
@media (min-width: 1201px) {
  .site-header,
  .jianliu-page .site-header {
    width: min(var(--site-wrap), calc(100% - (var(--site-gutter) * 2)));
  }

  .hero-inner,
  .online-page .hero-showcase,
  .contact-page .contact-hero-inner,
  .online-page .join-banner,
  .online-page .services-layout,
  .online-page .dsa-card,
  .study-page .invite-panel,
  .study-page .solution-grid,
  .study-page .store-grid,
  .jianliu-page .join-strip-inner,
  .contact-page .cooperation-inner {
    width: min(var(--site-wrap), calc(100% - (var(--site-gutter) * 2)));
  }

  .hero .hero-copy {
    width: 100%;
    min-width: 0;
  }

  .hero .hero-card {
    width: 100%;
    font-size: 14px;
  }

  .hero .qr-panel {
    width: 100%;
    max-width: 470px;
    margin: 0;
    align-self: center;
    justify-self: center;
    transform: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 760px) minmax(390px, 470px);
    gap: clamp(30px, 3vw, 50px);
    align-items: center;
  }

  .hero .qr-art {
    width: min(423px, 100%);
  }

  .hero .hero-cta {
    left: 50%;
    width: calc(100% - 20px);
    transform: translateX(-50%);
  }

  .online-page .video-screen {
    left: 0;
  }

  .online-page .join-banner {
    grid-template-columns: 390px minmax(0, 1fr) 190px;
    gap: 42px;
  }

  .online-page .services-layout {
    grid-template-columns: 410px minmax(0, 1fr);
    gap: 64px;
  }

  .online-page .study-collage {
    width: min(700px, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .online-page .study-photo {
    width: 37.5%;
    height: 37.5%;
  }

  .online-page .dsa-card,
  .study-page .store-grid {
    max-width: var(--site-wrap);
  }

  .study-page .invite-panel {
    grid-template-columns: minmax(340px, .82fr) minmax(0, 1fr) 208px;
  }

  .study-page .invite-panel > img {
    width: 100%;
  }

  .study-page .solution-grid {
    gap: 30px;
  }

  .study-page .store-grid {
    grid-template-columns: 1.08fr .96fr .96fr;
  }

  .jianliu-page .join-strip-inner {
    max-width: var(--site-wrap);
  }

  .jianliu-page .round-link {
    right: 118px;
  }

  .jianliu-page .team-area {
    padding-right: max(var(--site-gutter), calc((100% - var(--site-wrap)) / 2));
    padding-left: max(var(--site-gutter), calc((100% - var(--site-wrap)) / 2));
  }

  .jianliu-page .base-gallery {
    padding-right: max(var(--site-gutter), calc((100% - var(--site-wrap)) / 2));
    padding-left: max(var(--site-gutter), calc((100% - var(--site-wrap)) / 2));
  }

  .site-footer,
  .online-footer,
  .study-footer,
  .jianliu-footer {
    padding-right: max(var(--site-gutter), calc((100% - var(--site-wrap)) / 2));
    padding-left: max(var(--site-gutter), calc((100% - var(--site-wrap)) / 2));
  }

  .contact-page .contact-hero-inner {
    padding-top: 205px;
  }

  .contact-page .contact-about {
    width: min(760px, 61%);
  }

  .contact-page .about-card {
    width: 100%;
    font-size: 14px;
  }

  .contact-page .hero-qr-panel {
    width: 370px;
    transform: scale(.82);
    transform-origin: top right;
  }

  /* The scaled panel keeps the source art widths; center the oversized QR frame on the CTA. */
  .contact-page .hero-qr-frame {
    margin-right: 23.5px;
    margin-left: 23.5px;
  }

  .contact-page .top-contact-card {
    left: 0;
    transform: scale(.86);
    transform-origin: left top;
  }

  .contact-page .mini-qr-group {
    width: 370px;
    transform: scale(.82);
    transform-origin: top right;
  }
}

/* Contact information is a single, readable group; the enquiry form keeps its current treatment. */
@media (min-width: 1201px) {
  .contact-page .cooperation {
    height: auto;
    min-height: 1010px;
  }

  .contact-page .cooperation::before {
    left: calc(50% - 530px);
    bottom: 255px;
  }

  .contact-page .cooperation-inner {
    min-height: 1010px;
    padding: 88px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(500px, .96fr);
    align-items: center;
    gap: 52px;
  }

  .contact-page .cooperation-copy,
  .contact-page .contact-form,
  .contact-page .cooperation-list {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .contact-page .cooperation-copy {
    width: 100%;
    min-width: 0;
    padding: 50px 48px 34px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(122, 212, 255, .18);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(5, 39, 69, .98), rgba(8, 28, 60, .98));
    box-shadow: 0 22px 46px rgba(0, 10, 35, .24), inset 0 1px 0 rgba(204, 241, 255, .12);
  }

  .contact-page .cooperation-copy::before {
    position: absolute;
    z-index: -1;
    top: 30px;
    right: -52px;
    width: 560px;
    content: "CONTACT INFORMATION";
    color: rgba(147, 222, 255, .055);
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
    transform: rotate(-90deg) translateY(-100%);
    transform-origin: top right;
  }

  .contact-page .cooperation-copy::after {
    position: absolute;
    z-index: 0;
    top: 28px;
    right: 36px;
    content: "\201D\201D";
    color: rgba(154, 222, 255, .16);
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: .5;
  }

  .contact-page .cooperation-copy > * {
    position: relative;
    z-index: 1;
  }

  .contact-page .cooperation-copy h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 34px;
    background: none;
  }

  .contact-page .cooperation-lead {
    color: rgba(236, 247, 255, .88);
    font-size: 17px;
    line-height: 1.6;
    white-space: normal;
  }

  .contact-page .cooperation-lead strong {
    color: #55d8fa;
    font-size: 22px;
  }

  .contact-page .cooperation-subtitle {
    margin-top: 6px;
    color: rgba(199, 226, 245, .72);
    font-size: 14px;
  }

  .contact-page .direct-contact {
    margin-top: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, .72fr);
    gap: 28px;
    align-items: end;
  }

  .contact-page .direct-contact-main {
    min-width: 0;
  }

  .contact-page .contact-tag {
    width: fit-content;
    height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(105, 222, 255, .36);
    border-radius: 17px;
    color: #b8efff;
    font-size: 14px;
    background: rgba(17, 124, 178, .32);
  }

  .contact-page .cooperation-hotline-label {
    margin: 20px 0 6px;
    color: rgba(224, 246, 255, .88);
    font-size: 15px;
    font-weight: 700;
  }

  .contact-page .direct-contact > .direct-contact-main > a {
    display: block;
    width: fit-content;
    margin: 0;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: clamp(30px, 2.5vw, 42px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
  }

  .contact-page .cooperation-hotline-note {
    margin: 8px 0 0;
    color: #59dbfa;
    font-size: 12px;
  }

  .contact-page .cooperation-address {
    margin: 22px 0 0;
    color: rgba(236, 247, 255, .9);
    font-size: 14px;
    line-height: 1.55;
  }

  .contact-page .contact-meta {
    padding: 16px 0 10px 22px;
    border-left: 1px solid rgba(137, 221, 255, .25);
  }

  .contact-page .contact-meta p {
    margin: 0 0 12px;
    color: rgba(219, 241, 255, .76);
    font-size: 13px;
    line-height: 1.5;
  }

  .contact-page .contact-meta p:last-child {
    margin-bottom: 0;
  }

  .contact-page .contact-meta a {
    color: #8de8ff;
    text-decoration: none;
  }

  .contact-page .contact-icons {
    position: static;
    margin-top: 18px;
    display: flex;
    gap: 10px;
  }

  .contact-page .contact-icon {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(126, 220, 255, .24);
    background: rgba(2, 76, 125, .76);
  }

  .contact-page .contact-icons svg {
    width: 21px;
    height: 21px;
  }

  .contact-page .copy-feedback {
    position: static;
    align-self: center;
    min-width: 0;
    margin-left: 2px;
    color: #a9eaff;
    font-size: 12px;
  }

  .contact-page .cooperation-list {
    width: 100%;
    height: 260px;
    margin: 34px 0 0;
    padding: 26px 28px;
    border: 1px solid rgba(139, 223, 255, .1);
    border-radius: 12px;
    background: rgba(1, 18, 45, .52);
  }

  .contact-page .cooperation-list > p {
    color: rgba(141, 207, 247, .66);
  }

  .contact-page .cooperation-list-viewport {
    height: 166px;
  }

  .contact-page .contact-form {
    width: 100%;
    height: 830px;
    min-height: 0;
    margin: 0;
  }
}

@media (min-width: 761px) and (max-width: 1200px) {
  .contact-page .cooperation {
    height: auto;
    min-height: 0;
  }

  .contact-page .cooperation-inner {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .contact-page .cooperation-copy,
  .contact-page .contact-form,
  .contact-page .cooperation-list {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .contact-page .cooperation-copy {
    width: 100%;
    padding: 44px;
    overflow: hidden;
    border: 1px solid rgba(122, 212, 255, .18);
    border-radius: 20px;
    background: linear-gradient(135deg, #052745, #081c3c);
  }

  .contact-page .direct-contact {
    margin-top: 36px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, .72fr);
    gap: 28px;
    align-items: end;
  }

  .contact-page .direct-contact-main {
    min-width: 0;
  }

  .contact-page .contact-tag {
    width: fit-content;
    height: 34px;
    padding: 0 16px;
    border-radius: 17px;
    color: #b8efff;
    font-size: 14px;
    background: rgba(17, 124, 178, .32);
  }

  .contact-page .cooperation-hotline-label {
    margin: 20px 0 6px;
    color: rgba(224, 246, 255, .88);
    font-size: 15px;
    font-weight: 700;
  }

  .contact-page .direct-contact > .direct-contact-main > a {
    display: block;
    width: fit-content;
    margin: 0;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    line-height: 1;
  }

  .contact-page .cooperation-hotline-note {
    margin: 8px 0 0;
    color: #59dbfa;
    font-size: 12px;
  }

  .contact-page .cooperation-address {
    margin: 22px 0 0;
    color: rgba(236, 247, 255, .9);
    font-size: 14px;
    line-height: 1.55;
  }

  .contact-page .contact-meta {
    padding: 16px 0 10px 22px;
    border-left: 1px solid rgba(137, 221, 255, .25);
  }

  .contact-page .contact-meta p {
    margin: 0 0 12px;
    color: rgba(219, 241, 255, .76);
    font-size: 13px;
    line-height: 1.5;
  }

  .contact-page .contact-meta a {
    color: #8de8ff;
    text-decoration: none;
  }

  .contact-page .contact-icons {
    position: static;
    margin-top: 18px;
    display: flex;
    gap: 10px;
  }

  .contact-page .contact-icon {
    width: 42px;
    height: 42px;
    background: rgba(2, 76, 125, .76);
  }

  .contact-page .contact-icons svg {
    width: 21px;
    height: 21px;
  }

  .contact-page .copy-feedback {
    position: static;
    min-width: 0;
    margin-left: 2px;
    color: #a9eaff;
    font-size: 12px;
  }

  .contact-page .cooperation-list {
    width: 100%;
    margin: 52px 0 0;
  }

  .contact-page .contact-form {
    width: min(700px, 100%);
    margin: 0 auto;
  }
}

/* Unified interaction timing avoids hard switches while preserving the original visual language. */
.main-nav a {
  position: relative;
  transition: color .3s var(--site-ease), background-color .3s var(--site-ease), transform .3s var(--site-ease), opacity .3s var(--site-ease);
}

.main-nav a::after {
  position: absolute;
  right: 22%;
  bottom: 4px;
  left: 22%;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 999px;
  background: currentColor;
  opacity: .78;
  transition: transform .3s var(--site-ease);
}

.main-nav a:hover::after,
.main-nav a.active::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.carousel-track,
.partner-track,
.product-track,
.saas-track,
.cooperation-scroll {
  transition-timing-function: var(--site-ease);
}

.carousel-track,
.partner-track,
.product-track {
  transition-duration: .6s;
}

@media (hover: hover) and (pointer: fine) {
  .motion-cta,
  .motion-card,
  .contact-page .contact-icon,
  .contact-page .contact-meta a {
    transition: transform .35s var(--site-ease), opacity .35s var(--site-ease);
  }

  .motion-cta:hover {
    transform: translate3d(0, -2px, 0);
  }

  .motion-card:hover {
    transform: translate3d(0, -3px, 0);
  }

  .motion-media img,
  .product-media img,
  .base-gallery-grid img,
  .store-grid img,
  .join-banner-photo img {
    transition: transform .6s var(--site-ease);
  }

  .motion-media:hover img,
  .product-media:hover img,
  .base-gallery-grid figure:hover img,
  .store-grid a:hover img,
  .join-banner-photo:hover img {
    transform: scale(1.025);
  }
}

@media (max-width: 760px) {
  :root {
    --site-gutter: 18px;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .site-header,
  .jianliu-page .site-header {
    padding-right: var(--site-gutter);
    padding-left: var(--site-gutter);
  }

  .main-nav a::after {
    right: auto;
    bottom: 7px;
    left: 18px;
    width: 30px;
  }

  .contact-page .cooperation {
    height: auto;
    min-height: 0;
  }

  .contact-page .cooperation::before {
    right: -75px;
    bottom: 170px;
    left: auto;
    width: min(134vw, 500px);
    opacity: .28;
  }

  .contact-page .cooperation-inner {
    width: 100%;
    min-height: 0;
    padding: 46px var(--site-gutter) 58px;
    display: block;
  }

  .contact-page .cooperation-copy,
  .contact-page .contact-form,
  .contact-page .cooperation-list {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .contact-page .cooperation-copy {
    width: 100%;
    padding: 32px 20px 22px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(122, 212, 255, .18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(5, 39, 69, .98), rgba(8, 28, 60, .98));
    box-shadow: 0 16px 36px rgba(0, 10, 35, .2), inset 0 1px 0 rgba(204, 241, 255, .1);
  }

  .contact-page .cooperation-copy::before {
    position: absolute;
    z-index: -1;
    top: 20px;
    right: -104px;
    content: "CONTACT INFORMATION";
    color: rgba(147, 222, 255, .05);
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    transform: rotate(-90deg) translateY(-100%);
    transform-origin: top right;
  }

  .contact-page .cooperation-copy::after {
    position: absolute;
    z-index: 0;
    top: 24px;
    right: 24px;
    content: "\201D\201D";
    color: rgba(154, 222, 255, .15);
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: .5;
  }

  .contact-page .cooperation-copy > * {
    position: relative;
    z-index: 1;
  }

  .contact-page .cooperation-copy h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(27px, 8vw, 32px);
    background: none;
  }

  .contact-page .cooperation-lead {
    font-size: 14px;
    line-height: 1.65;
  }

  .contact-page .cooperation-lead strong {
    color: #55d8fa;
    font-size: 17px;
  }

  .contact-page .cooperation-subtitle {
    margin-top: 6px;
    color: rgba(199, 226, 245, .76);
    font-size: 12px;
  }

  .contact-page .direct-contact {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-page .contact-tag {
    width: fit-content;
    height: 32px;
    padding: 0 14px;
    border: 1px solid rgba(105, 222, 255, .36);
    border-radius: 16px;
    color: #b8efff;
    font-size: 13px;
    background: rgba(17, 124, 178, .32);
  }

  .contact-page .cooperation-hotline-label {
    margin: 18px 0 6px;
    color: rgba(224, 246, 255, .88);
    font-size: 13px;
    font-weight: 700;
  }

  .contact-page .direct-contact > .direct-contact-main > a {
    display: block;
    width: fit-content;
    margin: 0;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: clamp(28px, 9vw, 36px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
  }

  .contact-page .cooperation-hotline-note {
    margin: 7px 0 0;
    color: #59dbfa;
    font-size: 11px;
  }

  .contact-page .cooperation-address {
    margin: 20px 0 0;
    color: rgba(236, 247, 255, .9);
    font-size: 13px;
    line-height: 1.55;
  }

  .contact-page .contact-meta {
    padding: 16px 0 0;
    border-top: 1px solid rgba(137, 221, 255, .25);
  }

  .contact-page .contact-meta p {
    margin: 0 0 9px;
    color: rgba(219, 241, 255, .78);
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .contact-page .contact-meta p:last-child {
    margin-bottom: 0;
  }

  .contact-page .contact-meta a {
    color: #8de8ff;
    text-decoration: none;
  }

  .contact-page .contact-icons {
    position: static;
    margin-top: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .contact-page .contact-icon {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(126, 220, 255, .24);
    background: rgba(2, 76, 125, .76);
  }

  .contact-page .contact-icons svg {
    width: 20px;
    height: 20px;
  }

  .contact-page .copy-feedback {
    position: static;
    min-width: 0;
    margin-left: 2px;
    color: #a9eaff;
    font-size: 11px;
  }

  .contact-page .cooperation-list {
    width: 100%;
    height: 300px;
    min-height: 0;
    margin: 30px 0 0;
    padding: 24px 16px;
    border: 1px solid rgba(139, 223, 255, .1);
    border-radius: 12px;
    background: rgba(1, 18, 45, .52);
  }

  .contact-page .cooperation-list-viewport {
    height: 173px;
  }

  .contact-page .contact-form {
    width: 100%;
    min-height: 0;
    height: auto;
    margin-top: 28px;
  }

  .site-footer,
  .online-footer,
  .study-footer,
  .jianliu-footer {
    padding-right: var(--site-gutter);
    padding-left: var(--site-gutter);
  }
}

/* V2.3 source alignment: keep the two contact actions and remove only the extra phone labels. */
.contact-page .direct-contact > .direct-contact-main > a {
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal .reveal-stagger {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 2026-09-20 visual corrections: readable footer mark and reference-matched contact layouts. */
.site-footer .footer-brand img,
.online-footer .footer-brand img,
.study-footer .footer-brand img,
.jianliu-footer .footer-brand img {
  width: 78px;
  height: auto;
  aspect-ratio: 137 / 123;
  object-fit: contain;
}

@media (min-width: 1201px) {
  .contact-page .top-contact-card {
    left: calc((100vw - 100%) / -2);
    width: 870px;
    height: 221px;
    padding: 45px 44px 0 136px;
    transform: none;
  }

  .contact-page .top-contact-card h2 {
    color: #0f4f7c;
  }

  .contact-page .top-contact-card::after {
    color: rgba(44, 119, 173, .45);
  }

  .contact-page .cooperation {
    min-height: 880px;
  }

  .contact-page .cooperation::before {
    left: calc(50% - 520px);
    bottom: 82px;
    width: 650px;
    opacity: .58;
  }

  .contact-page .cooperation::after {
    background: linear-gradient(90deg, transparent 0 61%, rgba(7, 29, 61, .2) 61% 100%);
  }

  .contact-page .cooperation-inner {
    min-height: 880px;
    padding: 72px 0 64px;
    grid-template-columns: minmax(0, 1.04fr) minmax(500px, .96fr);
    align-items: start;
    gap: 52px;
  }

  .contact-page .cooperation-copy {
    padding: 26px 0 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .contact-page .cooperation-copy::before {
    display: none;
  }

  .contact-page .cooperation-copy::after {
    top: auto;
    right: 16px;
    bottom: 250px;
    color: rgba(126, 201, 238, .13);
    font-size: 46px;
  }

  .contact-page .cooperation-copy h2 {
    margin-bottom: 22px;
    color: #139fe5;
    font-size: 34px;
  }

  .contact-page .cooperation-lead {
    font-size: 15px;
  }

  .contact-page .cooperation-lead strong {
    font-size: 22px;
  }

  .contact-page .cooperation-subtitle {
    margin-top: 4px;
    font-size: 13px;
  }

  .contact-page .direct-contact {
    margin-top: 68px;
    display: block;
  }

  .contact-page .direct-contact-main {
    position: relative;
  }

  .contact-page .contact-tag {
    height: 36px;
    border-radius: 3px;
    background: #073e78;
  }

  .contact-page .cooperation-hotline-label {
    margin-top: 22px;
  }

  .contact-page .direct-contact > .direct-contact-main > a {
    color: #27c8ec;
    font-size: 38px;
  }

  .contact-page .cooperation-address {
    margin-top: 20px;
  }

  .contact-page .contact-meta {
    display: none;
  }

  .contact-page .contact-icons {
    position: absolute;
    top: 77px;
    left: 342px;
    margin: 0;
    gap: 12px;
  }

  .contact-page .contact-icon {
    width: 44px;
    height: 44px;
  }

  .contact-page .cooperation-list {
    width: 520px;
    height: 235px;
    margin-top: 38px;
    padding: 24px 30px;
  }

  .contact-page .cooperation-list-viewport {
    height: 145px;
  }

  .contact-page .contact-form {
    width: 100%;
    height: 710px;
    padding-top: 38px;
  }

  body.contact-page .form-kicker {
    font-size: 18px;
  }

  body.contact-page .contact-form > h2 {
    margin: 19px 0 48px;
    font-size: 22px;
  }

  body.contact-page .form-body {
    min-height: 565px;
    padding: 116px 88px 34px;
    border-radius: 30px 30px 22px 22px;
  }

  body.contact-page .form-select {
    height: 116px;
    padding: 38px 52px;
    border-radius: 30px;
  }

  body.contact-page .form-select > span {
    font-size: 18px;
  }

  body.contact-page .form-select select {
    width: 330px;
    height: 40px;
    padding-right: 44px;
    font-size: 15px;
  }

  body.contact-page .form-body input {
    height: 60px;
    margin-bottom: 18px;
  }

  body.contact-page .form-body textarea {
    height: 102px;
    padding: 20px;
  }

  body.contact-page .form-body input::placeholder,
  body.contact-page .form-body textarea::placeholder {
    font-size: 15px;
  }

  body.contact-page .form-body button {
    width: 170px;
    height: 50px;
    margin-top: 16px;
    font-size: 18px;
  }
}

@media (max-width: 760px) {
  .contact-page .top-contact-card h2 {
    color: #2f7fb8;
  }

  .contact-page .cooperation-copy {
    padding: 8px 0 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .contact-page .cooperation-copy::before {
    display: none;
  }

  .contact-page .cooperation-copy::after {
    top: 2px;
    right: 4px;
  }

  .contact-page .cooperation-copy h2 {
    color: #25b9ed;
  }
}

/* Contact form V2.2: a self-contained card without the surrounding split-panel treatment. */
@media (min-width: 1201px) {
  .contact-page .cooperation::after {
    display: none;
  }

  .contact-page .contact-form {
    width: min(100%, 590px);
    min-height: 0;
    height: auto;
    padding-top: 30px;
    overflow: hidden;
    justify-self: end;
    border-radius: 22px;
    background: linear-gradient(145deg, #0b3c73 0%, #18366b 58%, #0a5262 100%);
    box-shadow: 0 18px 36px rgba(0, 18, 54, .22);
  }

  body.contact-page .form-kicker {
    font-size: 17px;
  }

  body.contact-page .contact-form > h2 {
    margin: 14px 0 32px;
    font-size: 22px;
  }

  body.contact-page .form-body {
    min-height: 0;
    padding: 104px 88px 28px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(135deg, #214f91, #17336a 66%, #0b4d5c);
  }

  body.contact-page .form-select {
    height: 104px;
    padding: 32px 42px;
    border-radius: 22px;
    background: linear-gradient(105deg, #2561aa, #174783);
  }

  body.contact-page .form-select > span {
    white-space: nowrap;
    font-size: 17px;
  }

  body.contact-page .form-select select {
    width: 330px;
    height: 40px;
    font-size: 15px;
  }

  body.contact-page .form-body input {
    height: 56px;
    margin-bottom: 14px;
  }

  body.contact-page .form-body textarea {
    height: 132px;
    min-height: 132px;
    padding: 20px;
  }

  body.contact-page .form-body button {
    width: 166px;
    height: 48px;
    margin-top: 16px;
    font-size: 17px;
  }
}

@media (max-width: 760px) {
  .contact-page .cooperation::after {
    display: none;
  }

  .contact-page .contact-form {
    min-height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(145deg, #0b3c73 0%, #18366b 58%, #0a5262 100%);
  }

  body.contact-page .form-kicker {
    font-size: 17px;
  }

  body.contact-page .contact-form > h2 {
    margin: 14px 0 30px;
    font-size: 21px;
  }

  body.contact-page .form-body {
    min-height: 0;
    padding: 104px 24px 30px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, #214f91, #17336a 66%, #0b4d5c);
  }

  body.contact-page .form-select {
    height: 104px;
    padding: 30px 20px;
    border-radius: 20px;
    background: linear-gradient(105deg, #2561aa, #174783);
  }

  body.contact-page .form-select > span {
    white-space: nowrap;
    font-size: 16px;
  }

  body.contact-page .form-select select {
    width: min(58vw, 240px);
    height: 40px;
  }

  body.contact-page .form-body input {
    height: 56px;
    margin-bottom: 14px;
  }

  body.contact-page .form-body textarea {
    height: 132px;
    min-height: 132px;
    padding: 20px;
  }

  body.contact-page .form-body button {
    width: 166px;
    height: 48px;
    margin-top: 16px;
    font-size: 17px;
  }

  body.contact-page .form-body input:focus-visible,
  body.contact-page .form-body textarea:focus-visible,
  body.contact-page .form-select select:focus-visible {
    outline: 3px solid #8eeeff;
    outline-offset: 2px;
  }
}

/* V2.4: keep the shared brand hero geometry stable across the home and contact pages. */
@media (min-width: 1201px) {
  :root {
    --brand-hero-copy-width: 760px;
    --brand-hero-qr-panel-width: 470px;
    --brand-hero-qr-art-size: 423px;
    --brand-hero-qr-code-width: 232px;
    --brand-hero-qr-code-height: 227px;
    --brand-hero-cta-width: 450px;
    --brand-hero-cta-height: 70px;
    --brand-hero-cta-gap: 24px;
  }

  .hero-inner,
  .contact-page .contact-hero-inner {
    width: min(var(--site-wrap), calc(100% - (var(--site-gutter) * 2)));
    height: auto;
    min-height: 0;
    padding-top: 205px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
  }

  .hero .hero-copy,
  .contact-page .contact-about {
    width: var(--brand-hero-copy-width);
    min-width: 0;
    flex: 0 1 var(--brand-hero-copy-width);
  }

  .hero .qr-panel,
  .contact-page .hero-qr-panel {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: var(--brand-hero-qr-panel-width);
    height: calc(var(--brand-hero-qr-art-size) + var(--brand-hero-cta-gap) + var(--brand-hero-cta-height));
    min-height: calc(var(--brand-hero-qr-art-size) + var(--brand-hero-cta-gap) + var(--brand-hero-cta-height));
    margin: 0;
    flex: 0 0 var(--brand-hero-qr-panel-width);
    align-self: center;
    text-align: center;
    transform: none;
  }

  .hero .qr-art,
  .contact-page .hero-qr-frame {
    width: var(--brand-hero-qr-art-size);
    height: var(--brand-hero-qr-art-size);
    aspect-ratio: 1;
    margin: 0 auto;
    padding: 44px 44px 0;
  }

  .hero .qr-code,
  .contact-page .hero-qr-frame img {
    width: var(--brand-hero-qr-code-width);
    height: var(--brand-hero-qr-code-height);
    max-width: none;
    margin: 0 auto;
  }

  .hero .qr-panel > p,
  .contact-page .hero-qr-panel > p {
    position: absolute;
    top: 326px;
    right: 0;
    left: 0;
    width: fit-content;
    margin: 0 auto;
  }

  .hero .hero-cta,
  .contact-page .hero-qr-button {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: var(--brand-hero-cta-width);
    height: var(--brand-hero-cta-height);
    margin: var(--brand-hero-cta-gap) auto 0;
    transform: none;
  }

  .contact-page .top-contact-card {
    top: 742px;
  }

  .contact-page .mini-qr-group {
    top: 748px;
    right: 0;
    width: var(--brand-hero-qr-panel-width);
    transform: none;
  }
}

@media (max-width: 760px) {
  .hero .qr-panel,
  .contact-page .hero-qr-panel {
    height: auto;
    min-height: 0;
    transform: none;
  }

  .hero .qr-art,
  .contact-page .hero-qr-frame {
    width: min(250px, 78vw);
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto;
    padding: 10%;
  }

  .hero .qr-code,
  .contact-page .hero-qr-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 232 / 227;
    margin: 0 auto;
  }

  .hero .qr-panel > p,
  .contact-page .hero-qr-panel > p {
    position: static;
    width: fit-content;
    margin: 8px auto 12px;
  }

  .hero .hero-cta,
  .contact-page .hero-qr-button {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(450px, 100%);
    height: 54px;
    margin: 0 auto;
    transform: none;
  }
}

/* V2.4: the intermediate layout uses the same hero grid on both entry pages. */
@media (min-width: 761px) and (max-width: 1200px) {
  .hero-inner,
  .contact-page .contact-hero-inner {
    width: calc(100% - 80px);
  }

  .contact-page .contact-hero {
    padding-top: 125px;
  }

  .contact-page .contact-hero-inner {
    grid-template-columns: minmax(0, 62%) minmax(0, 34%);
    column-gap: 4%;
  }

  .contact-page .hero-qr-panel {
    width: 100%;
    margin-top: 15px;
  }
}

/* V2.5: keep the Jianliu capability content readable instead of covering it with a source composite. */
@media (min-width: 1601px) {
  .jianliu-page .capability-section::after {
    display: none;
  }
}

.jianliu-page .capability-stage::before {
  opacity: .035;
  filter: grayscale(1);
  transform: scale(1.02);
}

.jianliu-page .capability-grid h3 {
  color: #303b4b;
  font-weight: 600;
}

.jianliu-page .capability-grid p {
  color: #6d7a8c;
}

.jianliu-page .capability-note {
  color: #728093;
}

html.motion-enabled .jianliu-page .capability-section.motion-section {
  opacity: 1;
  transform: none;
  transition: none;
}

/* V2.6: restore the desktop hero's source proportion without changing its shared QR component. */
@media (min-width: 1601px) {
  .site-header,
  .jianliu-page .site-header {
    width: min(1740px, calc(100% - 110px));
  }

  .hero-inner,
  .contact-page .contact-hero-inner {
    width: min(1740px, calc(100% - 160px));
  }

  .hero .hero-copy,
  .contact-page .contact-about {
    width: 930px;
    flex-basis: 930px;
  }

  .hero .hero-card,
  .contact-page .about-card {
    min-height: 284px;
    font-size: 16px;
  }
}

/* The source bitmap includes a blank transition below the last outcomes card.
   End that desktop crop with the card so the dark retention band begins cleanly. */
@media (min-width: 1201px) {
  .online-page .outcomes {
    height: 874px;
  }
}

/* V2.4: align the desktop media with the supplied hero composition and keep it at 16:9. */
@media (min-width: 1601px) {
  .online-page .hero-showcase {
    width: min(1740px, calc(100% - 160px));
    height: 100%;
    padding: 153px 0 0 8px;
    display: grid;
    grid-template-columns: minmax(0, 960px) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
  }

  .online-page .video-screen {
    position: relative;
    top: auto;
    left: auto;
    width: 960px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0;
  }

  .online-page .video-screen video {
    object-fit: cover;
  }
}

/* The bitmap hero does not retain its two-column composition on narrower desktops. */
@media (min-width: 761px) and (max-width: 1600px) {
  .online-page .online-hero {
    height: auto;
    min-height: 0;
    padding: 140px 32px 80px;
    background: radial-gradient(circle at 77% 44%, #d9efff 0, #eef9ff 28%, transparent 52%), linear-gradient(150deg, #f8fcff 0%, #deefff 64%, #b9d9ff 100%);
  }

  .online-page .hero-showcase {
    width: min(1280px, 100%);
    height: auto;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
  }

  .online-page .video-screen {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0;
  }

  .online-page .video-screen video {
    object-fit: cover;
  }

  .online-page .hero-message {
    display: block;
    min-width: 0;
    padding: 0;
    text-align: center;
  }

  .online-page .hero-details {
    justify-content: center;
    gap: 18px;
  }
}

/* V2.7: match the desktop source frame and use one promotion-banner geometry. */
@media (min-width: 1601px) {
  .online-page .hero-showcase {
    padding-top: 150px;
  }

  .online-page .video-screen {
    width: 970px;
    height: 590px;
    aspect-ratio: auto;
  }

  .online-page .video-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 1201px) {
  :root {
    --promotion-banner-width: min(var(--site-wrap), calc(100% - (var(--site-gutter) * 2)));
    --promotion-banner-height: 360px;
    --promotion-media-width: 390px;
    --promotion-action-width: 190px;
    --promotion-action-height: 66px;
    --promotion-banner-gap: 42px;
  }

  .online-page .join-banner,
  .study-page .invite-panel {
    width: var(--promotion-banner-width);
    height: var(--promotion-banner-height);
    min-height: var(--promotion-banner-height);
    padding: 0 50px 0 0;
    grid-template-columns: var(--promotion-media-width) minmax(0, 1fr) var(--promotion-action-width);
    gap: var(--promotion-banner-gap);
  }

  .study-page .study-invite {
    height: 578px;
  }

  .online-page .join-banner-photo,
  .study-page .invite-panel > img {
    width: var(--promotion-media-width);
    height: var(--promotion-banner-height);
  }

  .study-page .invite-copy {
    padding: 0;
  }

  .online-page .join-banner-button,
  .study-page .invite-panel > a {
    width: var(--promotion-action-width);
    height: var(--promotion-action-height);
    font-size: 25px;
  }

  .online-page .join-banner-copy strong,
  .online-page .join-banner-copy h2 {
    font-size: 36px;
  }

  .online-page .join-banner-copy p,
  .study-page .invite-copy p {
    font-size: 16px;
  }

  .study-page .invite-copy h2 {
    font-size: 36px;
  }
}

/* Restore the cyan keyline around the shared official QR artwork. */
.hero .qr-code,
.contact-page .hero-qr-frame img {
  object-fit: contain;
  outline: 2px solid #8eeeff;
  outline-offset: 1px;
  border-radius: 7px;
}

.site-footer .footer-qr img,
.online-footer .footer-qr img,
.study-footer .footer-qr img,
.jianliu-footer .footer-qr img {
  object-fit: contain;
  outline: 1px solid #8eeeff;
  outline-offset: 1px;
  border-radius: 3px;
}
