:root {
  --systems-accent: var(--jq-community);
  --systems-accent-deep: #d95343;
  --systems-soft: #fff4f0;
  --systems-bg: #fff;
  --systems-paper: #fffdfa;
  --systems-ink: #2b2622;
  --systems-muted: #716b65;
  --systems-line: #e7ddd4;
  --systems-shadow: rgba(112, 58, 39, 0.1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--systems-bg);
  color: var(--systems-ink);
  font-family: var(--font-sans);
}
body,
.systems-page a {
  color: var(--systems-ink);
}
img {
  max-width: 100%;
}
.systems-page .shell {
  width: min(var(--header-max), calc(100% - 60px));
  margin-inline: auto;
}
.systems-page h1,
.systems-page h2,
.systems-page h3,
.systems-page p {
  margin-top: 0;
}
.systems-page h1,
.systems-page h2,
.systems-page h3 {
  letter-spacing: -0.055em;
}
.systems-page h1 em,
.systems-page h2 em {
  color: var(--systems-accent);
  font-style: normal;
}
.systems-page .systems-kicker {
  margin: 0 0 18px;
  color: var(--systems-accent-deep);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
  line-height: 1.3;
}
.systems-hero {
  padding: 30px 0 82px;
}
.systems-hero-shell {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid #f1d9d2;
  border-radius: 30px;
  background: var(--systems-paper);
  box-shadow: 0 22px 58px var(--systems-shadow);
}
.systems-hero-visual {
  position: absolute;
  inset: 0;
  margin: 0;
  background: #fff6f1;
}
.systems-hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 253, 250, 0.99) 0%,
    rgba(255, 253, 250, 0.94) 26%,
    rgba(255, 253, 250, 0.42) 48%,
    rgba(255, 253, 250, 0) 75%
  );
  pointer-events: none;
}
.systems-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.systems-hero-copy {
  position: relative;
  z-index: 1;
  width: min(47%, 580px);
  min-height: 650px;
  padding: 92px 0 66px 7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.systems-hero-copy h1 {
  margin: 0;
  color: #27211e;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.08;
  font-weight: 950;
}
.systems-hero-copy h1 em {
  display: inline-block;
  line-height: 1.14;
  padding-bottom: 4px;
}
.systems-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--systems-accent);
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 9px 22px rgba(255, 108, 86, 0.2);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}
.systems-button:hover {
  transform: translateY(-2px);
  background: var(--systems-accent-deep);
  box-shadow: 0 13px 26px rgba(255, 108, 86, 0.24);
}
.systems-button:active {
  transform: translateY(0) scale(0.98);
}
.system-story {
  padding: 105px 0;
  background: #fff;
  border-top: 1px solid rgba(231, 221, 212, 0.72);
  scroll-margin-top: 78px;
}
.system-story:nth-of-type(even) {
  background: #fffaf7;
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: 7.2%;
}
.story-grid-reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}
.story-grid-reverse .story-media {
  order: 2;
}
.story-grid-reverse .story-copy {
  order: 1;
}
.system-story-rural {
  --story-accent: #2f8b55;
  --story-action: #246f43;
  --story-action-hover: #1f603a;
  --story-soft: #eef8f0;
}
.system-story-private {
  --story-accent: #ae7200;
  --story-action: #875a00;
  --story-action-hover: #704900;
  --story-soft: #fff8df;
}
.system-story-workforce {
  --story-accent: #2b6fc7;
  --story-action: #215da7;
  --story-action-hover: #194b8a;
  --story-soft: #edf4ff;
}
.system-story-geo {
  --story-accent: #168566;
  --story-action: #11755a;
  --story-action-hover: #0d624b;
  --story-soft: #eaf8f3;
  border-top: 0;
}
.story-media {
  position: relative;
  align-self: stretch;
  display: flex;
  width: min(100%, 500px);
  height: 100%;
  min-height: 0;
  justify-self: center;
  margin: 0;
  overflow: hidden;
  border-radius: 25px;
  background: var(--systems-soft);
  box-shadow: 0 18px 42px rgba(67, 39, 28, 0.1);
  transition: box-shadow 0.35s ease;
}
.story-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.story-media:hover {
  box-shadow: 0 22px 48px rgba(67, 39, 28, 0.14);
}
.story-media:hover img {
  transform: scale(1.025);
}
.story-copy {
  padding: 10px 0;
}
.story-kicker {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 7px 14px 8px;
  border-radius: 999px;
  background: var(--story-accent);
  color: #fff;
  font-size: 40px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.1;
}
.story-copy h2 {
  margin: 0;
  font-size: 35px;
  line-height: 1.35;
}
.story-copy h2 em {
  display: inline-block;
  color: var(--story-accent);
  line-height: 1.16;
  padding-bottom: 4px;
}
.story-lead {
  max-width: 570px;
  margin: 23px 0 0;
  color: var(--systems-muted);
  font-size: 15px;
  line-height: 1.9;
}
.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 25px;
  margin-top: 30px;
}
.capability-list article {
  padding-top: 15px;
  border-top: 1px solid var(--story-soft);
}
.capability-list h3 {
  margin: 0;
  color: #302823;
  font-size: 15px;
  letter-spacing: -0.03em;
}
.capability-list p {
  margin: 7px 0 0;
  color: #786f69;
  font-size: 12px;
  line-height: 1.7;
}
.story-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding: 17px 18px;
  border-left: 3px solid var(--story-accent);
  background: linear-gradient(90deg, var(--story-soft), rgba(255, 255, 255, 0));
}
.story-result-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}
.story-result-copy > span {
  color: #7d7069;
  font-size: 11px;
}
.story-result-copy > strong {
  color: #3b2b26;
  font-size: 14px;
  line-height: 1.55;
}
.story-detail-button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--story-action);
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 19px
    color-mix(in srgb, var(--story-action) 20%, transparent);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}
