/* =============================================================================
   Disclosure & Important Information — Page Styles
   Fonts: Noto Serif (headings), Poppins (body)
   Primary: #4615d6  |  Red CTA: #ff4d63  |  BG: #f4f4f4
   ============================================================================= */

/* ---------- Custom Properties ---------- */
:root {
    --sp-purple:        #4615d6;
    --sp-purple-light:  #e2deff;
    --sp-purple-bg:     rgba(226, 222, 255, 0.5);
    --sp-red:           #ff4d63;
    --sp-text:          #151439;
    --sp-text-muted:    rgba(21, 20, 57, 0.6);
    --sp-border:        #e2deff;
    --sp-bg:            #f4f4f4;
    --sp-white:         #ffffff;

    --sp-container:     1340px;
    --sp-section-px:    60px;

    /* Animation */
    --sp-ease:          cubic-bezier(0.4, 0, 0.2, 1);
    --sp-ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Page & theme overrides ---------- */
main#disclosure-page {
    max-width: 1340px;
    margin: auto;
}

/* Prevent theme sticky header from conflicting with tab nav */
.cussticky #desk-menu.stickyheader,
.cussticky nav#top-desk-menu.stickyheader {
    top: unset !important;
    position: unset !important;
}

section#main-content {
    background: #f4f4f4;
    overflow: unset;
}

/* ---------- Inline SVG / FA / Image icon sizing ---------- */
/* sp-icon wraps the raw SVG, <i> FA tag, or <img> — CSS controls dimensions */
.sp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* SVG fill container */
.sp-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Image fill container */
.sp-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Font Awesome icons — size set per context below */
.sp-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-purple);
    line-height: 1;
}

/* Section icon: 102px desktop */
.disclosure-section__icon .sp-icon { width: 102px; height: 102px; }
.disclosure-section__icon .sp-icon i { font-size: 48px; }

/* Doc row icon: 68px desktop */
.disclosure-doc__icon .sp-icon     { width: 68px;  height: 68px; }
.disclosure-doc__icon .sp-icon i   { font-size: 32px; }

/* CTA icon: 68px */
.disclosure-cta__icon .sp-icon     { width: 68px;  height: 68px; }
.disclosure-cta__icon .sp-icon i   { font-size: 32px; }

/* ---------- Reduced-motion safety net ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* =============================================================================
   HERO
   ============================================================================= */
.disclosure-hero {
    background-color: var(--sp-purple);
    min-height: 419px;
    padding: 77px 50px 77px 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.disclosure-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 27px;
    max-width: 695px;
    position: relative;
    z-index: 1;
}

/* Hero entrance animation */
.disclosure-hero__title {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 64px;
    line-height: 73px;
    letter-spacing: -0.4px;
    color: var(--sp-white);
    margin: 0;
    animation: sp-fade-up 0.7s var(--sp-ease) both;
}

.disclosure-hero__desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.4px;
    color: var(--sp-white);
    max-width: 553px;
    margin: 0;
    animation: sp-fade-up 0.7s var(--sp-ease) 0.12s both;
}

.disclosure-hero__deco {
    position: absolute;
    right: calc(50% - 534px);
    top: 50%;
    transform: translateY(-50%);
    width: 270px;
    height: 290px;
    pointer-events: none;
    animation: sp-float 6s ease-in-out infinite;
}

/* Image used as hero deco — match SVG sizing */
.disclosure-hero__deco img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@keyframes sp-float {
    0%, 100% { transform: translateY(-50%) translateY(0); }
    50%       { transform: translateY(-50%) translateY(-10px); }
}

/* =============================================================================
   STICKY TAB NAVIGATION
   ============================================================================= */
.disclosure-tabs,
.disclosure-tabs.stickyheader {
    position: sticky;
    top: 0;
    z-index: 100 !important;
    background: var(--sp-white);
    border-bottom: 1px solid #f2f2f2;
    transition: box-shadow 0.3s var(--sp-ease);
}

.disclosure-tabs.is-scrolled {
    box-shadow: 0 2px 16px rgba(70, 21, 214, 0.08);
}

.disclosure-tabs__inner {
    max-width: var(--sp-container);
    margin: 0 auto;
    padding: 0 59px;
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.disclosure-tabs__inner::-webkit-scrollbar { display: none; }

.disclosure-tabs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 35px;
    align-items: center;
    white-space: nowrap;
}

.disclosure-tabs__item {
    position: relative;
    flex-shrink: 0;
}

