/* Generated from src/Masacode.Web/Styles (00-layers.css, 10-tokens.css, 20-base.css, 30-layout.css, 40-components.css, 50-shell.css, 55-intro.css, 60-pages/about.css, 60-pages/catalog.css, 60-pages/contact.css, 60-pages/deals.css, 60-pages/detail.css, 60-pages/home.css, 60-pages/legal.css, 60-pages/portfolio.css, 60-pages/product.css, 60-pages/status.css, 90-utilities.css). Do not edit this file: change those files and build. */

/* Stage 6 design system. Later layers win over earlier ones whatever their selectors' weight. */
@layer tokens, base, layout, components, pages, utilities;

/* Design tokens: the approved Stage 7 light palette, type, spacing and shapes (owner approval 2026-11-25). Colours are named
   by role; text colours are checked for contrast by StylesheetTests. */
@layer tokens {
    :root {
        /* Surfaces: soft blue tints, never plain white pages (60%) */
        --c-page: #edf4fb;
        --c-tint: #eef4fd;
        --c-tint-2: #dce8fa;
        --c-band: #dbe8f7;         /* footer band */
        --c-white: #ffffff;        /* tiles, inputs, text on blue */
        --c-line: #e3eaf4;

        /* Blue (30%): buttons, the active nav pill, dark tiles */
        --c-blue: #254693;
        --c-blue-2: #2c52a6;       /* top of the blue gradient */

        /* Text */
        --c-ink: #10234f;
        --c-ink-2: #4a5568;
        --c-ink-3: #5b6984;        /* muted */

        /* Accents (10%) */
        --c-sky: #20a0e0;          /* decoration only, never text */
        --c-accent-1: #ea6d1e;     /* orange gradient start, for large headline words */
        --c-accent-2: #d9532b;     /* orange gradient end */
        --c-accent-on-dark: #ffb27a;
        --c-whatsapp: #25d366;

        /* Keyboard focus ring: 3:1 or more against the surface it sits on */
        --c-focus: #254693;          /* on the light surfaces */
        --c-focus-on-dark: #ffb27a;  /* on blue bands */

        /* Type: Inter (one variable file) */
        --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
        --fs-xs: 0.8125rem;
        --fs-sm: 0.875rem;
        --fs-base: 1rem;
        --fs-md: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
        --fs-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
        --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
        --fs-2xl: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
        --fs-3xl: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem);
        --lh-tight: 1.15;
        --lh-body: 1.6;

        /* Spacing scale: 4, 8, 12, 16, 24, 32, 48, 64, 96 px */
        --s-1: 0.25rem;
        --s-2: 0.5rem;
        --s-3: 0.75rem;
        --s-4: 1rem;
        --s-5: 1.5rem;
        --s-6: 2rem;
        --s-7: 3rem;
        --s-8: 4rem;
        --s-9: 6rem;

        /* Shapes */
        --r-sm: 8px;
        --r-btn: 10px;
        --r-md: 12px;
        --r-card: 16px;
        --r-lg: 20px;
        --r-tile: 22px;
        --r-pill: 999px;
        --shadow-1: 0 1px 2px rgb(16 35 79 / 0.06), 0 1px 3px rgb(16 35 79 / 0.08);
        --shadow-2: 0 8px 24px rgb(16 35 79 / 0.12);
        --shadow-tile: 0 24px 44px -34px rgb(16 35 79 / 0.55);
        --shadow-btn: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 12px 26px -14px rgb(37 70 147 / 0.8);

        /* Layout */
        --container: 1200px;
        --gutter: clamp(1rem, 4vw, 2rem);

        /* Direction: -1 when the page reads right to left (arrows, slides) */
        --dir: 1;
    }

    [dir="rtl"] {
        --dir: -1;
    }
}

/* Base styles: the font, a small reset, then the type and focus styles of the design system (scoped to .ds with
   zero weight via :where, so any component can override them). */
/* Inter, one variable file for every weight (SIL OFL, fonts/inter/OFL.txt) */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/inter/inter-var.woff2") format("woff2");
}

@layer base {
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    body {
        margin: 0;
        background: var(--c-page);
        color: var(--c-ink);
        font-family: var(--font-sans);
        line-height: var(--lh-body);
        -webkit-font-smoothing: antialiased;
    }

    :where(img, svg, video) {
        max-inline-size: 100%;
        block-size: auto;
    }

    :where(button, input, select, textarea) {
        font: inherit;
    }

    :where(.ds) {
        font-family: var(--font-sans);
        font-size: var(--fs-base);
        line-height: var(--lh-body);
        color: var(--c-ink);
    }

    :where(.ds) :where(h1, h2, h3, h4) {
        margin: 0;
        color: var(--c-ink);
        line-height: var(--lh-tight);
        letter-spacing: -0.01em;
    }

    :where(.ds) :where(h1) {
        font-size: var(--fs-3xl);
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    :where(.ds) :where(h2) {
        font-size: var(--fs-2xl);
        font-weight: 800;
    }

    :where(.ds) :where(h3) {
        font-size: var(--fs-lg);
        font-weight: 700;
    }

    :where(.ds) :where(p, ul, ol, dl, figure) {
        margin: 0;
    }

    :where(.ds) :where(a) {
        color: var(--c-blue);
        text-underline-offset: 0.2em;
    }

    :where(.ds) :where(a:hover) {
        color: var(--c-blue);
    }

    :where(.ds) :where(img, svg, video) {
        display: block;
        max-inline-size: 100%;
    }

    /* One visible focus ring for every link, button and field */
    :where(.ds) :where(a, button, input, select, textarea, summary):focus-visible {
        outline: 3px solid var(--c-focus);
        outline-offset: 2px;
        border-radius: var(--r-sm);
    }

    /* Motion only as a hover nicety; none for visitors who ask for less */
    @media (prefers-reduced-motion: reduce) {
        :where(.ds) *,
        :where(.ds) *::before,
        :where(.ds) *::after {
            transition-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            scroll-behavior: auto !important;
        }
    }
}

/* Layout helpers (ds- prefix: the old stylesheet already uses .container, .btn and .hero). */
@layer layout {
    .ds-container {
        inline-size: 100%;
        max-inline-size: calc(var(--container) + 2 * var(--gutter));
        margin-inline: auto;
        padding-inline: var(--gutter);
        box-sizing: border-box;
    }

    .ds-section {
        padding-block: clamp(var(--s-7), 6vw, 5.5rem);
    }

    .ds-section-muted {
        background: var(--c-tint);
    }

    .ds-stack {
        display: flex;
        flex-direction: column;
        gap: var(--stack-gap, var(--s-4));
    }

    .ds-cluster {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--cluster-gap, var(--s-3));
    }

    /* As many columns as fit, each at least --grid-min wide */
    .ds-grid-auto {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--grid-min, 18rem)), 1fr));
        gap: var(--grid-gap, var(--s-5));
    }
}

/* Primitives (Components/Primitives): one block each. */
@layer components {
    /* Icon: drawn from the sprite in the current text colour */
    .ds-icon {
        inline-size: 1.125em;
        block-size: 1.125em;
        flex: none;
        fill: currentColor;
        vertical-align: -0.15em;
    }

    /* Button */
    .ds-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: var(--s-2);
        min-block-size: 44px;
        padding-block: var(--s-2);
        padding-inline: var(--s-5);
        border: 2px solid transparent;
        border-radius: var(--r-pill);
        font: inherit;
        font-size: var(--fs-sm);
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
    }

    .ds-btn:hover {
        transform: translateY(-2px);
    }

    .ds-btn-lg {
        min-block-size: 54px;
        padding-inline: var(--s-6);
        font-size: var(--fs-base);
    }

    /* Primary: the blue gradient pill */
    .ds-btn-primary,
    .ds-btn-primary:hover {
        background: linear-gradient(180deg, var(--c-blue-2), var(--c-blue));
        color: var(--c-white);
        box-shadow: var(--shadow-btn);
    }

    .ds-btn-ghost {
        background: rgb(255 255 255 / 0.55);
        border-color: var(--c-blue);
        color: var(--c-blue);
    }

    .ds-btn-ghost:hover {
        background: var(--c-white);
        color: var(--c-ink);
    }

    .ds-btn-white,
    .ds-btn-white:hover {
        background: var(--c-white);
        color: var(--c-blue);
        box-shadow: 0 16px 30px -14px rgb(16 35 79 / 0.55);
    }

    /* WhatsApp green is too light for white text: dark text on it */
    .ds-btn-whatsapp,
    .ds-btn-whatsapp:hover {
        background: var(--c-whatsapp);
        color: var(--c-ink);
        box-shadow: 0 12px 24px -14px rgb(37 211 102 / 0.95);
    }

    /* The original WhatsApp logo (green disc) would vanish on the green button: it sits on a small white disc */
    .ds-btn-whatsapp .ds-icon {
        box-sizing: content-box;
        inline-size: 1.5em;
        block-size: 1.5em;
        padding: 2px;
        border-radius: 50%;
        background: var(--c-white);
        box-shadow: 0 2px 6px -2px rgb(16 35 79 / 0.35);
    }

    /* Where the logo is the whole round or square badge, it fills it (a green square shows the app icon's corners) */
    .ds-menu-tile-ico.ds-tone-whatsapp .ds-icon {
        inline-size: 38px;
        block-size: 38px;
    }

    .ds-tone-whatsapp .ds-icon {
        inline-size: 100%;
        block-size: 100%;
    }

    /* On blue bands the focus ring is the light orange, and the ghost button is outlined in white */
    :where(.ds-page-hero, .ds-on-navy, .ds-cta, .ds-lightbox, .ds-on-blue) {
        --c-focus: var(--c-focus-on-dark);
    }

    :where(.ds-page-hero, .ds-on-navy, .ds-on-blue, .ds-cta) .ds-btn-ghost {
        border-color: rgb(255 255 255 / 0.45);
        background: transparent;
        color: var(--c-white);
    }

    :where(.ds-page-hero, .ds-on-navy, .ds-on-blue, .ds-cta) .ds-btn-ghost:hover {
        border-color: var(--c-white);
        background: rgb(255 255 255 / 0.12);
        color: var(--c-white);
    }

    /* Chip: a rounded filter or tab; aria-current is the blue active state */
    .ds-chip {
        display: inline-flex;
        align-items: center;
        padding-block: var(--s-2);
        padding-inline: var(--s-4);
        border: 1px solid rgb(37 70 147 / 0.12);
        border-radius: var(--r-pill);
        background: rgb(255 255 255 / 0.7);
        color: var(--c-ink-2);
        font-size: var(--fs-sm);
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color 0.2s, color 0.2s;
    }

    .ds-chip:hover {
        background: var(--c-white);
        color: var(--c-ink);
    }

    .ds-chip[aria-current] {
        border-color: transparent;
        background: linear-gradient(180deg, var(--c-blue-2), var(--c-blue));
        color: var(--c-white);
        font-weight: 700;
    }

    /* Breadcrumb: Home / Solutions / name, on the light bands */
    .ds-crumbs {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--s-2);
        font-size: 0.84rem;
        font-weight: 600;
    }

    .ds-crumbs a {
        color: var(--c-blue);
        text-decoration: none;
    }

    .ds-crumbs a:hover {
        text-decoration: underline;
    }

    .ds-crumbs [aria-hidden] {
        color: var(--c-ink-3);
    }

    .ds-crumbs [aria-current] {
        color: var(--c-ink-3);
        overflow-wrap: anywhere;
    }

    /* Back button of a details page (BackButton): the ghost pill where the breadcrumb used to be */
    .ds-back-row {
        display: flex;
    }

    .ds-back {
        gap: var(--s-2);
        min-block-size: 2.5rem;
        padding-inline: var(--s-4);
        font-size: 0.9rem;
    }

    .ds-back-icon {
        flex: none;
        transform: scaleX(var(--dir));
    }

    /* Tile: the white rounded surface */
    .ds-tile {
        position: relative;
        border: 1px solid var(--c-line);
        border-radius: var(--r-tile);
        background: var(--c-white);
        box-shadow: var(--shadow-tile);
    }

    /* Glass: frosted when the browser can blur, an opaque tint when it cannot */
    .ds-glass {
        border: 1px solid rgb(255 255 255 / 0.8);
        border-radius: var(--r-tile);
        background: var(--c-tint);
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.95), var(--shadow-tile);
    }

    @supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
        .ds-glass {
            background: linear-gradient(140deg, rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.18));
            -webkit-backdrop-filter: blur(18px) saturate(170%);
            backdrop-filter: blur(18px) saturate(170%);
        }
    }

    /* Smoke: a soft blurred cloud; put it in a clipped, positioned parent, behind the content. Colour it with
       --smoke (a radial gradient colour). Drifts slowly; still when motion is reduced. */
    .ds-smoke {
        position: absolute;
        inline-size: 36rem;
        block-size: 28rem;
        border-radius: 50%;
        background: radial-gradient(circle, var(--smoke, rgb(32 160 224 / 0.4)), transparent 70%);
        filter: blur(46px);
        pointer-events: none;
        animation: ds-smoke-drift 26s ease-in-out infinite;
    }

    @keyframes ds-smoke-drift {
        50% {
            transform: translate(-3rem, 2rem) scale(1.15) rotate(20deg);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .ds-smoke {
            animation: none;
        }

        .ds-btn,
        .ds-btn:hover {
            transform: none;
        }
    }

    /* Accent: the orange gradient on a few headline words (large text only). A solid orange where text cannot be
       painted with a gradient. On dark bands set --accent-from, --accent-to and --accent-solid to the light oranges. */
    .ds-accent {
        color: var(--accent-solid, var(--c-accent-2));
    }

    @supports (background-clip: text) or (-webkit-background-clip: text) {
        .ds-accent {
            background: linear-gradient(90deg, var(--accent-from, var(--c-accent-1)), var(--accent-to, var(--c-accent-2)));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
    }

    /* Section heading */
    .ds-section-heading {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        max-inline-size: 46rem;
        margin-block-end: var(--s-6);
    }

    .ds-section-heading.ds-text-center {
        margin-inline: auto;
        align-items: center;
    }

    .ds-eyebrow {
        color: var(--c-blue);
        font-size: var(--fs-xs);
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .ds-lead {
        color: var(--c-ink-2);
        font-size: var(--fs-lg);
    }

    /* Page hero: the navy band at the top of inner pages */
    .ds-page-hero {
        background: linear-gradient(160deg, var(--c-blue) 0%, var(--c-blue-2) 100%);
        color: var(--c-white);
        padding-block: clamp(var(--s-8), 10vw, var(--s-9)) clamp(var(--s-7), 7vw, var(--s-8));
    }

    .ds-page-hero h1 {
        color: var(--c-white);
        max-inline-size: 22ch;
        overflow-wrap: anywhere;
    }

    .ds-page-hero .ds-eyebrow {
        color: var(--c-accent-on-dark);
    }

    .ds-page-hero .ds-lead {
        color: var(--c-white);
        max-inline-size: 60ch;
    }

    .ds-page-hero-actions {
        margin-block-start: var(--s-3);
    }

    /* Card */
    .ds-card {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        padding: var(--s-5);
        background: var(--c-white);
        border: 1px solid var(--c-line);
        border-radius: var(--r-card);
        box-shadow: var(--shadow-1);
        color: inherit;
        min-inline-size: 0;
    }

    .ds-card-link {
        text-decoration: none;
        transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
    }

    .ds-card-link:hover {
        border-color: var(--c-line);
        box-shadow: var(--shadow-2);
        transform: translateY(-2px);
        color: inherit;
    }

    /* Badge */
    .ds-badge {
        display: inline-flex;
        align-items: center;
        gap: var(--s-1);
        max-inline-size: 100%;
        overflow-wrap: anywhere;
        padding-block: 0.15rem;
        padding-inline: var(--s-3);
        border-radius: var(--r-pill);
        font-size: var(--fs-xs);
        font-weight: 600;
    }

    .ds-badge-brand {
        background: var(--c-tint-2);
        color: var(--c-blue);
    }

    .ds-badge-accent {
        background: var(--c-tint-2);
        color: var(--c-blue);
    }

    .ds-badge-neutral {
        background: var(--c-tint);
        color: var(--c-ink-2);
        border: 1px solid var(--c-line);
    }

    /* Responsive image placeholder: the picture's box when there is no picture */
    .ds-img-placeholder {
        display: grid;
        place-items: center;
        inline-size: 100%;
        background: var(--c-tint);
        color: var(--c-line);
        font-size: 2.5rem;
    }

    /* ---------- media gallery (Catalog/MediaGallery) and its lightbox ---------- */
    .ds-gallery {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        min-inline-size: 0;
    }

    /* The stage takes the picture's own shape (its width and height attributes) and shows it whole: no bars, no
       cropping. A very tall picture is capped and shown inside the stage on a quiet background. site.js eases the
       height when another picture is chosen. */
    .ds-gallery-main {
        overflow: hidden;
        border-radius: var(--r-tile);
    }

    @media (prefers-reduced-motion: no-preference) {
        .ds-gallery-main {
            transition: block-size 0.3s ease;
        }
    }

    .ds-gallery-stage {
        position: relative;
        display: block;
        inline-size: 100%;
        padding: 0;
        overflow: hidden;
        border: 0;
        border-radius: var(--r-tile);
        background: var(--c-tint);
        cursor: zoom-in;
    }

    .ds-gallery-light .ds-gallery-stage {
        background: var(--c-white);
    }

    .ds-gallery-stage img {
        display: block;
        inline-size: 100%;
        block-size: auto;
        max-block-size: min(70vh, 640px);
        object-fit: contain;
        animation: none;
    }

    .ds-gallery-stage-video {
        background: var(--c-ink);
        cursor: default;
        aspect-ratio: 16 / 9;
    }

    .ds-gallery-stage-video video {
        display: block;
        inline-size: 100%;
        block-size: 100%;
        object-fit: contain;
    }

    .ds-gallery-count,
    .ds-gallery-zoom {
        position: absolute;
        inset-block-end: var(--s-3);
        padding-block: 0.25rem;
        padding-inline: var(--s-3);
        border-radius: var(--r-pill);
        background: rgb(15 22 41 / 0.75);
        color: var(--c-white);
        font-size: var(--fs-xs);
        font-weight: 600;
    }

    .ds-gallery-count {
        inset-inline-end: var(--s-3);
    }

    .ds-gallery-zoom {
        inset-inline-start: var(--s-3);
        display: inline-grid;
        place-items: center;
        inline-size: 2rem;
        block-size: 2rem;
        padding: 0;
        font-size: 0.9rem;
    }

    .ds-gallery-thumbs {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 5.5rem), 1fr));
        gap: var(--s-3);
    }

    .ds-gallery-thumb {
        position: relative;
        padding: 0;
        overflow: hidden;
        border: 2px solid var(--c-line);
        border-radius: var(--r-md);
        background: var(--c-tint);
        cursor: pointer;
        aspect-ratio: 16 / 10;
    }

    .ds-gallery-thumb:hover {
        border-color: var(--c-line);
    }

    .ds-gallery-thumb.is-active {
        border-color: var(--c-blue);
    }

    .ds-gallery-thumb img {
        inline-size: 100%;
        block-size: 100%;
        object-fit: cover;
        animation: none;
    }

    .ds-gallery-light .ds-gallery-thumb img {
        object-fit: contain;
    }

    .ds-gallery-thumb-video {
        display: grid;
        place-items: center;
        block-size: 100%;
        background: var(--c-blue);
        color: var(--c-white);
        font-size: 1.5rem;
    }

    .ds-lightbox {
        inline-size: 100vw;
        max-inline-size: 100vw;
        block-size: 100dvh;
        max-block-size: 100dvh;
        margin: 0;
        padding: var(--s-7) var(--s-4);
        border: 0;
        background: rgb(8 12 24 / 0.94);
        color: var(--c-white);
    }

    .ds-lightbox[open] {
        display: grid;
        place-items: center;
    }

    .ds-lightbox::backdrop {
        background: rgb(8 12 24 / 0.6);
    }

    .ds-lightbox-figure {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--s-3);
        margin: 0;
        max-inline-size: 100%;
        max-block-size: 100%;
    }

    .ds-lightbox-figure img {
        max-inline-size: min(100%, 1280px);
        max-block-size: calc(100dvh - 8rem);
        inline-size: auto;
        block-size: auto;
        object-fit: contain;
        border-radius: var(--r-md);
        animation: none;
    }

    .ds-lightbox-figure figcaption {
        color: var(--c-white);
        font-size: var(--fs-sm);
    }

    .ds-lightbox-btn {
        position: absolute;
        display: inline-grid;
        place-items: center;
        inline-size: 48px;
        block-size: 48px;
        border: 1px solid rgb(255 255 255 / 0.2);
        border-radius: var(--r-pill);
        background: rgb(255 255 255 / 0.08);
        color: var(--c-white);
        font-size: 1.25rem;
        cursor: pointer;
    }

    .ds-lightbox-btn:hover {
        background: rgb(255 255 255 / 0.18);
    }

    .ds-lightbox-close {
        inset-block-start: var(--s-4);
        inset-inline-end: var(--s-4);
    }

    .ds-lightbox-prev,
    .ds-lightbox-next {
        inset-block-start: 50%;
        translate: 0 -50%;
    }

    .ds-lightbox-prev {
        inset-inline-start: var(--s-4);
    }

    .ds-lightbox-next {
        inset-inline-end: var(--s-4);
    }

    /* Arrows point the way the reading goes */
    .ds-lightbox-prev .ds-icon,
    .ds-lightbox-next .ds-icon {
        transform: scaleX(var(--dir));
    }

    /* ---------- card grid and list cards (Catalog/ServiceCard, Catalog/HardwareCard) ---------- */
    .ds-card-grid {
        --grid-min: 17rem;
        padding: 0;
        list-style: none;
    }

    .ds-card-grid-products {
        --grid-min: 15.5rem;
    }

    .ds-card-grid > li {
        display: flex;
        min-inline-size: 0;
    }

    .card-picture {
        position: relative;
        display: block;
        min-block-size: 0;
    }

    .card-picture img,
    .card-picture .ds-img-placeholder {
        inline-size: 100%;
        block-size: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        animation: none;
    }

    .card-picture-icon {
        display: grid;
        place-items: center;
        aspect-ratio: 16 / 10;
        background: linear-gradient(160deg, var(--c-blue) 0%, var(--c-blue-2) 100%);
        color: var(--c-accent-on-dark);
        font-size: 2.75rem;
    }

    .card-flag {
        position: absolute;
        inset-block-start: var(--s-3);
        inset-inline-start: var(--s-3);
        display: inline-flex;
        align-items: center;
        gap: var(--s-1);
        padding-block: 0.2rem;
        padding-inline: var(--s-3);
        border-radius: var(--r-pill);
        background: var(--c-white);
        color: var(--c-blue);
        box-shadow: var(--shadow-1);
        font-size: var(--fs-xs);
        font-weight: 700;
    }

    .card-flag-sale {
        background: var(--c-blue);
        color: var(--c-white);
    }

    /* Badge on a card's picture (as on the old site): the category with an orange dot, or installments in green */
    .ds-card-badge {
        position: absolute;
        z-index: 1;
        display: inline-block;
        padding: 3px 10px;
        overflow: hidden;
        border: 1px solid rgb(37 70 147 / 0.12);
        border-radius: var(--r-pill);
        background: rgb(255 255 255 / 0.94);
        box-shadow: var(--shadow-1);
        color: var(--c-blue);
        font-size: 0.72rem;
        font-weight: 700;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ds-card-badge::before {
        content: "";
        display: inline-block;
        inline-size: 6px;
        block-size: 6px;
        margin-inline-end: 6px;
        border-radius: 50%;
        background: var(--c-accent-1);
        vertical-align: 0.1em;
    }

    .ds-card-badge-pay {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        border-color: rgb(34 197 94 / 0.3);
        background: #e9f9ef;
        color: #166534;
    }

    .ds-card-badge-pay::before {
        content: none;
    }

    .card-body {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s-3);
        padding: var(--s-5);
        min-inline-size: 0;
    }

    .card-name {
        font-size: var(--fs-lg);
        overflow-wrap: anywhere;
    }

    .card-name a {
        color: var(--c-ink);
        text-decoration: none;
    }

    .card-name a:hover {
        color: var(--c-blue);
        text-decoration: underline;
    }

    /* A service card is one link (its name); the quote link sits above that cover */
    .card-link::after {
        content: "";
        position: absolute;
        inset: 0;
    }

    .card-text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        overflow: hidden;
        color: var(--c-ink-2);
        font-size: 0.9375rem;
        line-height: 1.55;
    }

    .card-facts {
        display: flex;
        flex-wrap: wrap;
        gap: var(--s-2) var(--s-4);
        padding: 0;
        list-style: none;
        color: var(--c-ink-3);
        font-size: var(--fs-sm);
    }

    .card-facts li {
        display: inline-flex;
        align-items: center;
        gap: var(--s-1);
    }

    .card-facts .card-price {
        color: var(--c-ink);
        font-weight: 700;
    }

    .card-foot {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: var(--s-2);
        inline-size: 100%;
        margin-block-start: auto;
        padding-block-start: var(--s-2);
    }

    .card-more {
        display: inline-flex;
        align-items: center;
        gap: var(--s-1);
        color: var(--c-blue);
        font-size: 0.9375rem;
        font-weight: 600;
    }

    .card-more .ds-icon {
        transform: scaleX(var(--dir));
    }

    .card-quote {
        position: relative;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        min-block-size: 44px;
        color: var(--c-ink-2);
        font-size: var(--fs-sm);
        font-weight: 600;
    }

    .card-quote:hover {
        color: var(--c-blue);
    }

    /* ---------- closing call-to-action panel ---------- */
    .ds-cta {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: var(--s-6);
        padding: clamp(var(--s-6), 5vw, var(--s-7)) clamp(var(--s-5), 5vw, 3.5rem);
        border-radius: 24px;
        background: var(--c-blue);
        color: var(--c-white);
    }

    .ds-cta .ds-stack {
        --stack-gap: var(--s-2);
        max-inline-size: 38rem;
    }

    .ds-cta h2 {
        color: var(--c-white);
        font-size: var(--fs-2xl);
    }

    .ds-cta .ds-cluster {
        flex: 1 1 16rem;
        justify-content: flex-end;
    }

    .ds-cta .ds-cluster > .ds-btn {
        flex: 1 1 13rem;
    }

    @media (min-width: 40rem) {
        .ds-cta .ds-cluster > .ds-btn {
            flex: 0 0 auto;
        }
    }

    /* ---------- pagination ---------- */
    .ds-pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--s-2);
        margin-block-start: var(--s-4);
    }

    .ds-page {
        display: inline-grid;
        place-items: center;
        min-inline-size: 44px;
        min-block-size: 44px;
        padding-inline: var(--s-2);
        border: 1px solid rgb(37 70 147 / 0.12);
        border-radius: var(--r-pill);
        background: rgb(255 255 255 / 0.8);
        color: var(--c-ink);
        font-weight: 700;
        text-decoration: none;
    }

    a.ds-page:hover {
        border-color: var(--c-blue);
        color: var(--c-ink);
    }

    .ds-page[aria-current="page"] {
        border-color: transparent;
        background: linear-gradient(180deg, var(--c-blue-2), var(--c-blue));
        color: var(--c-white);
        box-shadow: var(--shadow-btn);
    }

    span.ds-page-step {
        color: var(--c-line);
    }

    .ds-page-arrow {
        transform: scaleX(var(--dir));
    }

    /* Light hero (LightHero): breadcrumb, headline, lead, actions, and a card on the right from the desktop width */
    .ds-lhero {
        position: relative;
        overflow: clip;
        padding-block: var(--s-5) var(--s-7);
        background:
            radial-gradient(ellipse 50% 60% at 90% 30%, rgb(32 160 224 / 0.2), transparent 70%),
            radial-gradient(ellipse 30% 40% at 70% 0%, rgb(248 123 43 / 0.12), transparent 70%),
            linear-gradient(180deg, #f3f8fd 0%, #e6f0fa 100%);
    }

    .ds-lhero-smoke {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .ds-lhero-smoke .ds-smoke {
        inset-block-start: 2rem;
        inset-inline-end: -4rem;
        inline-size: 22rem;
        block-size: 18rem;
    }

    .ds-lhero-smoke .ds-lhero-smoke-2 {
        --smoke: rgb(37 70 147 / 0.2);
        inset-block: auto -7rem;
        inset-inline: -6% auto;
    }

    .ds-lhero-grid {
        position: relative;
        display: grid;
        gap: var(--s-6);
        align-items: center;
    }

    .ds-lhero-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s-4);
        min-inline-size: 0;
    }

    .ds-lhero h1 {
        font-size: clamp(2.125rem, 1.4rem + 3.2vw, 3.5rem);
        line-height: 1.06;
        letter-spacing: -0.035em;
        overflow-wrap: anywhere;
    }

    .ds-lhero-lead {
        max-inline-size: 34rem;
        color: var(--c-ink-2);
        font-size: var(--fs-lg);
        line-height: 1.65;
    }

    .ds-lhero-actions {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        align-self: stretch;
    }

    .ds-lhero-aside {
        display: none;
    }

    @media (min-width: 40rem) {
        .ds-lhero-actions {
            flex-direction: row;
            flex-wrap: wrap;
            align-self: flex-start;
        }
    }

    @media (min-width: 64rem) {
        .ds-lhero {
            padding-block: var(--s-6) var(--s-8);
        }

        .ds-lhero-grid:has(.ds-lhero-aside) {
            grid-template-columns: minmax(0, 21fr) minmax(0, 19fr);
            gap: var(--s-8);
        }

        .ds-lhero-aside {
            position: relative;
            display: block;
        }
    }
}

/* Shell (Components/Shell): header, phone menu, social buttons, footer, WhatsApp button, cookie banner, skip link. Kept in the
   components layer: the shell is a set of components shared by every page. */
