/* ==========================================================================
   The dress of a landing: its sections in the look of the course guide
   (css/blocks/course-guide-1.css).

   Every landing and every course page of the fleet (front/landing,
   front/course-page) prints this sheet after the sheets of the landing and
   says lp--dress on its wrapper, the class that scopes every rule below. It
   dresses what the page already prints: the band of figures, the canvas of
   the courses, the heads, the cards and the pictures of the sections above
   the guide (trust, how it works, certificate, teams, study, languages) and,
   after it, the block of searches, the questions, the four steps, the
   reasons, the definition and the link hubs. It changes no word, no link, no
   mark and no course card, it repaints no pill but the two seals of the
   certificate (redrawn on the owner's word), and it changes no
   order: every rule is paint and placing, and a page without the class
   reads none of them. The national marks stay where they are, and an
   article (mhDefSection--know) keeps the dress of css/views/knowledge-page.css.

   A card takes the tone of the spot it wears (--ld-tone), as the cards of
   the guide do. A number is written by a counter, never typed into the page,
   and is given an empty reading so a screen reader says the words alone.
   Nothing here moves by itself: a card lifts under the pointer and its
   drawing tilts, and stands still for a reader who asked for less motion,
   as the pills of the pictures then do.
   ========================================================================== */

.lp.lp--dress {
    --ld-gap: calc(22px * var(--lp-scale));
    --ld-tone: var(--lp-blue);
    --ld-mat: calc(10px * var(--lp-scale));
    --ld-rim: calc(9px * var(--lp-scale));
    --ld-case: #1e3a8a;
}