.disclosure-tabs__link {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 27px;
    color: #74747c;
    text-decoration: none;
    padding: 34.5px 0;
    transition: color 0.25s var(--sp-ease);
}

.disclosure-tabs__link:hover {
    color: var(--sp-purple);
}

.disclosure-tabs__link.is-active {
    color: var(--sp-purple);
}

/* Sliding underline indicator */
.disclosure-tabs__indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 6px;
    background: var(--sp-purple);
    transition: left 0.35s var(--sp-ease), width 0.35s var(--sp-ease);
    pointer-events: none;
}

/* =============================================================================
   CONTENT WRAPPER
   ============================================================================= */
.disclosure-content {
    background: var(--sp-white);
}

/* =============================================================================
   SEARCH MATCHES CHOOSER  (shown when a footer search hit several sections)
   ============================================================================= */
.disclosure-search-matches {
    max-width: var(--sp-container);
    margin: 0 auto;
    padding: 30px var(--sp-section-px) 0;
}

.disclosure-search-matches__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 34px;
    color: var(--sp-red);
    margin: 0 0 16px;
}

.disclosure-search-matches__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.disclosure-search-matches__link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--sp-border);
    border-radius: 999px;
    background: var(--sp-purple-bg);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--sp-purple);
    text-decoration: none;
    transition: background 0.2s var(--sp-ease), color 0.2s var(--sp-ease);
}
.disclosure-search-matches__link:hover {
    background: var(--sp-purple);
    color: var(--sp-white);
}

@media (max-width: 767px) {
    .disclosure-search-matches {
        padding: 24px 20px 0;
    }
    .disclosure-search-matches__title {
        font-size: 20px;
        line-height: 28px;
    }
}

/* =============================================================================
   SECTIONS  (scroll-reveal via .is-visible class added by JS)
   ============================================================================= */
.disclosure-section {
    display: flex;
    gap: 35px;
    align-items: flex-start;
    justify-content: center;
    padding: 50px var(--sp-section-px) 30px;
    scroll-margin-top: 98px;

    /* Reveal: starts invisible */
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s var(--sp-ease), transform 0.6s var(--sp-ease);
}

.disclosure-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger header vs docs */
.disclosure-section.is-visible .disclosure-section__header {
    animation: sp-fade-up 0.55s var(--sp-ease) 0.05s both;
}
.disclosure-section.is-visible .disclosure-docs {
    animation: sp-fade-up 0.55s var(--sp-ease) 0.15s both;
}

.disclosure-section__icon {
    flex-shrink: 0;
    width: 102px;
    height: 102px;
    transition: transform 0.4s var(--sp-ease-spring);
}
.disclosure-section__icon:hover {
    transform: scale(1.06);
}
.disclosure-section__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.disclosure-section__body {
    flex: 1 0 0;
    min-width: 0;
}

.disclosure-section__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* max-width: 416.67px; */
    padding-bottom: 16px;
}

.disclosure-section__title {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 52px;
    color: var(--sp-purple);
    margin: 0;
}

.disclosure-section__desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--sp-text-muted);
    margin: 0;
    max-width: 416px;
}

/* =============================================================================
   DOCUMENT LIST
   ============================================================================= */
.disclosure-docs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* =============================================================================
   DOCUMENT ROW
   ============================================================================= */
.disclosure-doc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 124px;
    padding: 24px 24px;
    border: 1px solid var(--sp-border);
    overflow: hidden;
    box-sizing: border-box;

    /* Staggered entrance */
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity   0.45s var(--sp-ease),
        transform 0.45s var(--sp-ease),
        border-color 0.25s var(--sp-ease),
        box-shadow   0.25s var(--sp-ease),
        background   0.25s var(--sp-ease);

    /* delay driven by --doc-index CSS var */
    transition-delay: calc(var(--doc-index, 0) * 0.07s);
}

/* Row reveal when parent section becomes visible */
.disclosure-section.is-visible .disclosure-doc {
    opacity: 1;
    transform: translateY(0);
}

.disclosure-doc:hover {
    border-color: var(--sp-purple);
    box-shadow: 0 2px 16px rgba(70, 21, 214, 0.08);
}

.disclosure-doc--highlight {
    border: none;
    background: var(--sp-purple-bg);
}

.disclosure-doc--highlight:hover {
    box-shadow: 0 2px 16px rgba(70, 21, 214, 0.08);
}

/* --- Left side --- */
.disclosure-doc__left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1 0 0;
    min-width: 0;
}

