/* Site chrome and homepage styles from the "website-home" prototype. Rules are scoped to the hp-* classes rendered by
   Views/Shared/Header-Style-2.cshtml, Footer.cshtml, the Heading-Title-* partials, Views/Home/Index.cshtml and
   Views/Static/{language}/Home/home.{language}.cshtml. Linked directly from _Layout.cshtml (not bundled) because the
   bundler's minifier does not support the modern CSS used here. */

.hp-body {
    --hp-ink: #0a1a24;
    --hp-deep: #0c2a40;
    --hp-navy-deep: #061a26;
    --hp-blue: #0193dd;
    /* Also the background of anything blue that carries small white text (buttons, badges): 4.9:1 contrast. */
    --hp-link: #0177b0;
    --hp-link-dark: #01659a;
    --hp-cyan: #6ed0f7;
    --hp-muted: #5a6b78;
    --hp-text: #3a4c5a;
    --hp-line: #e3eaf0;
    --hp-nav: #0088cc;
    --hp-gutter: 28px;
    --hp-section-space: 32px;
    margin: 0;
    /* Page stylesheets written for standalone pages (packages-map.css) pad the body; the layout's bands stay full width. */
    padding: 0;
    background: #fff;
    font-family: Archivo, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.hp-body :where(.hp-header, .hp-release, .hp-hero, .hp-home, .hp-footer, .hp-page-header) {
    color: var(--hp-ink);
    font-size: 15px;
    line-height: 1.5;
}

.hp-body :where(.hp-header, .hp-release, .hp-hero, .hp-home, .hp-footer, .hp-page-header) :where(h1, h2, h3, p, ul, ol, figure) {
    margin: 0;
    padding: 0;
    font-family: inherit;
    letter-spacing: normal;
    text-transform: none;
    text-wrap: pretty;
}

.hp-body :where(.hp-header, .hp-release, .hp-hero, .hp-home, .hp-footer, .hp-page-header) :where(ul, ol) { list-style: none; }
.hp-body :where(.hp-header, .hp-release, .hp-hero, .hp-home, .hp-footer, .hp-page-header) a { text-decoration: none; }
.hp-body :where(.hp-header, .hp-release, .hp-hero, .hp-home, .hp-footer, .hp-page-header) button { font-family: inherit; cursor: pointer; }
.hp-body :where(.hp-header, .hp-release, .hp-hero, .hp-home, .hp-footer, .hp-page-header) :where(a, button, input):focus-visible { outline: 2px solid var(--hp-cyan); outline-offset: 2px; }
.hp-body ::selection { background: var(--hp-blue); color: #fff; }
/* Bootstrap 3 does not make [hidden] win over component display rules (tab panels, filtered lists). */
.hp-body :where(.hp-header, .hp-hero, .hp-home) [hidden] { display: none !important; }

.hp-wrap { max-width: 1480px; margin: 0 auto; padding: 0 var(--hp-gutter); }
.hp-spacer { flex: 1; }
.hp-arrow { display: inline-block; flex: none; }

/* ---------- Utility bar ---------- */
.hp-utility { background: var(--hp-navy-deep); color: #c4d7e2; font-size: 11px; font-weight: 600; letter-spacing: .03em; line-height: 1.4; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.07); }
.hp-utility-inner { min-height: 38px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px clamp(10px,1.6vw,24px); }
.hp-utility a { display: inline-flex; align-items: center; gap: 6px; color: #c4d7e2; white-space: nowrap; }
.hp-utility-icon { flex: none; opacity: .8; }
.hp-utility a:hover .hp-utility-icon { opacity: 1; }
.hp-utility a:hover { color: #fff; }
.hp-utility-divider { width: 1px; height: 14px; flex: none; background: rgba(255,255,255,.12); }
.hp-languages { display: flex; align-items: center; gap: 7px; }
.hp-languages a { padding-bottom: 1px; border-bottom: 1px solid transparent; }
.hp-languages a.is-current { color: #fff; border-bottom-color: var(--hp-blue); }
.hp-utility a.hp-signin { color: #fff; border: 1px solid rgba(255,255,255,.22); padding: 5px 12px; border-radius: 2px; transition: background .2s, border-color .2s; }
.hp-utility a.hp-signin:hover { background: var(--hp-blue); border-color: var(--hp-blue); }
.hp-utility-social { display: flex; align-items: center; }
/* Signed-in account menu: a small dropdown in the utility bar (opened by site-design.js like the main menus). */
.hp-account { position: relative; }
.hp-utility .hp-account-trigger { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 2px; background: none; color: #fff; font: inherit; letter-spacing: inherit; text-transform: inherit; transition: background .2s, border-color .2s; }
.hp-utility .hp-account-trigger:hover, .hp-utility .hp-account-trigger[aria-expanded="true"] { background: var(--hp-blue); border-color: var(--hp-blue); }
.hp-account .hp-dropdown { top: calc(100% + 6px); z-index: 1031; font-weight: 400; letter-spacing: normal; text-transform: none; }
.hp-utility .hp-account .hp-dropdown a { display: block; color: var(--hp-text); white-space: normal; }
.hp-utility .hp-account .hp-dropdown a:hover { color: var(--hp-link); }
.hp-utility .hp-account .hp-dropdown a.hp-account-logout { color: #c0392b; }

/* ---------- Header (prototype layout, existing blue background) ---------- */
/* Sticky like the former Porto header: the utility bar scrolls away and the blue bar stays (offset set by the script). */
#header.hp-header { position: sticky; top: calc(-1 * var(--hp-utility-height, 39px)); z-index: 1030; }
.hp-navbar { background: var(--hp-nav); border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; }
.hp-header-inner { height: 60px; display: flex; align-items: center; gap: 26px; transition: height .28s ease; }
.hp-header.is-scrolled .hp-header-inner { height: 54px; }
.hp-brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; color: #fff; }
.hp-brand:hover { color: #fff; }
.hp-brand img { display: block; width: auto; height: 38px; outline: 1px solid rgba(255,255,255,.55); }
.hp-brand-caption { display: flex; align-items: center; gap: 13px; font-size: 10.5px; line-height: 1.28; color: rgba(255,255,255,.85); white-space: nowrap; }
.hp-brand-divider { width: 1px; height: 30px; background: rgba(255,255,255,.3); }
.hp-header.is-tight .hp-brand-caption { display: none; }
.hp-nav-panel { flex: 1; min-width: 0; display: flex; align-items: center; gap: 26px; }
.hp-nav { flex: 1; min-width: 0; display: flex; justify-content: center; }
.hp-nav-list { display: flex; align-items: center; }
.hp-nav-item { position: relative; }
.hp-nav-item--mega { position: static; }
.hp-nav-trigger { display: flex; align-items: center; gap: 7px; padding: 10px clamp(7px,1.05vw,14px); border: 0; border-radius: 3px; background: none; color: #fff; font-size: 14.5px; font-weight: 500; line-height: 1.5; white-space: nowrap; transition: background .2s; }
.hp-nav-trigger:hover, .hp-nav-trigger[aria-expanded="true"] { background: rgba(255,255,255,.14); }
.hp-caret { transition: transform .25s ease; }
.hp-nav-trigger[aria-expanded="true"] .hp-caret { transform: rotate(180deg); }
.hp-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hp-header-cta { display: flex; align-items: center; gap: 9px; padding: 9px clamp(13px,1.4vw,18px); border-radius: 3px; background: #fff; color: var(--hp-link); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.hp-header-cta:hover { background: var(--hp-ink); color: #fff; }
.hp-header-search { width: 38px; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.45); border-radius: 3px; color: #fff; transition: background .2s, border-color .2s; }
.hp-header-search:hover, .hp-header-search:focus { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.hp-menu-toggle { display: none; }

/* Standard dropdowns keep content-sized widths. */
.hp-dropdown { position: absolute; top: calc(100% + 8px); left: 0; z-index: 2; min-width: 230px; max-width: 320px; padding: 8px; background: #fff; border: 1px solid var(--hp-line); border-top: 2px solid var(--hp-blue); border-radius: 0 0 3px 3px; box-shadow: 0 24px 48px -20px rgba(6,22,32,.4); }
.hp-dropdown--end { left: auto; right: 0; }
.hp-dropdown:not(.is-open), .hp-mega:not(.is-open) { display: none; }
.hp-dropdown a, .hp-dropdown .is-disabled { display: block; padding: 7px 10px; border-radius: 3px; color: var(--hp-text); font-size: 14px; line-height: 1.4; }
.hp-dropdown a:hover { background: #eaf6fd; color: var(--hp-link); }
.hp-dropdown .is-disabled { color: #8a98a3; cursor: default; }
.hp-dropdown-sub { margin: 2px 0 4px 10px !important; padding-left: 8px !important; border-left: 1px solid var(--hp-line); }
.hp-dropdown-sub a, .hp-dropdown-sub .is-disabled { font-size: 13px; padding: 5px 10px; }

/* Products: the only full-width panel. Grouped categories on the left; the right side previews the category the
   visitor points at, starting with the packages by application (see site-design.js). */
.hp-mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; max-height: calc(100vh - 120px); overflow-y: auto; background: #fff; color: var(--hp-ink); border-bottom: 3px solid var(--hp-blue); box-shadow: 0 30px 60px -20px rgba(6,22,32,.35); }
.hp-mega-inner { padding-top: 26px; padding-bottom: 28px; }
.hp-mega-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--hp-line); }
.hp-mega-title { color: var(--hp-ink); font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.hp-mega-head a { display: inline-flex; align-items: center; gap: 8px; color: var(--hp-link); font-size: 14px; font-weight: 600; }
.hp-mega-head a:hover { color: var(--hp-blue); }
.hp-mega-body { display: grid; grid-template-columns: 300px minmax(0,1fr); }
.hp-mega-nav { padding-right: 22px; border-right: 1px solid var(--hp-line); }
.hp-mega-group + .hp-mega-group { margin-top: 14px; }
.hp-mega-label { display: block; margin-bottom: 4px; color: var(--hp-link); font-size: 10.5px; font-weight: 600; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.hp-mega-nav a, .hp-mega-category { width: calc(100% + 24px); display: flex; align-items: center; gap: 10px; margin: 0 -12px; padding: 4px 12px; border: 0; border-radius: 3px; background: none; color: var(--hp-text); font-size: 14px; line-height: 1.5; text-align: left; }
.hp-mega-nav a:hover, .hp-mega-category:hover { background: #f3f7fa; color: var(--hp-link); }
.hp-mega-nav .hp-mega-category { color: var(--hp-ink); font-weight: 600; }
.hp-mega-nav .hp-mega-category.is-active { background: #eaf6fd; color: var(--hp-link); box-shadow: inset 3px 0 0 var(--hp-blue); }
.hp-mega-count { margin-left: auto; color: var(--hp-muted); font-size: 12px; font-weight: 500; }
.hp-mega-chevron { color: #a7b4be; }
.hp-mega-nav a.is-accent { color: var(--hp-link); font-weight: 600; }
.hp-mega-main { min-width: 0; padding-left: 34px; }
.hp-mega-pane-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 14px; }
.hp-mega-pane-head .hp-mega-label { margin-bottom: 0; }
.hp-mega-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; border-bottom: 1px solid var(--hp-line); }
.hp-mega-tabs button { margin-bottom: -1px; padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--hp-muted); font-size: 14px; font-weight: 600; }
.hp-mega-tabs button:hover { color: var(--hp-ink); }
.hp-mega-tabs button[aria-selected="true"] { border-bottom-color: var(--hp-blue); color: var(--hp-link); }
.hp-mega-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 12px; margin-top: 10px; }
.hp-mega-tabs ~ .hp-mega-cards { margin-top: 18px; }
.hp-mega-cards a { height: 100%; display: block; padding: 14px 16px; border: 1px solid var(--hp-line); border-left: 3px solid var(--hp-blue); border-radius: 3px; color: var(--hp-text); transition: background .2s, border-color .2s; }
.hp-mega-cards a:hover { background: #f7fbfd; border-color: var(--hp-blue); }
.hp-mega-cards strong { display: block; color: var(--hp-ink); font-size: 15px; font-weight: 700; }
.hp-mega-cards span { display: block; margin-top: 3px; color: var(--hp-muted); font-size: 13px; line-height: 1.45; }
.hp-mega-utilities a.is-strong { color: var(--hp-ink); font-weight: 600; }
.hp-mega-utilities a:hover { background: #eaf6fd; color: var(--hp-link); }
.hp-mega-filter { display: flex; align-items: center; gap: 8px; min-width: 190px; margin: 0; padding: 6px 10px; border: 1px solid var(--hp-line); border-radius: 3px; background: #f3f7fa; color: var(--hp-muted); font-weight: 400; letter-spacing: 0; text-transform: none; }
.hp-mega-filter input { width: 100%; min-width: 0; border: 0; outline: 0; background: none; color: var(--hp-ink); font-size: 13px; }
.hp-mega-filter input::-webkit-search-cancel-button { cursor: pointer; }
.hp-mega-utilities { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px,1fr)); gap: 1px 10px; }
.hp-mega-utilities a { display: block; margin-left: -8px; padding: 5px 8px; border-radius: 3px; color: var(--hp-text); font-size: 12px; font-weight: 600; }
.hp-mega-utilities li[hidden] { display: none; }
.hp-mega-empty { padding: 8px 0; color: var(--hp-muted); font-size: 13px; }

/* ---------- Release banner ---------- */
.hp-release, .hp-release:hover { display: block; text-decoration: none; }
.hp-release { background: var(--hp-ink); transition: background .2s; }
.hp-release:hover { background: #0f2634; }
.hp-release-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding-top: 10px; padding-bottom: 10px; }
.hp-release-tag { padding: 4px 8px; border-radius: 2px; background: #e4572e; color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; white-space: nowrap; }
.hp-release-message { color: #fff; font-size: 13.5px; font-weight: 500; }
.hp-release-action { display: flex; align-items: center; gap: 8px; color: var(--hp-cyan); font-size: 13px; font-weight: 500; white-space: nowrap; }

/* ---------- Hero ---------- */
.hp-hero { position: relative; overflow: hidden; background: #0c2a40; color: #fff; }
.hp-hero-bg { position: absolute; inset: 0; background-size: cover; opacity: 0; transition: opacity 1s ease; }
.hp-hero-bg.is-active { opacity: 1; }
/* Dark up to the right edge, so the background photo reads as texture and the hero card is the only real photo. */
.hp-hero-shade { position: absolute; inset: 0; background: linear-gradient(92deg,#0a2a40 6%,rgba(12,46,70,.92) 42%,rgba(12,42,64,.84) 72%,rgba(10,38,58,.78)); }
.hp-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(100deg,#000 30%,transparent 72%); mask-image: linear-gradient(100deg,#000 30%,transparent 72%); }
.hp-hero-body { position: relative; }
.hp-hero-viewport { overflow: hidden; }
.hp-hero-track { display: flex; transition: transform .8s cubic-bezier(.62,.03,.2,1); }
.hp-hero-slide { min-width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(330px,1fr)); align-items: center; gap: 48px; padding: 34px 0 24px; }
.hp-hero-kicker { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; color: var(--hp-cyan); font-size: 12.5px; font-weight: 600; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.hp-hero-kicker::before { content: ""; width: 12px; height: 1px; flex: none; background: var(--hp-blue); }
.hp-body .hp-hero-title { color: #fff; font-size: clamp(31px,3.3vw,47px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.hp-hero-accent { color: var(--hp-cyan); }
.hp-body .hp-hero-text { max-width: 520px; margin-top: 14px; color: #a9c0cd; font-size: 16px; line-height: 1.55; }
.hp-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 20px; }
/* Fills its column and lines up with the right edge of the header. */
.hp-hero-visual { width: 100%; max-width: 580px; justify-self: end; margin-right: 0 !important; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; background: var(--hp-navy-deep); }
/* Caption strip above the image, introduced by a dash like the hero kicker. */
.hp-hero-visual figcaption { display: flex; align-items: center; gap: 9px; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.1); background: var(--hp-navy-deep); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.hp-hero-visual figcaption::before { content: "\2014"; color: var(--hp-cyan); letter-spacing: 0; }
.hp-hero-visual-media { position: relative; display: block; overflow: hidden; aspect-ratio: 1724 / 1032; background: #123a58; }
.hp-hero-visual-media img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
/* Monitor mock-ups (1920x1565): show only the screen, a 1720x1030 area at (100, 106) that matches the frame's ratio. */
.hp-hero-visual--screen .hp-hero-visual-media img { position: absolute; left: -5.814%; top: -10.291%; width: 111.628%; height: auto; max-width: none; opacity: 1; }
/* CDEGS splash screen (1295x1023): its screen is a 1216x755 area at (40, 39), centred vertically in the card ratio. */
.hp-hero-visual--splash .hp-hero-visual-media img { left: -3.289%; top: -7.218%; width: 106.497%; }
.hp-hero-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding-bottom: 16px; }
.hp-hero-arrows { display: flex; gap: 8px; }
.hp-hero-arrows button { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; background: none; color: #fff; transition: background .2s, border-color .2s; }
.hp-hero-arrows button:hover { background: rgba(255,255,255,.1); border-color: var(--hp-blue); }
.hp-hero-dots { flex: 1; min-width: 230px; display: flex; gap: 12px; }
.hp-hero-dots button { flex: 1; min-width: 0; padding: 0; border: 0; background: none; color: #c4d7e2; text-align: left; }
.hp-hero-dots button[aria-current="true"] { color: #fff; }
.hp-hero-dot-line { position: relative; display: block; height: 2px; margin-bottom: 8px; overflow: hidden; background: rgba(255,255,255,.16); }
.hp-hero-dot-line::after { content: ""; position: absolute; inset: 0; background: var(--hp-blue); transform: scaleX(0); transform-origin: left; transition: transform .6s linear; }
.hp-hero-dots button[aria-current="true"] .hp-hero-dot-line::after { transform: scaleX(1); }
/* Thin timer line along the bottom edge: fills while the current slide is shown, freezes while the carousel is paused. */
.hp-hero-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 2px; background: rgba(255,255,255,.08); pointer-events: none; }
.hp-hero-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--hp-blue), var(--hp-cyan)); box-shadow: 0 0 8px rgba(110,208,247,.55); transform: scaleX(0); transform-origin: left center; animation: hp-progress linear forwards; }
@keyframes hp-progress { to { transform: scaleX(1); } }
.hp-hero-dot-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1.35; overflow-wrap: anywhere; }

/* ---------- Buttons ---------- */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: 1px solid transparent; border-radius: 3px; font-size: 15px; font-weight: 600; line-height: 1.3; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
/* One main-action style on every background; light and dark are kept as aliases of primary. */
.hp-btn--primary, .hp-btn--light, .hp-btn--dark { background: var(--hp-link); color: #fff; }
.hp-btn--primary:hover, .hp-btn--light:hover, .hp-btn--dark:hover { background: var(--hp-link-dark); color: #fff; }
.hp-btn--ghost { border-color: rgba(255,255,255,.26); color: #fff; font-weight: 500; }
.hp-btn--ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.5); color: #fff; }
.hp-btn--outline { border-color: #dde5ec; color: var(--hp-ink); font-weight: 500; }
.hp-btn--outline:hover { border-color: var(--hp-blue); color: var(--hp-link); }
.hp-button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hp-button-row .hp-btn { padding: 12px 20px; font-size: 14px; }

/* ---------- Shared section parts ---------- */
.hp-section { padding-top: var(--hp-section-space); }
.hp-intro { margin-bottom: 26px; }
.hp-intro-heading { max-width: 760px; }
.hp-eyebrow { margin-bottom: 12px; color: var(--hp-link); font-size: 10.5px; font-weight: 600; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.hp-eyebrow--section { margin-bottom: 22px; }
.hp-body .hp-intro h2 { color: var(--hp-ink); font-size: clamp(27px,2.9vw,40px); font-weight: 800; line-height: 1.08; letter-spacing: -.028em; }
.hp-intro-text { max-width: 680px; margin-top: 14px; }
.hp-body .hp-intro-text, .hp-body .hp-intro-text p { color: var(--hp-muted); font-size: 15.5px; line-height: 1.6; }
.hp-body .hp-intro-text .hp-intro-accent { margin-bottom: 12px; color: var(--hp-ink); font-size: 18px; font-weight: 400; line-height: 1.55; }
.hp-label { margin-bottom: 14px; color: var(--hp-muted); font-size: 10px; font-weight: 600; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.hp-label--light { color: var(--hp-cyan); }
.hp-label--white { color: #fff; }

/* Trust rail */
.hp-trust { position: relative; background: #061a26; border-top: 1px solid rgba(255,255,255,.14); color: #bcd2de; }
.hp-trust-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; padding-top: 13px; padding-bottom: 13px; }
.hp-trust-certs { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-trust-badge { display: flex; align-items: center; gap: 9px; padding: 7px 12px 7px 8px; border: 1px solid rgba(110,208,247,.45); border-radius: 3px; background: rgba(1,147,221,.14); transition: background .2s, border-color .2s; }
.hp-trust-badge:hover { background: rgba(1,147,221,.3); border-color: var(--hp-cyan); }
.hp-trust-badge img { width: 32px; height: 32px; flex: none; object-fit: contain; }
.hp-trust-badge strong { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.hp-trust-divider { width: 1px; height: 38px; flex: none; background: rgba(255,255,255,.16); }
/* The years-of-excellence badge is a round blue-on-white artwork: shown as a small medal. */
.hp-trust-years { width: 46px; height: 46px; flex: none; border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 0 0 2px rgba(110,208,247,.45); }
.hp-trust-link { display: inline-flex; align-items: center; gap: 8px; color: #bcd2de; font-size: 13px; line-height: 1.45; }
.hp-trust-link:hover { color: #fff; }
.hp-trust-stats { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.hp-trust-stats strong { display: block; color: var(--hp-cyan); font-size: 24px; font-weight: 700; letter-spacing: -.022em; line-height: 1; }
.hp-trust-stats span { display: block; margin-top: 4px; color: #bcd2de; font-size: 11.5px; }

/* 01 Domains */
/* A grid, so a short last row never stretches one card across the page; each card draws its own outline. */
.hp-domains { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px,100%),1fr)); gap: 1px; }
.hp-domain { position: relative; min-width: 0; display: block; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--hp-line); transition: background .2s; }
.hp-domain:hover { background: #f7fbfd; }
.hp-domain-image { position: relative; display: block; height: 128px; overflow: hidden; background: var(--hp-deep); }
/* The same SES tint on every photo so they read as one set; full colour on hover. */
.hp-domain-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(1,147,221,.3),rgba(12,42,64,.6)); mix-blend-mode: multiply; transition: opacity .4s; }
.hp-domain-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.45) contrast(1.05); transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .4s; }
.hp-domain:hover .hp-domain-image img { transform: scale(1.07); filter: none; }
.hp-domain:hover .hp-domain-image::after { opacity: .35; }
.hp-domain-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 22px; color: var(--hp-ink); font-size: 17.5px; font-weight: 700; letter-spacing: -.012em; line-height: 1.25; }

/* 02 Software selection */
.hp-selection { position: relative; overflow: hidden; margin-top: var(--hp-section-space); background: var(--hp-deep); color: #fff; }
.hp-selection::before { content: ""; position: absolute; inset: 0; background: linear-gradient(104deg,#0c2a40 22%,rgba(12,42,64,.93) 52%,rgba(12,42,64,.8)), url("/Images/SES/Home/showcase/extended-grounding.jpg") center 40% / cover; }
.hp-selection::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(90% 90% at 80% 10%,#000,transparent 72%); mask-image: radial-gradient(90% 90% at 80% 10%,#000,transparent 72%); }
.hp-selection-inner { position: relative; z-index: 1; padding-top: var(--hp-section-space); padding-bottom: var(--hp-section-space); }
.hp-selection .hp-intro { margin-bottom: 30px; }
.hp-body .hp-selection .hp-intro h2 { color: #fff; }
.hp-body .hp-selection .hp-intro-text { color: #a9c0cd; }
.hp-selection .hp-eyebrow { color: var(--hp-cyan); }
.hp-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.hp-tabs button { padding: 11px; border: 1px solid transparent; border-bottom: 0; border-radius: 3px 3px 0 0; background: transparent; color: #a9c0cd; font-size: 13px; font-weight: 600; line-height: 1.3; text-align: left; }
.hp-tabs button:hover { color: #fff; }
.hp-tabs button[aria-selected="true"] { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.hp-selection-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px,100%),1fr)); gap: 34px; padding: 28px; border: 1px solid rgba(255,255,255,.16); background: rgba(6,26,38,.82); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.hp-selection-panel .hp-label { color: #9fbecd; }
.hp-package-list { display: grid; gap: 7px; }
.hp-package-list a { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 3px; background: rgba(255,255,255,.03); color: #fff; font-size: 15px; font-weight: 600; transition: background .2s, border-color .2s; }
.hp-package-list a:hover { background: var(--hp-link); border-color: var(--hp-link); color: #fff; }
.hp-package-list a span { color: var(--hp-cyan); font-size: 10.5px; font-weight: 600; }
.hp-package-list a:hover span { color: #fff; }
.hp-package-list .hp-arrow { margin-left: auto; }
.hp-body .hp-selection-note { color: #a9c0cd; font-size: 15px; line-height: 1.6; }
.hp-selection-figures { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.hp-selection-figures a { display: flex; align-items: baseline; gap: 12px; color: #a9c0cd; font-size: 13px; }
.hp-selection-figures a:hover { color: #fff; }
.hp-selection-figures strong { color: #fff; font-size: 24px; font-weight: 600; }

/* 03 Products and services */
.hp-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(232px,100%),1fr)); gap: 14px; }
.hp-service { display: flex; flex-direction: column; padding: 20px; border: 1px solid #d6e1ea; border-radius: 3px; background: #f3f7fa; box-shadow: 0 1px 2px rgba(6,22,32,.06); color: var(--hp-ink); transition: background .2s ease, border-color .2s ease, box-shadow .25s ease, transform .25s ease; }
.hp-service:hover { background: #fff; border-color: var(--hp-blue); box-shadow: 0 14px 34px -18px rgba(6,22,32,.34); transform: translateY(-3px); color: var(--hp-ink); }
.hp-service-index { margin-bottom: 14px; color: var(--hp-link); font-size: 10.5px; font-weight: 600; }
.hp-service-title { color: var(--hp-ink); font-size: 16.5px; font-weight: 700; letter-spacing: -.012em; line-height: 1.28; }
.hp-service-text { flex: 1; margin-top: 8px; color: var(--hp-muted); font-size: 13.5px; line-height: 1.55; }
.hp-service .hp-arrow { width: 15px; height: 11px; margin-top: 16px; color: var(--hp-blue); }
.hp-references { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 18px; padding: 13px 0; border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); }
.hp-references .hp-label { margin: 0; }
.hp-references a { display: inline-flex; align-items: center; gap: 8px; color: var(--hp-link); font-size: 14px; font-weight: 600; }
.hp-references a:hover { color: var(--hp-blue); }

/* 04 Highlights */
.hp-highlights { margin-top: var(--hp-section-space); background: #f5f8fa; border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); }
.hp-highlights-inner { padding-top: var(--hp-section-space); padding-bottom: var(--hp-section-space); }
.hp-highlights-head { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-bottom: 22px; }
.hp-highlights-head .hp-eyebrow { margin-bottom: 11px; }
.hp-body .hp-highlights-head h2 { color: var(--hp-ink); font-size: clamp(24px,2.4vw,32px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.hp-segmented { display: flex; padding: 3px; border: 1px solid #dde5ec; border-radius: 3px; background: #fff; }
.hp-segmented button { padding: 9px 17px; border: 0; border-radius: 2px; background: transparent; color: var(--hp-muted); font-size: 13.5px; font-weight: 600; }
.hp-segmented button[aria-selected="true"] { background: var(--hp-deep); color: #fff; }
.hp-highlight-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.hp-highlight-grid[hidden] { display: none; }
.hp-highlight { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--hp-line); border-radius: 3px; background: #fff; transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease; }
.hp-highlight:hover { border-color: var(--hp-blue); box-shadow: 0 14px 34px -18px rgba(6,22,32,.34); transform: translateY(-3px); }
.hp-highlight-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hp-highlight-top img { width: 56px; height: 44px; flex-shrink: 0; object-fit: contain; object-position: left center; }
.hp-tag { min-width: 0; overflow: hidden; padding: 4px 6px; border: 1px solid #cce6f6; border-radius: 2px; background: #f0f9fe; color: var(--hp-link); font-size: 9px; font-weight: 600; letter-spacing: .06em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.hp-highlight-title { color: var(--hp-ink); font-size: 15px; font-weight: 600; line-height: 1.35; }
.hp-resources { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; margin-top: 44px; }
.hp-newsletter-card { position: relative; flex: 1 1 320px; min-width: 0; overflow: hidden; padding: 24px; border-radius: 3px; background: var(--hp-ink); color: #fff; }
.hp-newsletter-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size: 26px 26px; pointer-events: none; }
.hp-newsletter-card > * { position: relative; }
.hp-newsletter-card .hp-label { margin-bottom: 0; }
.hp-body .hp-newsletter-card h3 { margin-top: 10px; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.022em; line-height: 1.14; }
.hp-newsletter-card .hp-btn { margin-top: 18px; padding: 11px 16px; font-size: 13.5px; white-space: normal; }
.hp-newsletter-archive { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.hp-newsletter-archive .hp-label { flex-basis: 100%; margin-bottom: 4px; }
.hp-newsletter-archive a, .hp-newsletter-archive > span:not(.hp-label) { padding: 5px 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 2px; color: #a9c0cd; font-size: 11px; font-weight: 600; }
.hp-newsletter-archive a:hover { border-color: var(--hp-blue); color: #fff; }
.hp-newsletter-archive > span:not(.hp-label) { opacity: .55; cursor: help; }
.hp-link-card { flex: 1 1 200px; min-width: 0; padding: 20px; border: 1px solid var(--hp-line); border-radius: 3px; background: #fff; }
.hp-link-card .hp-label { margin-bottom: 12px; }
.hp-link-card ul { display: grid; gap: 1px; }
.hp-link-card a { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-left: -7px; padding: 9px 7px; border-radius: 3px; color: var(--hp-text); font-size: 14px; }
.hp-link-card a:hover { background: #f0f9fe; color: var(--hp-link); }
.hp-link-card .hp-arrow { color: var(--hp-link); }

/* 05 Training and users group */
.hp-training { display: flex; flex-wrap: wrap; gap: 22px; }
.hp-training-card { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px,100%),1fr)); overflow: hidden; border: 1px solid var(--hp-line); border-radius: 3px; }
.hp-training-copy { padding: 30px; }
.hp-body .hp-training-copy h3 { color: var(--hp-ink); font-size: 25px; font-weight: 800; letter-spacing: -.024em; line-height: 1.12; }
.hp-body .hp-training-copy p { margin-top: 12px; color: var(--hp-muted); font-size: 15px; line-height: 1.6; }
.hp-levels { display: grid; gap: 1px; margin-top: 20px; border-top: 1px solid var(--hp-line); }
.hp-levels a { display: flex; align-items: center; gap: 14px; margin-left: -8px; padding: 13px 8px; border-bottom: 1px solid var(--hp-line); color: var(--hp-ink); font-size: 14.5px; font-weight: 600; transition: background .2s, padding .2s; }
.hp-levels a:hover { padding-left: 14px; background: #f7fbfd; color: var(--hp-link); }
.hp-levels .hp-arrow { margin-left: auto; color: var(--hp-link); }
.hp-level-badge { width: 26px; height: 26px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 2px; background: var(--hp-link); color: #fff; font-size: 10.5px; font-weight: 600; }
.hp-training-copy .hp-button-row { gap: 9px; margin-top: 20px; }
.hp-training-copy .hp-btn { padding: 11px 18px; font-size: 13.5px; }
.hp-training-image { min-height: 240px; background: #0a1a24 url("/Images/SES/Home/showcase/training-session.jpg") center / cover; }
.hp-users-card { position: relative; flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; overflow: hidden; padding: 30px; border-radius: 3px; background: var(--hp-link); color: #fff; }
.hp-users-card::before, .hp-users-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; pointer-events: none; }
.hp-users-card::before { right: -70px; bottom: -70px; border: 1px solid rgba(255,255,255,.25); }
.hp-users-card::after { right: -20px; bottom: -120px; border: 1px solid rgba(255,255,255,.18); }
.hp-users-copy { position: relative; flex: 1; }
.hp-users-copy .hp-label { margin-bottom: 0; }
.hp-body .hp-users-copy h3 { margin-top: 12px; color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -.024em; line-height: 1.1; }
.hp-users-links { position: relative; display: grid; gap: 1px; margin-top: 22px; }
.hp-users-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 14px; font-weight: 600; }
.hp-users-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Compliance band */
.hp-compliance { margin-top: var(--hp-section-space); background: #f5f8fa; border-top: 1px solid var(--hp-line); }
.hp-compliance-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 44px; padding-top: var(--hp-section-space); padding-bottom: var(--hp-section-space); }
.hp-compliance-inner > div:first-child { flex: 1 1 420px; min-width: 0; }
.hp-body .hp-compliance h3 { color: var(--hp-ink); font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.hp-body .hp-compliance p { max-width: 820px; margin-top: 10px; color: var(--hp-muted); font-size: 15px; line-height: 1.6; }
.hp-compliance-badges { display: flex; align-items: center; gap: 16px; }
.hp-compliance-badges img { width: auto; height: 76px; }

/* ---------- Page title bar and breadcrumb (inner pages) ---------- */
/* Light blue-grey bar, like the prototype's light sections, so it does not compete with the blue navbar. */
.hp-page-header { margin-bottom: 30px; background: #f3f7fa; border-bottom: 1px solid var(--hp-line); color: var(--hp-ink); }
.hp-page-header--flush { margin-bottom: 0; }

/* The page area fills the window height so the footer stays at the bottom of short pages, and inner pages keep
   some space between their last content and the footer (flow-root keeps floated side menus inside that area).
   The homepage ends on its own full-width band. */
.hp-body { min-height: 100vh; display: flex; flex-direction: column; }
.hp-body > .main { display: flow-root; flex: 1 0 auto; padding-bottom: 56px; }
.hp-body > .main:has(.hp-hero) { padding-bottom: 0; }
.hp-page-header-inner { min-height: 44px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 24px; padding-top: 8px; padding-bottom: 8px; }
.hp-body .hp-page-title { color: var(--hp-ink); font-size: 15px; font-weight: 700; letter-spacing: -.005em; line-height: 1.3; }
.hp-body .hp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; padding: 0; background: none; }
.hp-body .hp-breadcrumb > li { display: flex; align-items: center; color: var(--hp-muted); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.hp-body .hp-breadcrumb > li + li::before { content: "/"; padding: 0 8px; color: #a7b4be; font-family: inherit; font-weight: 600; opacity: 1; }
.hp-body .hp-breadcrumb a { color: var(--hp-link); }
.hp-body .hp-breadcrumb a:hover { color: var(--hp-blue); }
.hp-body .hp-breadcrumb > li.active { color: var(--hp-ink); }
.hp-body .hp-breadcrumb-home a { display: flex; align-items: center; }
.hp-body .hp-breadcrumb-home svg { display: block; }
.hp-body .hp-breadcrumb > li:empty { display: none; }
.hp-page-subtitle { flex-basis: 100%; margin: -2px 0 0; color: var(--hp-muted); font-size: 13px; line-height: 1.45; }

/* ---------- Footer ---------- */
.hp-footer { background: var(--hp-navy-deep); color: #8fa6b4; font-size: 13.5px; }
.hp-footer a { color: #8fa6b4; }
.hp-footer a:hover { color: #fff; }
.hp-footer-offices { border-bottom: 1px solid rgba(255,255,255,.1); }
.hp-footer-offices-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; padding-top: 22px; padding-bottom: 22px; }
.hp-footer .hp-footer-label { color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.hp-footer-office { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 9px; }
.hp-footer-office strong { color: #fff; font-size: 14.5px; font-weight: 600; }
.hp-footer-office span { color: #8fa6b4; font-size: 13px; }
.hp-footer-office .hp-footer-site { color: var(--hp-cyan); font-size: 11px; font-weight: 600; }
.hp-footer .hp-footer-accent { display: inline-flex; align-items: center; gap: 8px; color: var(--hp-cyan); font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.hp-footer .hp-footer-accent:hover { color: #fff; }
.hp-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(185px,100%),1fr)); gap: 38px; padding: 52px 0 44px; }
.hp-footer-grid > * { min-width: 0; }
.hp-footer-about img { display: block; width: auto; height: 50px; margin-bottom: 18px; }
.hp-body .hp-footer-about p { max-width: 290px; color: #8fa6b4; font-size: 13.5px; line-height: 1.6; }
.hp-footer-about .hp-footer-accent { margin-top: 16px; margin-right: 16px; }
.hp-body .hp-footer-heading { margin: 0 0 15px; color: #fff; font-family: inherit; font-size: 10px; font-weight: 600; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.hp-footer-links { display: grid; gap: 9px; }
.hp-footer-links a { font-size: 13.5px; line-height: 1.4; overflow-wrap: anywhere; }
.hp-footer-contact .hp-footer-phone { display: block; margin-bottom: 8px; color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -.015em; white-space: nowrap; }
.hp-body .hp-footer-contact p { margin-bottom: 6px; color: #8fa6b4; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.hp-footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; font-weight: 600; }
.hp-footer-legal a, .hp-footer-legal > span:not(:first-child) { text-transform: uppercase; }
/* Porto styles #footer by id (box, white links): reset it for this footer. */
#footer.hp-footer { margin-top: 0; padding: 0; border-top: 0; background: var(--hp-navy-deep); font-size: 13.5px; }
#footer.hp-footer a { color: #8fa6b4; }
#footer.hp-footer a:hover, #footer.hp-footer .hp-footer-label, #footer.hp-footer .hp-footer-phone { color: #fff; }
#footer.hp-footer .hp-footer-accent { color: var(--hp-cyan); }
#footer.hp-footer .hp-footer-accent:hover { color: #fff; }

/* ---------- Motion ---------- */
@keyframes hp-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hp-reveal-pending { opacity: 0; }
.hp-reveal-in { animation: hp-rise .7s cubic-bezier(.16,.84,.3,1) both; }

/* ---------- Responsive ---------- */
@media (max-width: 1249px) {
    .hp-hide-1250 { display: none !important; }
}

@media (max-width: 1149px) {
    .hp-hide-1150 { display: none !important; }
}

@media (max-width: 1099px) {
    .hp-hide-1100 { display: none !important; }
}

@media (min-width: 960px) {
    .hp-hero-slide { min-height: 527px; }
    .hp-hero-dot-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

@media (min-width: 1100px) {
    /* "What we solve" intro in two columns: headline and lead on the left, the second paragraph on the right,
       lined up with the bottom of the lead. */
    .hp-intro--split { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); column-gap: 56px; }
    .hp-intro--split .hp-intro-text { display: contents; }
    .hp-intro--split .hp-intro-heading { grid-column: 1; grid-row: 1; }
    .hp-body .hp-intro--split .hp-intro-text .hp-intro-accent { grid-column: 1; grid-row: 2; margin: 14px 0 0; }
    .hp-intro--split .hp-intro-text p:not(.hp-intro-accent) { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}

@media (min-width: 1200px) {
    .hp-domains { grid-template-columns: repeat(5, minmax(0,1fr)); }
    /* Trust rail on one row in every language: the badges and the validation link wrap their own text instead of
       pushing the figures to a second row (the Spanish and Portuguese badges are too long for one line). */
    .hp-trust-inner { flex-wrap: nowrap; }
    .hp-trust-certs { flex-wrap: nowrap; min-width: 0; }
    .hp-trust-badge { min-width: 0; }
    .hp-trust-badge strong { white-space: normal; line-height: 1.2; }
    .hp-trust-link { min-width: 0; }
    .hp-trust-stats { flex: none; flex-wrap: nowrap; }
}

/* Compact header: the navigation collapses into the menu button whenever its items do not fit
   (narrow screens or longer languages). The is-compact class is set by the script in Header.cshtml. */
.hp-header.is-compact .hp-header-inner { height: 60px; justify-content: space-between; }
.hp-header.is-compact .hp-menu-toggle { width: 44px; height: 44px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.45); border-radius: 3px; background: transparent; }
.hp-header.is-compact .hp-menu-toggle:hover { border-color: #fff; }
.hp-header.is-compact .hp-menu-toggle span[aria-hidden] { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform .25s, opacity .2s; }
.hp-header.is-compact .hp-menu-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(2) { transform: translateY(6.5px) rotate(45deg); }
.hp-header.is-compact .hp-menu-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(3) { opacity: 0; }
.hp-header.is-compact .hp-menu-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(4) { transform: translateY(-6.5px) rotate(-45deg); }
.hp-header.is-compact .hp-nav-panel { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 60px); overflow-y: auto; background: #fff; border-top: 1px solid var(--hp-line); box-shadow: 0 26px 50px -22px rgba(6,22,32,.4); }
.hp-header.is-compact .hp-nav-panel.is-open { display: flex; }
.hp-header.is-compact .hp-nav { display: block; padding: 8px 20px 0; }
.hp-header.is-compact .hp-nav-list { display: block; }
.hp-header.is-compact .hp-nav-trigger { width: 100%; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid #edf2f6; border-radius: 0; color: var(--hp-ink); font-size: 17px; font-weight: 600; }
.hp-header.is-compact .hp-nav-trigger:hover, .hp-header.is-compact .hp-nav-trigger[aria-expanded="true"] { background: none; color: var(--hp-link); }
.hp-header.is-compact .hp-dropdown, .hp-header.is-compact .hp-mega { position: static; max-width: none; max-height: none; padding: 6px 0 12px; border: 0; border-bottom: 1px solid #edf2f6; border-radius: 0; box-shadow: none; overflow: visible; }
.hp-header.is-compact .hp-dropdown a, .hp-header.is-compact .hp-dropdown .is-disabled { padding: 9px 8px; font-size: 15px; }
.hp-header.is-compact .hp-mega .hp-wrap { padding: 0; }
/* In the compact menu the Products panel is a plain list of links; the previews need hover and width. */
.hp-header.is-compact .hp-mega-inner { padding-top: 4px; padding-bottom: 0; }
.hp-header.is-compact .hp-mega-head { margin-bottom: 10px; padding-bottom: 10px; }
.hp-header.is-compact .hp-mega-title, .hp-header.is-compact .hp-mega-main, .hp-header.is-compact button.hp-mega-category { display: none; }
.hp-header.is-compact .hp-mega-body { display: block; }
.hp-header.is-compact .hp-mega-nav { padding-right: 0; border-right: 0; }
.hp-header.is-compact .hp-mega-nav a { width: 100%; margin: 0; padding: 9px 8px; font-size: 15px; }
.hp-header.is-compact .hp-mega-nav .hp-mega-category.is-active { background: none; box-shadow: none; color: var(--hp-ink); }
.hp-header.is-compact .hp-header-actions { display: grid; gap: 10px; padding: 20px; }
.hp-header.is-compact .hp-header-cta { justify-content: center; padding: 15px; background: var(--hp-blue); color: #fff; font-size: 15px; }
.hp-header-search-label { display: none; }
.hp-header.is-compact .hp-header-search { width: auto; height: auto; gap: 9px; padding: 13px; border-color: #dde5ec; color: var(--hp-ink); font-size: 15px; font-weight: 600; }
.hp-header.is-compact .hp-header-search:hover { background: #f3f7fa; color: var(--hp-link); }
.hp-header.is-compact .hp-header-search-label { display: inline; }
/* The account menu stays a floating dropdown in the utility bar, whatever the header layout. */
.hp-header.is-compact .hp-account .hp-dropdown { position: absolute; padding: 8px; border: 1px solid var(--hp-line); border-top: 2px solid var(--hp-blue); border-radius: 0 0 3px 3px; box-shadow: 0 24px 48px -20px rgba(6,22,32,.4); }

@media (max-width: 959px) {
    .hp-hero-dot-label { display: none; }
    .hp-hero-dots { min-width: 0; }
}

@media (max-width: 760px) {
    .hp-hero-slide { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
    .hp-hero-visual { width: 100%; max-width: 420px; justify-self: start; margin-right: 0 !important; }
    .hp-trust-divider { display: none; }
    .hp-trust-stats { width: 100%; justify-content: space-between; }
}

@media (max-width: 600px) {
    .hp-body { --hp-gutter: 20px; --hp-section-space: 24px; }
    .hp-utility-inner { padding-top: 6px; padding-bottom: 6px; }
    .hp-brand img { height: 34px; }
    .hp-release-inner .hp-spacer { display: none; }
    .hp-selection-panel { padding: 20px; }
    .hp-btn { white-space: normal; text-align: center; }
    .hp-training-copy, .hp-users-card { padding: 22px; }
    .hp-hero-visual { display: none; }
    .hp-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 20px; padding-top: 40px; }
    .hp-footer-about, .hp-footer-contact { grid-column: 1 / -1; }
    .hp-footer-legal .hp-spacer { flex-basis: 100%; height: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hp-body *, .hp-body *::before, .hp-body *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hp-reveal-pending { opacity: 1; }
}
