:root {
    --thin: #0b1220;
    --round: #dfe5f0;
    --lead: #fff;
    --body: #ffb300;
    --depth: #111;
    --wide: #d99700;
    --edge: #070b16;
    --soft: #fff;
    --core: color-mix(in srgb, var(--round) 6%, var(--thin));
    --flow: color-mix(in srgb, var(--round) 3%, var(--thin));
    --size: color-mix(in srgb, var(--round) 18%, var(--thin));
    --warm: color-mix(in srgb, var(--round) 68%, var(--thin));
    --zone: 1160px;
    --fill: 78ch;
    --brand: 14px;
    --band: 8px;
    --lift: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
    --paper: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    --alt: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
    --base: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
    --tone: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem)
}

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

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

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

a {
    color: inherit
}

.teaser {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--edge);
    color: var(--soft)
}

.badge_meta, .deck_foot, .teaser_info, .peak_less, .slab_light {
    width: min(100% - 2rem, var(--zone));
    margin-inline: auto
}

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

.loop {
    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
}

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

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

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

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

.bundle:empty {
    display: none
}

.bundle:empty + .teaser_flat {
    margin-inline-start: auto
}

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

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

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

.strip_last::-webkit-details-marker {
    display: none
}

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

.strip_last span {
    position: relative
}

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

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

.strip_thumb {
    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(--edge);
    border: 1px solid color-mix(in srgb, var(--soft) 20%, transparent);
    border-radius: var(--brand);
    box-shadow: var(--lift)
}

.strip_thumb a {
    padding: 0.6rem 0.7rem;
    border-radius: var(--band);
    text-decoration: none;
    color: var(--soft)
}

.strip_thumb a:hover {
    background: color-mix(in srgb, var(--soft) 12%, transparent)
}

.strip_thumb .surface {
    margin-top: 0.4rem;
    color: var(--soft);
    border-color: color-mix(in srgb, var(--soft) 40%, transparent)
}

.teaser .surface_sub {
    color: inherit;
    border-color: color-mix(in srgb, var(--soft) 45%, transparent)
}

.teaser .surface_sub:hover {
    background: color-mix(in srgb, var(--soft) 14%, transparent)
}

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

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

.slab_light::-webkit-scrollbar {
    display: none
}

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

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

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

.surface:hover {
    background: var(--wide)
}

.surface:active {
    transform: translateY(1px)
}

.surface_sub {
    background: transparent;
    color: var(--lead);
    border-color: var(--size)
}

.surface_sub:hover {
    background: var(--core)
}

.surface_cell {
    padding: 0.9rem 1.8rem;
    font-size: var(--alt)
}

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

.plane h3, .step, .deck_figure, .gate h3, .plane h2, .gate h2 {
    color: var(--lead);
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance
}

.step {
    font-size: var(--tone);
    margin: 0 0 1rem
}

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

.plane h3, .gate h3 {
    font-size: var(--alt);
    margin: 1.75rem 0 0.5rem
}

.gate p, .plane p {
    margin: 0 0 1rem
}

.gate > :last-child, .plane > :last-child {
    margin-bottom: 0
}

.plane a, .gate a {
    color: color-mix(in srgb, var(--body) 72%, var(--lead));
    text-underline-offset: 3px
}

.gutter {
    display: block
}

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

.gutter > .deck:not(.badge):nth-of-type(odd) {
    background: var(--core)
}

.plane {
    max-width: var(--fill)
}

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

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

.deck_list .plane 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(--body);
    border-bottom: 2px solid var(--body);
    transform: rotate(-45deg)
}

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

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

.deck_list .plane 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(--body);
    color: var(--depth);
    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(--size);
    border-inline-start: 3px solid var(--warm);
    border-radius: 0 var(--band) var(--band) 0;
    background: var(--core);
    font-size: 0.95rem
}

.note p {
    margin: 0 0 0.6rem
}

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

.note strong {
    color: var(--lead)
}

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

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

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

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

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

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

.gate blockquote, .plane blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-inline-start: 3px solid var(--body);
    border-radius: 0 var(--band) var(--band) 0;
    background: var(--core);
    color: var(--warm);
    font-size: 0.95rem
}

.gate blockquote p, .plane blockquote p {
    margin: 0 0 0.6rem
}