.story-detail-button:hover {
  transform: translateY(-2px);
  background: var(--story-action-hover);
  box-shadow: 0 11px 23px
    color-mix(in srgb, var(--story-action) 27%, transparent);
}
.story-detail-button:active {
  transform: translateY(0) scale(0.98);
}
.story-detail-button span {
  font-size: 15px;
  line-height: 1;
}
.story-note {
  margin: 17px 0 0;
  color: #927e74;
  font-size: 11px;
  line-height: 1.7;
}
.systems-contact {
  padding: 88px 0 105px;
  scroll-margin-top: 78px;
}
.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  padding: 56px 62px;
  border: 1px solid #f0d5cd;
  border-radius: 26px;
  background: #fff5f1;
  color: var(--systems-ink);
  box-shadow: 0 20px 42px rgba(112, 58, 39, 0.08);
}
.contact-inner .systems-kicker {
  color: var(--systems-accent-deep);
}
.contact-inner h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 55px);
  line-height: 1.12;
}
.contact-inner h2 em {
  color: var(--systems-accent);
}
.contact-inner p:last-child {
  max-width: 590px;
  margin: 20px 0 0;
  color: #70635c;
  font-size: 14px;
  line-height: 1.8;
}
.contact-inner .systems-button {
  flex: none;
  background: var(--systems-accent);
}
footer {
  background: #fffdf9;
  border-top: 1px solid var(--systems-line);
  color: #70675f;
}
.footer-in {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}
.footer-in strong {
  display: block;
  color: #3b302b;
  font-size: 16px;
}
.footer-in > div:first-child span {
  display: block;
  margin-top: 5px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.footer-links a,
footer a {
  color: #756961;
  text-decoration: none;
}
.footer-links a:hover,
footer a:hover {
  color: var(--systems-accent-deep);
}
.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.systems-reveal-enabled .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.systems-page :focus-visible {
  outline: 3px solid rgba(255, 108, 86, 0.45);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .systems-button,
  .story-media img,
  .reveal {
    transition: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .systems-hero-shell {
    min-height: 620px;
  }
  .systems-hero-copy {
    width: 56%;
    min-height: 620px;
    padding-left: 6%;
  }
  .systems-hero-visual:after {
    background: linear-gradient(
      90deg,
      rgba(255, 253, 250, 0.99) 0%,
      rgba(255, 253, 250, 0.92) 32%,
      rgba(255, 253, 250, 0.35) 63%,
      rgba(255, 253, 250, 0) 88%
    );
  }
  .story-grid,
  .story-grid-reverse {
    gap: 5%;
  }
  .story-kicker {
    font-size: 40px;
  }
  .story-copy h2 {
    font-size: 35px;
  }
}
@media (max-width: 760px) {
  .systems-page .shell {
    width: min(var(--header-max), calc(100% - 28px));
  }
  .systems-hero {
    padding: 15px 0 60px;
  }
  .systems-hero-shell {
    min-height: 0;
    border-radius: 22px;
  }
  .systems-hero-visual {
    position: relative;
    height: 260px;
  }
  .systems-hero-visual:after {
    background: linear-gradient(
      180deg,
      rgba(255, 253, 250, 0) 45%,
      rgba(255, 253, 250, 0.96) 100%
    );
  }
  .systems-hero-copy {
    width: 100%;
    min-height: 0;
    padding: 32px 23px 31px;
  }
  .systems-hero-copy h1 {
    font-size: 43px;
  }
  .system-story {
    padding: 68px 0;
  }
  .story-grid,
  .story-grid-reverse {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .story-grid-reverse .story-media,
  .story-grid-reverse .story-copy {
    order: initial;
  }
  .story-media {
    width: 100%;
    border-radius: 20px;
  }
  .story-media img {
    aspect-ratio: 4 / 5;
  }
  .story-media figcaption {
    display: block;
    padding: 12px 2px 0;
    white-space: normal;
  }
  .story-copy {
    padding: 0;
  }
  .story-kicker {
    font-size: 40px;
  }
  .story-copy h2 {
    font-size: 35px;
  }
  .story-lead {
    font-size: 14px;
    line-height: 1.8;
  }
  .capability-list {
    gap: 15px 14px;
    margin-top: 25px;
  }
  .capability-list article {
    padding-top: 13px;
  }
  .capability-list h3 {
    font-size: 14px;
  }
  .capability-list p {
    font-size: 11px;
  }
  .story-result {
    margin-top: 26px;
  }
  .systems-contact {
    padding: 62px 0 76px;
  }
  .contact-inner {
    display: block;
    padding: 36px 24px;
    border-radius: 22px;
  }
  .contact-inner h2 {
    font-size: 36px;
  }
  .contact-inner p:last-child {
    font-size: 13px;
  }
  .contact-inner .systems-button {
    margin-top: 27px;
  }
  .footer-in {
    display: grid;
    gap: 14px;
    padding: 23px 0;
  }
  .footer-links {
    justify-content: flex-start;
    gap: 12px 16px;
  }
}
@media (max-width: 600px) {
  .story-result {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .story-detail-button {
    align-self: flex-start;
  }
}
@media (max-width: 420px) {
  .systems-hero-copy h1 {
    font-size: 38px;
  }
  .story-kicker {
    font-size: 40px;
  }
  .story-copy h2 {
    font-size: 35px;
  }
  .capability-list {
    grid-template-columns: 1fr;
  }
  .contact-inner h2 {
    font-size: 33px;
  }
}
@media (max-width: 760px) {
  .story-media {
    align-self: auto;
    display: block;
    height: auto;
  }
  .story-media img {
    height: auto;
    aspect-ratio: 15 / 16;
  }
}

/* 系统页 HERO 与首页、精选单品、专属定制、训练页统一为“无字主视觉 + 左侧文案”。 */
.systems-page .hero {
  padding: 25px 0 34px;
}
.systems-page .hero-panel {
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #f1d9d2;
  border-radius: 30px;
  background: var(--systems-paper);
  box-shadow: 0 16px 50px rgba(52, 36, 20, 0.045);
}
.systems-page .hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    #fffdfa 0%,
    #fffcf9 23%,
    rgba(255, 253, 250, 0.88) 39%,
    rgba(255, 253, 250, 0) 59%
  );
  pointer-events: none;
}
.systems-page .hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 52%;
  min-height: 0;
  background: transparent;
}
.systems-page .hero-copy {
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 0;
  max-width: 610px;
  padding: 70px 0 64px 66px;
}
.systems-page .hero-copy h1 {
  max-width: 610px;
  margin: 0;
  color: var(--systems-ink);
  font-size: clamp(40px, 3.3vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.065em;
  font-weight: 950;
}
.systems-page .hero-copy h1 em {
  color: var(--systems-accent);
  font-style: normal;
}
.systems-page .hero-copy h1::after {
  content: "";
  display: block;
  width: 170px;
  height: 7px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--systems-accent);
}
.systems-page .hero-copy .systems-hero-subtitle {
  max-width: 510px;
  margin: 24px 0 0;
  color: var(--systems-muted);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .systems-page .hero-panel {
    min-height: 530px;
  }
  .systems-page .hero-copy {
    padding-left: 45px;
    max-width: 550px;
  }
  .systems-page .hero-copy h1 {
    font-size: 46px;
  }
}
@media (max-width: 900px) {
  .systems-page .hero-panel {
    min-height: 500px;
  }
  .systems-page .hero-copy {
    max-width: 470px;
  }
  .systems-page .hero-copy h1 {
    font-size: 40px;
  }
  .systems-page .hero-copy .systems-hero-subtitle {
    max-width: 400px;
    font-size: 18px;
  }
  .systems-page .hero-art {
    object-position: left center;
  }
}
@media (max-width: 760px) {
  .systems-page .hero {
    margin-top: 15px;
    padding: 15px 0 20px;
  }
  .systems-page .hero-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    border-radius: 22px;
  }
  .systems-page .hero-panel::before {
    display: none;
  }
  .systems-page .hero-copy {
    max-width: none;
    padding: 36px 24px;
  }
  .systems-page .hero-art {
    position: relative;
    order: 2;
    width: 100%;
    height: 255px;
    min-height: 255px;
    background: #fffdfa;
    object-position: right center;
  }
  .systems-page .hero-copy h1 {
    font-size: clamp(29px, 7.7vw, 39px);
    line-height: 1.16;
  }
  .systems-page .hero-copy h1 .systems-hero-mobile-tail {
    display: block;
  }
  .systems-page .hero-copy h1::after {
    width: 130px;
    height: 6px;
    margin-top: 11px;
  }
  .systems-page .hero-copy .systems-hero-subtitle {
    margin-top: 18px;
    font-size: 16px;
  }
}

/* Match the overview-strip typography used on Custom and Academy. */
.systems-page .geo-answer-strip--text-focus .geo-answer-copy {
  font-size: clamp(44px, 3.9vw, 56px);
  white-space: nowrap;
  transform: scaleX(0.9);
}
@media (min-width: 901px) and (max-width: 1100px) {
  .systems-page .geo-answer-strip--text-focus .geo-answer-copy {
    font-size: clamp(36px, 3.9vw, 43px);
  }
}
@media (max-width: 900px) {
  .systems-page .geo-answer-strip--text-focus .geo-answer-copy {
    font-size: clamp(28px, 4.9vw, 44px);
    transform: none;
  }
}
@media (max-width: 380px) {
  .systems-page .geo-answer-strip--text-focus .geo-answer-copy {
    font-size: clamp(22px, 7.2vw, 27px);
  }
}
