/* Homepage pilot. Loaded only by 01-home.html; shared components keep their desktop styles. */
.home-responsive .marketing-page {
  width: min(1425px, 100%) !important;
  min-width: 0;
}
.home-responsive .home-container {
  width: min(1180px, calc(100% - 48px)) !important;
  min-width: 0;
  margin-inline: auto;
}
.home-responsive .marketing-closing-cta > .home-container { width: 100% !important; }
.home-responsive .home-faq [data-faq-answer][hidden] { display: none !important; }
.home-responsive .home-faq [data-icon-name="chevron-up"] { rotate: 180deg; }
.home-responsive .home-main :is(a, [role="button"]):focus-visible {
  outline: 2px solid #246bde;
  outline-offset: 4px;
}
@media (min-width: 1241px) {
  .home-responsive .home-container[class*="w-[1200px]"] { width: 1200px !important; }
  .home-responsive #industry > .home-container { width: 1180px !important; }
}

@media (max-width: 1240px) {
  .home-responsive #industry { padding-inline: 0 !important; }
  .home-responsive .home-section [class*="w-[980px]"],
  .home-responsive .home-faq [class*="w-[892px]"],
  .home-responsive .home-main .home-capabilities .home-capability-heading {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }
  .home-responsive .home-main .home-capabilities .home-capability-heading {
    width: calc(100% - 48px) !important;
  }
  .home-responsive .home-hero { height: auto; }
  .home-responsive .home-hero-inner { height: auto; min-height: 360px; gap: 24px; }
  .home-responsive .home-hero-copy { flex: 1 1 52%; width: auto; min-width: 0; }
  .home-responsive .home-hero-copy > div:first-child { width: 100%; height: auto; }
  .home-responsive .home-hero-art {
    flex: 1 1 48%; width: auto; height: auto; aspect-ratio: 575 / 409;
  }
  .home-responsive .home-growth-grid { gap: 16px !important; }
  .home-responsive .home-growth-grid > div { min-width: 0; min-height: 0 !important; padding: 24px; }
  .home-responsive .home-growth-grid [class*="text-[32px]"] { font-size: 24px !important; line-height: 34px !important; }
  .home-responsive .home-capability {
    width: 100% !important;
    margin-inline: 0 !important;
    gap: 32px !important;
    padding: 48px 24px !important;
  }
  .home-responsive .home-capability > [data-pencil-name^="能力文案"] {
    flex: 1 1 42%; width: auto; min-width: 0;
  }
  .home-responsive .home-capability > [data-pencil-name^="营销能力配图"] {
    flex: 1 1 58%; width: auto; height: auto; aspect-ratio: 3 / 2; min-width: 0;
  }
  .home-responsive .home-scene-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  }
  .home-responsive .home-scene-grid > div { display: contents; }
  .home-responsive .home-scene-grid > div > div { min-width: 0; height: auto; min-height: 230px; gap: 20px; }
  .home-responsive .home-industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-responsive .home-whitepaper > .home-container {
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center; gap: 24px; height: auto; padding: 40px 32px;
  }
  .home-responsive .home-whitepaper-copy { position: static; width: 100%; min-width: 0; }
  .home-responsive .home-whitepaper-copy > div:first-child { white-space: normal; }
  .home-responsive .home-whitepaper-art { position: relative; inset: auto; width: 100%; height: 310px; }
  .home-responsive .home-whitepaper-art > [data-pencil-name="Icon"] {
    left: 50%; width: min(100%, 310px); height: auto; aspect-ratio: 1; transform: translateX(-50%);
  }
  .home-responsive .home-whitepaper-cover { left: 50%; transform: translateX(-50%) !important; }
  .home-responsive .home-faq-trigger {
    display: flex; align-items: center; gap: 16px; height: auto; min-height: 70px; padding: 20px 24px;
  }
  .home-responsive .home-faq-trigger > [data-pencil-name="frame"] {
    position: static; width: auto !important; flex: 1; min-width: 0; height: auto; padding: 0;
  }
  .home-responsive .home-faq-trigger [class*="text-"] { white-space: normal; }
  .home-responsive .home-faq-trigger > [data-pencil-name^="FAQ｜"] {
    position: static; inset: auto !important; flex: 0 0 30px;
  }
}

