/* ============================================
   KitoTool — Trust Pages (Vercel/Geist Design System v3.0)
   About, Contact, Privacy Policy, Terms of Service
   Version: 3.0 | 2026-04-23
   ============================================ */

/* ===== TRUST HERO ===== */
.trust-hero {
    padding: 72px 0 56px;
    text-align: center;
    border-bottom: 1px solid #ebebeb;
}

.trust-hero__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.trust-hero__title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #171717;
    margin-bottom: 14px;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.trust-hero__subtitle {
    font-size: 0.9375rem;
    color: #64748b;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
    font-weight: 400;
}

/* Compact legal-page heading: title, update date and related policy stay together. */
.trust-hero--legal {
    padding: 52px 0 32px;
    text-align: left;
}

.trust-hero--legal .container {
    max-width: 640px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.trust-hero--legal .trust-hero__title {
    margin: 0;
}

.trust-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0.65rem 0 0;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.45;
}

.trust-hero__meta a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

.trust-hero__meta a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.trust-hero--legal .trust-hero__subtitle {
    max-width: 62ch;
    margin: 0.75rem 0 0;
}

.trust-hero--legal + .trust-content {
    padding-top: 36px;
}

/* ===== STATS BAR ===== */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 40px 0;
    flex-wrap: wrap;
}

.stats-bar__item {
    text-align: center;
}

.stats-bar__number {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: #171717;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 6px;
}

.stats-bar__label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: var(--font-semibold);
}

/* ===== DIFFERENTIATORS ===== */
.differentiators {
    padding: 56px 0;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    background: #fafafa;
}

.differentiators > .container-lg > h2:first-child {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #171717;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.differentiators__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.differentiator-card {
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.differentiator-card:hover {
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1), 0 6px 6px -2px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

.differentiator-card__icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
    display: block;
    line-height: 1;
}

.differentiator-card__title {
    font-size: 0.875rem;
    font-weight: var(--font-semibold);
    color: #171717;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.differentiator-card__desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.55;
    font-weight: 400;
}

/* ===== TRUST CONTENT ===== */
.trust-content {
    padding: 56px 0;
}

.trust-content__inner {
    max-width: 640px;
    margin: 0 auto;
}

.trust-content__section {
    margin-bottom: 40px;
}

.trust-content__section:last-child {
    margin-bottom: 0;
}

.trust-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    padding-bottom: 10px;
    border-bottom: 2px solid #4f46e5;
    display: inline-block;
}

.trust-content p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 14px;
    font-size: 0.9375rem;
    font-weight: 400;
}

.trust-content a {
    color: #4f46e5;
    text-decoration: none;
}

.trust-content a:hover {
    text-decoration: underline;
}

/* ===== TEAM GRID ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.team-card {
    text-align: center;
    padding: 24px 16px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
}

.team-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.75rem;
}

.team-card__name {
    font-size: 0.875rem;
    font-weight: var(--font-semibold);
    color: #171717;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.team-card__role {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 400;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 56px 0;
    border-top: 1px solid #ebebeb;
}

.cta-section__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
}

.cta-section__desc {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 24px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

/* ===== FAQ ACCORDION ===== */
.faq-section {
    padding: 56px 0;
    border-top: 1px solid #ebebeb;
}

.faq-section .container-md > .faq-section__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.faq-list {
    max-width: 640px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    background: #ffffff;
    transition: box-shadow 200ms ease;
}

.faq-item:hover {
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.faq-item__question {
    width: 100%;
    padding: 14px 18px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #171717;
    text-align: left;
    font-family: inherit;
    transition: background 150ms ease;
}

.faq-item__question:hover {
    background: #fafafa;
}

.faq-item__icon {
    font-size: 1.25rem;
    transition: transform 200ms ease;
    flex-shrink: 0;
    margin-left: 12px;
    color: #94a3b8;
    font-weight: 300;
}

.faq-item--open .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 250ms ease;
}

.faq-item--open .faq-item__answer {
    max-height: 400px;
}

.faq-item__answer-inner {
    padding: 0 18px 14px;
    color: #64748b;
    line-height: 1.65;
    font-size: 0.8125rem;
    font-weight: 400;
}

/* ===== CONTACT FORM ===== */
.contact-section {
    padding: 56px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 880px;
    margin: 0 auto;
}

.contact-form {
    background: #ffffff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
}

.contact-form__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #171717;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    font-family: inherit;
    background: #ffffff;
    color: #171717;
    transition: border-color 150ms ease, box-shadow 150ms ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group .form-error {
    font-size: 0.6875rem;
    color: #dc2626;
    margin-top: 4px;
    display: none;
}

