/* NiveshakFirst — legal, regulatory and policy pages */

.legal-page {
    min-height: 60vh;
    background: transparent;
}

/* =========================
   Regulatory Disclosure
========================= */

.disclosure-page {
    background: #f8fbfc;
    min-height: 70vh;
}

.disclosure-header {
    max-width: 850px;
    margin-bottom: 48px;
}

.disclosure-header .section-label,
.policy-hero .section-label {
    margin-bottom: 18px;
}

.disclosure-header h1,
.policy-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #142a40;
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -1px;
}

.disclosure-header h1 span,
.policy-hero h1 span {
    color: #187a5b;
}

.disclosure-intro,
.policy-intro {
    max-width: 780px;
    margin: 24px 0 0;
    color: #71808b;
    font-size: 17px;
    line-height: 1.8;
}

.registration-card {
    max-width: 980px;
    padding: 34px;
    background: #ffffff;
    border: 1px solid #e2e9e9;
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(20, 42, 64, 0.06);
}

.registration-card+.registration-card,
.registration-card+.verification-card,
.verification-card+.risk-disclosure {
    margin-top: 24px;
}

.partner-card .policy-copy {
    margin: 0;
    color: #71808b;
    font-size: 15px;
    line-height: 1.8;
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid #e8eeee;
}

.card-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #edf7f3;
    color: #187a5b;
}

.card-icon i {
    font-size: 20px;
}

.card-label {
    margin: 0 0 5px;
    color: #187a5b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.card-heading h2 {
    margin: 0;
    color: #142a40;
    font-family: "Playfair Display", serif;
    font-size: 27px;
    line-height: 1.2;
}

.registration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.registration-item {
    min-height: 94px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #edf1f1;
}

.registration-item:nth-child(odd) {
    border-right: 1px solid #edf1f1;
}

.registration-item-full {
    grid-column: 1 / -1;
    border-right: none !important;
    border-bottom: none;
}

.registration-label {
    display: block;
    margin-bottom: 8px;
    color: #7b8992;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.registration-item strong {
    color: #142a40;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.verification-card {
    max-width: 980px;
    margin-top: 24px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: #f0f8f5;
    border: 1px solid #dcece5;
    border-radius: 16px;
}

.verification-icon,
.risk-icon,
.policy-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
}

.verification-icon {
    width: 44px;
    height: 44px;
    background: #ffffff;
    color: #187a5b;
}

.verification-icon i {
    font-size: 19px;
}

.verification-content {
    flex: 1;
}

.verification-content h3 {
    margin: 0 0 5px;
    color: #142a40;
    font-size: 16px;
    font-weight: 700;
}

.verification-content p {
    margin: 0;
    color: #71808b;
    font-size: 14px;
    line-height: 1.7;
}

.verification-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: #187a5b;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.verification-link:hover {
    color: #125f46;
    transform: translateX(2px);
}

.risk-disclosure {
    max-width: 980px;
    margin-top: 24px;
    padding: 26px 28px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #e4e9e9;
    border-left: 4px solid #187a5b;
    border-radius: 14px;
}

.risk-icon {
    width: 38px;
    height: 38px;
    background: #edf7f3;
    color: #187a5b;
}

.risk-icon i {
    font-size: 17px;
}

.risk-content {
    flex: 1;
}

.risk-content h3 {
    margin: 0 0 8px;
    color: #142a40;
    font-size: 16px;
    font-weight: 700;
}

.risk-content p {
    margin: 0;
    color: #71808b;
    font-size: 15px;
    line-height: 1.8;
}

.risk-content p+p {
    margin-top: 12px;
}

.standard-warning-text {
    color: #142a40 !important;
    font-weight: 700;
}

.disclosure-note {
    max-width: 850px;
    margin-top: 28px;
}

.disclosure-note p,
.legal-footnote {
    margin: 0;
    color: #8a969e;
    font-size: 13px;
    line-height: 1.7;
}

/* =========================
   Privacy / Terms documents
========================= */

.policy-page {
    background: #f8fbfc;
}

.policy-hero {
    max-width: 900px;
    margin-bottom: 44px;
}

.policy-meta {
    margin-top: 14px;
    color: #8a969e;
    font-size: 13px;
    font-weight: 600;
}

.policy-document {
    max-width: 980px;
    padding: 38px 40px 34px;
    background: #ffffff;
    border: 1px solid #e2e9e9;
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(20, 42, 64, 0.05);
}

.policy-section {
    padding: 0 0 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #edf1f1;
}

.policy-kicker {
    margin: 0 0 8px;
    color: #187a5b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.policy-section h2 {
    margin: 0 0 12px;
    color: #142a40;
    font-family: "Playfair Display", serif;
    font-size: 28px;
    line-height: 1.25;
}

.policy-section p,
.policy-section li {
    color: #71808b;
    font-size: 15px;
    line-height: 1.85;
}

.policy-section p {
    margin: 0;
}

.policy-section p+p,
.policy-section ul+p {
    margin-top: 12px;
}

.policy-section ul {
    margin: 12px 0 0;
    padding-left: 21px;
}

.policy-section a,
.legal-footnote a {
    color: #187a5b;
    font-weight: 600;
}

.policy-callout {
    margin: 18px 0 0;
    padding: 18px 20px;
    background: #f0f8f5;
    border-left: 4px solid #187a5b;
    border-radius: 10px;
    color: #142a40;
    font-size: 15px;
    line-height: 1.75;
}

.policy-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #f7faf9;
    border: 1px solid #dfe9e5;
    border-radius: 16px;
}

.policy-contact-icon {
    width: 42px;
    height: 42px;
    background: #ffffff;
    color: #187a5b;
}

.policy-contact-card h3 {
    margin: 0 0 6px;
    color: #142a40;
    font-size: 16px;
}

.policy-contact-card p {
    margin: 0;
    color: #71808b;
    font-size: 14px;
    line-height: 1.8;
}

.legal-footnote {
    margin-top: 24px;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {

    .disclosure-header,
    .policy-hero {
        margin-bottom: 34px;
    }

    .disclosure-header h1,
    .policy-hero h1 {
        font-size: 42px;
    }

    .disclosure-intro,
    .policy-intro {
        font-size: 16px;
    }

    .registration-card,
    .policy-document {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .card-heading {
        align-items: flex-start;
    }

    .card-heading h2,
    .policy-section h2 {
        font-size: 23px;
    }

    .registration-grid {
        grid-template-columns: 1fr;
    }

    .registration-item,
    .registration-item:nth-child(odd) {
        min-height: auto;
        padding: 18px 8px;
        border-right: none;
    }

    .registration-item:last-child {
        border-bottom: none;
    }

    .verification-card,
    .risk-disclosure {
        padding: 22px 20px;
    }

    .policy-section p,
    .policy-section li,
    .policy-callout {
        font-size: 14px;
    }
}

@media (max-width: 520px) {

    .disclosure-header h1,
    .policy-hero h1 {
        font-size: 36px;
    }

    .card-heading {
        gap: 12px;
    }

    .card-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .verification-card,
    .risk-disclosure,
    .policy-contact-card {
        align-items: flex-start;
    }
}