/* Shared usability refinements. Kept separate from product-specific artwork. */
:root { color-scheme: light; }
main:focus { outline: none; }
.service-mark { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #edf3ff; color: #234cc4; }
.service-mark svg { flex: none; width: 24px; height: 24px; }
.nav .burger { min-width: 44px; min-height: 44px; }
.burger[aria-expanded="true"] { background: #edf3ff; color: #234cc4; }
.language-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.mobile { overscroll-behavior: contain; scrollbar-gutter: stable; }
.mobile a { border-radius: 10px; }
.mobile a[aria-current="page"] { background: #edf3ff; color: #234cc4; }
.hp-controls button { min-width: 44px; min-height: 44px; }
.hp-controls button:disabled { opacity: .35; cursor: default; transform: none; }
.hp-track:focus-visible { outline-offset: 4px; border-radius: 16px; }
.form-help { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.form-alternative { font-size: 14px; color: var(--muted); margin-top: 20px; }
.form-alternative a { display: inline-block; color: #234cc4; text-decoration: underline; text-underline-offset: 4px; }
.form-grid > *, .contact-layout > *, .domains > *, .scope-grid > *, .catalog-grid > *, .technical-grid > * { min-width: 0; }
.contact-direct a, .form-alternative a, .policy-page a { overflow-wrap: anywhere; }
.form-footer p { overflow-wrap: anywhere; }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: #b42318; }
form[aria-busy="true"] input, form[aria-busy="true"] textarea, form[aria-busy="true"] select { opacity: .75; }
.consent { min-height: 44px; align-items: flex-start; }
.foot-links a, .privacy-preferences { min-height: 44px; display: inline-flex; align-items: center; }
.thank-close { min-width: 44px; min-height: 44px; }
.thank-you { max-height: calc(100dvh - 32px); overflow-y: auto; }
.hero-bottom button, .hero-bottom > a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.hero-bottom > a { min-width: 44px; }
@media (max-width: 550px) {
  .technical-grid h3 { padding-inline-end: 52px; }
  html[lang="en"] .technical-grid .service-mark { float: right; }
  .mobile-contact { bottom: max(12px, env(safe-area-inset-bottom)); }
  footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .form-footer .btn { width: 100%; }
  .form-footer p { width: 100%; }
  .hero-bottom { gap: 8px; flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .nav-cta > .btn-dark { padding-inline: 12px; }
  .nav { gap: 4px; }
  .nav .logo { padding-inline: 2px; font-size: 20px; }
  .nav .logo img { width: 28px; height: 28px; }
  .hero .actions { width: 100%; justify-content: center; }
  .hero .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ShiftSnap identity and non-shrinking mobile menu control. */
.ss-brand-wordmark{display:block;width:min(300px,85%);height:auto;object-fit:contain;margin-block:0 12px}
.nav-cta{flex-shrink:0}
.nav .burger{flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;padding:10px!important;align-items:center;justify-content:center}
.nav .burger svg{width:24px!important;height:24px!important;max-width:none;flex:none;display:block}
@media(max-width:860px){.nav .burger{display:inline-flex!important}.nav{grid-template-columns:auto minmax(0,1fr);gap:8px}.nav-cta{justify-self:end}.mobile{font-size:16px}.mobile>a{min-height:48px;padding:12px 16px}}

/* Platform menu: one opaque panel with distinct, consistently spaced rows. */
.nav .platform-links{background:#fff!important;display:grid;gap:4px;padding:8px;width:min(300px,calc(100vw - 40px));max-height:calc(100dvh - 120px);overflow-y:auto;isolation:isolate}
.nav .links .platform-links a{background:transparent!important;box-shadow:none!important;border-radius:10px;padding:12px 14px;min-height:68px;flex:none}
.nav .links .platform-links a+a{border-top:1px solid #edf0f5}
.nav .links .platform-links a:hover{background:#edf3ff!important}
.platform-copy{display:grid;gap:3px}.platform-copy b{font-size:16px;line-height:1.5}.platform-copy small{font-size:12px;line-height:1.6}
.mobile-platforms .platform-copy{display:grid}.mobile-platforms a{display:flex!important;align-items:center;justify-content:space-between;gap:12px}
.ss-brand-lockup{display:flex;align-items:center;gap:2px;margin-bottom:18px;width:fit-content;max-width:100%}
.ss-brand-lockup img{width:88px;height:88px;object-fit:contain;flex:none}
.ss-brand-lockup strong{font:800 clamp(23px,4vw,34px)/1.1 Arial,sans-serif;letter-spacing:-1px;color:#101828}
.ss-brand-lockup strong span{color:#08b2c8}
/* A complete 960 x 600 preview, uniformly scaled rather than enlarged and cropped. */
:is(.hp-products,.catalog-fit) .hp-showcase{height:auto!important;aspect-ratio:1.42;display:grid;place-items:center;padding:20px 16px}
:is(.hp-products,.catalog-fit) .hp-card .hp-display{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;aspect-ratio:1.6!important;transform:none!important;overflow:hidden;border:3px solid #263648;border-radius:10px;display:block}
:is(.hp-products,.catalog-fit) .hp-card:hover .hp-display{transform:none!important}
:is(.hp-products,.catalog-fit) .hp-preview-canvas{position:absolute;top:0;left:0;width:960px!important;height:600px!important;max-width:none;transform:scale(var(--preview-scale, .3));transform-origin:top left;overflow:hidden;direction:rtl}
:is(.hp-products,.catalog-fit) .hp-preview-canvas>div{width:960px!important;height:600px!important;min-height:0!important;max-width:none!important;zoom:1!important}
:is(.hp-products,.catalog-fit) .hp-preview-canvas .sh-preview-shell{width:960px!important;height:600px!important;zoom:1!important}
:is(.hp-products,.catalog-fit) .hp-preview-canvas .em-cover{width:960px!important;height:600px!important;zoom:1!important}
:is(.hp-products,.catalog-fit) .hp-preview-canvas .iqv-cover{width:960px!important;height:600px!important;padding:20px!important;zoom:1!important}
:is(.hp-products,.catalog-fit) .hp-preview-canvas .iqv-window{width:100%!important;height:100%!important}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview{width:960px!important;height:600px!important;zoom:1!important;display:flex;flex-direction:column}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview header{min-height:70px;padding:16px 24px}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-brand>span{width:38px;height:38px;font-size:20px}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-brand b{font-size:20px}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-brand small,:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-example{font-size:13px}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-body{height:auto;flex:1;padding:24px 32px;display:flex;flex-direction:column;gap:18px}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-intro{display:grid;padding:0;gap:5px}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-intro>span{font-size:28px}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-intro>b{font-size:23px;line-height:1.4}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-intro>small{font-size:14px}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-question{font-size:19px;padding:12px 18px}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-answer{margin:0;gap:12px}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-answer>span{width:36px;height:36px;font-size:18px}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-answer>div{padding:15px;font-size:18px}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-answer p{font-size:18px;line-height:1.6;margin:5px 0}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-answer small{display:flex;font-size:14px}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-input{display:flex;font-size:16px;padding:12px 18px;margin:0}
:is(.hp-products,.catalog-fit) [data-product-card="awn"] .hp-preview-canvas .awn-preview-input span{width:28px;height:28px;font-size:18px}
@media(max-width:650px){:is(.hp-products,.catalog-fit) .hp-showcase{aspect-ratio:1.42;padding:16px 12px}.ss-brand-lockup img{width:76px;height:76px}}

/* Catalog thumbnails share the same fitted canvas as homepage previews. */
.catalog .product-card>.catalog-preview:has(.catalog-fit){height:auto!important;min-height:0!important;aspect-ratio:1.5;padding:14px!important;display:grid;place-items:center}
.catalog-fit{width:100%;min-width:0}
.catalog-fit .hp-card{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;width:100%;min-height:0}
.catalog-fit .hp-display{margin:0;box-shadow:0 10px 20px #14244118}
.catalog-fit .awn-hero-visual{padding:0!important}
.compact-advantages .advantages-grid{gap:16px}
.compact-advantages .advantages-grid>div{display:grid;grid-template-columns:44px minmax(0,1fr);gap:6px 14px;align-content:start;border:1px solid #e5eaf2!important;border-radius:16px;background:#fafbfe;padding:20px!important}
.advantage-icon{grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;color:#245ad5;background:#edf3ff;border-radius:12px}
.advantage-icon svg{width:23px;height:23px}
.compact-advantages .advantages-grid h3{font-size:18px;line-height:1.6;margin:0}
.compact-advantages .advantages-grid p{grid-column:2;font-size:14px;line-height:1.7}
@media(min-width:551px) and (max-width:1100px){.compact-advantages .advantages-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){
 .ss-page{padding-top:8px}
 .ss-hero{padding:12px 0 40px;gap:24px;min-height:0}
 .ss-hero-copy{max-width:100%;min-width:0}
 .ss-brand-lockup{margin:0 0 16px;gap:2px}
 .ss-brand-lockup img{width:64px;height:64px}
 .ss-brand-lockup strong{font-size:25px}
 .ss-hero .ss-kicker{font-size:11px;line-height:1.6}
 .ss-hero h1{font-size:clamp(29px,8.1vw,36px)!important;line-height:1.4;letter-spacing:0;margin:16px 0}
 .ss-hero-copy>p{font-size:15px;line-height:1.85;margin:0}
 .ss-hero .actions{display:grid;grid-template-columns:1fr;gap:10px;width:100%;margin-top:22px}
 .ss-hero .actions .btn{width:100%;min-width:0;min-height:46px;font-size:14px;line-height:1.5;padding:11px 16px;margin:0;white-space:normal;gap:10px}
 .ss-hero .ss-chips{margin-top:18px;display:flex;flex-wrap:wrap;gap:6px}
 .ss-hero .ss-chips span{font-size:11px;padding:5px 9px}
 .ss-section{padding-block:30px}
 .ss-heading h2,.ss-cta h2{font-size:27px;line-height:1.5}
 .ss-heading p,.ss-cta p{font-size:15px;line-height:1.85}
 .ss-cta .btn{max-width:100%;font-size:14px;min-height:46px}
 .compact-advantages .advantages-grid>div{padding:16px!important;gap:4px 12px}
 .compact-advantages .advantages-grid h3{font-size:17px}
}

:is(.hp-products,.catalog-fit) .hp-preview-canvas .em-cover{display:flex;flex-direction:column}
:is(.hp-products,.catalog-fit) .hp-preview-canvas .em-cover-content{flex:1;display:flex;flex-direction:column;justify-content:center}
body:has(main.catalog) .mobile-contact{display:none!important}

/* Product names are explicit links to their detail pages. */
.hp-name-link{display:inline-block;border-radius:4px;text-underline-offset:6px;text-decoration-thickness:1px}
.hp-name-link:hover{color:#245ad5;text-decoration:underline}
.hp-name-link:focus-visible{outline:2px solid #245ad5;outline-offset:5px}
@media(min-width:551px){.ss-hero .actions{margin-top:28px;gap:12px;row-gap:12px}.ss-hero .ss-chips{margin-top:24px}}
