:root {
    --base: #0b1220;
    --head: #dfe5f0;
    --body: #ffffff;
    --main: #ffb300;
    --lift: #111111;
    --line: #d99700;
    --card: #070b16;
    --ink: #ffffff;
    --alt: color-mix(in srgb, var(--head) 6%, var(--base));
    --paper: color-mix(in srgb, var(--head) 3%, var(--base));
    --size: color-mix(in srgb, var(--head) 18%, var(--base));
    --lead: var(--head);
    --round: 1160px;
    --deep: 78ch;
    --flat: 14px;
    --tile: 8px;
    --dim: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
    --band: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    --frame: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
    --wide: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
    --bold: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem)
}
*, *::after, *::before {
    box-sizing: border-box
}
body {
    margin: 0;
    background: var(--base);
    color: var(--head);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: var(--band);
    line-height: 1.65;
    -webkit-text-size-adjust: 100%;
    overflow-wrap: break-word
}
img {
    max-width: 100%;
    height: auto;
    display: block
}
a {
    color: inherit
}
.layer {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--card);
    color: var(--ink)
}
.course-outer, .base-outer, .roof-narrow, .layer-bold, .window-plain {
    width: min(100% - 2rem, var(--round));
    margin-inline: auto
}
.layer-bold {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 60px;
    padding-block: 0.5rem
}
.rail {
    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
}
.rail img {
    height: 32px;
    width: auto;
    object-fit: contain
}
.gate {
    display: flex;
    gap: 0.15rem;
    margin-inline-end: auto;
    min-width: 0
}
.gate a {
    padding: 0.4rem 0.7rem;
    border-radius: var(--tile);
    text-decoration: none;
    color: inherit;
    opacity: 0.82;
    white-space: nowrap;
    font-size: 0.92rem
}
.gate a:hover {
    background: color-mix(in srgb, var(--ink) 14%, transparent);
    opacity: 1
}
.gate:empty {
    display: none
}
.gate:empty + .layer-outer {
    margin-inline-start: auto
}
.layer-outer {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0
}
.record {
    display: none;
    position: relative;
    flex-shrink: 0
}
.record-first {
    list-style: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
    border-radius: var(--tile)
}
.record-first::-webkit-details-marker {
    display: none
}
.record-first span::before, .record-first span::after, .record-first span {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px
}
.record-first span {
    position: relative
}
.record-first span::before {
    position: absolute;
    top: -6px
}
.record-first span::after {
    position: absolute;
    top: 6px
}
.record-flat {
    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(--card);
    border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
    border-radius: var(--flat);
    box-shadow: var(--dim)
}
.record-flat a {
    padding: 0.6rem 0.7rem;
    border-radius: var(--tile);
    text-decoration: none;
    color: var(--ink)
}
.record-flat a:hover {
    background: color-mix(in srgb, var(--ink) 12%, transparent)
}
.record-flat .step {
    margin-top: 0.4rem;
    color: var(--ink);
    border-color: color-mix(in srgb, var(--ink) 40%, transparent)
}
.layer .step--outer {
    color: inherit;
    border-color: color-mix(in srgb, var(--ink) 45%, transparent)
}
.layer .step--outer:hover {
    background: color-mix(in srgb, var(--ink) 14%, transparent)
}
.course {
    background: color-mix(in srgb, var(--ink) 8%, var(--card));
    border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
    font-size: 0.9rem
}
.course-outer {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none
}
.course-outer::-webkit-scrollbar {
    display: none
}
.course a {
    padding: 0.55rem 0.7rem;
    text-decoration: none;
    color: var(--ink);
    opacity: 0.8;
    white-space: nowrap;
    border-bottom: 2px solid transparent
}
.course a:hover {
    opacity: 1;
    border-bottom-color: var(--main)
}
.step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid var(--zone, transparent);
    border-radius: var(--tile);
    padding: 0.6rem 1.1rem;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    background: var(--main);
    color: var(--lift);
    transition: background-color 0.15s ease, transform 0.05s ease
}
.step:hover {
    background: var(--line)
}
.step:active {
    transform: translateY(1px)
}
.step--outer {
    background: transparent;
    color: var(--body);
    border-color: var(--size)
}
.step--outer:hover {
    background: var(--alt)
}
.step--lead {
    padding: 0.9rem 1.8rem;
    font-size: var(--frame)
}
:focus-visible {
    outline: 2px solid var(--main);
    outline-offset: 2px
}
.batch h3, .span, .batch h2, .tract h2, .base-flat, .tract h3 {
    color: var(--body);
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance
}
.span {
    font-size: var(--bold);
    margin: 0 0 1rem
}
.base-flat {
    font-size: var(--wide);
    margin: 0 0 1.25rem
}
.tract h3, .batch h3 {
    font-size: var(--frame);
    margin: 1.75rem 0 0.5rem
}
.batch p, .tract p {
    margin: 0 0 1rem
}
.tract > :last-child, .batch > :last-child {
    margin-bottom: 0
}
.batch a, .tract a {
    color: color-mix(in srgb, var(--main) 72%, var(--body));
    text-underline-offset: 3px
}
.unit {
    display: block
}
.base {
    padding-block: clamp(2rem, 1.4rem + 2vw, 3.5rem);
    scroll-margin-top: 72px
}
.unit > .base:not(.window):nth-of-type(odd) {
    background: var(--alt)
}
.batch {
    max-width: var(--deep)
}
.base--list .batch ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: 0.5rem
}
.base--list .batch ul > li {
    position: relative;
    padding-inline-start: 1.9rem;
    padding-block: 0.15rem
}
.base--list .batch 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(--main);
    border-bottom: 2px solid var(--main);
    transform: rotate(-45deg)
}
.base--list .batch ol {
    counter-reset: step;
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.6rem
}
.base--list .batch ol > li {
    counter-increment: step;
    position: relative;
    padding-inline-start: 2.6rem
}
.base--list .batch 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(--main);
    color: var(--lift);
    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(--lead);
    border-radius: 0 var(--tile) var(--tile) 0;
    background: var(--alt);
    font-size: 0.95rem
}
.note p {
    margin: 0 0 0.6rem
}
.note > :last-child {
    margin-bottom: 0
}
.note strong {
    color: var(--body)
}
.note--disclosure {
    color: var(--lead);
    font-size: 0.88rem;
    background: transparent;
    border-inline-start-color: var(--size)
}
.note--warning {
    border-inline-start-color: var(--main);
    background: color-mix(in srgb, var(--main) 10%, var(--base))
}
.note--takeaway {
    font-variant-numeric: tabular-nums;
    border-inline-start-color: var(--body)
}
.note--rg {
    border: 1px solid color-mix(in srgb, var(--body) 30%, var(--size));
    border-radius: var(--flat);
    background: var(--paper)
}
.note--rg a {
    font-weight: 600
}
.note--independent {
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: var(--lead);
    background: transparent;
    border: 0;
    border-top: 1px solid var(--size);
    border-radius: 0;
    padding: 1rem 0 0
}
.batch blockquote, .tract blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-inline-start: 3px solid var(--main);
    border-radius: 0 var(--tile) var(--tile) 0;
    background: var(--base);
    color: var(--head);
    font-size: 0.95rem
}
.batch blockquote p, .tract blockquote p {
    margin: 0 0 0.6rem
}
.batch blockquote > :last-child, .tract blockquote > :last-child {
    margin-bottom: 0
}
.tract blockquote strong, .batch blockquote strong {
    color: var(--body)
}
.batch hr {
    border: 0;
    border-top: 1px solid var(--size);
    margin: 2rem 0
}
.batch table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    background: var(--paper);
    border: 1px solid var(--size);
    border-radius: var(--flat);
    overflow: hidden
}
.base--table .batch {
    max-width: none;
    overflow-x: auto
}
.batch td, .batch th {
    border-bottom: 1px solid var(--size);
    padding: 0.7rem 0.9rem;
    text-align: start;
    vertical-align: top
}
.batch caption {
    caption-side: top;
    text-align: start;
    padding: 0 0 0.6rem;
    font-weight: 700;
    color: var(--body)
}
.batch thead th {
    background: color-mix(in srgb, var(--main) 16%, var(--alt));
    color: var(--head);
    font-weight: 700;
    white-space: nowrap
}
.batch tbody tr:last-child td {
    border-bottom: 0
}
.batch tbody tr:nth-child(even) {
    background: color-mix(in srgb, var(--head) 3%, transparent)
}
.arc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
    gap: 2rem;
    align-items: start
}
.arc-copy {
    border: 1px solid var(--size);
    border-radius: var(--flat);
    box-shadow: var(--dim);
    width: 100%
}
.window {
    position: relative;
    padding-block: clamp(2rem, 1.2rem + 3vw, 4rem);
    background: var(--card);
    isolation: isolate
}
.window::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--grid, none);
    background-size: cover;
    background-position: center
}
.zone2-foot {
    margin-top: 1.25rem;
    text-align: center
}
.zone2-foot a {
    color: var(--main);
    font-weight: 600
}
.lattice {
    text-align: center
}
.lattice-small {
    font-size: clamp(3.5rem, 12vw, 6rem);
    line-height: 1;
    font-weight: 800;
    color: var(--main);
    margin-bottom: 0.5rem
}
.lattice-side {
    max-width: 46ch;
    margin-inline: auto;
    color: var(--lead)
}
.lattice-light {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem
}
@media (max-width: 700px) {
    .window::before {
        background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--flow, var(--grid, none))
    }
}
.window-plain {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 22rem);
    grid-template-areas: "title offer" "text offer";
    align-content: start;
    gap: 0 2rem
}
.window .span {
    grid-area: title;
    color: #ffffff
}
.window-shut {
    grid-area: text;
    color: #f2f4f8;
    max-width: 62ch
}
.window .tract {
    margin-bottom: 1.5rem
}
.window-small {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    opacity: 0.75
}
.teaser {
    grid-area: offer;
    background: var(--base);
    border: 1px solid color-mix(in srgb, var(--main) 40%, var(--size));
    border-radius: var(--flat);
    box-shadow: var(--dim);
    overflow: hidden;
    align-self: start
}
.teaser .step {
    width: 100%
}
.teaser-light {
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: 0.9rem 1.25rem;
    background: color-mix(in srgb, var(--main) 12%, var(--base));
    color: var(--body);
    border-bottom: 3px solid var(--main)
}
.teaser-light img {
    height: 42px;
    width: auto;
    max-width: 100%;
    object-fit: contain
}
.teaser-off {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.25rem;
    text-align: center
}
.teaser-view {
    font-weight: 800;
    font-size: var(--frame);
    color: inherit;
    text-align: center
}
.teaser-alt {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--lead);
    margin: 0
}
.teaser-less {
    font-size: var(--wide);
    font-weight: 800;
    line-height: 1.15;
    color: var(--body);
    margin: 0;
    text-wrap: balance
}
.teaser-cell {
    font-size: 0.8rem;
    color: var(--lead);
    margin: 0
}
.group {
    padding-block: 1.5rem
}
.hall {
    border: 1px solid var(--size);
    border-radius: var(--flat);
    background: var(--paper);
    padding: 0.5rem 1.1rem
}
.hall-icon {
    cursor: pointer;
    font-weight: 700;
    color: var(--body);
    padding-block: 0.6rem;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem
}
.hall-icon::-webkit-details-marker {
    display: none
}
.hall-icon::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-inline-end: 2px solid var(--main);
    border-bottom: 2px solid var(--main);
    transform: rotate(45deg);
    transition: transform 0.15s ease
}
.hall[open] .hall-icon::before {
    transform: rotate(-135deg)
}
.hall-sub {
    columns: 2;
    gap: 2rem;
    margin: 0 0 0.75rem;
    padding-inline-start: 1.2rem;
    font-size: 0.95rem
}
.hall-sub li {
    break-inside: avoid;
    margin-bottom: 0.3rem
}
.hall-sub a {
    color: var(--lead);
    text-underline-offset: 3px
}
.hall-sub a:hover {
    color: var(--body)
}
.route {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0
}
.entry {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--size);
    border-radius: var(--flat);
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease
}
.entry:hover {
    border-color: var(--main);
    transform: translateY(-2px)
}
.entry-top {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--alt)
}
.entry-top img {
    width: 100%;
    height: 100%;
    object-fit: cover
}
.entry-icon {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.85rem;
    margin-top: auto
}
.entry-image {
    font-weight: 600;
    color: var(--body);
    line-height: 1.3;
    margin: 0
}
.entry .step {
    width: 100%;
    padding-block: 0.5rem;
    font-size: 0.95rem
}
.trunk-on {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0
}
.ridge {
    background: var(--base);
    border: 1px solid var(--size);
    border-radius: var(--flat);
    padding: 1.1rem 1.2rem
}
.ridge-bold {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem
}
.ridge-meta {
    font-weight: 700;
    color: var(--body)
}
.ridge-alt {
    color: var(--main);
    font-weight: 700;
    white-space: nowrap
}
.ridge-icon {
    margin: 0;
    color: var(--lead)
}
.wrap-info {
    display: grid;
    gap: 0.5rem;
    max-width: var(--deep)
}
.wrap-soft {
    border: 1px solid var(--size);
    border-radius: var(--tile);
    background: var(--paper);
    padding: 0 1.1rem
}
.wrap-edge {
    cursor: pointer;
    font-weight: 600;
    color: var(--body);
    padding-block: 0.9rem;
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem
}
.wrap-edge::-webkit-details-marker {
    display: none
}
.wrap-edge::before {
    content: "+";
    color: var(--main);
    font-weight: 700;
    line-height: 1.4;
    flex-shrink: 0
}
.wrap-soft[open] .wrap-edge::before {
    content: "−"
}
.wrap-view {
    color: var(--lead);
    padding-bottom: 1rem
}
.wrap-view > :first-child {
    margin-top: 0
}
.wrap-view > :last-child {
    margin-bottom: 0
}
.shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 1.5rem;
    border-radius: var(--flat);
    background: color-mix(in srgb, var(--main) 12%, var(--alt));
    border: 1px solid color-mix(in srgb, var(--main) 35%, var(--size))
}
.shell-view {
    margin: 0;
    font-size: var(--frame);
    font-weight: 800;
    color: var(--body);
    text-wrap: balance
}
.shell-less {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--lead)
}
.roof {
    border-top: 1px solid var(--size);
    background: var(--base);
    color: var(--head);
    padding-block: 2rem 6rem
}
.roof-narrow {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--size)
}
.roof-meta {
    margin-inline-end: auto;
    font-weight: 700;
    color: var(--body)
}
.roof-meta img {
    height: 32px;
    width: auto;
    object-fit: contain
}
.roof-first {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem
}
.roof-first:empty {
    display: none
}
.roof-first a {
    text-decoration: none
}
.roof-first a:hover {
    text-decoration: underline
}
.roof-view {
    width: min(100% - 2rem, var(--round));
    margin-inline: auto;
    padding-top: 1.25rem;
    font-size: 0.85rem;
    display: grid;
    gap: 0.5rem
}
.roof-view p {
    margin: 0
}
.roof-shut {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap
}
.district {
    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
}
.ceiling {
    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(--card);
    color: var(--ink);
    border-top: 1px solid color-mix(in srgb, var(--main) 45%, transparent)
}
.ceiling-narrow {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25
}
.ceiling-link {
    font-weight: 800;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}
