/* =========================================================
   Orbit Accounts Public Information Pages
   About, Contact, Help, Security, Privacy and Terms
   ========================================================= */

.public-information-page {
    min-height: 100vh;
    color: var(--text-primary);
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(79, 42, 170, 0.06),
            transparent 32%
        ),
        var(--background);
}

/* =========================================================
   Page hero
   ========================================================= */

.page-hero {
    position: relative;
    padding: 78px 0 50px;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    position: absolute;
    top: -300px;
    left: 50%;
    width: 520px;
    height: 520px;
    content: "";
    background: rgba(79, 42, 170, 0.14);
    border-radius: 50%;
    filter: blur(55px);
    transform: translateX(-50%);
    pointer-events: none;
}

.page-hero::after {
    position: absolute;
    top: -210px;
    right: -140px;
    width: 360px;
    height: 360px;
    content: "";
    background: rgba(201, 31, 45, 0.07);
    border-radius: 50%;
    filter: blur(55px);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 17px;
    padding: 7px 14px;
    color: var(--primary-dark);
    background: var(--primary-light);
    border: 1px solid rgba(79, 42, 170, 0.15);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.02em;
}

.page-hero-label::before {
    width: 7px;
    height: 7px;
    content: "";
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(201, 31, 45, 0.10);
}

.page-hero h1 {
    max-width: 840px;
    margin: 0 auto;
    color: var(--text-primary);
    font-size: clamp(37px, 5vw, 53px);
    font-weight: 780;
    line-height: 1.13;
    letter-spacing: -0.045em;
}

.page-hero p {
    max-width: 740px;
    margin: 19px auto 0;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.78;
}

/* =========================================================
   Content section
   ========================================================= */

.page-content {
    position: relative;
    padding: 22px 0 100px;
}

.content-card {
    position: relative;
    max-width: 870px;
    margin: 0 auto;
    padding: 46px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow:
        0 18px 50px rgba(55, 31, 105, 0.08),
        0 2px 8px rgba(55, 31, 105, 0.03);
}

.content-card::before {
    position: absolute;
    top: 0;
    left: 46px;
    width: 64px;
    height: 4px;
    content: "";
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );
    border-radius: 0 0 999px 999px;
}