@layer components {
    :root {
        --shell-header: 4.25rem;
    }

    /* The header is sticky: links to a section stop below it */
    html {
        scroll-padding-block-start: calc(var(--shell-header) + var(--s-3));
    }

    /* Short pages still put the footer at the bottom of the window */
    .page-container {
        display: flex;
        flex-direction: column;
        min-block-size: 100dvh;
    }

    .page-container > main {
        flex: 1;
    }

    /* main takes focus from the skip link (tabindex -1): no ring around the whole page */
    main:focus {
        outline: none;
    }

    /* Skip link: hidden until focused */
    .ds-skip-link {
        position: absolute;
        inset-block-start: var(--s-2);
        inset-inline-start: var(--s-2);
        z-index: 1100;
        padding-block: var(--s-3);
        padding-inline: var(--s-5);
        border-radius: var(--r-btn);
        background: var(--c-blue);
        color: var(--c-white);
        font-weight: 700;
        text-decoration: none;
        transform: translateY(-200%);
    }

    .ds-skip-link:focus {
        transform: none;
        color: var(--c-white);
    }

    /* ---------- header: a sticky glass bar (fixed on phones) ---------- */
    /* The hairline under it is a shadow, so the bar is exactly --shell-header tall */
    .ds-header {
        position: sticky;
        inset-block-start: 0;
        z-index: 1000;
        box-shadow: 0 1px 0 rgb(16 35 79 / 0.07);
    }

    /* The glass is a layer behind the bar, not the bar itself: a blurred parent would trap the fixed menu sheet.
       Like the footer: frosted pane, soft smoke, crack lines (the same --ds-crack drawing, declared with the footer pane).
       Opaque without backdrop-filter. */
    .ds-header-glass {
        position: absolute;
        inset: 0;
        z-index: -1;
        overflow: hidden;
        pointer-events: none;
        background: linear-gradient(140deg, rgb(255 255 255 / 0.97), rgb(240 246 253 / 0.95) 55%, rgb(255 255 255 / 0.97));
    }

    @supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
        .ds-header-glass {
            background: linear-gradient(140deg, rgb(255 255 255 / 0.66), rgb(240 246 253 / 0.5) 55%, rgb(255 255 255 / 0.6));
            -webkit-backdrop-filter: saturate(170%) blur(16px);
            backdrop-filter: saturate(170%) blur(16px);
        }
    }

    .ds-header-smoke-1 {
        inset-inline-start: 8%;
        inset-block-start: -90%;
        inline-size: 340px;
        block-size: 170px;
        --smoke: rgb(32 160 224 / 0.3);
        filter: blur(30px);
    }

    .ds-header-smoke-2 {
        inset-inline-end: 6%;
        inset-block-start: -40%;
        inline-size: 300px;
        block-size: 150px;
        --smoke: rgb(255 150 80 / 0.24);
        filter: blur(30px);
    }

    .ds-header-smoke-3 {
        inset-inline-start: 42%;
        inset-block-end: -90%;
        inline-size: 320px;
        block-size: 150px;
        --smoke: rgb(37 70 147 / 0.2);
        filter: blur(32px);
    }

    /* The cracks: one impact near the inline end, radiating back; they fade out before the nav and logo. Drawn through
       masks (white lines, plus a faint dark copy one pixel off), in a small box of its own, so the picture never becomes
       the largest paint. The fade is the box's own mask and the lines are each pseudo-element's: nested masks, not two
       mask layers composited together. WebKit (every iPhone browser) composites a no-repeat mask layer only inside the
       picture's own tile, so past the picture's edge the white fill showed unmasked: a light strip with a hard edge. */
    .ds-header-crack {
        position: absolute;
        inset-block: 0;
        inset-inline-end: 0;
        inline-size: 560px;
        --crack-pos: right 221px top -33px;
        --crack-size: 1100px auto;
        --crack-fade: linear-gradient(to left, #000 0, #000 55%, transparent 100%);
        -webkit-mask: var(--crack-fade);
        mask: var(--crack-fade);
    }

    .ds-header-crack::before,
    .ds-header-crack::after {
        content: "";
        position: absolute;
        inset: 0;
        -webkit-mask: var(--ds-crack) var(--crack-pos) / var(--crack-size) no-repeat;
        mask: var(--ds-crack) var(--crack-pos) / var(--crack-size) no-repeat;
    }

    .ds-header-crack::before {
        background: rgb(16 35 79 / 0.55);
        transform: translate(1px, 1px);
        opacity: 0.35;
    }

    .ds-header-crack::after {
        background: #fff;
        opacity: 0.85;
    }

    /* Phones: clean glass, no cracks (the lightning has the stage) */
    @media (max-width: 47.99rem) {
        .ds-header-crack {
            display: none;
        }
    }

    .ds-header-bar {
        display: flex;
        align-items: center;
        gap: var(--s-5);
        min-block-size: var(--shell-header);
    }

    .ds-logo {
        position: relative;
        isolation: isolate;
        display: inline-flex;
        align-items: center;
        flex: none;
        transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .ds-logo img {
        display: block;
        inline-size: auto;
        block-size: 46px;
    }

    /* A faint glow behind the logo that slowly breathes */
    .ds-logo::before {
        content: "";
        position: absolute;
        inset: -35% -14%;
        z-index: -1;
        border-radius: 50%;
        background: radial-gradient(closest-side, rgb(32 160 224 / 0.2), rgb(255 150 80 / 0.08) 62%, rgb(255 255 255 / 0));
        opacity: 0.55;
        pointer-events: none;
        animation: ds-logo-glow 5s ease-in-out infinite alternate;
    }

    /* The light: a soft diagonal highlight that glides across the logo every few seconds. The layer is masked to the
       logo's own shape (its transparent WebP), so the light never leaves the letters and the mark. */
    .ds-logo-shine {
        position: absolute;
        inset: 0;
        overflow: hidden;
        pointer-events: none;
        -webkit-mask: url("/images/logo-full-3x.webp") center / contain no-repeat;
        mask: url("/images/logo-full-3x.webp") center / contain no-repeat;
    }

    .ds-logo-shine::before {
        content: "";
        position: absolute;
        inset-block: -30%;
        inset-inline-start: 0;
        inline-size: 42%;
        background: linear-gradient(90deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / 0.75) 50%, rgb(255 255 255 / 0) 100%);
        transform: translateX(calc(-130% * var(--dir))) skewX(-20deg);
        animation: ds-logo-sweep 6.5s cubic-bezier(0.45, 0, 0.25, 1) 1.2s infinite;
    }

    @keyframes ds-logo-sweep {
        0% {
            transform: translateX(calc(-130% * var(--dir))) skewX(-20deg);
        }

        /* the sweep itself takes about 1.4 s; the rest of the loop is a pause */
        22%,
        100% {
            transform: translateX(calc(260% * var(--dir))) skewX(-20deg);
        }
    }

    @keyframes ds-logo-glow {
        to {
            opacity: 1;
        }
    }

    @media (hover: hover) {
        .ds-logo:hover {
            transform: translateY(-2px);
        }
    }

    .ds-nav {
        display: none;
        flex: 1;
        justify-content: center;
    }

    /* The pill-shaped rail the links sit in; the current page is the blue pill */
    .ds-nav-cap {
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 5px;
        border: 1px solid rgb(37 70 147 / 0.1);
        border-radius: var(--r-pill);
        background: rgb(255 255 255 / 0.55);
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), 0 8px 24px -18px rgb(16 35 79 / 0.45);
    }

    .ds-nav a {
        display: inline-flex;
        align-items: center;
        padding-block: 9px;
        padding-inline: 16px;
        border-radius: var(--r-pill);
        color: var(--c-ink-2);
        font-size: 0.9375rem;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
        transition: color 0.2s, background-color 0.2s;
    }

    .ds-nav a:hover {
        color: var(--c-ink);
        background: rgb(37 70 147 / 0.06);
    }

    .ds-nav a[aria-current="page"],
    .ds-nav a[aria-current="page"]:hover {
        background: linear-gradient(180deg, var(--c-blue-2), var(--c-blue));
        color: var(--c-white);
        font-weight: 700;
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 8px 18px -8px rgb(37 70 147 / 0.7);
    }

    /* The sliding pill (desktop nav and phone menu): site.js shows it only while it glides from the old link to the new
       one (the container has .is-sliding), placing it with --ind-w and --ind-h and a transform; at rest, and without
       script, each current link draws its own pill. While it slides, the current link draws none. */
    .ds-nav-cap {
        position: relative;
    }

    .ds-nav-ind,
    .ds-menu-ind {
        position: absolute;
        inset-block-start: 0;
        inset-inline-start: 0;
        inline-size: var(--ind-w, 0);
        block-size: var(--ind-h, 0);
        border-radius: var(--r-pill);
        background: linear-gradient(180deg, var(--c-blue-2), var(--c-blue));
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 8px 18px -8px rgb(37 70 147 / 0.7);
        opacity: 0;
        pointer-events: none;
        transform-origin: 0 0;
    }

    .ds-menu-ind {
        border-radius: 18px;
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 12px 22px -12px rgb(37 70 147 / 0.85);
    }

    .ds-nav a,
    .ds-menu-link {
        position: relative;
    }

    /* While the pill slides: no colour fades; the new link stays plain until the pill reaches it (.is-arrived), then
       turns white at once */
    .ds-nav-cap.is-sliding a {
        transition: none;
    }

    .ds-nav-cap.is-sliding a[aria-current="page"] {
        background: none;
        box-shadow: none;
    }

    .ds-nav-cap.is-sliding:not(.is-arrived) a[aria-current="page"] {
        color: var(--c-ink-2);
    }

    .ds-header-actions {
        display: flex;
        align-items: center;
        gap: var(--s-2);
        margin-inline-start: auto;
    }

    /* The white round "go" disc at the end of a button; the arrow is orange, and turns on hover */
    .ds-go {
        display: inline-grid;
        place-items: center;
        flex: none;
        inline-size: 36px;
        block-size: 36px;
        border-radius: 50%;
        background: var(--c-white);
        color: var(--c-accent-2);
        transition: transform 0.3s;
    }

    .ds-btn:hover .ds-go {
        transform: rotate(-45deg);
    }

    .ds-header-talk {
        display: none;
        gap: var(--s-3);
        padding-block: 5px;
        padding-inline: 22px 5px;
        font-size: 0.9375rem;
    }

    /* ---------- phone menu: <details> opens and closes without script ---------- */
    /* Phones (under 48rem): a full-screen glass sheet. From 48rem: a card beside the dimmed page. Opening is CSS only;
       site.js adds .is-closing and waits for the closing animation before it removes [open]. Only transform and
       opacity move, so the motion stays off the main thread. */
    .ds-menu {
        --menu-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
        --menu-from: translateY(-14px) scale(0.98);
    }

    /* The round menu button: stays on top of the open sheet and is its close button */
    .ds-menu > summary {
        position: relative;
        z-index: 2;
        display: grid;
        place-items: center;
        inline-size: 46px;
        block-size: 46px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--c-blue-2), var(--c-blue) 55%, #1f72b8);
        box-shadow: var(--shadow-btn);
        color: var(--c-white);
        list-style: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .ds-menu > summary::-webkit-details-marker {
        display: none;
    }

    /* Open: a white face fades in over the blue */
    .ds-menu > summary::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: var(--c-white);
        box-shadow: 0 8px 18px -10px rgb(16 35 79 / 0.6), inset 0 0 0 1px rgb(37 70 147 / 0.12);
        opacity: 0;
        transition: opacity 0.3s var(--menu-ease);
    }

    /* Three bars that turn into a cross; each bar's blue copy fades in on the white face */
    .ds-menu-bars {
        position: relative;
        inline-size: 20px;
        block-size: 14px;
    }

    .ds-menu-bar {
        position: absolute;
        inset-inline: 0;
        block-size: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform 0.34s var(--menu-ease), opacity 0.2s;
    }

    .ds-menu-bar::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: var(--c-blue);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .ds-menu-bar:nth-child(1) {
        inset-block-start: 0;
    }

    .ds-menu-bar:nth-child(2) {
        inset-block-start: 6px;
    }

    .ds-menu-bar:nth-child(3) {
        inset-block-start: 12px;
    }

    .ds-menu[open]:not(.is-closing) > summary::before,
    .ds-menu[open]:not(.is-closing) .ds-menu-bar::after {
        opacity: 1;
    }

    .ds-menu[open]:not(.is-closing) .ds-menu-bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .ds-menu[open]:not(.is-closing) .ds-menu-bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0.2);
    }

    .ds-menu[open]:not(.is-closing) .ds-menu-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Open: a dimmed page behind the card. Clicking the dim layer closes it (site.js). */
    .ds-menu[open]::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 0;
        background: rgb(16 35 79 / 0.5);
        animation: ds-menu-fade-in 0.3s ease-out both;
    }

    .ds-menu.is-closing::before {
        animation: ds-menu-fade-out 0.24s ease-in both;
    }

    /* From 48rem: a card just below the header bar, whose toggle (now a cross) closes it */
    .ds-menu-panel {
        position: fixed;
        z-index: 1;
        inset-block-start: calc(var(--shell-header) + 6px);
        inset-inline-end: max(6px, calc(var(--gutter) - 10px));
        inline-size: min(23.5rem, calc(100% - 12px));
        max-block-size: calc(100dvh - var(--shell-header) - 14px);
        overflow: hidden auto;
        display: flex;
        flex-direction: column;
        border: 1px solid rgb(255 255 255 / 0.95);
        border-radius: 30px;
        background: var(--c-tint);
        box-shadow: 0 40px 80px -30px rgb(8 20 48 / 0.8);
    }

    .ds-menu[open] .ds-menu-panel {
        animation: ds-menu-in 0.36s var(--menu-ease) both;
    }

    /* Closing: the opening reversed, a little faster */
    .ds-menu.is-closing .ds-menu-panel {
        animation: ds-menu-out 0.24s cubic-bezier(0.4, 0, 1, 1) both;
    }

    /* An open or close that interrupts the other starts where the sheet was: site.js sets --menu-o and --menu-t to
       its current opacity and transform (fresh opens and closes use the fallbacks) */
    @keyframes ds-menu-in {
        from {
            opacity: var(--menu-o, var(--menu-o0, 0));
            transform: var(--menu-t, var(--menu-from));
        }
    }

    @keyframes ds-menu-out {
        from {
            opacity: var(--menu-o, 1);
            transform: var(--menu-t, none);
        }

        to {
            opacity: var(--menu-o0, 0);
            transform: var(--menu-from);
        }
    }

    /* Phones: each item follows the sheet in from the same side */
    @keyframes ds-menu-rise {
        from {
            opacity: 0;
            transform: translateX(calc(-40px * var(--dir)));
        }
    }

    @keyframes ds-menu-fade-in {
        from {
            opacity: var(--menu-o, 0);
        }
    }

    @keyframes ds-menu-fade-out {
        from {
            opacity: var(--menu-o, 1);
        }

        to {
            opacity: 0;
        }
    }

    @supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
        .ds-menu[open]::before {
            -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
        }

        .ds-menu-panel {
            background: linear-gradient(160deg, rgb(255 255 255 / 0.94) 0%, rgb(240 246 253 / 0.9) 60%, rgb(228 238 249 / 0.92) 100%);
            -webkit-backdrop-filter: blur(22px) saturate(170%);
            backdrop-filter: blur(22px) saturate(170%);
        }
    }

    .ds-menu-panel > :not(.ds-menu-glow) {
        position: relative;
    }

    /* The smoke lives in a clipped layer, so it never makes the sheet scroll */
    .ds-menu-glow {
        position: absolute;
        inset: 0;
        overflow: hidden;
        border-radius: inherit;
        pointer-events: none;
    }

    .ds-menu-smoke-1 {
        inset-inline-end: -90px;
        inset-block-start: -90px;
        inline-size: 260px;
        block-size: 240px;
        --smoke: rgb(32 160 224 / 0.3);
        filter: blur(24px);
    }

    .ds-menu-smoke-2 {
        inset-inline-start: -100px;
        inset-block-end: -80px;
        inline-size: 280px;
        block-size: 240px;
        --smoke: rgb(255 150 80 / 0.16);
        filter: blur(26px);
    }

    .ds-menu-nav {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding-block: 12px 0;
        padding-inline: 12px;
    }

    .ds-menu-link {
        display: flex;
        align-items: center;
        gap: 14px;
        padding-block: 10px;
        padding-inline: 10px 14px;
        border-radius: 18px;
        color: var(--c-ink);
        text-decoration: none;
        transition: background-color 0.2s;
    }

    .ds-menu-link:hover {
        background: rgb(37 70 147 / 0.06);
        color: var(--c-ink);
    }

    .ds-menu-ico {
        display: grid;
        place-items: center;
        flex: none;
        inline-size: 42px;
        block-size: 42px;
        border-radius: 13px;
        background: linear-gradient(135deg, var(--c-tint), var(--c-tint-2));
        color: var(--c-blue);
        font-size: 1.25rem;
    }

    .ds-menu-text {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .ds-menu-text strong {
        font-size: 1.0625rem;
        font-weight: 700;
    }

    .ds-menu-text span {
        color: var(--c-ink-3);
        font-size: 0.78rem;
    }

    .ds-menu-go {
        margin-inline-start: auto;
        color: var(--c-ink-3);
        transform: scaleX(var(--dir));
    }

    .ds-menu-link[aria-current="page"],
    .ds-menu-link[aria-current="page"]:hover {
        background: linear-gradient(180deg, var(--c-blue-2), var(--c-blue));
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 12px 22px -12px rgb(37 70 147 / 0.85);
        color: var(--c-white);
    }

    .ds-menu-link[aria-current="page"] .ds-menu-ico {
        border: 1px solid rgb(255 255 255 / 0.3);
        background: rgb(255 255 255 / 0.16);
        color: var(--c-white);
    }

    .ds-menu-link[aria-current="page"] .ds-menu-text span {
        color: rgb(234 242 255 / 0.9);
    }

    .ds-menu-link[aria-current="page"] .ds-menu-go {
        color: var(--c-accent-on-dark);
    }

    /* While the highlight slides to a tapped item, that item keeps its plain look until the highlight reaches it
       (.is-arrived), then takes the light-on-blue look at once */
    .ds-menu-nav.is-sliding .ds-menu-link {
        transition: none;
    }

    .ds-menu-nav.is-sliding .ds-menu-link[aria-current="page"] {
        background: none;
        box-shadow: none;
    }

    .ds-menu-nav.is-sliding:not(.is-arrived) .ds-menu-link[aria-current="page"] {
        color: var(--c-ink);
    }

    .ds-menu-nav.is-sliding:not(.is-arrived) .ds-menu-link[aria-current="page"] .ds-menu-ico {
        border: 0;
        background: linear-gradient(135deg, var(--c-tint), var(--c-tint-2));
        color: var(--c-blue);
    }

    .ds-menu-nav.is-sliding:not(.is-arrived) .ds-menu-link[aria-current="page"] :is(.ds-menu-text span, .ds-menu-go) {
        color: var(--c-ink-3);
    }

    .ds-menu-foot {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 16px 16px 18px;
    }

    .ds-menu-talk {
        justify-content: space-between;
        padding-block: 6px;
        padding-inline: 22px 6px;
    }

    .ds-menu-talk .ds-go {
        inline-size: 42px;
        block-size: 42px;
    }

    .ds-menu-tiles {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .ds-menu-tile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding-block: 12px;
        padding-inline: 4px;
        border: 1px solid rgb(255 255 255 / 0.95);
        border-radius: 16px;
        background: rgb(255 255 255 / 0.75);
        box-shadow: 0 10px 20px -16px rgb(16 35 79 / 0.5);
        color: var(--c-ink);
        font-size: 0.78rem;
        font-weight: 700;
        text-decoration: none;
    }

    .ds-menu-tile:hover {
        background: var(--c-white);
        color: var(--c-ink);
    }

    .ds-menu-tile-ico {
        display: flex;
        align-items: center;
        justify-content: center;
        inline-size: 38px;
        block-size: 38px;
        border-radius: 50%;
        color: var(--c-white);
        font-size: 1.125rem;
    }

    .ds-tone-blue {
        background: linear-gradient(135deg, var(--c-blue), var(--c-sky));
    }

    .ds-tone-sky {
        background: linear-gradient(135deg, #2063a9, var(--c-sky));
    }

    .ds-tone-whatsapp {
        background: var(--c-whatsapp);
        color: var(--c-ink);
    }

    .ds-menu-foot .ds-social {
        justify-content: center;
    }

    /* ---------- phones: a fixed header, the sheet slides in below it ---------- */
    /* The header (logo and toggle) never moves: fixed at the top while scrolling and while the menu is open. The page
       is padded by its height, and section links stop below it (scroll-padding above). The sheet fills the rest of
       the screen and slides in from the inline-start edge over a second; closing slides it back, faster. */
    @media (max-width: 47.99rem) {
        .ds-header {
            position: fixed;
            inset-inline: 0;
        }

        .page-container {
            padding-block-start: var(--shell-header);
        }

        /* The sheet slides rather than fades: it starts (and ends) nearly opaque, so the page never reads through */
        .ds-menu {
            --menu-from: translateX(calc(-100% * var(--dir)));
            --menu-o0: 0.85;
        }

        /* The sheet itself covers the page: no dim layer */
        .ds-menu[open]::before {
            display: none;
        }

        .ds-menu-panel {
            inset-block: var(--shell-header) 0;
            inset-inline: 0;
            box-sizing: border-box;
            inline-size: auto;
            max-block-size: none;
            padding-block: 0 env(safe-area-inset-bottom, 0px);
            padding-inline: max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
            border: 0;
            border-block-start: 1px solid rgb(37 70 147 / 0.08);
            border-radius: 0;
            background: linear-gradient(170deg, var(--c-white) 0%, var(--c-tint) 55%, #e4eef9 100%);
            box-shadow: none;
            overscroll-behavior: contain;
        }

        .ds-menu[open] .ds-menu-panel {
            animation: ds-menu-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        .ds-menu.is-closing .ds-menu-panel {
            animation: ds-menu-out 0.5s cubic-bezier(0.5, 0, 0.75, 0) both;
        }

        @supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
            .ds-menu-panel {
                /* Nearly opaque: the page only tints the glass, its text never reads through */
                background: linear-gradient(170deg, rgb(255 255 255 / 0.97) 0%, rgb(240 246 253 / 0.95) 55%, rgb(228 238 249 / 0.97) 100%);
                -webkit-backdrop-filter: blur(30px) saturate(170%);
                backdrop-filter: blur(30px) saturate(170%);
            }
        }

        .ds-menu-smoke-1 {
            inset-inline-end: -110px;
            inset-block-start: -70px;
            inline-size: 320px;
            block-size: 300px;
        }

        .ds-menu-smoke-2 {
            inset-inline-start: -120px;
            inset-block-end: -60px;
            inline-size: 340px;
            block-size: 300px;
            --smoke: rgb(255 150 80 / 0.2);
        }

        .ds-menu-nav {
            padding-block: 14px 10px;
            padding-inline: calc(var(--gutter) - 10px);
        }

        .ds-menu-link {
            min-block-size: 62px;
        }

        /* The actions sit at the bottom of a tall screen, under a soft divider */
        .ds-menu-foot {
            margin-block-start: auto;
            gap: 14px;
            padding-block: 18px 20px;
            padding-inline: var(--gutter);
            border-block-start: 1px solid rgb(37 70 147 / 0.08);
        }

        .ds-menu-tile {
            min-block-size: 76px;
            justify-content: center;
        }

        .ds-menu-foot .ds-social-btn {
            --social: 48px;
        }

        /* The items follow the sheet in, one after the other, all inside its second */
        .ds-menu[open] :is(.ds-menu-link, .ds-menu-foot > *) {
            animation: ds-menu-rise 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
            animation-delay: calc(100ms + var(--menu-i, 0) * 38ms);
        }

        .ds-menu-link:nth-of-type(1) { --menu-i: 1; }
        .ds-menu-link:nth-of-type(2) { --menu-i: 2; }
        .ds-menu-link:nth-of-type(3) { --menu-i: 3; }
        .ds-menu-link:nth-of-type(4) { --menu-i: 4; }
        .ds-menu-link:nth-of-type(5) { --menu-i: 5; }
        .ds-menu-link:nth-of-type(6) { --menu-i: 6; }
        .ds-menu-foot > :nth-child(1) { --menu-i: 7; }
        .ds-menu-foot > :nth-child(2) { --menu-i: 8; }
        .ds-menu-foot > :nth-child(3) { --menu-i: 9; }
    }

    /* Open menu: the header (and the sheet in it) rises above the cookie banner; the skip link stays above both */
    .ds-header:has(.ds-menu[open]) {
        z-index: 1060;
    }

    /* The same for browsers without :has (a separate rule: one unknown selector would drop a whole list) */
    .ds-menu-locked .ds-header {
        z-index: 1060;
    }

    /* Open menu: the page behind it stays put (class set by site.js) */
    .ds-menu-locked body {
        overflow: hidden;
    }

    /* Wide screens: the pill rail of links and the "Let's talk" button; no phone menu */
    @media (min-width: 64rem) {
        :root {
            --shell-header: 5rem;
        }

        .ds-logo img {
            block-size: 56px;
        }

        .ds-nav {
            display: flex;
        }

        .ds-header-talk {
            display: inline-flex;
        }

        .ds-menu {
            display: none;
        }
    }

    /* Less motion: no slide, no rise, no morph; a short fade only */
    @media (prefers-reduced-motion: reduce) {
        .ds-menu[open] .ds-menu-panel {
            animation: ds-menu-fade-in 0.15s ease-out both;
        }

        .ds-menu.is-closing .ds-menu-panel {
            animation: ds-menu-fade-out 0.12s ease-in both;
        }

        .ds-menu[open] :is(.ds-menu-link, .ds-menu-foot > *) {
            animation: none;
        }

        .ds-menu > summary::before,
        .ds-menu-bar,
        .ds-menu-bar::after {
            transition: none;
        }

        .ds-btn:hover .ds-go {
            transform: none;
        }

        /* The logo stays still: no sweep, a steady glow, no lift */
        .ds-logo-shine {
            display: none;
        }

        .ds-logo::before {
            animation: none;
        }

        .ds-logo,
        .ds-logo:hover {
            transition: none;
            transform: none;
        }
    }

    /* ---------- social buttons: coloured circles with the brand marks ---------- */
    .ds-social {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .ds-social-btn {
        --social: 40px;
        --glyph: 0.52;
        display: flex;
        align-items: center;
        justify-content: center;
        inline-size: var(--social);
        block-size: var(--social);
        border-radius: 50%;
        background: var(--c-blue);
        box-shadow: 0 8px 16px -10px rgb(16 35 79 / 0.6);
        color: #fff;
        text-decoration: none;
        transition: transform 0.2s, filter 0.2s;
    }

    /* The white glyph is about half the circle, centred by its own box (see the optical nudges below) */
    .ds-social-btn .ds-icon {
        flex: none;
        inline-size: calc(var(--social) * var(--glyph));
        block-size: calc(var(--social) * var(--glyph));
        vertical-align: baseline;
        fill: #fff;
    }

    .ds-social-sm .ds-social-btn {
        --social: 36px;
    }

    .ds-social-btn:hover {
        color: #fff;
        filter: brightness(1.1);
        transform: translateY(-2px);
    }

    .ds-social-whatsapp {
        background: #25d366;
    }

    .ds-social-facebook {
        background: #1877f2;
    }

    .ds-social-instagram {
        background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    }

    .ds-social-linkedin {
        background: #0a66c2;
    }

    .ds-social-x {
        background: #000;
    }

    .ds-social-youtube {
        background: #f00;
    }

    .ds-social-github {
        background: #181717;
    }

    .ds-social-tiktok {
        background: #000;
    }

    /* Optical balance: wide marks a little larger, narrow ones smaller; the "f" and the play button sit off their box centre */
    .ds-social-youtube .ds-icon {
        --glyph: 0.58;
    }

    .ds-social-x .ds-icon {
        --glyph: 0.46;
    }

    .ds-social-facebook .ds-icon {
        --glyph: 0.6;
        transform: translateX(-4%);
    }

    @media (prefers-reduced-motion: reduce) {
        .ds-social-btn {
            transition: filter 0.2s;
        }

        .ds-social-btn:hover {
            transform: none;
        }
    }

    /* ---------- footer ---------- */
    /* Every width: cracked frosted glass over soft colour and smoke. Phones keep the short content (four links,
       contact, socials, legal); from 48rem the four columns, the wordmark and "Back to top". */
    .ds-footer {
        position: relative;
        overflow: hidden;
        border-block-start: 1px solid rgb(37 70 147 / 0.1);
        background: linear-gradient(160deg, var(--c-band) 0%, #cfe0f4 50%, #d8e6f6 100%);
        color: var(--c-ink-2);
        font-size: 0.9rem;
    }

    .ds-footer ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .ds-footer a {
        color: var(--c-ink);
        text-decoration: none;
    }

    .ds-footer a:hover {
        color: var(--c-blue);
    }

    .ds-footer-glass {
        position: absolute;
        inset: 0;
        display: block;
        pointer-events: none;
    }

    .ds-footer-smoke-1 {
        inset-inline-start: -6%;
        inset-block-start: -30%;
        inline-size: 620px;
        block-size: 520px;
        --smoke: rgb(37 70 147 / 0.55);
        filter: blur(40px);
    }

    .ds-footer-smoke-2 {
        inset-inline-start: 38%;
        inset-block-start: 20%;
        inline-size: 560px;
        block-size: 460px;
        --smoke: rgb(32 160 224 / 0.5);
        filter: blur(44px);
    }

    .ds-footer-smoke-3 {
        inset-inline-end: -4%;
        inset-block-start: -20%;
        inline-size: 480px;
        block-size: 420px;
        --smoke: rgb(255 150 80 / 0.35);
        filter: blur(44px);
    }

    .ds-footer-smoke-4 {
        inset-inline-end: 12%;
        inset-block-end: -30%;
        inline-size: 600px;
        block-size: 420px;
        --smoke: rgb(37 70 147 / 0.4);
        filter: blur(46px);
    }

    /* The frosted pane, with the crack lines (an inline SVG, so no extra request) and a sheen that sweeps across */
    .ds-footer-pane,
    .ds-header-crack {
        --ds-crack: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3Cg id='c' fill='none' stroke-linejoin='round'%3E%3Cpath d='M1290 96 L1259 106 L1235 111 L1200 120 L1178 120 L1156 124 L1119 122 L1076 133 L1040 131 L1017 128 L984 134 L962 146 L946 160 L923 180 L894 195 L864 207 L834 215 L793 233'/%3E%3Cpath d='M834 215 L827 232 L825 256 L824 283 L825 310'/%3E%3Cpath d='M1290 96 L1249 87 L1206 79 L1184 77 L1146 69 L1123 68 L1080 71 L1057 68'/%3E%3Cpath d='M1184 77 L1160 79 L1140 85 L1115 85 L1096 86 L1068 89'/%3E%3Cpath d='M1290 96 L1271 67 L1266 47 L1246 8 L1233 -24 L1217 -42 L1203 -57 L1178 -88 L1162 -104 L1133 -124 L1105 -132 L1083 -140 L1046 -157 L1017 -162 L990 -168 L955 -170 L932 -176'/%3E%3Cpath d='M1046 -157 L1032 -155 L1018 -149 L1003 -142 L984 -137 L958 -129'/%3E%3Cpath d='M1290 96 L1296 53 L1292 21 L1292 -14 L1284 -38 L1283 -76 L1274 -105 L1263 -124 L1243 -150 L1236 -172 L1219 -198 L1195 -227 L1168 -260'/%3E%3Cpath d='M1195 -227 L1179 -235 L1157 -239 L1143 -238 L1128 -235 L1110 -226 L1098 -219'/%3E%3Cpath d='M1290 96 L1304 55 L1309 33 L1313 11 L1332 -27 L1336 -59 L1328 -95 L1322 -114 L1309 -133 L1289 -150 L1266 -167 L1245 -197 L1225 -222 L1206 -248 L1190 -271 L1174 -284'/%3E%3Cpath d='M1206 -248 L1209 -265 L1206 -283 L1205 -299 L1199 -326 L1196 -345 L1198 -364'/%3E%3Cpath d='M1290 96 L1323 75 L1363 63 L1395 51 L1416 40 L1452 22 L1488 12 L1515 14 L1546 9 L1570 1'/%3E%3Cpath d='M1452 22 L1478 25 L1496 33 L1510 35 L1523 40 L1542 50'/%3E%3Cpath d='M1290 96 L1312 86 L1330 77 L1356 71 L1375 61 L1404 49 L1438 39 L1481 35 L1506 36 L1531 37 L1561 28 L1585 24 L1612 14 L1645 8 L1683 4 L1721 -3 L1744 0'/%3E%3Cpath d='M1645 8 L1668 22 L1688 32 L1707 48 L1719 65'/%3E%3Cpath d='M1290 96 L1318 124 L1343 153 L1375 179 L1399 216 L1419 249 L1445 282 L1456 309 L1476 332'/%3E%3Cpath d='M1445 282 L1455 306 L1472 325 L1486 337 L1496 349 L1513 361'/%3E%3Cpath d='M1290 96 L1299 138 L1309 180 L1322 202 L1335 226 L1346 260 L1359 298 L1367 325 L1381 363 L1383 388 L1376 431 L1370 464 L1371 498 L1372 532 L1387 573'/%3E%3Cpath d='M1376 431 L1374 445 L1376 473 L1378 500 L1376 520 L1377 540 L1382 567 L1379 594'/%3E%3Cpath d='M1290 96 L1288 117 L1291 154 L1286 175 L1286 195 L1291 232 L1302 263 L1312 296 L1315 331 L1312 368'/%3E%3Cpath d='M1291 232 L1299 246 L1313 264 L1325 282 L1333 303 L1336 320'/%3E%3Cpath d='M1290 96 L1265 109 L1231 134 L1201 166 L1181 178 L1153 204 L1138 221 L1114 240 L1094 251 L1062 269 L1046 288 L1015 317 L993 326 L958 341 L924 356 L906 369'/%3E%3Cpath d='M1201 166 L1194 187 L1193 203 L1196 229 L1190 256 L1191 270'/%3E%3Cpath d='M150 500 L172 470 L200 444 L226 417 L238 391 L247 372 L259 338 L269 315 L294 288 L314 258 L335 232 L359 196 L383 167 L416 139'/%3E%3Cpath d='M200 444 L190 427 L179 416 L168 406 L145 392 L127 380 L113 364'/%3E%3Cpath d='M150 500 L172 499 L211 500 L251 487 L278 471 L302 448 L318 434 L346 423 L379 410 L403 398 L435 387 L468 369 L484 357'/%3E%3Cpath d='M302 448 L310 437 L320 420 L334 400 L346 378 L354 355'/%3E%3Cpath d='M150 500 L172 496 L214 497 L257 488 L291 473 L314 454 L337 420 L348 398 L357 376 L369 344 L384 311 L397 275 L410 255 L419 233'/%3E%3Cpath d='M369 344 L391 330 L408 315 L428 302 L441 290'/%3E%3Cpath d='M150 500 L174 526 L204 548 L220 561 L238 572 L263 577 L302 579 L324 588 L368 594 L396 599 L428 600 L468 591 L499 591 L539 599 L567 612'/%3E%3Cpath d='M539 599 L546 624 L550 642 L553 667'/%3E%3Cpath d='M150 500 L150 531 L155 564 L161 598 L160 629 L155 649 L149 691 L142 727 L134 765 L131 806 L135 842 L145 883'/%3E%3Cpath d='M142 727 L120 744 L100 760 L88 773 L70 794 L56 804 L42 816'/%3E%3Cpath d='M150 500 L135 520 L111 551 L85 582 L69 600 L36 626 L21 641 L-2 664 L-34 694 L-66 717'/%3E%3Cpath d='M111 551 L88 559 L73 560 L58 559 L35 556'/%3E%3Cpath d='M150 500 L117 501 L88 497 L44 495 L13 490 L-24 483 L-64 469 L-103 459 L-141 443'/%3E%3Cpath d='M-24 483 L-36 501 L-52 520 L-65 536 L-75 558 L-88 572 L-96 586 L-105 601'/%3E%3Cpath d='M150 500 L131 486 L103 460 L84 449 L53 433 L38 419 L16 407 L-9 399 L-40 384'/%3E%3Cpath d='M84 449 L73 427 L62 408 L55 389 L43 365'/%3E%3Cpath d='M150 500 L146 457 L143 432 L126 392 L120 363 L113 331 L98 290 L92 265 L75 238 L50 207'/%3E%3Cpath d='M92 265 L100 248 L106 222 L113 200'/%3E%3Cpath d='M1249 87 Q1257 76 1271 67'/%3E%3Cpath d='M1296 53 Q1301 50 1304 55'/%3E%3Cpath d='M1304 55 Q1316 62 1323 75'/%3E%3Cpath d='M1323 75 Q1320 79 1312 86'/%3E%3Cpath d='M1312 86 Q1317 106 1318 124'/%3E%3Cpath d='M1318 124 Q1310 134 1299 138'/%3E%3Cpath d='M1299 138 Q1294 130 1288 117'/%3E%3Cpath d='M1288 117 Q1276 114 1265 109'/%3E%3Cpath d='M1235 111 Q1215 95 1206 79'/%3E%3Cpath d='M1206 79 Q1231 61 1266 47'/%3E%3Cpath d='M1266 47 Q1278 29 1292 21'/%3E%3Cpath d='M1292 21 Q1301 22 1309 33'/%3E%3Cpath d='M1309 33 Q1340 44 1363 63'/%3E%3Cpath d='M1363 63 Q1351 68 1330 77'/%3E%3Cpath d='M1330 77 Q1340 116 1343 153'/%3E%3Cpath d='M1343 153 Q1329 172 1309 180'/%3E%3Cpath d='M1231 134 Q1228 125 1235 111'/%3E%3Cpath d='M1184 77 Q1209 38 1246 8'/%3E%3Cpath d='M1246 8 Q1267 -11 1292 -14'/%3E%3Cpath d='M1292 -14 Q1304 -9 1313 11'/%3E%3Cpath d='M1313 11 Q1359 26 1395 51'/%3E%3Cpath d='M1375 179 Q1353 198 1322 202'/%3E%3Cpath d='M1286 175 Q1240 176 1201 166'/%3E%3Cpath d='M172 499 Q174 497 172 496'/%3E%3Cpath d='M172 496 Q175 512 174 526'/%3E%3Cpath d='M174 526 Q163 531 150 531'/%3E%3Cpath d='M135 520 Q124 512 117 501'/%3E%3Cpath d='M200 444 Q210 469 211 500'/%3E%3Cpath d='M211 500 Q218 498 214 497'/%3E%3Cpath d='M214 497 Q214 524 204 548'/%3E%3Cpath d='M204 548 Q182 560 155 564'/%3E%3Cpath d='M155 564 Q132 562 111 551'/%3E%3Cpath d='M111 551 Q95 526 88 497'/%3E%3Cpath d='M103 460 Q121 442 143 432'/%3E%3Cpath d='M226 417 Q246 448 251 487'/%3E%3Cpath d='M257 488 Q245 526 220 561'/%3E%3Cpath d='M161 598 Q121 597 85 582'/%3E%3Cpath d='M44 495 Q57 470 84 449'/%3E%3Cpath d='M84 449 Q101 414 126 392'/%3E%3Cpath d='M126 392 Q178 397 226 417'/%3E%3C/g%3E%3C/defs%3E%3Cg fill='rgba(255,255,255,.22)'%3E%3Cpolygon points='1290,96 1249,87 1271,67'/%3E%3Cpolygon points='1290,96 1312,86 1318,124'/%3E%3Cpolygon points='150,500 172,499 172,496'/%3E%3Cpolygon points='150,500 174,526 150,531'/%3E%3C/g%3E%3Cuse href='%23c' stroke='rgba(16,35,79,.16)' stroke-width='1.2' transform='translate(1 1)'/%3E%3Cuse href='%23c' stroke='rgba(255,255,255,.9)'/%3E%3Ccircle cx='1290' cy='96' r='4' fill='%23ffffff'/%3E%3Ccircle cx='1290' cy='96' r='14' fill='none' stroke='rgba(255,255,255,.7)'/%3E%3Ccircle cx='150' cy='500' r='3.5' fill='%23ffffff'/%3E%3Ccircle cx='150' cy='500' r='12' fill='none' stroke='rgba(255,255,255,.7)'/%3E%3C/svg%3E");
    }

    .ds-footer-pane {
        position: absolute;
        inset: 0;
        overflow: hidden;
        background: var(--ds-crack) center / cover no-repeat, rgb(240 246 253 / 0.86);
        box-shadow: inset 0 1px 0 var(--c-white), inset 0 -1px 0 rgb(255 255 255 / 0.6);
    }

    @supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
        .ds-footer-pane {
            background: var(--ds-crack) center / cover no-repeat, linear-gradient(140deg, rgb(255 255 255 / 0.62) 0%, rgb(240 246 253 / 0.48) 50%, rgb(255 255 255 / 0.55) 100%);
            -webkit-backdrop-filter: blur(26px) saturate(170%);
            backdrop-filter: blur(26px) saturate(170%);
        }
    }

    /* Phones: the tall narrow pane would crop both impact points away with "cover"; each one sits in a corner instead */
    @media (max-width: 47.99rem) {
        .ds-footer-pane {
            background: var(--ds-crack) 100% 0 / 1100px auto no-repeat, var(--ds-crack) 0 100% / 1100px auto no-repeat, rgb(240 246 253 / 0.86);
        }

        @supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
            .ds-footer-pane {
                background: var(--ds-crack) 100% 0 / 1100px auto no-repeat, var(--ds-crack) 0 100% / 1100px auto no-repeat, linear-gradient(140deg, rgb(255 255 255 / 0.62) 0%, rgb(240 246 253 / 0.48) 50%, rgb(255 255 255 / 0.55) 100%);
            }
        }
    }

    .ds-footer-sheen {
        position: absolute;
        inset-block: -10%;
        inset-inline-start: 0;
        inline-size: 18%;
        background: linear-gradient(90deg, rgb(255 255 255 / 0), rgb(255 255 255 / 0.55), rgb(255 255 255 / 0));
        animation: ds-sheen 7s ease-in-out 1.5s infinite;
    }

    @keyframes ds-sheen {
        0% {
            transform: translateX(-140%) skewX(-18deg);
        }

        55%,
        100% {
            transform: translateX(260%) skewX(-18deg);
        }
    }

    .ds-footer-grid,
    .ds-footer-bottom,
    .ds-footer-wordmark {
        position: relative;
    }

    .ds-footer-grid {
        display: grid;
        gap: var(--s-5);
        justify-items: center;
        padding-block: var(--s-7) 0;
        text-align: center;
    }

    .ds-footer-col h2 {
        margin-block: 0 var(--s-4);
        color: var(--c-ink);
        font-size: 0.9375rem;
        font-weight: 700;
        letter-spacing: 0;
    }

    .ds-footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 22px;
        font-weight: 600;
    }

    .ds-footer-services,
    .ds-footer-deals,
    .ds-footer-top {
        display: none;
    }

    /* The big faint brand name behind the last row, at every width (decoration, aria-hidden); on phones it is sized
       to the screen's width so it never runs off the side */
    .ds-footer-wordmark {
        display: block;
        margin-block: var(--s-6) calc(-1 * var(--s-5));
        background: linear-gradient(180deg, rgb(37 70 147 / 0.22) 0%, rgb(37 70 147 / 0) 85%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-size: 15.5vw;
        font-weight: 900;
        letter-spacing: -0.04em;
        line-height: 0.9;
        text-align: center;
        text-transform: uppercase;
        white-space: nowrap;
        user-select: none;
    }

    /* On phones the headings are only there for assistive technology */
    .ds-footer-col h2 {
        position: absolute;
        inline-size: 1px;
        block-size: 1px;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    /* Get in touch: the desktop's icon tiles, touch-sized; the rows line up in a centred column */
    .ds-footer-contact .ds-footer-details {
        display: grid;
        justify-content: center;
        gap: 10px;
        text-align: start;
    }

    .ds-footer-contact .ds-footer-details li,
    .ds-footer-contact .ds-footer-details a {
        display: flex;
        align-items: center;
        gap: var(--s-3);
    }

    .ds-footer-contact .ds-footer-details a {
        min-block-size: 44px;
        color: var(--c-ink);
    }

    .ds-footer-ico {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: none;
        inline-size: 44px;
        block-size: 44px;
        border: 1px solid rgb(255 255 255 / 0.95);
        border-radius: 13px;
        background: rgb(255 255 255 / 0.7);
        box-shadow: 0 8px 16px -10px rgb(16 35 79 / 0.35);
        color: var(--c-blue);
        font-size: 1.125rem;
        transition: background-color 0.25s, border-color 0.25s;
    }

    .ds-footer-contact .ds-footer-details a:hover .ds-footer-ico {
        border-color: rgb(32 160 224 / 0.6);
        background: var(--c-white);
    }

    .ds-footer-line {
        display: flex;
        flex-direction: column;
        color: var(--c-ink);
        font-weight: 600;
        overflow-wrap: anywhere;
    }

    .ds-footer-hint {
        display: flex;
        color: var(--c-ink-3);
        font-size: 0.75rem;
        font-weight: 400;
    }

    .ds-footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--s-2);
        margin-block-start: var(--s-6);
        padding-block: var(--s-5) 5.5rem; /* clear the floating WhatsApp button on phones */
        border-block-start: 1px solid rgb(37 70 147 / 0.14);
        font-size: var(--fs-xs);
    }

    .ds-footer-bottom p {
        margin: 0;
    }

    .ds-footer-mark {
        order: -2;
        inline-size: 32px;
        block-size: 32px;
        margin-block-end: var(--s-1);
    }

    .ds-footer-contact .ds-social {
        justify-content: center;
        gap: 12px;
        margin-block-start: var(--s-4);
    }

    .ds-footer-bottom ul {
        display: flex;
        gap: var(--s-5);
        order: -1;
    }

    .ds-footer-bottom a {
        color: var(--c-ink-2);
        text-decoration: underline;
    }

    @media (min-width: 48rem) {
        .ds-footer-grid {
            grid-template-columns: 0.8fr 0.9fr 1.3fr;
            gap: var(--s-7);
            justify-items: stretch;
            padding-block: var(--s-9) 0;
            font-size: 0.906rem;
            text-align: start;
        }

        .ds-footer-col h2 {
            position: static;
            inline-size: auto;
            block-size: auto;
            margin-block: 0 var(--s-1);
            overflow: visible;
            clip-path: none;
            white-space: normal;
        }

        .ds-footer-services,
        .ds-footer-deals {
            display: block;
        }

        .ds-footer-col {
            display: flex;
            flex-direction: column;
            gap: 13px;
        }

        .ds-footer-links ul,
        .ds-footer-services ul {
            display: flex;
            flex-direction: column;
            flex-wrap: nowrap;
            align-items: flex-start;
            gap: 13px;
            font-weight: 400;
        }

        .ds-footer-links a,
        .ds-footer-services a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--c-ink-2);
        }

        .ds-footer-links a::before,
        .ds-footer-services a::before {
            content: "";
            inline-size: 0;
            block-size: 2px;
            border-radius: 2px;
            background: linear-gradient(90deg, var(--c-sky), #ff9d5c);
            transition: inline-size 0.25s;
        }

        .ds-footer-links a:hover::before,
        .ds-footer-services a:hover::before {
            inline-size: 14px;
        }

        .ds-footer-contact .ds-footer-details {
            justify-content: stretch;
            gap: 14px;
        }

        /* The tiles are a little smaller beside the columns */
        .ds-footer-ico {
            inline-size: 40px;
            block-size: 40px;
            border-radius: 12px;
        }

        .ds-footer-line {
            font-size: 0.906rem;
        }

        .ds-footer-wordmark {
            margin-block: var(--s-7) 0;
            font-size: clamp(5rem, 13vw, 11.75rem);
        }

        /* Room at the end for the round floating WhatsApp button: only as much as the container's own side margin
           does not already give */
        .ds-footer-bottom {
            --fab-room: 5.5rem;
            flex-direction: row;
            gap: var(--s-5);
            margin-block-start: -2.5rem;
            padding-block: var(--s-5) var(--s-6);
            padding-inline-end: calc(var(--gutter) + clamp(0px, calc(var(--fab-room) - (100vw - var(--container)) / 2), var(--fab-room)));
            font-size: 0.8125rem;
        }

        .ds-footer-bottom ul {
            order: 0;
        }

        .ds-footer-mark {
            order: 0;
            margin-block-end: 0;
        }

        .ds-footer-contact .ds-social {
            justify-content: flex-start;
            gap: 10px;
        }

        .ds-footer-bottom a {
            text-decoration: none;
        }

        .ds-footer-bottom ul a:hover {
            text-decoration: underline;
        }

        .ds-footer-top {
            display: inline-flex;
            align-items: center;
            gap: var(--s-3);
            margin-inline-start: auto;
            color: var(--c-ink);
            font-weight: 600;
        }

        .ds-footer-top .ds-go {
            inline-size: 38px;
            block-size: 38px;
            background: linear-gradient(135deg, var(--c-blue), var(--c-sky));
            box-shadow: 0 10px 20px -10px rgb(32 160 224 / 0.9);
            color: var(--c-white);
        }

        .ds-footer-top:hover .ds-go {
            transform: translateY(-3px);
        }

        .ds-go-up {
            transform: rotate(-90deg);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .ds-footer-sheen {
            display: none;
        }

        .ds-footer-top:hover .ds-go {
            transform: none;
        }
    }

    /* ---------- WhatsApp button ---------- */
    .ds-whatsapp {
        position: fixed;
        inset-block-end: var(--s-5);
        inset-inline-end: var(--s-5);
        z-index: 900;
        display: inline-flex;
        align-items: center;
        gap: var(--s-2);
        min-block-size: 52px;
        min-inline-size: 52px;
        justify-content: center;
        padding-inline: var(--s-4);
        border-radius: var(--r-pill);
        background: var(--c-whatsapp);
        color: var(--c-ink);
        font-size: 1.5rem;
        text-decoration: none;
        box-shadow: var(--shadow-2);
    }

    .ds-whatsapp:hover {
        color: var(--c-ink);
    }

    /* At every width the button is the round WhatsApp logo itself, no words (its name is the aria-label) */
    .ds-whatsapp {
        padding-inline: 0;
    }

    .ds-whatsapp .ds-icon {
        inline-size: 52px;
        block-size: 52px;
    }

    /* ---------- cookie banner (shown by site.js) ---------- */
    .ds-cookie {
        position: fixed;
        inset-inline: var(--s-3);
        inset-block-end: var(--s-3);
        z-index: 1050;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--s-3) var(--s-5);
        max-inline-size: 52rem;
        margin-inline: auto;
        padding: var(--s-4) var(--s-5);
        border: 1px solid var(--c-line);
        border-radius: var(--r-card);
        background: var(--c-white);
        box-shadow: var(--shadow-2);
        font-size: var(--fs-sm);
    }

    .ds-cookie[hidden] {
        display: none;
    }

    .ds-cookie p {
        flex: 1 1 18rem;
        color: var(--c-ink-2);
    }

    .ds-cookie-icon {
        font-size: 1.5rem;
        color: var(--c-accent-1);
    }

    /* ---------- phone header lightning (2026-11-28): logo centred, server left, menu right; every 3.6 s the
       lights count down, a bolt hits the logo (0.79 s) then the menu (1 s), orange then blue (7.2 s cycle) ---------- */
    .ds-hdr-server,
    .ds-bolt,
    .ds-logo-fx,
    .ds-menu-tint,
    .ds-menu-hit {
        display: none;
    }

    @media (max-width: 47.99rem) {
        .ds-header-bar {
            display: grid;
            grid-template-columns: 46px minmax(0, 1fr) auto minmax(0, 1fr) 46px;
            column-gap: 0;
        }

        .ds-header-bar > * {
            grid-row: 1;
        }

        .ds-hdr-server {
            --led: #2fd07a;
            --led-glow: rgb(47 208 122 / 0.8);
            position: relative;
            display: grid;
            grid-column: 1;
            justify-self: start;
            align-content: center;
            gap: 3px;
            inline-size: 34px;
            block-size: 40px;
            transition: opacity 0.3s;
        }

        .ds-hdr-server::after {
            content: "";
            position: absolute;
            inset-inline: 3px;
            inset-block-end: -4px;
            block-size: 4px;
            border-radius: 50%;
            background: rgb(16 35 79 / 0.18);
            filter: blur(2px);
        }

        .ds-bay {
            display: flex;
            align-items: center;
            gap: 3px;
            block-size: 11px;
            padding-inline: 4px;
            border-radius: 4px;
            background: linear-gradient(180deg, var(--c-blue-2), #1b3576);
            box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 2px 4px -2px rgb(16 35 79 / 0.5);
        }

        .ds-bay::after {
            content: "";
            flex: 1;
            block-size: 2px;
            margin-inline-start: 2px;
            border-radius: 2px;
            background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.35) 0 3px, transparent 3px 5px);
        }

        .ds-led {
            inline-size: 4px;
            block-size: 4px;
            border-radius: 50%;
            background: var(--led); box-shadow: 0 0 6px var(--led-glow); scale: 1;
        }

        .ds-led-sky {
            --led: var(--c-sky);
            --led-glow: rgb(32 160 224 / 0.8);
        }

        .ds-logo,
        .ds-logo-fx {
            grid-column: 3;
            justify-self: center;
        }

        .ds-logo {
            z-index: 1;
        }

        .ds-logo::before {
            display: none;
        }

        .ds-header-actions {
            grid-column: 5;
            justify-self: end;
            margin-inline-start: 0;
        }

        .ds-header:has(.ds-menu[open]) :is(.ds-hdr-server, .ds-bolt, .ds-logo-fx) {
            opacity: 0;
        }
    }

    @media (max-width: 47.99rem) and (prefers-reduced-motion: no-preference) {
        .ds-bolt {
            display: block;
            align-self: center;
            block-size: 46px;
            overflow: visible;
            pointer-events: none;
            transform: scaleX(var(--dir));
            transition: opacity 0.3s;
        }

        .ds-bolt-logo {
            grid-column: 2;
            max-inline-size: none;
            inline-size: calc(100% + 12px);
            margin-inline-start: -12px;
        }

        .ds-bolt-menu {
            grid-column: 4;
            inline-size: 100%;
        }

        .ds-bolt path {
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-dasharray: 1;
            stroke-dashoffset: 1;
            vector-effect: non-scaling-stroke;
            opacity: 0;
            animation: ds-bolt-strike 7.2s calc(var(--build) + 3.6s) infinite;
        }

        .ds-bolt-menu path {
            animation-name: ds-bolt-leg;
        }

        .ds-bolt .ds-bolt-b {
            animation-delay: var(--build);
        }

        .ds-bolt-glow {
            stroke-width: 5px;
        }

        .ds-bolt-core {
            stroke-width: 1.6px;
        }

        .ds-bolt-fork {
            stroke-width: 1px;
        }

        .ds-bolt-o.ds-bolt-glow {
            stroke: rgb(242 112 31 / 0.5);
        }

        .ds-bolt-b.ds-bolt-glow {
            stroke: rgb(32 160 224 / 0.5);
        }

        .ds-bolt-o:not(.ds-bolt-glow) {
            stroke: #fff1e4;
        }

        .ds-bolt-b:not(.ds-bolt-glow) {
            stroke: #f4fbff;
        }

        .ds-bolt-logo {
            filter: drop-shadow(0 0 2px rgb(255 255 255 / 0.7));
        }

        .ds-hdr-server {
            animation: ds-build-buzz var(--build) both, ds-server-buzz 3.6s var(--build) infinite;
        }

        .ds-led {
            animation: ds-build-led var(--build) both, ds-led-count 7.2s var(--build) infinite;
        }

        .ds-bay:nth-child(2) .ds-led {
            animation-delay: 0.12s, calc(var(--build) + 0.18s);
        }

        .ds-bay:nth-child(3) .ds-led {
            animation-delay: 0.24s, calc(var(--build) + 0.36s);
        }

        .ds-logo-fx {
            position: relative;
            z-index: 0;
            display: block;
            transition: opacity 0.3s;
            align-self: center;
            inline-size: 100%;
            block-size: 46px;
            pointer-events: none;
        }

        /* A soft shadow in the logo's own shape, in the last bolt's colour: it lifts the letters, never covers them */
        .ds-logo-shadow {
            position: absolute;
            inset: 0;
            filter: blur(5px);
            translate: 0 2px;
            animation: ds-build-shadow-o var(--build) both, ds-smoke-blue 7.2s var(--build) infinite;
        }

        .ds-logo-shadow-b {
            animation-name: ds-build-shadow-b, ds-smoke-orange;
        }

        .ds-logo-shadow i {
            position: absolute;
            inset: 0;
            scale: 1.05;
            -webkit-mask: url("/images/logo-full-3x.webp") center / contain no-repeat;
            mask: url("/images/logo-full-3x.webp") center / contain no-repeat;
        }

        .ds-logo-shadow-o i {
            background: rgb(217 83 43 / 0.75);
        }

        .ds-logo-shadow-b i {
            background: rgb(32 110 200 / 0.7);
        }

        .ds-hit {
            position: absolute;
            inset-inline-start: -8px;
            inset-block-start: 50%;
            inline-size: 22px;
            block-size: 22px;
            margin-block-start: -11px;
            border-radius: 50%;
            opacity: 0;
            animation: ds-hit-ring 7.2s calc(var(--build) + 3.6s) infinite;
        }

        .ds-hit-o {
            border: 1.5px solid rgb(255 178 122 / 0.95);
            box-shadow: 0 0 10px rgb(234 109 30 / 0.85), inset 0 0 8px rgb(234 109 30 / 0.6);
        }

        .ds-hit-b {
            border: 1.5px solid rgb(143 207 255 / 0.95);
            box-shadow: 0 0 10px rgb(32 160 224 / 0.85), inset 0 0 8px rgb(32 160 224 / 0.6);
            animation-delay: var(--build);
        }

        .ds-spark {
            position: absolute;
            inset-inline-start: 2px;
            inset-block-start: 50%;
            inline-size: 3px;
            block-size: 3px;
            border-radius: 50%;
            opacity: 0;
            animation: ds-hit-spark 7.2s calc(var(--build) + 3.6s) infinite;
        }

        .ds-spark-o {
            background: #fff1e4;
            box-shadow: 0 0 6px var(--c-accent-1);
        }

        .ds-spark-b {
            background: #e9f7ff;
            box-shadow: 0 0 6px var(--c-sky);
            animation-delay: var(--build);
        }

        .ds-spark:nth-child(3n + 1) {
            --spark: -12px -10px;
        }

        .ds-spark:nth-child(3n + 2) {
            --spark: -14px 2px;
        }

        .ds-spark:nth-child(3n) {
            --spark: -9px 12px;
        }

        .ds-menu-tint,
        .ds-menu-hit {
            position: absolute;
            inset: 0;
            display: block;
            border-radius: inherit;
            pointer-events: none;
        }

        .ds-menu-tint {
            background: linear-gradient(135deg, #f08a3c, var(--c-accent-1) 55%, var(--c-accent-2));
            animation: ds-build-menu var(--build) both, ds-smoke-blue 7.2s calc(var(--build) + 0.21s) infinite;
        }

        .ds-menu-hit {
            inset: -4px;
            opacity: 0;
            animation: ds-menu-ring 7.2s calc(var(--build) + 3.81s) infinite;
        }

        .ds-menu-hit-o {
            border: 1.5px solid rgb(255 178 122 / 0.95);
            box-shadow: 0 0 12px rgb(234 109 30 / 0.8);
        }

        .ds-menu-hit-b {
            border: 1.5px solid rgb(143 207 255 / 0.95);
            box-shadow: 0 0 12px rgb(32 160 224 / 0.8);
            animation-delay: calc(var(--build) + 0.21s);
        }

        /* Hidden, not stopped, so it stays in step (site.js starts the whole sequence again on close) */
        .ds-menu[open] :is(.ds-menu-tint, .ds-menu-hit) {
            visibility: hidden;
        }
    }

    @keyframes ds-led-count {
        0%, 9.444% { background: #a9e2ff; box-shadow: 0 0 8px 2px rgb(32 160 224 / 0.95); scale: 1.25; }
        12.222%, 49.9% { background: var(--led); box-shadow: 0 0 6px var(--led-glow); scale: 1; }
        50%, 59.444% { background: #ffb27a; box-shadow: 0 0 8px 2px rgb(234 109 30 / 0.95); scale: 1.25; }
        62.222%, 99.9% { background: var(--led); box-shadow: 0 0 6px var(--led-glow); scale: 1; }
        100% { background: #a9e2ff; box-shadow: 0 0 8px 2px rgb(32 160 224 / 0.95); scale: 1.25; }
    }

    @keyframes ds-server-buzz {
        0%, 10.278%, 16.667%, 100% { translate: 0 0; }
        11.389% { translate: -1px 0.5px; }
        12.778% { translate: 1px -0.5px; }
        14.167% { translate: -0.8px 0.3px; }
        15.556% { translate: 0.6px 0; }
    }

    @keyframes ds-bolt-strike {
        0%, 7.778% { stroke-dashoffset: 1; opacity: 0; }
        8.194% { opacity: 1; }
        10.972% { stroke-dashoffset: 0; opacity: 1; }
        11.667% { opacity: 0.35; }
        12.083% { opacity: 1; }
        13.889%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }

    @keyframes ds-bolt-leg {
        0%, 10.972% { stroke-dashoffset: 1; opacity: 0; }
        11.389% { opacity: 1; }
        13.889% { stroke-dashoffset: 0; opacity: 1; }
        14.583% { opacity: 0.35; }
        15% { opacity: 1; }
        16.806%, 100% { stroke-dashoffset: 0; opacity: 0; }
    }

    @keyframes ds-hit-ring {
        0%, 10.833% { opacity: 0; scale: 0.3; }
        11.389% { opacity: 1; }
        16.806%, 100% { opacity: 0; scale: 2.4; }
    }

    @keyframes ds-hit-spark {
        0%, 10.972% { opacity: 0; translate: 0 0; }
        11.389% { opacity: 1; }
        15.278%, 100% { opacity: 0; translate: var(--spark, -10px 0); }
    }

    @keyframes ds-smoke-orange {
        0%, 10.972% { opacity: 0; }
        13.472%, 60.972% { opacity: 1; }
        63.472%, 100% { opacity: 0; }
    }

    @keyframes ds-smoke-blue {
        0%, 10.972% { opacity: 1; }
        13.472%, 60.972% { opacity: 0; }
        63.472%, 100% { opacity: 1; }
    }

    @keyframes ds-menu-ring {
        0%, 10.833% { opacity: 0; transform: scale(0.9); }
        11.389% { opacity: 1; }
        16.806%, 100% { opacity: 0; transform: scale(1.35); }
    }

    /* The logo build: the first four strikes set the M, the code symbol, ASA and CODE (each a copy of the logo picture,
       cut to its piece), each landing with a jolt and cracks in the glass; the logo itself shows once all are in. The
       usual strikes then start (blue first), 6.42 s after the page opened. Seconds: hits at 0.5, 1.9, 3.3, 4.7; each
       bolt leaves 0.4 s later and lands 0.62 s later; the last runs on to the menu button. */
    @media (max-width: 47.99rem) {
        .ds-header {
            --build: 6.42s;
        }
    }

    @media (max-width: 47.99rem) and (prefers-reduced-motion: no-preference) {
        :is(.ds-logo img, .ds-logo-shine) {
            animation: ds-build-logo 6.42s both;
        }

        .ds-logo-fx {
            animation: ds-build-shake 6.42s both;
        }

        :is(.ds-logo-ghost, .ds-logo-piece) {
            position: absolute;
            inset: 0;
            inline-size: 100%;
            block-size: 100%;
        }

        .ds-logo-ghost {
            filter: grayscale(1) brightness(1.4);
            animation: ds-build-ghost 6.42s both;
        }

        .ds-logo-piece {
            opacity: 0;
            animation: 6.42s both;
        }

        .ds-logo-piece-m {
            clip-path: polygon(0.00% 31.88%, 4.60% 33.33%, 6.90% 33.33%, 9.20% 35.14%, 11.49% 37.32%, 13.79% 40.58%, 16.09% 42.39%, 18.39% 43.48%, 20.69% 43.84%, 22.99% 42.75%, 25.29% 43.48%, 27.59% 43.12%, 29.89% 42.39%, 32.18% 40.22%, 34.48% 37.68%, 36.78% 35.51%, 39.08% 32.61%, 41.38% 32.61%, 45.98% 31.88%, 45.98% 100.00%, 0.00% 100.00%);
            transform-origin: 23% 66%;
            animation-name: ds-build-piece-0;
        }

        .ds-logo-piece-symbol {
            clip-path: polygon(0.00% 0.00%, 45.98% 0.00%, 45.98% 31.88%, 41.38% 32.61%, 39.08% 32.61%, 36.78% 35.51%, 34.48% 37.68%, 32.18% 40.22%, 29.89% 42.39%, 27.59% 43.12%, 25.29% 43.48%, 22.99% 42.75%, 20.69% 43.84%, 18.39% 43.48%, 16.09% 42.39%, 13.79% 40.58%, 11.49% 37.32%, 9.20% 35.14%, 6.90% 33.33%, 4.60% 33.33%, 0.00% 31.88%);
            transform-origin: 23% 21%;
            animation-name: ds-build-piece-1;
        }

        .ds-logo-piece-asa {
            clip-path: inset(0 0 27.54% 45.98%);
            transform-origin: 73% 51%;
            animation-name: ds-build-piece-2;
        }

        .ds-logo-piece-code {
            clip-path: inset(72.46% 0 0 45.98%);
            transform-origin: 73% 88%;
            animation-name: ds-build-piece-3;
        }

        .ds-fx-svg {
            position: absolute;
            inset: 0;
            inline-size: 100%;
            block-size: 100%;
            overflow: visible;
        }

        :is(.ds-fx-svg, .ds-bolt) .ds-build,
        .ds-bolt .ds-build-leg,
        .ds-cracks path {
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-dasharray: 1;
            stroke-dashoffset: 1;
            opacity: 0;
            animation: 6.42s both;
        }

        .ds-bolt-inner .ds-bolt-glow {
            stroke-width: 4px;
        }

        .ds-bolt-inner .ds-bolt-core {
            stroke-width: 1.4px;
        }

        .ds-build-crack {
            stroke: rgb(255 255 255 / 0.95);
            stroke-width: 0.9px;
        }

        .ds-crack-shade {
            stroke: rgb(16 35 79 / 0.45);
            stroke-width: 0.9px;
            translate: 0.6px 0.6px;
        }

        .ds-bolt .ds-build-leg {
            animation-name: ds-build-leg;
        }

        .ds-bolt-menu .ds-build-leg.ds-bolt-glow {
            stroke: rgb(242 112 31 / 0.5);
        }

        .ds-bolt-menu .ds-build-leg.ds-bolt-core {
            stroke: #fff1e4;
        }

        .ds-hit-build {
            position: absolute;
            inline-size: 22px;
            block-size: 22px;
            border-radius: 50%;
            opacity: 0;
            animation: 6.42s both;
        }

        .ds-build-0.ds-bolt-glow,
        .ds-build-in-0.ds-bolt-glow {
            stroke: rgb(32 160 224 / 0.5);
        }

        .ds-build-0.ds-bolt-core,
        .ds-build-in-0.ds-bolt-core {
            stroke: #f4fbff;
        }

        .ds-bolt .ds-build-0 {
            animation-name: ds-build-gap-0;
        }

        .ds-bolt-inner .ds-build-in-0 {
            animation-name: ds-build-in-0;
        }

        .ds-cracks .ds-crack-0 {
            animation-name: ds-build-crack-0;
        }

        .ds-hit-build-0 {
            inset-inline-start: -8.5px;
            inset-block-start: 20px;
            border: 1.5px solid rgb(143 207 255 / 0.95); box-shadow: 0 0 10px rgb(32 160 224 / 0.85);
            animation-name: ds-build-ring-0;
        }

        .ds-build-1.ds-bolt-glow,
        .ds-build-in-1.ds-bolt-glow {
            stroke: rgb(242 112 31 / 0.5);
        }

        .ds-build-1.ds-bolt-core,
        .ds-build-in-1.ds-bolt-core {
            stroke: #fff1e4;
        }

        .ds-bolt .ds-build-1 {
            animation-name: ds-build-gap-1;
        }

        .ds-bolt-inner .ds-build-in-1 {
            animation-name: ds-build-in-1;
        }

        .ds-cracks .ds-crack-1 {
            animation-name: ds-build-crack-1;
        }

        .ds-hit-build-1 {
            inset-inline-start: -2.5px;
            inset-block-start: -6px;
            border: 1.5px solid rgb(255 178 122 / 0.95); box-shadow: 0 0 10px rgb(234 109 30 / 0.85);
            animation-name: ds-build-ring-1;
        }

        .ds-build-2.ds-bolt-glow,
        .ds-build-in-2.ds-bolt-glow {
            stroke: rgb(32 160 224 / 0.5);
        }

        .ds-build-2.ds-bolt-core,
        .ds-build-in-2.ds-bolt-core {
            stroke: #f4fbff;
        }

        .ds-bolt .ds-build-2 {
            animation-name: ds-build-gap-2;
        }

        .ds-bolt-inner .ds-build-in-2 {
            animation-name: ds-build-in-2;
        }

        .ds-cracks .ds-crack-2 {
            animation-name: ds-build-crack-2;
        }

        .ds-hit-build-2 {
            inset-inline-start: 32.5px;
            inset-block-start: 5px;
            border: 1.5px solid rgb(143 207 255 / 0.95); box-shadow: 0 0 10px rgb(32 160 224 / 0.85);
            animation-name: ds-build-ring-2;
        }

        .ds-build-3.ds-bolt-glow,
        .ds-build-in-3.ds-bolt-glow {
            stroke: rgb(242 112 31 / 0.5);
        }

        .ds-build-3.ds-bolt-core,
        .ds-build-in-3.ds-bolt-core {
            stroke: #fff1e4;
        }

        .ds-bolt .ds-build-3 {
            animation-name: ds-build-gap-3;
        }

        .ds-bolt-inner .ds-build-in-3 {
            animation-name: ds-build-in-3;
        }

        .ds-cracks .ds-crack-3 {
            animation-name: ds-build-crack-3;
        }

        .ds-hit-build-3 {
            inset-inline-start: 32.5px;
            inset-block-start: 29px;
            border: 1.5px solid rgb(255 178 122 / 0.95); box-shadow: 0 0 10px rgb(234 109 30 / 0.85);
            animation-name: ds-build-ring-3;
        }
    }

    @keyframes ds-build-logo { 0%, 89.097% { opacity: 0; } 91.433%, 100% { opacity: 1; } }
    @keyframes ds-build-ghost { 0%, 82.866% { opacity: 0.14; } 89.097%, 100% { opacity: 0; } }
    @keyframes ds-build-menu { 0%, 85.981% { opacity: 0; } 88.785%, 100% { opacity: 1; } }
    @keyframes ds-build-leg { 0%, 82.866% { stroke-dashoffset: 1; opacity: 0; } 83.333% { opacity: 1; } 85.981% { stroke-dashoffset: 0; opacity: 1; } 86.76% { opacity: 0.35; } 87.227% { opacity: 1; } 89.408%, 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes ds-build-gap-0 { 0%, 14.019% { stroke-dashoffset: 1; opacity: 0; } 14.33% { opacity: 1; } 17.445% { stroke-dashoffset: 0; opacity: 1; } 18.224% { opacity: 0.35; } 18.692% { opacity: 1; } 20.872%, 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes ds-build-piece-0 { 0%, 17.445% { opacity: 0; scale: 1.25; filter: blur(6px) brightness(2); } 20.561% { opacity: 1; scale: 0.97; filter: blur(0) brightness(1.7); } 24.455%, 100% { opacity: 1; scale: 1; filter: none; } }
    @keyframes ds-build-crack-0 { 0%, 17.29% { stroke-dashoffset: 1; opacity: 0; } 17.445% { opacity: 1; } 18.847% { stroke-dashoffset: 0; opacity: 1; } 29.907% { stroke-dashoffset: 0; opacity: 0.8; } 40.81%, 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes ds-build-ring-0 { 0%, 17.29% { opacity: 0; scale: 0.3; } 17.913% { opacity: 1; } 24.455%, 100% { opacity: 0; scale: 2.6; } }
    @keyframes ds-build-gap-1 { 0%, 35.826% { stroke-dashoffset: 1; opacity: 0; } 36.137% { opacity: 1; } 37.695% { stroke-dashoffset: 0; opacity: 1; } 40.031% { opacity: 0.35; } 40.498% { opacity: 1; } 42.679%, 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes ds-build-in-1 { 0%, 37.695% { stroke-dashoffset: 1; opacity: 0; } 37.85% { opacity: 1; } 39.252% { stroke-dashoffset: 0; opacity: 1; } 40.031% { opacity: 0.35; } 40.498% { opacity: 1; } 42.679%, 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes ds-build-piece-1 { 0%, 39.252% { opacity: 0; scale: 1.25; filter: blur(6px) brightness(2); } 42.368% { opacity: 1; scale: 0.97; filter: blur(0) brightness(1.7); } 46.262%, 100% { opacity: 1; scale: 1; filter: none; } }
    @keyframes ds-build-crack-1 { 0%, 39.097% { stroke-dashoffset: 1; opacity: 0; } 39.252% { opacity: 1; } 40.654% { stroke-dashoffset: 0; opacity: 1; } 51.713% { stroke-dashoffset: 0; opacity: 0.8; } 62.617%, 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes ds-build-ring-1 { 0%, 39.097% { opacity: 0; scale: 0.3; } 39.72% { opacity: 1; } 46.262%, 100% { opacity: 0; scale: 2.6; } }
    @keyframes ds-build-gap-2 { 0%, 57.632% { stroke-dashoffset: 1; opacity: 0; } 57.944% { opacity: 1; } 59.502% { stroke-dashoffset: 0; opacity: 1; } 61.838% { opacity: 0.35; } 62.305% { opacity: 1; } 64.486%, 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes ds-build-in-2 { 0%, 59.502% { stroke-dashoffset: 1; opacity: 0; } 59.657% { opacity: 1; } 61.059% { stroke-dashoffset: 0; opacity: 1; } 61.838% { opacity: 0.35; } 62.305% { opacity: 1; } 64.486%, 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes ds-build-piece-2 { 0%, 61.059% { opacity: 0; scale: 1.25; filter: blur(6px) brightness(2); } 64.174% { opacity: 1; scale: 0.97; filter: blur(0) brightness(1.7); } 68.069%, 100% { opacity: 1; scale: 1; filter: none; } }
    @keyframes ds-build-crack-2 { 0%, 60.903% { stroke-dashoffset: 1; opacity: 0; } 61.059% { opacity: 1; } 62.461% { stroke-dashoffset: 0; opacity: 1; } 73.52% { stroke-dashoffset: 0; opacity: 0.8; } 84.424%, 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes ds-build-ring-2 { 0%, 60.903% { opacity: 0; scale: 0.3; } 61.526% { opacity: 1; } 68.069%, 100% { opacity: 0; scale: 2.6; } }
    @keyframes ds-build-gap-3 { 0%, 79.439% { stroke-dashoffset: 1; opacity: 0; } 79.751% { opacity: 1; } 81.308% { stroke-dashoffset: 0; opacity: 1; } 83.645% { opacity: 0.35; } 84.112% { opacity: 1; } 86.293%, 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes ds-build-in-3 { 0%, 81.308% { stroke-dashoffset: 1; opacity: 0; } 81.464% { opacity: 1; } 82.866% { stroke-dashoffset: 0; opacity: 1; } 83.645% { opacity: 0.35; } 84.112% { opacity: 1; } 86.293%, 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes ds-build-piece-3 { 0%, 82.866% { opacity: 0; scale: 1.25; filter: blur(6px) brightness(2); } 85.981% { opacity: 1; scale: 0.97; filter: blur(0) brightness(1.7); } 89.875%, 100% { opacity: 1; scale: 1; filter: none; } }
    @keyframes ds-build-crack-3 { 0%, 82.71% { stroke-dashoffset: 1; opacity: 0; } 82.866% { opacity: 1; } 84.268% { stroke-dashoffset: 0; opacity: 1; } 95.327% { stroke-dashoffset: 0; opacity: 0.8; } 100%, 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes ds-build-ring-3 { 0%, 82.71% { opacity: 0; scale: 0.3; } 83.333% { opacity: 1; } 89.875%, 100% { opacity: 0; scale: 2.6; } }
    @keyframes ds-build-shake { 0% { transform: none; } 17.368% { transform: none; } 18.069% { transform: translate(-2px, 1px); } 18.847% { transform: translate(2px, -1px); } 19.626% { transform: translate(-1.5px, 0.5px); } 20.561% { transform: translate(1px, 0); } 21.807% { transform: none; } 39.174% { transform: none; } 39.875% { transform: translate(-2px, 1px); } 40.654% { transform: translate(2px, -1px); } 41.433% { transform: translate(-1.5px, 0.5px); } 42.368% { transform: translate(1px, 0); } 43.614% { transform: none; } 60.981% { transform: none; } 61.682% { transform: translate(-2px, 1px); } 62.461% { transform: translate(2px, -1px); } 63.24% { transform: translate(-1.5px, 0.5px); } 64.174% { transform: translate(1px, 0); } 65.421% { transform: none; } 82.788% { transform: none; } 83.489% { transform: translate(-2px, 1px); } 84.268% { transform: translate(2px, -1px); } 85.047% { transform: translate(-1.5px, 0.5px); } 85.981% { transform: translate(1px, 0); } 87.227% { transform: none; } 100% { transform: none; } }
    @keyframes ds-build-led { 0% { background: var(--led); box-shadow: 0 0 6px var(--led-glow); scale: 1; } 7.632% { background: var(--led); box-shadow: 0 0 6px var(--led-glow); scale: 1; } 7.788%, 21.34% { background: #a9e2ff; box-shadow: 0 0 8px 2px rgb(32 160 224 / 0.95); scale: 1.25; } 23.676% { background: var(--led); box-shadow: 0 0 6px var(--led-glow); scale: 1; } 29.439% { background: var(--led); box-shadow: 0 0 6px var(--led-glow); scale: 1; } 29.595%, 43.146% { background: #ffb27a; box-shadow: 0 0 8px 2px rgb(234 109 30 / 0.95); scale: 1.25; } 45.483% { background: var(--led); box-shadow: 0 0 6px var(--led-glow); scale: 1; } 51.246% { background: var(--led); box-shadow: 0 0 6px var(--led-glow); scale: 1; } 51.402%, 64.953% { background: #a9e2ff; box-shadow: 0 0 8px 2px rgb(32 160 224 / 0.95); scale: 1.25; } 67.29% { background: var(--led); box-shadow: 0 0 6px var(--led-glow); scale: 1; } 73.053% { background: var(--led); box-shadow: 0 0 6px var(--led-glow); scale: 1; } 73.209%, 86.76% { background: #ffb27a; box-shadow: 0 0 8px 2px rgb(234 109 30 / 0.95); scale: 1.25; } 89.097% { background: var(--led); box-shadow: 0 0 6px var(--led-glow); scale: 1; } 100% { background: var(--led); box-shadow: 0 0 6px var(--led-glow); scale: 1; } }
    @keyframes ds-build-buzz { 0% { translate: 0 0; } 12.15% { translate: 0 0; } 12.617% { translate: -1px 0.5px; } 13.084% { translate: 1px -0.5px; } 13.551% { translate: -0.8px 0.3px; } 14.019% { translate: 0 0; } 33.956% { translate: 0 0; } 34.424% { translate: -1px 0.5px; } 34.891% { translate: 1px -0.5px; } 35.358% { translate: -0.8px 0.3px; } 35.826% { translate: 0 0; } 55.763% { translate: 0 0; } 56.231% { translate: -1px 0.5px; } 56.698% { translate: 1px -0.5px; } 57.165% { translate: -0.8px 0.3px; } 57.632% { translate: 0 0; } 77.57% { translate: 0 0; } 78.037% { translate: -1px 0.5px; } 78.505% { translate: 1px -0.5px; } 78.972% { translate: -0.8px 0.3px; } 79.439% { translate: 0 0; } 100% { translate: 0 0; } }
    @keyframes ds-build-shadow-o { 0% { opacity: 0; } 17.445% { opacity: 0; } 20.249% { opacity: 0; } 39.252% { opacity: 0; } 42.056% { opacity: 1; } 61.059% { opacity: 1; } 63.863% { opacity: 0; } 82.866% { opacity: 0; } 85.67% { opacity: 1; } 100% { opacity: 1; } }
    @keyframes ds-build-shadow-b { 0% { opacity: 0; } 17.445% { opacity: 0; } 20.249% { opacity: 1; } 39.252% { opacity: 1; } 42.056% { opacity: 0; } 61.059% { opacity: 0; } 63.863% { opacity: 1; } 82.866% { opacity: 1; } 85.67% { opacity: 0; } 100% { opacity: 0; } }
}

/* The opening intro (owner, 2026-12-01; timeline and rules in js/intro.js and docs/superpowers/specs/
   2026-12-01-opening-loader-design.md). Shown only while intro.js sets ds-intro, ds-intro-play, ds-intro-out or
   ds-intro-skip on <html>; --fly-x, --fly-y and --fly-w are the header logo's centre and width. */
@layer components {
    .ds-intro-screen {
        display: none;
    }

    html.ds-intro .ds-intro-screen {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 2000; /* over everything: the header (1000), skip link (1100), cookie banner and buttons */
        overflow: hidden;
        pointer-events: auto;
        /* Never stuck, even if the script stops: gone 5 s after it went up, or 3.6 s after the timeline started
           (the timeline's own end is at 3 s); a new animation name, so the clock restarts with the timeline */
        animation: ds-intro-safety 0s 5s forwards;
    }

    html.ds-intro-play .ds-intro-screen {
        animation: ds-intro-safety-play 0s 3.6s forwards;
    }

    /* The header's own logo waits under the screen until the flying one lands on it; its lightning is held */
    html.ds-intro :is(.ds-logo, .ds-logo-fx) {
        visibility: hidden;
    }

    html.ds-intro :is(.ds-header, .ds-header *),
    html.ds-intro :is(.ds-header, .ds-header *)::before,
    html.ds-intro :is(.ds-header, .ds-header *)::after {
        animation-play-state: paused !important;
    }

    /* ---------- aurora background ---------- */
    .ds-intro-aurora {
        position: absolute;
        inset: 0;
        overflow: hidden;
        background: #f5f8fe;
    }

    .ds-intro-glow {
        position: absolute;
        inline-size: 70vmax;
        aspect-ratio: 1;
        border-radius: 50%;
        filter: blur(6vmax);
        opacity: 0.55;
    }

    .ds-intro-glow-blue {
        inset-inline-start: -15vmax;
        inset-block-start: -25vmax;
        background: radial-gradient(circle, #7fb3ff, transparent 65%);
    }

    .ds-intro-glow-orange {
        inset-inline-end: -18vmax;
        inset-block-end: -30vmax;
        background: radial-gradient(circle, #ffb27a, transparent 65%);
    }

    .ds-intro-glow-sky {
        inset-inline-start: 30%;
        inset-block-start: 25%;
        inline-size: 40vmax;
        background: radial-gradient(circle, #9fe0ff, transparent 65%);
        opacity: 0.4;
    }

    .ds-intro-dots {
        position: absolute;
        inset: 0;
        background: radial-gradient(rgb(37 70 147 / 0.22) 1px, transparent 1.2px) 0 0 / 22px 22px;
        -webkit-mask: radial-gradient(circle at 50% 47%, #000 0, transparent 70%);
        mask: radial-gradient(circle at 50% 47%, #000 0, transparent 70%);
    }

    .ds-intro-halo {
        position: absolute;
        inset-inline-start: 50%;
        inset-block-start: 47%;
        inline-size: min(110vw, 680px);
        aspect-ratio: 1;
        translate: -50% -50%;
        border-radius: 50%;
        background: radial-gradient(circle, #fff 0, rgb(255 255 255 / 0.75) 35%, transparent 68%);
    }

    /* ---------- logo, rings, shine, progress line, tagline ---------- */
    .ds-intro-logo {
        position: absolute;
        inset-inline-start: 50%;
        inset-block-start: 47%;
        inline-size: min(62vw, 320px);
        aspect-ratio: 261 / 138;
        translate: -50% -50%;
        z-index: 2;
    }

    .ds-intro-piece {
        position: absolute;
        inset: 0;
        inline-size: 100%;
        block-size: 100%;
        opacity: 0;
    }

    /* The phone header's four cuts (50-shell.css, .ds-logo-piece-*) */
    .ds-intro-piece-m {
        clip-path: polygon(0% 31.88%, 4.6% 33.33%, 6.9% 33.33%, 9.2% 35.14%, 11.49% 37.32%, 13.79% 40.58%, 16.09% 42.39%, 18.39% 43.48%, 20.69% 43.84%, 22.99% 42.75%, 25.29% 43.48%, 27.59% 43.12%, 29.89% 42.39%, 32.18% 40.22%, 34.48% 37.68%, 36.78% 35.51%, 39.08% 32.61%, 41.38% 32.61%, 45.98% 31.88%, 45.98% 100%, 0% 100%);
    }

    .ds-intro-piece-symbol {
        clip-path: polygon(0% 0%, 45.98% 0%, 45.98% 31.88%, 41.38% 32.61%, 39.08% 32.61%, 36.78% 35.51%, 34.48% 37.68%, 32.18% 40.22%, 29.89% 42.39%, 27.59% 43.12%, 25.29% 43.48%, 22.99% 42.75%, 20.69% 43.84%, 18.39% 43.48%, 16.09% 42.39%, 13.79% 40.58%, 11.49% 37.32%, 9.2% 35.14%, 6.9% 33.33%, 4.6% 33.33%, 0% 31.88%);
    }

    .ds-intro-piece-asa {
        clip-path: inset(0 0 27.54% 45.98%);
    }

    .ds-intro-piece-code {
        clip-path: inset(72.46% 0 0 45.98%);
    }

    .ds-intro-shine {
        position: absolute;
        inset: 0;
        overflow: hidden;
        -webkit-mask: url("/images/logo-full-hd.webp") center / contain no-repeat;
        mask: url("/images/logo-full-hd.webp") center / contain no-repeat;
    }

    .ds-intro-shine::after {
        content: "";
        position: absolute;
        inset-block: 0;
        inline-size: 30%;
        background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.9), transparent);
        transform: translateX(-120%) skewX(-20deg);
    }

    .ds-intro-ring {
        position: absolute;
        inset-inline-start: 50%;
        inset-block-start: 47%;
        inline-size: min(54vw, 280px);
        aspect-ratio: 1;
        translate: -50% -50%;
        border: 3px solid var(--c-blue);
        border-radius: 50%;
        opacity: 0;
        z-index: 1;
    }

    .ds-intro-ring-2,
    .ds-intro-ring-4 {
        border-color: var(--c-accent-1);
    }

    .ds-intro-bar {
        position: absolute;
        inset-inline-start: 50%;
        inset-block-start: calc(47% + min(62vw, 320px) * 0.265 + 32px);
        inline-size: min(42vw, 200px);
        block-size: 4px;
        translate: -50% 0;
        border-radius: var(--r-pill);
        background: rgb(37 70 147 / 0.12);
        overflow: hidden;
        z-index: 2;
    }

    .ds-intro-bar span {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, var(--c-blue), var(--c-sky), var(--c-accent-1));
        transform-origin: left;
        transform: scaleX(0);
    }

    .ds-intro-tagline {
        position: absolute;
        inset-inline: 0;
        inset-block-start: calc(47% + min(62vw, 320px) * 0.265 + 52px);
        text-align: center;
        font-size: var(--fs-xs);
        letter-spacing: 0.35em;
        color: var(--c-ink-3);
        opacity: 0;
        z-index: 2;
    }

    /* ---------- the timeline ---------- */
    html.ds-intro-play .ds-intro-glow-blue { animation: ds-intro-drift-1 3s ease-in-out both; }
    html.ds-intro-play .ds-intro-glow-orange { animation: ds-intro-drift-2 3s ease-in-out both; }
    html.ds-intro-play .ds-intro-glow-sky { animation: ds-intro-drift-2 3s ease-in-out reverse both; }

    html.ds-intro-play .ds-intro-piece-m { animation: ds-intro-in-left 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both; }
    html.ds-intro-play .ds-intro-piece-symbol { animation: ds-intro-drop 0.7s 0.45s both; }
    html.ds-intro-play .ds-intro-piece-asa { animation: ds-intro-in-right 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.85s both; }
    html.ds-intro-play .ds-intro-piece-code { animation: ds-intro-in-below 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 1.15s both; }

    html.ds-intro-play .ds-intro-ring-1 { animation: ds-intro-ring 0.7s ease-out 0.6s forwards; }
    html.ds-intro-play .ds-intro-ring-2 { animation: ds-intro-ring 0.7s ease-out 0.87s forwards; }
    html.ds-intro-play .ds-intro-ring-3 { animation: ds-intro-ring 0.7s ease-out 1.35s forwards; }
    html.ds-intro-play .ds-intro-ring-4 { animation: ds-intro-ring 0.7s ease-out 1.65s forwards; }

    html.ds-intro-play .ds-intro-shine::after { animation: ds-intro-shine 0.8s ease-in-out 1.85s both; }
    html.ds-intro-play .ds-intro-bar span { animation: ds-intro-grow 2.25s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both; }
    html.ds-intro-play .ds-intro-tagline { animation: ds-intro-fade-in 0.5s 1.7s both; }

    /* Out: everything but the logo fades while the logo flies to the header's */
    html.ds-intro-out :is(.ds-intro-aurora, .ds-intro-bar, .ds-intro-ring) {
        animation: ds-intro-fade-out 0.55s ease-out both;
    }

    html.ds-intro-out .ds-intro-tagline {
        opacity: 1;
        animation: ds-intro-fade-out 0.3s ease-out both;
    }

    html.ds-intro-out .ds-intro-screen {
        pointer-events: none;
    }

    html.ds-intro-out .ds-intro-logo {
        animation: ds-intro-fly 0.65s cubic-bezier(0.6, 0, 0.2, 1) both;
    }

    /* A tap or a key: everything fades at once */
    html.ds-intro-skip .ds-intro-screen > * {
        animation: ds-intro-fade-out 0.2s ease-out both;
    }

    @keyframes ds-intro-safety-play {
        to { visibility: hidden; pointer-events: none; }
    }

    @keyframes ds-intro-safety {
        to { visibility: hidden; pointer-events: none; }
    }

    @keyframes ds-intro-drift-1 {
        from { transform: translate(-10%, -6%) scale(1); }
        to { transform: translate(12%, 8%) scale(1.15); }
    }

    @keyframes ds-intro-drift-2 {
        from { transform: translate(10%, 8%) scale(1.1); }
        to { transform: translate(-12%, -6%) scale(0.95); }
    }

    @keyframes ds-intro-in-left {
        from { opacity: 0; transform: translateX(-90%); }
        to { opacity: 1; transform: none; }
    }

    @keyframes ds-intro-in-right {
        from { opacity: 0; transform: translateX(90%); }
        to { opacity: 1; transform: none; }
    }

    @keyframes ds-intro-in-below {
        from { opacity: 0; transform: translateY(90%); }
        to { opacity: 1; transform: none; }
    }

    @keyframes ds-intro-drop {
        0% { opacity: 0; transform: translateY(-140%); }
        60% { opacity: 1; transform: translateY(6%); }
        80% { transform: translateY(-3%); }
        100% { opacity: 1; transform: none; }
    }

    @keyframes ds-intro-ring {
        0% { opacity: 0.55; scale: 0.55; }
        100% { opacity: 0; scale: 1.5; }
    }

    @keyframes ds-intro-shine {
        from { transform: translateX(-120%) skewX(-20deg); }
        to { transform: translateX(380%) skewX(-20deg); }
    }

    @keyframes ds-intro-grow {
        to { transform: scaleX(1); }
    }

    @keyframes ds-intro-fade-in {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes ds-intro-fade-out {
        to { opacity: 0; }
    }

    @keyframes ds-intro-fly {
        to {
            inset-inline-start: var(--fly-x);
            inset-block-start: var(--fly-y);
            inline-size: var(--fly-w);
        }
    }
}

/* About page (Pages/About.razor), scoped to .page-about. */
@layer pages {
    .page-about {
        background: var(--c-page);
    }

    /* A slightly tighter rhythm than the default section spacing */
    .page-about .ds-section {
        padding-block: clamp(var(--s-7), 5vw, 4.5rem);
    }

    /* ---------- hero card ---------- */
    .page-about .about-hero-glass {
        position: absolute;
        inset: -1.5rem -1rem -1.5rem 2rem;
    }

    .page-about .about-hero-tile {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: var(--s-4);
        max-inline-size: 24rem;
        margin-inline: auto;
        padding: var(--s-6);
    }

    .page-about .about-hero-tile p {
        display: flex;
        flex-direction: column;
        gap: var(--s-1);
        color: var(--c-ink-2);
        font-size: var(--fs-sm);
    }

    .page-about .about-hero-tile strong {
        color: var(--c-ink);
        font-size: var(--fs-lg);
    }

    .page-about .about-hero-icon,
    .page-about .about-icon {
        display: grid;
        flex: none;
        place-items: center;
        inline-size: 2.75rem;
        block-size: 2.75rem;
        border-radius: 14px;
        background: var(--c-tint-2);
        color: var(--c-blue);
        font-size: 1.25rem;
    }

    .page-about .about-hero-chips {
        display: flex;
        flex-wrap: wrap;
        gap: var(--s-2);
        padding: 0;
        list-style: none;
    }

    /* ---------- story beside what we do ---------- */
    .page-about .about-story {
        display: grid;
        gap: var(--s-6) var(--s-8);
        align-items: start;
    }

    .page-about .about-story-text {
        --stack-gap: var(--s-4);
        min-inline-size: 0;
    }

    .page-about .about-story-text h2 {
        font-size: var(--fs-2xl);
    }

    .page-about .about-story-text p {
        color: var(--c-ink-2);
        max-inline-size: 65ch;
    }

    .page-about .about-offer-panel {
        display: flex;
        flex-direction: column;
        gap: var(--s-4);
        min-inline-size: 0;
    }

    .page-about .about-offer-panel h3 {
        color: var(--c-ink);
        font-size: var(--fs-lg);
    }

    .page-about .about-offer {
        display: grid;
        gap: var(--s-3);
        padding: 0;
        list-style: none;
    }

    .page-about .about-offer li {
        display: flex;
        align-items: center;
        gap: var(--s-4);
        padding: var(--s-5);
    }

    .page-about .about-offer li > span:last-child {
        display: flex;
        flex-direction: column;
        gap: var(--s-1);
        color: var(--c-ink-2);
        font-size: var(--fs-sm);
    }

    .page-about .about-offer strong {
        color: var(--c-ink);
        font-size: var(--fs-base);
    }

    /* ---------- expertise: six tiles, the first one dark ---------- */
    .page-about .about-tiles {
        display: grid;
        gap: var(--s-4);
        padding: 0;
        list-style: none;
    }

    .page-about .about-tile {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        padding: var(--s-6);
    }

    .page-about .about-tile p {
        color: var(--c-ink-2);
        font-size: 0.9375rem;
    }

    .page-about .about-tile-dark {
        border-color: transparent;
        background: linear-gradient(160deg, var(--c-blue) 0%, var(--c-blue-2) 100%);
    }

    .page-about .about-tile-dark h3,
    .page-about .about-tile-dark p {
        color: var(--c-white);
    }

    .page-about .about-tile-dark .about-icon {
        background: rgb(255 255 255 / 0.16);
        color: var(--c-white);
    }

    /* ---------- process: a timeline (vertical on phones) ---------- */
    .page-about .about-steps {
        position: relative;
        display: grid;
        gap: var(--s-6);
        padding: 0;
        list-style: none;
        counter-reset: step;
    }

    .page-about .about-steps::before {
        content: "";
        position: absolute;
        inset-block: 1.25rem;
        inset-inline-start: 1.25rem;
        inline-size: 2px;
        background: linear-gradient(180deg, var(--c-blue), var(--c-sky));
    }

    .page-about .about-steps li {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: var(--s-2);
        padding-inline-start: 4rem;
        counter-increment: step;
    }

    .page-about .about-steps li::before {
        content: counter(step);
        position: absolute;
        inset-block-start: 0;
        inset-inline-start: 0;
        display: grid;
        place-items: center;
        inline-size: 2.5rem;
        block-size: 2.5rem;
        border: 2px solid var(--c-blue);
        border-radius: 50%;
        background: var(--c-white);
        color: var(--c-blue);
        font-weight: 800;
        box-shadow: 0 0 0 6px rgb(37 70 147 / 0.08);
    }

    .page-about .about-steps p {
        color: var(--c-ink-2);
        font-size: 0.9375rem;
    }

    /* ---------- meet the team ---------- */
    .page-about .about-team-section {
        background: linear-gradient(180deg, var(--c-white) 0%, var(--c-page) 100%);
    }

    .page-about .team-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: var(--s-5);
        max-inline-size: 26rem;
        margin-inline: auto;
        padding: 0;
        list-style: none;
    }

    .page-about .team-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--s-3);
        min-inline-size: 0;
        padding: var(--s-5) var(--s-4);
        text-align: center;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .page-about .team-photo {
        flex: none;
        inline-size: 8.5rem;
        aspect-ratio: 1;
        padding: 5px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-sky) 100%);
        box-shadow: 0 18px 36px -20px rgb(37 70 147 / 0.6);
    }

    .page-about .team-card-lead .team-photo {
        inline-size: 10rem;
    }

    .page-about .team-photo img,
    .page-about .team-initials {
        display: block;
        inline-size: 100%;
        block-size: 100%;
        border: 4px solid var(--c-white);
        border-radius: 50%;
        background: var(--c-tint);
        object-fit: cover;
    }

    .page-about .team-initials {
        display: grid;
        place-items: center;
        background: linear-gradient(135deg, var(--c-tint) 0%, var(--c-tint-2) 100%);
        color: var(--c-blue);
        font-size: 2.25rem;
        font-weight: 800;
        letter-spacing: 0.02em;
    }

    .page-about .team-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--s-2);
        min-inline-size: 0;
        max-inline-size: 100%;
    }

    .page-about .team-name {
        font-size: var(--fs-lg);
        overflow-wrap: anywhere;
    }

    .page-about .team-title {
        margin-block-end: var(--s-1);
        padding-block: 0.25rem;
        font-size: var(--fs-sm);
    }

    .page-about .team-bio {
        color: var(--c-ink-2);
        font-size: 0.9375rem;
        overflow-wrap: anywhere;
    }

    .page-about .team-more {
        display: none;
    }

    /* The clamp needs :has() to lift it again; without it the whole bio shows and there is no toggle */
    @supports selector(:has(*)) {
        .page-about .team-bio-clamp {
            display: -webkit-box;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 4;
            line-clamp: 4;
        }

        .page-about .team-card:has(.team-more[open]) .team-bio-clamp {
            display: block;
            overflow: visible;
            -webkit-line-clamp: unset;
            line-clamp: none;
        }

        .page-about .team-more {
            display: block;
        }
    }

    .page-about .team-more summary {
        display: inline-block;
        padding-inline: var(--s-2);
        border-radius: var(--r-sm);
        color: var(--c-blue);
        font-size: var(--fs-sm);
        font-weight: 700;
        list-style: none;
        cursor: pointer;
    }

    .page-about .team-more summary::-webkit-details-marker {
        display: none;
    }

    .page-about .team-more summary:hover {
        text-decoration: underline;
    }

    .page-about .team-more[open] .team-more-open,
    .page-about .team-more:not([open]) .team-more-close {
        display: none;
    }

    @media (hover: hover) and (prefers-reduced-motion: no-preference) {
        .page-about .team-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 34px 54px -32px rgb(16 35 79 / 0.5);
        }
    }

    @media (min-width: 48rem) {
        .page-about .about-tiles {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .page-about .team-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            max-inline-size: none;
        }

        .page-about .team-card {
            gap: var(--s-4);
            padding: var(--s-6) var(--s-5);
        }

        .page-about .team-photo {
            inline-size: 10rem;
        }

        .page-about .team-grid-single {
            grid-template-columns: minmax(0, 24rem);
            justify-content: center;
        }

        .page-about .team-card-lead {
            grid-column: 1 / -1;
        }
    }

    @media (min-width: 64rem) {
        .page-about .about-story {
            grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        }

        .page-about .about-tiles {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .page-about .team-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .page-about .team-grid-single {
            grid-template-columns: minmax(0, 24rem);
        }

        /* The first member (usually the CEO): a wide card, photo beside the text, the whole bio */
        .page-about .team-card-lead {
            flex-direction: row;
            justify-content: center;
            gap: var(--s-8);
            padding: var(--s-7) var(--s-8);
            background: linear-gradient(120deg, var(--c-white) 55%, var(--c-tint) 100%);
            text-align: start;
        }

        .page-about .team-card-lead .team-photo {
            inline-size: 14rem;
        }

        .page-about .team-card-lead .team-initials {
            font-size: 3.5rem;
        }

        .page-about .team-card-lead .team-body {
            align-items: flex-start;
            max-inline-size: 40rem;
        }

        .page-about .team-card-lead .team-name {
            font-size: var(--fs-xl);
        }

        .page-about .team-card-lead .team-bio {
            max-inline-size: 60ch;
            font-size: var(--fs-md);
        }

        .page-about .team-card-lead .team-bio-clamp {
            display: block;
            overflow: visible;
            -webkit-line-clamp: unset;
            line-clamp: none;
        }

        .page-about .team-card-lead .team-more {
            display: none;
        }

        .page-about .about-steps {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: var(--s-5);
        }

        .page-about .about-steps::before {
            inset-block: 1.25rem auto;
            inset-inline: 1.25rem 1.25rem;
            inline-size: auto;
            block-size: 2px;
            background: linear-gradient(90deg, var(--c-blue), var(--c-sky));
        }

        .page-about .about-steps li {
            padding-inline-start: 0;
            padding-block-start: 3.75rem;
        }
    }
}

/* Services and hardware lists (Pages/Services.razor, Pages/Hardware.razor), scoped to .page-catalog. The sol-* and svc-card
   rules (solutions page, Catalog/ServiceCard) are not scoped: related services on a service page use them too. */
@layer pages {
    .page-catalog {
        background: var(--c-page);
    }

    /* ---------- hardware: search bar (glass), category chips ---------- */
    .page-catalog .hw-hero .sol-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-catalog .hw-bar {
        display: flex;
        flex-wrap: wrap;
        gap: var(--s-3);
        margin-block-end: var(--s-4);
        padding: var(--s-3);
        border-radius: var(--r-tile);
    }

    .page-catalog .catalog-search {
        display: flex;
        flex: 1 1 14rem;
        align-items: center;
        gap: var(--s-2);
        padding-inline: var(--s-4);
        border: 1px solid var(--c-line);
        border-radius: 14px;
        background: var(--c-white);
        color: var(--c-ink-3);
    }

    .page-catalog .catalog-search:focus-within {
        border-color: var(--c-focus);
        outline: 2px solid var(--c-focus);
    }

    .page-catalog .catalog-search input {
        flex: 1;
        min-inline-size: 0;
        min-block-size: 3rem;
        border: 0;
        background: transparent;
        color: var(--c-ink);
        font: inherit;
        outline: none;
    }

    .page-catalog .catalog-select {
        display: flex;
        flex: 0 1 12rem;
    }

    .page-catalog .catalog-select select {
        inline-size: 100%;
        min-block-size: 3rem;
        padding-inline: var(--s-3);
        border: 1px solid var(--c-line);
        border-radius: 14px;
        background: var(--c-white);
        color: var(--c-ink);
        font: inherit;
        cursor: pointer;
    }

    .page-catalog .hw-bar > .ds-btn {
        min-block-size: 3rem;
    }

    @media (max-width: 39.99rem) {
        .page-catalog .catalog-select {
            flex: 1 1 8rem;
        }

        .page-catalog .hw-bar > .ds-btn {
            flex: 1 1 100%;
        }
    }

    /* ---------- hardware: product cards and grid (also the related products) ---------- */
    /* The old site's hardware card in the Stage 7 look: the picture fills the top edge to edge (square, clipped by the
       card's corners) with its badges, then name, short description, the price above a line, and the View details and
       Order buttons (round icon buttons on phones). Two cards a row on phones and tablets, three or four on desktops. */
    .hw-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0;
        list-style: none;
    }

    .hw-grid > li {
        display: flex;
        min-inline-size: 0;
    }

    .card-product {
        position: relative;
        flex: 1;
        gap: 0;
        padding: 0;
        overflow: hidden;
        border-radius: var(--r-card);
        box-shadow: var(--shadow-tile);
        transition: box-shadow 0.2s, border-color 0.2s;
    }

    .card-product:hover {
        border-color: var(--c-blue);
        box-shadow: var(--shadow-2);
    }

    .card-product .card-picture {
        overflow: hidden;
        background: var(--c-tint);
    }

    .card-product .card-picture img,
    .card-product .card-picture .ds-img-placeholder {
        display: block;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        object-position: center;
    }

    .card-product .ds-card-badge,
    .card-product .card-flag {
        position: absolute;
        z-index: 1;
        max-inline-size: calc(100% - 12px);
        padding: 2px 7px;
        font-size: 0.66rem;
    }

    .card-product .card-category {
        inset-block-start: 6px;
        inset-inline-start: 6px;
    }

    /* Room for the Save badge at the other corner */
    .card-product .card-picture:has(.card-flag) .card-category {
        max-inline-size: calc(100% - 5.25rem);
    }

    .card-product .card-flag {
        inset-block-start: 6px;
        inset-inline: auto 6px;
        white-space: nowrap;
    }

    .card-product .card-pay {
        inset-block-end: 6px;
        inset-inline-start: 6px;
    }

    /* Phones: the installments badge is its icon and the buttons are round; the words stay for screen readers */
    .card-product .card-pay > span,
    .card-product .card-foot .ds-btn > span {
        position: absolute;
        inline-size: 1px;
        block-size: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .card-product .card-body {
        gap: var(--s-2);
        padding: 12px 12px 14px;
    }

    .card-product .card-name {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        overflow: hidden;
        font-size: 0.875rem;
        font-weight: 700;
        line-height: 1.4;
    }

    .card-product-desc {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        color: var(--c-ink-2);
        font-size: 0.78rem;
        line-height: 1.55;
    }

    .card-product-price {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: var(--s-1) var(--s-3);
        inline-size: 100%;
        margin-block-start: auto;
        padding-block-start: var(--s-2);
        border-block-start: 1px solid var(--c-line);
    }

    .card-product-price > span {
        color: var(--c-ink);
        font-size: 1rem;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .card-product-price > .card-product-now {
        color: #c2410c;
    }

    .card-product-price s {
        color: var(--c-ink-3);
        font-size: var(--fs-xs);
        font-weight: 600;
    }

    .card-product .card-foot {
        flex-wrap: nowrap;
        justify-content: center;
        gap: var(--s-4);
        margin-block-start: 0;
        padding-block-start: var(--s-1);
    }

    /* Phones: two round buttons, View details and the WhatsApp logo */
    .card-product .card-foot .ds-btn {
        position: relative;
        inline-size: 2.75rem;
        min-inline-size: 0;
        block-size: 2.75rem;
        min-block-size: 0;
        padding: 0;
        border-radius: 50%;
        font-size: 1.05rem;
    }

    .card-product .card-foot .ds-btn-whatsapp .ds-icon {
        font-size: 0.875rem;
    }

    @media (min-width: 40rem) {
        .hw-grid {
            gap: 22px;
        }

        .card-product {
            border-radius: var(--r-tile);
        }

        .card-product .ds-card-badge,
        .card-product .card-flag {
            max-inline-size: calc(100% - 24px);
            padding: 3px 10px;
            font-size: 0.72rem;
        }

        .card-product .card-category,
        .card-product .card-flag {
            inset-block-start: 12px;
        }

        .card-product .card-category,
        .card-product .card-pay {
            inset-inline-start: 12px;
        }

        .card-product .card-flag {
            inset-inline-end: 12px;
        }

        .card-product .card-pay {
            inset-block-end: 12px;
        }

        .card-product .card-picture:has(.card-flag) .card-category {
            max-inline-size: calc(100% - 7.5rem);
        }

        .card-product .card-body {
            gap: var(--s-3);
            padding: 20px 22px 22px;
        }

        .card-product .card-name {
            -webkit-line-clamp: 2;
            line-clamp: 2;
            font-size: 1.05rem;
        }

        .card-product-desc {
            font-size: 0.9rem;
        }

        .card-product-price {
            padding-block-start: var(--s-3);
        }

        .card-product-price > span {
            font-size: 1.25rem;
        }

        .card-product-price s {
            font-size: 0.9rem;
        }

        .card-product .card-foot {
            gap: var(--s-3);
        }

        .card-product .card-foot .ds-btn {
            flex: 1 1 0;
            inline-size: auto;
            block-size: auto;
            min-block-size: 2.75rem;
            padding-inline: var(--s-3);
            border-radius: var(--r-pill);
            font-size: var(--fs-sm);
            white-space: nowrap;
        }

        .card-product .card-foot .ds-btn > span,
        .card-product .card-pay > span {
            position: static;
            inline-size: auto;
            block-size: auto;
            overflow: visible;
            clip-path: none;
        }
    }

    /* Desktops: three in a row, four from 80rem (the related products from 64rem), so the square pictures stay a
       sensible size and both buttons still fit */
    @media (min-width: 64rem) {
        .hw-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 22px;
        }

        .hw-grid-related {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }

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

        .card-product .card-foot {
            gap: var(--s-2);
        }

        .card-product .card-foot .ds-btn {
            padding-inline: var(--s-2);
        }
    }

    /* ---------- grid or scrolling row (Services.razor, Hardware.razor; site.js switches and remembers) ---------- */
    /* Without the script the grid shows and the switch is hidden */
    .ds-view-switch {
        display: none;
        gap: 6px;
    }

    .js .ds-view-switch {
        display: inline-flex;
    }

    .ds-view-switch button {
        display: grid;
        place-items: center;
        inline-size: 2.5rem;
        block-size: 2.5rem;
        border: 1px solid var(--c-line);
        border-radius: var(--r-btn);
        background: var(--c-white);
        color: var(--c-ink-3);
        font-size: 1.05rem;
        cursor: pointer;
        transition: border-color 0.2s, color 0.2s;
    }

    .ds-view-switch button:hover {
        border-color: var(--c-blue);
        color: var(--c-blue);
    }

    .ds-view-switch button[aria-pressed="true"] {
        border-color: transparent;
        background: linear-gradient(180deg, var(--c-blue-2), var(--c-blue));
        color: var(--c-white);
        box-shadow: var(--shadow-btn);
    }

    .sol-tools {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--s-3);
    }

    .hw-tools {
        margin-block-end: var(--s-4);
    }

    .ds-rail {
        position: relative;
    }

    .ds-rail-arrow {
        display: none;
    }

    .ds-rail-arrow .ds-icon {
        transform: scaleX(var(--dir));
    }

    /* The scrolling row: snap to each card, swipe, trackpad or wheel (site.js), the next card peeks in on phones */
    [data-view="scroll"] .ds-rail-list {
        display: flex;
        gap: 12px;
        margin-inline: calc(-1 * var(--gutter));
        padding: 4px var(--gutter) 18px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: var(--gutter);
        scroll-snap-type: x mandatory;
        scrollbar-color: var(--c-blue) var(--c-tint-2);
        scrollbar-width: thin;
    }

    [data-view="scroll"] .ds-rail-list > li {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }

    [data-view="scroll"] .hw-grid.ds-rail-list > li {
        flex-basis: 44%;
    }

    @media (prefers-reduced-motion: no-preference) {
        [data-view="scroll"] .ds-rail-list {
            scroll-behavior: smooth;
        }
    }

    @media (min-width: 40rem) {
        [data-view="scroll"] .ds-rail-list {
            gap: 22px;
        }

        [data-view="scroll"] .ds-rail-list > li,
        [data-view="scroll"] .hw-grid.ds-rail-list > li {
            flex-basis: calc((100% - 2 * var(--gutter) - 22px) / 2);
        }
    }

    /* Desktops: previous and next buttons over the row's edges */
    @media (min-width: 64rem) {
        [data-view="scroll"] .ds-rail-list {
            gap: 28px;
            margin-inline: 0;
            padding-inline: 0;
            scroll-padding-inline: 0;
        }

        [data-view="scroll"] .ds-rail-list > li,
        [data-view="scroll"] .hw-grid.ds-rail-list > li {
            flex-basis: calc((100% - 56px) / 3);
        }

        [data-view="scroll"] .ds-rail-arrow {
            position: absolute;
            inset-block-start: calc(50% - 1.5rem);
            z-index: 2;
            display: grid;
            place-items: center;
            inline-size: 3rem;
            block-size: 3rem;
            border: 1px solid var(--c-line);
            border-radius: 50%;
            background: var(--c-white);
            box-shadow: var(--shadow-2);
            color: var(--c-blue);
            font-size: 1.15rem;
            cursor: pointer;
            transition: opacity 0.2s, color 0.2s, border-color 0.2s;
        }

        [data-view="scroll"] .ds-rail-arrow:hover {
            border-color: var(--c-blue);
        }

        [data-view="scroll"] .ds-rail-arrow:disabled {
            opacity: 0;
            pointer-events: none;
        }

        .ds-rail-prev {
            inset-inline-start: -1.5rem;
        }

        .ds-rail-next {
            inset-inline-end: -1.5rem;
        }
    }

    @media (min-width: 80rem) {
        .hw-grid {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }

        [data-view="scroll"] .hw-grid.ds-rail-list > li {
            flex-basis: calc((100% - 84px) / 4);
        }
    }

    /* ---------- hardware: how ordering works ---------- */
    .page-catalog .hw-steps {
        padding-block: 0 var(--s-8);
        background: var(--c-page);
    }

    .page-catalog .hw-steps-tile {
        display: flex;
        flex-direction: column;
        gap: var(--s-5);
        padding: var(--s-5);
    }

    .page-catalog .hw-steps-tile h2 {
        font-size: clamp(1.5rem, 1.1rem + 1vw, 1.875rem);
        letter-spacing: -0.025em;
    }

    .page-catalog .hw-steps-list {
        display: grid;
        gap: var(--s-5);
        padding: 0;
        list-style: none;
    }

    .page-catalog .hw-steps-list li {
        display: flex;
        align-items: flex-start;
        gap: var(--s-4);
    }

    .page-catalog .hw-step-icon {
        display: grid;
        flex: none;
        place-items: center;
        inline-size: 3.25rem;
        block-size: 3.25rem;
        border-radius: 15px;
        background: linear-gradient(135deg, var(--c-tint), var(--c-tint-2));
        color: var(--c-blue);
        font-size: 1.375rem;
    }

    .page-catalog .hw-steps-list li > span:last-child {
        display: flex;
        flex-direction: column;
        gap: 6px;
        color: var(--c-ink-2);
        font-size: 0.91rem;
        line-height: 1.55;
    }

    .page-catalog .hw-steps-list strong {
        color: var(--c-ink);
        font-size: 1.0625rem;
    }

    @media (min-width: 64rem) {
        .page-catalog .hw-steps-tile {
            padding: 2.5rem 3rem;
        }

        .page-catalog .hw-steps-list {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 28px;
        }
    }

    /* ---------- nothing found ---------- */
    .page-catalog .catalog-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--s-3);
        padding: var(--s-8) var(--s-5);
        border: 1px dashed var(--c-line);
        border-radius: var(--r-card);
        background: var(--c-white);
        text-align: center;
    }

    .page-catalog .catalog-empty > .ds-icon {
        color: var(--c-ink-3);
        font-size: 2.5rem;
    }

    .page-catalog .catalog-empty h2 {
        font-size: var(--fs-xl);
    }

    .page-catalog .catalog-empty p {
        color: var(--c-ink-2);
    }

    /* ---------- solutions: hero ---------- */
    .page-catalog .sol-hero {
        position: relative;
        overflow: clip;
        padding-block: var(--s-5) var(--s-7);
        background:
            radial-gradient(ellipse 50% 60% at 90% 30%, rgb(32 160 224 / 0.2), transparent 70%),
            radial-gradient(ellipse 30% 40% at 70% 0%, rgb(248 123 43 / 0.12), transparent 70%),
            linear-gradient(180deg, #f3f8fd 0%, #e6f0fa 100%);
    }

    .page-catalog .sol-hero-smoke {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .page-catalog .sol-hero-smoke .ds-smoke {
        inset-block-start: 2rem;
        inset-inline-end: -4rem;
        inline-size: 22rem;
        block-size: 18rem;
    }

    .page-catalog .sol-hero-smoke .sol-smoke-2 {
        --smoke: rgb(37 70 147 / 0.2);
        inset-block: auto -7rem;
        inset-inline: -6% auto;
    }

    .page-catalog .sol-hero-grid {
        position: relative;
        display: grid;
        gap: var(--s-6);
        align-items: center;
    }

    .page-catalog .sol-hero-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s-4);
        min-inline-size: 0;
    }

    .page-catalog .sol-hero h1 {
        font-size: clamp(2.125rem, 1.4rem + 3.2vw, 3.5rem);
        line-height: 1.06;
        letter-spacing: -0.035em;
        overflow-wrap: anywhere;
    }

    .page-catalog .sol-lead {
        max-inline-size: 34rem;
        color: var(--c-ink-2);
        font-size: var(--fs-lg);
        line-height: 1.65;
    }

    .page-catalog .sol-hero-actions {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        align-self: stretch;
    }

    .page-catalog .sol-hero-art {
        display: none;
    }

    /* ---------- solutions: list ---------- */
    .page-catalog .sol-list {
        padding-block: var(--s-5) var(--s-8);
        background: var(--c-page);
    }

    .page-catalog .sol-bar {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        margin-block-end: var(--s-5);
    }

    /* ---------- category bar (Catalog/CategoryBar): one row of chips in a glass pill, scrolling sideways ---------- */
    .ds-catbar {
        min-inline-size: 0;
        margin-block-end: var(--s-4);
        padding: 5px;
        border-radius: var(--r-pill);
    }

    .sol-bar .ds-catbar {
        margin-block-end: 0;
    }

    /* site.js marks the ends that have more chips beyond them; those edges fade out */
    /* Positioned: the chips' screen-reader words (absolute) stay inside the scrolling row, not past the page edge */
    .ds-catbar-list {
        --fade-start: 0px;
        --fade-end: 0px;
        position: relative;
        display: flex;
        gap: 4px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: 2.5rem;
        scrollbar-width: none;
        mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%);
    }

    .ds-catbar-list::-webkit-scrollbar {
        display: none;
    }

    .ds-catbar[data-more~="start"] .ds-catbar-list {
        --fade-start: 2.5rem;
    }

    .ds-catbar[data-more~="end"] .ds-catbar-list {
        --fade-end: 2.5rem;
    }

    .ds-catbar .ds-chip {
        flex: none;
        gap: 8px;
        min-block-size: 2.5rem;
        padding-block: 0;
        padding-inline: 14px 8px;
        border-color: transparent;
        background: transparent;
        color: var(--c-ink-2);
        transition: background-color 0.2s, color 0.2s;
    }

    .ds-catbar .ds-chip:hover {
        background: var(--c-white);
        color: var(--c-ink);
    }

    .ds-catbar .ds-chip[aria-current] {
        background: linear-gradient(180deg, var(--c-blue-2), var(--c-blue));
        box-shadow: var(--shadow-btn);
        color: var(--c-white);
    }

    .ds-catbar .ds-chip > .ds-icon {
        color: var(--c-blue);
        font-size: 1rem;
    }

    .ds-catbar .ds-chip[aria-current] > .ds-icon {
        color: var(--c-white);
    }

    .ds-catbar-count {
        min-inline-size: 1.5rem;
        padding: 2px 7px;
        border-radius: var(--r-pill);
        background: var(--c-tint-2);
        color: var(--c-blue);
        font-size: 0.72rem;
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
    }

    .ds-catbar .ds-chip[aria-current] .ds-catbar-count {
        background: rgb(255 255 255 / 0.22);
        color: var(--c-white);
    }

    .page-catalog .sol-count {
        color: var(--c-ink-3);
        font-size: var(--fs-sm);
    }

    .sol-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 0;
        list-style: none;
    }

    .sol-grid > li {
        display: flex;
        min-inline-size: 0;
    }

    /* ---------- service card: the old site's card in the Stage 7 look (one column on phones) ---------- */
    .svc-card {
        position: relative;
        display: flex;
        flex: 1;
        flex-direction: column;
        padding: 0;
        overflow: hidden;
        border-radius: var(--r-tile);
        color: var(--c-ink);
        font-size: var(--fs-base);
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .svc-card:hover {
        border-color: var(--c-blue);
        box-shadow: var(--shadow-2);
    }

    /* The picture fills the top edge to edge at the banners' 16:9 (the card's rounded corners clip it) */
    .svc-card-pic {
        position: relative;
    }

    .svc-card-pic img,
    .svc-card-pic .ds-img-placeholder,
    .svc-card-icon {
        display: block;
        inline-size: 100%;
        block-size: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
        animation: none;
    }

    .svc-card-icon {
        display: grid;
        place-items: center;
        background: linear-gradient(140deg, var(--c-tint) 0%, var(--c-tint-2) 100%);
        color: var(--c-blue);
        font-size: 3rem;
    }

    .svc-card-cat {
        inset-block-start: 12px;
        inset-inline-start: 12px;
        max-inline-size: calc(100% - 9rem);
    }

    .svc-card-pay {
        inset-block-start: 12px;
        inset-inline-end: 12px;
    }

    .svc-card-body {
        display: flex;
        flex: 1;
        flex-direction: column;
        gap: var(--s-3);
        min-inline-size: 0;
        padding: 18px 20px 20px;
    }

    .svc-card-name {
        display: flex;
        align-items: center;
        gap: var(--s-3);
        font-size: 1.15rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .svc-card-ico {
        display: grid;
        flex: none;
        place-items: center;
        inline-size: 38px;
        block-size: 38px;
        border-radius: var(--r-md);
        background: linear-gradient(135deg, var(--c-tint), var(--c-tint-2));
        color: var(--c-blue);
        font-size: 1.1rem;
    }

    .svc-card-link {
        color: var(--c-ink);
        text-decoration: none;
    }

    .svc-card-link:hover {
        color: var(--c-blue);
        text-decoration: underline;
    }

    .svc-card-text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        overflow: hidden;
        color: var(--c-ink-2);
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .svc-card-meta {
        display: flex;
        flex-wrap: wrap;
        gap: var(--s-2) var(--s-5);
        padding: 0 0 var(--s-3);
        border-block-end: 1px solid var(--c-line);
        list-style: none;
        color: var(--c-ink-2);
        font-size: var(--fs-sm);
        font-weight: 600;
    }

    .svc-card-meta li {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .svc-card-meta .ds-icon {
        color: var(--c-accent-1);
    }

    .svc-card-meta .svc-card-price {
        color: var(--c-ink);
        font-weight: 700;
    }

    .svc-card-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 0;
        list-style: none;
    }

    .svc-card-tags li {
        padding: 4px 10px;
        border: 1px solid #dce7f7;
        border-radius: var(--r-pill);
        background: var(--c-tint);
        color: var(--c-blue);
        font-size: 0.75rem;
        font-weight: 600;
    }

    .svc-card-tags .svc-card-tag-more {
        border-color: var(--c-blue);
        background: var(--c-blue);
        color: var(--c-white);
    }

    .svc-card-actions {
        display: flex;
        gap: var(--s-2);
        margin-block-start: auto;
        padding-block-start: var(--s-1);
    }

    .svc-card-actions .ds-btn {
        flex: 1 1 0;
        min-inline-size: 0;
        padding-inline: var(--s-3);
        white-space: nowrap;
    }

    @media (min-width: 40rem) {
        .page-catalog .sol-hero-actions {
            flex-direction: row;
            flex-wrap: wrap;
        }

        .sol-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 22px;
        }

        .page-catalog .sol-bar {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            gap: var(--s-5);
        }

        .page-catalog .sol-bar .ds-catbar {
            flex: 0 1 auto;
        }

        .page-catalog .sol-bar .sol-tools {
            flex: none;
        }
    }

    @media (min-width: 64rem) {
        .page-catalog .sol-hero {
            padding-block: var(--s-6) var(--s-8);
        }

        .page-catalog .sol-hero-grid {
            grid-template-columns: minmax(0, 21fr) minmax(0, 19fr);
            gap: var(--s-8);
        }

        .page-catalog .sol-hero-art {
            position: relative;
            display: block;
            block-size: 380px;
        }

        .page-catalog .sol-hero-glass {
            position: absolute;
            inset: 20px 10px 10px 30px;
        }

        .page-catalog .sol-hero-tile {
            position: absolute;
            padding: 10px;
        }

        .page-catalog .sol-hero-tile img {
            display: block;
            inline-size: 100%;
            object-fit: cover;
            border-radius: var(--r-md);
            animation: none;
        }

        .page-catalog .sol-hero-tile-1 {
            inset-block-start: 52px;
            inset-inline-start: 60px;
            inline-size: min(330px, 62%);
            transform: rotate(-3deg);
        }

        .page-catalog .sol-hero-tile-1 img {
            block-size: 210px;
        }

        .page-catalog .sol-hero-tile-2 {
            inset-block-start: 160px;
            inset-inline-end: 30px;
            inline-size: min(250px, 48%);
            padding: 8px;
            transform: rotate(3deg);
        }

        .page-catalog .sol-hero-tile-2 img {
            block-size: 160px;
        }

        .page-catalog .sol-list {
            padding-block: var(--s-6) var(--s-9);
        }

        /* Three cards a row, as on the old site: room for both buttons */
        .sol-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    /* ---------- solutions: closing panel ---------- */
    .page-catalog .sol-cta {
        padding-block-start: var(--s-5);
        background: linear-gradient(180deg, var(--c-page) 0%, var(--c-page) 55%, var(--c-band) 55%, var(--c-band) 100%);
    }

    .page-catalog .sol-cta .ds-cta {
        border-radius: 30px;
        background: linear-gradient(135deg, #1a3473 0%, var(--c-blue) 45%, #1d6db2 100%);
        box-shadow: 0 50px 90px -40px rgb(8 20 48 / 0.9);
    }
}

/* Contact page (Pages/Contact.razor, also at /support), scoped to .page-contact. */
@layer pages {
    .page-contact {
        background: var(--c-page);
    }

    /* ---------- hero: the WhatsApp card ---------- */
    .page-contact .contact-hero-glass {
        position: absolute;
        inset: -1.5rem -1rem -1.5rem 2rem;
    }

    .page-contact .contact-wa {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s-4);
        max-inline-size: 24rem;
        margin-inline: auto;
        padding: var(--s-6);
    }

    .page-contact .contact-wa p {
        display: flex;
        flex-direction: column;
        gap: var(--s-1);
        color: var(--c-ink-2);
        font-size: var(--fs-sm);
    }

    .page-contact .contact-wa strong {
        color: var(--c-ink);
        font-size: var(--fs-lg);
    }

    .page-contact .contact-wa-icon,
    .page-contact .contact-icon {
        display: flex;
        flex: none;
        align-items: center;
        justify-content: center;
        inline-size: 2.75rem;
        block-size: 2.75rem;
        border-radius: 14px;
        background: var(--c-tint-2);
        color: var(--c-blue);
        font-size: 1.25rem;
    }

    .page-contact .contact-wa-icon {
        background: var(--c-whatsapp);
        color: var(--c-ink);
    }

    /* The original WhatsApp logo fills the green tile (white bubble on green) */
    .page-contact .contact-wa-icon .ds-icon {
        inline-size: 2.75rem;
        block-size: 2.75rem;
    }

    /* ---------- phones: call, WhatsApp, email ---------- */
    .page-contact .contact-shortcuts ul {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--s-3);
        margin-block: var(--s-5) 0;
        padding-block: 0;
        list-style: none;
    }

    .page-contact .contact-shortcuts a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--s-1);
        min-block-size: 4.5rem;
        color: var(--c-blue);
        font-size: var(--fs-sm);
        font-weight: 700;
        text-decoration: none;
    }

    .page-contact .contact-shortcuts .ds-icon {
        font-size: 1.25rem;
    }

    .page-contact .contact-layout {
        display: grid;
        gap: var(--s-6);
        align-items: start;
    }

    .page-contact .contact-main {
        padding-block-start: var(--s-6);
    }

    @media (min-width: 64rem) {
        .page-contact .contact-shortcuts {
            display: none;
        }

        .page-contact .contact-main {
            padding-block-start: clamp(var(--s-7), 6vw, 5.5rem);
        }

        .page-contact .contact-layout {
            grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
            gap: var(--s-7);
        }
    }

    /* ---------- how to reach us ---------- */
    .page-contact .contact-details {
        min-inline-size: 0;
    }

    .page-contact .contact-info {
        display: flex;
        flex-direction: column;
        gap: var(--s-5);
        padding: var(--s-6);
    }

    .page-contact .contact-info > ul {
        display: flex;
        flex-direction: column;
        gap: var(--s-4);
        padding: 0;
        list-style: none;
    }

    .page-contact .contact-info > ul li {
        display: flex;
        align-items: flex-start;
        gap: var(--s-4);
    }

    .page-contact .contact-info > ul li > span:last-child {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-inline-size: 0;
        color: var(--c-ink-2);
        font-size: var(--fs-sm);
        overflow-wrap: anywhere;
    }

    .page-contact .contact-info > ul strong {
        color: var(--c-ink);
        font-size: var(--fs-base);
    }

    .page-contact .contact-info > ul a {
        color: var(--c-blue);
    }

    .page-contact .contact-closed {
        color: var(--c-ink-3);
    }

    .page-contact .contact-social {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        padding-block-start: var(--s-5);
        border-block-start: 1px solid var(--c-line);
    }

    .page-contact .contact-social h2 {
        font-size: var(--fs-base);
    }

    /* ---------- the form ---------- */
    .page-contact .contact-form-card {
        display: flex;
        flex-direction: column;
        gap: var(--s-5);
        padding: clamp(var(--s-5), 4vw, var(--s-7));
        scroll-margin-block-start: calc(var(--shell-header) + var(--s-4));
    }

    .page-contact .contact-form-head h2 {
        font-size: var(--fs-xl);
    }

    .page-contact .contact-form-head p {
        margin-block-start: var(--s-2);
        color: var(--c-ink-2);
    }

    .page-contact .contact-fields {
        display: flex;
        flex-direction: column;
        gap: var(--s-4);
    }

    .page-contact .contact-row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
        gap: var(--s-4);
    }

    .page-contact .contact-field {
        display: flex;
        flex-direction: column;
        gap: var(--s-2);
        min-inline-size: 0;
    }

    .page-contact .contact-field label {
        color: var(--c-ink);
        font-size: var(--fs-sm);
        font-weight: 600;
    }

    .page-contact .contact-required {
        color: var(--c-blue);
    }

    .page-contact .contact-field :is(input, select, textarea) {
        inline-size: 100%;
        min-block-size: 48px;
        padding-block: var(--s-2);
        padding-inline: var(--s-3);
        border: 1px solid var(--c-line);
        border-radius: var(--r-btn);
        background: var(--c-white);
        color: var(--c-ink);
        font: inherit;
    }

    .page-contact .contact-field textarea {
        min-block-size: 8rem;
        resize: vertical;
    }

    .page-contact .contact-field :is(input, select, textarea):focus {
        border-color: var(--c-focus);
        outline: 2px solid var(--c-focus);
        outline-offset: 0;
    }

    .page-contact .contact-field [aria-invalid="true"] {
        border-color: #c0392b;
    }

    .page-contact .contact-field-error,
    .page-contact .validation-message {
        color: #b42318;
        font-size: var(--fs-sm);
    }

    /* The trap field for bots: out of sight, not reachable */
    .page-contact .contact-trap {
        position: absolute;
        inline-size: 1px;
        block-size: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .page-contact .contact-consent label {
        display: flex;
        align-items: flex-start;
        gap: var(--s-3);
        color: var(--c-ink-2);
        font-size: var(--fs-sm);
    }

    .page-contact .contact-consent input {
        flex: none;
        inline-size: 1.25rem;
        block-size: 1.25rem;
        margin-block-start: 0.1rem;
        accent-color: var(--c-blue);
    }

    .page-contact .contact-submit {
        align-self: flex-start;
    }

    .page-contact .contact-alert {
        display: flex;
        align-items: flex-start;
        gap: var(--s-3);
        padding: var(--s-4);
        border-radius: var(--r-md);
        font-size: var(--fs-sm);
    }

    .page-contact .contact-alert > .ds-icon {
        margin-block-start: 0.15em;
        font-size: 1.125rem;
    }

    .page-contact .contact-alert ul {
        margin-block-start: var(--s-2);
        padding-inline-start: var(--s-5);
    }

    .page-contact .contact-alert-error {
        border: 1px solid #f5c2c0;
        background: #fef3f2;
        color: #b42318;
    }

    .page-contact .contact-alert-ok {
        border: 1px solid #a6e9d5;
        background: var(--c-tint-2);
        color: var(--c-blue);
    }

    /* ---------- questions ---------- */
    .page-contact .contact-faq-list {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        max-inline-size: 48rem;
        margin-inline: auto;
    }

    .page-contact .contact-faq-item {
        border: 1px solid var(--c-line);
        border-radius: var(--r-card);
        background: var(--c-white);
        box-shadow: var(--shadow-tile);
    }

    .page-contact .contact-faq-item summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--s-3);
        min-block-size: 56px;
        padding-inline: var(--s-5);
        color: var(--c-ink);
        font-weight: 600;
        list-style: none;
        cursor: pointer;
    }

    .page-contact .contact-faq-item summary::-webkit-details-marker {
        display: none;
    }

    .page-contact .contact-faq-item summary .ds-icon {
        flex: none;
        transition: transform 0.15s;
    }

    .page-contact .contact-faq-item[open] summary .ds-icon {
        transform: rotate(180deg);
    }

    .page-contact .contact-faq-item p {
        padding: 0 var(--s-5) var(--s-5);
        color: var(--c-ink-2);
    }
}

/* Deals page (Pages/Deals.razor), scoped to .page-deals: hero, bundle cards, dialog. */
@layer pages {
    .page-deals {
        background: var(--c-page);
    }

    /* ---------- hero ---------- */
    .page-deals .deals-hero {
        position: relative;
        overflow: clip;
        padding-block: var(--s-5) var(--s-7);
        background:
            radial-gradient(ellipse 50% 60% at 90% 30%, rgb(32 160 224 / 0.2), transparent 70%),
            radial-gradient(ellipse 30% 40% at 70% 0%, rgb(248 123 43 / 0.12), transparent 70%),
            linear-gradient(180deg, #f3f8fd 0%, #e6f0fa 100%);
    }

    .page-deals .deals-hero-smoke {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .page-deals .deals-hero-smoke .ds-smoke {
        inset-block-start: 2rem;
        inset-inline-end: -4rem;
        inline-size: 22rem;
        block-size: 18rem;
    }

    .page-deals .deals-hero-smoke .deals-smoke-2 {
        --smoke: rgb(37 70 147 / 0.2);
        inset-block: auto -7rem;
        inset-inline: -6% auto;
    }

    .page-deals .deals-hero-text {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s-4);
    }

    .page-deals .deals-hero h1 {
        font-size: clamp(2.125rem, 1.4rem + 3.2vw, 3.5rem);
        line-height: 1.06;
        letter-spacing: -0.035em;
        overflow-wrap: anywhere;
    }

    .page-deals .deals-lead {
        max-inline-size: 34rem;
        color: var(--c-ink-2);
        font-size: var(--fs-lg);
        line-height: 1.65;
    }

    .page-deals .deals-hero-actions {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        align-self: stretch;
    }

    .page-deals .deals-list {
        padding-block: var(--s-6) var(--s-8);
        background: linear-gradient(180deg, var(--c-tint) 0%, var(--c-page) 100%);
    }

    .page-deals .deals-cta-section {
        padding-block: var(--s-4) var(--s-8);
    }

    .page-deals .offers-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--s-3);
        padding: var(--s-8) var(--s-5);
        border: 1px dashed var(--c-line);
        border-radius: var(--r-tile);
        background: var(--c-white);
        text-align: center;
    }

    .page-deals .offers-empty > .ds-icon {
        color: var(--c-ink-3);
        font-size: 2.5rem;
    }

    .page-deals .offers-empty h2 {
        font-size: var(--fs-xl);
    }

    .page-deals .offers-empty p {
        color: var(--c-ink-2);
    }

    /* ---------- bundle cards: one per row, picture then details ---------- */
    .page-deals .offers-grid {
        display: flex;
        flex-direction: column;
        gap: var(--s-5);
        padding: 0;
        list-style: none;
    }

    .page-deals .offer-card {
        display: grid;
        gap: var(--s-4);
        padding: var(--s-3);
        overflow: hidden;
        transition: box-shadow 0.2s, border-color 0.2s;
    }

    .page-deals .offer-card:hover {
        border-color: var(--c-blue);
        box-shadow: var(--shadow-2);
    }

    .page-deals .offer-picture {
        position: relative;
        padding: var(--s-3);
        border-radius: var(--r-card);
        background: linear-gradient(140deg, var(--c-tint) 0%, var(--c-tint-2) 100%);
    }

    .page-deals .offer-picture :is(img, .ds-img-placeholder) {
        inline-size: 100%;
        block-size: auto;
        aspect-ratio: 16 / 10;
        object-fit: contain;
    }

    .page-deals .offer-tag {
        position: absolute;
        inset-block-start: var(--s-3);
        inset-inline-start: var(--s-3);
        padding-block: 0.4rem;
        padding-inline: var(--s-3);
        border-radius: var(--r-pill);
        background: linear-gradient(135deg, var(--c-accent-1), var(--c-accent-2));
        color: var(--c-ink);
        box-shadow: var(--shadow-btn);
        font-size: var(--fs-sm);
        font-weight: 800;
    }

    .page-deals .offer-body {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: var(--s-3);
        min-inline-size: 0;
        padding: var(--s-2) var(--s-2) var(--s-3);
    }

    .page-deals .offer-timer {
        display: inline-flex;
        align-items: center;
        gap: var(--s-2);
        color: var(--c-ink-3);
        font-size: var(--fs-sm);
        font-weight: 600;
    }

    .page-deals .offer-title {
        font-size: var(--fs-xl);
        line-height: 1.15;
        letter-spacing: -0.025em;
        overflow-wrap: anywhere;
    }

    .page-deals .offer-title a {
        color: inherit;
        text-decoration: none;
    }

    .page-deals .offer-text {
        color: var(--c-ink-2);
        line-height: 1.6;
    }

    .page-deals .offer-includes-title {
        margin-block-end: var(--s-1);
        font-size: var(--fs-base);
        font-weight: 700;
    }

    .page-deals .offer-includes {
        padding: 0;
        list-style: none;
    }

    .page-deals .offer-includes li {
        display: flex;
        align-items: center;
        gap: var(--s-3);
        padding-block: var(--s-2);
        border-block-start: 1px solid var(--c-line);
        font-weight: 600;
    }

    .page-deals .offer-includes li > .ds-icon {
        flex: none;
        box-sizing: content-box;
        inline-size: 0.8rem;
        block-size: 0.8rem;
        padding: 0.3rem;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--c-blue), var(--c-sky));
        color: var(--c-white);
    }

    .page-deals .offer-includes li > span {
        flex: 1;
        min-inline-size: 0;
        overflow-wrap: anywhere;
    }

    .page-deals .offer-includes em {
        color: var(--c-blue);
        font-size: var(--fs-xs);
        font-style: normal;
        font-weight: 600;
    }

    .page-deals .offer-foot {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: var(--s-3) var(--s-4);
        padding-block-start: var(--s-3);
        border-block-start: 1px solid var(--c-line);
    }

    /* The link on the title covers the card; the button sits above that cover */
    .page-deals .offer-foot .ds-btn {
        position: relative;
        z-index: 1;
    }

    .page-deals .offer-price {
        display: flex;
        flex-direction: column;
    }

    .page-deals .offer-price-label {
        color: var(--c-ink-3);
        font-size: var(--fs-sm);
    }

    .page-deals .offer-price-row {
        display: inline-flex;
        align-items: baseline;
        gap: var(--s-2);
    }

    .page-deals .offer-price strong {
        color: var(--c-ink);
        font-size: 1.9rem;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .page-deals .offer-price s {
        color: var(--c-ink-3);
        font-size: var(--fs-lg);
        font-weight: 600;
    }

    .page-deals .offer-save {
        color: var(--c-blue);
        font-size: var(--fs-sm);
        font-weight: 700;
    }

    @media (min-width: 64rem) {
        .page-deals .deals-hero-actions {
            flex-direction: row;
            align-self: flex-start;
        }

        .page-deals .offer-card {
            grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
            gap: var(--s-6);
            align-items: center;
            padding-inline-end: var(--s-7);
        }
    }

    /* ---------- deal dialog ---------- */
    .page-deals .offer-dialog {
        inline-size: min(100% - 2 * var(--s-4), 60rem);
        max-block-size: min(100dvh - 2 * var(--s-4), 52rem);
        /* The old stylesheet resets every margin to 0, which would pin the dialog to the corner */
        margin: auto;
        padding: 0;
        border: 0;
        border-radius: var(--r-lg);
        background: var(--c-white);
        color: var(--c-ink);
        box-shadow: var(--shadow-2);
        overflow: auto;
    }

    .page-deals .offer-dialog::backdrop {
        background: rgb(8 12 24 / 0.65);
    }

    /* Without the script the card's link jumps to the dialog: show it in the page */
    .page-deals .offer-dialog:target:not([open]) {
        position: static;
        display: block;
        margin: var(--s-6) auto;
    }

    .page-deals .offer-dialog-close {
        inset-block-start: var(--s-3);
        inset-inline-end: var(--s-3);
        z-index: 1;
        border-color: var(--c-line);
        background: var(--c-white);
        color: var(--c-ink);
    }

    .page-deals .offer-dialog-close:hover {
        background: var(--c-tint);
    }

    .page-deals .offer-dialog-grid {
        display: grid;
    }

    .page-deals .offer-dialog-media {
        display: flex;
        flex-direction: column;
        gap: var(--s-2);
        padding: var(--s-4);
        background: var(--c-tint);
    }

    .page-deals .offer-dialog-media :is(img, video, .ds-img-placeholder) {
        inline-size: 100%;
        block-size: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        border-radius: var(--r-md);
    }

    .page-deals .offer-dialog-details {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s-4);
        padding: var(--s-6) var(--s-5);
        min-inline-size: 0;
    }

    .page-deals .offer-dialog-details h2 {
        padding-inline-end: var(--s-7);
        font-size: var(--fs-2xl);
        overflow-wrap: anywhere;
    }

    .page-deals .offer-dialog-details h3 {
        font-size: var(--fs-base);
    }

    .page-deals .offer-dialog-text {
        color: var(--c-ink-2);
        white-space: pre-line;
    }

    .page-deals .offer-dialog-prices {
        display: flex;
        flex-wrap: wrap;
        gap: var(--s-3) var(--s-6);
        margin: 0;
    }

    .page-deals .offer-dialog-prices dt {
        color: var(--c-ink-3);
        font-size: var(--fs-xs);
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .page-deals .offer-dialog-prices dd {
        margin: 0;
        color: var(--c-ink-3);
        font-size: var(--fs-lg);
    }

    .page-deals .offer-dialog-now dd {
        color: var(--c-ink);
        font-size: var(--fs-2xl);
        font-weight: 800;
    }

    .page-deals .offer-dialog-items {
        display: flex;
        flex-direction: column;
        gap: var(--s-2);
        inline-size: 100%;
        padding: 0;
        list-style: none;
    }

    .page-deals .offer-dialog-items li {
        display: flex;
        align-items: center;
        gap: var(--s-3);
        padding: var(--s-3);
        border: 1px solid var(--c-line);
        border-radius: var(--r-md);
    }

    .page-deals .offer-dialog-items li > span:last-child {
        display: flex;
        flex-direction: column;
        min-inline-size: 0;
        color: var(--c-ink-3);
        font-size: var(--fs-sm);
    }

    .page-deals .offer-dialog-items strong {
        color: var(--c-ink);
        overflow-wrap: anywhere;
    }

    .page-deals .offer-item-icon {
        display: inline-grid;
        flex: none;
        place-items: center;
        inline-size: 2.5rem;
        block-size: 2.5rem;
        border-radius: var(--r-sm);
        background: var(--c-tint-2);
        color: var(--c-blue);
    }

    @media (min-width: 48rem) {
        .page-deals .offer-dialog-grid {
            grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        }
    }
}

/* Detail pages: service (Pages/ServiceDetail, Catalog/ServiceDetailsView, ServiceTutorials) and product (Pages/ProductDetail,
   Catalog/ProductDetailsView). Both use the sd-* top band and body; the product-only parts are in product.css. */
@layer pages {
    /* The page behind an open picture stays still */
    html:has(.ds-lightbox[open]) {
        overflow: hidden;
    }

    .svc-prose {
        color: var(--c-ink-2);
        max-inline-size: 65ch;
        white-space: pre-line;
    }

    /* ---------- service page ---------- */
    :is(.page-service, .page-product) {
        background: var(--c-page);
    }

    :is(.page-service, .page-product) h2 {
        font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2rem);
        line-height: 1.12;
        letter-spacing: -0.025em;
    }

    /* top band: breadcrumb, gallery, summary */
    :is(.page-service, .page-product) .sd-top {
        position: relative;
        overflow: clip;
        padding-block: var(--s-5) var(--s-7);
        background:
            radial-gradient(ellipse 50% 60% at 90% 10%, rgb(32 160 224 / 0.18), transparent 70%),
            linear-gradient(180deg, #f3f8fd 0%, #e6f0fa 100%);
    }

    :is(.page-service, .page-product) .sd-top-smoke {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    :is(.page-service, .page-product) .sd-top-smoke .ds-smoke {
        inset-block-start: -5rem;
        inset-inline-start: 30%;
        inline-size: 35rem;
        block-size: 26rem;
    }

    :is(.page-service, .page-product) .sd-top-inner {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: var(--s-5);
    }

    :is(.page-service, .page-product) .sd-hero {
        display: grid;
        gap: var(--s-5) var(--s-8);
        align-items: start;
    }

    :is(.page-service, .page-product) .sd-media,
    :is(.page-service, .page-product) .sd-summary {
        min-inline-size: 0;
    }

    :is(.page-service, .page-product) .sd-media .ds-gallery-main {
        box-shadow: var(--shadow-tile);
    }

    :is(.page-service, .page-product) .sd-media .ds-gallery-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 5rem), 1fr));
        gap: var(--s-2);
    }

    :is(.page-service, .page-product) .sd-summary {
        display: flex;
        flex-direction: column;
        gap: var(--s-4);
    }

    :is(.page-service, .page-product) .sd-tags {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--s-2);
    }

    :is(.page-service, .page-product) .sd-tags .ds-chip {
        font-size: var(--fs-xs);
        font-weight: 700;
    }

    :is(.page-service, .page-product) .sd-tag {
        display: inline-flex;
        align-items: center;
        gap: var(--s-1);
        color: var(--c-ink-2);
        font-size: var(--fs-xs);
        font-weight: 600;
    }

    :is(.page-service, .page-product) .sd-summary h1 {
        font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem);
        line-height: 1.08;
        letter-spacing: -0.03em;
        overflow-wrap: anywhere;
    }

    :is(.page-service, .page-product) .sd-lead {
        color: var(--c-ink-2);
        font-size: var(--fs-lg);
        line-height: 1.65;
    }

    :is(.page-service, .page-product) .sd-price {
        display: flex;
        align-items: center;
        gap: var(--s-3);
        padding: var(--s-4) 1.125rem;
        border: 1px solid var(--c-white);
        border-radius: 18px;
        background: rgb(255 255 255 / 0.8);
        box-shadow: 0 16px 30px -26px rgb(16 35 79 / 0.5);
    }

    :is(.page-service, .page-product) .sd-price-icon {
        display: grid;
        flex: none;
        place-items: center;
        inline-size: 2.75rem;
        block-size: 2.75rem;
        border-radius: 13px;
        background: linear-gradient(135deg, var(--c-tint), var(--c-tint-2));
        color: var(--c-blue);
        font-size: 1.25rem;
    }

    :is(.page-service, .page-product) .sd-price-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-inline-size: 0;
        color: var(--c-ink-3);
        font-size: var(--fs-sm);
    }

    :is(.page-service, .page-product) .sd-price-text strong {
        color: var(--c-ink);
        font-size: 1.0625rem;
        overflow-wrap: anywhere;
    }

    :is(.page-service, .page-product) .sd-actions {
        display: flex;
        flex-wrap: wrap;
        gap: var(--s-3);
    }

    :is(.page-service, .page-product) .sd-actions .ds-btn {
        flex: 1 1 100%;
    }

    :is(.page-service, .page-product) .sd-meta {
        display: flex;
        flex-wrap: wrap;
        gap: var(--s-2) var(--s-5);
        padding: 0;
        list-style: none;
        color: var(--c-ink-2);
        font-size: var(--fs-sm);
    }

    :is(.page-service, .page-product) .sd-meta li {
        display: inline-flex;
        align-items: center;
        gap: var(--s-2);
    }

    :is(.page-service, .page-product) .sd-meta .ds-icon {
        color: var(--c-blue);
    }

    /* overview beside the checklist */
    :is(.page-service, .page-product) .sd-body {
        padding-block: var(--s-7);
    }

    :is(.page-service, .page-product) .sd-body-grid {
        display: grid;
        gap: var(--s-6) var(--s-8);
        align-items: start;
    }

    :is(.page-service, .page-product) .sd-overview {
        display: flex;
        flex-direction: column;
        gap: var(--s-4);
        min-inline-size: 0;
    }

    :is(.page-service, .page-product) .sd-overview .svc-prose {
        font-size: 1.03rem;
        line-height: 1.75;
    }

    :is(.page-service, .page-product) .sd-included {
        padding: var(--s-5);
        font-size: var(--fs-base);
    }

    :is(.page-service, .page-product) .sd-included h2 {
        margin-block-end: var(--s-4);
        font-size: var(--fs-xl);
        letter-spacing: 0;
    }

    .page-service .svc-features {
        display: grid;
        gap: var(--s-3);
        padding: 0;
        list-style: none;
    }

    .page-service .svc-features li {
        display: flex;
        align-items: flex-start;
        gap: var(--s-3);
        color: var(--c-ink);
        line-height: 1.5;
    }

    :is(.page-service, .page-product) .sd-check {
        display: grid;
        flex: none;
        place-items: center;
        inline-size: 1.5rem;
        block-size: 1.5rem;
        margin-block-start: 1px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--c-blue), var(--c-sky));
        color: var(--c-white);
        font-size: 0.8rem;
    }

    /* tutorials */
    .page-service .svc-tutorials {
        padding-block: var(--s-6) var(--s-7);
        background: linear-gradient(180deg, var(--c-page) 0%, var(--c-tint) 100%);
    }

    .page-service .svc-tutorials-head {
        margin-block-end: var(--s-5);
    }

    .page-service .svc-tutorials-head p {
        margin-block-start: var(--s-2);
        color: var(--c-ink-2);
        max-inline-size: 40rem;
    }

    .page-service .svc-tutorials-grid {
        display: grid;
        gap: var(--s-5);
    }

    .page-service .svc-player {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        min-inline-size: 0;
        padding: 10px;
        font-size: var(--fs-base);
    }

    .page-service .svc-player video {
        display: block;
        inline-size: 100%;
        aspect-ratio: 16 / 9;
        border-radius: var(--r-card);
        background: var(--c-blue);
    }

    .page-service .svc-player-info {
        padding-inline: var(--s-2);
        padding-block-end: var(--s-2);
    }

    .page-service .svc-player-info h3 {
        font-size: var(--fs-lg);
    }

    .page-service .svc-player-info p {
        margin-block-start: var(--s-1);
        color: var(--c-ink-2);
    }

    .page-service .svc-duration {
        display: flex;
        align-items: center;
        gap: var(--s-2);
        font-size: var(--fs-sm);
    }

    .page-service .svc-playlist ol {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        padding: 0;
        list-style: none;
    }

    .page-service .svc-playlist a {
        display: flex;
        align-items: center;
        gap: var(--s-3);
        padding: 10px;
        border: 1px solid var(--c-line);
        border-radius: var(--r-lg);
        background: var(--c-white);
        box-shadow: var(--shadow-1);
        color: var(--c-ink);
        text-decoration: none;
    }

    .page-service .svc-playlist a:hover {
        border-color: var(--c-blue);
    }

    .page-service .svc-playlist a[aria-current] {
        border-color: var(--c-blue);
        background: var(--c-tint-2);
    }

    .page-service .svc-playlist-thumb {
        position: relative;
        display: grid;
        place-items: center;
        flex: none;
        inline-size: 7.5rem;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        border-radius: var(--r-md);
        background: linear-gradient(140deg, #eaf6fd 0%, #d3edfb 100%);
        color: var(--c-blue);
        font-size: 1.5rem;
    }

    .page-service .svc-playlist-thumb img {
        inline-size: 100%;
        block-size: 100%;
        object-fit: cover;
        animation: none;
    }

    .page-service .svc-playlist-time {
        position: absolute;
        inset-block-end: var(--s-1);
        inset-inline-end: var(--s-1);
        padding-inline: var(--s-2);
        border-radius: var(--r-pill);
        background: rgb(16 35 79 / 0.78);
        color: var(--c-white);
        font-size: 0.75rem;
        font-weight: 600;
    }

    .page-service .svc-playlist-text {
        display: flex;
        flex-direction: column;
        gap: 0.125rem;
        min-inline-size: 0;
    }

    .page-service .svc-playlist-title {
        font-weight: 700;
        overflow-wrap: anywhere;
    }

    .page-service .svc-playlist-desc {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        color: var(--c-ink-3);
        font-size: var(--fs-sm);
    }

    /* related services */
    .page-service .svc-related {
        padding-block: var(--s-6) var(--s-8);
        background: var(--c-tint);
    }

    .page-service .svc-related .ds-container {
        display: flex;
        flex-direction: column;
        gap: var(--s-5);
    }

    .page-service .svc-related-head {
        align-items: flex-end;
    }

    .page-service .svc-all {
        display: inline-flex;
        align-items: center;
        gap: var(--s-2);
        min-block-size: 44px;
        color: var(--c-blue);
        font-weight: 700;
        text-decoration: none;
    }

    .page-service .svc-all:hover {
        text-decoration: underline;
    }

    @media (min-width: 40rem) {
        :is(.page-service, .page-product) .sd-actions .ds-btn {
            flex: 0 1 auto;
        }

        :is(.page-service, .page-product) .sd-included {
            padding: var(--s-6);
        }
    }

    @media (min-width: 64rem) {
        :is(.page-service, .page-product) .sd-top {
            padding-block: var(--s-6) var(--s-8);
        }

        :is(.page-service, .page-product) .sd-hero {
            grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
        }

        :is(.page-service, .page-product) .sd-hero-solo {
            grid-template-columns: minmax(0, 46rem);
        }

        :is(.page-service, .page-product) .sd-summary {
            gap: var(--s-5);
            padding-block-start: var(--s-2);
        }

        :is(.page-service, .page-product) .sd-body {
            padding-block: var(--s-8);
        }

        :is(.page-service, .page-product) .sd-body-grid:not(.sd-body-single) {
            grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
        }

        :is(.page-service, .page-product) .sd-body-single {
            grid-template-columns: minmax(0, 46rem);
        }

        .page-service .svc-tutorials-grid {
            grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        }
    }
}