.ceiling-edge {
    font-size: 0.75rem;
    opacity: 0.7
}
.ceiling .step {
    margin-inline-start: auto;
    flex-shrink: 0
}
@media (max-width: 960px) {
    .window-plain {
        grid-template-columns: 1fr;
        grid-template-areas: "title" "offer" "text";
        gap: 1.25rem
    }
    .arc {
        grid-template-columns: 1fr
    }
    .arc-copy {
        max-width: 260px;
        margin-inline: auto
    }
}
@media (max-width: 700px) {
    .hall-sub {
        columns: 1
    }
    .route {
        grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
        gap: 0.75rem
    }
}
@media (max-width: 640px) {
    .layer {
        position: static
    }
    .layer-bold {
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
        padding-block: 0.6rem
    }
    .layer-bold {
        flex-wrap: nowrap
    }
    .layer-outer .step--outer, .course, .gate {
        display: none
    }
    .gate + .layer-outer {
        margin-inline-start: auto
    }
    .record {
        display: block;
        order: 3
    }
    .layer-outer {
        margin-inline-start: auto
    }
    .layer-outer .step {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem
    }
    .base {
        padding-block: 1.75rem
    }
    .teaser-off, .shell {
        padding: 1.15rem
    }
    .shell .step--lead, .window-shut .step--lead {
        width: 100%
    }
    .ceiling-edge {
        display: none
    }
}
@media (prefers-reduced-motion: reduce) {
    *::before, * {
        transition: none !important
    }
}
