/* =========================================================
   MGT Europe — Core Stylesheet
   Scope-first, no tail overrides. Comments are technical only.
   Structure:
   1) Tokens & Base
   2) Header: contact bar, logo bar, primary nav, feature pills
   3) Main layout: breadcrumbs, left accordion, article, cards, rail
   4) Brand websites section
   5) Footer ribbon + Footer
   6) Cookies banner
   7) Responsive rules
   ========================================================= */

/* ------------------------------
   1) Design tokens & Base
   ------------------------------ */

:root {
    --nav: #0e1f5c;
    --nav-acc: #021277;
    --nav-dk: #0a1746;
    --blue: #142a80;
    --purple: #4b0082;
    --fucsia: mediumvioletred;
    --ink: #1c2437;
    --ink-2: #323c41;
    --muted: #7e8797;
    --green: #0f7a4a;
    --green-soft: rgba(15, 122, 74, .12);
    --line: #dfe5f0;
    --bg: #ffffff;
    --chip: #e9eefc;
    --max: 1440px;
    --g: clamp(14px, 4vw, 24px);
    --r: 12px;
    --sh: 0 10px 24px rgba(9, 20, 60, .08);
    --pill-h: 46px;
    --footer-max: 1120px;
    /* Footer width lock for perfect centering */
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    letter-spacing: 1px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Layout helper */
.wrap {
    max-width: var(--max);
    margin: auto;
    padding: 0 var(--g);
}

/* Small utility (used in footer email block) */
.mt-6 {
    margin-top: 6px;
}

/* Visually-hidden helper for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Subtle inline hint (used inside specs) */
.hint {
    opacity: .75;
    font-size: .95em;
}

/* Badge */
.badge {
    background: var(--fucsia);
    color: #fff;
    padding: 1px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    display: inline-block;
}

/* Accessible skip link (appears on focus) */
.skip-link {
    position: fixed;
    left: 8px;
    top: 8px;
    padding: 8px 12px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    z-index: 100;
    text-decoration: none;
    outline: none;
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
    transition: transform .15s ease, opacity .15s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ------------------------------
   2) Header
   ------------------------------ */

/* Contact strip */
.contactbar {
    background: #f7f9fc;
    border-bottom: 1px solid var(--line);
    font-weight: 500;
    font-size: 14px;
    color: #1b2550;
}

.contactbar .wrap {
    padding: 8px var(--g);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.contactbar .left,
.contactbar .right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contactbar .left {
    justify-content: flex-start;
}

.contactbar .center {
    text-align: center;
    font-weight: 500;
}

.contactbar .right {
    justify-content: flex-end;
}

.contactbar a:hover {
    color: #4b148c;
}

/* Logo bar */
.logobar {
    background: #fff;
}

.logobar .wrap {
    padding: 28px var(--g);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 72px;
    width: auto;
    margin: 0 auto;
    image-rendering: -webkit-optimize-contrast;
}

/* Utility nav (scoped to logo bar only) */
.logobar .utility {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.logobar .utility a {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--ink-2);
    border: 1px solid var(--line);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    box-shadow: 0 4px 10px rgba(9, 20, 60, .06);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.logobar .utility a:hover,
.logobar .utility a:focus-visible {
    background: var(--purple);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(9, 20, 60, .12);
    outline: none;
}

/* Primary navigation (sticky) */
.mainnav {
    background: var(--nav);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 40;
}

.mainnav .wrap {
    padding: 0 var(--g);
}

.tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
}

.tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--nav);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background .18s ease;
}

.tab:hover {
    background: var(--purple);
}

.tab+.tab {
    border-left: .5px solid rgba(255, 255, 255, .88);
}

.tab .label {
    text-align: center;
    white-space: normal;
}

.dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 4px);
    z-index: 50;
    background: #0b1842;
    border-top: 1px solid rgba(255, 255, 255, .05);
    display: none;
}

.tab:hover .dropdown,
.tab.open .dropdown {
    display: block;
}

.dropdown .inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 16px var(--g) 18px;
    display: flex;
    gap: 20px;
}

.drop-item {
    display: block;
    padding: 10px 12px;
    color: #cfd8ff;
    font-size: 14px;
    border-radius: 2px;
    transition: background .2s ease, padding-left .2s ease;
}

.drop-item:hover {
    background: rgba(255, 255, 255, .08);
    padding-left: 16px;
}

.nav-underline {
    height: 1px;
    background: rgba(255, 255, 255, .18);
}

/* Feature pills */
.features {
    background: #f7f9ff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.features .wrap {
    padding: 18px var(--g);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: var(--pill-h);
    padding: 8px 20px;
    gap: 2px;
    background: var(--chip);
    color: #243159;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid rgba(20, 42, 128, .08);
}

.pill .line {
    display: block;
    line-height: 1.25;
}

.pill .line:nth-child(2) {
    word-break: keep-all;
}

/* ------------------------------
   3) Main layout & components
   ------------------------------ */

