/* Shared layout, type and component rhythm for the current website. */
:root {
  --ink: #202b3b;
  --muted: #66758a;
  --subtle: #8490a2;
  --blue: #5262cb;
  --line: #e1e6ef;
  --paper: #f7f9fc;
  --section-space: 72px;
  --radius: 12px;
  --font: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: #fff; font: 15px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; color: inherit; border: 0; background: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
p { color: var(--muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a6b4f0; outline-offset: 4px; }
::selection { background: #e2e7ff; }
.container { width: min(1160px, calc(100% - 144px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 10px 20px; z-index: 200; background: var(--ink); color: #fff; }
.skip-link:focus { top: 10px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; line-height: 1.5; font-weight: 500; letter-spacing: .5px; }
.small-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 12px 22px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1.5; font-weight: 500; transition: background .18s, transform .18s; }
.button:hover { background: #344257; transform: translateY(-1px); }
.button > span { font-size: 19px; line-height: 1; }
.button-small { min-height: 40px; padding: 9px 16px; gap: 20px; font-size: 13px; }
.button-blue { background: var(--blue); }
.button-blue:hover { background: #4353ba; }
.inline-link { display: inline-flex; align-items: center; gap: 22px; padding: 8px 0; font-size: 14px; font-weight: 500; color: var(--blue); }
.inline-link > span { font-size: 19px; }
.inline-link:hover { color: #3444a8; }

/* Navigation */
.site-header { height: 72px; position: sticky; top: 0; z-index: 30; background: #ffffffed; backdrop-filter: blur(16px); border-bottom: 1px solid #e9edf3; }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.company-logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.company-logo strong { font-size: 25px; font-weight: 650; letter-spacing: -1px; }
.company-en { margin-left: 6px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 1.8px; }
.brand-symbol { position: relative; width: 25px; height: 27px; }
.brand-symbol i { position: absolute; display: block; width: 6px; background: var(--blue); border-radius: 2px; transform: rotate(24deg); }
.brand-symbol i:nth-child(1) { height: 11px; left: 1px; top: 13px; }
.brand-symbol i:nth-child(2) { height: 24px; left: 11px; top: 1px; }
.brand-symbol i:nth-child(3) { height: 5px; width: 5px; left: 20px; top: 20px; border-radius: 50%; }
.desktop-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.desktop-nav > a, .nav-product { padding-block: 12px; }
.desktop-nav > a:hover, .nav-product:hover { color: var(--blue); }
.nav-product { display: flex; align-items: center; gap: 9px; padding-inline: 0; font-size: 14px; }
.chevron { width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); margin-top: -3px; }
.product-menu { position: relative; }
.product-dropdown { position: absolute; top: 49px; left: -24px; width: 308px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 40px #21334c14; }
.product-dropdown a { display: grid; grid-template-columns: 28px 1fr 16px; align-items: center; gap: 14px; padding: 12px; border-radius: 6px; }
.product-dropdown a:hover { background: var(--paper); }
.product-dropdown img { width: 26px; }
.product-dropdown b { font-size: 14px; font-weight: 500; }
.product-dropdown small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.glyph { color: var(--blue); font-size: 25px; line-height: 1; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.mobile-toggle, .mobile-nav { display: none; }

/* Hero and product entry points */
.lean-hero { background: linear-gradient(#fff 15%, #f5f7fc); padding-bottom: 28px; }
.hero-copy { text-align: center; padding-block: 48px 32px; }
.hero-copy .eyebrow { justify-content: center; letter-spacing: 2px; }
.hero h1 { margin: 14px 0 16px; font-size: clamp(42px, 4.8vw, 64px); line-height: 1.3; letter-spacing: -1.8px; }
.hero h1 > span { color: var(--blue); }
.hero-description { font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 24px; }
.video-trigger { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 14px; padding: 8px 0; }
.video-trigger:hover { color: var(--blue); }
.video-trigger svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1; }
.video-trigger svg path { fill: currentColor; stroke: none; }
.film-showcase { max-width: 1040px; }
.film-preview { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid #dfe5ef; border-radius: var(--radius); background: #f5f8fe; box-shadow: 0 18px 50px #3143670c; text-align: left; }
.film-preview > img { width: 100%; height: auto; }
.film-play { position: absolute; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 9px; background: #fffffff2; color: var(--blue); box-shadow: 0 4px 18px #2538600b; transition: transform .18s; }
.film-preview:hover .film-play { transform: translateY(-2px); }
.film-play > svg { width: 21px; height: 21px; fill: currentColor; }
.film-play > span { font-size: 13px; line-height: 1.5; }
.film-play small { display: block; font-size: 11px; letter-spacing: 1px; color: var(--subtle); margin-top: 3px; }
.film-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.suite-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 24px; border-bottom: 1px solid var(--line); }
.suite-strip > a { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px 20px; }
.suite-strip > a + a { border-left: 1px solid var(--line); }
.suite-strip > a > img { width: 28px; height: 28px; }
.suite-strip b { display: block; font-size: 15px; font-weight: 500; line-height: 1.5; }
.suite-strip small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.suite-strip > a > i { font-style: normal; color: var(--subtle); margin-left: 24px; }
.suite-strip > a:hover b, .suite-strip > a:hover > i { color: var(--blue); }
.suite-metric-mark { display: flex; align-items: flex-end; gap: 3px; width: 28px; height: 27px; padding: 3px; }
.suite-metric-mark i { width: 5px; height: 11px; border-radius: 2px; background: #8b9bd5; }
.suite-metric-mark i:nth-child(2) { height: 20px; background: #6076ca; }
.suite-metric-mark i:nth-child(3) { height: 15px; background: #acb8df; }
.suite-agent-mark { font-size: 32px; width: 28px; color: #7b8ac2; line-height: 1; }

/* Section rhythm */
.lean-work, .lean-agent { padding-block: var(--section-space); }
.lean-metrics, .scenarios-section, .contact-section { padding-block: var(--section-space); }
.lean-section-head, .section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 32px; }
.lean-section-head h2, .lean-metrics h2, .scenarios-section h2, .contact-intro h2 { margin-top: 12px; font-size: 36px; font-weight: 500; line-height: 1.4; letter-spacing: -.7px; text-wrap: balance; }
.lean-section-head > p, .section-description { justify-self: end; max-width: 370px; color: var(--muted); font-size: 15px; line-height: 1.9; padding-bottom: 3px; }

/* Work: preserve the original film frames at their native aspect ratio. */
.work-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.work-tabs button { position: relative; text-align: left; padding: 12px 0 15px; font-size: 15px; color: var(--muted); white-space: nowrap; }
.work-tabs button > span { color: var(--subtle); font-size: 12px; margin-right: 12px; font-variant-numeric: tabular-nums; }
.work-tabs button::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: -1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.work-tabs button[aria-selected=true] { color: var(--ink); }
.work-tabs button[aria-selected=true] > span { color: var(--blue); }
.work-tabs button[aria-selected=true]::after { transform: scaleX(1); }
.work-step-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.work-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.work-steps button { min-height: 36px; padding: 6px 12px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; color: var(--muted); }
.work-steps button:hover { background: var(--paper); }
.work-steps button[aria-pressed=true] { background: #eef1ff; border-color: #e1e6fc; color: #475ab8; }
.work-native-figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #f7f9fe; box-shadow: 0 12px 36px #273d5d08; }
.figure-topline { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 52px; padding: 8px 18px; border-bottom: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 12px; }
.figure-topline > span { display: flex; align-items: center; gap: 8px; }
.figure-topline i { flex: 0 0 4px; width: 4px; height: 4px; border-radius: 50%; background: #8b99c8; }
.work-frame-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.work-frame-actions button { min-height: 34px; padding: 4px 0; color: #657698; font-size: 12px; white-space: nowrap; }
.work-frame-actions button:hover { color: var(--blue); }
.work-frame-actions button > span { margin-left: 3px; font-size: 15px; }
.work-native-figure > img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; }
.work-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; margin-top: 14px; }
.work-caption p { color: var(--muted); font-size: 13px; line-height: 1.85; max-width: 850px; }
.work-caption > span { color: var(--subtle); font-size: 12px; white-space: nowrap; }
.work-feedback-boundary { margin-top: 6px; font-size: 12px; color: var(--muted); }

/* Metrics and Data Agent */
.lean-metrics { background: var(--paper); border-block: 1px solid #e9edf4; }
.lean-metrics-layout { display: grid; grid-template-columns: 1fr 1.08fr; gap: 72px; align-items: center; }
.lean-metrics-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 15px; color: var(--muted); }
.metric-keywords { display: flex; gap: 18px; margin-top: 24px; font-size: 13px; color: var(--muted); }
.metric-keywords span + span { border-left: 1px solid #d7dfeb; padding-left: 18px; }
.lean-metrics-copy > .inline-link { margin-top: 22px; }
.lean-semantic { width: 100%; max-width: 520px; justify-self: end; }
.semantic-dimensions, .semantic-consumers { display: flex; justify-content: space-around; gap: 12px; }
.semantic-dimensions span { min-width: 90px; padding: 7px 22px; font-size: 13px; color: #61718b; background: #fff; border: 1px solid var(--line); border-radius: 6px; text-align: center; }
.semantic-branch { height: 24px; width: 66.666%; border: 1px solid #d4ddea; border-top: 0; border-radius: 0 0 5px 5px; margin: 0 auto 18px; position: relative; }
.semantic-branch::before, .semantic-branch::after { content: ""; position: absolute; width: 1px; height: 24px; background: #d4ddea; left: 50%; top: 0; }
.semantic-branch::after { top: 23px; height: 19px; }
.lean-metric-card { border: 1px solid #dce3ef; border-radius: var(--radius); background: #fff; padding: 4px 24px 20px; box-shadow: 0 8px 28px #304b7b06; }
.metric-tabs { display: flex; gap: 14px; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.metric-tabs button { flex: 1; padding: 12px 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.metric-tabs button[aria-selected=true] { color: var(--blue); border-bottom-color: var(--blue); }
.lean-metric-name { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 16px; }
.lean-metric-name h3 { font-size: 24px; }
.lean-metric-name > span { color: #a3afd0; font-size: 32px; line-height: 1; font-weight: 300; }
#metric-formula { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 56px; padding: 14px 16px; border-radius: 6px; background: #f5f7fc; color: #53647e; font-size: 14px; }
#metric-formula i { font-style: normal; color: #7c8ba2; }
.metric-unit-line { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 12px; color: var(--muted); }
.semantic-branch.lower { transform: rotate(180deg); margin-top: 18px; margin-bottom: 0; }
.semantic-consumers span { flex: 1; margin-top: 8px; text-align: center; font-size: 13px; color: #64748d; }
.lean-demo-caption { text-align: center; color: var(--subtle); font-size: 12px; margin-top: 18px; }
.lean-pipeline { display: grid; grid-template-columns: 1fr .55fr 1.5fr .55fr 1fr; gap: 20px; align-items: center; padding: 32px 40px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(110deg, #f8faff, #fff); }
.pipeline-source, .pipeline-result { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pipeline-source > img { width: 32px; height: 32px; margin-bottom: 8px; }
.pipeline-source b, .pipeline-result b { font-size: 15px; font-weight: 500; }
.pipeline-source > span, .pipeline-result > span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.pipeline-result > svg { width: 58px; height: 34px; margin-bottom: 6px; }
.lean-pipeline-line { height: 1px; background: #cbd6e9; position: relative; }
.lean-pipeline-line::after { position: absolute; content: ""; right: 0; top: -2px; width: 5px; height: 5px; border-top: 1px solid #9fb0d0; border-right: 1px solid #9fb0d0; transform: rotate(45deg); }
.lean-pipeline-line i { position: absolute; width: 5px; height: 5px; left: 36%; top: -2px; border-radius: 50%; background: #a6b8dc; }
.lean-engine { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 24px 20px; border: 1px solid #d8e0f0; border-radius: 9px; background: #fff; box-shadow: 0 6px 20px #42598707; }
.engine-orbit { color: #6b7fcc; font-size: 38px; line-height: 1; }
.lean-engine b { display: block; font-size: 15px; font-weight: 500; white-space: nowrap; }
.lean-engine div > span { display: flex; justify-content: space-between; gap: 9px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.lean-engine i { font-style: normal; color: #a2aec3; }

/* Business scenarios */
.scenarios-section { background: var(--paper); border-block: 1px solid #e9edf4; }
.scenario-list { border-top: 1px solid #dce3ed; }
.scenario-list > button { display: grid; grid-template-columns: 32px minmax(0, 1.5fr) minmax(0, 1fr) 36px; align-items: center; gap: 24px; width: 100%; padding: 24px 4px; text-align: left; border-bottom: 1px solid #dce3ed; transition: background .18s; }
.scenario-list > button:hover { background: #eff3fb; }
.scenario-index { color: var(--subtle); font-size: 12px; font-variant-numeric: tabular-nums; }
.scenario-category-label { display: block; font-size: 12px; color: #647798; margin-bottom: 6px; }
.scenario-list h3 { font-size: 18px; line-height: 1.65; text-wrap: balance; }
.scenario-list p { font-size: 13px; line-height: 1.85; color: var(--muted); }
.round-arrow { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dbe2ee; border-radius: 50%; color: #7a8ca9; transition: color .18s, border-color .18s; }
.scenario-list > button:hover .round-arrow { color: var(--blue); border-color: #abb9e0; }

/* Company contact and footer */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-intro .button { background: var(--blue); margin-top: 24px; }
.contact-intro .button:hover { background: #4353ba; }
.company-contact { padding-top: 2px; }
.company-contact h3 { padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 18px; }
.contact-details { margin: 0; }
.contact-detail { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-detail dt { color: var(--muted); font-size: 12px; }
.contact-detail dd { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; margin: 0; }
.contact-value { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-variant-numeric: tabular-nums; }
.contact-value > span { color: var(--subtle); font-size: 14px; }
.contact-value:hover { color: var(--blue); }
.contact-copy { flex-shrink: 0; padding: 6px 0; color: var(--blue); font-size: 12px; white-space: nowrap; }
.contact-copy:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-address { align-items: start; }
.contact-address dt { padding-top: 3px; }
.contact-address dd { align-items: start; }
.contact-address address { font-style: normal; font-size: 13px; line-height: 1.9; color: var(--muted); overflow-wrap: anywhere; }
.wecom-caption > span { font-size: 14px; }
.wecom-caption .contact-copy { display: block; margin-top: 4px; }
.wecom-thumbnail { width: 88px; height: 88px; flex: 0 0 88px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.wecom-thumbnail:hover { border-color: #a5b4dd; }
.wecom-thumbnail img { width: 100%; height: auto; }
.company-copy-status, .copy-status, .quick-copy-status { color: var(--blue); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.company-copy-status:not(:empty), .copy-status:not(:empty), .quick-copy-status:not(:empty) { margin-top: 8px; }
footer { padding: 28px 0 24px; border-top: 1px solid var(--line); background: #fff; }
.footer-main { display: flex; align-items: center; gap: 28px; }
.footer-main > span { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 13px; color: #53637a; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; color: var(--subtle); font-size: 12px; }

/* Dialogs use a separate, compact rhythm from the marketing sections. */
dialog { color: var(--ink); background: #fff; border: 1px solid #dfe5ee; border-radius: 14px; max-width: calc(100vw - 40px); max-height: calc(100dvh - 40px); padding: 28px 32px; overflow: auto; box-shadow: 0 24px 80px #17263d28; }
dialog::backdrop { background: #26344b69; backdrop-filter: blur(4px); }
.close-button { position: absolute; right: 16px; top: 14px; width: 34px; height: 34px; padding: 0; border-radius: 7px; color: #7b899f; font-size: 25px; line-height: 1; }
.close-button:hover { background: #f0f3f8; color: var(--ink); }
.contact-dialog { width: 540px; }
.scenario-dialog > .eyebrow { padding-right: 32px; font-size: 12px; letter-spacing: .3px; }
.contact-dialog h2, .scenario-dialog h2 { padding-right: 8px; margin: 8px 0 10px; font-size: 28px; line-height: 1.4; letter-spacing: -.5px; }
.contact-dialog h2 { margin: 0 0 24px; padding-right: 28px; }
.contact-dialog form { display: flex; flex-direction: column; }
.contact-dialog label { font-size: 13px; color: #53637a; line-height: 1.5; margin-bottom: 8px; }
.contact-dialog select, .contact-dialog textarea { width: 100%; border: 1px solid #d7dfea; border-radius: 7px; background: #fafbfd; color: #38485f; padding: 10px 12px; font-size: 14px; line-height: 1.6; transition: border-color .18s, box-shadow .18s; }
.contact-dialog select { height: 44px; margin-bottom: 16px; }
.contact-dialog textarea { resize: vertical; min-height: 96px; height: 96px; max-height: 240px; margin-bottom: 18px; }
.contact-dialog textarea::placeholder { color: #8996aa; }
.contact-dialog select:focus, .contact-dialog textarea:focus { outline: none; border-color: #8799df; box-shadow: 0 0 0 3px #5262cb12; background: #fff; }
.contact-dialog form .button { width: 100%; min-height: 44px; }
.email-helper { text-align: center; color: #7a879b; font-size: 12px; line-height: 1.6; margin-top: 8px; }
.direct-email { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 18px; font-size: 13px; }
.direct-email a { color: #65758e; }
.direct-email a:hover { color: var(--blue); }
.direct-email button { min-height: 32px; padding: 4px 0 4px 10px; color: var(--blue); font-size: 12px; }
.scenario-dialog { width: 600px; }
.scenario-dialog h2 { font-size: 26px; margin-bottom: 20px; }
#scenario-steps { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: step; }
#scenario-steps li { position: relative; counter-increment: step; padding: 12px 0 12px 38px; border-top: 1px solid #e8edf4; color: #52637c; font-size: 14px; line-height: 1.85; }
#scenario-steps li::before { content: "0" counter(step); position: absolute; left: 0; top: 14px; font-size: 12px; color: #7387ba; font-variant-numeric: tabular-nums; }
.scenario-dialog .button { width: 100%; }
.video-dialog { width: 1040px; padding: 20px; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 16px; }
.tiny-label { font-size: 12px; color: #78879c; }
.dialog-top h2 { font-size: 20px; line-height: 1.5; margin-top: 3px; }
.dialog-top .close-button { position: static; flex-shrink: 0; }
.video-dialog video { width: 100%; display: block; height: auto; max-height: 68dvh; object-fit: contain; background: #f5f7fc; border-radius: 8px; }
.video-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.video-caption a { color: var(--blue); }
.image-dialog { width: min(1500px, calc(100vw - 32px)); padding: 48px 12px 12px; }
.image-dialog img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.image-dialog .close-button { top: 8px; right: 10px; }

/* Floating contact: height follows the selected channel. */
.contact-dock { position: fixed; right: 14px; bottom: 28px; z-index: 35; padding: 4px; background: #fffffffa; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 5px 24px #28324a0d; }
.contact-dock button { width: 44px; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 7px; color: #66758a; }
.contact-dock button + button { margin-top: 2px; }
.contact-dock button:hover, .contact-dock button.is-active { background: #eef2fd; color: var(--blue); }
.contact-dock span { font-size: 11px; }
.contact-dock svg, .mobile-contact svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mobile-contact { display: none; }
.quick-contact-dialog { position: fixed; inset: auto 80px 28px auto; z-index: 36; margin: 0; width: 320px; max-height: calc(100dvh - 56px); padding: 24px; box-shadow: 0 14px 50px #2434541a; }
.quick-contact-dialog::backdrop { background: transparent; backdrop-filter: none; }
.quick-contact-dialog h2 { font-size: 24px; line-height: 1.4; margin: 0; padding-right: 28px; }
.quick-contact-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-top: 18px; }
.quick-contact-tabs button { flex: 1; min-height: 42px; padding: 10px 0; color: var(--muted); font-size: 13px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.quick-contact-tabs button[aria-selected=true] { color: var(--blue); border-color: var(--blue); }
.quick-contact-panel { padding: 18px 0 0; text-align: center; }
.contact-qr { width: 204px; padding: 8px; margin: 0 auto 10px; border: 1px solid #e5eaf2; border-radius: 9px; background: #fff; }
.contact-qr img { width: 100%; height: auto; }
.qr-label { font-size: 13px; color: var(--ink); }
.direct-contact-panel { padding-top: 24px; }
.quick-contact-value { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phone-value { font-size: 25px; }
.email-value { font-size: 19px; }
.quick-contact-value > span { font-size: 15px; color: var(--subtle); }
.quick-contact-value:hover { color: var(--blue); }
.quick-copy { min-height: 40px; margin-top: 18px; padding: 8px 18px; display: inline-flex; align-items: center; gap: 22px; border: 1px solid #d8e0ef; border-radius: 7px; background: #f6f8ff; color: var(--blue); font-size: 13px; }
.quick-copy:hover { background: #eef2ff; border-color: #b6c4e7; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .desktop-nav { gap: 24px; }
  .company-en { display: none; }
  .lean-metrics-layout { gap: 48px; }
  .lean-pipeline { gap: 16px; padding: 28px; grid-template-columns: 1fr .35fr 1.6fr .35fr 1fr; }
  .lean-engine { padding: 22px 14px; gap: 12px; }
  .contact-layout { gap: 48px; }
  .contact-detail { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .contact-detail dd { gap: 12px; }
  .contact-value { font-size: 15px; gap: 8px; }
  .contact-dock { display: none; }
  .mobile-contact { display: flex; align-items: center; gap: 8px; position: fixed; right: 20px; bottom: 20px; z-index: 35; min-height: 44px; padding: 10px 16px; background: #fff; color: var(--blue); border: 1px solid #d8e0ef; border-radius: 24px; box-shadow: 0 4px 20px #28324a12; font-size: 13px; }
  .quick-contact-dialog { right: 20px; bottom: 76px; max-height: calc(100dvh - 100px); }
  .footer-main > span { display: none; }
}
@media (max-width: 800px) {
  :root { --section-space: 56px; }
  .desktop-nav { gap: 18px; font-size: 13px; }
  .nav-product { font-size: 13px; }
  .nav-wrap { gap: 16px; }
  .company-logo strong { font-size: 23px; }
  .lean-section-head, .section-heading { gap: 28px; grid-template-columns: 1.1fr 1fr; }
  .lean-section-head h2, .lean-metrics h2, .scenarios-section h2, .contact-intro h2 { font-size: 30px; }
  .lean-section-head > p, .section-description { font-size: 14px; }
  .lean-section-head > p br, .section-description br { display: none; }
  .work-tabs { gap: 16px; }
  .work-tabs button { font-size: 13px; }
  .work-tabs button > span { margin-right: 8px; }
  .work-caption { gap: 18px; }
  .lean-metrics-layout { grid-template-columns: 1fr 1.15fr; gap: 32px; }
  .lean-metric-card { padding-inline: 18px; }
  .metric-tabs { gap: 8px; }
  .semantic-dimensions span { min-width: 68px; padding-inline: 14px; }
  .metric-keywords { gap: 12px; font-size: 12px; }
  .metric-keywords span + span { padding-left: 12px; }
  #metric-formula { gap: 9px; font-size: 13px; padding-inline: 12px; }
  .lean-pipeline { gap: 10px; padding: 24px 20px; }
  .lean-engine { padding: 20px 12px; gap: 10px; }
  .lean-engine b, .pipeline-source b, .pipeline-result b { font-size: 13px; }
  .lean-engine div > span, .pipeline-source > span, .pipeline-result > span { font-size: 11px; }
  .engine-orbit { font-size: 30px; }
  .scenario-list > button { grid-template-columns: 26px 1fr 34px; gap: 20px; padding-block: 20px; }
  .scenario-list > button > p { grid-column: 2; grid-row: 2; margin-top: -14px; }
  .scenario-list .round-arrow { grid-column: 3; grid-row: 1/3; }
  .contact-layout { gap: 32px; }
  .contact-detail { display: block; }
  .contact-detail dt { margin-bottom: 6px; padding: 0; }
  .contact-address dd { display: block; }
  .contact-address .contact-copy { margin-top: 4px; }
  .suite-strip > a { padding-inline: 12px; gap: 10px; }
  .suite-strip > a > i { margin-left: 8px; }
  .suite-strip b { font-size: 13px; }
  .suite-strip small { font-size: 11px; }
}
@media (max-width: 700px) {
  .site-header { height: 64px; }
  .container { width: calc(100% - 40px); }
  .desktop-nav { display: none; }
  .nav-actions { gap: 14px; }
  .mobile-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 32px; height: 40px; padding: 0; }
  .mobile-toggle span { width: 18px; height: 1px; background: var(--ink); }
  .mobile-toggle[aria-expanded=true] span:first-child { transform: translateY(3px) rotate(45deg); }
  .mobile-toggle[aria-expanded=true] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .mobile-nav { display: grid; position: absolute; top: 63px; left: 0; right: 0; padding: 12px 24px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px #2436520c; }
  .mobile-nav a { padding: 12px 0; font-size: 14px; border-bottom: 1px solid #eef1f6; }
  .hero-copy { padding-block: 40px 28px; }
  .hero h1 { font-size: 42px; }
  .hero h1 > span { display: block; }
  .hero-description { font-size: 15px; }
  .lean-section-head, .section-heading { display: block; margin-bottom: 28px; }
  .lean-section-head > p, .section-description { margin-top: 16px; max-width: 500px; padding: 0; }
  .lean-metrics-layout, .contact-layout { grid-template-columns: 1fr; }
  .lean-semantic { justify-self: center; max-width: 440px; }
  .lean-metrics-layout { gap: 32px; }
  .contact-layout { gap: 36px; }
  .contact-detail { display: grid; grid-template-columns: 72px minmax(0, 1fr); }
  .contact-detail dt { margin: 0; }
  .contact-value { font-size: 17px; }
  .contact-address dd { display: flex; }
  .contact-address .contact-copy { margin: 0; }
  .company-contact h3 { font-size: 18px; }
  .lean-pipeline { grid-template-columns: 1fr; gap: 16px; justify-items: center; padding: 26px; }
  .pipeline-source, .pipeline-result { display: grid; grid-template-columns: 40px auto; align-items: center; gap: 2px 14px; min-width: 190px; }
  .pipeline-source > img, .pipeline-result > svg { grid-row: 1/3; margin: 0; width: 34px; height: 34px; justify-self: center; }
  .pipeline-source b, .pipeline-result b { font-size: 15px; }
  .pipeline-source > span, .pipeline-result > span { font-size: 12px; }
  .lean-pipeline-line { height: 22px; width: 1px; }
  .lean-pipeline-line::after { right: -2px; top: auto; bottom: 0; transform: rotate(135deg); }
  .lean-pipeline-line i { left: -2px; top: 7px; }
  .lean-engine { min-width: 250px; padding: 20px 28px; gap: 18px; }
  .lean-engine b { font-size: 15px; }
  .lean-engine div > span { font-size: 12px; }
  .engine-orbit { font-size: 36px; }
  .footer-main { flex-wrap: wrap; gap: 20px; }
  .footer-links { width: 100%; justify-content: space-between; margin: 0; gap: 16px; }
  .footer-bottom { flex-wrap: wrap; gap: 6px 20px; margin-top: 20px; font-size: 11px; }
  .footer-bottom > span:last-child { display: none; }
  footer { padding-bottom: 88px; }
}
@media (max-width: 600px) {
  :root { --section-space: 48px; }
  html { scroll-padding-top: 80px; }
  .button-small { min-height: 36px; font-size: 12px; padding: 8px 12px; gap: 12px; }
  .hero h1 { font-size: 40px; line-height: 1.3; margin-block: 14px; letter-spacing: -1.3px; }
  .hero-copy .eyebrow { font-size: 11px; }
  .hero-actions { gap: 20px; margin-top: 20px; }
  .hero-actions .button { font-size: 13px; padding: 11px 14px; gap: 14px; }
  .video-trigger { font-size: 12px; gap: 6px; }
  .video-trigger svg { width: 19px; }
  .lean-hero { padding-bottom: 22px; }
  .film-preview { border-radius: 9px; }
  .film-play { right: 10px; bottom: 10px; padding: 9px 11px; gap: 7px; border-radius: 6px; }
  .film-play > svg { width: 16px; height: 16px; }
  .film-play > span { font-size: 11px; }
  .film-play small { display: none; }
  .film-caption { display: block; font-size: 11px; margin-top: 10px; line-height: 1.8; }
  .film-caption > span { display: block; }
  .suite-strip { padding-block: 20px; }
  .suite-strip > a { flex-direction: column; text-align: center; padding-inline: 6px; gap: 8px; }
  .suite-strip b { font-size: 11px; white-space: nowrap; }
  .suite-strip small { font-size: 10px; }
  .suite-strip > a > i { display: none; }
  .suite-strip > a > img { width: 24px; height: 24px; }
  .suite-metric-mark { width: 24px; height: 24px; padding: 1px; }
  .suite-agent-mark { font-size: 27px; height: 24px; }
  .lean-section-head h2, .lean-metrics h2, .scenarios-section h2, .contact-intro h2 { font-size: 29px; margin-top: 10px; letter-spacing: -.6px; }
  .lean-section-head > p, .section-description { font-size: 14px; margin-top: 14px; line-height: 1.85; }
  .eyebrow { font-size: 11px; }
  .work-tabs { gap: 10px; margin-bottom: 12px; }
  .work-tabs button { display: flex; flex-direction: column; align-items: start; gap: 4px; font-size: 12px; min-height: 52px; padding: 8px 0 12px; }
  .work-tabs button > span { margin: 0; font-size: 10px; }
  .work-step-bar { margin-bottom: 12px; }
  .work-steps { gap: 4px; }
  .work-steps button { min-height: 40px; padding: 6px 8px; font-size: 11px; }
  .figure-topline { flex-wrap: wrap; gap: 4px; padding: 10px 12px; }
  .figure-topline > span { width: 100%; font-size: 11px; line-height: 1.7; }
  .work-frame-actions { margin-left: auto; gap: 20px; }
  .work-frame-actions button { font-size: 12px; min-height: 36px; }
  .work-native-figure { border-radius: 9px; }
  .work-caption { display: block; margin-top: 12px; }
  .work-caption p { font-size: 13px; }
  .work-caption > span { display: block; margin-top: 6px; font-size: 11px; }
  .work-feedback-boundary { font-size: 12px; }
  .metric-keywords { font-size: 12px; margin-top: 18px; gap: 16px; }
  .metric-keywords span + span { padding-left: 16px; }
  .lean-metrics-copy > p:not(.eyebrow) { font-size: 14px; margin-top: 14px; }
  .lean-metrics-copy > .inline-link { margin-top: 14px; }
  .semantic-dimensions span { min-width: 78px; font-size: 12px; padding-inline: 16px; }
  .semantic-consumers span { font-size: 12px; }
  .lean-metric-card { padding: 2px 18px 18px; }
  .lean-metric-name { margin-block: 18px 14px; }
  .lean-metric-name h3 { font-size: 22px; }
  .lean-demo-caption { font-size: 11px; }
  .scenario-list > button { grid-template-columns: 22px 1fr 30px; gap: 14px; padding: 20px 0; }
  .scenario-list h3 { font-size: 16px; line-height: 1.75; }
  .scenario-list > button > p { font-size: 12px; margin-top: -6px; }
  .scenario-category-label, .scenario-index { font-size: 11px; }
  .round-arrow { width: 30px; height: 30px; font-size: 14px; }
  .contact-intro .button { margin-top: 20px; }
  .contact-detail { display: block; padding-block: 16px; }
  .contact-detail dt { margin-bottom: 7px; }
  .contact-detail dd { gap: 12px; }
  .contact-address dd { display: block; }
  .contact-address .contact-copy { margin-top: 5px; }
  .wecom-thumbnail { width: 96px; height: 96px; flex-basis: 96px; }
  dialog { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 12px; padding: 24px 22px; }
  .close-button { top: 10px; right: 10px; width: 36px; height: 36px; }
  .contact-dialog h2, .scenario-dialog h2 { font-size: 24px; margin-top: 10px; }
  .contact-dialog select, .contact-dialog textarea { font-size: 16px; }
  .contact-dialog textarea { min-height: 100px; height: 100px; }
  .contact-dialog select { height: 46px; }
  .contact-dialog form .button { min-height: 46px; }
  .email-helper { font-size: 11px; }
  .direct-email { margin-top: 16px; gap: 12px; font-size: 12px; }
  #scenario-steps li { padding-left: 32px; font-size: 13px; }
  .video-dialog { padding: 16px; }
  .dialog-top { padding-bottom: 12px; gap: 16px; }
  .dialog-top h2 { font-size: 16px; }
  .video-caption { font-size: 11px; gap: 10px; }
  .image-dialog { padding: 46px 8px 8px; width: calc(100vw - 16px); max-width: none; }
  .image-dialog img { min-width: 750px; }
  .image-dialog .close-button { position: sticky; display: block; left: calc(100% - 36px); top: 0; margin-top: -38px; margin-bottom: 6px; background: #fff; }
  .mobile-contact { right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .quick-contact-dialog { inset: auto 0 0; width: 100%; max-width: 100%; max-height: calc(100dvh - 24px); padding: 24px 26px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 18px 18px 0 0; border-bottom: 0; }
  .quick-contact-dialog::backdrop { background: #26344b69; backdrop-filter: blur(4px); }
  .quick-contact-dialog .close-button { top: 14px; right: 16px; }
  .quick-contact-tabs button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
