:root
{
    --brand: #0b1220;
    --core: #dfe5f0;
    --flow: #fff;
    --shell: #ffb300;
    --cool: #111;
    --dim: #d99700;
    --plain: #070b16;
    --head: #fff;
    --paper: color-mix(in srgb, var(--core) 6%, var(--brand));
    --alt: color-mix(in srgb, var(--core) 3%, var(--brand));
    --field: color-mix(in srgb, var(--core) 18%, var(--brand));
    --main: var(--core);
    --ink: 1160px;
    --tile: 78ch;
    --body: 14px;
    --wide: 8px;
    --thin: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
    --deep: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    --stroke: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
    --size: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
    --fill: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem);
}

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

body
{
    margin: 0;
    background: var(--brand);
    color: var(--core);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: var(--deep);
    line-height: 1.65;
    -webkit-text-size-adjust: 100%;
    overflow-wrap: break-word;
}

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

a
{
    color: inherit;
}

.strip
{
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--plain);
    color: var(--head);
}

.strip__icon, .entry__line, .sheet__shut, .badge__lead, .slot__top
{
    width: min(100% - 2rem, var(--ink));
    margin-inline: auto;
}

.strip__icon
{
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 60px;
    padding-block: 0.5rem;
}

.footer2
{
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer2 img
{
    height: 32px;
    width: auto;
    object-fit: contain;
}

.peak
{
    display: flex;
    gap: 0.15rem;
    margin-inline-end: auto;
    min-width: 0;
}

.peak a
{
    padding: 0.4rem 0.7rem;
    border-radius: var(--wide);
    text-decoration: none;
    color: inherit;
    opacity: 0.82;
    white-space: nowrap;
    font-size: 0.92rem;
}

.peak a:hover
{
    background: color-mix(in srgb, var(--head) 14%, transparent);
    opacity: 1;
}

.peak:empty
{
    display: none;
}

.peak:empty + .strip__info
{
    margin-inline-start: auto;
}

.strip__info
{
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.batch
{
    display: none;
    position: relative;
    flex-shrink: 0;
}

.batch__first
{
    list-style: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--head) 40%, transparent);
    border-radius: var(--wide);
}

.batch__first::-webkit-details-marker
{
    display: none;
}

.batch__first span::before, .batch__first span, .batch__first span::after
{
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.batch__first span
{
    position: relative;
}

.batch__first span::before
{
    position: absolute;
    top: -6px;
}

.batch__first span::after
{
    position: absolute;
    top: 6px;
}

.batch__open
{
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 0.5rem);
    z-index: 25;
    min-width: 14rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem;
    background: var(--plain);
    border: 1px solid color-mix(in srgb, var(--head) 20%, transparent);
    border-radius: var(--body);
    box-shadow: var(--thin);
}

.batch__open a
{
    padding: 0.6rem 0.7rem;
    border-radius: var(--wide);
    text-decoration: none;
    color: var(--head);
}

.batch__open a:hover
{
    background: color-mix(in srgb, var(--head) 12%, transparent);
}

.batch__open .braid
{
    margin-top: 0.4rem;
    color: var(--head);
    border-color: color-mix(in srgb, var(--head) 40%, transparent);
}

.strip .braid_wide
{
    color: inherit;
    border-color: color-mix(in srgb, var(--head) 45%, transparent);
}

.strip .braid_wide:hover
{
    background: color-mix(in srgb, var(--head) 14%, transparent);
}

.sheet
{
    background: color-mix(in srgb, var(--head) 8%, var(--plain));
    border-top: 1px solid color-mix(in srgb, var(--head) 12%, transparent);
    font-size: 0.9rem;
}

.sheet__shut
{
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
}

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

.sheet a
{
    padding: 0.55rem 0.7rem;
    text-decoration: none;
    color: var(--head);
    opacity: 0.8;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.sheet a:hover
{
    opacity: 1;
    border-bottom-color: var(--shell);
}

.braid
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid var(--round, transparent);
    border-radius: var(--wide);
    padding: 0.6rem 1.1rem;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    background: var(--shell);
    color: var(--cool);
    transition: background-color 0.15s ease, transform 0.05s ease;
}

.braid:hover
{
    background: var(--dim);
}

.braid:active
{
    transform: translateY(1px);
}

.braid_wide
{
    background: transparent;
    color: var(--flow);
    border-color: var(--field);
}

.braid_wide:hover
{
    background: var(--paper);
}

.braid_less
{
    padding: 0.9rem 1.8rem;
    font-size: var(--stroke);
}

:focus-visible
{
    outline: 2px solid var(--shell);
    outline-offset: 2px;
}