.disclosure-doc__icon {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    transition: transform 0.35s var(--sp-ease-spring);
}
.disclosure-doc:hover .disclosure-doc__icon {
    transform: scale(1.08);
}
.disclosure-doc__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.disclosure-doc__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.disclosure-doc__name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
    color: var(--sp-purple);
    margin: 0;
}

.disclosure-doc__summary {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--sp-text-muted);
    letter-spacing: 0.4px;
    margin: 0;
}

/* --- Right side (Figma: meta stack + arrow) --- */
.disclosure-doc__right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    width: 283px;
}

/* Wider right column used in sections 2-4 */
.disclosure-section + .disclosure-section .disclosure-doc__right,
.disclosure-section:not(:first-of-type) .disclosure-doc__right {
    width: 342px;
}

.disclosure-doc__meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.disclosure-doc__link-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--sp-purple);
    white-space: nowrap;
}

.disclosure-doc__file-info {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--sp-text-muted);
    white-space: nowrap;
}

/* Rotated chevron arrow — matches Figma -rotate-90 */
.disclosure-doc__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transform: rotate(-90deg);
    transition: transform 0.25s var(--sp-ease);
}
.disclosure-doc:hover .disclosure-doc__arrow {
    transform: rotate(-90deg) translateX(-3px);
}

/* --- Contact row --- */
.disclosure-doc__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.disclosure-doc__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--sp-purple);
    text-decoration: none;
    transition: opacity 0.2s var(--sp-ease);
}
.disclosure-doc__contact-link:hover {
    opacity: 0.75;
}

/* =============================================================================
   CTA BANNER
   ============================================================================= */
.disclosure-cta {
    padding: 64px var(--sp-section-px) 30px;

    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s var(--sp-ease) 0.1s, transform 0.6s var(--sp-ease) 0.1s;
}
.disclosure-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.disclosure-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--sp-purple-bg);
    padding: 48px;
    overflow: hidden;
    transition: box-shadow 0.25s var(--sp-ease);
}
.disclosure-cta__inner:hover {
    box-shadow: 0 4px 24px rgba(70, 21, 214, 0.1);
}

.disclosure-cta__left {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 606px;
}

.disclosure-cta__icon {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
}
.disclosure-cta__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.disclosure-cta__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.disclosure-cta__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
    color: var(--sp-purple);
    margin: 0;
}

.disclosure-cta__desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--sp-text-muted);
    letter-spacing: 0.4px;
    margin: 0;
}

.disclosure-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 176px;
    height: 48px;
    background: var(--sp-red);
    color: var(--sp-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.22s var(--sp-ease),
        transform  0.18s var(--sp-ease-spring),
        box-shadow 0.22s var(--sp-ease);
}
.disclosure-cta__btn:hover {
    background: #4615d6;
    /*transform: translateY(-2px);
     box-shadow: 0 6px 18px rgba(255, 77, 99, 0.32); */
    color: #ffffff;
}
.disclosure-cta__btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* =============================================================================
   KEYFRAMES
   ============================================================================= */
@keyframes sp-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================================================
   RESPONSIVE — Tablet  (≤ 1200px)
   ============================================================================= */
@media (max-width: 1200px) {
    .disclosure-hero {
        padding-left: 40px;
        padding-right: 40px;
    }
    .disclosure-hero__title { font-size: 52px; line-height: 60px; }
    .disclosure-tabs__inner { padding: 0 30px; }
    .disclosure-tabs__list  { gap: 20px; }
    :root { --sp-section-px: 40px; }
}
.ddisclosure-doc__summary_wrapper.mobile {display:none}
/* =============================================================================
   RESPONSIVE — Mobile  (≤ 767px)
   Pixel-perfect match to Figma nodes 6641-1155 (hero) & 6642-2102 (sections)
   ============================================================================= */
