:root {
    --bg: #f6f8fb;
    --paper: #ffffff;
    --text: #172033;
    --muted: #667085;
    --border: #d9e1ec;
    --brand: #123a63;
    --brand-2: #0b5cab;
    --warning-bg: #fff7df;
    --warning-border: #e4ad28;
    --badge-bg: #eef5ff;
    --badge-text: #0b5cab;
    --shadow: 0 20px 45px rgba(18, 58, 99, 0.08)
}

.wrapper,
.sf-page-contant,
.page-body {
    overflow: visible
}

.SmartTC a {
    color: var(--brand-2);
    text-decoration: none
}

.SmartTC a:hover {
    text-decoration: underline
}

.sr-only,
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    background: #fff;
    border: 2px solid var(--brand);
    z-index: 1000
}

.hero {
    background: linear-gradient(135deg, #0e2f52, #164a7a);
    color: #fff;
    padding: 56px 24px 42px
}

.hero-inner,
.page {
    max-width: 1240px;
    margin: 0 auto
}

.eyebrow {
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 13px;
    opacity: .82;
    font-weight: 700
}

.SmartTC h1 {
    margin: 10px 0 12px;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.08;
    color: #fff
}

.hero p {
    max-width: 780px;
    margin: 0;
    color: #d8e8f8;
    font-size: 18px;
    line-height: 25px
}

.meta-card {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 12px
}

.meta-card div {
    background: rgb(255 255 255 / .1);
    border: 1px solid rgb(255 255 255 / .2);
    border-radius: 14px;
    padding: 14px 16px
}

.meta-card dt {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #bfd7ee;
    line-height: 32px
}

.meta-card dd {
    margin: 4px 0 0;
    font-weight: 700
}

.page {
    padding: 28px 24px 72px
}

.notice {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-left: 6px solid var(--warning-border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
    margin-bottom: 24px
}

.notice h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    color: #5b3b00
}

.notice p {
    margin: 0 0 14px;
    color: #5b3b00
}

.important-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
}

.important-grid a {
    display: flex;
    gap: 8px;
    align-items: baseline;
    background: #fff;
    border: 1px solid #f0d58a;
    border-radius: 12px;
    padding: 10px 12px;
    color: #27364a;
    line-height: 1.7
}

.important-grid a:hover {
    text-decoration: underline
}

.important-grid strong {
    color: #7a5100;
    white-space: nowrap
}

.tools {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 24px;
    box-shadow: var(--shadow)
}

.search {
    width: min(440px, 100%)
}

.search input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 11px 13px;
    font: inherit
}

.button {
    display: inline-block;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--brand);
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer
}

.layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: start
}

.toc {
    position: sticky;
    top: 18px;
    max-height: calc(100vh - 36px);
    overflow: auto;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow)
}

.toc h2 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: var(--brand)
}

.toc nav {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.toc a {
    border-radius: 10px;
    padding: 7px 9px;
    color: #344054;
    line-height: 1.35
}

.toc a:hover {
    background: #f1f6fc;
    text-decoration: none
}

.toc-part {
    margin-top: 8px;
    font-weight: 800;
    color: var(--brand) !important
}

.toc-clause {
    padding-left: 18px !important;
    font-size: 14px
}

.legal-content {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: clamp(22px, 4vw, 48px);
    box-shadow: var(--shadow)
}

.legal-content h1 {
    margin: 56px 0 18px;
    padding-top: 12px;
    border-top: 2px solid var(--border);
    color: var(--brand);
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.2;
    scroll-margin-top: 20px
}

.legal-content h1:first-child {
    margin-top: 0;
    border-top: 0
}

.legal-content h2 {
    margin: 34px 0 12px;
    color: #1f2d3d;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.25;
    scroll-margin-top: 20px
}

.legal-content h1,
.legal-content h2 {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--badge-bg);
    color: var(--badge-text);
    font-size: 12px;
    font-weight: 800;
    padding: 4px 9px
}

.section-link {
    opacity: .25;
    font-size: .9em;
    margin-left: auto
}

.legal-content h1:hover .section-link,
.legal-content h2:hover .section-link {
    opacity: 1
}

.legal-content p {
    margin: 0 0 13px;
}

.legal-content ol,
.legal-content ul {
    padding-left: 1.45rem;
    margin: 0 0 16px
}

.legal-content li {
    margin-bottom: 6px;
    list-style-type: decimal
}

.legal-content li p {
    margin: 0
}

.legal-content strong {
    font-weight: 800
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0
}

.legal-table th,
.legal-table td {
    border: 1px solid var(--border);
    padding: 10px;
    vertical-align: top
}

.footer-note {
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
    text-align: center
}

mark {
    background: #fff1a6;
    padding: 0 .1em
}

.legal-list-row {
    display: grid;
    grid-template-columns: 5.6rem minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
    margin: 0 0 10px;
}

.legal-list-row.schedule-item {
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
}

.legal-list-row .legal-marker {
    color: var(--brand);
    white-space: nowrap;
    font-variant-numeric: tabular-nums
}

.legal-list-row .legal-body {
    min-width: 0
}

.legal-list-row .legal-body p {
    margin: 0
}

.legal-list-row.alpha-item,
.legal-list-row.alpha-inline-item {
    grid-template-columns: 3rem minmax(0, 1fr);
    margin-left: 1.2rem
}

.legal-list-row.clause-alpha-item {
    grid-template-columns: 3rem minmax(0, 1fr);
    margin-left: 6.5rem
}

.legal-list-row.schedule-item {
    grid-template-columns: 3rem minmax(0, 1fr)
}

.legal-list-row.alpha-item .legal-marker,
.legal-list-row.alpha-inline-item .legal-marker,
.legal-list-row.clause-alpha-item .legal-marker {
    color: #475467
}

.legal-inline-list {
    margin: -4px 0 14px
}

@media (max-width:560px) {
    .legal-list-row {
        grid-template-columns: 4.2rem minmax(0, 1fr);
        gap: .65rem
    }

    .legal-list-row.alpha-item,
    .legal-list-row.alpha-inline-item,
    .legal-list-row.schedule-item {
        grid-template-columns: 2.55rem minmax(0, 1fr);
        margin-left: .25rem
    }

    .legal-list-row.clause-alpha-item {
        grid-template-columns: 2.55rem minmax(0, 1fr);
        margin-left: 4.85rem
    }
}

@media (max-width:900px) {
    .meta-card {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .layout {
        grid-template-columns: 1fr
    }

    .toc {
        position: static;
        max-height: 360px
    }

    .tools {
        flex-direction: column;
        align-items: stretch
    }

    .important-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:560px) {
    .hero {
        padding: 38px 18px 28px
    }

    .page {
        padding: 18px 14px 48px
    }

    .meta-card {
        grid-template-columns: 1fr
    }

    .legal-content,
    .toc {
        border-radius: 16px
    }
}

@media print {
    body {
        background: #fff
    }

    .hero,
    .notice,
    .tools,
    .toc,
    .section-link {
        display: none !important
    }

    .page {
        padding: 0
    }

    .layout {
        display: block
    }

    .legal-content {
        box-shadow: none;
        border: 0;
        padding: 0
    }

    a {
        color: inherit;
        text-decoration: none
    }
}