/* ============ banner (photo, shared treatment) — shorter for a legal page ============ */
.banner {
    position: relative;
    overflow: hidden;
    min-height: clamp(346px, 50svh, 560px);
    display: flex;
    align-items: flex-end;
    padding: 124px 0 64px;
    background:
        radial-gradient(120% 140% at 50% -30%, #0D1426 0%, var(--space-900) 60%),
        linear-gradient(180deg, #06080F 0%, #04050C 100%);
    border-bottom: 1px solid var(--line);
    margin-top: 64px;
}

.banner-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden
}

.banner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

.banner-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 95% at 72% 12%, rgba(231, 196, 92, .20), transparent 58%);
    mix-blend-mode: overlay;
}

.banner-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.pass {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden
}

.sat {
    position: absolute;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, var(--gold-bright), var(--gold) 55%, var(--gold-deep) 100%);
    box-shadow: 0 0 10px 2px rgba(243, 215, 126, .9), 0 0 24px 7px rgba(231, 196, 92, .35);
    offset-path: path("M -60 430 C 340 160, 980 110, 1560 300");
    offset-rotate: auto;
    animation: pass 22s linear infinite
}

.sat::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 50%;
    width: 46px;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(231, 196, 92, 0), rgba(231, 196, 92, .5));
    border-radius: 2px
}

@keyframes pass {
    0% {
        offset-distance: 0%;
        opacity: 0
    }

    8% {
        opacity: 1
    }

    88% {
        opacity: 1
    }

    100% {
        offset-distance: 100%;
        opacity: 0
    }
}

.banner .wrap {
    position: relative;
    z-index: 3
}

.crumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted)
}

.crumbs a {
    text-decoration: none;
    transition: color .2s
}

.crumbs a:hover {
    color: var(--gold)
}

.crumbs .sl {
    color: var(--line)
}

.crumbs [aria-current] {
    color: var(--ink)
}

.banner h1 {
    font-family: var(--jp-serif);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .03em;
    font-size: clamp(32px, 4.6vw, 52px)
}

.banner .en {
    display: block;
    margin-top: 12px;
    font-family: var(--en);
    font-size: clamp(12px, 1.3vw, 14px);
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold)
}

/* ============ document layout ============ */
.doc {
    padding: clamp(56px, 7vw, 88px) 0 clamp(72px, 9vw, 112px)
}

.doc-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: start
}

/* table of contents (sticky) */
.toc {
    position: sticky;
    top: 32px;
    border-left: 1px solid var(--hair);
    padding-left: 22px
}

.toc h2 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px
}

.toc ol {
    list-style: none;
    counter-reset: toc;
    display: flex;
    flex-direction: column;
    gap: 11px
}

.toc li {
    counter-increment: toc
}

.toc a {
    display: flex;
    gap: 9px;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    line-height: 1.5;
    transition: color .2s
}

.toc a::before {
    content: counter(toc, decimal-leading-zero);
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--gold-deep);
    padding-top: 1px
}

.toc a:hover,
.toc a:focus-visible {
    color: var(--ink)
}

/* article body */
.doc-body {
    min-width: 0;
    max-width: 76ch
}

.lead {
    color: var(--muted);
    font-size: clamp(14.5px, 1.3vw, 16px);
    line-height: 2.05;
    padding-bottom: 36px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--hair)
}

.lead b {
    color: var(--ink);
    font-weight: 500
}

.meta-dates {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 22px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .06em;
    color: var(--muted)
}

.meta-dates b {
    color: var(--gold);
    font-weight: 500
}

.clause {
    padding: 34px 0;
    border-bottom: 1px solid var(--hair);
    scroll-margin-top: 32px
}

.clause h3 {
    font-family: var(--jp-serif);
    font-weight: 600;
    font-size: clamp(18px, 1.8vw, 22px);
    line-height: 1.5;
    margin-bottom: 18px;
    display: flex;
    gap: 14px;
    align-items: baseline
}

.clause h3 .cn {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--gold);
    flex: 0 0 auto;
    padding-top: 2px
}

.clause p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.95;
    margin-bottom: 14px
}

.clause p:last-child {
    margin-bottom: 0
}

.clause b {
    color: var(--ink);
    font-weight: 500
}

.clause ul,
.clause ol {
    margin: 14px 0 14px 2px;
    display: flex;
    flex-direction: column;
    gap: 9px
}

.clause ul {
    list-style: none
}

.clause ul li {
    position: relative;
    padding-left: 20px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.85
}

.clause ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 7px;
    height: 1px;
    background: var(--gold)
}

.clause ol {
    list-style: decimal;
    padding-left: 22px
}

.clause ol li {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.85;
    padding-left: 4px
}

.clause a.inline {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px
}

/* contact block inside document */
.contact-card {
    margin-top: 22px;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 24px 26px;
    background: radial-gradient(90% 200% at 85% 0%, rgba(201, 146, 10, .05), transparent 60%)
}

.contact-card .row {
    display: flex;
    gap: 16px;
    padding: 7px 0;
    font-size: 14.5px
}

.contact-card .k {
    flex: 0 0 120px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding-top: 4px
}

.contact-card .v {
    color: var(--ink)
}

.contact-card .v a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid var(--hair)
}

.sign {
    margin-top: 40px;
    text-align: right;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9
}

.sign b {
    color: var(--ink);
    font-weight: 500
}