.wrap-main {
    max-width: var(--max);
    margin: auto;
    padding: 24px var(--g);
    display: grid;
    gap: 24px;
    grid-template-columns: 300px 1fr 280px;
    grid-template-areas:
        ". crumbs crumbs"
        "left main main"
        "left rail  rail";
}

/* Breadcrumbs (inside main grid) */
.breadcrumbs.in-main {
    grid-area: crumbs;
    background: transparent;
    padding: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.breadcrumbs a {
    color: #5e6a86;
    font-weight: 500;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .sep {
    margin: 0 8px;
    opacity: .55;
}

/* Breadcrumbs — current page emphasis without background */
.breadcrumbs .current {
    color: #1b2550;
    font-weight: 700;
    letter-spacing: .02em;
}

/* Left accordion */
.wrap-main>aside:first-of-type {
    grid-area: left;
}

.accordion {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.acc-item+.acc-item {
    border-top: 1px solid var(--line);
}

.acc-hd {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    background: #f5f7fd;
    cursor: pointer;
}

.acc-hd .car {
    margin-left: auto;
    transition: transform .2s;
}

.acc-hd[aria-expanded="true"] .car {
    transform: rotate(90deg);
}

.acc-panel {
    display: none;
}

.acc-hd[aria-expanded="true"]+.acc-panel {
    display: block;
}

.acc-panel a {
    display: block;
    padding: 10px 16px;
    color: #22305a;
}

.acc-panel a:hover {
    background: #eef3ff;
}

.acc-hd .badge {
    margin-left: auto;
}

/* keep badge aligned */

/* Article */
.wrap-main>section {
    grid-area: main;
}

.article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 26px;
    box-shadow: var(--sh);
    text-align: justify;
    font-size: 18px;
}

.article p {
    overflow-wrap: break-word;
}

/* ------------------------------
   Article text justification
   Keep UI boxes left-aligned to avoid gaps
   ------------------------------ */

/* Default inside article: left */
.article {
    text-align: left;
}

/* Justify only “editorial” paragraphs (normal text blocks) */
.article>p {
    text-align: justify;
    text-justify: inter-word;
}

/* Do NOT justify UI boxes (these are the ones creating “holes”) */
.article .lead-box,
.article .lead-box *,
.article .bullets,
.article .bullets *,
.article .cards,
.article .cards *,
.article .card,
.article .card *,
.article .spec-card,
.article .spec-card *,
.article .spec-table,
.article .spec-table *,
.article .cta-row,
.article .cta-row * {
    text-align: left;
}


/* About/article: default text links must look like links */
.article p a:not(.link-pill):not(.btn) {
    color: #213076;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
    font-weight: 600;
}

.article p a:not(.link-pill):not(.btn):hover {
    color: var(--purple);
}

.article p a:not(.link-pill):not(.btn):focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Article media: product images (category lists) */
.article .product-line {
    padding: 26px 0;
    padding: 40px 0 34px;
}

.article .product-line+.product-line {
    margin-top: 18px;
    padding-top: 34px;
    border-top: 0;
    position: relative;
}

.article .product-line+.product-line::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1.6px;
    background: linear-gradient(to right,
            transparent,
            rgba(14, 31, 92, .25),
            transparent);
}

/* Two-column product layout (text + media) */
.article .product-line .two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    /* fixed media rail */
    gap: 22px;
    align-items: start;
}

.article .product-line .two-col>figure {
    margin: 0;
    justify-self: end;
}

/* Product figure: allow multiple stacked images */
.article .product-line .two-col>figure.prod-fig {
    display: grid;
    gap: 12px;
    justify-items: center;
}

.article .product-line .two-col img.prod-img--sm {
    width: 100%;
    max-width: 360px;
    /* smaller image = no wasted right space */
    height: auto;
    display: block;
}

/* Category product rows: stack earlier to avoid cramped 2-col inside narrow main column */
@media (max-width: 1400px) {
    .article .product-line .two-col {
        grid-template-columns: 1fr;
    }

    .article .product-line .two-col>figure {
        justify-self: center;
        margin-top: 10px;
    }

    .article .product-line .two-col img.prod-img--sm {
        max-width: 420px;
        margin: 0 auto;
    }
}


/* Product list: tighten CTA spacing inside product blocks only */
.article .product-line .cta-row {
    margin-top: 16px;
}

/* =========================================================
   Product flags (New / Preliminary) — category product rows
   ========================================================= */
.product-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 12px;
}

.flag {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 4px 10px rgba(9, 20, 60, .06);
}

.flag-new {
    background: rgba(16, 122, 74, 0.10);
    border-color: rgba(16, 122, 74, 0.28);
    color: #0f7a4a;
}

.flag-prelim {
    background: rgba(75, 0, 130, .10);
    border-color: rgba(75, 0, 130, .22);
    color: var(--purple);
}

.flag-stock {
    background: rgba(14, 31, 92, 0.08);
    border-color: rgba(14, 31, 92, 0.18);
    color: #0e1f5c;
}

.flag-feature {
    background: rgba(14, 31, 92, 0.08);
    border-color: rgba(14, 31, 92, 0.18);
    color: #0e1f5c;
}