@media (max-width: 1100px) {
  .home-responsive .home-growth-grid { flex-direction: column; height: auto !important; }
  .home-responsive .home-growth-grid > div { flex: none; width: 100%; gap: 20px !important; }
  .home-responsive .home-growth-grid [data-pencil-name^="业务示意"] {
    width: 100%;
    max-width: none;
    align-self: stretch;
  }
  .home-responsive .home-growth-grid [data-pencil-name="三步价值链路"] {
    width: 100%;
  }
  .home-responsive .home-proof-track { height: auto; flex-direction: column; align-items: stretch; gap: 20px; }
  .home-responsive .home-proof-track .home-proof-card {
    flex: none; width: 100%; min-height: 320px; height: auto; overflow: hidden;
  }
  .home-responsive .home-proof-card .home-proof-person {
    top: 24px; left: auto; right: 24px; width: 150px; height: 160px;
  }
  .home-responsive .home-proof-card .home-proof-logo {
    top: 24px; left: 24px; right: auto; width: 130px; height: 42px; object-position: left center;
  }
  .home-responsive .home-proof-card .home-proof-featured-byline {
    top: 90px; left: 24px; right: 190px; opacity: 1; visibility: visible;
  }
  .home-responsive .home-proof-card .home-proof-quote {
    position: relative; inset: auto; width: auto; height: auto; min-height: 100px;
    margin: 192px 24px 24px; padding: 18px; opacity: 1; visibility: visible; overflow: visible; line-height: 24px;
  }
  .home-responsive .home-proof-card .home-proof-compact-byline { display: none; }
  .home-responsive [data-pencil-name="客户背书｜行业客户 Logo 墙"] { margin-top: 24px !important; }
}