.trunk h3, .trunk h2, .gate, .slot__stub, .crate h3, .crate h2
{
    color: var(--flow);
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.gate
{
    font-size: var(--fill);
    margin: 0 0 1rem;
}

.slot__stub
{
    font-size: var(--size);
    margin: 0 0 1.25rem;
}

.crate h3, .trunk h3
{
    font-size: var(--stroke);
    margin: 1.75rem 0 0.5rem;
}

.trunk p, .crate p
{
    margin: 0 0 1rem;
}

.trunk > :last-child, .crate > :last-child
{
    margin-bottom: 0;
}

.trunk a, .crate a
{
    color: color-mix(in srgb, var(--shell) 72%, var(--flow));
    text-underline-offset: 3px;
}

.case
{
    display: block;
}

.slot
{
    padding-block: clamp(2rem, 1.4rem + 2vw, 3.5rem);
    scroll-margin-top: 72px;
}

.case > .slot:not(.badge):nth-of-type(odd)
{
    background: var(--paper);
}

.trunk
{
    max-width: var(--tile);
}

.slot_list .trunk ul
{
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: 0.5rem;
}

.slot_list .trunk ul > li
{
    position: relative;
    padding-inline-start: 1.9rem;
    padding-block: 0.15rem;
}

.slot_list .trunk ul > li::before
{
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.55em;
    width: 0.75rem;
    height: 0.4rem;
    border-inline-start: 2px solid var(--shell);
    border-bottom: 2px solid var(--shell);
    transform: rotate(-45deg);
}

.slot_list .trunk ol
{
    counter-reset: step;
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.slot_list .trunk ol > li
{
    counter-increment: step;
    position: relative;
    padding-inline-start: 2.6rem;
}

.slot_list .trunk ol > li::before
{
    content: counter(step);
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: var(--shell);
    color: var(--cool);
    font-weight: 700;
    font-size: 0.9rem;
    display: grid;
    place-items: center;
}

.note
{
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid var(--field);
    border-inline-start: 3px solid var(--main);
    border-radius: 0 var(--wide) var(--wide) 0;
    background: var(--paper);
    font-size: 0.95rem;
}

.note p
{
    margin: 0 0 0.6rem;
}

.note > :last-child
{
    margin-bottom: 0;
}

.note strong
{
    color: var(--flow);
}

.note--disclosure
{
    color: var(--main);
    font-size: 0.88rem;
    background: transparent;
    border-inline-start-color: var(--field);
}

.note--warning
{
    border-inline-start-color: var(--shell);
    background: color-mix(in srgb, var(--shell) 10%, var(--brand));
}

.note--takeaway
{
    font-variant-numeric: tabular-nums;
    border-inline-start-color: var(--flow);
}

.note--rg
{
    border: 1px solid color-mix(in srgb, var(--flow) 30%, var(--field));
    border-radius: var(--body);
    background: var(--alt);
}

.note--rg a
{
    font-weight: 600;
}

.note--independent
{
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: var(--main);
    background: transparent;
    border: 0;
    border-top: 1px solid var(--field);
    border-radius: 0;
    padding: 1rem 0 0;
}

.crate blockquote, .trunk blockquote
{
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-inline-start: 3px solid var(--shell);
    border-radius: 0 var(--wide) var(--wide) 0;
    background: var(--brand);
    color: var(--core);
    font-size: 0.95rem;
}

.crate blockquote p, .trunk blockquote p
{
    margin: 0 0 0.6rem;
}

.trunk blockquote > :last-child, .crate blockquote > :last-child
{
    margin-bottom: 0;
}

.crate blockquote strong, .trunk blockquote strong
{
    color: var(--flow);
}

.trunk hr
{
    border: 0;
    border-top: 1px solid var(--field);
    margin: 2rem 0;
}

.trunk table
{
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    background: var(--alt);
    border: 1px solid var(--field);
    border-radius: var(--body);
    overflow: hidden;
}

.slot_table .trunk
{
    max-width: none;
    overflow-x: auto;
}

.trunk td, .trunk th
{
    border-bottom: 1px solid var(--field);
    padding: 0.7rem 0.9rem;
    text-align: start;
    vertical-align: top;
}

.trunk caption
{
    caption-side: top;
    text-align: start;
    padding: 0 0 0.6rem;
    font-weight: 700;
    color: var(--flow);
}

.trunk thead th
{
    background: color-mix(in srgb, var(--shell) 16%, var(--paper));
    color: var(--core);
    font-weight: 700;
    white-space: nowrap;
}

.trunk tbody tr:last-child td
{
    border-bottom: 0;
}

.trunk tbody tr:nth-child(even)
{
    background: color-mix(in srgb, var(--core) 3%, transparent);
}

.door
{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
    gap: 2rem;
    align-items: start;
}

.door__off
{
    border: 1px solid var(--field);
    border-radius: var(--body);
    box-shadow: var(--thin);
    width: 100%;
}

.badge
{
    position: relative;
    padding-block: clamp(2rem, 1.2rem + 3vw, 4rem);
    background: var(--plain);
    isolation: isolate;
}

.badge::before
{
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--flat, none);
    background-size: cover;
    background-position: center;
}

.span2__bold
{
    margin-top: 1.25rem;
    text-align: center;
}

.span2__bold a
{
    color: var(--shell);
    font-weight: 600;
}

.seam
{
    text-align: center;
}

.seam__outer
{
    font-size: clamp(3.5rem, 12vw, 6rem);
    line-height: 1;
    font-weight: 800;
    color: var(--shell);
    margin-bottom: 0.5rem;
}

.seam__flat
{
    max-width: 46ch;
    margin-inline: auto;
    color: var(--main);
}

.seam__cell
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

@media (max-width: 700px) {
    .badge::before
    {
        background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--zone, var(--flat, none));
    }

}
.badge__lead
{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 22rem);
    grid-template-areas: "title offer" "text offer";
    align-content: start;
    gap: 0 2rem;
}