@media (max-width:420px) {
    .flag {
        height: auto;
        padding: 6px 10px;
        line-height: 1.2;
    }
}

/* =========================================================
   Product flags (Warning)
   ========================================================= */
.product-note--warning {
    margin: 16px 0 20px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff7e6;
    border: 1px solid #f0d9a7;
    color: #5f4b1f;
    font-size: 15px;
    line-height: 1.6;
}

.product-status-note {
    display: block;
    margin: 12px 0 18px;
    padding: 14px 16px 14px 18px;
    border-radius: 12px;
}

.product-status-note--amber {
    background: #fff7e6;
    border: 1px solid #f0d9a7;
    border-left: 5px solid #c89b2f;
    box-shadow: 0 8px 18px rgba(80, 60, 20, 0.06);
}

.product-status-note--amber .product-status-label {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(200, 155, 47, 0.14);
    color: #5f4b1f;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.product-status-note--amber .product-status-copy {
    display: block;
    color: #5f4b1f;
    font-size: 15px;
    line-height: 1.5;
    /*font-weight: 600;*/
    letter-spacing: 0.01em;
}

.product-status-note--amber .product-status-copy strong {
    color: #5f4b1f;
    font-weight: 600;
}


/* Inline figure (secondary images): controlled and smaller */
.article figure.figure-inline {
    margin: 18px 0 0;
    display: flex;
    justify-content: center;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.article figure.figure-inline img.prod-img--sm {
    width: 100%;
    max-width: 420px;
    /* keep it neat */
    height: auto;
    display: block;
}

/* ------------------------------
   Product pages: image stage for main + secondary photos
   Keeps a consistent visual language across single product pages.
   ------------------------------ */

/* Main product layout only (direct child .two-col inside .article) */
.article>.two-col {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 22px;
    align-items: start;
}

/* Give the main figure a clean "stage" */
.article>.two-col>figure,
.article figure.figure-inline {
    margin: 18px 0 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--sh);
    padding: 12px;
    display: grid;
    place-items: center;
}

/* Make the secondary figure look intentional (no big divider line) */
.article figure.figure-inline {
    padding-top: 12px;
    border-top: 0;
}

/* Normalize both images so they feel like a pair */
.article>.two-col>figure img.prod-img--sm,
.article figure.figure-inline img.prod-img--sm {
    width: 100%;
    max-width: 560px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Optional: tighter spacing between the two photo blocks */
.article figure.figure-inline {
    margin-top: 14px;
}

/* Responsive: stack nicely */
@media (max-width: 980px) {
    .article>.two-col {
        grid-template-columns: 1fr;
    }

    .article>.two-col>figure {
        margin-top: 14px;
    }
}

/* Equal-size image stages for product pages */
.article>.two-col>figure,
.article figure.figure-inline {
    min-height: 300px;
    /* adjust: 280–360 depending on taste */
}

/* Keep both images visually consistent inside the stage */
.article>.two-col>figure img.prod-img--sm,
.article figure.figure-inline img.prod-img--sm {
    max-height: 260px;
    /* must be smaller than min-height minus padding */
    width: 100%;
    object-fit: contain;
}



/* prevent long token overflow */

h1 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #243159;
}

h2 {
    margin: 26px 0 10px;
    font-size: 18px;
    color: #22305a;
}

p {
    margin: 0 0 12px;
}

.bullets {
    margin: 8px 0 0;
    padding-left: 20px;
}

/* Section title (for cards) */
.section-title {
    margin: 22px 0 10px;
    color: #22305a;
    font-size: 18px;
    position: relative;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    border-radius: 2px;
    background: var(--purple);
    margin-top: 8px;
    opacity: .9;
}

/* Technical specifications (readable tables) */
.specs-readable {
    display: grid;
    gap: 1.25rem;
}

.spec-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: var(--sh);
}

.spec-h3 {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .2px;
    color: #22305a;
}

/* Base table styling */
.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 16px;
    line-height: 1.5;
}

.spec-table th,
.spec-table td {
    padding: .65rem .75rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

/* Zebra rows for better scan */
.spec-table tbody tr:nth-child(odd) td {
    background: #fafbff;
}

.spec-table tbody tr:nth-child(odd) th {
    background: #f2f5ff;
}

/* Header cells look like labels */
.spec-table th {
    background: #f6f8ff;
    color: #1f2633;
    font-weight: 600;
    text-align: left;
}

/* Remove top border on first row */
.spec-table tbody tr:first-child th,
.spec-table tbody tr:first-child td {
    border-top: 0;
}

.cards.cards-separated {
    margin-top: 12px;
}

/* Sub-category cards — subtle top-left accent */
.cards.cards-separated .card {
    position: relative;
    overflow: hidden;
}

.cards.cards-separated .card::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 18px;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--purple);
    opacity: .9;
}

.cards.cards-separated .card-title {
    padding-top: 10px;
}

/* Soft lead box */
.section-break {
    margin: 28px 0 14px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 22px;
}

.lead-box {
    background: #f7f9ff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px;
    margin: 10px 0 16px;
}

