body {
    background-color: var(--theme-color-surface);

    .bg-primary {
        color: var(--theme-color-on-primary)!important;
        background-color: var(--theme-color-primary)!important;
    }
    .bg-secondary {
        color: var(--theme-color-on-secondary)!important;
        background-color: var(--theme-color-secondary)!important;
    }
    .bg-tertiary {
        color: var(--theme-color-on-tertiary)!important;
        background-color: var(--theme-color-tertiary)!important;
    }

    h2 {
        font-family: var(--theme-font-header-font-family) serif;
        font-weight: var(--theme-font-header-font-weight);
        font-size: var(--theme-font-header-large-font-size);
        line-height: var(--theme-font-header-large-line-height);
    }

    p, ul, li {
        font-family: var(--theme-font-body-font-family) serif;
        font-weight: var(--theme-font-body-font-weight);
        font-size: var(--theme-font-body-regular-font-size);
        line-height: var(--theme-font-body-regular-line-height);
    }

    .chip {
        font-family: var(--theme-font-chip-font-family) serif;
        font-weight: var(--theme-font-chip-font-weight);
        font-size: var(--theme-font-chip-regular-font-size);
        line-height: var(--theme-font-chip-regular-line-height);

        padding: var(--theme-dimension-timer-regular-padding);
        border-radius: var(--theme-dimension-timer-regular-radius);
    }

    .card {
        background-color: var(--theme-color-surface-bright);
    }

    /* --- Header --- */
    .heading {
        color: var(--theme-color-on-surface);
    }

    /* --- Text --- */
    .text-primary {
        color: var(--theme-color-on-surface);
    }
    .text-secondary {
        color: var(--theme-color-on-surface-variant);
    }

    /* --- Buttons --- */
    .btn-primary {
        color: var(--theme-color-on-primary);
        background-color: var(--theme-color-primary);
        border: 1px solid var(--theme-color-primary);
    }
    .btn-secondary {
        color: var(--theme-color-on-secondary);
        background-color: var(--theme-color-secondary);
        border: 1px solid var(--theme-color-secondary);
    }

    /* --- Components --- */
    .divider {
        border-top: 1px solid var(--theme-color-labels-secondary);
    }

    .landing-card {
        border: none;
        padding: 0.9375rem;
        box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.08);
        overflow: hidden;
    }

    .organization-logo {
        max-width: 12.5rem;
        max-height: 12.5rem;
        width: 100%;
    }

    .qr-wrapper {
        background: #fff;
        padding: 0.9375rem;
        border-radius: 0.625rem;
        border: 0.125rem dashed #dee2e6;
        display: inline-block;
    }

    /* --- Phone preview --- */
    .phone-preview {
        grid-template-rows: 1fr auto 1fr;
        aspect-ratio: 1 / 2;
        border: .125rem solid #ddd;
        border-radius: 1.5rem;
        background: #FCF8F8;
        overflow: hidden;
        -webkit-mask-image: -webkit-radial-gradient(white, black);
    }

    .phone-preview img {
        -webkit-user-drag: none;
    }

    .preview-placeholder {
        padding: 3.75rem 1.25rem; /* Some padding to keep 'fake' ad proportions */
        border: 0.125rem solid #ddd;
    }

    .blur-gradient {
        backdrop-filter: blur(3.75rem);
        -webkit-backdrop-filter: blur(3.75rem);
        opacity: 0.9;
    }

    .blur-gradient-top {
        mask-image: linear-gradient(to top, transparent 25%, black 100%);
        -webkit-mask-image: linear-gradient(to top, transparent 25%, black 100%);
    }

    .blur-gradient-bottom {
        mask-image: linear-gradient(to bottom, transparent 25%, black 100%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 25%, black 100%);
    }

    .avatar {
        --avatar-size: 7.5rem;

        margin: auto;
        width: var(--avatar-size);
        height: var(--avatar-size);

        border-radius: var(--avatar-size);

        overflow: hidden;

        box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.08);

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;

            border-radius: var(--avatar-size);
        }

        span {
            display: flex;
            justify-content: center;
            align-items: center;

            font-family: var(--theme-font-avatar-font-family) serif;
            font-weight: var(--theme-font-avatar-font-weight);
            font-size: var(--theme-font-avatar-extra-large-font-size);
            line-height: var(--theme-font-avatar-extra-large-line-height);

            width: 100%;
            height: 100%;

            box-sizing: border-box;

            border: 0.625rem solid var(--theme-color-on-primary);
            border-radius: var(--avatar-size);

            background: var(--theme-color-primary);
            color: var(--theme-color-on-primary);
        }
    }
}