.badge .gate
{
    grid-area: title;
    color: #fff;
}

.badge__icon
{
    grid-area: text;
    color: #f2f4f8;
    max-width: 62ch;
}

.badge .crate
{
    margin-bottom: 1.5rem;
}

.badge__less
{
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    opacity: 0.75;
}

.district
{
    grid-area: offer;
    background: var(--brand);
    border: 1px solid color-mix(in srgb, var(--shell) 40%, var(--field));
    border-radius: var(--body);
    box-shadow: var(--thin);
    overflow: hidden;
    align-self: start;
}

.district .braid
{
    width: 100%;
}

.district__image
{
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: 0.9rem 1.25rem;
    background: color-mix(in srgb, var(--shell) 12%, var(--brand));
    color: var(--flow);
    border-bottom: 3px solid var(--shell);
}

.district__image img
{
    height: 42px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.district__meta
{
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.25rem;
    text-align: center;
}

.district__top
{
    font-weight: 800;
    font-size: var(--stroke);
    color: inherit;
    text-align: center;
}

.district__soft
{
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--main);
    margin: 0;
}

.district__stub
{
    font-size: var(--size);
    font-weight: 800;
    line-height: 1.15;
    color: var(--flow);
    margin: 0;
    text-wrap: balance;
}

.district__small
{
    font-size: 0.8rem;
    color: var(--main);
    margin: 0;
}

.part
{
    padding-block: 1.5rem;
}

.band
{
    border: 1px solid var(--field);
    border-radius: var(--body);
    background: var(--alt);
    padding: 0.5rem 1.1rem;
}

