/* Consultation landing page and dedicated product detail pages. */
:is(.services-page,.service-product-page) main { background: var(--white); }
.consulting-banner { height: auto; min-height: 360px; padding: 32px 0; }
.consulting-banner .page-banner__copy { max-width: 54%; }
.consulting-banner .section-kicker { margin: 0 0 10px; color: var(--red); font-size: 12px; line-height: 1.6; }
.consulting-banner h1 { font-size: clamp(28px, 2.7vw, 42px); line-height: 1.4; }
.consulting-banner h1 span { color: var(--red); }
.consulting-banner .consulting-banner__description { max-width: 600px; margin: 18px 0 0; font-size: 15px; line-height: 1.85; }
.consulting-banner .text-link { margin-top: 18px; }
.lean-intro { padding: 38px 0; border-bottom: 1px solid var(--line); }
.lean-intro .container { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.lean-intro p { margin: 0; color: #50565d; font-size: 15px; line-height: 2; }
.lean-path { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.lean-path li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.lean-path li::before { counter-increment: steps; content: "0" counter(steps); color: var(--red); font-size: 12px; }
.lean-solutions, .lean-cooperation, .lean-deliverables { padding: 80px 0; }
.lean-heading { margin-bottom: 38px; }
.lean-heading h2 { margin: 0 0 14px; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.5; }
.lean-heading p { max-width: 900px; margin: 0; color: #596068; font-size: 15px; line-height: 1.95; }
.lean-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.lean-index a { position: relative; display: flex; align-items: flex-start; gap: 18px; padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .22s ease, transform .22s ease, box-shadow .22s ease; scroll-margin-top: 110px; }
.lean-index a::after { content: ""; position: absolute; inset: auto 24px 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; pointer-events: none; }
.lean-index a > :is(img,.service-icon) { display: block; flex: 0 0 42px; width: 42px; height: 42px; margin-top: 3px; }
.lean-index .service-icon { overflow: visible; color: var(--red); stroke: currentColor; }
.lean-index a > div { min-width: 0; transition: transform .22s ease; }
.lean-index h3 { margin: 0; font-size: 17px; line-height: 1.7; transition: color .22s ease; }
.lean-index p { margin: 9px 0 0; color: #62676d; font-size: 13px; line-height: 1.85; }
.lean-index a:focus-visible { z-index: 1; background: var(--red-soft); box-shadow: 0 8px 24px rgb(65 17 26 / .07); }
.lean-index a:focus-visible h3 { color: var(--red); }
.lean-index a:focus-visible::after { transform: scaleX(1); }
.lean-index a:active { background: #ffe3e8; transform: translateY(0); box-shadow: none; }
.lean-cooperation { background: var(--paper); }
.lean-cooperation-label { margin: 36px 0 24px; font-size: 18px; }
.lean-cooperation-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.lean-cooperation-list article { padding-top: 26px; border-top: 2px solid var(--line); transition: border-color .25s ease; }
.lean-cooperation-list h4 { margin: 0 0 16px; color: var(--red); font-size: 25px; line-height: 1.7; }
.lean-cooperation-list p { margin: 0; color: #555c63; font-size: 15px; line-height: 1.95; }
.lean-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 38px 0 48px; padding: 0; list-style: none; }
.lean-results li { padding-top: 24px; border-top: 2px solid var(--red); }
.lean-results strong { font-size: 28px; }
.lean-results p { margin: 12px 0 0; color: #555c63; font-size: 15px; }
.lean-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.lean-contact p { margin: 0; font-size: 17px; }
.lean-contact .button, .product-contact .button { white-space: nowrap; background: var(--red); color: var(--white); }
.lean-contact .button:hover, .product-contact .button:hover { background: var(--red-dark); }
.services-page :is(.lean-solutions,#cooperation-title) { scroll-margin-top: 110px; }
:is(.services-page,.service-product-page) :is(a,button):focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.lean-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.65,.3,1); }
.lean-reveal.is-visible { opacity: 1; transform: none; }
/* Dedicated product reading layout. */
.product-banner { height: auto; min-height: 320px; padding: 36px 0; }
.product-banner .page-banner__copy { max-width: 54%; }
.product-banner h1 { font-size: clamp(28px, 2.7vw, 42px); line-height: 1.45; text-wrap: balance; overflow-wrap: anywhere; }
.product-banner .section-kicker { margin: 0 0 12px; color: var(--red); font-size: 12px; line-height: 1.6; }
.product-banner .product-description { margin: 14px 0 0; color: #39434b; font-size: 16px; line-height: 1.8; }
.product-banner .product-problem { margin: 18px 0 0; color: var(--red); font-size: 18px; line-height: 1.8; }
.product-layout { padding-top: 48px; padding-bottom: 56px; }
.product-content { min-width: 0; overflow-wrap: anywhere; }
.product-content > .service-problem { display: none; }
.product-content .lean-product-columns > section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.product-content .lean-product-columns > section:first-child { padding-bottom: 0; border-bottom: 0; }
.product-content .lean-product-columns > section:last-child { margin-bottom: 0; }
.product-content h2 { margin: 0 0 26px; font-size: 27px; line-height: 1.5; scroll-margin-top: 116px; }
.product-content p { margin: 0 0 20px; color: #50565d; font-size: 16px; line-height: 2.05; }
.product-content p:last-child { margin-bottom: 0; }
.product-content .lean-product-columns > section > p { max-width: 960px; }
.product-content ul { margin: 0; padding: 0; list-style: none; }
.product-content .lean-product-columns > section:first-child ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; counter-reset: problems; }
.product-content li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; color: #50565d; font-size: 15px; line-height: 1.95; }
.product-content .lean-product-columns > section:first-child li::before { counter-increment: problems; content: "0" counter(problems); flex: 0 0 20px; color: var(--red); font-size: 12px; }
.product-content .lean-product-columns > section:first-child .problem-list { display: block; border-top: 1px solid var(--line); }
.product-content .problem-list .problem-item { display: block; min-width: 0; padding: 0; }
.product-content .lean-product-columns > section:first-child .problem-item::before { content: none; }
.problem-card { border: 0; border-bottom: 1px solid var(--line); background: var(--white); }
.problem-card__summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: center; gap: 20px; min-height: 88px; padding: 20px 16px; list-style: none; cursor: pointer; }
.problem-card__summary::-webkit-details-marker { display: none; }
.problem-card__summary::marker { content: ''; }
.problem-card__icon { display: grid; place-items: center; width: 40px; height: 40px; transition: transform .25s ease; }
.problem-card__icon > :is(img,.service-icon) { display: block; width: 32px; height: 32px; }
.problem-card__icon .service-icon { overflow: visible; color: var(--red); stroke: currentColor; }
.problem-card__copy { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: baseline; gap: 16px; min-width: 0; }
.problem-card__number { display: block; color: var(--red); font-size: 12px; font-weight: 600; line-height: 1.85; font-variant-numeric: tabular-nums; }
.problem-card__text { display: block; color: #3f474f; font-size: 16px; line-height: 1.85; }
.problem-card__toggle { color: #747b83; transition: color .22s ease, transform .22s ease; }
.problem-card[open] { background: #fffafb; }
.problem-card[open] .problem-card__text { color: var(--red-dark); }
.problem-card[open] .problem-card__toggle { color: var(--red); transform: rotate(45deg); }
.problem-card__panel { max-width: 900px; margin: 0 56px 24px 120px; padding-top: 18px; border-top: 1px solid #ecd7dc; }
.problem-card__label { display: block; margin-bottom: 7px; color: var(--red); font-size: 12px; font-weight: 600; }
.product-content .problem-card__panel p { margin: 0 0 14px; font-size: 14px; line-height: 1.9; }
.problem-card__panel a { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-size: 13px; }
.problem-card__panel a:hover { text-decoration: underline; text-underline-offset: 4px; }
.problem-card__summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.problem-card__summary:active .problem-card__icon { transform: scale(.94); }
.product-content .lean-product-columns > .lean-product-benefits { padding: 32px; border: 0; background: var(--paper); }
.product-content .lean-product-benefits ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.product-content .lean-product-benefits li::before { content: "✓"; flex: none; color: var(--red); font-weight: 700; }
.product-content .lean-product-benefits .benefit-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.product-content .lean-product-benefits .benefit-item { display: block; min-width: 0; padding: 0; }
.product-content .lean-product-benefits .benefit-item::before { content: none; }
.benefit-tab { position: relative; display: grid; grid-template-rows: 48px 1fr; gap: 24px; width: 100%; min-height: 220px; height: 100%; padding: 24px 20px; border: 1px solid #e0e1df; background: var(--white); color: #41484f; text-align: left; cursor: pointer; }
.benefit-tab::after { content: ""; position: absolute; right: -1px; bottom: -1px; left: -1px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.benefit-icon { display: grid; place-items: center; width: 48px; height: 48px; }
.benefit-icon > :is(img,.service-icon) { display: block; width: 48px; height: 48px; }
.benefit-icon .service-icon { overflow: visible; color: var(--red); stroke: currentColor; }
.benefit-text { min-width: 0; font-size: 15px; font-weight: 500; line-height: 1.8; text-wrap: balance; }
.benefit-number { position: absolute; top: 24px; right: 18px; color: #92979c; font: 400 11px/1.5 Arial, sans-serif; }
.benefit-tab[aria-selected="true"] { z-index: 1; border-color: #e2aebb; background: #fff8fa; color: var(--red-dark); transform: translateY(-4px); box-shadow: 0 12px 26px rgb(65 17 26 / .06); }
.benefit-tab[aria-selected="true"]::after { transform: scaleX(1); }
.benefit-tab[aria-selected="true"] .benefit-icon { transform: translateY(-2px) scale(1.08); }
.benefit-tab[aria-selected="true"] .benefit-number { color: var(--red); }
.benefit-tab:focus-visible, .benefit-panel:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.benefit-tab:active .benefit-icon { transform: scale(.96); }
.benefit-panels { margin-top: 24px; padding: 22px 24px; border-top: 1px solid #e4d9dc; background: var(--white); }
.benefit-panel { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 20px; align-items: baseline; }
.benefit-panel[hidden] { display: none; }
.benefit-panel > strong { color: var(--red-dark); font-size: 14px; font-weight: 600; }
.product-content .benefit-panel > p { margin: 0; color: #626970; font-size: 14px; line-height: 1.9; }
.product-content .lean-product-case { padding: 32px; border-top: 3px solid var(--red); background: #fff5f6; }
.product-content .lean-product-case h2 { font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 24px; }
.product-content .lean-product-case > p { font-size: 15px; }
.lean-case-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 26px; margin: 30px 0 0; }
.lean-case-metrics > div { min-width: 0; padding-top: 20px; border-top: 1px solid #e5cdd1; }
.lean-case-metrics dt { color: #555c63; font-size: 13px; }
.lean-case-metrics dd { margin: 10px 0 0; color: var(--red); font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; line-height: 1.6; font-variant-numeric: tabular-nums; }
.product-contact { padding: 46px 0; background: var(--paper); }
.product-contact .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.product-contact h2 { margin: 0 0 12px; font-size: 27px; line-height: 1.6; }
.product-contact p { margin: 0; color: #596068; font-size: 15px; line-height: 1.95; }
@media (hover: hover) {
  .lean-index a:hover { z-index: 1; background: var(--red-soft); box-shadow: 0 8px 24px rgb(65 17 26 / .07); transform: translateY(-3px); }
  .lean-index a:hover h3 { color: var(--red); }
  .lean-index a:hover > div { transform: translateX(3px); }
  .lean-index a:hover::after { transform: scaleX(1); }
  .lean-index a:active { transform: translateY(0); box-shadow: none; }
  .lean-cooperation-list article:hover { border-color: var(--red); }
  .problem-card:hover { background: #fffafb; }
  .problem-card__summary:hover .problem-card__icon { transform: translateY(-2px); }
}
/* Reuse each existing SVG's motion parts and the site's shared keyframes. */
@media (prefers-reduced-motion: no-preference) {
  .benefit-tab { transition: transform .4s cubic-bezier(.22, 1, .36, 1), background-color .25s ease, border-color .25s ease, box-shadow .3s ease; }
  .benefit-tab::after { transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
  .benefit-icon { transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
  .benefit-tab[aria-selected="true"] [data-service-motion] { animation-name: var(--service-keyframes); }
  .benefit-panel:not([hidden]) { animation: problem-panel-in .3s ease both; }
  .lean-index a:focus-visible [data-service-motion] { animation-name: var(--service-keyframes); }
  .problem-card:focus-within [data-service-motion], .problem-card[open] [data-service-motion] { animation-name: var(--service-keyframes); }
  .problem-card[open] .problem-card__panel { animation: problem-panel-in .25s ease both; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .lean-index a:hover [data-service-motion] { animation-name: var(--service-keyframes); }
  .problem-card:hover [data-service-motion] { animation-name: var(--service-keyframes); }
}
@keyframes problem-panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1100px) {
  .lean-intro .container { gap: 32px; }
  .lean-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lean-index a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .product-content .lean-product-benefits .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-tab { grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto; align-items: center; gap: 20px; min-height: 116px; padding: 24px 36px 24px 24px; }
  .benefit-number { top: 12px; right: 14px; }
  .benefit-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .product-layout { padding-top: 36px; }
}
@media (max-width: 767px) {
  .lean-intro { padding: 30px 0; }
  .lean-intro .container { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lean-intro p { font-size: 14px; }
  .lean-solutions, .lean-cooperation, .lean-deliverables { padding: 46px 0; }
  .lean-heading { margin-bottom: 28px; }
  .lean-heading p { font-size: 14px; }
  .lean-index { grid-template-columns: minmax(0, 1fr); }
  .lean-index a { padding: 23px 18px; gap: 15px; }
  .lean-index a > :is(img,.service-icon) { flex-basis: 36px; width: 36px; height: 36px; }
  .lean-index h3 { font-size: 16px; }
  .lean-cooperation-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lean-cooperation-list article { padding-top: 20px; }
  .lean-cooperation-list h4 { font-size: 23px; margin-bottom: 10px; }
  .lean-cooperation-list p { font-size: 14px; }
  .lean-results { grid-template-columns: minmax(0, 1fr); gap: 25px; margin-top: 28px; }
  .lean-results li { padding-top: 18px; }
  .lean-results strong { font-size: 24px; }
  .lean-results p { margin-top: 8px; font-size: 14px; }
  .lean-contact p { font-size: 15px; }
  .services-page :is(.lean-solutions,#cooperation-title) { scroll-margin-top: 90px; }
  .product-layout { padding-top: 28px; padding-bottom: 36px; }
  .product-content h2 { margin-bottom: 18px; font-size: 23px; scroll-margin-top: 90px; }
  .product-content p { font-size: 15px; }
  .product-content li { font-size: 14px; padding: 12px 0; }
  .product-content .lean-product-columns > section { margin-bottom: 30px; padding-bottom: 30px; }
  .product-content .lean-product-benefits ul { grid-template-columns: minmax(0, 1fr); }
  .problem-card__summary { grid-template-columns: 32px minmax(0, 1fr) 16px; gap: 12px; min-height: 80px; padding: 18px 8px; }
  .problem-card__icon { width: 32px; height: 32px; }
  .problem-card__icon > :is(img,.service-icon) { width: 28px; height: 28px; }
  .problem-card__copy { grid-template-columns: 20px minmax(0, 1fr); gap: 8px; }
  .problem-card__number { font-size: 11px; }
  .problem-card__text { font-size: 14px; }
  .problem-card__toggle { width: 16px; height: 16px; }
  .problem-card__panel { margin: 0 12px 20px 80px; padding-top: 16px; }
  .product-content .lean-product-columns > .lean-product-benefits { padding: 22px; }
  .product-content .lean-product-benefits .benefit-grid { gap: 10px; }
  .benefit-tab { grid-template-columns: minmax(0, 1fr); grid-template-rows: 36px 1fr; gap: 16px; min-height: 152px; padding: 18px 14px; }
  .benefit-icon, .benefit-icon > :is(img,.service-icon) { width: 36px; height: 36px; }
  .benefit-text { font-size: 14px; line-height: 1.75; }
  .benefit-item:last-child:nth-child(odd) .benefit-tab { grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto; min-height: 86px; padding-right: 34px; }
  .benefit-tab[aria-selected="true"] { transform: none; }
  .benefit-panels { margin-top: 18px; padding: 18px 16px; }
  .benefit-panel { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .product-content .lean-product-case { padding: 22px; }
  .product-content .lean-product-case h2 { font-size: 21px; }
  .product-content .lean-product-case > p { font-size: 14px; }
  .lean-case-metrics { gap: 20px; margin-top: 24px; }
  .lean-case-metrics dd { font-size: 28px; }
  .product-contact { padding: 32px 0; }
  .product-contact h2 { font-size: 23px; }
  .product-contact p { font-size: 14px; }
}
@media (max-width: 760px) {
  .consulting-banner { padding: 0; }
  .consulting-banner .page-banner__copy { max-width: none; }
  .consulting-banner h1 { font-size: clamp(23px, 6.4vw, 28px); line-height: 1.5; }
  .consulting-banner .consulting-banner__description { margin-top: 14px; font-size: 14px; }
  .consulting-banner .text-link { margin-top: 16px; }
  .product-banner { padding: 0; }
  .product-banner .page-banner__copy { max-width: none; }
  .product-banner h1 { font-size: 28px; }
  .product-banner .section-kicker { margin-bottom: 10px; }
  .product-banner .product-description { margin-top: 10px; font-size: 14px; }
  .product-banner .product-problem { margin-top: 14px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.services-page,.service-product-page) *, :is(.services-page,.service-product-page) *::before, :is(.services-page,.service-product-page) *::after { transition: none !important; animation: none !important; }
  .lean-index a:hover, .lean-index a:hover > div { transform: none; }
  .problem-card:hover, .problem-card__summary:hover .problem-card__icon, .problem-card__summary:active .problem-card__icon { transform: none; }
  .lean-reveal { opacity: 1; transform: none; }
  .benefit-tab[aria-selected="true"], .benefit-tab[aria-selected="true"] .benefit-icon, .benefit-tab:active .benefit-icon { transform: none; }
}