.lead-title {
    display: block;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nav);
    margin-bottom: 6px;
}

.lead-box--notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.lead-icon {
    font-size: 16px;
    color: var(--purple);
    margin-top: 2px;
}

.article .lead-box a {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

.lead-box--hero {
    margin: 1.5rem 0 2rem;
    padding: 1.6rem 1.8rem;
    font-weight: 600;
    border-left: 6px solid var(--fucsia);
    background: linear-gradient(to right,
            rgba(199, 21, 133, 0.06),
            rgba(199, 21, 133, 0.02));
}

.lead-box--hero {
    margin: 1.2rem 0 1.8rem;
    padding: 1.4rem 1.6rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-left: 6px solid var(--fucsia);
    background: rgba(0, 0, 0, 0.02);
}


/* =========================================================
   Homepage announcement (New product / In stock) — HOMEPAGE ONLY
   Layout: Availability LEFT (300px) + Content RIGHT (fluid)
   ========================================================= */

.announce {
    margin: 42px 0 0;
}

.announce .wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--g);
}

/* Outer container */
.announce-card {
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: var(--sh);
    background: #fff;
    overflow: hidden;

    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-areas: "avail content";
}

/* LEFT column: availability panel */
.announce-right {
    grid-area: avail;
    padding: 16px 18px;
    background: #fff;
    color: var(--ink);
    border-right: 1px solid var(--line);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* RIGHT column: main message */
.announce-left {
    grid-area: content;
    padding: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

/* Badges row */
.announce-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
}

/* Badge pill base */
.pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 16px;
    border-radius: 999px;

    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1;

    background: #fff;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px rgba(9, 20, 60, 0.06);
}

.pill-new {
    background: rgba(16, 122, 74, 0.10);
    border-color: rgba(16, 122, 74, 0.28);
    color: #0f7a4a;
}

.pill-prelim {
    background: rgba(75, 0, 130, 0.10);
    border-color: rgba(75, 0, 130, 0.28);
    color: var(--purple);
}

.pill-stock {
    background: rgba(14, 31, 92, 0.08);
    border-color: rgba(14, 31, 92, 0.18);
    color: #0e1f5c;
}

/* Category pill (white tag style) */
.announce-tags {
    margin: 0 0 12px;
}

.announce-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    height: 30px;
    padding: 0 12px;
    border-radius: 999px;

    background: #fff;
    border: 1px solid rgba(14, 31, 92, 0.18);
    box-shadow: 0 3px 8px rgba(9, 20, 60, 0.05);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #213076;
    text-decoration: none;
}

.announce-tag:hover,
.announce-tag:focus-visible {
    border-color: rgba(75, 0, 130, 0.35);
    box-shadow: 0 8px 18px rgba(9, 20, 60, 0.10);
    outline: none;
}

.announce-tag:hover,
.announce-tag:focus-visible {
    color: var(--purple);
    transform: translateY(-1px);
    box-shadow: rgba(9, 20, 60, 0.1) 0px 10px 24px;
    background: rgb(247, 249, 255);
    outline: none;
}

/* Title (make it clearly larger again) */
.announce-title {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.18;
    letter-spacing: 0.01em;
    color: #22305a;
}

.announce-text {
    margin: 0 0 14px;
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.6;
}

/* CTA row */
.announce-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

/* CTA buttons */
.announce-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 2px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--nav);

    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 13px;

    box-shadow: 0 4px 10px rgba(9, 20, 60, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.announce-btn:hover,
.announce-btn:focus-visible {
    background: var(--purple);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(9, 20, 60, 0.12);
    outline: none;
}

.announce-btn.primary {
    background: var(--purple);
    color: #fff;
    border-color: transparent;
}

.announce-btn.primary:hover,
.announce-btn.primary:focus-visible {
    background: var(--nav);
}

/* Stock card */
.stock-card {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(14, 31, 92, 0.14);
    border-radius: 12px;
    padding: 14px;
    box-shadow: var(--sh);
    border-left: 3px solid var(--green);
}

.stock-kicker {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--purple);
    margin-bottom: 8px;
}

.stock-title {
    font-size: 26px;
    font-weight: 900;
    margin: 0;
    line-height: 1.1;
    color: #22305a;
}

.stock-sub {
    margin-top: 6px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 13px;
    color: #22305a;
    opacity: 0.9;
}

.stock-note {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}

/* Responsive */
@media (max-width: 980px) {
    .announce-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "avail"
            "content";
    }

    .announce-right {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        justify-content: flex-start;
    }

    .announce-left {
        padding: 22px;
    }
}

@media (max-width: 420px) {
    .pill-badge {
        height: auto;
        padding: 8px 12px;
        font-size: 12px;
        line-height: 1.2;
    }

    .announce-title {
        font-size: 22px;
    }

    .announce-btn {
        width: 100%;
        justify-content: space-between;
    }
}

/* Product gallery */
.product-gallery {
    display: grid;
    gap: 14px
}

.product-gallery .stage {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--sh);
    padding: 10px;
    display: grid;
    place-items: center
}