@media (max-width: 767px) {

nav#disclosure-tabs {
    display: none;
}

    /* ─── Hero ─── */
    .disclosure-hero {
        min-height: 280px;
        padding: 30px 30px 40px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 0;
    }

    .disclosure-hero__inner {
        gap: 0;
        max-width: 100%;
    }

    .disclosure-hero__title {
        font-size: 28px;
        line-height: 40px;
        letter-spacing: -0.4px;
        font-weight: 500;
        max-width: 290px;
        margin-bottom: 10px;
    }

    .disclosure-hero__desc {
        font-size: 14px;
        line-height: 25px;
        letter-spacing: -0.4px;
        font-weight: 500;
        max-width: 288px;
    }

    .disclosure-hero__deco { display: none; }

    /* ─── Tab nav ─── */
    .disclosure-tabs__inner {
        padding: 0 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .disclosure-tabs__inner::-webkit-scrollbar { display: none; }

    .disclosure-tabs__list {
        gap: 0;
        white-space: nowrap;
    }

    .disclosure-tabs__link {
        font-size: 14px;
        padding: 16px 14px;
        white-space: nowrap;
    }

    /* ─── Content sections ─── */
    .disclosure-section {
        flex-direction: column;
        gap: 16px;
        padding: 48px 20px;
        scroll-margin-top: 60px;
    }

    /* Section icon: 60×60 on mobile */
    .disclosure-section__icon {
        width: 60px;
        height: 60px;
    }
    .disclosure-section__icon .sp-icon   { width: 60px; height: 60px; }
    .disclosure-section__icon .sp-icon i { font-size: 28px; }

    .disclosure-section__header {
        max-width: 100%;
        gap: 16px;
        padding-bottom: 0;
    }

    .disclosure-section__title {
        font-size: 32px;
        line-height: normal;
        font-weight: 500;
    }

    .disclosure-section__desc {
        font-size: 16px;
        line-height: 24px;
    }

    /* ─── Doc cards ─── */
    /* Figma 6642-2102: 16px gap between cards + 16px from header to first card */
    .disclosure-docs {
        gap: 16px;
        margin-top: 16px;
    }

    .disclosure-doc {
        display: flex;          /* override desktop grid */
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        min-height: auto;
        padding: 32px;          /* Figma: 32px inner padding all sides */
        gap: 12px;              /* Figma: 12px between icon-row / desc / meta */
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    /* Highlight row: solid #e2deff on mobile (Figma 6642:1467) */
    .disclosure-doc--highlight { background: #e2deff; }

    /* Doc left: icon + title row, icon top-aligned (Figma 56px → 32 icon + 24 gap) */
    .disclosure-doc__left {
        grid-column: unset;
        grid-row: unset;
        gap: 24px;
        align-items: center;
        width: 100%;
    }

    /* 32×32 icon on mobile */
    .disclosure-doc__icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
    .disclosure-doc__icon .sp-icon   { width: 32px; height: 32px; }
    .disclosure-doc__icon .sp-icon i { font-size: 16px; }
    .disclosure-doc:hover .disclosure-doc__icon { transform: none; }

    /* Figma: title Poppins SemiBold 18px, wraps to multiple lines */
    .disclosure-doc__name {
        font-size: 18px;
        line-height: 24px;
        white-space: normal;
    }

    /* Description: full card width below the icon+title row (no indent) */
    .disclosure-doc__summary {
        grid-column: unset;
        grid-row: unset;
        padding-left: 0;
        margin-top: 0;
        width: 100%;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.4px;
    }

    /* Doc right: full width */
    .disclosure-doc__right,
    .disclosure-section:not(:first-of-type) .disclosure-doc__right {
        grid-column: unset;
        grid-row: unset;
        align-self: auto;
        width: 100%;
        padding-left: 0;
        justify-content: space-between;
    }

    /* link text 14px, file info 12px, gap 4px */
    .disclosure-doc__meta { gap: 4px; }

    .disclosure-doc__link-text {
        font-size: 14px;
        line-height: 24px;
        white-space: normal;
    }

    .disclosure-doc__file-info {
        font-size: 12px;
        line-height: 24px;
        white-space: nowrap;
    }

    /* Arrow nudge off on mobile */
    .disclosure-doc:hover .disclosure-doc__arrow {

    }

    /* Contact row links */
    .disclosure-doc__contacts { gap: 12px; }
    .disclosure-doc__contact-link { font-size: 16px; }

/* Figma: px 20px, py 48px, card stacked + centered */
    .disclosure-cta {
        padding: 48px 20px;
    }

    .disclosure-cta__inner {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 32px;
    }

    .disclosure-cta__left {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        max-width: 100%;
    }

    /* Figma CTA icon stays 68×68 */
    .disclosure-cta__icon {
        width: 68px;
        height: 68px;
    }

    .disclosure-cta__text {
        align-items: center;
        gap: 16px;
    }

    .disclosure-cta__title {
        font-size: 20px;
        text-align: center;
    }

    .disclosure-cta__desc {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.4px;
        text-align: center;
    }

    /* Figma: button full width on mobile */
    .disclosure-cta__btn {
        width: 100%;
        flex-shrink: 0;
    }
    p.disclosure-doc__summary.desktop {display:none}
    .ddisclosure-doc__summary_wrapper.mobile {display:block}

}
