:root {
    --body: #0b1220;
    --space: #dfe5f0;
    --card: #ffffff;
    --brand: #ffb300;
    --size: #111111;
    --stroke: #d99700;
    --band: #070b16;
    --flow: #ffffff;
    --cool: color-mix(in srgb, var(--space) 6%, var(--body));
    --base: color-mix(in srgb, var(--space) 3%, var(--body));
    --shell: color-mix(in srgb, var(--space) 18%, var(--body));
    --ink: color-mix(in srgb, var(--space) 68%, var(--body));
    --lead: 1160px;
    --tile: 78ch;
    --fill: 14px;
    --core: 8px;
    --main: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
    --lift: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    --plain: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
    --flat: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
    --warm: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem);
}

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

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

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

a {
    color: inherit;
}

.patch {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--band);
    color: var(--flow);
}

.patch-small, .level-edge, .lot-foot, .beam-plain, .set-first {
    width: min(100% - 2rem, var(--lead));
    margin-inline: auto;
}

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

.arc {
    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;
}

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

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

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

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

.wrapper:empty {
    display: none;
}

.wrapper:empty + .patch-bold {
    margin-inline-start: auto;
}

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

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

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

.pane-view::-webkit-details-marker {
    display: none;
}

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

.pane-view span {
    position: relative;
}

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

.pane-view span::after {
    position: absolute;
    top: 6px;
}

.pane-sub {
    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(--band);
    border: 1px solid color-mix(in srgb, var(--flow) 20%, transparent);
    border-radius: var(--fill);
    box-shadow: var(--main);
}

.pane-sub a {
    padding: 0.6rem 0.7rem;
    border-radius: var(--core);
    text-decoration: none;
    color: var(--flow);
}

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

.pane-sub .wrap {
    margin-top: 0.4rem;
    color: var(--flow);
    border-color: color-mix(in srgb, var(--flow) 40%, transparent);
}

.patch .wrap-wide {
    color: inherit;
    border-color: color-mix(in srgb, var(--flow) 45%, transparent);
}

.patch .wrap-wide:hover {
    background: color-mix(in srgb, var(--flow) 14%, transparent);
}

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

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

.beam-plain::-webkit-scrollbar {
    display: none;
}

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

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

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

.wrap:hover {
    background: var(--stroke);
}

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

.wrap-wide {
    background: transparent;
    color: var(--card);
    border-color: var(--shell);
}

.wrap-wide:hover {
    background: var(--cool);
}

.wrap-flat {
    padding: 0.9rem 1.8rem;
    font-size: var(--plain);
}

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

.strip2 h2, .chunk, .set-side, .strip2 h3, .holder h3, .holder h2 {
    color: var(--card);
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.chunk {
    font-size: var(--warm);
    margin: 0 0 1rem;
}

.set-side {
    font-size: var(--flat);
    margin: 0 0 1.25rem;
}

.holder h3, .strip2 h3 {
    font-size: var(--plain);
    margin: 1.75rem 0 0.5rem;
}

.holder p, .strip2 p {
    margin: 0 0 1rem;
}

.holder > :last-child, .strip2 > :last-child {
    margin-bottom: 0;
}

.strip2 a, .holder a {
    color: color-mix(in srgb, var(--brand) 72%, var(--card));
    text-underline-offset: 3px;
}

.column {
    display: block;
}

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

.column > .set:not(.level):nth-of-type(odd) {
    background: var(--cool);
}

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

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

.set-list .strip2 ul > li {
    position: relative;
    padding-inline-start: 1.9rem;
    padding-block: 0.15rem;
}

.set-list .strip2 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(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(-45deg);
}

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

.set-list .strip2 ol > li {
    counter-increment: step;
    position: relative;
    padding-inline-start: 2.6rem;
}

.set-list .strip2 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(--brand);
    color: var(--size);
    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(--shell);
    border-inline-start: 3px solid var(--ink);
    border-radius: 0 var(--core) var(--core) 0;
    background: var(--cool);
    font-size: 0.95rem;
}

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

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

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

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

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

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

.note--rg {
    border: 1px solid color-mix(in srgb, var(--card) 30%, var(--shell));
    border-radius: var(--fill);
    background: var(--base);
}

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

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

.holder blockquote, .strip2 blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-inline-start: 3px solid var(--brand);
    border-radius: 0 var(--core) var(--core) 0;
    background: var(--cool);
    color: var(--ink);
    font-size: 0.95rem;
}

.strip2 blockquote p, .holder blockquote p {
    margin: 0 0 0.6rem;
}

.strip2 blockquote > :last-child, .holder blockquote > :last-child {
    margin-bottom: 0;
}