.product-gallery .stage img {
    max-width: 560px;
    width: 100%;
    height: auto;
    object-fit: contain
}

.product-gallery .stage figcaption {
    margin-top: 6px;
    font-size: 14px;
    color: var(--muted);
    text-align: center
}

.product-gallery .thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 10px
}

.product-gallery .thumb {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 4px;
    cursor: pointer;
    transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease
}

.product-gallery .thumb img {
    display: block;
    width: 100%;
    height: 64px;
    object-fit: contain
}

.product-gallery .thumb:hover {
    transform: translateY(-1px);
    box-shadow: var(--sh)
}

.product-gallery .thumb[aria-current="true"] {
    border-color: var(--purple);
    box-shadow: 0 0 0 2px rgba(75, 0, 130, .15) inset
}

/* ------------------------------
   Product pages: FAQ (compact accordion)
   Place after Highlights, before Technical overview.
   ------------------------------ */

.faq-block {
    margin: 14px 0 18px;
}

details.faq-compact {
    background: #f7f9ff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--sh);
    overflow: hidden;
}

details.faq-compact>summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #22305a;
}

details.faq-compact>summary::-webkit-details-marker {
    display: none;
}

details.faq-compact>summary::after {
    content: "›";
    margin-left: auto;
    transform: rotate(90deg);
    transition: transform .18s ease;
    opacity: .85;
}

details.faq-compact[open]>summary::after {
    transform: rotate(270deg);
}

.faq-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(75, 0, 130, .10);
    color: var(--purple);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.faq-title {
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.faq-meta {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.faq-body {
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(0, 0, 0, .06);
    background: #fff;
}

.faq-qa+.faq-qa {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}

.faq-q {
    margin: 0 0 6px;
    font-size: 15px;
    color: #22305a;
}

.faq-a {
    margin: 0;
    font-size: 15px;
    color: var(--ink-2);
}

/* Small screens: keep it tight */
@media (max-width:680px) {
    details.faq-compact>summary {
        padding: 10px 12px;
    }

    .faq-body {
        padding: 10px 12px 12px;
    }
}

/* Fix "stuck" feeling: give CTAs a little breathing room when FAQ follows */
.cta-row {
    margin-bottom: 8px;
}

/* Article: hero media + strapline */
.article .hero-media {
    display: grid;
    place-items: center;
    margin: 10px 0 16px
}

.article .hero-media img {
    max-width: 620px;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--sh);
    background: #fff
}

.article .strapline {
    margin: 12px auto 22px;
    padding: 12px 16px;
    background: #f6f8ff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--purple);
    border-radius: 10px;
    font-weight: 700;
    color: #22305a;
    text-align: center;
    max-width: 820px
}

/* Small note helper (used under bullet lists / specs) */
.note {
    display: block;
    margin: 6px 0 0;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--muted);
}

/* Optional: emphasised text inside notes */
.note strong {
    color: var(--ink);
}

/* Cards grid */
.cards {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    align-items: stretch;
}

/* =========================================================
   Homepage: Main categories tiles (professional grid)
   ========================================================= */

.cat-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.cat-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--sh);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cat-card:hover,
.cat-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(75, 0, 130, .28);
    box-shadow: 0 14px 34px rgba(9, 20, 60, .12);
    outline: none;
}

.cat-top {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
}

.cat-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 6px 16px rgba(9, 20, 60, .06);
    color: var(--purple);
    font-weight: 900;
    font-size: 18px;
    flex: 0 0 auto;
}

.cat-ico {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
    border: 1px solid rgba(20, 42, 128, .12);
    box-shadow: 0 6px 14px rgba(9, 20, 60, .08);
    color: var(--purple);
    font-weight: 900;
    font-size: 18px;
}

.cat-ico {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center,
            rgba(75, 0, 130, .10) 0%,
            rgba(75, 0, 130, .05) 60%,
            transparent 70%);
    border: 1px solid rgba(20, 42, 128, .18);
    box-shadow: 0 6px 14px rgba(9, 20, 60, .08);
    color: var(--purple);
    font-weight: 800;
    font-size: 18px;
}

.cat-card {
    position: relative;
}

.cat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    border-radius: 2px;
    background: var(--purple);
}

.cat-name {
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 15px;
    color: #22305a;
    line-height: 1.25;
}

.cat-desc {
    margin: 0;
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.6;
}

.cat-cta {
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--nav);
    justify-self: start;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 4px 10px rgba(9, 20, 60, .06);
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

.cat-card:hover .cat-cta,
.cat-card:focus-visible .cat-cta {
    background: var(--purple);
    color: #fff;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1100px) {
    .cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .cat-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cat-card {
        padding: 16px;
    }

    .cat-name {
        font-size: 14px;
    }
}

/* Detect / Track / Defeat steps */
.steps3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 18px 0
}

.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    box-shadow: var(--sh)
}

.step h3 {
    margin: 8px 0 6px;
    font-size: 16px;
    color: #22305a
}

.step p {
    margin: 0;
    font-size: 15px;
    color: var(--ink-2)
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 6px auto 8px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f7f9ff;
    border: 1px solid var(--line);
    object-fit: contain
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--sh);
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: 12px;
}

