/* Shared editorial presentation for every supported locale. */
@font-face {
  font-family: 'DiPath Plex';
  src: url('/fonts/ibm-plex-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

html[data-design="editorial"] {
  background: #fff;
  color-scheme: light;
  scroll-padding-top: 84px;
}

html[data-design="editorial"] body.editorial-site {
  --type-ui: 14px;
  --type-label: 12px;
  --type-small: 14px;
  --type-body: 16px;
  --type-lead: 20px;
  --type-card: 22px;
  --type-product: 28px;
  --type-section: 40px;
  --type-display: 60px;
  --ed-ink: #1b252c;
  --ed-muted: #52616b;
  --ed-blue: #0066b8;
  --ed-cyan: #008daa;
  --ed-paper: #fff;
  --ed-soft: #f5f8fa;
  --ed-line: #d9e0e3;
  --ed-navy: #081e2b;
  --ed-on-surface: var(--ed-ink);
  --ed-subtle: var(--ed-muted);
  --ed-gutter: clamp(24px, 5vw, 72px);
  --ed-font: 'DiPath Plex', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans', 'Yu Gothic', 'Malgun Gothic', 'Leelawadee UI', 'Helvetica Neue', sans-serif;
  --color-primary: var(--ed-blue);
  --color-secondary: var(--ed-cyan);
  --color-accent: var(--ed-blue);
  --color-text: var(--ed-ink);
  --color-text-light: var(--ed-muted);
  --color-text-muted: var(--ed-muted);
  --text-1: var(--ed-ink);
  --text-2: var(--ed-muted);
  --text-3: var(--ed-muted);
  --color-bg: var(--ed-paper);
  --color-bg-dark: var(--ed-soft);
  --color-bg-darker: var(--ed-paper);
  --color-bg-card: var(--ed-paper);
  --color-border: var(--ed-line);
  --color-border-light: var(--ed-line);
  --section-gap: 0px;
  --page-gutter: 0px;
  background: var(--ed-paper);
  color: var(--ed-ink);
  font-family: var(--ed-font);
  font-size: var(--type-body);
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

html[data-design="editorial"] .editorial-site :where(button, input, select, textarea) { font: inherit; }
html[data-design="editorial"] .editorial-site :where(h1, h2, h3, h4) {
  font-family: var(--ed-font);
  color: var(--ed-on-surface);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
html[data-design="editorial"] .editorial-site h1 { font-weight: 400; line-height: 1.08; }
html[data-design="editorial"] .editorial-site h2 { font-weight: 400; line-height: 1.16; }
html[data-design="editorial"] .editorial-site h3 { font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
html[data-design="editorial"] .editorial-site :where(p, li) { color: var(--ed-subtle); }
html[data-design="editorial"] .editorial-site :where(.text-gray-300, .text-gray-400, .text-gray-500, .text-slate-300, .text-slate-400) { color: var(--ed-subtle) !important; }
html[data-design="editorial"] .editorial-site main :where(.text-white) { color: var(--ed-on-surface); }
html[data-design="editorial"] .editorial-site :where(.text-primary, .text-secondary, .text-accent) { color: var(--ed-blue); }
html[data-design="editorial"] .editorial-site :where(.bg-darker, .bg-dark) { background: var(--ed-soft); }
html[data-design="editorial"] .editorial-site :where(.text-gradient, .gradient-text) {
  background: none;
  color: var(--ed-blue);
  -webkit-text-fill-color: currentColor;
}
html[data-design="editorial"] .editorial-site :where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--ed-blue);
  outline-offset: 5px;
  box-shadow: none;
}
html[data-design="editorial"] .editorial-site ::selection { background: #d9edf7; color: #182a36; }
html[data-design="editorial"] .editorial-site .scroll-progress { background: var(--ed-blue) !important; }

/* Navigation and the shared UI keep their existing event hooks. */
html[data-design="editorial"] .editorial-site .nav-container,
html[data-design="editorial"] .editorial-site .nav-container.scrolled {
  inset: 0 0 auto !important;
  border: 0;
  border-bottom: 1px solid var(--ed-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
}
html[data-design="editorial"] .editorial-site .nav-container > div {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--ed-gutter);
}
html[data-design="editorial"] .editorial-site .nav-container > div > .flex { height: 68px; gap: 16px; }
html[data-design="editorial"] .editorial-site .nav-logo-img {
  height: 30px;
  min-width: 110px;
  filter: brightness(0) saturate(100%) invert(21%) sepia(53%) saturate(1445%) hue-rotate(175deg) brightness(88%) contrast(100%);
  transform: none;
}
html[data-design="editorial"] .editorial-site .nav-link {
  padding: 10px 9px;
  color: var(--ed-muted);
  font-size: var(--type-ui);
  font-weight: 500;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html[data-design="editorial"] .editorial-site .nav-link::before,
html[data-design="editorial"] .editorial-site .nav-link::after { display: none; }
html[data-design="editorial"] .editorial-site .nav-link:hover,
html[data-design="editorial"] .editorial-site .nav-link.active {
  background: none;
  color: var(--ed-blue);
  box-shadow: inset 0 -1px var(--ed-blue);
}
html[data-design="editorial"] .editorial-site .lang-switcher-btn {
  min-height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ed-muted);
  font-size: var(--type-ui);
}
html[data-design="editorial"] .editorial-site .lang-dropdown {
  background: var(--ed-paper);
  border: 1px solid var(--ed-line);
  border-radius: 4px;
  box-shadow: 0 12px 28px #182a3610;
}
html[data-design="editorial"] .editorial-site .lang-dropdown a { color: var(--ed-muted); border-radius: 2px; }
html[data-design="editorial"] .editorial-site .lang-dropdown a:hover,
html[data-design="editorial"] .editorial-site .lang-dropdown a.lang-active { color: var(--ed-blue); background: #edf5f9; }
html[data-design="editorial"] .editorial-site .mobile-menu { background: #fff; gap: 18px; }
html[data-design="editorial"] .editorial-site .mobile-menu > a:not(.btn) { color: var(--ed-ink); font-size: var(--type-card); font-weight: 500; line-height: 1.2; }
html[data-design="editorial"] .editorial-site :where(.mobile-menu-btn, .mobile-menu-close) { color: var(--ed-ink); min-width: 44px; min-height: 44px; }
html[data-design="editorial"] .editorial-site .mobile-lang-selector { border-color: var(--ed-line); gap: 6px; }
html[data-design="editorial"] .editorial-site .mobile-lang-selector a { color: var(--ed-muted); background: transparent; border: 1px solid var(--ed-line); border-radius: 3px; }
html[data-design="editorial"] .editorial-site .mobile-lang-selector .lang-active { color: var(--ed-blue); background: #edf5f9; }

html[data-design="editorial"] .editorial-site .btn {
  min-height: 48px;
  border-radius: 0;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-size: var(--type-ui);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
html[data-design="editorial"] .editorial-site .btn::before,
html[data-design="editorial"] .editorial-site .btn::after { display: none; }
html[data-design="editorial"] .editorial-site :where(.btn-primary, .btn-accent) { background: var(--ed-blue); border-color: var(--ed-blue); color: #fff; }
html[data-design="editorial"] .editorial-site :where(.btn-primary, .btn-accent):hover { background: #004e90; border-color: #004e90; color: #fff; transform: none; box-shadow: none; }
html[data-design="editorial"] .editorial-site :where(.btn-secondary, .btn-outline) { color: var(--ed-on-surface); background: transparent; border-color: var(--ed-line); }
html[data-design="editorial"] .editorial-site :where(.btn-secondary, .btn-outline):hover { color: var(--ed-blue); background: #edf5f9; border-color: var(--ed-blue); transform: none; box-shadow: none; }
html[data-design="editorial"] .editorial-site .nav-container .btn { min-height: 42px; padding: 10px 17px; font-size: var(--type-ui); white-space: nowrap; }
html[data-design="editorial"] .editorial-site :where(.btn-primary, .btn-accent) :where(span, svg) { color: #fff; }

html[data-design="editorial"] .editorial-site :where(.badge, .tech-badge) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ed-blue);
  font-size: var(--type-label);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
html[data-design="editorial"] .editorial-site :where(.badge, .tech-badge)::before { display: none; }
html[data-design="editorial"] .editorial-site :where(.badge, .tech-badge) > svg { display: none; }

html[data-design="editorial"] .editorial-site main { display: block; gap: 0; padding: 0; }
html[data-design="editorial"] .editorial-site main :where(.reveal, .reveal-left, .reveal-right, .reveal-scale) { opacity: 1; transform: none; }
html[data-design="editorial"] .editorial-site main > section {
  content-visibility: visible;
  contain-intrinsic-size: none;
  margin: 0;
  max-width: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: clip;
}
html[data-design="editorial"] .editorial-site main > section::before,
html[data-design="editorial"] .editorial-site main > section::after { display: none; }
html[data-design="editorial"] .editorial-site .section-title {
  max-width: 24ch;
  margin-inline: 0;
  color: var(--ed-on-surface);
  font-size: var(--type-section);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
html[data-design="editorial"] .editorial-site .section-subtitle { color: var(--ed-subtle); font-size: var(--type-lead); line-height: 1.7; }
html[data-design="editorial"] .editorial-site :where(.product-card, .feature-card, .glass-card, .pub-card, .partner-card, .info-card, .team-card) {
  border-radius: 6px;
  background: transparent;
  border-color: var(--ed-line);
  box-shadow: none;
  backdrop-filter: none;
}
html[data-design="editorial"] .editorial-site :where(.product-card, .feature-card, .glass-card, .pub-card, .partner-card, .info-card, .team-card):hover {
  transform: none;
  background: transparent;
  box-shadow: none;
  border-color: #8ba5b5;
}

html[data-design="editorial"] .editorial-site :where(.editorial-dark, .cta-section, .cta-section-solutions, .footer) {
  --ed-on-surface: #f4f8fa;
  --ed-subtle: #bccbd3;
  --ed-line: #314754;
  --text-1: #f4f8fa;
  --text-2: #bccbd3;
  --text-3: #bccbd3;
}
html[data-design="editorial"] .editorial-site :where(.editorial-dark, .cta-section, .cta-section-solutions) {
  color: var(--ed-on-surface);
  background: var(--ed-navy);
}
html[data-design="editorial"] .editorial-site :where(.editorial-dark, .cta-section) :where(.badge, .text-secondary, .text-primary) { color: #77c9ec; }

/* Search is injected after page load; these selectors also cover its states. */
html[data-design="editorial"] .editorial-site :where(.dipath-search-trigger-desktop, .dipath-search-trigger-mobile) { color: var(--ed-ink); border: 1px solid var(--ed-line); border-radius: 4px; background: #fff; box-shadow: none; }
html[data-design="editorial"] .editorial-site .dipath-search-trigger-desktop { padding: 10px; min-height: 42px; }
html[data-design="editorial"] .editorial-site .dipath-search-trigger-shortcut { display: none; }
html[data-design="editorial"] .editorial-site :where(.dipath-search-trigger-desktop, .dipath-search-trigger-mobile):hover { color: var(--ed-blue); background: #edf5f9; transform: none; }
html[data-design="editorial"] .editorial-site .dipath-search-panel { color: var(--ed-ink); background: #fff; border: 1px solid var(--ed-line); border-radius: 8px; box-shadow: 0 24px 80px #081e2b26; }
html[data-design="editorial"] .editorial-site :where(.dipath-search-title, .dipath-search-result-title, .dipath-search-input) { color: var(--ed-ink); }
html[data-design="editorial"] .editorial-site :where(.dipath-search-input-shell, .dipath-search-close) { color: var(--ed-muted); background: var(--ed-soft); border-color: var(--ed-line); border-radius: 4px; }
html[data-design="editorial"] .editorial-site :where(.dipath-search-meta, .dipath-search-result-description, .dipath-search-result-path, .dipath-search-empty) { color: var(--ed-muted); }
html[data-design="editorial"] .editorial-site .dipath-search-result { border-radius: 4px; }
html[data-design="editorial"] .editorial-site .dipath-search-result:hover,
html[data-design="editorial"] .editorial-site .dipath-search-result:focus-visible { background: #edf5f9; border-color: var(--ed-line); transform: none; }
html[data-design="editorial"] .editorial-site .dipath-search-result-type { color: var(--ed-blue); background: #edf5f9; border-color: #c6dce8; border-radius: 3px; }

html[data-design="editorial"] .editorial-site .footer {
  --ed-on-surface: var(--ed-ink);
  --ed-subtle: var(--ed-muted);
  color: var(--ed-ink);
  background: #f1f6fa;
  border: 0;
  padding: 32px var(--ed-gutter) 24px;
  border-radius: 0;
  margin: 0;
}
html[data-design="editorial"] .editorial-site .footer > div { max-width: 1280px; margin-inline: auto; padding: 0; }
html[data-design="editorial"] .editorial-site .footer .footer-main-grid { gap: 24px; margin-bottom: 24px; }
html[data-design="editorial"] .editorial-site .footer h3 { color: var(--ed-ink); font-size: var(--type-ui); font-weight: 500; margin-bottom: 12px; letter-spacing: 0; }
html[data-design="editorial"] .editorial-site .footer :where(p, li, .footer-link, .text-gray-400, .text-gray-500) { color: var(--ed-muted); font-size: var(--type-ui); line-height: 1.8; }
html[data-design="editorial"] .editorial-site .footer a:hover { color: var(--ed-blue); }
html[data-design="editorial"] .editorial-site .footer img { height: 32px; filter: brightness(0) saturate(100%) invert(21%) sepia(53%) saturate(1445%) hue-rotate(175deg) brightness(88%) contrast(100%); object-fit: contain; }
html[data-design="editorial"] .editorial-site .footer .border-t { border-color: #d5e2ea; padding-top: 24px; }

/* Homepage: open compositions, with one immersive software section. */
html[data-design="editorial"] .editorial-home main > .section,
html[data-design="editorial"] .editorial-home main > .cta-section { padding: 40px var(--ed-gutter) !important; }
html[data-design="editorial"] .editorial-home main > section > .w-full { max-width: 1280px; padding: 0; margin-inline: auto; }
html[data-design="editorial"] .editorial-home .home-hero {
  min-height: 0 !important;
  padding: 88px var(--ed-gutter) 0;
  background: #fff;
}
html[data-design="editorial"] .editorial-home .home-hero .grid-pattern { display: none; }
html[data-design="editorial"] .editorial-home .home-hero .hero-content { padding: 24px 0 28px; max-width: 1280px; margin-inline: auto; }
html[data-design="editorial"] .editorial-home .editorial-hero-grid { display: grid; grid-template-columns: 1.22fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
html[data-design="editorial"] .editorial-home .hero-copy { text-align: left; }
html[data-design="editorial"] .editorial-home .hero-copy .tech-badge { display: inline-block; margin-bottom: 12px; padding: 0; border: 0; background: none; color: var(--ed-blue); }
html[data-design="editorial"] .editorial-home .home-hero h1 {
  color: var(--ed-ink);
  font-family: var(--ed-font);
  font-size: var(--type-display) !important;
  font-weight: 400;
  line-height: 1.08 !important;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 0 0 16px;
  text-wrap: pretty;
}
html[data-design="editorial"] .editorial-home .home-hero h1 .text-secondary { color: var(--ed-blue); }
html[data-design="editorial"] .editorial-home .home-hero h1 + p { max-width: 54ch; margin: 0 0 20px !important; font-size: var(--type-lead) !important; line-height: 1.8; }
html[data-design="editorial"] .editorial-home .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
html[data-design="editorial"] .editorial-home .hero-actions .btn svg { width: 16px; height: 16px; }
html[data-design="editorial"] .editorial-home .home-portfolio { background: var(--ed-soft); }
html[data-design="editorial"] .editorial-home .editorial-section-header { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 32px; margin-bottom: 24px; }
html[data-design="editorial"] .editorial-home .editorial-section-header .section-subtitle { margin: 0; max-width: 48ch; font-size: var(--type-lead); }
html[data-design="editorial"] .editorial-home .editorial-section-header .badge { display: inline-block; margin-bottom: 14px; }
html[data-design="editorial"] .editorial-home .editorial-section-header h2 { margin: 0; }
html[data-design="editorial"] .editorial-home .home-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: none; overflow: visible; padding: 0; }
html[data-design="editorial"] .editorial-home .homepage-product-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; display: flex; flex-direction: column; }
html[data-design="editorial"] .editorial-home .homepage-product-card::before,
html[data-design="editorial"] .editorial-home .homepage-product-card::after { display: none; }
html[data-design="editorial"] .editorial-home .product-visual-frame { padding: 24px; height: 190px; background: #fff; border: 0; border-radius: 0 !important; margin-bottom: 16px; overflow: hidden; box-shadow: none; }
html[data-design="editorial"] .editorial-home .homepage-product-card:hover .product-visual-frame { box-shadow: none; transform: none; }
html[data-design="editorial"] .editorial-home .homepage-product-card .product-visual-frame > img { width: 100%; height: 100%; object-fit: contain; transform: none; }
html[data-design="editorial"] .editorial-home .home-product-grid > .homepage-product-card:first-child .product-visual-frame { padding: 12px 24px; }
html[data-design="editorial"] .editorial-home .home-product-grid > .homepage-product-card:first-child .product-visual-frame > img { object-fit: cover; object-position: center 65%; }
html[data-design="editorial"] .editorial-home .product-heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--ed-line); }
html[data-design="editorial"] .editorial-home .product-heading h3 { font-size: var(--type-product); margin: 0 0 12px; font-weight: 500; }
html[data-design="editorial"] .editorial-home .product-type-badge { font-size: var(--type-label); color: var(--ed-muted); letter-spacing: 0.07em; text-transform: uppercase; background: none; padding: 0; border: 0; white-space: nowrap; box-shadow: none; backdrop-filter: none; }
html[data-design="editorial"] .editorial-home .homepage-product-card > p { font-size: var(--type-body); line-height: 1.6; max-width: 53ch; margin-bottom: 12px; }
html[data-design="editorial"] .editorial-home .homepage-product-card > p { display: block; -webkit-line-clamp: unset; overflow: visible; }
html[data-design="editorial"] .editorial-home .homepage-product-link { color: var(--ed-blue); font-size: var(--type-ui); font-weight: 500; gap: 10px; margin-top: auto; text-decoration: none; }
html[data-design="editorial"] .editorial-home .homepage-product-link:hover { color: #004e90; text-decoration: underline; text-underline-offset: 5px; }
html[data-design="editorial"] .editorial-home .home-research { background: #fff; }
html[data-design="editorial"] .editorial-home main > .home-final {
  --ed-on-surface: var(--ed-ink);
  --ed-subtle: var(--ed-muted);
  --ed-line: #d9e0e3;
  background: var(--ed-soft);
  border-top: 1px solid var(--ed-line);
}
html[data-design="editorial"] .editorial-home .home-final > div > div { max-width: none; display: flex; justify-content: space-between; align-items: center; gap: 48px; text-align: left; }
html[data-design="editorial"] .editorial-home .home-final h2 { color: var(--ed-ink); max-width: 18ch; font-size: var(--type-section); font-weight: 400; margin: 0; }
html[data-design="editorial"] .editorial-home .home-final .btn { white-space: nowrap; }

@media (max-width: 1199px) {
  html[data-design="editorial"] .editorial-site .nav-container > div > .flex { gap: 8px; }
  html[data-design="editorial"] .editorial-site .nav-link { padding-inline: 7px; font-size: var(--type-ui); }
  html[data-design="editorial"] .editorial-site .lang-switcher-btn .lang-current { display: none; }
  html[data-design="editorial"] .editorial-site .dipath-search-trigger-desktop > span { display: none; }
}
@media (min-width: 1024px) {
  html[data-design="editorial"] .editorial-home .home-hero h1 > span { display: inline; }
}
@media (max-width: 1023px) {
  html[data-design="editorial"] .editorial-site .nav-container > div > .flex { height: 64px; }
  html[data-design="editorial"] .editorial-site .nav-logo-img { height: 28px; }
  html[data-design="editorial"] .editorial-site .nav-container .lang-switcher { margin-left: auto; }
  html[data-design="editorial"] .editorial-home .home-hero { padding-top: 64px; }
  html[data-design="editorial"] .editorial-home .editorial-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  html[data-design="editorial"] .editorial-home .home-hero h1 { font-size: var(--type-display) !important; }
  html[data-design="editorial"] .editorial-home .hero-actions { gap: 10px; }
  html[data-design="editorial"] .editorial-home .hero-actions .btn { padding-inline: 16px; font-size: var(--type-ui); }
  html[data-design="editorial"] .editorial-home .editorial-section-header { gap: 32px; }
}
@media (max-width: 767px) {
  html[data-design="editorial"] .editorial-site .footer { padding-top: 28px; }
  html[data-design="editorial"] .editorial-site .footer .footer-main-grid { gap: 20px; grid-template-columns: 1fr 1fr; }
  html[data-design="editorial"] .editorial-site .footer .footer-brand { grid-column: 1 / -1; }
  html[data-design="editorial"] .editorial-site .footer .footer-contact { grid-column: 1 / -1; }
  html[data-design="editorial"] .editorial-site .footer .footer-brand p { max-width: 36ch; }
  html[data-design="editorial"] .editorial-home .home-hero .hero-content { padding-block: 38px 48px; }
  html[data-design="editorial"] .editorial-home .editorial-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  html[data-design="editorial"] .editorial-home .hero-copy .tech-badge { margin-bottom: 18px; font-size: var(--type-label); }
  html[data-design="editorial"] .editorial-home .home-hero h1 { font-size: var(--type-display) !important; max-width: none; line-height: 1.1 !important; margin-bottom: 20px; }
  html[data-design="editorial"] .editorial-home .home-hero h1 + p { font-size: var(--type-lead) !important; line-height: 1.65; margin-bottom: 24px !important; }
  html[data-design="editorial"] .editorial-home .hero-actions { flex-wrap: wrap; gap: 8px; align-items: stretch; }
  html[data-design="editorial"] .editorial-home .hero-actions .btn { padding: 12px 14px; min-height: 46px; font-size: var(--type-ui); flex: 1 1 160px; white-space: normal; text-align: center; }
  html[data-design="editorial"] .editorial-home .hero-actions .btn svg { display: none; }
  html[data-design="editorial"] .editorial-home main > .section,
  html[data-design="editorial"] .editorial-home main > .cta-section { padding-block: 28px !important; }
  html[data-design="editorial"] .editorial-home .editorial-section-header { grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
  html[data-design="editorial"] .editorial-home .editorial-section-header .section-subtitle { font-size: var(--type-lead); }
  html[data-design="editorial"] .editorial-home .home-product-grid { grid-template-columns: 1fr; gap: 24px; }
  html[data-design="editorial"] .editorial-home .product-visual-frame { height: 180px; padding: 12px; margin-bottom: 12px; }
  html[data-design="editorial"] .editorial-home .homepage-product-link { font-size: var(--type-ui); }
  html[data-design="editorial"] .editorial-home .home-final > div > div { display: block; }
  html[data-design="editorial"] .editorial-home .home-final h2 { margin-bottom: 28px; }
  html[data-design="editorial"] .editorial-home .home-final > div > div > .flex { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-design="editorial"] .editorial-site *,
  html[data-design="editorial"] .editorial-site *::before,
  html[data-design="editorial"] .editorial-site *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
html[data-design="editorial"] .editorial-site .scroll-progress { display: none; }
html[data-design="editorial"] .editorial-site :where([data-tilt], .btn-magnetic) { transform: none; }
html[data-design="editorial"] .editorial-site main :where(.reveal, .reveal-left, .reveal-right, .reveal-scale) { transition: none; }
html[data-design="editorial"] .editorial-site main :where(h1, h2, h3, h4) { font-weight: 400; }
html[data-design="editorial"] .editorial-home .home-hero .hero-content { padding-block: 24px 28px; }
html[data-design="editorial"] .editorial-home .editorial-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 32px; }
html[data-design="editorial"] .editorial-home .home-hero h1 { max-width: 19ch; font-weight: 400; line-height: 1.08 !important; }
html[data-design="editorial"] .editorial-home .hero-heading-emphasis { color: inherit; }
html[data-design="editorial"] .editorial-home .home-hero h1 + p { font-size: var(--type-lead) !important; line-height: 1.55; max-width: 38ch; }
html[data-design="editorial"] .editorial-home .home-portfolio .editorial-section-header { margin-bottom: 24px; }
html[data-design="editorial"] .editorial-home .home-final h2 { max-width: 23ch; }
@media (max-width: 1023px) {
 html[data-design="editorial"] .editorial-home .editorial-hero-grid { grid-template-columns: 1fr; gap: 36px; }
 html[data-design="editorial"] .editorial-home .home-hero .hero-content { padding-block: 24px 28px; }
}
@media (max-width: 767px) {
 html[data-design="editorial"] body.editorial-site { --type-display: 40px; --type-section: 30px; --type-product: 24px; --type-card: 20px; --type-lead: 18px; }
 html[data-design="editorial"] .editorial-home .home-hero .hero-content { padding-block: 24px; }
 html[data-design="editorial"] .editorial-home .home-hero h1 { max-width: 18ch; }
}
/* Keep the homepage image layout in the first-paint stylesheet. */
@media (max-width: 767px) {
}

/* The hero carries the product photography; this row answers the next questions. */
@media (min-width: 768px) {
 html[data-design="editorial"] body.editorial-home .homepage-product-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 8px 20px; align-content: start; }
 html[data-design="editorial"] body.editorial-home .homepage-product-card .product-visual-frame { grid-column: 1; grid-row: 1 / 4; height: 180px; margin: 0; padding: 8px; }
 html[data-design="editorial"] body.editorial-home .homepage-product-card .product-heading { display: block; padding: 0; border: 0; }
 html[data-design="editorial"] body.editorial-home .homepage-product-card .product-heading h3 { margin: 0; }
 html[data-design="editorial"] body.editorial-home .homepage-product-card .product-type-badge { display: none; }
 html[data-design="editorial"] body.editorial-home .homepage-product-card > p { margin: 0; }
 html[data-design="editorial"] body.editorial-home .homepage-product-link { min-height: 44px; margin: 0; }
}

/* Restore the laboratory portrait selected for the corporate introduction. */
html[data-design="editorial"] .editorial-home .hero-clinical-figure { min-width: 0; margin: 0; }
html[data-design="editorial"] .editorial-home .hero-clinical-figure img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: 56% center; border-radius: 0; }
@media (max-width: 1023px) and (min-width: 768px) {
 html[data-design="editorial"] .editorial-home .editorial-hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
 html[data-design="editorial"] .editorial-home .home-hero h1 { font-size: 48px !important; }
 html[data-design="editorial"] .editorial-home .hero-clinical-figure img { height: 300px; }
}
@media (max-width: 767px) {
 html[data-design="editorial"] .editorial-home .editorial-hero-grid { gap: 20px; }
 html[data-design="editorial"] .editorial-home .hero-clinical-figure img { height: auto; aspect-ratio: 3 / 2; }
 html[data-design="editorial"] .editorial-home .hero-actions .btn { flex: 1 1 140px; }
}
@media (max-width: 767px) {
 html[data-design="editorial"] body.editorial-home .homepage-product-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 8px 16px; }
 html[data-design="editorial"] body.editorial-home .homepage-product-card .product-visual-frame { grid-column: 1; grid-row: 1 / 4; height: 144px; margin: 0; padding: 6px; }
 html[data-design="editorial"] body.editorial-home .homepage-product-card .product-heading { display: block; padding: 0; border: 0; }
 html[data-design="editorial"] body.editorial-home .homepage-product-card .product-heading h3 { margin: 0; }
 html[data-design="editorial"] body.editorial-home .homepage-product-card .product-type-badge { display: none; }
 html[data-design="editorial"] body.editorial-home .homepage-product-card > p { margin: 0; }
 html[data-design="editorial"] body.editorial-home .homepage-product-link { min-height: 44px; margin: 0; }
 html[data-design="editorial"] .editorial-home .hero-actions .btn { padding-inline: 10px; }
}

/* Clinical presentation: neutral headings, flat imagery and a quiet blue introduction. */
html[data-design="editorial"] body.editorial-site main :is(h1, h2) > :is(span, .text-gradient, .gradient-text, .gradient-text-animated) { color: inherit; -webkit-text-fill-color: currentColor; background: none; }
html[data-design="editorial"] body.editorial-site main :is(.home-hero, .editorial-hero, .products-page-header, .insights-intro) { background: linear-gradient(110deg, #eaf5fc 0%, #f5faff 44%, #fff 84%); }
html[data-design="editorial"] body.editorial-site .hero-actions .btn-secondary { color: var(--ed-blue); border-color: transparent; background: transparent; }
html[data-design="editorial"] body.editorial-site .hero-actions .btn-secondary:hover { text-decoration: underline; text-underline-offset: 5px; }
html[data-design="editorial"] body.editorial-site main > :is(.cta-section, .cta-section-solutions) { --ed-on-surface: var(--ed-ink); --ed-subtle: var(--ed-muted); --ed-line: #d5e2ea; color: var(--ed-ink); background: #edf5fb; }
html[data-design="editorial"] body.editorial-site main > :is(.cta-section, .cta-section-solutions) :is(h2, p) { color: var(--ed-ink); }
html[data-design="editorial"] body.editorial-site main > :is(.cta-section, .cta-section-solutions) :is(.btn-secondary, .btn.bg-transparent) { color: var(--ed-blue); border-color: var(--ed-blue); background: transparent; }
html[data-design="editorial"] body.editorial-site .footer :is(.footer-link, a[href^="mailto:"], a[href^="tel:"]) { color: var(--ed-blue); }
html[data-design="editorial"] body.editorial-site .footer :is(input, textarea) { color: var(--ed-ink); background: #fff; border: 1px solid #94a9b7; border-radius: 0; }
html[data-design="editorial"] body.editorial-site .footer :is(input, textarea)::placeholder { color: var(--ed-muted); opacity: 1; }
html[data-design="editorial"] body.editorial-site .footer form button { color: #fff; background: var(--ed-blue); border-radius: 0; min-height: 44px; min-width: 44px; }

/* A compact close: keep navigation legible without another full screen of chrome. */
html[data-design="editorial"] body.editorial-site .footer { padding: 24px var(--ed-gutter) 16px; }
html[data-design="editorial"] body.editorial-site .footer .footer-main-grid { gap: 24px 32px; margin-bottom: 18px; align-items: start; }
html[data-design="editorial"] body.editorial-site .footer .footer-main-grid > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
html[data-design="editorial"] body.editorial-site .footer .footer-main-grid h3,
html[data-design="editorial"] body.editorial-site .footer .footer-brand > :is(a, p) { margin: 0; }
html[data-design="editorial"] body.editorial-site .footer .footer-brand p { max-width: 30ch; line-height: 1.5; }
html[data-design="editorial"] body.editorial-site .footer .footer-main-grid ul { display: grid; gap: 2px; margin: 0; padding: 0; }
html[data-design="editorial"] body.editorial-site .footer .footer-main-grid li { margin-block: 0 !important; line-height: 1.5; }
html[data-design="editorial"] body.editorial-site .footer .footer-link { display: inline-flex; align-items: center; min-height: 28px; line-height: 1.5; }
html[data-design="editorial"] body.editorial-site .footer .footer-contact li { min-height: 28px; gap: 8px; }
html[data-design="editorial"] body.editorial-site .footer .footer-contact :is(svg, i) { width: 16px; height: 16px; flex-shrink: 0; }
html[data-design="editorial"] body.editorial-site .footer #newsletter-form { min-width: 0; }
html[data-design="editorial"] body.editorial-site .footer #newsletter-form input[type="email"] { min-width: 0; width: 100%; }
html[data-design="editorial"] body.editorial-site .footer .footer-newsletter { display: grid; gap: 6px; margin-top: 4px; }
html[data-design="editorial"] body.editorial-site .footer .footer-newsletter label { font-size: 13px; line-height: 1.5; }
html[data-design="editorial"] body.editorial-site .footer .border-t { padding-top: 12px; gap: 8px; }
html[data-design="editorial"] body.editorial-site .footer .border-t p { margin: 0; font-size: 13px; line-height: 1.5; }
html[data-design="editorial"] body.editorial-site .footer .border-t > div { flex-wrap: wrap; gap: 8px 20px; }
html[data-design="editorial"] body.editorial-site .footer .border-t a { display: inline-flex; align-items: center; min-height: 28px; font-size: 13px; line-height: 1.5; }
html[data-design="editorial"] body.editorial-site main > section:is(.cta-section, .cta-section-solutions, .insights-invitation) { padding-block: 20px !important; }
html[data-design="editorial"] body.editorial-site main > section:is(.cta-section, .cta-section-solutions, .insights-invitation) h2 { font-size: 28px; line-height: 1.25; }
html[data-design="editorial"] body.editorial-home .home-final h2 { max-width: none; margin: 0; }
html[data-design="editorial"] body.editorial-site .insights-invitation h2 { margin: 8px 0; }
@media (min-width: 768px) and (max-width: 1023px) {
  html[data-design="editorial"] body.editorial-site .footer .footer-main-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 18px; }
}
@media (min-width: 1024px) {
  html[data-design="editorial"] body.editorial-site .footer .footer-main-grid { grid-template-columns: 1.05fr .8fr 1.1fr 1fr; }
  html[data-design="editorial"] body.editorial-site .footer .footer-company > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
}
@media (max-width: 767px) {
  html[data-design="editorial"] body.editorial-site .footer { padding-block: 20px 12px; }
  html[data-design="editorial"] body.editorial-site .footer .footer-main-grid { gap: 18px 20px; margin-bottom: 14px; }
  html[data-design="editorial"] body.editorial-site .footer .footer-main-grid > .footer-brand { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: start; gap: 16px; }
  html[data-design="editorial"] body.editorial-site .footer .footer-brand img { height: 28px; }
  html[data-design="editorial"] body.editorial-site .footer .footer-brand p { max-width: none; }
  html[data-design="editorial"] body.editorial-site .footer .footer-newsletter { grid-column: 1 / -1; max-width: 320px; }
  html[data-design="editorial"] body.editorial-site .footer .footer-link,
  html[data-design="editorial"] body.editorial-site .footer .border-t a { min-height: 32px; }
  html[data-design="editorial"] body.editorial-site .footer .footer-contact li { min-height: 32px; }
  html[data-design="editorial"] body.editorial-site .footer .border-t { align-items: flex-start; }
  html[data-design="editorial"] body.editorial-site .footer .border-t p { text-align: left; }
  html[data-design="editorial"] body.editorial-home .home-final h2 { margin-bottom: 12px; }
  html[data-design="editorial"] body.editorial-home .home-final > div > div > .flex { align-items: flex-start; }
  html[data-design="editorial"] body.editorial-site .insights-invitation .btn { margin-top: 12px; }
}

/* Editorial finish: precise feedback, stable imagery, no ambient animation. */
html[data-design="editorial"] body.editorial-site {
  --ed-motion-fast: 160ms;
  --ed-motion-panel: 200ms;
  --ed-motion-ease: cubic-bezier(.2,.65,.3,1);
}
html[data-design="editorial"] .editorial-site .nav-container.scrolled {
  box-shadow: 0 3px 12px rgb(20 49 67 / 4%);
}
html[data-design="editorial"] .editorial-site .nav-container {
  transition: box-shadow var(--ed-motion-panel) var(--ed-motion-ease);
}
html[data-design="editorial"] .editorial-site .nav-link {
  position: relative;
  transition: color var(--ed-motion-fast) ease;
}
html[data-design="editorial"] .editorial-site .nav-link::after {
  position: absolute;
  display: block;
  inset: auto 9px 0;
  height: 1px;
  width: auto;
  background: var(--ed-blue);
  content: '';
  opacity: 1;
  border-radius: 0;
  box-shadow: none;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ed-motion-panel) var(--ed-motion-ease);
}
html[data-design="editorial"] .editorial-site .nav-link:is(:hover, :focus-visible, .active) {
  box-shadow: none;
}
html[data-design="editorial"] .editorial-site .nav-link:is(:hover, :focus-visible, .active)::after {
  transform: scaleX(1);
}
html[data-design="editorial"] .editorial-site :is(.btn, .homepage-product-link, .home-insight-link,
 .home-insights-actions a, .service-node-link, .service-primary-link, .products-module-link,
 .featured-card-cta, .research-recent-actions a, .footer-link, .image-detail-cue,
 .image-viewer-close, .news-more, .lang-switcher-btn, .lang-dropdown a,
 .dipath-search-trigger-desktop, .dipath-search-trigger-mobile) {
  transition: color var(--ed-motion-fast) ease, background-color var(--ed-motion-fast) ease,
    border-color var(--ed-motion-fast) ease, text-decoration-color var(--ed-motion-fast) ease;
}
html[data-design="editorial"] .editorial-site :is(.homepage-product-link, .home-insight-link,
 .service-node-link, .products-module-link, .research-recent-actions a, .footer-link) {
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
html[data-design="editorial"] .editorial-site :is(.homepage-product-link, .home-insight-link,
 .service-node-link, .products-module-link, .research-recent-actions a, .footer-link):is(:hover,:focus-visible) {
  text-decoration-color: currentColor;
}
html[data-design="editorial"] .editorial-site :is(.product-family-link, .publication-view-links > a,
 .scanner-tab-btn, .scanner-rotation-toggle, .analysis-demo-modes button,
 .analysis-demo-toolbar button, .analysis-demo-candidate, .analysis-demo-class-list button) {
  transition: background-color var(--ed-motion-fast) ease, border-color var(--ed-motion-fast) ease,
    color var(--ed-motion-fast) ease, box-shadow var(--ed-motion-fast) ease;
}
/* Only directional cues move on hover. The clinical canvas and source figures stay still. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html[data-design="editorial"] .editorial-site :is(.btn, .homepage-product-link, .home-insight-link,
   .home-insights-actions a, .featured-card-cta, .products-module-link) > :is(.lucide-arrow-right,.lucide-arrow-up-right),
  html[data-design="editorial"] .editorial-site :is(.service-node-link,.service-primary-link,
   .analysis-demo-caption a,.research-recent-source) > span[aria-hidden="true"] {
    display: inline-block;
    transition: transform var(--ed-motion-panel) var(--ed-motion-ease);
  }
  html[data-design="editorial"] .editorial-site :is(.btn, .homepage-product-link, .home-insight-link,
   .home-insights-actions a, .featured-card-cta, .products-module-link):is(:hover,:focus-visible) > .lucide-arrow-right {
    transform: translateX(3px);
  }
  html[data-design="editorial"] .editorial-site :is(.btn, .homepage-product-link, .home-insight-link,
   .home-insights-actions a, .featured-card-cta, .products-module-link):is(:hover,:focus-visible) > .lucide-arrow-up-right,
  html[data-design="editorial"] .editorial-site :is(.service-node-link,.service-primary-link,
   .analysis-demo-caption a,.research-recent-source):is(:hover,:focus-visible) > span[aria-hidden="true"] {
    transform: translate(2px,-2px);
  }
}
/* Fine instrument-like edges are confined to the workflow and analysis workspaces. */
html[data-design="editorial"] .editorial-site .analysis-demo {
  border-color: #b7cbd8;
  box-shadow: 0 5px 24px rgb(23 53 68 / 5%);
}
html[data-design="editorial"] .editorial-site .analysis-demo-header {
  position: relative;
  background: linear-gradient(110deg,#173544,#1b4053);
}
html[data-design="editorial"] .editorial-site .analysis-demo-header::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg,#85bccd,#41758e 52%,#294d63);
  content: '';
  pointer-events: none;
}
html[data-design="editorial"] .editorial-site :is(.service-workspace,.service-support-workspace) {
  border-top-color: #91b2c8;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 65%);
}
html[data-design="editorial"] .editorial-site .analysis-demo-candidate[aria-pressed="true"] {
  box-shadow: inset 0 -2px var(--ed-blue);
}
html[data-design="editorial"] .editorial-site .analysis-demo :is(output, .analysis-demo-result-summary strong) {
  font-variant-numeric: tabular-nums;
}
html[data-design="editorial"] .editorial-site :is(.form-input-dark,.contact-area-map,.newsletter-input) {
  transition: border-color var(--ed-motion-fast) ease, background-color var(--ed-motion-fast) ease;
}
html[data-design="editorial"] .editorial-site .form-input-dark:focus {
  border-color: var(--ed-blue);
  background-color: #fcfeff;
}
html[data-design="editorial"] .editorial-site .contact-area-map:is(:hover,:focus-visible) {
  border-color: #7ba5c3;
}
@media print {
  html[data-design="editorial"] .editorial-site * { animation: none !important; transition: none !important; }
}

/* Shared language typography and logical alignment. */
html[data-design="editorial"]:lang(zh) .editorial-home .hero-heading-emphasis { display: block; }
html[data-design="editorial"]:is(:lang(zh), :lang(ja), :lang(ko), :lang(th)) .editorial-site :is(h1, h2, h3, h4, .badge) { letter-spacing: 0; }
html[data-design="editorial"]:is(:lang(zh), :lang(ja), :lang(ko), :lang(th)) .editorial-site :is(h1, h2) { line-height: 1.3; }
html[data-design="editorial"] .editorial-site :is(.btn, .badge, .product-type-badge) { white-space: normal; }
html[data-design="editorial"] .editorial-site :is(.product-card, .feature-card, .research-recent-row, .news-entry, .solution-context-card) { min-width: 0; }
html[data-design="editorial"] .editorial-site main :is(p, h1, h2, h3, h4, a, figcaption, dt, dd) { overflow-wrap: anywhere; }
html[data-design="editorial"] .editorial-site .nav-container .btn { max-width: 18em; }
html[data-design="editorial"][dir="rtl"] body.editorial-site { --ed-font: 'Geeza Pro', 'Tahoma', sans-serif; }
html[data-design="editorial"][dir="rtl"] .editorial-site :is(.hero-copy, .text-left, .editorial-section-header, .home-final > div > div) { text-align: start; }
html[data-design="editorial"][dir="rtl"] .editorial-site :is(input[type="email"], input[type="url"], input[type="tel"], [data-demo-plane], [data-demo-overview-window]) { direction: ltr; }
html[data-design="editorial"][dir="rtl"] .editorial-site .lang-switcher { margin-inline-start: auto; margin-left: 0; }
html[data-design="editorial"][dir="rtl"] .editorial-site .lang-dropdown { left: 0; right: auto; }
html[data-design="editorial"][dir="rtl"] .editorial-site :is(.research-count, .model-spec-value, .analysis-demo-stat-value) { unicode-bidi: isolate; }
@media (min-width: 1024px) and (max-width: 1279px) {
  html[data-design="editorial"]:not(:lang(en)) .editorial-site .nav-container > div { padding-inline: 20px; }
  html[data-design="editorial"]:not(:lang(en)) .editorial-site .nav-container .nav-link { padding-inline: 5px; font-size: 12px; }
  html[data-design="editorial"]:not(:lang(en)) .editorial-site .nav-container .btn { padding-inline: 10px; font-size: 12px; }
}