@media (max-width: 767px) {
  .home-responsive .home-section { padding: 48px 0; }
  .home-responsive .home-section > .home-container { gap: 28px; }
  .home-responsive .home-container { width: calc(100% - 48px) !important; }
  .home-responsive .home-section [class*="text-[40px]"] {
    font-size: 28px !important; line-height: 40px !important; height: auto; text-wrap: pretty;
  }
  .home-responsive .home-section :is([class*="text-[28px]"], [class*="text-[32px]"]) {
    font-size: 23px !important; line-height: 34px !important;
  }
  .home-responsive .home-section [class*="text-[24px]"] { font-size: 20px !important; line-height: 30px !important; }
  .home-responsive .home-section [class*="text-[16px]"] { font-size: 15px !important; line-height: 25px !important; }
  .home-responsive .home-section [data-pencil-name^="首屏行动"] > div { font-size: 16px !important; }
  .home-responsive .home-main :is(div, a, article) { min-width: 0; }

  /* Stack copy and original artwork; the illustration keeps its aspect ratio. */
  .home-responsive .home-hero { padding: 36px 0 24px; }
  .home-responsive .home-hero-inner { flex-direction: column; align-items: stretch; gap: 20px !important; min-height: 0; }
  .home-responsive .home-hero-copy {
    flex: none;
    width: 100%;
    align-items: center !important;
    text-align: center;
  }
  .home-responsive .home-hero-copy > div:first-child { font-size: 34px !important; line-height: 46px !important; }
  .home-responsive .home-hero-copy > [data-pencil-name="获取更多线索，转成可持续收入"] {
    font-size: 24px !important; line-height: 36px !important; max-width: none;
  }
  .home-responsive .home-hero-copy [class*="text-"] {
    text-align: center !important;
    width: 100%;
    max-width: none !important;
  }
  .home-responsive [data-pencil-name="Hero 行动按钮组｜统一 16px"] {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center !important;
  }
  .home-responsive [data-pencil-name^="首屏行动｜"] { flex: 0 0 auto; max-width: none; padding-inline: 16px !important; }
  .home-responsive .home-hero-art { flex: none; width: 100%; max-width: none; align-self: stretch; background-position: center !important; }

  .home-responsive .home-growth-grid > div { padding: 24px; border-radius: 18px; }
  .home-responsive .home-growth-grid [data-pencil-name^="业务示意"] {
    width: 100%;
    max-width: none;
    padding: 12px;
  }
  .home-responsive .home-growth-grid [data-pencil-name="三步价值链路"] { width: 100%; gap: 4px; }
  .home-responsive .home-growth-grid [class*="text-[12px]"] { font-size: 11px !important; white-space: normal; text-align: center; }
  .home-responsive .home-plan-grid { flex-direction: column; gap: 16px; align-items: stretch; }
  .home-responsive .home-plan-grid > div { flex: none; width: 100%; padding: 24px; min-height: 0 !important; }
  .home-responsive .home-plan-grid [class*="white-space:nowrap"] { white-space: normal; }

  .home-responsive .marketing-role-track .marketing-role-card,
  .home-responsive .marketing-role-track .marketing-role-card.is-active {
    height: auto;
    min-height: 440px;
    overflow: hidden;
  }
  .home-responsive .marketing-role-summary strong { font-size: 22px; }
  .home-responsive .marketing-role-summary p { max-width: 100%; }
  .home-responsive .marketing-role-art,
  .home-responsive .marketing-role-card.is-active .marketing-role-art {
    top: 133px;
    width: 200px;
    opacity: 1;
  }
  .home-responsive .marketing-role-card .marketing-role-detail { min-height: 88px; }
  .home-responsive .marketing-role-card .marketing-role-tags { gap: 6px; margin-top: 12px; }

  .home-responsive .home-main .home-capabilities .home-capability-heading { width: calc(100% - 48px) !important; }
  .home-responsive .home-capabilities > div { gap: 28px; }
  .home-responsive .home-capability { flex-direction: column !important; gap: 24px !important; padding: 36px 24px !important; }
  .home-responsive .home-capability > [data-pencil-name^="能力文案"] {
    flex: none; order: 0; width: 100%; max-width: none; gap: 20px;
  }
  .home-responsive .home-capability > [data-pencil-name^="营销能力配图"] {
    flex: none; order: 1; width: 100%; max-width: none;
  }
  .home-responsive .home-industry-grid { gap: 16px; }
  .home-responsive .home-industry-grid > a { padding: 24px; min-height: 300px; }
  .home-responsive .home-industry-grid [class*="white-space:nowrap"] { white-space: normal; }
  .home-responsive .home-proof-card .home-proof-person { width: 120px; height: 145px; top: 40px; right: 16px; }
  .home-responsive .home-proof-card .home-proof-logo { width: 116px; height: 38px; left: 20px; top: 20px; }
  .home-responsive .home-proof-card .home-proof-featured-byline { left: 20px; top: 82px; right: 142px; }
  .home-responsive .home-proof-featured-byline strong { font-size: 17px; }
  .home-responsive .home-proof-featured-byline span { font-size: 13px; line-height: 21px; }
  .home-responsive .home-proof-card .home-proof-quote { margin: 196px 16px 16px; padding: 16px; }
  .home-responsive [data-pencil-name="客户背书｜统一内容区"] { gap: 28px !important; }
  .home-responsive [data-pencil-name="客户背书｜行业客户 Logo 墙"] { margin-top: 8px !important; }
  .home-responsive .home-customer-logo-wall { gap: 12px; height: 258px; }

  .home-responsive .home-whitepaper > .home-container { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 24px; border-radius: 20px; }
  .home-responsive .home-whitepaper-copy {
    gap: 16px;
    align-items: center !important;
    text-align: center;
  }
  .home-responsive .home-whitepaper-copy [class*="text-"] {
    text-align: center !important;
    width: 100%;
    white-space: normal !important;
  }
  .home-responsive .home-whitepaper-copy > [data-pencil-name="spacer"] { display: none; }
  .home-responsive .home-whitepaper-copy > a {
    align-self: center;
  }
  .home-responsive .home-whitepaper-art { max-width: 360px; justify-self: center; }
  .home-responsive .home-faq-trigger { gap: 10px; padding: 20px 0; min-height: 64px; }
  .home-responsive .home-faq-trigger [class*="text-"] { font-size: 15px !important; line-height: 25px !important; }
  .home-responsive .home-faq-item > :nth-child(2) { padding: 0 0 20px !important; line-height: 25px !important; }
  .home-responsive .home-faq-item > :nth-child(2) > div { line-height: 25px !important; }
  .home-responsive .home-faq-trigger:focus-visible { outline-offset: -2px; }
  .home-responsive .marketing-closing-cta { padding: 44px 24px !important; }
  .home-responsive .marketing-closing-cta > .home-container { width: 100% !important; }
  .home-responsive [data-pencil-name="营销增长 CTA｜操作"] {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  .home-responsive [data-pencil-name="营销增长 CTA｜操作"] > a {
    flex: 0 0 auto;
    width: fit-content;
    padding-inline: 24px;
  }
}

@media (max-width: 560px) {
  .home-responsive .home-scene-grid, .home-responsive .home-industry-grid { grid-template-columns: minmax(0, 1fr); }
  .home-responsive .home-scene-grid > div > div { min-height: 0; padding: 24px; }
  .home-responsive .home-industry-grid > a { min-height: 0; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-responsive { scroll-behavior: auto; }
}