.card-title {
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
}

/* =========================================================
   Category product card — featured clickable entry
   ========================================================= */

.card-product--featured {
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card-product--featured:hover,
.card-product--featured:focus-within {
    transform: translateY(-2px);
    border-color: rgba(75, 0, 130, .28);
    box-shadow: 0 14px 34px rgba(9, 20, 60, .12);
}

.card-link-wrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    text-decoration: none;
    min-height: 100%;
}

.card-link-wrap:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 3px;
    border-radius: 14px;
}

.card-product-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background:
        radial-gradient(circle at center,
            rgba(20, 42, 128, .06) 0%,
            rgba(20, 42, 128, .02) 55%,
            transparent 100%);
    border-right: 1px solid var(--line);
}

.card-product-media img {
    width: 100%;
    max-width: 220px;
    max-height: 180px;
    object-fit: contain;
}

.card-product-body {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: 12px;
    padding: 20px 22px;
}

.card-product-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(75, 0, 130, .10);
    color: var(--purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid rgba(75, 0, 130, .14);
}

.card-product .card-title {
    margin: 0;
    text-align: left;
    font-size: 22px;
    line-height: 1.25;
    color: #22305a;
    text-transform: none;
    letter-spacing: .01em;
}

.card-product .card-cta {
    margin-top: 4px;
}

.btn-ghost {
    background: #fff;
    color: var(--nav);
    border: 1px solid var(--line);
    box-shadow: 0 4px 10px rgba(9, 20, 60, .06);
}

.card-product--featured:hover .btn-ghost,
.card-product--featured:focus-within .btn-ghost {
    background: var(--purple);
    color: #fff;
    border-color: transparent;
}

/* Responsive */
@media (max-width: 860px) {
    .card-link-wrap {
        grid-template-columns: 1fr;
    }

    .card-product-media {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 20px 20px 10px;
    }

    .card-product-media img {
        max-width: 260px;
        max-height: 200px;
    }

    .card-product-body {
        padding: 18px;
    }

    .card-product .card-title {
        font-size: 20px;
    }
}

.card-media {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f7f9ff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.card-sub h3 {
    margin: 4px 0 0;
    text-align: center;
    font-size: 18px;
    color: #213076;
    font-weight: 600;
}

.card-sub h3:hover {
    background: #f7f9ff;
    font-weight: 700;
}

.card-cta {
    text-align: right;
}

.cta-right {
    text-align: right;
    margin: 8px 0 0;
}

.card-bullets {
    margin: 10px 0 0;
    padding-left: 18px;
}

.card-bullets li {
    margin: 6px 0;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    margin-top: 12px;
    padding: 2px 12px;
    font-weight: 400;
    background: var(--purple);
    color: #fff;
    border-radius: 999px;
    font-size: 16px;
    transition: background .2s ease, padding-left .2s ease;
}

.btn:hover {
    background: var(--nav);
    font-weight: 500;
}

/* Right rail */
.wrap-main>aside.rail {
    grid-area: rail;
}

.rail {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.widget {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
}

.widget h4 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #243159;
}

/* About: ADS membership card */
.affiliation-card {
    margin: 18px auto;
    width: fit-content;
    /* Keeps card as tight as the logo */
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: var(--sh);
    text-align: center;
}

.affiliation-card img {
    display: block;
    max-width: 100%;
    height: auto;
}

.affiliation-card .affiliation-link:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 4px;
    border-radius: 8px;
}

.affiliation-card:hover {
    transform: translateY(-1px);
}

.affiliation-card figcaption {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
}

/* About/article: CTA row */
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 44px;
}

/* Pill-style links */
.link-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--nav);
    border: 1px solid var(--line);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(9, 20, 60, .06);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.link-pill:hover,
.link-pill:focus-visible {
    background: var(--purple);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(9, 20, 60, .12);
    outline: none;
}

.link-pill .arr {
    font-weight: 800;
    line-height: 1;
}

.article.contact .lead {
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0.5rem 0 1.5rem;
    max-width: 72ch;
}

.contact-main {
    margin-top: 10px;
}

.contact-sub {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.contact-sub .contact-card+.contact-card {
    margin-top: 32px;
}

.contact-card--primary {
    max-width: 620px;
    padding: 18px 20px;
    background: #f9fbff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--nav);
    box-shadow: var(--sh);
}

.contact-card--secondary {
    max-width: 620px;
    padding: 14px 18px;
    background: #fcfcff;
    border: 1px solid rgba(75, 0, 130, 0.10);
    border-left: 2px solid rgba(75, 0, 130, 0.55);
    box-shadow: 0 4px 10px rgba(9, 20, 60, 0.04);
}

.contact-card--secondary h2 {
    font-size: 19px;
    margin-bottom: 8px;
}

.contact-card--primary h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-card--secondary .org:last-of-type {
    font-weight: 600;
    color: var(--muted);
    font-size: 0.96rem;
}

.contact-sub-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--purple);
}