.band__side
{
    cursor: pointer;
    font-weight: 700;
    color: var(--flow);
    padding-block: 0.6rem;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.band__side::-webkit-details-marker
{
    display: none;
}

.band__side::before
{
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-inline-end: 2px solid var(--shell);
    border-bottom: 2px solid var(--shell);
    transform: rotate(45deg);
    transition: transform 0.15s ease;
}

.band[open] .band__side::before
{
    transform: rotate(-135deg);
}

.band__bold
{
    columns: 2;
    gap: 2rem;
    margin: 0 0 0.75rem;
    padding-inline-start: 1.2rem;
    font-size: 0.95rem;
}

.band__bold li
{
    break-inside: avoid;
    margin-bottom: 0.3rem;
}

.band__bold a
{
    color: var(--main);
    text-underline-offset: 3px;
}

.band__bold a:hover
{
    color: var(--flow);
}

.column
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.matrix
{
    display: flex;
    flex-direction: column;
    background: var(--alt);
    border: 1px solid var(--field);
    border-radius: var(--body);
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.matrix:hover
{
    border-color: var(--shell);
    transform: translateY(-2px);
}

.matrix__link
{
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--paper);
}

.matrix__link img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.matrix__thumb
{
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.85rem;
    margin-top: auto;
}

.matrix__on
{
    font-weight: 600;
    color: var(--flow);
    line-height: 1.3;
    margin: 0;
}

.matrix .braid
{
    width: 100%;
    padding-block: 0.5rem;
    font-size: 0.95rem;
}

.row__foot
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.module
{
    background: var(--brand);
    border: 1px solid var(--field);
    border-radius: var(--body);
    padding: 1.1rem 1.2rem;
}

.module__large
{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.module__outer
{
    font-weight: 700;
    color: var(--flow);
}

.module__top
{
    color: var(--shell);
    font-weight: 700;
    white-space: nowrap;
}

.module__dark
{
    margin: 0;
    color: var(--main);
}

.unit__off
{
    display: grid;
    gap: 0.5rem;
    max-width: var(--tile);
}

.unit__view
{
    border: 1px solid var(--field);
    border-radius: var(--wide);
    background: var(--alt);
    padding: 0 1.1rem;
}

.unit__foot
{
    cursor: pointer;
    font-weight: 600;
    color: var(--flow);
    padding-block: 0.9rem;
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.unit__foot::-webkit-details-marker
{
    display: none;
}

.unit__foot::before
{
    content: "+";
    color: var(--shell);
    font-weight: 700;
    line-height: 1.4;
    flex-shrink: 0;
}

.unit__view[open] .unit__foot::before
{
    content: "−";
}

.unit__link
{
    color: var(--main);
    padding-bottom: 1rem;
}

.unit__link > :first-child
{
    margin-top: 0;
}

.unit__link > :last-child
{
    margin-bottom: 0;
}

.ribbon
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 1.5rem;
    border-radius: var(--body);
    background: color-mix(in srgb, var(--shell) 12%, var(--paper));
    border: 1px solid color-mix(in srgb, var(--shell) 35%, var(--field));
}

.ribbon__cell
{
    margin: 0;
    font-size: var(--stroke);
    font-weight: 800;
    color: var(--flow);
    text-wrap: balance;
}

.ribbon__less
{
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--main);
}

.entry
{
    border-top: 1px solid var(--field);
    background: var(--brand);
    color: var(--core);
    padding-block: 2rem 6rem;
}

.entry__line
{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--field);
}

.entry__figure
{
    margin-inline-end: auto;
    font-weight: 700;
    color: var(--flow);
}

.entry__figure img
{
    height: 32px;
    width: auto;
    object-fit: contain;
}

.entry__link
{
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
}

.entry__link:empty
{
    display: none;
}

.entry__link a
{
    text-decoration: none;
}

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

.entry__bottom
{
    width: min(100% - 2rem, var(--ink));
    margin-inline: auto;
    padding-top: 1.25rem;
    font-size: 0.85rem;
    display: grid;
    gap: 0.5rem;
}

.entry__bottom p
{
    margin: 0;
}

.entry__image
{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.shell
{
    display: inline-grid;
    place-items: center;
    min-width: 2.1rem;
    height: 2.1rem;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.78rem;
}

.holder
{
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--plain);
    color: var(--head);
    border-top: 1px solid color-mix(in srgb, var(--shell) 45%, transparent);
}

.holder__bold
{
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.holder__last
{
    font-weight: 800;
    color: var(--head);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.holder__dark
{
    font-size: 0.75rem;
    opacity: 0.7;
}

.holder .braid
{
    margin-inline-start: auto;
    flex-shrink: 0;
}

@media (max-width: 960px) {
    .badge__lead
    {
        grid-template-columns: 1fr;
        grid-template-areas: "title" "offer" "text";
        gap: 1.25rem;
    }

    .door
    {
        grid-template-columns: 1fr;
    }

    .door__off
    {
        max-width: 260px;
        margin-inline: auto;
    }

}
@media (max-width: 700px) {
    .band__bold
    {
        columns: 1;
    }

    .column
    {
        grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
        gap: 0.75rem;
    }

}
@media (max-width: 640px) {
    .strip
    {
        position: static;
    }

    .strip__icon
    {
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
        padding-block: 0.6rem;
    }

    .strip__icon
    {
        flex-wrap: nowrap;
    }

    .peak, .strip__info .braid_wide, .sheet
    {
        display: none;
    }

    .peak + .strip__info
    {
        margin-inline-start: auto;
    }

    .batch
    {
        display: block;
        order: 3;
    }

    .strip__info
    {
        margin-inline-start: auto;
    }

    .strip__info .braid
    {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .slot
    {
        padding-block: 1.75rem;
    }

    .ribbon, .district__meta
    {
        padding: 1.15rem;
    }

    .ribbon .braid_less, .badge__icon .braid_less
    {
        width: 100%;
    }

    .holder__dark
    {
        display: none;
    }

}
@media (prefers-reduced-motion: reduce) {
    *, *::before
    {
        transition: none !important;
    }

}
