/* KHCN overview page V2 (INDIVIDUAL_CUSTOMER_OVERVIEW_V2), Figma Final UI "canhan tongquan v1.0.3 final" (2248:7208).
   Linked by layouts/overview_v2.blade.php after chrome-v2.css (tokens, .wrap, .btn, header, footer); scoped under .ko.
   Mobile-first, min-width only: 601 / 1024 / 1220 (header bar) / 1280px; one block per section ("===== ko:NAME =====").
   No Vietnamese text in this file. */

/* ===== ko:base ===== */
body.ko-body { margin: 0; background: #f4f4f6; }
.ko:lang(ja) { line-break: strict; }
@media (prefers-reduced-motion: no-preference) {
    html:has(body.ko-body) { scroll-behavior: smooth; }
}
/* --ko-muted #6c707a replaces the design grey #8e8d96 (2.99-3.28:1 fails WCAG 1.4.3); reverting is a business call. */
.ko {
    --ko-muted: #6c707a;
    --ko-secondary: #3b3e46;
    --ko-line: #e6e6ea;
    --ko-band: #f4f4f6;
    --ko-accent-grad: linear-gradient(90deg, #a3282b, #d3493a);
    --ko-pad: 56px;
    --ko-card-shadow: 0 2px 8px rgba(21, 23, 28, .12);
    --ko-door-shadow: 0 1px 2px rgba(21, 23, 28, .04), 0 20px 40px -28px rgba(60, 40, 10, .18);
    --ko-icon-grey: #bcbec0;
    width: 100%;
    font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--lp2-ink);
    background: var(--lp2-white);
    -webkit-text-size-adjust: 100%;
}
/* html.lp2-wait (layout head script, until load + first paint): fallback font only, lazy images out of the layout. */
html.lp2-wait .ko { font-family: 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.ko *, .ko *::before, .ko *::after { box-sizing: border-box; }
.ko h1, .ko h2, .ko h3, .ko h4, .ko p, .ko ul, .ko ol, .ko li, .ko figure, .ko dl, .ko dd, .ko blockquote, .ko form, .ko fieldset { margin: 0; }
.ko ul, .ko ol { padding: 0; list-style: none; }
.ko fieldset { padding: 0; border: 0; min-width: 0; }
.ko a { color: inherit; text-decoration: none; }
.ko button, .ko input, .ko select, .ko textarea { font: inherit; color: inherit; }
.ko img { display: block; max-width: 100%; height: auto; }
.ko [hidden] { display: none !important; }
/* No hero: main clears the shared header drawn over the page (chrome-v2.css heights; .is-compact set by its script). */
.ko.ko--no-hero main { padding-top: 56px; }
@media (min-width: 601px) {
    .ko { --ko-pad: 80px; }
    .ko.ko--no-hero main { padding-top: 64px; }
}
@media (min-width: 1024px) {
    .ko { --ko-pad: 96px; }
    .ko.ko--no-hero main { padding-top: 109px; }
    .ko.ko--no-hero .hdr.is-compact ~ main { padding-top: 64px; }
}
@media (min-width: 1220px) {
    .ko.ko--no-hero main, .ko.ko--no-hero .hdr.is-compact ~ main { padding-top: 68px; }
}

/* ===== ko:shared ===== */
.ko .ko-section { padding: var(--ko-pad) 0; background: var(--lp2-white); }
.ko .ko-section--band { background: var(--ko-band); }
.ko .ko-head { display: flex; flex-direction: column; gap: 12px; }
.ko .ko-center { align-items: center; text-align: center; }
.ko .ko-title { color: var(--lp2-ink); font-size: 28px; font-weight: 700; line-height: 36px; text-wrap: balance; overflow-wrap: break-word; }
.ko .ko-title__accent { color: #a3282b; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .ko .ko-title__accent { background-image: var(--ko-accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
.ko .ko-lead { max-width: 640px; color: var(--ko-muted); font-size: 14px; font-weight: 500; line-height: 22px; }
.ko .ko-center .ko-lead { margin-left: auto; margin-right: auto; }
/* Device classes (OverviewV2::deviceClass()); a section that sets display on the same element repeats them. */
@media not all and (min-width: 601px) {
    .ko .ko-only-d { display: none; }
}
@media (min-width: 601px) {
    .ko .ko-only-m { display: none; }
    .ko .ko-head { gap: 16px; }
    .ko .ko-title { font-size: 32px; line-height: 40px; }
    .ko .ko-lead { font-size: 16px; line-height: 24px; }
}
@media (min-width: 1024px) {
    .ko .ko-title { font-size: 36px; line-height: 44px; }
}
@media print {
    .ko .ko-title__accent { color: #a3282b; background: none; -webkit-text-fill-color: currentColor; }
}
/* Line icon redraw: the shapes carry pathLength="1"; products / explore run it on hover and focus. */
@keyframes ko-draw {
    from { stroke-dasharray: 1; stroke-dashoffset: 1; }
    to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}

/* ===== ko:hero ===== */
/* ---------- Hero #hero (Figma 2161:375 / 2162:375 / 2164:375) ---------- */
.ko .ko-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 104px 0 56px;
    background: linear-gradient(180deg, #fff3ec 0%, #fdeef0 58%, #fff 100%);
}
.ko .ko-hero::before, .ko .ko-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}
.ko .ko-hero::before { top: 120px; left: -140px; width: 560px; height: 420px; background: #fad0d4; opacity: .7; }
.ko .ko-hero::after { top: 40px; right: -120px; width: 520px; height: 400px; background: #ffe39a; opacity: .45; }

.ko .ko-hero__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ko .ko-hero__title {
    max-width: 100%;
    color: var(--lp2-ink);
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    text-wrap: balance;
    overflow-wrap: break-word;
}
.ko .ko-hero__title:lang(ja) { word-break: auto-phrase; }
.ko .ko-hero__lead {
    max-width: 560px;
    margin-top: 16px;
    color: var(--ko-secondary);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    overflow-wrap: break-word;
}

.ko .ko-hero__cards { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.ko .ko-hero__item { display: flex; min-width: 0; }
.ko .ko-hero__card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #c4111f;
    color: #fff;
    box-shadow: var(--ko-door-shadow);
}
.ko .ko-hero__item--light .ko-hero__card { background: #f6efe4; color: var(--lp2-ink); }
.ko .ko-hero__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 24px 0;
}
.ko .ko-hero__eyebrow { max-width: 100%; font-size: 14px; font-weight: 600; line-height: 20px; opacity: .9; overflow-wrap: break-word; }
/* 240px: the design's two-line card titles. */
.ko .ko-hero__name {
    max-width: 240px;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    text-wrap: balance;
    overflow-wrap: break-word;
}
.ko .ko-hero__text { max-width: 100%; font-size: 14px; font-weight: 400; line-height: 22px; opacity: .9; overflow-wrap: break-word; }
.ko .ko-hero__cta {
    max-width: 100%;
    margin-top: 8px;
    line-height: 20px;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
}

.ko .ko-hero__art { position: relative; margin: auto 0 -9px; pointer-events: none; }
.ko .ko-hero__art picture { display: block; }
.ko .ko-hero__img { width: calc(100% + 22px); max-width: none; height: auto; margin: -7px 0 0 -11px; }
.ko .ko-hero__art--no-strip { display: none; }

@media not all and (min-width: 601px) {
    .ko .ko-hero__br { display: none; }
}

@media (min-width: 601px) {
    .ko .ko-hero { padding: 121px 0 80px; }
    .ko .ko-hero__title { font-size: 40px; line-height: 48px; }
    .ko .ko-hero__lead { max-width: 640px; margin-top: 18px; font-size: 18px; line-height: 26px; }
    .ko .ko-hero__cards { flex-direction: row; margin-top: 42px; }
    .ko .ko-hero__item { flex: 1 1 0; }
    /* Tablet row: the panel fills the card so both pills line up at its bottom. */
    .ko .ko-hero__panel { flex: 1 0 auto; padding: 28px 28px 0; }
    .ko .ko-hero__cta { margin-top: auto; }
    .ko .ko-hero__panel > :has(+ .ko-hero__cta) { margin-bottom: 8px; }
    .ko .ko-hero__art { margin-bottom: -7px; }
    .ko .ko-hero__img { margin-top: 11px; }
}

@media (min-width: 1024px) {
    .ko .ko-hero { padding: 137px 0 96px; }
    .ko .ko-hero__title { font-size: 56px; line-height: 64px; }
    .ko .ko-hero__card { min-height: 580px; }
    .ko .ko-hero__panel { flex: none; padding: 40px 44px; }
    .ko .ko-hero__cta { margin-top: 8px; }
    .ko .ko-hero__panel > :has(+ .ko-hero__cta) { margin-bottom: 0; }
    /* Room for two title lines: the pills stay in line while only one title wraps (about 1255-1279px). */
    .ko .ko-hero__name { max-width: 100%; min-height: 72px; font-size: 28px; line-height: 36px; }
    .ko .ko-hero__text { font-size: 16px; line-height: 24px; }
    .ko .ko-hero__art { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; margin: 0; overflow: hidden; }
    .ko .ko-hero__art picture { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
    .ko .ko-hero__img {
        position: absolute;
        top: -17px;
        left: 50%;
        width: auto;
        height: calc(100% + 35px);
        margin: 0;
        transform: translateX(-50%);
        transform-origin: 50% 100%;
    }
    .ko .ko-hero__art--no-strip { display: block; }
    .ko .ko-hero__art--no-d { display: none; }
    /* Contrast fix: red veil + full-white text over the red art (as designed 2.3-2.9:1). */
    .ko .ko-hero__item--red .ko-hero__card--art .ko-hero__panel { background: linear-gradient(180deg, rgba(164, 14, 26, .55) 0, rgba(164, 14, 26, .55) calc(100% - 96px), rgba(164, 14, 26, 0) 100%); }
    .ko .ko-hero__item--red .ko-hero__eyebrow, .ko .ko-hero__item--red .ko-hero__text { opacity: 1; }
    /* Blurred copies of the art's outer 5% columns fill the card around the zoomed picture; the mask feathers its edges. */
    .ko .ko-hero__art::before, .ko .ko-hero__art::after {
        content: "";
        position: absolute;
        top: -40px;
        bottom: -40px;
        z-index: -1;
        background-image: var(--ko-hero-bd, none);
        background-repeat: no-repeat;
        background-size: 2000% 100%;
        filter: blur(28px);
    }
    .ko .ko-hero__art::before { right: calc(50% - 40px); left: -40px; background-position: 3.16% 100%; }
    .ko .ko-hero__art::after { right: -40px; left: calc(50% - 40px); background-position: 96.84% 100%; }
    .ko .ko-hero__img {
        -webkit-mask-image: linear-gradient(90deg, transparent 3%, #000 12%, #000 88%, transparent 97%), linear-gradient(180deg, transparent 3%, #000 18%);
        -webkit-mask-composite: source-in;
        mask-image: linear-gradient(90deg, transparent 3%, #000 12%, #000 88%, transparent 97%), linear-gradient(180deg, transparent 3%, #000 18%);
        mask-composite: intersect;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: 50% 50%, 50% 100%;
        mask-position: 50% 50%, 50% 100%;
        -webkit-mask-size: 130% 100%, 100% 130%;
        mask-size: 130% 100%, 100% 130%;
    }
    .ko .ko-hero__cards--single .ko-hero__img { -webkit-mask-size: 100% 100%, 100% 100%; mask-size: 100% 100%, 100% 100%; }
}
/* 1280px+: titles fit one line; one may borrow 4px of the right padding (design title 525.5px in 524). */
@media (min-width: 1280px) {
    .ko .ko-hero__name { max-width: calc(100% + 4px); min-height: 0; margin-right: -4px; }
}

/* States (fine pointer, 601px+): the row's gap passes the pointer through. Only the inactive art fades, not
   the text (the design's .55 panel fade drops contrast to about 2:1). */
@media (hover: hover) and (pointer: fine) {
    @media (min-width: 601px) {
        .ko .ko-hero__cards { pointer-events: none; }
        .ko .ko-hero__item { pointer-events: auto; }
        .ko .ko-hero__cards:hover .ko-hero__item:not(:hover) .ko-hero__art,
        .ko .ko-hero__cards:not(:hover):focus-within .ko-hero__item:not(:focus-within) .ko-hero__art { opacity: .55; }
        /* Active strip: the design's active box (2162:857 / 2162:898). */
        .ko .ko-hero__img { transform-origin: 50% 100%; }
        .ko .ko-hero__cards:hover .ko-hero__item:hover .ko-hero__img,
        .ko .ko-hero__cards:not(:hover) .ko-hero__item:focus-within .ko-hero__img { transform: translateY(-7px) scale(.941); }
    }
    /* Desktop: keep the full-card art's centring transform. */
    @media (min-width: 1024px) {
        .ko .ko-hero__cards:hover .ko-hero__item:hover .ko-hero__img,
        .ko .ko-hero__cards:not(:hover) .ko-hero__item:focus-within .ko-hero__img { transform: translateX(-50%); }
    }
    @media (prefers-reduced-motion: no-preference) {
        @media (min-width: 601px) {
            .ko .ko-hero__art { transition: opacity .35s cubic-bezier(.22, .61, .36, 1); }
            .ko .ko-hero__img { transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
        }
        /* Desktop widening with no layout shift (CLS 0): each li is a size container, the card changes width from its
           start edge, the second card is pinned to its slot end by translate; the art is centred by translate. */
        @media (min-width: 1024px) {
            .ko .ko-hero__cards:not(.ko-hero__cards--single) .ko-hero__item { container-type: inline-size; pointer-events: none; }
            .ko .ko-hero__cards:not(.ko-hero__cards--single) .ko-hero__card {
                flex: none;
                width: 100%;
                overflow: clip;
                pointer-events: auto;
                transition: width .35s cubic-bezier(.22, .61, .36, 1);
            }
            .ko .ko-hero__cards:not(.ko-hero__cards--single) .ko-hero__item + .ko-hero__item .ko-hero__card { translate: calc(100cqw - 100%) 0; }
            .ko .ko-hero__cards:not(.ko-hero__cards--single):hover .ko-hero__item:hover .ko-hero__card,
            .ko .ko-hero__cards:not(.ko-hero__cards--single):not(:hover) .ko-hero__item:focus-within .ko-hero__card { width: 129.28%; }
            .ko .ko-hero__cards:not(.ko-hero__cards--single):hover .ko-hero__item:not(:hover) .ko-hero__card,
            .ko .ko-hero__cards:not(.ko-hero__cards--single):not(:hover):focus-within .ko-hero__item:not(:focus-within) .ko-hero__card { width: 70.72%; }
            /* The panel keeps the slot's text measure in every state (no rewrap). */
            .ko .ko-hero__cards:not(.ko-hero__cards--single) .ko-hero__panel { width: 129.28cqw; padding-right: calc(29.28cqw + 44px); }
            .ko .ko-hero__cards:not(.ko-hero__cards--single) .ko-hero__eyebrow,
            .ko .ko-hero__cards:not(.ko-hero__cards--single) .ko-hero__cta { max-width: calc(70.72cqw - 88px); }
            .ko .ko-hero__name { transform-origin: 0 0; transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
            .ko .ko-hero__cards:hover .ko-hero__item:not(:hover) .ko-hero__name,
            .ko .ko-hero__cards:not(:hover):focus-within .ko-hero__item:not(:focus-within) .ko-hero__name { transform: scale(.6429); }
            .ko .ko-hero__text { transition: opacity .2s ease .1s; }
            .ko .ko-hero__cards:hover .ko-hero__item:not(:hover) .ko-hero__text,
            .ko .ko-hero__cards:not(:hover):focus-within .ko-hero__item:not(:focus-within) .ko-hero__text { opacity: 0; transition: opacity .2s ease; }
            .ko .ko-hero__art { container-type: inline-size; }
            .ko .ko-hero__art::after { right: auto; left: -40px; width: calc(50% + 80px); translate: 50cqw 0; }
            .ko .ko-hero__img {
                left: 0;
                translate: calc(50cqw - 50%) 0;
                transform: none;
                transition: transform .35s cubic-bezier(.22, .61, .36, 1), -webkit-mask-size .35s cubic-bezier(.22, .61, .36, 1), mask-size .35s cubic-bezier(.22, .61, .36, 1);
            }
            .ko .ko-hero__cards:hover .ko-hero__item .ko-hero__img,
            .ko .ko-hero__cards:focus-within .ko-hero__item .ko-hero__img { -webkit-mask-size: 100% 100%, 100% 100%; mask-size: 100% 100%, 100% 100%; }
            .ko .ko-hero__cards:hover .ko-hero__item:hover .ko-hero__img,
            .ko .ko-hero__cards:not(:hover) .ko-hero__item:focus-within .ko-hero__img { transform: scale(.945); }
            .ko .ko-hero__cards:hover .ko-hero__item:not(:hover) .ko-hero__img,
            .ko .ko-hero__cards:not(:hover):focus-within .ko-hero__item:not(:focus-within) .ko-hero__img { transform: scale(.733); }
            /* The light card's art group needs .85 to fill the narrowed 454px card (2161:916). */
            .ko .ko-hero__cards:hover .ko-hero__item--light:not(:hover) .ko-hero__img,
            .ko .ko-hero__cards:not(:hover):focus-within .ko-hero__item--light:not(:focus-within) .ko-hero__img { transform: translateY(-10px) scale(.85); }
        }
    }
}

@media print {
    .ko .ko-hero { padding-top: 24px; background: none; }
    .ko .ko-hero::before, .ko .ko-hero::after { display: none; }
    .ko .ko-hero__card { box-shadow: none; }
}

/* ===== ko:offers ===== */
/* ---------- Offers #offers (Figma 2161:417 / 2162:421 / 2164:421) ---------- */
.ko .ko-offers { --ko-offers-gut: 16px; --ko-offers-gap: 12px; }
/* Right under the hero (#ko-fold sits between them): no top padding. */
.ko .ko-hero + #ko-fold + .ko-offers { padding-top: 0; }
.ko .ko-offers__head { margin-bottom: 32px; text-align: center; }
.ko .ko-offers__head--bare { margin-bottom: 0; }
.ko .ko-offers__title { margin: 0 -16px; }
.ko .ko-offers__line { display: block; }
.ko .ko-offers__nav { display: none; flex: none; gap: 8px; visibility: hidden; }
.ko .ko-offers--js .ko-offers__nav { visibility: visible; }
.ko .ko-offers__arrow {
    display: grid;
    flex: none;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--lp2-white);
    box-shadow: inset 0 0 0 1px var(--ko-line);
    color: var(--lp2-ink);
    cursor: pointer;
    transition: color .2s, box-shadow .2s;
}
.ko .ko-offers__arrow[aria-disabled="true"] { cursor: default; }
.ko .ko-offers__arrow[aria-disabled="true"] .ko-offers__arrow-icon { opacity: .4; }
.ko .ko-offers__arrow-icon { display: block; }
.ko .ko-offers__track {
    display: flex;
    gap: var(--ko-offers-gap);
    margin: 0 calc(var(--ko-offers-gut) * -1);
    padding: 0 0 0 var(--ko-offers-gut);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--ko-offers-gut);
    scrollbar-width: none;
}
.ko .ko-offers__track::-webkit-scrollbar { display: none; }
/* Chrome makes a scroller without focusable content a tab stop: ring inside (the row is full bleed). */
.ko .ko-offers__track:focus-visible { outline: 2px solid var(--lp2-red-hover); outline-offset: -2px; }
/* End spacer: scroll containers drop the end padding of a flex row. */
.ko .ko-offers__track::after { content: ""; flex: 0 0 1px; margin-left: calc(var(--ko-offers-gut) - var(--ko-offers-gap) - 1px); }
.ko .ko-offers__item { flex: 0 0 calc((100% - var(--ko-offers-gut)) * .86); min-width: 0; scroll-snap-align: start; }
.ko .ko-offers__banner {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--lp2-radius-md-strong);
    background: var(--lp2-grey-100);
}
.ko .ko-offers__picture { display: block; width: 100%; height: 100%; }
.ko .ko-offers__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
/* No aspect-ratio (Safari before 15): 16:9 ratio box. */
@supports not (aspect-ratio: 1 / 1) {
    .ko .ko-offers__banner::before { content: ""; display: block; padding-top: 56.25%; }
    .ko .ko-offers__picture { position: absolute; top: 0; left: 0; }
}
/* Ring inside the banner (the row clips outside); the transparent outline shows in forced-colors mode. */
.ko .ko-offers__banner:focus-visible { outline: 2px solid transparent; outline-offset: -3px; }
.ko .ko-offers__banner:focus-visible::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 2px var(--lp2-ink), inset 0 0 0 4px var(--lp2-white);
    pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    .ko .ko-offers__track { scroll-behavior: smooth; }
}

@media (min-width: 601px) {
    .ko .ko-offers { --ko-offers-gut: 24px; --ko-offers-gap: 34px; }
    .ko .ko-offers__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; text-align: left; }
    .ko .ko-offers__head--bare { justify-content: flex-end; margin-bottom: 0; }
    .ko .ko-offers__head--bare .ko-offers__nav { margin-bottom: 40px; }
    .ko .ko-offers__title { flex: 0 1 auto; min-width: 0; margin: 0; }
    .ko .ko-offers__nav { display: flex; }
    .ko .ko-offers__item { flex-basis: calc((100% - var(--ko-offers-gut) - var(--ko-offers-gap)) / 2); }
}
@media (min-width: 1024px) {
    .ko .ko-offers { --ko-offers-gut: 0px; }
    .ko .ko-offers__head { gap: 40px; }
}
@media (hover: hover) and (pointer: fine) {
    .ko .ko-offers__arrow:not([aria-disabled="true"]):hover { color: var(--lp2-red); box-shadow: inset 0 0 0 1px var(--lp2-red); }
}
html.lp2-wait .ko .ko-offers__img[loading="lazy"] { display: none; }
/* Zoom the picture: the img keeps the motion-v2 load fade. */
@media (prefers-reduced-motion: no-preference) {
    @media (hover: hover) and (pointer: fine) {
        html.v2m .ko .ko-offers__picture { transition: transform var(--v2-m-slow) var(--v2-m-out); }
        html.v2m .ko .ko-offers__banner:hover .ko-offers__picture { transform: scale(1.03); }
    }
}
@media (prefers-reduced-motion: reduce) {
    .ko .ko-offers__arrow { transition: none; }
}
@media print {
    .ko .ko-offers__nav { display: none; }
    .ko .ko-offers__track { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
    .ko .ko-offers__track::after { display: none; }
    .ko .ko-offers__item { flex-basis: calc((100% - var(--ko-offers-gap)) / 2); break-inside: avoid; }
}

/* ===== ko:products ===== */
/* ---------- Products #products (Figma 2161:444 / 2162:447 / 2164:440) ---------- */
.ko .ko-products {
    background:
        radial-gradient(36% 46% at 10% 82%, rgba(255, 214, 140, .42) 0%, rgba(255, 214, 140, 0) 70%),
        radial-gradient(40% 50% at 92% 24%, rgba(255, 150, 162, .32) 0%, rgba(255, 150, 162, 0) 70%),
        radial-gradient(30% 40% at 60% 100%, rgba(255, 190, 170, .3) 0%, rgba(255, 190, 170, 0) 70%),
        linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 26%),
        #fdfaf4;
}
.ko .ko-products__head { margin-bottom: 36px; }
.ko .ko-products__title { margin: 0 -16px; }
.ko .ko-products__lead { margin-top: 12px; }
.ko .ko-products__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.ko .ko-products__item { display: flex; min-width: 0; }
/* Under about 356px the text column wraps under the icon. */
.ko .ko-products__card {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px 24px;
    min-width: 0;
    padding: 24px;
    border-radius: var(--lp2-radius-md-strong);
    background: var(--lp2-white);
    box-shadow: var(--ko-card-shadow);
    color: var(--lp2-ink);
}
.ko .ko-products__icon { display: block; flex: none; width: 72px; height: 72px; }
.ko .ko-products__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ko .ko-products__tone { stroke-width: 2.0625; }
.ko .ko-products__tone--accent { stroke: var(--lp2-red); }
.ko .ko-products__tone--ink { stroke: var(--lp2-ink); }
.ko .ko-products__tone--muted { stroke: var(--ko-icon-grey); }
.ko .ko-products__body { display: grid; flex: 1 1 180px; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.ko .ko-products__body > * { grid-column: 1 / -1; }
/* Phones: -0.015em keeps the AI product title on one line beside the badge (Figma 2164:489). */
.ko .ko-products__name { font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -.015em; overflow-wrap: anywhere; }
.ko .ko-products__card--new .ko-products__body { grid-template-columns: minmax(0, 1fr) auto; column-gap: 2px; }
.ko .ko-products__card--new .ko-products__name { grid-column: 1; }
.ko .ko-products__badge {
    grid-row: 1;
    grid-column: 2;
    align-self: start;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 28px;
    padding: 0 12px;
    border-radius: var(--lp2-radius-pill);
    background: var(--lp2-red);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
}
.ko .ko-products__text { color: var(--ko-secondary); font-size: 14px; font-weight: 500; line-height: 22px; overflow-wrap: anywhere; }
.ko .ko-products__foot { display: flex; max-width: 100%; padding-top: 8px; }
.ko .ko-products__btn { max-width: 100%; text-align: center; white-space: normal; }
@media (min-width: 601px) {
    .ko .ko-products__head { margin-bottom: 40px; }
    .ko .ko-products__title { margin: 0; }
    .ko .ko-products__lead { margin-top: 16px; }
    .ko .ko-products__card { padding: 32px; }
    .ko .ko-products__card--new .ko-products__body { column-gap: 10px; }
    .ko .ko-products__badge { margin: -8px -8px 0 0; }
    .ko .ko-products__name { font-size: 24px; line-height: 32px; letter-spacing: 0; }
    .ko .ko-products__text { font-size: 16px; line-height: 24px; }
}
@media (min-width: 1024px) {
    .ko .ko-products__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .ko .ko-products__list--featured .ko-products__item:first-child { grid-row: span 2; }
    .ko .ko-products__card--featured { flex-direction: column; flex-wrap: nowrap; justify-content: flex-end; align-items: stretch; gap: 32px; padding: 48px; }
    .ko .ko-products__card--featured .ko-products__icon { width: 160px; height: 160px; }
    .ko .ko-products__card--featured .ko-products__tone { stroke-width: 2.625; }
    .ko .ko-products__card--featured .ko-products__body { flex: none; grid-template-columns: minmax(0, 1fr); }
    .ko .ko-products__card--featured .ko-products__name { font-size: 36px; font-weight: 700; line-height: 44px; }
    /* Figma's paragraph frame is 4px taller than its two lines (2161:476). */
    .ko .ko-products__card--featured .ko-products__text { max-width: 542px; padding-bottom: 4px; font-size: 18px; line-height: 26px; }
    .ko .ko-products__card--featured .ko-products__badge { position: absolute; top: 32px; right: 32px; margin: 0; }
    /* Small static cards: centred in the row height set by the featured card. */
    .ko .ko-products__list--featured .ko-products__item:not(:first-child) .ko-products__card:not(.ko-products__card--link) { align-items: center; }
}
@media (hover: hover) and (pointer: fine) {
    .ko .ko-products__card--link:hover .ko-products__btn { background: var(--lp2-grey-150); }
    .ko .ko-products__card--link:hover .ko-products__shape { animation: ko-draw .8s cubic-bezier(.65, 0, .35, 1) backwards; }
    .ko .ko-products__card--link:hover .ko-products__tone--ink .ko-products__shape { animation-delay: .12s; }
    .ko .ko-products__card--link:hover .ko-products__tone--muted .ko-products__shape { animation-delay: .24s; }
    html.v2m .ko .ko-products__card--link:hover { box-shadow: var(--ko-card-shadow), var(--v2-m-shadow); }
}
html.v2m .ko .ko-products__card--link:focus-visible { box-shadow: var(--ko-card-shadow), var(--v2-m-shadow); }
@media (prefers-reduced-motion: no-preference) {
    .ko .ko-products__card--link:focus-visible .ko-products__shape { animation: ko-draw .8s cubic-bezier(.65, 0, .35, 1) backwards; }
    .ko .ko-products__card--link:focus-visible .ko-products__tone--ink .ko-products__shape { animation-delay: .12s; }
    .ko .ko-products__card--link:focus-visible .ko-products__tone--muted .ko-products__shape { animation-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
    .ko .ko-products__card--link:hover .ko-products__shape,
    .ko .ko-products__card--link:focus-visible .ko-products__shape { animation: none; }
}
@media print {
    .ko .ko-products { padding: 24px 0; background: #fff; }
    .ko .ko-products__card { border: 1px solid var(--lp2-line); box-shadow: none; break-inside: avoid; }
    .ko .ko-products__badge { border: 1px solid currentColor; background: none; color: var(--lp2-red); }
    .ko .ko-products__shape { animation: none; }
}

/* ===== ko:explore ===== */
/* ---------- Explore #explore (Figma 2161:521 / 2162:523 / 2164:515) ---------- */
.ko .ko-explore__head { margin-bottom: 32px; }
.ko .ko-explore__accent { display: table; margin: 0 auto; }
.ko .ko-explore__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.ko .ko-explore__item { display: flex; min-width: 0; }
.ko .ko-explore__card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 28px 20px;
    border-radius: var(--lp2-radius-md-strong);
    background: var(--lp2-grey-100);
    color: var(--lp2-ink);
    text-align: center;
}
.ko .ko-explore__icon { display: block; flex: none; width: 64px; height: 64px; margin-bottom: 16px; }
.ko .ko-explore__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ko .ko-explore__tone { stroke-width: 1.875; }
.ko .ko-explore__tone--accent { stroke: var(--lp2-red); }
.ko .ko-explore__tone--ink { stroke: var(--lp2-ink); }
.ko .ko-explore__tone--muted { stroke: var(--ko-icon-grey); }
.ko .ko-explore__name { max-width: 100%; font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: 0; overflow-wrap: anywhere; text-wrap: balance; }
.ko .ko-explore__text { max-width: 100%; margin-top: 8px; color: var(--ko-muted); font-size: 14px; font-weight: 500; line-height: 22px; overflow-wrap: anywhere; }
.ko .ko-explore__foot { display: flex; justify-content: center; max-width: 100%; margin-top: auto; padding-top: 16px; }
.ko .ko-explore__btn { max-width: 100%; line-height: 20px; text-align: center; white-space: normal; }
@media (min-width: 601px) {
    .ko .ko-explore__head { margin-bottom: 40px; }
    .ko .ko-explore__accent { display: inline; margin: 0; }
    .ko .ko-explore__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .ko .ko-explore__card { padding: 32px; }
    .ko .ko-explore__icon { width: 72px; height: 72px; margin-bottom: 24px; }
    .ko .ko-explore__tone { stroke-width: 2.0625; }
    .ko .ko-explore__name { font-size: 24px; line-height: 32px; }
    .ko .ko-explore__text { margin-top: 12px; font-size: 16px; line-height: 24px; }
    .ko .ko-explore__foot { padding-top: 24px; }
}
@media (min-width: 1024px) {
    .ko .ko-explore__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
    .ko .ko-explore__card { padding: 32px 20px; }
    .ko .ko-explore__text { text-wrap: pretty; }
}
@media (min-width: 1280px) {
    /* The design's line breaks (12px inset, greedy wrap). */
    .ko .ko-explore__text { padding: 0 12px; text-wrap: wrap; }
}
@media (hover: hover) and (pointer: fine) {
    .ko .ko-explore__card--link:hover .ko-explore__btn { background: var(--lp2-grey-150); }
    .ko .ko-explore__card--link:hover .ko-explore__shape { animation: ko-draw .8s cubic-bezier(.65, 0, .35, 1) backwards; }
    .ko .ko-explore__card--link:hover .ko-explore__tone--ink .ko-explore__shape { animation-delay: .12s; }
    .ko .ko-explore__card--link:hover .ko-explore__tone--muted .ko-explore__shape { animation-delay: .24s; }
}
@media (prefers-reduced-motion: no-preference) {
    .ko .ko-explore__card--link:focus-visible .ko-explore__shape { animation: ko-draw .8s cubic-bezier(.65, 0, .35, 1) backwards; }
    .ko .ko-explore__card--link:focus-visible .ko-explore__tone--ink .ko-explore__shape { animation-delay: .12s; }
    .ko .ko-explore__card--link:focus-visible .ko-explore__tone--muted .ko-explore__shape { animation-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
    .ko .ko-explore__card--link:hover .ko-explore__shape,
    .ko .ko-explore__card--link:focus-visible .ko-explore__shape { animation: none; }
}
@media print {
    .ko .ko-explore { padding: 24px 0; }
    .ko .ko-explore__card { border: 1px solid var(--lp2-line); background: #fff; box-shadow: none; break-inside: avoid; }
    .ko .ko-explore__shape { animation: none; }
}

/* ===== ko:events ===== */
/* ---------- Events #events (Figma 2161:603 / 2162:603 / 2164:596) ---------- */
.ko .ko-events { --ko-events-gut: 16px; --ko-events-gap: 16px; }
.ko .ko-events__head { margin-bottom: 36px; }
.ko .ko-events__lead { margin-top: 12px; text-wrap: balance; }
/* Phones: the design's 297px text box and greedy break (2164:604). */
@media not all and (min-width: 601px) {
    .ko .ko-events__lead { max-width: 300px; text-wrap: wrap; }
}
.ko .ko-events__track {
    display: flex;
    gap: var(--ko-events-gap);
    margin: -4px calc(var(--ko-events-gut) * -1) 0;
    padding: 4px 0 8px var(--ko-events-gut);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--ko-events-gut);
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.ko .ko-events__track::-webkit-scrollbar { display: none; }
/* Focusable only while it scrolls with no linked card (ko:events script). */
.ko .ko-events__track:focus-visible { outline-offset: -2px; }
.ko .ko-events__track::after { content: ""; flex: 0 0 1px; margin-left: calc(var(--ko-events-gut) - var(--ko-events-gap) - 1px); }
.ko .ko-events__item { display: flex; flex: 0 0 calc(100% - var(--ko-events-gut) - 64px); min-width: 0; scroll-snap-align: start; }
/* position: relative keeps the absolute sr-only texts inside the scroller. */
.ko .ko-events__card { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; }
.ko .ko-events__media { position: relative; display: block; flex: none; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--lp2-radius-md-strong); background: var(--lp2-grey-150); }
.ko .ko-events__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.ko .ko-events__body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; padding-top: 20px; }
/* Tag #c4111f (5.55:1 on the band) instead of the design #e31526 (4.34:1, fails AA at 14px). */
.ko .ko-events__tag { color: var(--lp2-red-hover); font-size: 14px; font-weight: 600; line-height: 20px; overflow-wrap: anywhere; }
.ko .ko-events__card-title { color: var(--lp2-ink); font-size: 20px; font-weight: 600; line-height: 28px; overflow-wrap: anywhere; }
.ko .ko-events__tag + .ko-events__card-title { margin-top: 8px; }
.ko .ko-events__text { margin-top: 8px; color: var(--ko-muted); font-size: 14px; font-weight: 500; line-height: 22px; overflow-wrap: anywhere; }
.ko .ko-events__foot { margin-top: auto; padding-top: 20px; }
/* No aspect-ratio (Safari before 15): 16:9 ratio box. */
@supports not (aspect-ratio: 1 / 1) {
    .ko .ko-events__media::before { content: ""; display: block; padding-top: 56.25%; }
}

@media (min-width: 601px) {
    .ko .ko-events { --ko-events-gut: 24px; }
    .ko .ko-events__head { margin-bottom: 40px; }
    .ko .ko-events__lead { margin-top: 16px; }
    .ko .ko-events__item { flex-basis: calc((100% - var(--ko-events-gut) - var(--ko-events-gap) - 24px) / 2); }
    .ko .ko-events__card-title { font-size: 24px; line-height: 32px; }
    .ko .ko-events__text { font-size: 16px; line-height: 24px; }
}
@media (min-width: 1024px) {
    .ko .ko-events { --ko-events-gap: 24px; }
    .ko .ko-events__track { flex-wrap: wrap; row-gap: 40px; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
    .ko .ko-events__track::after { display: none; }
    .ko .ko-events__item { flex-basis: calc((100% - 2 * var(--ko-events-gap)) / 3); }
}
@media (hover: hover) and (pointer: fine) {
    .ko .ko-events__media:hover ~ .ko-events__body .ko-events__cta { background: var(--lp2-grey-150); }
}
html.lp2-wait .ko .ko-events__img[loading="lazy"] { display: none; }
/* Lazy fade-in and hover zoom: two motion-layer rules that each set transition, merged. */
@media (prefers-reduced-motion: no-preference) {
    .ko .ko-events__media .ko-events__img[data-v2-img] { transition: opacity var(--v2-m-base, 320ms) var(--v2-m-io, ease), transform var(--v2-m-slow, 720ms) var(--v2-m-out, ease-out); }
}
@media (prefers-reduced-motion: reduce) {
    .ko .ko-events__track { scroll-behavior: auto; }
}
@media print {
    .ko .ko-events { padding: 24px 0; }
    .ko .ko-events__foot { display: none; }
    .ko .ko-events__track { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
    .ko .ko-events__track::after { display: none; }
    .ko .ko-events__item { flex-basis: calc((100% - 2 * var(--ko-events-gap)) / 3); break-inside: avoid; }
}

/* ===== ko:cta ===== */
/* ---------- Final CTA #open (Figma 2161:655 / 2162:655 / 2164:648) ---------- */
.ko main > .ko-events + .ko-cta { padding-top: 0; }
/* Card colours: the landing "variant A", a deliberate WCAG 1.4.3 deviation from the frames (2.40-3.72:1);
   gradient angle per layout = 180deg - atan(0.36397 * H / W). */
.ko .ko-cta__card {
    --ko-cta-angle: 158.98deg;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 40px 24px;
    border-radius: 16px;
    background:
        radial-gradient(70% 90% at 85% 10%, rgba(255, 107, 95, .3) 0%, rgba(255, 107, 95, 0) 60%),
        linear-gradient(var(--ko-cta-angle), #7a0e16 8.49%, #e31526 58.3%, #e6222c 91.51%);
    color: #fff;
    text-align: center;
}
.ko .ko-cta__head, .ko .ko-cta__body { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.ko .ko-cta__head { gap: 16px; }
.ko .ko-cta__body { gap: 32px; }
.ko .ko-cta__icon { display: grid; flex: none; place-items: center; width: 52px; height: 52px; border: 1px solid #fff; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.ko .ko-cta__img { width: 26px; height: 26px; }
.ko .ko-cta__title { max-width: 100%; color: #fff; }
.ko .ko-cta__line { display: block; }
.ko:lang(ja) .ko-cta__line { word-break: auto-phrase; }
.ko .ko-cta__accent { color: #fad0d4; }
.ko .ko-cta__text { max-width: 100%; color: #fff; font-size: 14px; font-weight: 500; line-height: 22px; overflow-wrap: break-word; }
/* Ink label in every state: red on the pressed #fdecee would be 4.18:1. */
.ko .ko-cta__btn, .ko .ko-cta__btn:hover, .ko .ko-cta__btn:active { color: var(--lp2-ink); }
.ko .ko-cta__btn { max-width: 100%; white-space: normal; text-align: center; overflow-wrap: break-word; }

@media (min-width: 601px) {
    .ko .ko-cta__card { --ko-cta-angle: 168.01deg; gap: 24px; padding: 48px 40px; text-align: left; }
    .ko .ko-cta__head, .ko .ko-cta__body { align-items: flex-start; }
    .ko .ko-cta__head { gap: 24px; }
    .ko .ko-cta__icon { width: 64px; height: 64px; }
    .ko .ko-cta__img { width: 32px; height: 32px; }
    .ko .ko-cta__text { font-size: 16px; line-height: 24px; }
}
@media (min-width: 1024px) {
    .ko .ko-cta__card { --ko-cta-angle: 175.14deg; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; gap: 48px; padding: 64px; }
    .ko .ko-cta__body { padding-top: 14px; }
}
html.lp2-wait .ko .ko-cta__img[loading="lazy"] { display: none; }
@media (prefers-reduced-motion: reduce) {
    .ko .ko-cta__btn { transition: none; }
}
@media print {
    .ko .ko-cta { padding: 24px 0; background: none; }
    .ko .ko-cta__card { background: none; box-shadow: inset 0 0 0 1px var(--lp2-line); color: var(--lp2-ink); break-inside: avoid; }
    .ko .ko-cta__icon { display: none; }
    .ko .ko-cta__title, .ko .ko-cta__accent, .ko .ko-cta__text { color: var(--lp2-ink); }
    .ko .ko-cta__btn { box-shadow: inset 0 0 0 1px var(--lp2-line-2); }
}