.content-card h2 {
    margin: 39px 0 12px;
    color: var(--text-primary);
    font-size: 23px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.023em;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h3 {
    margin: 29px 0 10px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 730;
    line-height: 1.4;
}

.content-card p {
    margin: 0 0 18px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.84;
}

.content-card ul,
.content-card ol {
    margin: 0 0 23px;
    padding-left: 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.78;
}

.content-card li {
    margin-bottom: 9px;
    padding-left: 3px;
}

.content-card li::marker {
    color: var(--primary);
    font-weight: 700;
}

.content-card a {
    color: var(--primary);
    font-weight: 680;
    text-underline-offset: 3px;
    transition:
        color var(--transition),
        text-decoration-color var(--transition);
}

.content-card a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.content-card strong {
    color: var(--text-primary);
    font-weight: 740;
}

/* =========================================================
   Notice box
   ========================================================= */

.notice {
    position: relative;
    margin: 27px 0 0;
    padding: 18px 20px 18px 53px;
    color: var(--primary-dark);
    background:
        radial-gradient(
            circle at 95% 15%,
            rgba(201, 31, 45, 0.06),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            var(--primary-light),
            #faf8ff
        );
    border: 1px solid rgba(79, 42, 170, 0.17);
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.72;
}

.notice::before {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    content: "i";
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    border-radius: 50%;
    box-shadow: 0 7px 16px rgba(79, 42, 170, 0.20);
    font-size: 12px;
    font-weight: 800;
}

/* =========================================================
   Optional content elements
   ========================================================= */

.content-card blockquote {
    margin: 26px 0;
    padding: 18px 21px;
    color: var(--text-secondary);
    background: #faf8ff;
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    font-size: 15px;
    line-height: 1.75;
}

.content-card hr {
    margin: 34px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.content-card table {
    width: 100%;
    margin: 24px 0;
    overflow: hidden;
    border-collapse: collapse;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.content-card th,
.content-card td {
    padding: 13px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.content-card th {
    color: var(--primary-dark);
    background: var(--primary-light);
    font-size: 13px;
    font-weight: 750;
}

.content-card td {
    color: var(--text-secondary);
    font-size: 14px;
}

.content-card tr:last-child td {
    border-bottom: 0;
}

/* =========================================================
   Compatibility with older public layout class names
   ========================================================= */

.hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 17px;
    padding: 7px 14px;
    color: var(--primary-dark);
    background: var(--primary-light);
    border: 1px solid rgba(79, 42, 170, 0.15);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 760;
}

.hero-label::before {
    width: 7px;
    height: 7px;
    content: "";
    background: var(--secondary);
    border-radius: 50%;
}

.content {
    padding: 22px 0 100px;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 900px) {
    .page-hero {
        padding-top: 65px;
    }

    .content-card {
        max-width: 780px;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 700px) {
    .page-hero {
        padding: 53px 0 38px;
    }

    .page-hero::before {
        top: -320px;
        width: 470px;
        height: 470px;
    }

    .page-hero h1 {
        font-size: 37px;
        letter-spacing: -0.038em;
    }

    .page-hero p {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.72;
    }

    .page-content,
    .content {
        padding: 18px 0 72px;
    }

    .content-card {
        padding: 30px 23px;
        border-radius: 16px;
    }

    .content-card::before {
        left: 23px;
        width: 52px;
    }

    .content-card h2 {
        margin-top: 32px;
        font-size: 21px;
    }

    .content-card h3 {
        font-size: 17px;
    }

    .content-card p,
    .content-card ul,
    .content-card ol {
        font-size: 14px;
    }

    .notice {
        padding: 17px 17px 17px 49px;
    }

    .notice::before {
        top: 17px;
        left: 16px;
    }

    .content-card table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* =========================================================
   Small mobile
   ========================================================= */

@media (max-width: 480px) {
    .page-hero {
        padding-top: 43px;
    }

    .page-hero h1 {
        font-size: 33px;
    }

    .page-hero-label,
    .hero-label {
        font-size: 11px;
    }

    .content-card {
        padding: 26px 19px;
    }

    .content-card::before {
        left: 19px;
    }

    .notice {
        padding-right: 15px;
    }
}

.footer-links a {
    position: relative;
    width: fit-content;
    padding-left: 0;
    color: #aaa2bb;
    font-size: 13px;
    transition:
        color var(--transition),
        transform var(--transition),
        padding-left var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 7px;
    transform: none;
}

.footer-links a.active {
    padding-left: 14px;
    color: #ffffff;
    font-weight: 700;
}

.footer-links a.active::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    content: "";
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(201, 31, 45, 0.15);
    transform: translateY(-50%);
}

.navigation a.active {
    color: var(--primary);
    font-weight: 750;
}

.navigation a.active::after {
    width: 24px;
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );
}

.navigation a.active::before {
    position: absolute;
    top: 4px;
    right: -9px;
    width: 5px;
    height: 5px;
    content: "";
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(201, 31, 45, 0.10);
}

.header-actions .button-secondary.button-active,
.header-actions .button-secondary[aria-current="page"] {
    position: relative;
    padding-left: 34px;
    color: var(--primary-dark);
    background: linear-gradient(
        135deg,
        var(--primary-light),
        var(--secondary-light)
    );
    border-color: rgba(79, 42, 170, 0.28);
    box-shadow:
        0 8px 20px rgba(79, 42, 170, 0.10),
        inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.header-actions .button-secondary.button-active::before,
.header-actions .button-secondary[aria-current="page"]::before {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 8px;
    height: 8px;
    content: "";
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(201, 31, 45, 0.12);
    transform: translateY(-50%);
}

.header-actions .button-secondary.button-active:hover,
.header-actions .button-secondary[aria-current="page"]:hover {
    color: var(--primary-dark);
    background: linear-gradient(
        135deg,
        #ebe4ff,
        #ffe8eb
    );
    border-color: rgba(201, 31, 45, 0.30);
    box-shadow: 0 10px 24px rgba(79, 42, 170, 0.14);
}