/* Home page (Components/Pages/Home.razor and Components/Home), scoped to .page-home: the Stage 7 light look. Phone
   first; the wide layout starts at 64rem. The one moving piece is How we work (a 14 s cycle); the rest is hover only. */
@layer pages {
    .page-home {
        --how-cycle: 14s;
    }

    .page-home :where(h2) {
        font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
        line-height: 1.12;
        letter-spacing: -0.025em;
    }

    /* ---------- hero ---------- */
    .page-home .home-hero {
        position: relative;
        overflow: clip;
        padding-block: var(--s-6) var(--s-7);
        background:
            radial-gradient(ellipse 60% 45% at 90% 100%, rgb(32 160 224 / 0.16), transparent 70%),
            linear-gradient(180deg, #f3f8fd 0%, #e9f2fb 55%, #dfecf9 100%);
    }

    .page-home .home-hero-smoke {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .page-home .home-hero-smoke .ds-smoke:nth-child(1) {
        inset-block-start: 3rem;
        inset-inline-end: 4%;
    }

    .page-home .home-hero-smoke .ds-smoke:nth-child(2) {
        --smoke: rgb(37 70 147 / 0.3);
        inset-block-start: 16rem;
        inset-inline-end: 26%;
        inline-size: 30rem;
        block-size: 25rem;
    }

    .page-home .home-hero-smoke .ds-smoke:nth-child(3) {
        --smoke: rgb(248 123 43 / 0.22);
        inset-block-start: -4rem;
        inset-inline-end: 10%;
        inline-size: 22rem;
        block-size: 19rem;
    }

    .page-home .home-hero-grid {
        position: relative;
        display: grid;
        gap: var(--s-5);
    }

    .page-home .home-hero-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.125rem;
        min-inline-size: 0;
    }

    .page-home .home-pill {
        display: inline-flex;
        align-items: center;
        gap: var(--s-2);
        padding-block: 0.375rem;
        padding-inline: 0.75rem 0.875rem;
        border: 1px solid #dbe8f5;
        border-radius: var(--r-pill);
        background: var(--c-white);
        box-shadow: 0 6px 16px -10px rgb(16 35 79 / 0.3);
        color: var(--c-blue);
        font-size: var(--fs-xs);
        font-weight: 600;
    }

    .page-home .home-pill-dot {
        flex: none;
        inline-size: 9px;
        block-size: 9px;
        border-radius: 50%;
        background: #22c55e;
        box-shadow: 0 0 0 3px rgb(34 197 94 / 0.2);
    }

    .page-home .home-hero h1 {
        font-size: clamp(2.25rem, 11.4vw - 0.25rem, 4rem);
        line-height: 1.05;
        letter-spacing: -0.035em;
        overflow-wrap: anywhere;
    }

    .page-home .home-lead {
        max-inline-size: 30rem;
        color: var(--c-ink-2);
        font-size: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
        line-height: 1.65;
    }

    .page-home .home-hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: var(--s-3);
        align-self: stretch;
    }

    .page-home .home-hero-actions > .ds-btn {
        flex: 1 1 13rem;
    }

    .page-home .home-rating {
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--s-2) var(--s-3);
        color: var(--c-ink-2);
        font-size: var(--fs-sm);
        text-decoration: none;
    }

    .page-home .home-rating strong {
        color: var(--c-ink);
    }

    .page-home a.home-rating:hover span {
        text-decoration: underline;
    }

    .page-home .home-stars {
        display: flex;
        gap: 2px;
    }

    .page-home .home-stars svg {
        inline-size: 16px;
        block-size: 16px;
        fill: #f87b2b;
    }

    /* Social rail beside the hero, where the screen leaves room for it */
    .page-home .home-follow {
        display: none;
    }

    @media (min-width: 84rem) {
        .page-home .home-follow {
            position: absolute;
            inset-block-start: 17rem;
            inset-inline-start: var(--s-5);
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--s-3);
            color: var(--c-ink-3);
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.12em;
        }

        .page-home .home-follow > span {
            writing-mode: vertical-rl;
            transform: rotate(180deg);
        }

        .page-home .home-follow > span::before {
            content: "";
            display: inline-block;
            inline-size: 1px;
            block-size: 36px;
            margin-block-start: var(--s-3);
            background: #cbd5e1;
        }

        .page-home .home-follow .ds-social {
            flex-direction: column;
        }
    }

    /* ---------- the app drawn in CSS (HeroDevices). 1em is one scene unit: 1/39 of the width on phones, 1/62.8 wide ---------- */
    .page-home .hero-devices {
        container-type: inline-size;
        min-inline-size: 0;
    }

    .page-home .hd-scene {
        position: relative;
        block-size: 48em;
        font-size: 10px;
        font-size: calc(100cqi / 39);
        line-height: 1.35;
        color: var(--c-ink);
    }

    .page-home .hd-scene :where(b, i, em, small) {
        font-size: inherit;
        font-style: normal;
    }

    .page-home .hd-scene .ds-icon {
        inline-size: 1.2em;
        block-size: 1.2em;
    }

    .page-home .hd-stage {
        position: absolute;
        inset-block-start: 8.4em;
        inset-inline: 1.8em;
        block-size: 33em;
        border-radius: 3.4em;
    }

    .page-home .hd-laptop {
        display: none;
    }

    .page-home .hd-lid {
        padding: 0.9em 0.9em 1.2em;
        border-radius: 2em 2em 0.8em 0.8em;
        background: linear-gradient(180deg, #1a1f2b, #0b0e15);
        box-shadow: inset 0 0 0 1px #2b3242, 0 6em 9em -4em rgb(16 35 79 / 0.6);
    }

    .page-home .hd-screen {
        display: grid;
        grid-template-columns: 11.8em 1fr;
        overflow: hidden;
        aspect-ratio: 16 / 10;
        border-radius: 0.8em;
        background: #f6f8fc;
        font-size: 0.9em;
    }

    .page-home .hd-side {
        display: flex;
        flex-direction: column;
        gap: 0.45em;
        padding: 1.3em 1.1em;
        border-inline-end: 1px solid #e8edf5;
        background: var(--c-white);
    }

    .page-home .hd-side span {
        display: flex;
        align-items: center;
        gap: 0.8em;
        padding: 0.65em 0.9em;
        border-radius: 0.8em;
        color: var(--c-ink-2);
    }

    .page-home .hd-side .hd-on {
        background: #eef3fb;
        color: var(--c-blue);
        font-weight: 700;
    }

    .page-home .hd-brand {
        display: flex;
        align-items: center;
        gap: 0.7em;
        padding-block-end: 1.2em;
    }

    .page-home .hd-brand i,
    .page-home .hd-avatar {
        inline-size: 2.2em;
        block-size: 2.2em;
        border-radius: 0.6em;
        background: linear-gradient(135deg, var(--c-blue), var(--c-sky));
    }

    .page-home .hd-main {
        display: flex;
        flex-direction: column;
        min-inline-size: 0;
    }

    .page-home .hd-top {
        display: flex;
        align-items: center;
        gap: 1.1em;
        padding: 0.9em 1.3em;
        border-block-end: 1px solid #e8edf5;
        background: var(--c-white);
    }

    .page-home .hd-search {
        display: flex;
        flex: 1;
        align-items: center;
        gap: 0.7em;
        padding: 0.55em 0.9em;
        border-radius: 0.8em;
        background: #f3f6fb;
        color: #8b97ad;
    }

    .page-home .hd-avatar {
        display: grid;
        place-items: center;
        border-radius: 50%;
        color: var(--c-white);
        font-weight: 700;
    }

    .page-home .hd-body {
        display: flex;
        flex-direction: column;
        gap: 0.9em;
        padding: 1.1em 1.3em;
    }

    .page-home .hd-title {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }

    .page-home .hd-title b,
    .page-home .hd-kpis b {
        font-size: 1.45em;
    }

    .page-home .hd-title span,
    .page-home .hd-kpis > span,
    .page-home .hd-card,
    .page-home .hd-table {
        border: 1px solid #e8edf5;
        border-radius: 0.9em;
        background: var(--c-white);
    }

    .page-home .hd-title span {
        padding: 0.3em 0.9em;
        border-radius: var(--r-pill);
        color: var(--c-ink-2);
    }

    .page-home .hd-kpis {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8em;
    }

    .page-home .hd-kpis > span {
        padding: 0.9em;
    }

    .page-home .hd-kpis em {
        display: block;
        color: #8b97ad;
    }

    .page-home .hd-kpis b {
        display: block;
        margin-block: 0.2em;
    }

    .page-home .hd-kpis small {
        color: #0b8a5f;
        font-weight: 600;
    }

    .page-home .hd-kpis .hd-warn {
        border-color: #ffe2d3;
        background: #fff6f1;
    }

    .page-home .hd-warn :where(em, small, b) {
        color: #b0532e;
    }

    .page-home .hd-charts {
        display: grid;
        grid-template-columns: 1.7fr 1fr;
        gap: 0.8em;
    }

    .page-home .hd-card {
        padding: 0.9em 1.1em;
    }

    .page-home .hd-card > svg {
        inline-size: 100%;
        block-size: 8.5em;
        margin-block-start: 0.4em;
    }

    .page-home .hd-donut {
        display: flex;
        align-items: center;
        gap: 0.9em;
        margin-block-start: 0.6em;
        color: var(--c-ink-2);
    }

    .page-home .hd-donut svg {
        flex: none;
        inline-size: 6.5em;
        block-size: 6.5em;
    }

    .page-home .hd-table span {
        display: grid;
        grid-template-columns: 0.7fr 1.6fr 1fr 0.8fr 0.9fr;
        align-items: center;
        padding: 0.65em 1.1em;
    }

    .page-home .hd-table span:first-child {
        background: #f8fafd;
        color: #8b97ad;
        font-weight: 600;
    }

    .page-home .hd-table span + span,
    .page-home .hd-list span + span {
        border-block-start: 1px solid #f0f3f8;
    }

    .page-home .hd-paid,
    .page-home .hd-wait {
        justify-self: start;
        padding: 0.1em 0.7em;
        border-radius: var(--r-pill);
        background: #e3f7ef;
        color: #0b6b57;
        font-weight: 600;
    }

    .page-home .hd-wait {
        background: #fff3e6;
        color: #a3510f;
    }

    .page-home .hd-base {
        block-size: 1.5em;
        margin-inline: -4.6em;
        border-radius: 0.2em 0.2em 1.6em 1.6em;
        background: linear-gradient(180deg, #eef1f5, #c9d0da 55%, #a9b2bf);
    }

    .page-home .hd-phone {
        position: absolute;
        inset-block-start: 3.4em;
        inset-inline-start: calc(50% - 9.5em);
        inline-size: 19em;
        padding: 0.7em;
        border-radius: 3.4em;
        background: linear-gradient(160deg, #2a3142, #0b0e15);
        box-shadow: inset 0 0 0 1px #3a4357, 0 4em 6em -2.4em rgb(16 35 79 / 0.6);
    }

    .page-home .hd-phone-screen {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        aspect-ratio: 9 / 19.2;
        border-radius: 2.8em;
        background: #f6f8fc;
        font-size: 0.8em;
    }

    .page-home .hd-status {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 1em 1.75em 0;
    }

    .page-home .hd-status i {
        inline-size: 5.5em;
        block-size: 1.5em;
        border-radius: var(--r-pill);
        background: #0b0e15;
    }

    .page-home .hd-status::after {
        content: "";
        justify-self: end;
        inline-size: 2.4em;
        block-size: 0.8em;
        border: 1px solid var(--c-ink);
        border-radius: 0.2em;
    }

    .page-home .hd-today {
        padding: 0.8em 1em 0.5em;
        font-size: 1.5em;
    }

    .page-home .hd-sales,
    .page-home .hd-list {
        margin-inline: 1.25em;
        border-radius: 1.25em;
    }

    .page-home .hd-sales {
        padding: 1.25em;
        background: linear-gradient(135deg, var(--c-blue), #2063a9);
        color: var(--c-white);
    }

    .page-home .hd-sales b {
        display: block;
        font-size: 2.1em;
    }

    .page-home .hd-sales svg {
        inline-size: 100%;
        block-size: 2.75em;
        margin-block-start: 0.5em;
    }

    .page-home .hd-recent {
        padding: 1.25em 1.5em 0.5em;
    }

    .page-home .hd-list {
        border: 1px solid #e8edf5;
        background: var(--c-white);
    }

    .page-home .hd-list span {
        display: flex;
        justify-content: space-between;
        padding: 0.9em 1em;
    }

    .page-home .hd-tabs {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        margin-block-start: auto;
        padding: 0.75em 0.5em 1.25em;
        border-block-start: 1px solid #e8edf5;
        background: var(--c-white);
        color: #8b97ad;
        font-size: 0.8em;
        text-align: center;
    }

    .page-home .hd-tabs span {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25em;
    }

    .page-home .hd-tabs .ds-icon {
        inline-size: 2em;
        block-size: 2em;
    }

    .page-home .hd-tabs .hd-on {
        color: var(--c-blue);
        font-weight: 700;
    }

    /* The notifications: sizes are in their own 1.2em text */
    .page-home .hd-note {
        position: absolute;
        display: flex;
        align-items: center;
        gap: 1em;
        padding: 1em 1.2em;
        border: 1px solid rgb(255 255 255 / 0.95);
        border-radius: 1.3em;
        background: rgb(255 255 255 / 0.92);
        box-shadow: 0 2em 3.6em -1.6em rgb(16 35 79 / 0.5);
        color: var(--c-ink-2);
        font-size: 1.2em;
    }

    .page-home .hd-note b {
        display: block;
        color: var(--c-ink);
        font-size: 1.08em;
    }

    .page-home .hd-note-order {
        inset-block-start: 27.5em;
        inset-inline-start: 0.5em;
        inline-size: 17.8em;
    }

    .page-home .hd-note-live {
        inset-block-start: 0.7em;
        inset-inline-end: 0.2em;
    }

    .page-home .hd-note-icon {
        display: grid;
        flex: none;
        place-items: center;
        inline-size: 3em;
        block-size: 3em;
        border-radius: 0.9em;
        background: linear-gradient(135deg, #f87b2b, #e15c31);
        color: var(--c-white);
    }

    .page-home .hd-note-icon .ds-icon {
        inline-size: 1.5em;
        block-size: 1.5em;
    }

    /* WhatsApp green is too light for white: dark ink on it */
    .page-home .hd-note-wa {
        background: var(--c-whatsapp);
        color: var(--c-ink);
    }

    /* The original WhatsApp logo fills the green tile (white bubble on green) */
    .page-home .hd-note-wa .ds-icon {
        inline-size: 100%;
        block-size: 100%;
    }

    /* ---------- Our software strip ---------- */
    .page-home .home-software {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--s-4) var(--s-6);
        margin-block-start: var(--s-5);
        padding: var(--s-4) var(--s-5);
    }

    .page-home .home-software-title {
        display: flex;
        flex: 1 1 100%;
        justify-content: space-between;
        align-items: baseline;
        line-height: 1.3;
    }

    .page-home .home-software-title span,
    .page-home .home-software-name span {
        color: var(--c-ink-2);
        font-size: 0.75rem;
    }

    .page-home .home-software-list {
        display: flex;
        flex: 1 1 auto;
        gap: var(--s-4) var(--s-6);
        min-inline-size: 0;
        margin: 0;
        padding: 0;
        overflow-x: auto;
        list-style: none;
    }

    .page-home .home-software-list a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--s-2);
        inline-size: 5rem;
        color: var(--c-ink);
        font-size: var(--fs-xs);
        text-align: center;
        text-decoration: none;
    }

    .page-home .home-software-pic {
        display: grid;
        flex: none;
        place-items: center;
        inline-size: 56px;
        block-size: 56px;
        padding: 3px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--c-blue), var(--c-sky));
        transition: transform 0.25s, box-shadow 0.25s;
    }

    .page-home .home-software-list a:hover .home-software-pic {
        box-shadow: 0 12px 24px -12px rgb(37 70 147 / 0.6);
        transform: translateY(-3px) scale(1.06);
    }

    .page-home .home-software-pic img {
        inline-size: 100%;
        block-size: 100%;
        border: 2px solid var(--c-white);
        border-radius: 50%;
        object-fit: cover;
    }

    .page-home .home-software-name {
        display: flex;
        flex-direction: column;
        line-height: 1.25;
    }

    .page-home .home-software-more a {
        color: var(--c-blue);
        font-weight: 700;
    }

    .page-home .home-software-more .home-software-pic {
        border: 1.5px dashed #9fb4d3;
        background: transparent;
        color: var(--c-blue);
        font-size: 1.25rem;
    }

    /* ---------- stats (when the owner turns them on) ---------- */
    .page-home .home-stats ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
        gap: var(--s-4);
        padding-block: var(--s-6);
        list-style: none;
    }

    .page-home .home-stats li {
        display: flex;
        flex-direction: column;
        gap: var(--s-1);
        padding: var(--s-4) var(--s-5);
        border: 1px solid var(--c-line);
        border-radius: var(--r-tile);
        background: var(--c-white);
        color: var(--c-ink-2);
        font-size: var(--fs-sm);
    }

    .page-home .home-stats strong {
        color: var(--c-blue);
        font-size: var(--fs-xl);
        font-weight: 800;
    }

    /* ---------- What we do: a swipe row on phones, a bento grid wide ---------- */
    .page-home .home-what {
        padding-block: clamp(var(--s-8), 8vw, 6.5rem);
        background:
            radial-gradient(ellipse 50% 40% at 10% 20%, rgb(32 160 224 / 0.14), transparent 70%),
            linear-gradient(180deg, #e8f1fa, #f0f6fc);
    }

    .page-home .home-what-head {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-end;
        gap: var(--s-4) var(--s-5);
        margin-block-end: var(--s-6);
    }

    .page-home .home-what-head h2 {
        max-inline-size: 40rem;
    }

    .page-home .home-what-head p {
        max-inline-size: 22.5rem;
        color: var(--c-ink-2);
    }

    /* Phones: the four tiles stacked, each the full width, so nothing is cut off */
    .page-home .wwd-track {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: var(--s-4);
    }


    .page-home .wwd-tile {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        min-inline-size: 0;
        padding: 22px;
        border: 1px solid var(--c-line);
        border-radius: 24px;
        background: var(--c-white);
        box-shadow: var(--shadow-tile);
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .page-home .wwd-tile:hover {
        box-shadow: 0 30px 50px -30px rgb(16 35 79 / 0.45);
        transform: translateY(-6px);
    }

    .page-home .wwd-text {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
    }

    .page-home .wwd-icon {
        display: grid;
        place-items: center;
        inline-size: 56px;
        block-size: 56px;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--c-tint), var(--c-tint-2));
        color: var(--c-blue);
        font-size: 1.5rem;
    }

    .page-home .wwd-tile h3 {
        font-size: 1.3125rem;
        font-weight: 800;
        letter-spacing: -0.015em;
    }

    .page-home .wwd-tile p {
        color: var(--c-ink-2);
        font-size: 0.9375rem;
    }

    .page-home .wwd-tags {
        display: flex;
        flex-wrap: wrap;
        gap: var(--s-2);
        padding: 0;
        list-style: none;
    }

    .page-home .wwd-tags li {
        padding: 0.375rem 0.75rem;
        border: 1px solid #dce7f7;
        border-radius: var(--r-pill);
        background: var(--c-tint);
        color: var(--c-blue);
        font-size: 0.78125rem;
        font-weight: 600;
    }

    .page-home .wwd-more {
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        gap: var(--s-2);
        margin-block-start: auto;
        color: var(--c-blue);
        font-weight: 700;
        text-decoration: none;
    }

    .page-home .wwd-go {
        display: grid;
        flex: none;
        place-items: center;
        inline-size: 26px;
        block-size: 26px;
        border: 1px solid #dce7f7;
        border-radius: 50%;
        background: var(--c-tint);
        transition: transform 0.25s;
    }

    .page-home .wwd-go .ds-icon {
        transform: scaleX(var(--dir));
    }

    .page-home :is(.wwd-more, .home-cta-go):hover .wwd-go {
        transform: translateX(calc(var(--dir) * 4px));
    }

    .page-home .wwd-feature {
        --c-focus: var(--c-focus-on-dark);
        overflow: hidden;
        border: 0;
        background: linear-gradient(150deg, #1c377a 0%, var(--c-blue) 50%, #1f6fb3 100%);
        color: var(--c-white);
    }

    .page-home .wwd-feature h3 {
        color: var(--c-white);
        font-size: 1.5rem;
    }

    .page-home .wwd-feature p {
        color: #dfe7f6;
    }

    .page-home .wwd-feature .wwd-icon {
        border: 1px solid rgb(255 255 255 / 0.25);
        background: rgb(255 255 255 / 0.14);
        color: var(--c-white);
    }

    .page-home .wwd-flag {
        align-self: flex-start;
        padding: 0.25rem 0.625rem;
        border: 1px solid rgb(255 178 122 / 0.45);
        border-radius: var(--r-pill);
        background: rgb(255 178 122 / 0.18);
        color: #ffd2b0;
        font-size: 0.78125rem;
        font-weight: 600;
    }

    .page-home .wwd-feature .wwd-tags li {
        border-color: rgb(255 255 255 / 0.22);
        background: rgb(255 255 255 / 0.12);
        color: #eaf2ff;
    }

    .page-home .wwd-more-pill,
    .page-home .wwd-more-pill:hover {
        padding-block: 0.5rem;
        padding-inline: 1.125rem 0.5rem;
        border-radius: var(--r-pill);
        background: var(--c-white);
        color: var(--c-blue);
        font-size: var(--fs-sm);
    }

    .page-home :is(.wwd-more-pill, .home-cta-go) .wwd-go {
        inline-size: 28px;
        block-size: 28px;
        border: 0;
        background: linear-gradient(135deg, #e5692a, #c94a22);
        color: var(--c-white);
    }

    /* the tiles' small pictures */
    .page-home .wwd-art {
        position: relative;
        font-size: 0.71875rem;
    }

    /* Phones and tablets: the till, then the "Low stock" card under it (never over the total) */
    .page-home .wwd-feature .wwd-art {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
    }

    .page-home .wwd-till {
        inline-size: 100%;
        overflow: hidden;
        border-radius: 16px;
        background: var(--c-white);
        box-shadow: 0 30px 50px -24px rgb(0 0 0 / 0.55);
        color: var(--c-ink);
    }

    .page-home .wwd-till-head,
    .page-home .wwd-till-foot,
    .page-home .wwd-till-rows span {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .page-home .wwd-till-head {
        padding: 0.625rem 0.875rem;
        border-block-end: 1px solid var(--c-line);
        background: #f3f7fc;
    }

    .page-home .wwd-till-head span {
        color: #1f9d55;
        font-weight: 700;
    }

    .page-home .wwd-till-rows {
        padding-inline: 0.875rem;
    }

    .page-home .wwd-till-rows span {
        padding-block: 0.4375rem;
        border-block-end: 1px dashed var(--c-line);
    }

    .page-home .wwd-art i {
        font-style: normal;
    }

    .page-home .wwd-till-rows i,
    .page-home .wwd-till-foot {
        color: #6b7891;
    }

    .page-home .wwd-till-foot {
        padding: 0.625rem 0.875rem 0.875rem;
    }

    .page-home .wwd-till-foot b {
        display: block;
        color: var(--c-ink);
        font-size: 1.25rem;
    }

    .page-home .wwd-till-foot i {
        padding: 0.5625rem 1.125rem;
        border-radius: 10px;
        background: linear-gradient(135deg, #e5692a, #c94a22);
        color: var(--c-white);
        font-weight: 700;
    }

    .page-home .wwd-stock {
        inline-size: 12rem;
        padding: 0.75rem 0.875rem;
        border: 1px solid rgb(255 255 255 / 0.3);
        border-radius: 14px;
        background: rgb(28 55 122 / 0.88);
        box-shadow: 0 20px 30px -20px rgb(0 0 0 / 0.6);
    }

    .page-home .wwd-stock b {
        display: block;
        margin-block: 0.125rem 0.5rem;
        font-size: 0.875rem;
    }

    .page-home .wwd-stock i {
        display: block;
        block-size: 5px;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--c-accent-on-dark) 22%, rgb(255 255 255 / 0.2) 22%);
    }

    /* Phones and tablets: every tile reads the same way, text and link first, then its picture */
    .page-home .wwd-art-sm {
        order: 1;
        block-size: 10.625rem;
        margin-block-start: var(--s-3);
    }

    .page-home .wwd-browser,
    .page-home .wwd-code {
        position: absolute;
        inset: 0;
        overflow: hidden;
        border-radius: 14px;
        box-shadow: 0 24px 40px -26px rgb(16 35 79 / 0.6);
    }

    .page-home .wwd-browser {
        border: 1px solid var(--c-line);
        background: var(--c-white);
    }

    .page-home .wwd-bar {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 10px;
        border-block-end: 1px solid var(--c-line);
        background: #f3f7fc;
    }

    .page-home .wwd-bar i {
        inline-size: 8px;
        block-size: 8px;
        border-radius: 50%;
        background: #ff6159;
    }

    .page-home .wwd-bar i:nth-child(2) {
        background: #ffbd2e;
    }

    .page-home .wwd-bar i:nth-child(3) {
        background: #28c941;
    }

    .page-home .wwd-bar span {
        flex: 1;
        margin-inline-start: 8px;
        padding: 3px 10px;
        border: 1px solid var(--c-line);
        border-radius: var(--r-pill);
        background: var(--c-white);
        color: #6b7891;
        font-size: 10px;
    }

    .page-home .wwd-shop {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .page-home .wwd-shop span {
        block-size: 70px;
        background:
            linear-gradient(135deg, #dce8fa, #c4d8f5) 0 0 / 100% 46px no-repeat,
            linear-gradient(90deg, #dbe4f0 70%, transparent 0) 0 53px / 100% 5px no-repeat,
            linear-gradient(90deg, rgb(37 70 147 / 0.5) 40%, transparent 0) 0 63px / 100% 5px no-repeat;
        border-radius: 8px;
    }

    .page-home .wwd-ping {
        position: absolute;
        inset-block-start: -14px;
        inset-inline-end: -6px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 12px;
        border: 1px solid var(--c-line);
        border-radius: var(--r-pill);
        background: var(--c-white);
        box-shadow: 0 14px 24px -14px rgb(16 35 79 / 0.6);
        font-weight: 700;
    }

    .page-home .wwd-ping::before {
        content: "";
        flex: none;
        inline-size: 8px;
        block-size: 8px;
        border-radius: 50%;
        background: #22c55e;
    }

    .page-home .wwd-code {
        inset-inline-end: 70px;
        padding: 32px 14px 12px;
        background: #0f1d3d;
    }

    .page-home .wwd-code::before {
        content: "";
        position: absolute;
        inset-block-start: 12px;
        inset-inline-start: 14px;
        inline-size: 36px;
        block-size: 8px;
        background: radial-gradient(circle 4px, #ff6159 98%, transparent) 0 0 / 14px 8px repeat-x;
    }

    .page-home .wwd-code i {
        display: block;
        inline-size: var(--w, 42%);
        block-size: 6px;
        margin-block-end: 7px;
        margin-inline-start: var(--x, 0);
        border-radius: 3px;
        background: var(--c, #5aa9ff);
    }

    .page-home .wwd-code i:nth-child(2) { --w: 64%; --x: 14px; --c: #8fb4e8; }
    .page-home .wwd-code i:nth-child(3) { --w: 50%; --x: 28px; --c: #ffb27a; }
    .page-home .wwd-code i:nth-child(4) { --w: 70%; --x: 28px; --c: #7dd3fc; }
    .page-home .wwd-code i:nth-child(5) { --w: 36%; --x: 14px; --c: #8fb4e8; }
    .page-home .wwd-code i:nth-child(6) { --w: 56%; }

    .page-home .wwd-mini {
        position: absolute;
        inset-block-start: 14px;
        inset-inline-end: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
        inline-size: 92px;
        block-size: 156px;
        padding: 12px 8px;
        border: 4px solid var(--c-ink);
        border-radius: 18px;
        background: linear-gradient(180deg, var(--c-tint), var(--c-white));
        box-shadow: 0 24px 34px -18px rgb(16 35 79 / 0.7);
    }

    .page-home .wwd-mini span {
        block-size: 34px;
        border-radius: 8px;
        background: linear-gradient(135deg, var(--c-blue), var(--c-sky));
    }

    .page-home .wwd-mini i {
        inline-size: 80%;
        block-size: 5px;
        border-radius: 3px;
        background: #c9d6ea;
    }

    .page-home .wwd-mini i + i {
        inline-size: 55%;
    }

    .page-home .wwd-mini b {
        block-size: 18px;
        margin-block-start: auto;
        border-radius: 6px;
        background: var(--c-blue);
    }

    .page-home .wwd-trio {
        display: flex;
        flex-direction: column;
        gap: var(--s-2);
    }

    .page-home .wwd-trio > span {
        display: grid;
        grid-template-columns: 38px 1fr;
        align-items: center;
        column-gap: var(--s-3);
        padding: 10px 12px;
        border: 1px solid var(--c-line);
        border-radius: 14px;
        background: var(--c-white);
        box-shadow: 0 18px 30px -24px rgb(16 35 79 / 0.5);
        color: #6b7891;
        line-height: 1.4;
    }

    .page-home .wwd-trio > span i {
        display: grid;
        grid-row: span 2;
        place-items: center;
        inline-size: 38px;
        block-size: 38px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--c-tint), var(--c-tint-2));
        color: var(--c-blue);
        font-size: 1.1875rem;
    }

    .page-home .wwd-trio b {
        color: var(--c-ink);
        font-size: 0.84375rem;
    }

    .page-home .wwd-ok {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        border: 1px solid var(--c-line);
        border-radius: 12px;
        background: rgb(255 255 255 / 0.7);
        font-size: 0.78125rem;
    }

    .page-home .wwd-ok .ds-icon {
        color: var(--c-blue);
    }

    /* ---------- How we work: the circle and its four steps ---------- */
    .page-home .home-how {
        padding-block: clamp(var(--s-8), 8vw, 6rem);
        background: linear-gradient(180deg, #f0f6fc, #e4eef9);
        text-align: center;
    }

    .page-home .home-how h2 {
        max-inline-size: 40rem;
        margin-inline: auto;
    }

    .page-home .how-wheel {
        position: relative;
        margin-block-start: var(--s-6);
    }

    .page-home .how-ring {
        --node: 16.5%;
        position: relative;
        counter-reset: how-node;
        inline-size: min(100%, 20.5rem);
        aspect-ratio: 1;
        margin-inline: auto;
    }

    .page-home .how-ring > svg {
        position: absolute;
        inset: 0;
        inline-size: 100%;
        block-size: 100%;
        overflow: visible;
        transform: scaleX(var(--dir));
    }

    /* The dot: a square layer exactly as wide as the ring line (r 230 of 660), turned around its centre, with the
       dot on its top edge; turned, it still fits the box (no sideways scroll). Starts on step 1 (-45deg); mirrored
       right to left. */
    .page-home .how-dot {
        --d: max(10px, 3.2%);
        position: absolute;
        inset: 15.15%;
        scale: var(--dir) 1;
        transform: rotate(-45deg);
        animation: how-orbit var(--how-cycle) linear infinite;
    }

    .page-home .how-dot::before {
        content: "";
        position: absolute;
        inset-block-start: calc(var(--d) / -2);
        inset-inline-start: calc(50% - var(--d) / 2);
        inline-size: var(--d);
        aspect-ratio: 1;
        border-radius: 50%;
        background: var(--c-sky);
        box-shadow: 0 0 0 5px rgb(32 160 224 / 0.25);
    }

    @keyframes how-orbit {
        from {
            transform: rotate(-45deg);
        }

        to {
            transform: rotate(315deg);
        }
    }

    .page-home .how-hub {
        position: absolute;
        inset: 32%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        border: 1px solid rgb(255 255 255 / 0.9);
        border-radius: 50%;
        background: radial-gradient(circle at 35% 25%, var(--c-white), rgb(255 255 255 / 0.88) 55%, rgb(234 242 251 / 0.92));
        box-shadow: inset 0 1px 0 var(--c-white), 0 24px 40px -24px rgb(16 35 79 / 0.55);
        font-size: 0.6875rem;
        line-height: 1.25;
    }

    .page-home .how-hub-icon {
        display: grid;
        place-items: center;
        inline-size: 2.6em;
        block-size: 2.6em;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--c-blue), var(--c-sky));
        box-shadow: 0 0 0 0.4em rgb(32 160 224 / 0.12);
        color: var(--c-white);
        font-size: 1.25em;
    }

    .page-home .how-hub b {
        max-inline-size: 7em;
    }

    .page-home .how-hub-text {
        display: none;
    }

    .page-home .how-node {
        position: absolute;
        display: grid;
        place-items: center;
        inline-size: var(--node);
        aspect-ratio: 1;
        border: 2.5px solid var(--c-blue);
        border-radius: 50%;
        background: var(--c-white);
        box-shadow: 0 0 0 8px rgb(37 70 147 / 0.08), 0 16px 30px -14px rgb(37 70 147 / 0.6);
        color: var(--c-blue);
        font-size: 1.0625rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        counter-increment: how-node;
    }

    /* A step's light is an orange layer over it that fades in and out (opacity only) */
    .page-home .how-node::after,
    .page-home .how-steps > li::after {
        content: "";
        position: absolute;
        inset: -2.5px;
        border: 2.5px solid #f7a46a;
        border-radius: inherit;
        box-shadow: 0 0 0 10px rgb(255 170 110 / 0.28), 0 0 38px 6px rgb(255 160 90 / 0.55);
        opacity: 0;
        pointer-events: none;
        animation: how-lit var(--how-cycle) linear infinite;
    }

    .page-home .how-node::after {
        content: "0" counter(how-node);
        display: grid;
        place-items: center;
        background: #ffe9d9;
        color: var(--c-accent-2);
    }

    /* Node centres sit on the ring (r 230 of 660) at 45 degrees: 25.36% and 74.64% */
    .page-home .how-node:nth-of-type(1),
    .page-home .how-node:nth-of-type(4) {
        inset-inline-start: calc(25.36% - var(--node) / 2);
    }

    .page-home .how-node:nth-of-type(2),
    .page-home .how-node:nth-of-type(3) {
        inset-inline-start: calc(74.64% - var(--node) / 2);
    }

    .page-home .how-node:nth-of-type(-n + 2) {
        inset-block-start: calc(25.36% - var(--node) / 2);
    }

    .page-home .how-node:nth-of-type(n + 3) {
        inset-block-start: calc(74.64% - var(--node) / 2);
    }

    .page-home .how-steps {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        margin-block-start: var(--s-5);
        padding: 0;
        list-style: none;
        text-align: start;
    }

    .page-home .how-steps > li {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: var(--s-1);
        padding: 1.125rem;
        border: 1px solid rgb(37 70 147 / 0.08);
        border-radius: var(--r-lg);
        background: var(--c-white);
        box-shadow: 0 24px 44px -30px rgb(16 35 79 / 0.5);
    }

    .page-home .how-steps > li::after {
        inset: -1px;
        border-width: 1px;
        border-color: #f7b88a;
        box-shadow: 0 0 0 4px rgb(255 178 122 / 0.22), 0 24px 44px -26px rgb(225 110 50 / 0.55);
    }

    /* Each step lights a quarter of the cycle after the one before */
    .page-home .how-node:nth-of-type(2)::after,
    .page-home .how-steps > li:nth-child(2)::after {
        animation-delay: calc(var(--how-cycle) / 4);
    }

    .page-home .how-node:nth-of-type(3)::after,
    .page-home .how-steps > li:nth-child(3)::after {
        animation-delay: calc(var(--how-cycle) / 2);
    }

    .page-home .how-node:nth-of-type(4)::after,
    .page-home .how-steps > li:nth-child(4)::after {
        animation-delay: calc(var(--how-cycle) * 3 / 4);
    }

    /* Lit from the dot's arrival (2%) to just before the next step (23%), back to rest by 26% */
    @keyframes how-lit {
        0%,
        26%,
        100% {
            opacity: 0;
        }

        2%,
        23% {
            opacity: 1;
        }
    }

    .page-home .how-label {
        color: var(--c-blue);
        font-size: var(--fs-xs);
        font-weight: 600;
    }

    .page-home .how-steps h3 {
        font-size: 1.0625rem;
    }

    .page-home .how-steps p {
        color: var(--c-ink-2);
        font-size: 0.90625rem;
    }

    /* ---------- call to action ---------- */
    .page-home .home-cta-band {
        padding-block-start: var(--s-6);
        background: linear-gradient(180deg, #e4eef9 58%, var(--c-band) 58%);
    }

    .page-home .home-cta {
        --accent-from: #ffd0ae;
        --accent-to: #ff9d5c;
        --accent-solid: var(--c-accent-on-dark);
        position: relative;
        display: grid;
        gap: var(--s-5);
        overflow: hidden;
        padding: clamp(2.125rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem);
        border-radius: 28px;
        background: linear-gradient(135deg, #1a3473 0%, var(--c-blue) 50%, #1f5aa0 100%);
        box-shadow: 0 50px 90px -40px rgb(8 20 48 / 0.9);
        color: var(--c-white);
    }

    .page-home .home-cta::before,
    .page-home .home-cta::after {
        content: "";
        position: absolute;
        inline-size: 32rem;
        block-size: 26rem;
        border-radius: 50%;
        background: radial-gradient(circle, rgb(32 160 224 / 0.45), transparent 70%);
        pointer-events: none;
    }

    .page-home .home-cta::before {
        inset-block-start: -10rem;
        inset-inline-start: -8rem;
    }

    .page-home .home-cta::after {
        inset-block-end: -11rem;
        inset-inline-end: -7rem;
        background: radial-gradient(circle, rgb(255 150 80 / 0.28), transparent 70%);
    }

    .page-home .home-cta > * {
        position: relative;
        z-index: 1;
    }

    .page-home .home-cta-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.125rem;
    }

    .page-home .home-cta h2 {
        color: var(--c-white);
        font-size: clamp(2.125rem, 1.4rem + 2.2vw, 3.125rem);
        line-height: 1.06;
        letter-spacing: -0.03em;
    }

    .page-home .home-cta-text > p:not(.home-pill) {
        max-inline-size: 32.5rem;
        color: #dbe7f7;
        font-size: 1.0625rem;
    }

    .page-home .home-pill-dark {
        border-color: rgb(255 255 255 / 0.25);
        background: rgb(255 255 255 / 0.12);
        box-shadow: none;
        color: #eaf2ff;
    }

    .page-home .home-cta-go {
        justify-content: space-between;
        padding-inline: var(--s-6) 6px;
    }

    .page-home .home-cta-go .wwd-go {
        inline-size: 42px;
        block-size: 42px;
    }

    .page-home .home-next {
        padding: var(--s-5);
        border: 1px solid rgb(255 255 255 / 0.28);
        border-radius: 24px;
        background: rgb(255 255 255 / 0.1);
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
        color: #eaf2ff;
        font-size: var(--fs-sm);
    }

    .page-home .home-next > p {
        display: flex;
        flex-direction: column;
        margin-block-end: var(--s-5);
    }

    .page-home .home-next strong {
        display: block;
        color: var(--c-white);
        font-size: 0.9375rem;
    }

    .page-home .home-next ul {
        display: flex;
        flex-direction: column;
        gap: 1.125rem;
        padding: 0;
        list-style: none;
    }

    .page-home .home-next li {
        display: flex;
        align-items: flex-start;
        gap: 0.875rem;
    }

    .page-home .home-next li > .ds-icon {
        inline-size: 34px;
        block-size: 34px;
        padding: 8px;
        border: 1px solid rgb(255 255 255 / 0.35);
        border-radius: 50%;
        background: rgb(255 255 255 / 0.16);
    }

    .page-home .home-next li:last-child > .ds-icon {
        border-color: transparent;
        background: linear-gradient(135deg, #e5692a, #c94a22);
        box-shadow: 0 0 0 6px rgb(255 178 122 / 0.18);
    }

    /* ---------- wide screens ---------- */
    @media (min-width: 40rem) {
        .page-home .home-hero-actions > .ds-btn {
            flex: 0 0 auto;
        }

        /* Tablets: two small tiles side by side, the feature and the wide tile across both */
        .page-home .wwd-track {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .page-home :is(.wwd-feature, .wwd-wide) {
            grid-column: 1 / -1;
        }
    }

    @media (min-width: 64rem) {
        .page-home .home-hero {
            padding-block: var(--s-8) var(--s-7);
        }

        .page-home .home-hero-grid {
            grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
            align-items: center;
            gap: var(--s-7);
        }

        .page-home .home-hero-text {
            gap: 1.625rem;
        }

        /* Each headline line fits its column: "Smarter business." is about 8.5em wide */
        .page-home .home-hero h1 {
            font-size: clamp(2.625rem, -0.75rem + 5.8vw, 3.75rem);
        }

        .page-home .hd-scene {
            block-size: 54em;
            font-size: calc(100cqi / 62.8);
        }

        .page-home .hd-stage {
            inset-block-start: 7em;
            inset-inline: 4em auto;
            inline-size: 60em;
            block-size: 43em;
        }

        .page-home .hd-laptop {
            position: absolute;
            inset-block-start: 2.6em;
            inset-inline-start: -1em;
            display: block;
            inline-size: 61em;
            transform: perspective(180em) rotateY(calc(var(--dir) * -9deg)) rotateX(3deg);
            transform-origin: 60% 50%;
        }

        .page-home .hd-phone {
            inset-block-start: 11.8em;
            inset-inline: auto -0.6em;
            inline-size: 17.6em;
        }

        .page-home .hd-note-order {
            inset-block-start: 30em;
            inset-inline-start: -3.3em;
            inline-size: 19.3em;
        }

        .page-home .hd-note-live {
            inset-block-start: -1.2em;
            inset-inline: 25em auto;
        }

        .page-home .home-software {
            flex-wrap: nowrap;
            gap: var(--s-6);
            margin-block-start: var(--s-6);
            padding: 1.25rem 1.75rem;
        }

        .page-home .home-software-title {
            flex: none;
            flex-direction: column;
            padding-inline-end: var(--s-6);
            border-inline-end: 1px solid #e3edf7;
        }

        .page-home .home-software-title span {
            font-size: var(--fs-xs);
        }

        .page-home .home-software-list {
            flex-wrap: wrap;
            gap: var(--s-4) 1.875rem;
            overflow: visible;
        }

        .page-home .home-software-list a {
            flex-direction: row;
            gap: var(--s-3);
            inline-size: auto;
            text-align: start;
        }

        .page-home .home-software-name strong {
            font-size: 0.9375rem;
        }

        .page-home .home-software-more {
            margin-inline-start: auto;
        }

        .page-home .home-what-head {
            margin-block-end: 3.25rem;
        }

        .page-home .wwd-track {
            display: grid;
            grid-template-columns: repeat(12, minmax(0, 1fr));
            gap: 22px;
            margin-inline: 0;
            padding: 0;
            overflow: visible;
        }

        .page-home .wwd-tile {
            grid-column: span 5;
            inline-size: auto;
            padding: 30px;
        }

        .page-home .wwd-art-sm {
            order: 0;
            margin-block-start: var(--s-1);
        }

        .page-home :is(.wwd-feature, .wwd-wide) {
            display: grid;
            grid-column: span 7;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            padding: 34px;
        }

        .page-home .wwd-feature h3 {
            font-size: 1.625rem;
        }

        .page-home .wwd-feature .wwd-art {
            display: block;
            min-block-size: 16.25rem;
        }

        .page-home .wwd-till {
            position: absolute;
            inset-block-start: 6px;
            inset-inline-end: 0;
            inline-size: min(100%, 18.75rem);
        }

        .page-home .wwd-stock {
            position: absolute;
            inset-block-end: 0;
            inset-inline-start: 0;
            inline-size: 10rem;
        }

        .page-home .wwd-wide {
            grid-template-columns: 0.85fr 1.15fr;
            gap: 26px;
            background: linear-gradient(160deg, var(--c-white), #f1f6fd);
        }

        .page-home .wwd-trio {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            align-content: center;
            gap: var(--s-3);
        }

        .page-home .wwd-trio > span {
            grid-template-columns: 1fr;
            row-gap: 10px;
            padding: var(--s-4);
            border-radius: 16px;
        }

        .page-home .wwd-trio > span i {
            grid-row: auto;
        }

        .page-home .wwd-ok {
            grid-column: 1 / -1;
        }

        .page-home .how-wheel {
            max-inline-size: 68.75rem;
            aspect-ratio: 1100 / 660;
            margin: var(--s-8) auto 0;
        }

        .page-home .how-ring {
            --node: 12.12%;
            position: absolute;
            inset-block: 0;
            inset-inline-start: 20%;
            inline-size: 60%;
        }

        .page-home .how-hub {
            inset: 27.3%;
            gap: 10px;
            font-size: 1rem;
        }

        .page-home .how-hub-icon {
            font-size: 2em;
        }

        .page-home .how-hub b {
            max-inline-size: none;
            font-size: 1.125rem;
        }

        .page-home .how-hub-text {
            display: block;
            max-inline-size: 12.5rem;
            color: var(--c-ink-2);
            font-size: 0.8125rem;
            line-height: 1.5;
        }

        .page-home .how-node {
            font-size: 1.5rem;
        }

        .page-home .how-steps {
            position: absolute;
            inset: 0;
            display: block;
            margin: 0;
            pointer-events: none;
        }

        .page-home .how-steps > li {
            position: absolute;
            inset-block-start: 17%;
            inline-size: 27.3%;
            gap: var(--s-2);
            padding: 22px 24px;
            pointer-events: auto;
        }

        .page-home .how-steps > li:nth-child(n + 3) {
            inset-block-start: 66.4%;
        }

        .page-home .how-steps > li:nth-child(3n + 1) {
            inset-inline-end: 70.6%;
            align-items: flex-end;
            text-align: end;
        }

        .page-home .how-steps > li:nth-child(-n + 3):not(:first-child) {
            inset-inline-start: 70.6%;
        }

        /* the short line from each step to its number */
        .page-home .how-steps > li::before {
            content: "";
            position: absolute;
            inset-block-start: 54px;
            inset-inline-end: -8%;
            inline-size: 8%;
            block-size: 2px;
            background: var(--c-blue);
            opacity: 0.4;
        }

        .page-home .how-steps > li:nth-child(-n + 3):not(:first-child)::before {
            inset-inline: -8% auto;
        }

        .page-home .how-steps h3 {
            font-size: 1.25rem;
        }

        .page-home .how-steps p {
            font-size: 0.9375rem;
        }

        .page-home .home-cta-band {
            padding-block-start: var(--s-6);
            background: linear-gradient(180deg, #e4eef9 55%, var(--c-band) 55%);
        }

        .page-home .home-cta {
            grid-template-columns: 1.15fr 0.85fr;
            align-items: center;
            gap: var(--s-7);
        }

        .page-home .home-next {
            padding: 1.75rem;
        }
    }

    /* Nothing moves for visitors who ask for less motion: the dot rests on step 1, every step is shown alike */
    @media (prefers-reduced-motion: reduce) {
        .page-home .how-dot,
        .page-home .how-node::after,
        .page-home .how-steps > li::after {
            animation: none;
        }

        .page-home .wwd-tile:hover,
        .page-home .home-software-list a:hover .home-software-pic {
            transform: none;
        }
    }
}

/* Privacy and terms (Pages/Privacy.razor, Pages/Terms.razor), scoped to .page-legal: the light hero, then "On this page"
   (Common/LegalContents.razor) beside the text, one readable column on a white tile. */
@layer pages {
    .page-legal .legal-updated {
        display: inline-flex;
        align-items: center;
        gap: var(--s-2);
        align-self: flex-start;
        margin: 0;
        padding-block: 0.45rem;
        padding-inline: var(--s-4);
        border: 1px solid var(--c-white);
        border-radius: var(--r-pill);
        background: rgb(255 255 255 / 0.75);
        color: var(--c-ink-2);
        font-size: var(--fs-sm);
        font-weight: 600;
    }

    .page-legal .legal-updated .ds-icon {
        color: var(--c-blue);
    }

    .page-legal .legal-section-wrap {
        background: linear-gradient(180deg, var(--c-tint) 0%, var(--c-tint-2) 100%);
    }

    .page-legal .legal-layout {
        display: grid;
        gap: var(--s-5);
        align-items: start;
    }

    /* On this page: a fold-out on phones, a sticky card from the desktop width */
    .page-legal .legal-toc {
        display: none;
    }

    .page-legal .legal-fold {
        border: 1px solid var(--c-line);
        border-radius: var(--r-tile);
        background: var(--c-white);
        box-shadow: var(--shadow-tile);
    }

    .page-legal .legal-fold summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--s-4);
        color: var(--c-ink);
        font-weight: 700;
        cursor: pointer;
    }

    .page-legal .legal-fold[open] summary .ds-icon {
        transform: rotate(180deg);
    }

    .page-legal .legal-fold ol,
    .page-legal .legal-toc ol {
        counter-reset: toc;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .page-legal .legal-fold ol {
        padding-block-end: var(--s-3);
        padding-inline: var(--s-2);
    }

    .page-legal .legal-fold li,
    .page-legal .legal-toc li {
        counter-increment: toc;
    }

    .page-legal .legal-fold a,
    .page-legal .legal-toc a {
        display: flex;
        gap: var(--s-3);
        padding-block: var(--s-2);
        padding-inline: var(--s-3);
        border-radius: 0.65rem;
        color: var(--c-ink-2);
        font-size: var(--fs-sm);
        font-weight: 500;
        text-decoration: none;
    }

    .page-legal .legal-fold a::before,
    .page-legal .legal-toc a::before {
        content: counter(toc);
        min-inline-size: 1.25rem;
        color: var(--c-ink-3);
    }

    .page-legal .legal-fold a:hover,
    .page-legal .legal-toc a:hover {
        background: var(--c-tint);
        color: var(--c-blue);
    }

    .page-legal .legal-content {
        display: flex;
        flex-direction: column;
        gap: var(--s-6);
        min-inline-size: 0;
        max-inline-size: 48rem;
        padding: var(--s-5);
    }

    .page-legal .legal-section {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
    }

    .page-legal .legal-section h2 {
        font-size: var(--fs-xl);
    }

    .page-legal .legal-section h3 {
        margin-block-start: var(--s-2);
        font-size: var(--fs-md);
    }

    .page-legal .legal-section p,
    .page-legal .legal-section li {
        color: var(--c-ink-2);
        line-height: 1.75;
        overflow-wrap: anywhere;
    }

    .page-legal .legal-section ul {
        display: flex;
        flex-direction: column;
        gap: var(--s-2);
        margin: 0;
        padding-inline-start: var(--s-5);
    }

    .page-legal .legal-section li::marker {
        color: var(--c-accent-1);
    }

    .page-legal .legal-section strong {
        color: var(--c-ink);
    }

    .page-legal .legal-section a {
        color: var(--c-blue);
    }

    .page-legal .legal-foot {
        margin-block-start: var(--s-5);
    }

    .page-legal .legal-foot .ds-icon {
        transform: scaleX(var(--dir));
    }

    @media (min-width: 48rem) {
        .page-legal .legal-content {
            padding-block: var(--s-7);
            padding-inline: var(--s-7);
        }
    }

    @media (min-width: 64rem) {
        .page-legal .legal-layout {
            grid-template-columns: 18.75rem minmax(0, 1fr);
            gap: var(--s-6);
        }

        .page-legal .legal-fold {
            display: none;
        }

        .page-legal .legal-toc {
            display: block;
            position: sticky;
            inset-block-start: calc(var(--shell-header) + var(--s-5));
            padding-block: var(--s-4);
            padding-inline: var(--s-3);
        }

        .page-legal .legal-toc strong {
            display: block;
            padding-block-end: var(--s-2);
            padding-inline: var(--s-3);
            font-size: var(--fs-sm);
        }
    }
}

/* Portfolio page (Pages/Portfolio.razor), scoped to .page-portfolio. */
@layer pages {
    .page-portfolio {
        background: var(--c-page);
    }

    .page-portfolio .portfolio-state-tile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--s-3);
        max-inline-size: 42rem;
        margin-inline: auto;
        padding: clamp(var(--s-6), 5vw, var(--s-8));
        text-align: center;
    }

    .page-portfolio .portfolio-icon {
        display: grid;
        flex: none;
        place-items: center;
        inline-size: 3rem;
        block-size: 3rem;
        border-radius: 14px;
        background: var(--c-tint-2);
        color: var(--c-blue);
        font-size: 1.375rem;
    }

    .page-portfolio .portfolio-state-tile .portfolio-icon {
        inline-size: 3.5rem;
        block-size: 3.5rem;
        border-radius: 18px;
        font-size: 1.625rem;
    }

    .page-portfolio .portfolio-state-tile h2 {
        font-size: var(--fs-2xl);
    }

    .page-portfolio .portfolio-state-tile p {
        color: var(--c-ink-2);
    }

    .page-portfolio .portfolio-state-tile .ds-cluster {
        justify-content: center;
        margin-block-start: var(--s-2);
    }

    .page-portfolio .portfolio-reasons {
        display: grid;
        gap: var(--s-4);
        padding: 0;
        list-style: none;
    }

    .page-portfolio .portfolio-reason {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        padding: var(--s-6);
    }

    .page-portfolio .portfolio-reason p {
        color: var(--c-ink-2);
        font-size: 0.9375rem;
    }

    @media (min-width: 40rem) {
        .page-portfolio .portfolio-reasons {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (min-width: 64rem) {
        .page-portfolio .portfolio-reasons {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }
}

/* Product page parts the service page doesn't have (the top band and body are shared, see detail.css), scoped to .page-product. */
@layer pages {
    .page-product .prd-no-picture {
        border: 10px solid var(--c-white);
        border-radius: var(--r-tile);
        background: var(--c-tint-2);
        box-shadow: var(--shadow-tile);
    }

    /* ---------- price ---------- */
    .page-product .prd-price {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: var(--s-2) var(--s-3);
    }

    .page-product .prd-price-now {
        color: var(--c-ink);
        font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1.1;
    }

    .page-product .prd-price-was {
        color: var(--c-ink-3);
        font-size: var(--fs-lg);
    }

    .page-product .prd-save {
        padding-block: 0.2rem;
        padding-inline: var(--s-3);
        border-radius: var(--r-pill);
        background: var(--c-blue);
        color: var(--c-white);
        font-size: var(--fs-sm);
        font-weight: 700;
    }

    /* ---------- specifications ---------- */
    .page-product .prd-details-tile {
        display: flex;
        flex-direction: column;
        gap: var(--s-4);
        padding: var(--s-5);
    }

    .page-product .prd-details-tile h2 {
        font-size: var(--fs-xl);
        letter-spacing: 0;
    }

    .page-product .specs {
        inline-size: 100%;
        max-inline-size: 48rem;
        border-collapse: separate;
        border-spacing: 0;
        border: 1px solid var(--c-line);
        border-radius: var(--r-md);
        overflow: hidden;
        font-size: 0.9375rem;
    }

    .page-product .specs th,
    .page-product .specs td {
        padding-block: var(--s-3);
        padding-inline: var(--s-4);
        text-align: start;
        vertical-align: top;
        overflow-wrap: anywhere;
    }

    .page-product .specs th {
        inline-size: 38%;
        background: var(--c-tint);
        color: var(--c-ink-2);
        font-weight: 600;
    }

    .page-product .specs td {
        color: var(--c-ink);
    }

    .page-product .specs tr + tr > * {
        border-block-start: 1px solid var(--c-line);
    }

    /* ---------- related products ---------- */
    .page-product .prd-related {
        padding-block: 0 var(--s-8);
    }

    .page-product .prd-related .ds-container {
        display: flex;
        flex-direction: column;
        gap: var(--s-5);
    }

    .page-product .prd-related-head {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: var(--s-3);
    }

    .page-product .prd-all {
        display: inline-flex;
        align-items: center;
        gap: var(--s-2);
        min-block-size: 44px;
        color: var(--c-blue);
        font-weight: 700;
        text-decoration: none;
    }

    .page-product .prd-all:hover {
        text-decoration: underline;
    }

    .page-product .prd-all .ds-icon {
        transform: scaleX(var(--dir));
    }
}

/* Not-found, error and other status pages (Common/StatusPanel.razor), scoped to .page-status. */
@layer pages {
    .page-status {
        position: relative;
        display: grid;
        place-items: center;
        overflow: clip;
        min-block-size: 70dvh;
        padding-block: var(--s-8);
        background:
            radial-gradient(ellipse 50% 60% at 50% 0%, rgb(32 160 224 / 0.2), transparent 70%),
            linear-gradient(180deg, #f3f8fd 0%, var(--c-tint-2) 100%);
    }

    .page-status .status-smoke {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .page-status .status-smoke .ds-smoke {
        inset-block-start: 2rem;
        inset-inline-end: -4rem;
        inline-size: 22rem;
        block-size: 18rem;
    }

    .page-status .status-smoke .status-smoke-2 {
        --smoke: rgb(37 70 147 / 0.2);
        inset-block: auto -7rem;
        inset-inline: -6% auto;
    }

    .page-status .status-panel {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--s-4);
        max-inline-size: 40rem;
        text-align: center;
    }

    /* The big code: blue to sky (a solid blue where text cannot be painted with a gradient) */
    .page-status .status-code {
        margin: 0;
        color: var(--c-blue);
        font-size: clamp(5rem, 3rem + 10vw, 11rem);
        font-weight: 900;
        line-height: 1;
        letter-spacing: -0.06em;
    }

    @supports (background-clip: text) or (-webkit-background-clip: text) {
        .page-status .status-code span {
            background: linear-gradient(180deg, var(--c-blue) 0%, var(--c-sky) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
    }

    .page-status .status-icon {
        color: var(--c-blue);
        font-size: 3rem;
    }

    .page-status h1 {
        font-size: var(--fs-2xl);
    }

    .page-status .status-message {
        max-inline-size: 30rem;
        color: var(--c-ink-2);
        font-size: var(--fs-lg);
    }

    .page-status .status-actions {
        justify-content: center;
        margin-block-start: var(--s-2);
    }

    .page-status .status-reference {
        color: var(--c-ink-3);
        font-size: var(--fs-sm);
    }

    .page-status .status-reference code {
        padding-inline: var(--s-1);
        border-radius: 4px;
        background: var(--c-line);
        overflow-wrap: anywhere;
    }

    /* Four quick links: two by two on tablets and up, one column on phones */
    .page-status .status-links {
        inline-size: 100%;
        max-inline-size: 38rem;
    }

    .page-status .status-links ul {
        display: grid;
        gap: var(--s-3);
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .page-status .status-links a {
        display: flex;
        align-items: center;
        gap: var(--s-3);
        padding-block: var(--s-3);
        padding-inline: var(--s-4);
        color: var(--c-ink);
        text-align: start;
        text-decoration: none;
    }

    .page-status .status-links a span:last-child {
        display: flex;
        flex-direction: column;
        color: var(--c-ink-3);
        font-size: var(--fs-sm);
    }

    .page-status .status-links strong {
        color: var(--c-ink);
        font-size: var(--fs-md);
    }

    .page-status .status-link-icon {
        display: grid;
        place-items: center;
        flex: none;
        inline-size: 2.6rem;
        block-size: 2.6rem;
        border-radius: 0.75rem;
        background: linear-gradient(135deg, var(--c-tint), var(--c-tint-2));
        color: var(--c-blue);
    }

    .page-status .status-links a:hover strong {
        color: var(--c-blue);
    }

    @media (min-width: 40rem) {
        .page-status .status-links ul {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }
}

/* Utilities: last layer, single-purpose. */
@layer utilities {
    .ds-visually-hidden {
        position: absolute;
        inline-size: 1px;
        block-size: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .ds-text-center {
        text-align: center;
    }

    /* ---------- Calm motion (2026-11-28) ----------
       The top of every page eases in at once, one line after another; the headline (the largest paint) only rises, it
       never fades. Below the first screen, site.js marks sections, cards and pictures (.ds-reveal, .ds-reveal-img) only
       while they are out of sight, and adds .is-in as each is scrolled to: blocks rise and fade in, pictures settle from
       a soft blur. Cards in a row wait a little longer each (--reveal-delay). Once arrived, site.js takes the classes
       away again, so the components' own hover effects are back. The individual translate and scale properties are
       used, so a component's own transform is never replaced. Nothing here runs for visitors who ask for less motion,
       and without JavaScript nothing is ever hidden. */
    @media (prefers-reduced-motion: no-preference) {
        :where(.home-hero-text, .ds-lhero-text, .ds-page-hero .ds-stack) > *,
        :where(.page-home .hero-devices, .ds-lhero-aside) {
            animation: ds-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
            animation-delay: calc(var(--enter-step, 0) * 90ms);
        }

        :where(.home-hero-text, .ds-lhero-text, .ds-page-hero .ds-stack) > h1 {
            animation-name: ds-enter-rise;
        }

        :where(.home-hero-text, .ds-lhero-text, .ds-page-hero .ds-stack) > :nth-child(2) { --enter-step: 1; }
        :where(.home-hero-text, .ds-lhero-text, .ds-page-hero .ds-stack) > :nth-child(3) { --enter-step: 2; }
        :where(.home-hero-text, .ds-lhero-text, .ds-page-hero .ds-stack) > :nth-child(4) { --enter-step: 3; }
        :where(.home-hero-text, .ds-lhero-text, .ds-page-hero .ds-stack) > :nth-child(n + 5) { --enter-step: 4; }
        :where(.page-home .hero-devices, .ds-lhero-aside) { --enter-step: 2; }

        /* Hidden at once when marked (out of sight); only the arrival is animated */
        .ds-reveal.is-in {
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), translate 0.9s cubic-bezier(0.16, 1, 0.3, 1);
            transition-delay: var(--reveal-delay, 0ms);
        }

        .ds-reveal:not(.is-in) {
            opacity: 0;
            translate: 0 28px;
        }

        .ds-reveal-img.is-in {
            transition: opacity 0.9s ease-out, scale 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1s ease-out;
            transition-delay: var(--reveal-delay, 0ms);
        }

        .ds-reveal-img:not(.is-in) {
            opacity: 0;
            scale: 1.06;
            filter: blur(10px);
        }
    }

    @keyframes ds-enter {
        from {
            opacity: 0;
            translate: 0 18px;
        }
    }

    @keyframes ds-enter-rise {
        from {
            translate: 0 22px;
        }
    }

    @media print {
        .ds-reveal,
        .ds-reveal-img {
            opacity: 1;
            translate: none;
            scale: none;
            filter: none;
        }
    }
}