.plane blockquote > :last-child, .gate blockquote > :last-child {
    margin-bottom: 0
}

.plane blockquote strong, .gate blockquote strong {
    color: var(--lead)
}

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

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

.deck_table .plane {
    max-width: none;
    overflow-x: auto
}

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

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

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

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

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

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

.root_thumb {
    border: 1px solid var(--size);
    border-radius: var(--brand);
    box-shadow: var(--lift);
    width: 100%
}

.badge {
    position: relative;
    padding-block: clamp(2rem, 1.2rem + 3vw, 4rem);
    background: var(--edge);
    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(--ink, none);
    background-size: cover;
    background-position: center
}

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

.pill_flat a {
    color: var(--body);
    font-weight: 600
}

.mesh {
    text-align: center
}

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

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

.mesh_first {
    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(--space, var(--ink, none))
    }

}
.badge_meta {
    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 .step {
    grid-area: title;
    color: #fff
}

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

.badge .gate {
    margin-bottom: 1.5rem
}

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

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

.sheet2 .surface {
    width: 100%
}

.sheet2_shut {
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: 0.9rem 1.25rem;
    background: color-mix(in srgb, var(--body) 22%, var(--thin));
    color: var(--lead);
    border-bottom: 3px solid var(--body)
}

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

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

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

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

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

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

.case {
    padding-block: 1.5rem
}

.sheet {
    border: 1px solid var(--size);
    border-radius: var(--brand);
    background: var(--flow);
    padding: 0.5rem 1.1rem
}

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

.sheet_soft::-webkit-details-marker {
    display: none
}

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

.sheet[open] .sheet_soft::before {
    transform: rotate(-135deg)
}

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

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

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

.sheet_first a:hover {
    color: var(--lead)
}

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

.bay {
    display: flex;
    flex-direction: column;
    background: var(--flow);
    border: 1px solid var(--size);
    border-radius: var(--brand);
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease
}

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

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

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

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

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

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

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

.footer2 {
    background: var(--thin);
    border: 1px solid var(--size);
    border-radius: var(--brand);
    padding: 1.1rem 1.2rem
}

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

.footer2_top {
    font-weight: 700;
    color: var(--lead)
}

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

.footer2_thumb {
    margin: 0;
    color: var(--warm)
}

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

.lane_soft {
    border: 1px solid var(--size);
    border-radius: var(--band);
    background: var(--flow);
    padding: 0 1.1rem
}

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

.lane_link::-webkit-details-marker {
    display: none
}

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

.lane_soft[open] .lane_link::before {
    content: "−"
}

.lane_view {
    color: var(--warm);
    padding-bottom: 1rem
}

.lane_view > :first-child {
    margin-top: 0
}

.lane_view > :last-child {
    margin-bottom: 0
}

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

.seam_meta {
    margin: 0;
    font-size: var(--alt);
    font-weight: 800;
    color: var(--lead);
    text-wrap: balance
}

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

.peak {
    border-top: 1px solid var(--size);
    background: var(--core);
    color: var(--warm);
    padding-block: 2rem 6rem
}

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

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

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

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

.peak_flat:empty {
    display: none
}

.peak_flat a {
    text-decoration: none
}

.peak_flat a:hover {
    text-decoration: underline
}

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

.peak_icon p {
    margin: 0
}

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

.body2 {
    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
}

.pane {
    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: color-mix(in srgb, var(--body) 14%, var(--edge));
    color: var(--soft);
    border-top: 1px solid color-mix(in srgb, var(--body) 45%, transparent)
}

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

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

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

.pane .surface {
    margin-inline-start: auto;
    flex-shrink: 0
}

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

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

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

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

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

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

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

    .teaser_info {
        flex-wrap: nowrap
    }

    .bundle, .teaser_flat .surface_sub, .slab {
        display: none
    }

    .bundle + .teaser_flat {
        margin-inline-start: auto
    }

    .strip {
        display: block;
        order: 3
    }

    .teaser_flat {
        margin-inline-start: auto
    }

    .teaser_flat .surface {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem
    }

    .deck {
        padding-block: 1.75rem
    }

    .sheet2_top, .seam {
        padding: 1.15rem
    }

    .seam .surface_cell, .badge_bold .surface_cell {
        width: 100%
    }

    .pane_top {
        display: none
    }

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

}