.strip2 blockquote strong, .holder blockquote strong {
    color: var(--card);
}

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

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

.set-table .strip2 {
    max-width: none;
    overflow-x: auto;
}

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

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

.strip2 thead th {
    background: color-mix(in srgb, var(--brand) 16%, var(--cool));
    color: var(--card);
    font-weight: 700;
    white-space: nowrap;
}

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

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

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

.tier-narrow {
    border: 1px solid var(--shell);
    border-radius: var(--fill);
    box-shadow: var(--main);
    width: 100%;
}

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

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

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

.mesh-thumb a {
    color: var(--brand);
    font-weight: 600;
}

.core {
    text-align: center;
}

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

.core-open {
    max-width: 46ch;
    margin-inline: auto;
    color: var(--ink);
}

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

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

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

.level .chunk {
    grid-area: title;
    color: #ffffff;
}

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

.level .holder {
    margin-bottom: 1.5rem;
}

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

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

.promo .wrap {
    width: 100%;
}

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

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

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

.promo-narrow {
    font-weight: 800;
    font-size: var(--plain);
    color: inherit;
    text-align: center;
}

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

.promo-side {
    font-size: var(--flat);
    font-weight: 800;
    line-height: 1.15;
    color: var(--card);
    margin: 0;
    text-wrap: balance;
}

.promo-thumb {
    font-size: 0.8rem;
    color: var(--ink);
    margin: 0;
}

.route {
    padding-block: 1.5rem;
}

.ceiling {
    border: 1px solid var(--shell);
    border-radius: var(--fill);
    background: var(--base);
    padding: 0.5rem 1.1rem;
}

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

.ceiling-plain::-webkit-details-marker {
    display: none;
}

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

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

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

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

.ceiling-stub a {
    color: var(--ink);
    text-underline-offset: 3px;
}

.ceiling-stub a:hover {
    color: var(--card);
}

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

.layer {
    display: flex;
    flex-direction: column;
    background: var(--base);
    border: 1px solid var(--shell);
    border-radius: var(--fill);
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

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

.layer-line {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--cool);
}

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

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

.layer-narrow {
    font-weight: 600;
    color: var(--card);
    line-height: 1.3;
    margin: 0;
}

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

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

.porch {
    background: var(--body);
    border: 1px solid var(--shell);
    border-radius: var(--fill);
    padding: 1.1rem 1.2rem;
}

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

.porch-outer {
    font-weight: 700;
    color: var(--card);
}

.porch-open {
    color: var(--brand);
    font-weight: 700;
    white-space: nowrap;
}

.porch-less {
    margin: 0;
    color: var(--ink);
}

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

.leaf-stub {
    border: 1px solid var(--shell);
    border-radius: var(--core);
    background: var(--base);
    padding: 0 1.1rem;
}

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

.leaf-light::-webkit-details-marker {
    display: none;
}

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

.leaf-stub[open] .leaf-light::before {
    content: "−";
}

.leaf-small {
    color: var(--ink);
    padding-bottom: 1rem;
}

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

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

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

.unit-flat {
    margin: 0;
    font-size: var(--plain);
    font-weight: 800;
    color: var(--card);
    text-wrap: balance;
}

.unit-info {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--ink);
}

.lot {
    border-top: 1px solid var(--shell);
    background: var(--cool);
    color: var(--ink);
    padding-block: 2rem 6rem;
}

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

.lot-shut {
    margin-inline-end: auto;
    font-weight: 700;
    color: var(--card);
}

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

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

.lot-info:empty {
    display: none;
}

.lot-info a {
    text-decoration: none;
}

.lot-info a:hover {
    text-decoration: underline;
}

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

.lot-on p {
    margin: 0;
}

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

.stem {
    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;
}

.field2 {
    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(--brand) 14%, var(--band));
    color: var(--flow);
    border-top: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
}

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

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

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

.field2 .wrap {
    margin-inline-start: auto;
    flex-shrink: 0;
}

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

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

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

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

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

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

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

    .patch-small {
        flex-wrap: nowrap;
    }

    .patch-bold .wrap-wide, .beam, .wrapper {
        display: none;
    }

    .wrapper + .patch-bold {
        margin-inline-start: auto;
    }

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

    .patch-bold {
        margin-inline-start: auto;
    }

    .patch-bold .wrap {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .set {
        padding-block: 1.75rem;
    }

    .promo-large, .unit {
        padding: 1.15rem;
    }

    .unit .wrap-flat, .level-flat .wrap-flat {
        width: 100%;
    }

    .field2-figure {
        display: none;
    }

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

}