.contact-card {
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--sh);
}

.contact-main .contact-card {
    max-width: 620px;
    border-left: 4px solid var(--nav);
}

.contact-card h2 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #22305a;
}

.contact-card .org {
    margin: 0 0 0.35rem;
    font-weight: 700;
    color: var(--ink);
}

.contact-card address {
    margin: 0 0 0.7rem;
    font-style: normal;
    line-height: 1.5;
    color: var(--ink-2);
}

.contact-lines {
    margin: 0;
}

.contact-lines .row {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 8px;
    align-items: baseline;
    margin: 0.22rem 0;
}

.contact-lines dt {
    font-weight: 700;
    color: rgba(0, 0, 0, 0.68);
}

.contact-lines dd {
    margin: 0;
}

.contact-card a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.contact-card a:hover,
.contact-card a:focus-visible {
    border-bottom-color: currentColor;
    outline: none;
}

.map-link {
    margin: 0.9rem 0 0;
}

@media (max-width: 680px) {

    .contact-main .contact-card,
    .contact-sub .contact-card {
        max-width: 100%;
    }
}

/* ------------------------------
   4) Brand websites section
   ------------------------------ */

.brand-sites {
    border-top: 1px solid var(--line);
    background: #f9fbff;
}

.brand-sites .wrap {
    padding: 26px var(--g) 70px;
}

.brand-sites .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.brand-sites .title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #22305a;
    text-transform: uppercase;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.brand-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--sh);
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}

.brand-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(9, 20, 60, .12);
}

.brand-top {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
}

.brand-logo {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #f0f4ff;
    border: 1px solid var(--line);
    overflow: hidden;
}

.brand-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.brand-logo:empty::after {
    content: "MGT";
    font-weight: 800;
    color: var(--nav);
}

.brand-name {
    font-weight: 700;
    font-size: 18px;
    color: #243159;
}

.brand-note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
}

.brand-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.brand-chip {
    display: inline-block;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 999px;
    background: var(--chip);
    color: #243159;
    border: 1px solid rgba(20, 42, 128, .10);
}

.brand-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.brand-site {
    font-size: 13px;
    color: #213076;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.brand-site::before {
    content: "◦";
    font-weight: 800;
    color: var(--nav);
}

.brand-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 999px;
    background: var(--purple);
    color: #fff;
}

.brand-btn:hover {
    background: var(--nav);
}

/* ------------------------------
   5) Footer ribbon + Footer
   ------------------------------ */

.foot-ribbon {
    overflow: hidden;
    background: var(--nav);
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.foot-ribbon .slide-track {
    display: inline-block;
    animation: scroll-left 50s linear infinite;
}

.foot-ribbon .slide-track span {
    display: inline-block;
    padding: 12px 24px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.foot-ribbon:hover .slide-track {
    animation-play-state: paused;
}

footer {
    background: var(--nav-dk);
    color: #e6ecff;
}

footer .wrap {
    padding: 32px var(--g) 20px;
    display: grid;
    place-items: center;
}

.footer-grid {
    width: min(100%, var(--footer-max));
    display: grid;
    grid-template-columns: 2fr 1fr;
    column-gap: 24px;
    align-items: start;
}

.product-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 12px;
}

.foot-col h5 {
    margin: 0 0 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #cfd8ff;
    font-weight: 600;
}

.foot-col a {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    color: #e6ecff;
    opacity: .9;
    line-height: 1.35;
}

.foot-col a:hover {
    font-weight: 600;
}

.contact-list .contact-line+.contact-line {
    margin-top: 6px;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.icon svg {
    fill: currentColor;
    width: 18px;
    height: 18px;
}

.copyright {
    width: min(100%, var(--footer-max));
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    text-align: center;
    font-size: 12px;
    color: #c9d2ff;
}

/* Tighten badge inside footer links only */
.foot-col a .badge {
    margin-left: 6px;
    padding: 1px 8px;
    font-size: 11px;
    vertical-align: middle;
}

/* Legal links */
.legal-links {
    margin-top: 8px;
    font-size: 12px;
    color: #cfd8ff;
    text-align: center;
}

.legal-links a {
    color: #e6ecff;
    opacity: .95;
}

.legal-links a:hover {
    font-weight: 600;
}

/* ------------------------------
   6) Cookies banner
   ------------------------------ */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: var(--nav-dk);
    color: #e6ecff;
    border-top: 1px solid rgba(255, 255, 255, .15);
    display: none;
}

.cookie-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px var(--g);
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 8px;
}

.cookie-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
}

.cookie-accept {
    background: var(--nav);
    color: #fff;
    border-color: transparent;
}

.cookie-btn:hover {
    filter: brightness(0.97);
}

/* ------------------------------
   7) Responsive rules
   ------------------------------ */

/* ≤1100px: minor logo tightening */
@media (max-width:1100px) {
    .logobar .wrap {
        padding: 20px var(--g) 22px;
    }

    .logo img {
        height: 64px;
    }
}

