/* UXVMS product page. Shared site and WordPress styles are unchanged. */
.vms-page :is(section, details, [data-vms-panel]) { scroll-margin-top: 100px; }
.vms-local-nav { border-bottom: 1px solid var(--line); background: #fff; }
.vms-local-nav > .page-shell { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 24px; }
.vms-local-brand { font-size: 17px; font-weight: 650; }
.vms-local-nav nav { display: flex; align-items: center; gap: 28px; }
.vms-local-nav nav a { font-size: 12px; display: inline-flex; min-height: 44px; align-items: center; gap: 6px; }
.vms-local-nav .vms-nav-cta { color: var(--ux-brand-dim); font-weight: 600; }
.vms-local-nav .icon { width: 14px; height: 14px; }
.vms-hero { padding: 32px 0 24px; background: #f5f5f7; text-align: center; }
.vms-hero .eyebrow { margin-bottom: 8px; }
.landing-v6 .vms-hero h1 { font-size: 64px; margin-bottom: 4px; line-height: 1.1; }
.vms-hero .vms-tagline { font-size: 28px; font-weight: 600; margin: 0 0 6px; line-height: 1.3; }
.vms-hero .vms-hero-description { font-size: 16px; color: var(--muted); margin: 0; }
.vms-hero-actions { display: flex; gap: 22px; align-items: center; justify-content: center; margin-top: 20px; }
.vms-gallery { max-width: 740px; margin: 22px auto 0; position: relative; }
.vms-gallery-controls { display: inline-flex; gap: 4px; background: #e5e6e8; padding: 4px; border-radius: 8px; margin-bottom: 18px; }
.vms-gallery-controls button { display: inline-flex; gap: 7px; align-items: center; justify-content: center; min-height: 40px; border: 0; border-radius: 5px; padding: 8px 15px; background: transparent; color: #50555a; font-size: 12px; font-weight: 550; }
.vms-gallery-controls button[aria-pressed="true"] { background: #fff; color: #202124; box-shadow: 0 1px 4px #20212415; }
.vms-gallery-controls .icon { width: 16px; height: 16px; flex-basis: 16px; }
.vms-gallery-stage { width: 100%; }
.vms-gallery-stage figure + figure { margin-top: 24px; }
.vms-gallery.is-enhanced figure { margin-top: 0; }
.vms-screen { aspect-ratio: 1800 / 1069; display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr); }
.vms-screen img { display: block; width: 100%; height: 100%; object-fit: contain; min-width: 0; min-height: 0; }
.vms-gallery figcaption { font-size: 11px; color: #63676d; padding: 12px 52px 0 0; min-height: 44px; text-align: left; }
.vms-enlarge { position: absolute; right: 0; bottom: 0; width: 36px; height: 36px; }
.vms-value-band { background: #eaf0ec; }
.vms-value-band > .page-shell { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: 27px; }
.vms-value-band > .page-shell > div { display: grid; grid-template-columns: 24px 1fr; column-gap: 14px; padding-left: 34px; border-left: 1px solid #bbc9be; }
.vms-value-band > .page-shell > div:first-child { border-left: 0; padding-left: 0; }
.vms-value-band .icon { grid-row: 1 / 3; margin-top: 3px; }
.vms-value-band strong { font-size: 14px; }
.vms-value-band span { font-size: 12px; color: #506359; margin-top: 2px; }
.vms-page .section-dark .section-heading.split > p { color: #b5b9be; }
.vms-query-example { display: flex; align-items: flex-start; gap: 24px; padding: 36px 0; border-block: 1px solid #44474b; }
.vms-query-example > .icon { width: 28px; height: 28px; flex-basis: 28px; margin-top: 32px; }
.vms-query-example span { font-size: 12px; color: #b5b9be; }
.vms-query-example p { font-size: 28px; font-weight: 500; margin: 10px 0 24px; }
.vms-query-example ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.vms-query-example li { color: var(--ux-brand); font-size: 12px; }
.vms-query-example li::before { content: "+"; margin-right: 8px; }
.vms-ai-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; padding-top: 44px; }
.vms-ai-grid article > .icon { width: 26px; height: 26px; margin-bottom: 20px; }
.landing-v6 .vms-ai-grid h3 { font-size: 19px; }
.vms-ai-grid p { font-size: 14px; color: #b5b9be; }
.vms-ai-note { border-top: 1px solid #44474b; margin-top: 28px; padding-top: 24px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.vms-ai-note strong { font-size: 14px; font-weight: 550; }
.vms-ai-note p { font-size: 12px; color: #aeb3b8; margin: 0; }
.vms-config-figure { max-width: 800px; margin: 0 auto; }
.vms-config-figure img { display: block; width: 100%; height: auto; }
.vms-config-figure figcaption { text-align: center; color: var(--muted); font-size: 12px; margin-top: 16px; }
.vms-integration-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; margin-top: 48px; }
.vms-integration-columns article { border-top: 1px solid var(--line); padding-top: 20px; }
.vms-number { display: block; font-size: 12px; color: var(--ux-brand-dim); margin-bottom: 20px; }
.landing-v6 .vms-integration-columns h3 { font-size: 20px; }
.vms-integration-columns p { font-size: 14px; color: var(--muted); }
.vms-page .vms-footnote { font-size: 12px; color: var(--muted); margin: 32px 0 0; max-width: 940px; }
.vms-architecture { background: #f5f5f7; }
.vms-pipeline { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0; list-style: none; gap: 28px; }
.vms-pipeline li { border-top: 2px solid #637a70; padding: 20px 0 0; }
.vms-pipeline li > span { display: block; color: #536359; font-size: 12px; margin-bottom: 24px; }
.vms-pipeline .icon { display: block; width: 28px; height: 28px; margin-bottom: 20px; }
.landing-v6 .vms-pipeline h3 { font-size: 20px; }
.vms-pipeline p { font-size: 14px; color: var(--muted); max-width: 240px; }
.vms-technical-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.55fr); gap: 80px; align-items: start; }
.vms-technical-heading { position: sticky; top: 108px; }
.landing-v6 .vms-technical-heading h2 { font-size: 36px; }
.vms-technical-heading p:not(.eyebrow) { color: var(--muted); font-size: 15px; max-width: 340px; }
.vms-technical-toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.vms-technical-toolbar > span { font-size: 12px; color: var(--muted); }
.vms-technical-toolbar button { font-size: 12px; border: 0; background: transparent; padding: 0; }
.vms-technical-list details { border-top: 1px solid var(--line); }
.vms-technical-list details:last-child { border-bottom: 1px solid var(--line); }
.vms-technical-list summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 6px 24px 0; cursor: pointer; list-style: none; }
.vms-technical-list summary::-webkit-details-marker { display: none; }
.vms-technical-list summary strong { font-size: 17px; font-weight: 600; }
.vms-technical-list summary small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.vms-technical-list details[open] summary .icon { transform: rotate(45deg); }
.vms-technical-list summary:focus-visible { outline: 3px solid #087fba; outline-offset: 3px; }
.vms-technical-list dl { margin: 0 0 24px; }
.vms-technical-list dl > div { display: grid; grid-template-columns: 145px minmax(0,1fr); gap: 22px; padding-block: 12px; border-top: 1px solid #ececef; }
.vms-technical-list dt { font-weight: 600; font-size: 13px; }
.vms-technical-list dd { margin: 0; color: var(--muted); font-size: 14px; }
.vms-technical-list details > p { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.vms-technical-list details > p a { color: var(--ux-brand-dim); text-decoration: underline; text-underline-offset: 3px; }
.vms-deployment { background: #eaf0ec; }
.vms-mode-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.vms-mode-grid .icon { margin-bottom: 20px; width: 28px; height: 28px; }
.landing-v6 .vms-mode-grid h3 { font-size: 20px; }
.vms-mode-grid p { font-size: 14px; color: #506359; }
.vms-commercial { border-top: 1px solid #bbc9be; padding-top: 28px; margin-top: 36px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.vms-commercial strong { font-size: 23px; font-weight: 600; }
.vms-commercial p { font-size: 14px; color: #506359; margin: 0; max-width: 640px; }
.vms-demo { text-align: center; }
.vms-demo p:not(.eyebrow) { max-width: 490px; margin-inline: auto; color: var(--muted); }
.vms-demo ol { list-style: none; padding: 20px 0 0; display: flex; justify-content: center; gap: 32px; font-size: 13px; }
.vms-demo li span { color: var(--ux-brand-dim); font-size: 11px; margin-right: 8px; }
.vms-demo .hero-actions { justify-content: center; }
.vms-preview { width: min(1500px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 40px); border: 1px solid var(--line); padding: 0; border-radius: 8px; background: #f5f5f7; color: var(--ink); }
.vms-preview::backdrop { background: #111315d9; }
.vms-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #f5f5f7; z-index: 1; }
.landing-v6 .vms-preview-header h2 { font-size: 17px; margin: 0; }
.vms-preview-image { overflow: auto; padding: 16px; }
.vms-preview-image img { display: block; width: 100%; height: auto; margin-inline: auto; }
html:has(.vms-preview[open]) { overflow: hidden; }
@media (min-width: 761px) and (max-height: 1050px) {
  .vms-gallery { max-width: 620px; }
}
@media (min-width: 761px) and (max-height: 950px) {
  .vms-gallery { max-width: 540px; }
  .vms-hero { padding-top: 24px; }
}
@media (max-width: 1100px) {
  .vms-technical-layout { gap: 40px; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); }
  .vms-ai-grid, .vms-mode-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vms-pipeline { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .vms-local-nav > .page-shell { gap: 8px; min-height: 54px; }
  .vms-local-nav nav { gap: 18px; }
  .vms-local-nav nav a:not(.vms-nav-cta) { display: none; }
  .vms-local-brand { font-size: 15px; }
  .vms-hero { padding-top: 28px; }
  .landing-v6 .vms-hero h1 { font-size: 52px; }
  .vms-hero .vms-tagline { font-size: 24px; }
  .vms-hero .vms-hero-description { font-size: 14px; max-width: 270px; margin-inline: auto; }
  .vms-hero .eyebrow { font-size: 11px; }
  .vms-hero-actions { gap: 16px; }
  .vms-hero-actions .btn { width: auto; padding-inline: 14px; font-size: 12px; }
  .vms-hero-actions .text-link { font-size: 12px; white-space: nowrap; }
  .vms-gallery { margin-top: 24px; }
  .vms-gallery-controls { display: flex; justify-content: center; }
  .vms-gallery-controls button { flex: 1; padding-inline: 8px; gap: 6px; font-size: 11px; }
  .vms-gallery-controls .icon { width: 14px; height: 14px; flex-basis: 14px; }
  .vms-gallery figcaption { font-size: 10px; min-height: 46px; }
  .vms-value-band > .page-shell { grid-template-columns: 1fr; padding-block: 8px; }
  .vms-value-band > .page-shell > div { padding: 16px 0; border-left: 0; border-top: 1px solid #cbd5ce; }
  .vms-value-band > .page-shell > div:first-child { border-top: 0; }
  .vms-value-band span { font-size: 12px; }
  .vms-query-example { gap: 16px; padding-block: 28px; }
  .vms-query-example > .icon { flex-basis: 22px; width: 22px; height: 22px; }
  .vms-query-example p { font-size: 22px; }
  .vms-ai-grid { gap: 24px; }
  .landing-v6 .vms-ai-grid h3 { font-size: 17px; }
  .vms-ai-grid p { font-size: 13px; }
  .vms-ai-note, .vms-commercial { grid-template-columns: 1fr; gap: 12px; }
  .vms-integration-columns { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .vms-number { margin-bottom: 12px; }
  .vms-pipeline { gap: 24px; }
  .landing-v6 .vms-pipeline h3 { font-size: 17px; }
  .vms-technical-layout { grid-template-columns: 1fr; gap: 28px; }
  .vms-technical-heading { position: static; }
  .landing-v6 .vms-technical-heading h2 { font-size: 30px; }
  .vms-technical-toolbar { gap: 10px; }
  .vms-technical-toolbar > span { font-size: 11px; max-width: 130px; }
  .vms-technical-list summary strong { font-size: 16px; }
  .vms-technical-list dl > div { grid-template-columns: 1fr; gap: 4px; padding-block: 14px; }
  .vms-demo ol { gap: 12px; font-size: 11px; }
  .vms-demo li span { display: block; margin: 0 0 4px; }
  .vms-preview { width: calc(100% - 16px); max-height: calc(100dvh - 24px); }
  .vms-preview-header { padding: 10px 14px; gap: 12px; }
  .landing-v6 .vms-preview-header h2 { font-size: 15px; }
  .vms-preview-image img { min-width: 900px; }
  .vms-preview-image { padding: 8px; max-height: 70dvh; }
}
@media (max-width: 359px) {
  .vms-hero { padding-block: 20px 16px; }
  .vms-hero .vms-tagline { font-size: 22px; }
  .vms-gallery { margin-top: 18px; }
  .vms-gallery-controls button { padding-inline: 4px; }
  .vms-gallery-controls .icon { display: none; }
  .vms-hero-actions { flex-wrap: wrap; gap: 8px 14px; }
  .vms-ai-grid, .vms-mode-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .vms-page { scroll-behavior: auto; }
}