/* The tone of a card is the tone of its spot (css/blocks/spot-1.css). */
.lp.lp--dress :is(.trustPoint, .hiwStep, .certPerk, .teamsPerk, .studyCardItem, .bfFact, .bfLinks, .faqAccordionItem, .certStepsCard, .whyChooseAccordionItem, .mhDefCard, .sclGroup):has(.spot--sky) { --ld-tone: #0284c7; }
.lp.lp--dress :is(.trustPoint, .hiwStep, .certPerk, .teamsPerk, .studyCardItem, .bfFact, .bfLinks, .faqAccordionItem, .certStepsCard, .whyChooseAccordionItem, .mhDefCard, .sclGroup):has(.spot--violet) { --ld-tone: #7c3aed; }
.lp.lp--dress :is(.trustPoint, .hiwStep, .certPerk, .teamsPerk, .studyCardItem, .bfFact, .bfLinks, .faqAccordionItem, .certStepsCard, .whyChooseAccordionItem, .mhDefCard, .sclGroup):has(.spot--rose) { --ld-tone: #e11d48; }
.lp.lp--dress :is(.trustPoint, .hiwStep, .certPerk, .teamsPerk, .studyCardItem, .bfFact, .bfLinks, .faqAccordionItem, .certStepsCard, .whyChooseAccordionItem, .mhDefCard, .sclGroup):has(.spot--teal) { --ld-tone: #0d9488; }
.lp.lp--dress :is(.trustPoint, .hiwStep, .certPerk, .teamsPerk, .studyCardItem, .bfFact, .bfLinks, .faqAccordionItem, .certStepsCard, .whyChooseAccordionItem, .mhDefCard, .sclGroup):has(.spot--orange) { --ld-tone: #ea580c; }
.lp.lp--dress :is(.trustPoint, .hiwStep, .certPerk, .teamsPerk, .studyCardItem, .bfFact, .bfLinks, .faqAccordionItem, .certStepsCard, .whyChooseAccordionItem, .mhDefCard, .sclGroup):has(.spot--indigo) { --ld-tone: #4f46e5; }
.lp.lp--dress :is(.trustPoint, .hiwStep, .certPerk, .teamsPerk, .studyCardItem, .bfFact, .bfLinks, .faqAccordionItem, .certStepsCard, .whyChooseAccordionItem, .mhDefCard, .sclGroup):has(.spot--emerald) { --ld-tone: #059669; }
.lp.lp--dress :is(.trustPoint, .hiwStep, .certPerk, .teamsPerk, .studyCardItem, .bfFact, .bfLinks, .faqAccordionItem, .certStepsCard, .whyChooseAccordionItem, .mhDefCard, .sclGroup):has(.spot--amber) { --ld-tone: #d97706; }
.lp.lp--dress :is(.trustPoint, .hiwStep, .certPerk, .teamsPerk, .studyCardItem, .bfFact, .bfLinks, .faqAccordionItem, .certStepsCard, .whyChooseAccordionItem, .mhDefCard, .sclGroup):has(.spot--navy) { --ld-tone: #1e3a8a; }
.lp.lp--dress :is(.trustPoint, .hiwStep, .certPerk, .teamsPerk, .studyCardItem, .bfFact, .bfLinks, .faqAccordionItem, .certStepsCard, .whyChooseAccordionItem, .mhDefCard, .sclGroup):has(.spot--cyan) { --ld-tone: #0891b2; }

/* Dotted paper at the head of a section, fading into the canvas. The mark of the country keeps ::before. */
.lp.lp--dress :is(.productsShowcaseSection, .trustPremiumSection, .howItWorksPremiumSection, .certPremiumSection, .teamsTrainingSection, .studyAnywhereSection, .langsWorldSection, .bfSection, .faqPremiumSection, .certStepsSection, .whyChoosePremiumSection)::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(rgba(30, 58, 138, 0.14) 1px, rgba(30, 58, 138, 0) 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(62% 440px at 50% 0%, #000 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(62% 440px at 50% 0%, #000 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

/* A breath of its tone in the corner of a card, over the glass. */
.lp.lp--dress :is(.bfFact, .certStepsCard, .mhDefCard) {
    background:
        radial-gradient(calc(250px * var(--lp-scale)) calc(190px * var(--lp-scale)) at 100% 0%, color-mix(in srgb, var(--ld-tone) 16%, transparent) 0%, transparent 72%),
        var(--lp-glass);
}

/* The small cards above the guide (trust, how it works, certificate, study) take the same breath, a little
   quieter: they stand beside a picture. Their lift under the pointer is the landing's own. */
.lp.lp--dress :is(.trustPoint, .certPerk, .studyCardItem, .hiwStepCard) {
    background:
        radial-gradient(calc(210px * var(--lp-scale)) calc(130px * var(--lp-scale)) at 100% 0%, color-mix(in srgb, var(--ld-tone) 12%, transparent) 0%, transparent 72%),
        var(--lp-glass);
}

.lp.lp--dress :is(.trustPoint, .certPerk, .studyCardItem, .hiwStep) .spot {
    transition: transform 0.28s var(--lp-ease);
}

.lp.lp--dress :is(.trustPoint, .certPerk, .studyCardItem, .hiwStep):hover .spot {
    transform: rotate(-5deg) scale(1.04);
}

/* A card lifts under the pointer and its drawing tilts. */
.lp.lp--dress :is(.bfFact, .certStepsCard, .mhDefCard) {
    transition: transform 0.28s var(--lp-ease), box-shadow 0.28s var(--lp-ease);
}

.lp.lp--dress :is(.bfFact, .certStepsCard, .mhDefCard):hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-hover), 0 0 0 1px var(--lp-line-strong);
}

.lp.lp--dress :is(.bfFact, .certStepsCard, .mhDefCard, .faqAccordionItem, .whyChooseAccordionItem) .spot {
    transition: transform 0.28s var(--lp-ease);
}

.lp.lp--dress :is(.bfFact, .certStepsCard, .mhDefCard):hover .spot,
.lp.lp--dress :is(.faqAccordionItem, .whyChooseAccordionItem):is(:hover, .is-open) .spot {
    transform: rotate(-5deg) scale(1.04);
}

/* A line of light along the top edge of a card that holds the words of a section. */
.lp.lp--dress .bfBody,
.lp.lp--dress .mhDefSection:not(.mhDefSection--know) .mhDefTop .mhDefTextBlock {
    position: relative;
    overflow: hidden;
}

.lp.lp--dress .bfBody::before,
.lp.lp--dress .mhDefSection:not(.mhDefSection--know) .mhDefTop .mhDefTextBlock::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lp-blue) 0%, var(--lp-violet) 52%, #0ea5e9 100%);
}

/* --------------------------------------------------------------------------
   The block of searches: three facts, the words, the searches
   -------------------------------------------------------------------------- */
.lp.lp--dress .bfSection {
    background:
        radial-gradient(44% 40% at 0% 0%, rgba(167, 243, 208, 0.5) 0%, rgba(167, 243, 208, 0) 72%),
        radial-gradient(46% 44% at 100% 100%, rgba(191, 219, 254, 0.6) 0%, rgba(191, 219, 254, 0) 72%),
        linear-gradient(180deg, #f4fbf8 0%, #eef5fc 100%);
}

.lp.lp--dress .bfSection .bfLinksList a {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 18px -16px rgba(30, 58, 138, 0.55);
}

@media (min-width: 960px) {
    /* the block takes the measure of the page */
    .lp.lp--dress .bfSection :is(.bfFacts, .bfBody, .bfLinks) {
        max-width: none;
    }
}

@media (min-width: 1200px) {
    /* Where the words are followed by the searches (the block of a homepage): the facts on the full measure, then
       the words beside the searches. A block that carries buttons or questions between the two keeps one column. */
    .lp.lp--dress .bfSection .faqPremiumInner:has(> .bfBody + .bfLinks) {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: var(--ld-gap);
    }

    .lp.lp--dress .bfSection .faqPremiumInner:has(> .bfBody + .bfLinks) > * {
        grid-column: 1 / -1;
    }

    .lp.lp--dress .bfSection .faqPremiumInner:has(> .bfBody + .bfLinks) > .bfFacts {
        margin: 0 0 var(--ld-gap);
    }

    .lp.lp--dress .bfSection .faqPremiumInner:has(> .bfBody + .bfLinks) > .bfBody {
        grid-column: 1 / span 6;
        align-content: center;
        margin: 0;
        padding: calc(34px * var(--lp-scale)) calc(36px * var(--lp-scale));
    }

    /* the mark of the searches stands in the row of their title */
    .lp.lp--dress .bfSection .faqPremiumInner:has(> .bfBody + .bfLinks) > .bfLinks {
        display: grid;
        grid-column: 7 / -1;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: calc(16px * var(--lp-scale));
        align-content: start;
        margin: 0;
        padding: calc(30px * var(--lp-scale));
    }

    .lp.lp--dress .bfSection .bfBody + .bfLinks .crawlMark {
        position: static;
    }

    .lp.lp--dress .bfSection .bfBody + .bfLinks .bfLinksTitle {
        align-self: center;
    }

    .lp.lp--dress .bfSection .bfBody + .bfLinks .bfLinksList {
        grid-column: 1 / -1;
    }
}
/* --------------------------------------------------------------------------
   The questions: one sheet of glass, a line between two questions, the open
   one raised in the tone of its drawing
   -------------------------------------------------------------------------- */
.lp.lp--dress .faqPremiumSection:not(.bfSection) {
    background:
        radial-gradient(44% 520px at 100% 0%, rgba(199, 210, 254, 0.62) 0%, rgba(199, 210, 254, 0) 72%),
        radial-gradient(46% 520px at 0% 100%, rgba(186, 230, 253, 0.55) 0%, rgba(186, 230, 253, 0) 72%),
        linear-gradient(180deg, #f6f8ff 0%, #eef2ff 100%);
}

.lp.lp--dress .faqAccordionContainer {
    gap: 0;
    padding: calc(8px * var(--lp-scale));
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: var(--lp-radius);
    background: var(--lp-glass);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: var(--lp-shadow), 0 0 0 1px var(--lp-line);
    counter-reset: ld-faq;
}

.lp.lp--dress .faqAccordionContainer .faqAccordionItem {
    position: relative;
    border: 0;
    border-radius: calc(var(--lp-radius) - 8px * var(--lp-scale));
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    counter-increment: ld-faq;
    transition: background-color 0.25s var(--lp-ease), box-shadow 0.25s var(--lp-ease);
}

/* the line between two questions */
.lp.lp--dress .faqAccordionContainer .faqAccordionItem + .faqAccordionItem::before {
    content: '';
    position: absolute;
    left: calc(22px * var(--lp-scale));
    right: calc(22px * var(--lp-scale));
    top: 0;
    height: 1px;
    background: var(--lp-line);
    transition: opacity 0.25s var(--lp-ease);
}

.lp.lp--dress .faqAccordionContainer .faqAccordionItem:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.7);
}

.lp.lp--dress .faqAccordionContainer .faqAccordionItem.is-open {
    margin: calc(6px * var(--lp-scale)) 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--ld-tone) 9%, #ffffff) 0%, #ffffff 62%);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--ld-tone) 30%, transparent),
        0 22px 44px -30px color-mix(in srgb, var(--ld-tone) 70%, transparent);
}

.lp.lp--dress .faqAccordionContainer .faqAccordionItem.is-open::before,
.lp.lp--dress .faqAccordionContainer .faqAccordionItem.is-open + .faqAccordionItem::before {
    opacity: 0;
}

/* --------------------------------------------------------------------------
   The reasons: a card each, numbered, the open one ringed in its tone
   -------------------------------------------------------------------------- */
.lp.lp--dress .whyChoosePremiumSection {
    background:
        radial-gradient(44% 480px at 0% 0%, rgba(199, 210, 254, 0.6) 0%, rgba(199, 210, 254, 0) 72%),
        radial-gradient(46% 480px at 100% 100%, rgba(221, 214, 254, 0.5) 0%, rgba(221, 214, 254, 0) 72%),
        linear-gradient(180deg, #f7f9ff 0%, #f1f3ff 100%);
}

.lp.lp--dress .whyChooseAccordionList {
    counter-reset: ld-why;
}

.lp.lp--dress .whyChooseAccordionItem {
    background:
        radial-gradient(calc(300px * var(--lp-scale)) calc(130px * var(--lp-scale)) at 0% calc(41px * var(--lp-scale)), color-mix(in srgb, var(--ld-tone) 13%, transparent) 0%, transparent 72%),
        var(--lp-glass);
    counter-increment: ld-why;
}

.lp.lp--dress .whyChooseAccordionItem.is-open {
    box-shadow:
        var(--lp-shadow-hover),
        0 0 0 1.5px color-mix(in srgb, var(--ld-tone) 42%, transparent);
}

/* The number of a question and of a reason, beside its toggle. */
.lp.lp--dress :is(.faqAccordionToggle, .whyChooseToggle)::before {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    font-family: var(--lp-font-display);
    font-size: calc(15px * var(--lp-scale));
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ld-tone);
    opacity: 0.42;
    transform: translateY(-50%);
    pointer-events: none;
}

.lp.lp--dress .faqAccordionToggle::before {
    content: counter(ld-faq, decimal-leading-zero);
    content: counter(ld-faq, decimal-leading-zero) / '';
}

.lp.lp--dress .whyChooseToggle::before {
    content: counter(ld-why, decimal-leading-zero);
    content: counter(ld-why, decimal-leading-zero) / '';
}

/* the words of a question keep clear of its number */
.lp.lp--dress :is(.faqQuestionText, .whyChooseQuestion) {
    padding-right: calc(36px * var(--lp-scale));
}

/* --------------------------------------------------------------------------
   The four steps: two rows of two, the drawing beside the name of the step,
   an arrow from one step to the next
   -------------------------------------------------------------------------- */
.lp.lp--dress .certStepsSection {
    background:
        radial-gradient(44% 46% at 100% 0%, rgba(167, 243, 208, 0.55) 0%, rgba(167, 243, 208, 0) 72%),
        radial-gradient(46% 50% at 0% 100%, rgba(186, 230, 253, 0.5) 0%, rgba(186, 230, 253, 0) 72%),
        linear-gradient(180deg, #f2fcf7 0%, #edf8f6 100%);
}

.lp.lp--dress .certStepsTag {
    white-space: nowrap;
}

/* on a phone and a tablet the step cards keep the inset of the page, as the cards of every other section do */
@media (max-width: 859px) {
    .lp.lp--dress .certStepsGrid {
        width: auto;
        margin-left: var(--lp-pad-x);
        margin-right: var(--lp-pad-x);
    }
}

@media (min-width: 860px) {
    .lp.lp--dress .certStepsGrid {
        position: relative;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 1fr;
    }

    .lp.lp--dress .certStepsCard {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-rows: auto 1fr;
        column-gap: calc(18px * var(--lp-scale));
        align-items: center;
        padding: calc(30px * var(--lp-scale));
    }

    /* the drawing, the name and the label of a step share its first row */
    .lp.lp--dress .certStepsCardTop {
        display: contents;
    }

    .lp.lp--dress .certStepsNum {
        grid-column: 1;
        grid-row: 1;
    }

    .lp.lp--dress .certStepsCardTitle {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        text-wrap: balance;
    }

    .lp.lp--dress .certStepsTag {
        grid-column: 3;
        grid-row: 1;
    }

    .lp.lp--dress .certStepsCardText {
        grid-column: 1 / -1;
        grid-row: 2;
        align-self: start;
        margin: calc(18px * var(--lp-scale)) 0 0;
        font-size: calc(16px * var(--lp-scale));
    }

    /* the arrow from the first step of a row to the second, where the steps are four: two rows of two */
    .lp.lp--dress .certStepsGrid:has(> .certStepsCard:nth-child(4):last-child)::before,
    .lp.lp--dress .certStepsGrid:has(> .certStepsCard:nth-child(4):last-child)::after {
        content: '';
        position: absolute;
        z-index: 2;
        left: 50%;
        top: calc((100% - var(--ld-gap)) / 4);
        width: 34px;
        height: 34px;
        margin: -17px 0 0 -17px;
        border-radius: 50%;
        background: #ffffff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'><path d='m9 6 6 6-6 6'/></svg>") center / 16px 16px no-repeat;
        box-shadow: 0 0 0 1px rgba(5, 150, 105, 0.22), 0 12px 22px -12px rgba(4, 120, 87, 0.6);
        pointer-events: none;
    }

    .lp.lp--dress .certStepsGrid:has(> .certStepsCard:nth-child(4):last-child)::after {
        top: calc((100% - var(--ld-gap)) * 3 / 4 + var(--ld-gap));
    }
}

/* --------------------------------------------------------------------------
   The definition: the words under a line of light, the last paragraph beside
   a rule of the country's green
   -------------------------------------------------------------------------- */
.lp.lp--dress .mhDefSection:not(.mhDefSection--know)::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(rgba(4, 120, 87, 0.16) 1px, rgba(4, 120, 87, 0) 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(46% 420px at 18% 0%, #000 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(46% 420px at 18% 0%, #000 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.lp.lp--dress .mhDefSection:not(.mhDefSection--know) .mhDefTextBlock--bottom {
    box-shadow: var(--lp-shadow), 0 0 0 1px var(--lp-line), inset 4px 0 0 var(--lp-green);
}

@media (min-width: 1100px) {
    /* the three facts as rows: the drawing and the name on the left, the words on the right, no card half empty */
    .lp.lp--dress .mhDefSection:not(.mhDefSection--know) .mhDefGrid {
        grid-template-columns: minmax(0, 1fr);
        gap: calc(16px * var(--lp-scale));
        max-width: none;
    }

    .lp.lp--dress .mhDefSection:not(.mhDefSection--know) .mhDefCard {
        display: grid;
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
        column-gap: calc(36px * var(--lp-scale));
        align-items: center;
        padding: calc(24px * var(--lp-scale)) calc(30px * var(--lp-scale));
    }

    .lp.lp--dress .mhDefSection:not(.mhDefSection--know) .mhDefCardHead {
        margin: 0;
    }

    .lp.lp--dress .mhDefSection:not(.mhDefSection--know) .mhDefCardText {
        padding-left: calc(36px * var(--lp-scale));
        border-left: 1px solid var(--lp-line);
        font-size: calc(16px * var(--lp-scale));
    }
}

/* --------------------------------------------------------------------------
   The link hubs: the name of a hub on the left, its links on the right
   -------------------------------------------------------------------------- */
.lp.lp--dress .sclSection {
    background:
        radial-gradient(44% 520px at 100% 0%, rgba(191, 219, 254, 0.7) 0%, rgba(191, 219, 254, 0) 72%),
        radial-gradient(46% 520px at 0% 100%, rgba(167, 243, 208, 0.5) 0%, rgba(167, 243, 208, 0) 72%),
        linear-gradient(180deg, #f5f8ff 0%, #eef4fb 100%);
}

.lp.lp--dress .sclGroup {
    background:
        radial-gradient(calc(300px * var(--lp-scale)) calc(210px * var(--lp-scale)) at 0% 0%, color-mix(in srgb, var(--ld-tone) 13%, transparent) 0%, transparent 72%),
        var(--lp-glass);
}

.lp.lp--dress .sclLinks a {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 18px -16px rgba(30, 58, 138, 0.55);
}

@media (min-width: 1024px) {
    /* the mark, the title and the line of a hub in one column, its links in the other, a hairline between */
    .lp.lp--dress .sclGroup {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
        grid-template-rows: auto auto 1fr;
        column-gap: calc(36px * var(--lp-scale));
        padding: calc(32px * var(--lp-scale)) calc(34px * var(--lp-scale));
    }

    .lp.lp--dress .sclGroup .crawlMark {
        position: static;
        grid-column: 1;
        grid-row: 1;
        margin: 0 0 calc(18px * var(--lp-scale));
    }

    .lp.lp--dress .sclGroup .sclTitle {
        grid-column: 1;
        grid-row: 2;
        text-wrap: balance;
    }

    .lp.lp--dress .sclGroup .sclIntro {
        grid-column: 1;
        grid-row: 3;
        max-width: none;
    }

    .lp.lp--dress .sclGroup .sclLinks {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-content: flex-start;
        align-self: stretch;
        margin: 0;
        padding: 0 0 0 calc(36px * var(--lp-scale));
        border-top: 0;
        border-left: 1px solid var(--lp-line);
    }
}

/* --------------------------------------------------------------------------
   The band of figures and the canvas of the courses
   -------------------------------------------------------------------------- */
/* Ringed paper in the near corner of the deep plate, the paper of the band that closes the page, facing the
   mark of the country in the far corner; a hairline between two figures fades at both ends, as the hairlines
   of the strip under the bar do. */
.lp.lp--dress #statsCounter::before {
    content: '';
    position: absolute;
    inset: auto;
    top: 50%;
    left: max(-470px, calc((100% - var(--lp-measure)) / 2 - 470px));
    z-index: 0;
    width: 760px;
    height: 760px;
    margin-top: -380px;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle at 41% 50%, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 1px, rgba(255, 255, 255, 0) 1.6px, rgba(255, 255, 255, 0) 13px),
        repeating-radial-gradient(circle at 59% 50%, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 1px, rgba(255, 255, 255, 0) 1.6px, rgba(255, 255, 255, 0) 13px);
    -webkit-mask-image: radial-gradient(closest-side, #000 30%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(closest-side, #000 30%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.lp.lp--dress .counterContent {
    border-left: 0;
}

.lp.lp--dress .counterContent + .counterContent {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.24) 50%, rgba(255, 255, 255, 0) 100%) left center / 1px 100% no-repeat;
}

@media (max-width: 768px) {
    .lp.lp--dress #statsCounter::before {
        left: -400px;
        width: 620px;
        height: 620px;
        margin-top: -310px;
    }

    /* two rows of two: the third figure opens the second row */
    .lp.lp--dress .counterContent:nth-child(3) {
        background: none;
    }
}

/* The courses stand on a long canvas: a light of lavender and a light of mint come back down its length,
   behind the cards, so the last row stands on the same canvas as the first. No card is touched. */
.lp.lp--dress .productsShowcaseSection {
    background:
        radial-gradient(60% 40% at 50% 0%, rgba(219, 234, 254, 0.7) 0%, rgba(219, 234, 254, 0) 70%),
        radial-gradient(660px 560px at 100% 22%, rgba(199, 210, 254, 0.44) 0%, rgba(199, 210, 254, 0) 72%) 0 0 / 100% 1900px repeat-y,
        radial-gradient(640px 560px at 0% 70%, rgba(167, 243, 208, 0.3) 0%, rgba(167, 243, 208, 0) 72%) 0 0 / 100% 1900px repeat-y,
        linear-gradient(180deg, #f8fbff 0%, #f5f8ff 50%, #f3f7fd 100%);
}

/* --------------------------------------------------------------------------
   The pictures of the sections above the guide: the seals of the
   accreditations and the two photographs stand in a case of glass with a
   second rim. The pill under a photograph keeps the colour the owner
   approved and hangs on the edge of the case, over its glass. The picture
   of the offer is the artwork of a card and stays bare; a thread ties it
   to the table of its prices. The certificate has a part of its own, below.
   -------------------------------------------------------------------------- */
.lp.lp--dress .teamsTrainingSection { --ld-case: #4338ca; }
.lp.lp--dress .studyAnywhereSection { --ld-case: #6d28d9; }

.lp.lp--dress :is(.trustImageFrame, .teamsImageFrame, .studyImageFrame) {
    box-sizing: border-box;
    padding: var(--ld-mat);
    border-radius: calc(var(--lp-radius) + 2px);
    background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
    box-shadow: inset 0 0 0 1px rgba(30, 58, 138, 0.15), inset 0 1px 0 #ffffff, 0 46px 70px -46px rgba(30, 58, 138, 0.5), 0 18px 34px -26px rgba(15, 23, 42, 0.28);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ld-case) 15%, transparent), inset 0 1px 0 #ffffff, 0 46px 70px -46px color-mix(in srgb, var(--ld-case) 52%, transparent), 0 18px 34px -26px rgba(15, 23, 42, 0.28);
    transition: transform 0.35s var(--lp-ease), box-shadow 0.35s var(--lp-ease);
}

.lp.lp--dress :is(.trustImageFrame, .teamsImageFrame, .studyImageFrame):hover {
    box-shadow: inset 0 0 0 1px rgba(30, 58, 138, 0.2), inset 0 1px 0 #ffffff, 0 56px 80px -48px rgba(30, 58, 138, 0.56), 0 22px 40px -28px rgba(15, 23, 42, 0.3);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ld-case) 20%, transparent), inset 0 1px 0 #ffffff, 0 56px 80px -48px color-mix(in srgb, var(--ld-case) 58%, transparent), 0 22px 40px -28px rgba(15, 23, 42, 0.3);
}

/* the second rim, a breath of glass around the case */
.lp.lp--dress :is(.trustImageFrame, .teamsImageFrame, .studyImageFrame)::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--ld-rim));
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: calc(var(--lp-radius) + 2px + var(--ld-rim));
    background: rgba(255, 255, 255, 0.46);
    box-shadow: 0 0 0 1px rgba(30, 58, 138, 0.12);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--ld-case) 12%, transparent);
    pointer-events: none;
}

.lp.lp--dress :is(.trustImageFrame, .teamsImageFrame, .studyImageFrame) img {
    border: 0;
    border-radius: calc(var(--lp-radius) + 2px - var(--ld-mat));
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.07);
}

/* the pill under a picture hangs on the lower edge of its case: over the glass, clear of the picture */
@media (min-width: 1025px) {
    .lp.lp--dress .teamsFloatingBadge,
    .lp.lp--dress .studyFloatingBadge:not(.langsFloatingBadge) {
        bottom: calc(-14px * var(--lp-scale));
    }
}

/* a thread from the picture of the offer to the table of its prices, closed by a ring on the edge of the card */
.lp.lp--dress .hiwImageBox:has(+ .hiwSavings)::after {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(100% + 9px);
    width: 2px;
    height: calc(56px * var(--lp-scale) - 20px);
    margin-left: -1px;
    background: repeating-linear-gradient(180deg, rgba(180, 83, 9, 0.5) 0 4px, rgba(180, 83, 9, 0) 4px 10px);
    pointer-events: none;
}

.lp.lp--dress .hiwImageBox + .hiwSavings {
    position: relative;
}

.lp.lp--dress .hiwImageBox + .hiwSavings::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -6px;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(180, 83, 9, 0.5), 0 8px 14px -6px rgba(180, 83, 9, 0.6);
    pointer-events: none;
}

@media (max-width: 640px) {
    .lp.lp--dress {
        --ld-mat: 7px;
        --ld-rim: 6px;
    }
}

/* --------------------------------------------------------------------------
   The certificate: it lies on a deep plate, so its own colours never melt
   into the canvas of the section, and the canvas steps back to pearl with
   a breath of mint. The two seals are labels of the plate, in the pale
   gold of a deep plate: the seal of RoSPA above the sheet, on the right,
   the seal of the course (CPD, QQI, HSA, the food levels) below it, on
   the left. They are drawn here and they stand still (the owner's word,
   28 November 2026: the coloured pills that floated at two corners of the
   sheet were not the design of this section any more). The classes keep
   their old names: certBadgeBottom is the seal above, certBadgeTop the
   seal below.
   -------------------------------------------------------------------------- */
.lp.lp--dress .certPremiumSection {
    background:
        radial-gradient(55% 60% at 0% 0%, rgba(167, 243, 208, 0.36) 0%, rgba(167, 243, 208, 0) 70%),
        radial-gradient(50% 60% at 100% 100%, rgba(191, 219, 254, 0.4) 0%, rgba(191, 219, 254, 0) 70%),
        linear-gradient(180deg, #f7fbf9 0%, #f0f8f4 100%);
}

/* The plate is as wide as the picture was (--ld-frame) and stands in the middle of its column; a seal is placed
   from the edges of the plate, whatever the width of the column (a legacy sheet of the course platforms opens
   every wrapper to the full width under 768px). */
.lp.lp--dress .certImageWrapper {
    --ld-plate: calc(22px * var(--lp-scale));
    --ld-seal: calc(36px * var(--lp-scale));
    --ld-seal-gap: calc(14px * var(--lp-scale));
    --ld-wrap: calc(28px * var(--lp-scale));
    --ld-frame: calc(640px * var(--lp-scale));
    --ld-side: calc((100% - min(100%, var(--ld-frame))) / 2 + var(--ld-plate));
    padding: var(--ld-wrap) 0;
}

.lp.lp--dress .certImageFrame {
    box-sizing: border-box;
    max-width: var(--ld-frame);
    padding: calc(var(--ld-plate) + var(--ld-seal) + var(--ld-seal-gap)) var(--ld-plate);
    border-radius: var(--lp-radius);
    background:
        linear-gradient(90deg, rgba(248, 231, 171, 0) 10%, rgba(248, 231, 171, 0.62) 50%, rgba(248, 231, 171, 0) 90%) top / 100% 2px no-repeat,
        radial-gradient(70% 90% at 0% 0%, rgba(37, 99, 235, 0.5) 0%, rgba(37, 99, 235, 0) 60%),
        radial-gradient(60% 80% at 100% 100%, rgba(5, 150, 105, 0.36) 0%, rgba(5, 150, 105, 0) 60%),
        linear-gradient(150deg, #0b1f3a 0%, #12325c 55%, #16407a 100%);
    box-shadow: inset 0 0 0 1px rgba(248, 231, 171, 0.12), 0 44px 70px -40px rgba(11, 31, 58, 0.75), 0 18px 34px -24px rgba(15, 23, 42, 0.4);
}

/* the plate rests under the pointer: the sheet alone comes forward, and the glass that opens it shows */
.lp.lp--dress .certImageFrame:hover {
    transform: none;
    box-shadow: inset 0 0 0 1px rgba(248, 231, 171, 0.12), 0 44px 70px -40px rgba(11, 31, 58, 0.75), 0 18px 34px -24px rgba(15, 23, 42, 0.4);
}

.lp.lp--dress .certImageFrame img,
.lp.lp--dress .certImageFrame:hover img {
    border: 0;
    border-radius: calc(12px * var(--lp-scale));
    box-shadow: 0 0 0 1px rgba(248, 231, 171, 0.42), 0 28px 46px -22px rgba(2, 8, 23, 0.7);
}

.lp.lp--dress .certImageFrame:hover img {
    transform: translateY(-3px);
}

.lp.lp--dress .certImageFrame.is-zoomable:focus-visible img {
    box-shadow: 0 0 0 3px #fde68a, 0 28px 46px -22px rgba(2, 8, 23, 0.7);
}

.lp.lp--dress .certImageFrame.is-zoomable::after {
    right: calc(var(--ld-plate) + 12px);
    bottom: calc(var(--ld-plate) + var(--ld-seal) + var(--ld-seal-gap) + 12px);
}

/* a seal: a label of glass on the plate, its mark in a disc of pale gold */
.lp.lp--dress .certImageWrapper .certFloatingBadge {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    box-sizing: border-box;
    gap: calc(9px * var(--lp-scale));
    max-width: calc(min(100%, var(--ld-frame)) - 2 * var(--ld-plate));
    min-height: var(--ld-seal);
    padding: calc(5px * var(--lp-scale)) calc(15px * var(--lp-scale)) calc(5px * var(--lp-scale)) calc(6px * var(--lp-scale));
    border: 0;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    font-size: calc(12.5px * var(--lp-scale));
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    color: #ffffff;
    transform: none;
    animation: none;
    pointer-events: none;
}

.lp.lp--dress .certImageWrapper .certFloatingBadge > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* A seal says its words once. A platform that writes them twice, in full and in short, shows the short ones up
   to 1280px (css/front/landing.css) and, above it, showed both: the short ones rest there. */
.lp.lp--dress .certImageWrapper .certFloatingBadge .certBadgeTextShort {
    display: none;
}

.lp.lp--dress .certImageWrapper .certFloatingBadge svg {
    width: calc(24px * var(--lp-scale));
    height: calc(24px * var(--lp-scale));
    padding: calc(5px * var(--lp-scale));
    background: linear-gradient(145deg, #fdf3c4 0%, #f8e7ab 45%, #d9b45a 100%);
    box-shadow: 0 6px 12px -6px rgba(2, 8, 23, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    color: #0b1f3a;
    stroke: #0b1f3a;
}

/* the seal of RoSPA above the sheet, on the right; the seal of the course below it, on the left */
.lp.lp--dress .certImageWrapper .certFloatingBadge.certBadgeBottom {
    top: calc(var(--ld-wrap) + var(--ld-plate));
    right: var(--ld-side);
}

.lp.lp--dress .certImageWrapper .certFloatingBadge.certBadgeTop {
    bottom: calc(var(--ld-wrap) + var(--ld-plate));
    left: var(--ld-side);
}

@media (max-width: 1024px) {
    .lp.lp--dress .certImageWrapper {
        --ld-frame: 620px;
    }
}

@media (max-width: 640px) {
    .lp.lp--dress .certImageWrapper {
        --ld-plate: 12px;
        --ld-seal: 34px;
        --ld-seal-gap: 10px;
        --ld-wrap: 8px;
    }

    .lp.lp--dress .certImageWrapper .certFloatingBadge {
        padding: 5px 13px 5px 5px;
        font-size: 12px;
        letter-spacing: 0.06em;
    }

    .lp.lp--dress .certImageWrapper .certFloatingBadge svg {
        width: 24px;
        height: 24px;
        padding: 5px;
    }

    .lp.lp--dress .certImageFrame img,
    .lp.lp--dress .certImageFrame:hover img {
        border-radius: 8px;
    }
}

/* --------------------------------------------------------------------------
   A phone keeps the numbers out of the rows: the words need the room
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    .lp.lp--dress :is(.faqAccordionToggle, .whyChooseToggle)::before {
        content: none;
    }

    .lp.lp--dress :is(.faqQuestionText, .whyChooseQuestion) {
        padding-right: 0;
    }

    .lp.lp--dress .faqAccordionContainer {
        padding: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* the pills of the pictures float for a reader who did not ask for less */
    .lp.lp--dress :is(.howItWorksFloatingBadge, .teamsFloatingBadge, .studyFloatingBadge) {
        animation: none;
    }

    .lp.lp--dress :is(.trustImageFrame, .teamsImageFrame, .studyImageFrame),
    .lp.lp--dress :is(.bfFact, .certStepsCard, .mhDefCard),
    .lp.lp--dress :is(.trustPoint, .certPerk, .studyCardItem, .hiwStep, .bfFact, .certStepsCard, .mhDefCard, .faqAccordionItem, .whyChooseAccordionItem) .spot {
        transition: none;
    }

    .lp.lp--dress .certImageFrame:hover img,
    .lp.lp--dress :is(.bfFact, .certStepsCard, .mhDefCard):hover,
    .lp.lp--dress :is(.trustPoint, .certPerk, .studyCardItem, .hiwStep):hover .spot,
    .lp.lp--dress :is(.bfFact, .certStepsCard, .mhDefCard):hover .spot,
    .lp.lp--dress :is(.faqAccordionItem, .whyChooseAccordionItem):is(:hover, .is-open) .spot {
        transform: none;
    }
}