.form-group.has-error .form-error {
    display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #dc2626;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    padding: 8px 0;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-info__icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 1px;
    line-height: 1;
}

.contact-info__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-info__value {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 400;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    transition: all 150ms ease;
    background: #ffffff;
}

.social-link:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #eef2ff;
}

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder {
    width: 100%;
    height: 180px;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.8125rem;
    margin-top: 24px;
}

.map-placeholder__icon {
    font-size: 1.5rem;
}

/* ===== ALERTS ===== */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.8125rem;
    margin-bottom: 16px;
    border: 1px solid transparent;
    line-height: 1.5;
}

.alert--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.alert--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

/* ===== MERGED CONTACT FRAME ===== */
.contact-merged-frame {
    background: #ffffff;
    border: 2px solid #0085f0;
    border-radius: 3rem;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    box-shadow: 0 10px 40px rgba(0, 133, 240, 0.12);
}

/* Info side */
.contact-info-side {
    background: #ffffff;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    position: relative;
}

.contact-info-side__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 40px;
    height: 100%;
    box-sizing: border-box;
}

.process-taglienhe {
    text-align: center;
    color: #0085f0;
    font: 800 12px/1 uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.contact-info-side h2 {
    text-align: center;
    color: #1e3a5f;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.3;
}

.contact-subtitle {
    color: #555;
    font-size: 0.95rem;
    margin: 0 0 25px;
    line-height: 1.6;
}

.brand-quote__logo {
    max-width: 140px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
}

/* Info list — horizontal wrap layout */
.contact-info-list {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Info item */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 0;
    border-radius: 0;
    text-decoration: none;
    transition: none;
}

a.contact-info-item:hover {
    background: transparent;
}

.contact-info-item--static {
    cursor: default;
}

.contact-info-item i {
    width: 45px;
    height: 45px;
    background: #e6f0fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0085f0;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-info-item:hover i {
    background: #0085f0;
    color: #ffffff;
}

.contact-info-item h4 {
    color: #888;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 0 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-item p {
    color: #1e3a5f;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Contact info inline */
.contact-info-inline {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-inline i {
    width: 45px;
    height: 45px;
    background: #e6f0fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0085f0;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-inline .contact-info-text {
    display: flex;
    flex-direction: column;
}

.contact-info-inline .contact-label {
    color: #888;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.contact-info-inline .contact-value {
    color: #1e3a5f;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Social row */
.contact-social-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contact-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #e6f0fa;
    border: 1px solid #d0e4f7;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    color: #0085f0;
    transition: all 0.25s ease;
    cursor: pointer;
}

.contact-social-btn:hover {
    background: #0085f0;
    border-color: #0085f0;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 133, 240, 0.3);
}

.contact-social-btn--zalo:hover {
    background: #0068ff;
    border-color: #0068ff;
    box-shadow: 0 4px 12px rgba(0, 104, 255, 0.3);
}

.contact-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Form side */
.contact-form-side {
    padding: 50px 40px;
    background: #ffffff;
    flex: 1 1 0;
    border-left: 1px solid #eee;
}

.contact-form-side h2.contact-form__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
    text-align: center;
}

/* Form groups */
.contact-form-side .form-group {
    margin-bottom: 15px;
}

.contact-form-side .form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 8px;
}

.contact-form-side .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    background: #f8f9fa;
    color: #171717;
    transition: all 0.3s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.contact-form-side .form-control::placeholder {
    color: #94a3b8;
}

.contact-form-side .form-control:focus {
    border-color: #0085f0;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 133, 240, 0.1);
}

.contact-form-side textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.contact-form-side select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Form error states */
.contact-form-side .form-group .form-error {
    font-size: 0.6875rem;
    color: #dc2626;
    margin-top: 4px;
    display: none;
}

.contact-form-side .form-group.has-error .form-error {
    display: block;
}

.contact-form-side .form-group.has-error .form-control {
    border-color: #dc2626;
}

/* Submit button */
.btn-submit {
    display: block;
    width: 100%;
    padding: 16px 30px;
    background: #0085f0;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 133, 240, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Alert overrides */
.alert--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.alert--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

/* Responsive — tablet: stack columns */
@media (max-width: 991px) {
    .contact-merged-frame {
        flex-direction: column;
        border-radius: 1.5rem;
    }

    .contact-info-side {
        flex: none;
    }

    .contact-info-side__inner {
        padding: 30px;
    }

    .contact-info-list {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form-side {
        flex: none;
        padding: 30px;
        border-left: none;
        border-top: 1px solid #eee;
    }
}

/* Responsive — mobile */
@media (max-width: 575px) {
    .contact-info-side__inner {
        padding: 24px 20px;
    }

    .contact-info-side h2 {
        font-size: 1.4rem;
    }

    .contact-form-side {
        padding: 25px 20px;
    }

    .contact-info-inline {
        width: 100%;
    }

    .contact-social-row {
        flex-direction: column;
    }

    .contact-social-btn {
        justify-content: center;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .differentiators__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .trust-hero { padding: 48px 0 40px; }
    .trust-hero__title { font-size: 1.75rem; }
    .trust-hero--legal { padding: 38px 0 28px; }
    .trust-hero--legal + .trust-content { padding-top: 30px; }

    .trust-hero--legal .container,
    .trust-hero--legal + .trust-content .trust-content__inner {
        width: 100%;
        box-sizing: border-box;
        padding-left: clamp(1rem, 5vw, 1.25rem);
        padding-right: clamp(1rem, 5vw, 1.25rem);
    }

    .trust-hero__meta {
        column-gap: 0.35rem;
        row-gap: 0.2rem;
        font-size: 0.75rem;
    }

    .trust-hero--legal .trust-hero__subtitle {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .stats-bar { gap: 24px; }
    .stats-bar__number { font-size: 1.5rem; }

    .differentiators { padding: 40px 0; }
    .differentiators__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .trust-content { padding: 40px 0; }
    .trust-content__inner { max-width: 100%; }

    .team-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .team-card { padding: 16px 10px; }

    .faq-section { padding: 40px 0; }
    .contact-section { padding: 40px 0; }
    .cta-section { padding: 40px 0; }
}

@media (max-width: 480px) {
    .differentiators__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .differentiator-card { padding: 14px; }
    .team-grid { grid-template-columns: 1fr; gap: 10px; }
}
/* Public trust information and cookie choice pages. */
.trust-info-page .trust-hero--legal .container,
.trust-info-page .trust-content__inner { width: min(100% - 40px, 720px); max-width: 720px; margin-inline: auto; padding-inline: 0; }
.trust-info-page .trust-hero--legal { padding: 40px 0 28px; }
.trust-info-page .trust-content { padding: 32px 0 56px; }
.trust-info-page .trust-content__section { margin-bottom: 26px; }
.trust-info-page .trust-content__section h2 { margin-bottom: 10px; }
.trust-info-page .trust-content li { margin-bottom: 7px; color: #526174; line-height: 1.6; }
.trust-cookie-form { display: grid; gap: 12px; margin-top: 24px; padding: 22px; border: 1px solid #dce5ee; border-radius: 14px; background: #fff; }
.trust-cookie-form h2 { margin: 0; }
.trust-cookie-form p { margin: 0 0 4px; }
.trust-cookie-form label { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #dce5ee; border-radius: 8px; color: #172033; cursor: pointer; }
.trust-cookie-form input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: #087cf0; }
.trust-cookie-form button { min-height: 44px; border: 0; border-radius: 8px; background: #087cf0; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.trust-cookie-form button:hover { background: #0567cf; }
.trust-cookie-form :focus-visible { outline: 3px solid #087cf0; outline-offset: 2px; }
.trust-info-related { margin-top: 16px; }
[data-theme="dark"] .trust-info-page .trust-hero__title,
[data-theme="dark"] .trust-info-page .trust-content h2 { color: #eff6ff; }
[data-theme="dark"] .trust-info-page .trust-content p,
[data-theme="dark"] .trust-info-page .trust-content li { color: #aabbd0; }
[data-theme="dark"] .trust-cookie-form { background: #1e293b; border-color: rgba(255,255,255,.14); }
[data-theme="dark"] .trust-cookie-form label { color: #eff6ff; border-color: rgba(255,255,255,.14); }
@media (max-width: 600px) { .trust-info-page .trust-hero--legal .container, .trust-info-page .trust-content__inner { width: calc(100% - 32px); } }

/* Legal documents: a centered, wide reading area with compact section bands. */
.trust-legal-page {
    background: #f5f8fc;
}

.trust-legal-page .trust-hero--legal {
    padding: 34px 0 24px;
    text-align: center;
    border-bottom: 0;
    background: linear-gradient(180deg, #f0f7fd 0%, #f5f8fc 100%);
}

.trust-legal-page .trust-hero--legal .container,
.trust-legal-page .trust-content__inner {
    width: min(calc(100% - 48px), 1040px);
    max-width: 1040px;
    margin-inline: auto;
}

.trust-legal-page .trust-hero__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2;
}

.trust-legal-page .trust-hero__meta {
    justify-content: center;
}

.trust-legal-page .trust-hero--legal .trust-hero__subtitle {
    max-width: 850px;
    margin: 10px auto 0;
    line-height: 1.55;
}

.trust-legal-page .trust-content,
.trust-legal-page .trust-hero--legal + .trust-content {
    padding: 16px 0 54px;
}

.trust-legal-page .trust-content__inner {
    padding: 30px 32px 34px;
    border: 1px solid #e1eaf3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(29, 64, 105, 0.045);
}

.trust-legal-page .trust-content__section,
.trust-info-page.trust-legal-page .trust-content__section {
    margin-bottom: 25px;
}

.trust-legal-page .trust-content__section > h2,
.trust-info-page.trust-legal-page .trust-content__section > h2 {
    display: block;
    width: 100%;
    margin: 0 0 13px;
    padding: 10px 15px;
    border: 0;
    border-radius: 8px;
    background: #087eae;
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
}

.trust-legal-page .trust-content__section > h3 {
    display: inline-block;
    margin: 4px 0 9px;
    padding: 5px 10px;
    border-radius: 6px;
    background: #e7f5fc;
    color: #08678e;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.trust-legal-page .trust-content p,
.trust-legal-page .trust-content li {
    color: #35475b;
    font-size: 0.96rem;
    line-height: 1.64;
    text-align: left;
}

.trust-legal-page .trust-content p {
    margin-bottom: 11px;
}

.trust-legal-page .trust-content ul {
    margin: 0 0 12px;
    padding-left: 23px;
}

.trust-legal-page .trust-content li {
    margin-bottom: 5px;
}

.trust-legal-page .trust-content__section > :last-child {
    margin-bottom: 0;
}

[data-theme="dark"] .trust-legal-page {
    background: #101a29;
}

[data-theme="dark"] .trust-legal-page .trust-hero--legal {
    background: linear-gradient(180deg, #172a40 0%, #101a29 100%);
}

[data-theme="dark"] .trust-legal-page .trust-content__inner {
    background: #192638;
    border-color: #31445b;
}

[data-theme="dark"] .trust-legal-page .trust-content__section > h2 {
    color: #fff;
    background: #086b96;
}

[data-theme="dark"] .trust-legal-page .trust-content__section > h3 {
    color: #bcecff;
    background: #23465e;
}

[data-theme="dark"] .trust-legal-page .trust-content p,
[data-theme="dark"] .trust-legal-page .trust-content li {
    color: #c4d2e3;
}

@media (max-width: 768px) {
    .trust-legal-page .trust-hero--legal {
        padding: 28px 0 18px;
    }

    .trust-legal-page .trust-hero--legal .container,
    .trust-legal-page .trust-hero--legal + .trust-content .trust-content__inner {
        width: calc(100% - 28px);
    }

    .trust-legal-page .trust-content,
    .trust-legal-page .trust-hero--legal + .trust-content {
        padding: 12px 0 36px;
    }

    .trust-legal-page .trust-hero--legal + .trust-content .trust-content__inner {
        padding: 20px 17px 24px;
    }

    .trust-legal-page .trust-content__section > h2 {
        font-size: 1rem;
        padding: 9px 11px;
    }
}

/* All policy and information pages keep their heading inside the document card. */
.trust-legal-page .trust-content {
    padding-top: 24px;
}

.trust-legal-page .trust-card-heading {
    width: 100%;
    max-width: none;
    padding: 0 0 22px;
    margin: 0 0 24px;
    border-bottom: 1px solid #e1eaf3;
    text-align: center;
}

.trust-legal-page .trust-card-heading .trust-hero__title {
    margin: 0;
}

.trust-legal-page .trust-card-heading .trust-hero__subtitle,
.trust-legal-page .trust-content .trust-card-heading .trust-hero__subtitle {
    max-width: 780px;
    margin: 9px auto 0;
    color: #526174;
    line-height: 1.55;
    text-align: center;
}

[data-theme="dark"] .trust-legal-page .trust-card-heading {
    border-bottom-color: #31445b;
}

[data-theme="dark"] .trust-legal-page .trust-card-heading .trust-hero__subtitle {
    color: #aabbd0;
}

@media (max-width: 768px) {
    .trust-legal-page .trust-content {
        padding: 14px 0 36px;
    }

    .trust-legal-page .trust-content__inner {
        width: calc(100% - 28px);
        padding: 20px 17px 24px;
    }

    .trust-legal-page .trust-card-heading {
        padding-bottom: 17px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .trust-legal-page .trust-card-heading .trust-hero__meta span[aria-hidden="true"] {
        display: none;
    }
}
