/* ZSM portal V3. Taste Skill typography, alignment and restrained surfaces.
   Native Chinese system fonts avoid external font-loading dependencies. */
:root {
  --blue: #245eff;
  --dark: #17243a;
  --muted: #526176;
  --surface: #f3f6fa;
  --selected: #e7efff;
  --white: #fff;
  --focus: #245eff;
  --small: 14px;
  --body: 16px;
  --lead: 20px;
  --heading: clamp(26px, 2.6vw, 34px);
  --display: clamp(34px, 3.7vw, 52px);
  --gutter: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--white); color: var(--dark); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: var(--body); line-height: 1.6; font-kerning: normal; text-rendering: optimizeLegibility; }
button, input { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: var(--selected); color: var(--dark); }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; flex-shrink: 0; }
.wrap { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.header { height: 84px; background: var(--white); position: sticky; top: 0; z-index: 20; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--gutter); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; flex-shrink: 0; }
.brand-name { font-size: 26px; font-weight: 400; line-height: 1.2; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: var(--small); line-height: 1.4; }
.nav { display: flex; align-items: center; gap: 28px; font-size: var(--body); white-space: nowrap; }
.nav a:hover, .text-btn:hover, .faq-help:hover { color: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 6px; background: var(--blue); color: var(--white); font-size: var(--body); line-height: 1.5; font-weight: 600; transition: background .16s, transform .16s; }
.btn:hover { background: #174bd5; }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: var(--white); color: var(--dark); }
.btn.secondary:hover { background: var(--selected); }
.btn.small { min-height: 44px; padding: 10px 18px; font-size: var(--small); }
.header .btn { white-space: nowrap; }
.hero { background: var(--surface); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 64px; padding-block: 64px; }
.hero h1 { font-size: var(--display); line-height: 1.22; letter-spacing: -.035em; font-weight: 750; margin-bottom: 24px; text-wrap: balance; }
.hero h1 span { color: inherit; }
.hero-copy { font-size: var(--body); color: var(--dark); line-height: 1.75; max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.micro { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px; font-size: var(--small); color: var(--muted); }
.micro span { display: inline-flex; align-items: center; gap: 6px; }
.micro svg { width: 16px; height: 16px; }
.hero-panel { width: 100%; max-width: 530px; justify-self: end; }
.tool-window { background: var(--white); border-radius: 12px; padding: 28px; }
.window-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.window-caption strong { font-size: var(--lead); font-weight: 650; }
.window-caption-note { font-size: var(--small); color: var(--muted); white-space: nowrap; }
.featured-tool { display: flex; align-items: center; gap: 16px; min-height: 100px; padding: 20px; background: var(--surface); border-radius: 6px; }
.featured-tool:hover { background: var(--selected); }
.remote-logo { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: var(--selected); color: var(--blue); font-size: var(--lead); font-weight: 700; }
.app-icon img, .remote-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.featured-tool p { font-size: var(--small); color: var(--muted); margin-top: 4px; }
.arrow-round { display: grid; place-items: center; margin-left: auto; color: var(--blue); width: 32px; height: 32px; flex-shrink: 0; }
.section { padding-block: 64px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section h2, .faq-intro h2, .contact h2 { font-size: var(--heading); line-height: 1.3; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
.section-description { margin-top: 12px; font-size: var(--body); color: var(--muted); }
.section-note { font-size: var(--small); color: var(--muted); text-align: right; flex-shrink: 0; }
.tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tools[data-count="1"] { grid-template-columns: minmax(0, 360px); }
.tools[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.tools[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tool-card { display: flex; flex-direction: column; align-items: flex-start; position: relative; padding: 26px 22px; border-radius: 8px; background: var(--surface); min-width: 0; }
.tool-card.recommended { background: var(--selected); }
.recommend-tag { position: absolute; right: 16px; top: 18px; font-size: var(--small); color: var(--dark); font-weight: 600; }
.tool-card h3 { font-size: var(--lead); line-height: 1.4; margin-top: 18px; }
.tool-card p { font-size: var(--small); color: var(--muted); margin: 6px 0 24px; min-height: 44px; }
.tool-card .btn { width: 100%; margin-top: auto; padding-inline: 12px; }
.tool-card .btn:disabled, .featured-tool:disabled { opacity: .6; cursor: wait; }
.os-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.os-toolbar p { font-size: var(--small); color: var(--muted); }
.os-switch { display: flex; gap: 8px; background: var(--surface); border-radius: 6px; padding: 4px; flex-shrink: 0; }
.os-switch button { min-height: 44px; padding: 8px 18px; font-size: var(--small); color: var(--muted); background: transparent; border-radius: 4px; }
.os-switch button.active { background: var(--blue); color: var(--white); }
.step-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; background: var(--surface); border-radius: 6px; margin: 24px 0 0; padding: 22px 28px 22px 48px; }
.step { padding-left: 3px; font-size: var(--body); }
.step::marker { color: var(--muted); }
.step b { display: block; font-size: var(--body); font-weight: 600; }
.step small { display: block; margin-top: 4px; font-size: var(--small); color: var(--muted); }
.services-section { background: var(--surface); }
.service-grid { display: flex; flex-direction: column; gap: 12px; }
.service-card { display: grid; grid-template-columns: minmax(190px, .9fr) minmax(0, 1.1fr) minmax(210px, 1fr) auto; gap: 24px; align-items: center; padding: 24px 28px; background: var(--white); border-radius: 6px; }
.service-card h3 { font-size: var(--lead); line-height: 1.4; font-weight: 650; }
.service-card p { font-size: var(--body); color: var(--muted); line-height: 1.6; }
.service-card p br { display: none; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { font-size: var(--small); color: var(--muted); padding: 4px 8px; background: var(--surface); border-radius: 3px; }
.service-link { display: flex; align-items: center; gap: 10px; background: transparent; color: var(--blue); font-size: var(--small); font-weight: 600; min-height: 44px; padding: 6px 0; white-space: nowrap; }
.text-btn { font-size: var(--body); color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.catalog-head { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.catalog-heading { min-width: 0; }
.search { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 6px; padding: 6px 6px 6px 16px; width: 470px; max-width: 100%; flex-shrink: 0; }
.search:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.search > svg { color: var(--muted); }
.search input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--dark); background: transparent; font-size: var(--body); }
.search input::placeholder { color: var(--muted); }
.search input:focus-visible { outline: 0; }
.search button { min-height: 44px; padding: 10px 18px; white-space: nowrap; flex-shrink: 0; }
.catalog-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 28px 0 24px; }
.filters { display: flex; gap: 8px; overflow: auto; padding: 4px; margin-left: -4px; }
.filter { background: transparent; padding: 9px 12px; color: var(--muted); font-size: var(--small); white-space: nowrap; min-height: 44px; border-radius: 4px; }
.filter.active { background: var(--selected); color: var(--dark); font-weight: 650; }
.filter:hover { background: var(--surface); }
.count { white-space: nowrap; font-size: var(--small); color: var(--muted); }
.software-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.software { display: flex; align-items: center; gap: 16px; text-align: left; padding: 18px; min-height: 84px; min-width: 0; background: var(--surface); color: var(--dark); border-radius: 6px; transition: background .16s; }
.software:hover { background: var(--selected); }
.app-icon { width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0; border-radius: 6px; background: var(--white); color: var(--blue); font-size: var(--small); font-weight: 650; }
.software-info { min-width: 0; }
.software-info b { display: block; font-size: var(--body); line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
.catalog-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; }
.catalog-bottom p { font-size: var(--small); color: var(--muted); }
.load-more { padding: 12px 18px; min-height: 44px; font-size: var(--small); background: var(--surface); color: var(--dark); border-radius: 6px; flex-shrink: 0; }
.load-more:hover { background: var(--selected); }
.empty { text-align: center; padding: 36px 24px; background: var(--surface); border-radius: 6px; }
.empty h3 { font-size: var(--lead); margin: 12px 0 8px; }
.empty p { font-size: var(--body); color: var(--muted); margin-bottom: 20px; }
.empty > svg { color: var(--muted); width: 32px; height: 32px; }
.empty .btn + .btn { margin-left: 8px; }
.boot-message { padding: 24px; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.software-grid[aria-busy="true"] { min-height: 130px; }
.faq-section { padding-block: 24px 64px; }
.faq-layout { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.6fr); gap: 72px; }
.faq-intro > p { font-size: var(--body); color: var(--muted); margin-top: 16px; max-width: 24em; }
.faq-help { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; margin-top: 18px; min-height: 44px; font-size: var(--small); color: var(--blue); background: transparent; font-weight: 600; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { padding-inline: 22px; background: var(--surface); border-radius: 6px; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; padding-block: 20px; font-size: var(--body); font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: var(--lead); font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { padding-bottom: 12px; }
.faq-answer { font-size: var(--body); line-height: 1.75; color: var(--muted); padding-bottom: 22px; }
.faq-answer strong { color: var(--dark); font-weight: 600; }
.faq-answer p + p { margin-top: 10px; }
.contact-wrap { padding-bottom: 32px; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 36px; background: var(--blue); color: var(--white); border-radius: 8px; padding: 36px; }
.contact p { font-size: var(--body); margin-top: 16px; max-width: 38em; }
.wecom-box { display: flex; align-items: center; gap: 18px; padding: 16px; background: #164bd4; border-radius: 6px; }
.wecom-footer-qr { display: block; width: 120px; height: 120px; object-fit: contain; background: var(--white); padding: 6px; border-radius: 4px; flex-shrink: 0; }
.wecom-box small { display: block; font-size: var(--small); }
.wecom-box strong { display: block; font-size: var(--body); margin: 8px 0 12px; }
.wecom-expand { display: inline-flex; align-items: center; gap: 8px; color: var(--white); background: transparent; padding: 6px 0; font-size: var(--small); min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.service-disclaimer { font-size: var(--small); color: var(--muted); text-align: center; margin-top: 16px; }
.footer { background: var(--surface); padding: 16px 0; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; font-size: var(--small); line-height: 1.5; color: var(--muted); }
.footer-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.footer-brand { font-size: var(--body); font-weight: 400; color: var(--dark); flex-shrink: 0; }
.footer-filing > span { display: flex; align-items: center; gap: 6px; }
.footer-filing svg { width: 14px; height: 14px; }
#footer-copyright { justify-self: end; white-space: nowrap; }
.floating-contact { position: fixed; right: 24px; bottom: 24px; z-index: 25; min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 22px; background: var(--blue); color: var(--white); font-size: var(--body); font-weight: 600; border-radius: 8px; }
.floating-contact:hover { background: #174bd5; }
.floating-contact svg { width: 24px; height: 24px; }
.modal-backdrop { position: fixed; inset: 0; background: #17243a80; display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.modal { width: 480px; max-width: 100%; max-height: calc(100dvh - 40px); overflow-y: auto; padding: 32px; background: var(--white); border-radius: 12px; position: relative; }
.close { display: grid; place-items: center; position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; font-size: 28px; background: var(--white); color: var(--muted); }
.modal-label { font-size: var(--small); color: var(--muted); margin: 4px 28px 12px 0; }
.modal h2 { font-size: var(--heading); line-height: 1.3; margin-right: 18px; }
.modal-copy { font-size: var(--body); color: var(--muted); line-height: 1.7; margin: 16px 0 20px; }
.modal-note { font-size: var(--small); color: var(--muted); margin-top: 16px; }
.wecom-modal { text-align: center; padding: 20px; background: var(--surface); border-radius: 6px; }
.wecom-modal-qr { display: block; width: 224px; height: 224px; max-width: 100%; margin: 0 auto 16px; padding: 6px; background: var(--white); object-fit: contain; }
.wecom-modal strong { display: block; font-size: var(--body); }
.wecom-modal p { font-size: var(--small); color: var(--muted); margin: 12px 0; }
.wecom-save { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; background: var(--white); color: var(--blue); border-radius: 4px; font-size: var(--small); }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 14px 22px; border-radius: 6px; background: var(--dark); color: var(--white); font-size: var(--body); text-align: center; z-index: 80; }
@media (max-width: 1100px) {
  .nav { gap: 18px; font-size: var(--small); }
  .hero-inner { gap: 32px; }
  .tool-window { padding: 24px; }
  .window-caption { flex-wrap: wrap; gap: 6px; }
  .tools { gap: 12px; }
  .tool-card { padding: 22px 18px; }
  .recommend-tag { position: static; order: -1; margin-bottom: 16px; }
  .service-card { grid-template-columns: 1fr 1.4fr; gap: 16px 28px; }
  .service-link { justify-self: end; }
  .catalog-head { align-items: flex-start; }
  .search { width: 410px; }
  .software-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-layout { gap: 40px; }
  .footer-inner { grid-template-columns: 1fr auto; gap: 10px 20px; }
  .footer-filing { grid-column: 1; grid-row: 2; }
  #footer-copyright { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --display: clamp(28px, 7.1vw, 36px); }
  html { scroll-padding-top: 88px; }
  .wrap { width: calc(100% - 36px); }
  .header { height: 76px; }
  .header-inner { gap: 12px; }
  .brand { gap: 8px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 22px; }
  .brand small { font-size: 12px; max-width: 150px; }
  .nav { display: none; }
  .header .btn { font-size: var(--small); padding: 10px 12px; }
  .header .btn svg { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-block: 36px; }
  .hero h1 { margin-bottom: 20px; letter-spacing: -.03em; }
  .hero-panel { max-width: none; }
  .hero-copy { line-height: 1.7; }
  .hero-actions { gap: 10px; margin-top: 22px; }
  .hero-actions .btn { padding-inline: 15px; }
  .micro { gap: 10px 18px; margin-top: 20px; }
  .tool-window { padding: 22px 20px; }
  .window-caption strong { font-size: var(--body); }
  .window-caption-note { font-size: var(--small); }
  .featured-tool { padding: 16px; min-height: 92px; gap: 12px; }
  .remote-logo { width: 46px; height: 46px; }
  .section { padding-block: 40px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .section-note { display: none; }
  .section-description { font-size: var(--body); line-height: 1.7; }
  .tools, .tools[data-count="2"], .tools[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .tools[data-count="1"] { grid-template-columns: 1fr; }
  .tool-card { padding: 20px 16px; }
  .tool-card h3 { margin-top: 14px; font-size: var(--lead); }
  .tool-card p { margin-bottom: 18px; min-height: 48px; }
  .recommend-tag { position: static; margin-bottom: 12px; }
  .tool-card .btn { font-size: var(--body); }
  .os-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .step-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; padding: 22px 18px 22px 38px; }
  .step small { font-size: var(--small); }
  .service-card { grid-template-columns: 1fr; padding: 24px; gap: 12px; }
  .service-link { justify-self: start; margin-top: 4px; }
  .catalog-head { display: block; }
  .search { width: 100%; margin-top: 24px; padding-left: 12px; gap: 8px; }
  .search input { font-size: var(--body); }
  .search input::placeholder { font-size: var(--small); }
  .search button { padding-inline: 14px; }
  .catalog-controls { margin-block: 20px; gap: 10px; }
  .filters { gap: 4px; }
  .filter { padding-inline: 10px; }
  .count { display: none; }
  .software-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .software { padding: 14px 12px; gap: 10px; min-height: 76px; }
  .app-icon { width: 36px; height: 36px; }
  .software-info b { font-size: var(--body); }
  .catalog-bottom { align-items: flex-start; gap: 14px; }
  .catalog-bottom p { max-width: 11em; }
  .load-more { padding-inline: 12px; }
  .faq-section { padding-block: 0 40px; }
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-intro h2 br { display: none; }
  .faq-intro > p { margin-top: 12px; }
  .faq-help { margin-top: 12px; }
  .faq-item { padding-inline: 18px; }
  .contact-wrap { padding-bottom: 24px; }
  .contact { grid-template-columns: 1fr; padding: 26px 22px; gap: 24px; }
  .contact p { font-size: var(--body); }
  .wecom-box { gap: 14px; padding: 14px; }
  .wecom-footer-qr { width: 108px; height: 108px; }
  .wecom-box small { font-size: 12px; }
  .wecom-box strong { font-size: var(--body); }
  .service-disclaimer { font-size: var(--small); }
  .footer { padding-block: 18px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 8px; text-align: center; }
  .footer-identity { justify-content: center; flex-wrap: wrap; gap: 6px 10px; }
  .footer-filing, #footer-copyright { grid-column: auto; grid-row: auto; justify-self: center; }
  .floating-contact { right: 16px; bottom: 16px; min-height: 52px; padding: 12px 16px; font-size: var(--small); }
  .floating-contact svg { width: 22px; height: 22px; }
  .modal { padding: 28px 20px; }
  .modal-backdrop { padding: 16px; }
  .wecom-modal { padding: 16px; }
}
/* Keep the compact legal footer readable when the floating contact control reaches it. */
@media (min-width: 761px) {
  .floating-contact.at-footer { bottom: 76px; }
}
@media (max-width: 760px) {
  .floating-contact.at-footer { bottom: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Compact recommended download, using the customer's supplied PNG unchanged. */
.download-icon { display: block; width: 22px; height: 22px; flex-shrink: 0; object-fit: contain; }
.arrow-round .download-icon { width: 32px; height: 32px; }
.featured-tool-detail { flex: 1; min-width: 0; }
.featured-tool-name { display: block; font-size: var(--lead); line-height: 1.4; font-weight: 650; }
.featured-tool { gap: 18px; padding: 22px; }
.featured-tool p { margin-top: 6px; }
.window-caption { align-items: baseline; margin-bottom: 18px; }
.tool-window { padding: 28px; }
@media (max-width: 760px) {
  .tool-window { padding: 22px 20px; }
  .featured-tool { padding: 18px 16px; gap: 12px; }
  .featured-tool-name { font-size: var(--lead); }
  .arrow-round .download-icon { width: 28px; height: 28px; }
}

/* Decorative mascot: approved SVG, about 90px standing figure, no pointer events. */
.zsm-mascot { position:fixed;left:0;top:0;width:135px;height:128px;z-index:10;pointer-events:none!important;will-change:transform;isolation:isolate; }
.zsm-mascot * { pointer-events:none!important; }
.zsm-mascot svg { display:block;width:135px;height:128px;overflow:visible; }
.zsm-mascot .work-scene { display:none; }
.zsm-mascot[data-state="working"] .walk-scene { display:none; }
.zsm-mascot[data-state="working"] .work-scene { display:block; }
.zsm-mascot.facing-left .walker-mirror { transform:scaleX(-1); }
.zsm-mascot .figure { animation:zsm-pet-bob .5s ease-in-out infinite; }
.zsm-mascot .front-leg { animation:zsm-pet-stride .5s ease-in-out infinite alternate; }
.zsm-mascot .back-leg { animation:zsm-pet-stride .5s ease-in-out infinite alternate-reverse; }
.zsm-mascot .front-arm { animation:zsm-pet-arm .5s ease-in-out infinite alternate-reverse; }
.zsm-mascot .back-arm { animation:zsm-pet-arm .5s ease-in-out infinite alternate; }
.zsm-mascot .desk { animation:zsm-pet-desk-in .35s ease-out both; }
.zsm-mascot .typist { animation:zsm-pet-sit-in .25s ease-out both; }
.zsm-mascot .typing-head { animation:zsm-pet-nod 1.5s ease-in-out infinite; }
.zsm-mascot .typing-hands { animation:zsm-pet-type .16s ease-in-out infinite alternate; }
.zsm-mascot .custom-arm-far { animation-delay:-.08s; }
.zsm-mascot .front-arm,.zsm-mascot .back-arm,.zsm-mascot .front-leg,.zsm-mascot .back-leg,.zsm-mascot .typing-head,.zsm-mascot .typing-hands { transform-box:view-box; }
.zsm-mascot[data-state="idle"] * { animation:none!important; }
@keyframes zsm-pet-stride { from{transform:rotate(-24deg)}to{transform:rotate(24deg)} }
@keyframes zsm-pet-arm { from{transform:rotate(-18deg)}to{transform:rotate(18deg)} }
@keyframes zsm-pet-bob { 0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)} }
@keyframes zsm-pet-type { from{transform:rotate(-1.4deg)}to{transform:rotate(.5deg)} }
@keyframes zsm-pet-nod { 0%,100%{transform:rotate(0)}50%{transform:rotate(1.7deg)} }
@keyframes zsm-pet-desk-in { from{opacity:0;transform:translateY(12px) scale(.86)}to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes zsm-pet-sit-in { from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)} }
@media(pointer:coarse), (max-height:260px) { .zsm-mascot { display:none!important; } }
@media(prefers-reduced-motion:reduce) { .zsm-mascot * { animation:none!important; } }

/* Approved ZSM wordmark and centered legal footer, 2026-10-17. */
.brand-name { display:block; }
.brand-wordmark { display:block; width:104px; height:28px; object-fit:contain; }
.footer { padding:22px 0; border-top:1px solid #e8ecf4; }
.footer .footer-inner { display:block; text-align:center; }
.footer-legal { margin:0; font-size:13px; line-height:1.9; color:var(--muted); overflow-wrap:anywhere; text-wrap:pretty; }
.footer-legal a { color:inherit; text-decoration:none; }
.footer-legal a:hover { color:var(--blue, #485fff); text-decoration:underline; }
.footer-separator { margin:0 5px; }
@media(max-width:600px) {
  .brand-wordmark { width:88px; height:24px; }
  .footer { padding:18px 0; }
  .footer-legal { max-width:100%; margin-inline:auto; font-size:12px; }
}

/* Approved original logo framing and brand spacing. */
.header .brand { gap:12px; align-items:center; }
.header .brand-logo { width:56px; height:56px; object-fit:contain; }
@media(max-width:600px) {
  .header .brand { gap:8px; }
  .header .brand-logo { width:44px; height:44px; }
}