/* 641–991px: one brand per row (avoid cramped layout) */
@media (min-width:641px) and (max-width:991px) {
    .brand-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

/* 992–1024px: keep three columns */
@media (min-width:992px) and (max-width:1024px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .article img.prod-img--sm {
        max-width: 360px
    }
}

/* ≤980px: single-column main, horizontal-scrolling tabs, hide dropdowns */
@media (max-width:980px) {
    .wrap-main {
        grid-template-columns: 1fr;
        grid-template-areas:
            "crumbs"
            "left"
            "main"
            "rail";
    }



    .product-gallery .stage img {
        max-width: 520px
    }

    .steps3 {
        grid-template-columns: 1fr
    }

    .article .product-line .two-col {
        grid-template-columns: 1fr;
    }

    .article .hero-media img {
        max-width: 520px
    }

    .tabs {
        display: flex;
        gap: 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }

    .tab {
        flex: 0 0 auto;
        padding: 10px 12px;
        font-size: 13px;
        scroll-snap-align: start;
    }

    .tab .badge {
        display: none;
    }

    .dropdown {
        display: none !important;
    }

    .features .wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo img {
        height: 60px;
    }

}

/* ≤860px: footer stacks; center links; tighten lists */
@media (max-width:860px) {
    .footer-grid {
        grid-template-columns: 1fr;
        row-gap: 14px;
    }

    .product-columns {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .foot-col {
        text-align: center;
    }

    .product-columns .foot-col:nth-child(2) h5 {
        display: none;
    }

    .contact-line {
        justify-content: center;
    }
}


/* ≤680px: hide tabs, single-column features, compact bars */
@media (max-width:680px) {
    .tabs {
        display: none;
    }

    .product-gallery .stage img {
        max-width: 92vw
    }

    .product-gallery .thumb img {
        height: 60px
    }

    .article p {
        text-align: left;
    }

    .article img.prod-img--sm {
        max-width: 92vw
    }

    .article .hero-media img {
        max-width: 92vw
    }

    /* better legibility on small screens */
    .features .wrap {
        grid-template-columns: 1fr;
    }

    .logo img {
        height: 52px;
    }

    .logobar .utility a {
        font-size: 12px;
        padding: 7px 12px;
    }

    /* Contact bar mobile layout
       Prevent awkward line breaks in the center tagline on narrow screens
       and improve spacing/legibility on iPhone-sized devices */
    .contactbar {
        font-size: 13px;
    }

    .contactbar .wrap {
        grid-template-columns: 1fr;
        row-gap: 6px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .contactbar .left,
    .contactbar .right {
        justify-content: center;
    }

    .contactbar .center {
        max-width: 24ch;
        margin: 0 auto;
        line-height: 1.35;
        text-align: center;
        text-wrap: balance;
    }

    /* Contact page: stack cards on small screens */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Specs table: stack label/value for small screens */
    .spec-table th {
        display: block;
        width: auto;
        background: transparent;
        border: 0;
        padding: .5rem 0 .15rem;
    }

    .spec-table td {
        display: block;
        border: 0;
        padding: 0 0 .9rem;
    }

    .spec-table tbody tr {
        display: block;
        padding: .35rem 0;
        border-bottom: 1px dashed var(--line);
    }

    .spec-card {
        padding: .85rem 1rem;
        border-radius: 10px;
    }

    .spec-table {
        font-size: .98rem;
    }
}

/* ≤640px: brand grid single column + compact cards */
@media (max-width:640px) {
    .brand-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .brand-card {
        padding: 14px;
    }

    .brand-chip {
        font-size: 12px;
    }
}


/* ≤420px: prevent card grids from overflowing on 320px devices */
@media (max-width:420px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        min-width: 0;
    }

    .card-media {
        height: 180px;
    }
}

/* ≤420px: compact pill CTAs (avoid oversized buttons on 320px devices) */
@media (max-width:420px) {
    .cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 26px;
    }

    .link-pill {
        width: 100%;
        justify-content: space-between;
        /* text left, arrow right */
        padding: 10px 14px;
        border-radius: 16px;
        /* less “balloon”, still rounded */
        font-size: 13px;
        letter-spacing: .06em;
        line-height: 1.2;
        text-transform: uppercase;
        min-height: 46px;
        /* tap target */
    }

    /* Keep label readable: allow wrap but tighter */
    .link-pill span:first-child {
        max-width: 85%;
        overflow-wrap: anywhere;
    }

    /* Arrow stays aligned and consistent */
    .link-pill .arr {
        font-size: 18px;
        line-height: 1;
        margin-left: 10px;
        flex: 0 0 auto;
    }
}

/* ≤360px: extra tightening for the smallest screens */
@media (max-width:360px) {
    .link-pill {
        padding: 9px 12px;
        font-size: 12px;
        border-radius: 14px;
        letter-spacing: .05em;
    }
}

/* ≤380px: stack CTAs inside brand cards */
@media (max-width:380px) {
    .brand-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .brand-btn {
        width: 100%;
        text-align: center;
    }

    .brand-site {
        justify-content: center;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .brand-card {
        transition: none;
    }
}

/* rev: 2026-03-27T14:12:12Z */