:root {
    --navy: #102536;
    --green: #21876a;
    --background: #f5f7fa;
    --text: #243746;
    --muted: #64748b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

header {
    background: var(--navy);
    padding: 20px 0;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
    text-decoration: none;
}

.brand strong {
    display: block;
    font-size: 25px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.brand small {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    color: #c2d6df;
}

.brand-icon {
    background: var(--green);
    border-radius: 10px;
    padding: 8px 20px;
    font-size: 32px;
    font-weight: bold;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

nav a, footer a {
    color: white;
    text-decoration: none;
}

nav a:hover, footer a:hover {
    color: #8ce0bd;
}

.hero {
    padding: 90px 0;
    background: linear-gradient(120deg, #102536, #215c61);
    color: white;
}

.eyebrow {
    color: #8ce0bd;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.12;
    margin: 20px 0;
}

.hero p {
    color: #d5e3e8;
    font-size: 20px;
    max-width: 650px;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    background: var(--green);
    color: white;
    text-decoration: none;
    padding: 13px 25px;
    border-radius: 7px;
    font-weight: bold;
    transition: background .2s;
}

.button:hover {
    background: #17664f;
}

#applications {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 35px;
    color: var(--navy);
    margin-bottom: 5px;
}

.section-description {
    text-align: center;
    color: var(--muted);
    margin-bottom: 35px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.app-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: white;
    padding: 35px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    box-shadow: 0 5px 18px #10253608;
}

.app-card h2 {
    color: var(--navy);
    font-size: 24px;
}

.app-card .button {
    margin-top: auto;
}

.app-icon {
    background: #e5f5ef;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 35px;
}

.price {
    font-size: 38px;
    font-weight: bold;
    color: var(--green);
}

.coming-soon {
    font-size: 29px;
}

.muted {
    color: var(--muted);
    font-size: 14px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px 0 60px;
    text-align: center;
}

.features h3 {
    color: var(--green);
}

footer {
    background: var(--navy);
    text-align: center;
    color: #c2d6df;
    padding: 30px 0;
}

@media (max-width: 700px) {
    .app-grid, .features {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 55px 0;
    }

    nav {
        gap: 16px;
    }

    .app-card {
        padding: 25px;
    }
}


/* PRODUCT PAGE STYLING V1 */

.product-page {
    padding-top: 45px;
    padding-bottom: 50px;
}

.product-summary {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: center;
}

.product-summary .app-icon {
    display: inline-block;
}

.purchase-panel {
    background: white;
    padding: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    text-align: center;
}

.release-status {
    display: block;
    background: #21876a;
    color: white;
    border-radius: 7px;
    padding: 14px;
    font-weight: bold;
}

.product-section {
    margin-top: 30px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 30px;
}

.product-section h2 {
    color: #102536;
    margin-top: 0;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-list li::before {
    content: "✓";
    color: #21876a;
    font-weight: bold;
}

@media (max-width: 700px) {
    .product-summary,
    .feature-list {
        grid-template-columns: 1fr;
    }

    .product-section {
        padding: 20px;
    }
}

/* OFFICIAL APPLICATION LOGOS V1 */
.app-logo { display: block; width: 120px; height: 120px; object-fit: contain; border-radius: 12px; }
.product-summary .app-logo { width: 150px; height: 150px; }
@media (max-width: 700px) { .product-summary .app-logo { width: 120px; height: 120px; } }


/* BRADLEY HEADER V2 */

.company-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand {
    gap: 14px;
}

.brand strong {
    font-size: 29px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffffff;
    line-height: 1.15;
}

.brand small {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: #94d6bf;
    margin-top: 5px;
}

@media (max-width: 600px) {
    .company-logo {
        width: 48px;
        height: 48px;
    }

    .brand strong {
        font-size: 23px;
    }

    .brand small {
        font-size: 9px;
        letter-spacing: 1.5px;
    }
}


/* PRIVACY AND SUPPORT V1 */

.legal-hero {
    padding: 50px 0;
}

.legal-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
}

.legal-page {
    max-width: 1050px;
    padding-top: 40px;
    padding-bottom: 60px;
}

.legal-content {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 40px;
    line-height: 1.8;
}

.legal-content h2 {
    color: #102536;
    margin-top: 32px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.legal-content h3 {
    color: #21876a;
}

.legal-content a:not(.button) {
    color: #21876a;
}

.policy-date {
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 700px) {
    .legal-content {
        padding: 20px;
    }
}

/* SAVINGS GALLERY V1 */
.savings-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.savings-gallery figure{margin:0}.savings-gallery img{display:block;width:100%;height:auto;border:1px solid #dbe2e8;border-radius:8px}.savings-gallery figcaption{font-weight:600;padding:10px 0;color:#102536}@media(max-width:700px){.savings-gallery{grid-template-columns:1fr}}


/* SAVINGS GALLERY V2 */

.savings-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
    width: 100%;
}

.savings-gallery figure {
    margin: 0;
    padding: 15px;
    min-width: 0;
    background: #f5f7fa;
    border: 1px solid #dbe2e8;
    border-radius: 12px;
    overflow: visible;
}

.savings-gallery a {
    display: block;
    width: 100%;
}

.savings-gallery img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 8px;
    cursor: zoom-in;
}

.savings-gallery figcaption {
    text-align: center;
    font-size: 19px;
    font-weight: 600;
    padding: 16px 0 5px;
    color: #102536;
}

@media (max-width: 700px) {
    .savings-gallery {
        gap: 20px;
    }

    .savings-gallery figure {
        padding: 6px;
    }

    .savings-gallery figcaption {
        font-size: 15px;
    }
}


/* SAVINGS GALLERY V3 */

.savings-gallery figure {
    display: flex;
    flex-direction: column;
}

.savings-gallery figcaption {
    order: -1;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #102536;
    padding: 10px 0 20px;
}

@media (max-width: 700px) {
    .savings-gallery figcaption {
        font-size: 19px;
        padding: 10px 0 15px;
    }
}


/* BRADLEY COMPACT PROFESSIONAL DESIGN V2 */

body {
    line-height: 1.5;
}

.container {
    width: min(1240px, 94%);
}

/* Compact company header */

header {
    padding: 10px 0;
}

.navigation {
    gap: 15px;
}

.company-logo {
    width: 48px;
    height: 48px;
}

.brand {
    gap: 12px;
}

.brand strong {
    font-size: 26px;
    letter-spacing: 2.5px;
}

.brand small {
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 3px;
}

nav {
    gap: 25px;
}

nav a {
    font-size: 15px;
    font-weight: 500;
}

/* Compact gradient banners */

.hero {
    padding: 30px 0;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    margin: 12px 0;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 17px;
    margin: 8px 0 10px;
    max-width: 850px;
}

.hero .button {
    margin-top: 10px;
}

/* Homepage */

#applications {
    padding: 28px 0;
}

.section-title {
    font-size: 30px;
    margin: 0 0 5px;
}

.section-description {
    margin-bottom: 22px;
}

.app-grid {
    gap: 22px;
}

.app-card {
    padding: 22px;
    border-radius: 12px;
}

.app-card h2 {
    font-size: 22px;
    margin: 12px 0 6px;
}

.app-card p {
    margin: 6px 0;
}

.app-card .button {
    margin-top: auto;
}

.app-logo {
    width: 100px;
    height: 100px;
}

.features {
    padding: 15px 0 30px;
    gap: 20px;
}

/* Application product pages */

.product-page {
    padding-top: 24px;
    padding-bottom: 30px;
}

.product-summary {
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: center;
}

.product-summary .app-logo {
    width: 110px;
    height: 110px;
}

.product-summary h2 {
    font-size: 24px;
    margin: 10px 0 6px;
}

.product-summary p {
    margin: 6px 0;
}

.purchase-panel {
    padding: 22px;
    border-radius: 12px;
}

.price {
    font-size: 34px;
}

.release-status {
    padding: 10px;
    margin-top: 10px;
}

.product-section {
    margin-top: 20px;
    padding: 22px;
    border-radius: 12px;
}

.product-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-list {
    gap: 12px;
}

/* Screenshot gallery */

.savings-gallery {
    gap: 22px;
}

.savings-gallery figure {
    padding: 12px;
}

.savings-gallery figcaption {
    font-size: 21px;
    padding: 4px 0 12px;
}

/* Privacy and customer support */

.legal-hero {
    padding: 28px 0;
}

.legal-page {
    padding-top: 24px;
    padding-bottom: 30px;
}

.legal-content {
    padding: 28px;
    line-height: 1.7;
}

.legal-content h2 {
    margin-top: 24px;
}

/* Buttons and footer */

.button {
    padding: 10px 20px;
    font-size: 14px;
}

footer {
    padding: 18px 0;
    font-size: 14px;
}

footer p {
    margin: 4px 0 8px;
}

/* Mobile layout */

@media (max-width: 700px) {

    header {
        padding: 10px 0;
    }

    .company-logo {
        width: 42px;
        height: 42px;
    }

    .brand strong {
        font-size: 23px;
    }

    .brand small {
        font-size: 9px;
    }

    nav {
        gap: 16px;
    }

    .hero {
        padding: 24px 0;
    }

    .hero h1 {
        font-size: 29px;
    }

    .hero p {
        font-size: 15px;
    }

    .product-summary {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-section,
    .purchase-panel,
    .app-card,
    .legal-content {
        padding: 16px;
    }

    .savings-gallery figure {
        padding: 6px;
    }

    .savings-gallery figcaption {
        font-size: 17px;
    }
}


/* GLOBAL WEBSITE DESIGN V2.1 */

body {
    margin: 0;
    line-height: 1.5;
}

.container {
    width: min(1240px, 94%);
    margin-left: auto;
    margin-right: auto;
}

/* GLOBAL HEADER */

body header {
    padding: 10px 0;
}

body .navigation {
    gap: 12px;
    align-items: center;
}

body .company-logo {
    width: 48px;
    height: 48px;
}

body .brand strong {
    font-size: 26px;
    letter-spacing: 2px;
}

body .brand small {
    font-size: 10px;
    margin-top: 3px;
}

/* ALL PAGE BANNERS */

body .hero,
body .legal-hero {
    padding: 24px 0;
    min-height: 0;
    height: auto;
}

body .hero h1 {
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.15;
    margin: 8px 0;
}

body .hero p {
    font-size: 16px;
    line-height: 1.5;
    margin: 8px 0;
    max-width: 900px;
}

body .hero .eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
}

body .hero .button {
    margin-top: 8px;
    padding: 10px 18px;
}

/* COMPACT HOMEPAGE */

body #applications {
    padding: 22px 0;
}

body .section-title {
    font-size: 28px;
    margin: 0 0 5px;
}

body .section-description {
    margin: 0 0 18px;
}

body .app-grid {
    gap: 20px;
}

body .app-card {
    padding: 20px;
    border-radius: 12px;
}

body .app-card h2 {
    font-size: 22px;
    margin: 10px 0 6px;
}

body .app-card p {
    margin: 6px 0;
}

body .app-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

body .features {
    padding: 10px 0 25px;
    gap: 18px;
}

body .features h3 {
    margin: 8px 0;
}

body .features p {
    margin: 5px 0;
}

/* APPLICATION PAGES */

body .product-page {
    padding-top: 20px;
    padding-bottom: 25px;
}

body .product-summary {
    gap: 20px;
}

body .product-summary .app-logo {
    width: 110px;
    height: 110px;
}

body .purchase-panel {
    padding: 20px;
}

body .product-section {
    margin-top: 20px;
    padding: 20px;
}

body .product-section h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
}

/* SCREENSHOT GALLERIES */

body .savings-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

body .savings-gallery figure {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

body .savings-gallery figcaption {
    order: -1;
    font-size: 21px;
    font-weight: 700;
    text-align: center;
    padding: 4px 0 12px;
}

body .savings-gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* PRIVACY AND SUPPORT PAGES */

body .legal-page {
    padding-top: 20px;
    padding-bottom: 25px;
}

body .legal-content {
    padding: 24px;
}

body .legal-content h2 {
    margin-top: 22px;
    margin-bottom: 10px;
}

/* GLOBAL FOOTER */

body footer {
    padding: 15px 0;
    font-size: 14px;
}

body footer p {
    margin: 4px 0 6px;
}

/* MOBILE RESPONSIVE DESIGN */

@media (max-width: 700px) {

    body .hero,
    body .legal-hero {
        padding: 20px 0;
    }

    body .hero h1 {
        font-size: 28px;
    }

    body .hero p {
        font-size: 15px;
    }

    body .company-logo {
        width: 42px;
        height: 42px;
    }

    body .brand strong {
        font-size: 23px;
    }

    body .app-grid,
    body .product-summary,
    body .features {
        grid-template-columns: 1fr;
    }

    body .app-card,
    body .product-section,
    body .purchase-panel,
    body .legal-content {
        padding: 16px;
    }

    body .savings-gallery figcaption {
        font-size: 18px;
    }
}

/* DEBT GALLERY V1 */
body .debt-gallery{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}body .debt-gallery figure{margin:0;min-width:0}body .debt-gallery a{display:flex;justify-content:center;width:100%}body .debt-gallery img{display:block;width:auto;max-width:100%;height:auto;max-height:none;object-fit:contain}body .debt-gallery figcaption{order:-1;text-align:center;font-weight:700}


/* UNIFIED APPLICATION GALLERIES V2.2 */

body .savings-gallery,
body .debt-gallery,
body .app-screenshot-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: 100%;
}

body .savings-gallery figure,
body .debt-gallery figure,
body .app-screenshot-gallery figure {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 930px;
    margin: 0 auto;
    padding: 14px;
    background: #f5f7fa;
    border: 1px solid #dbe2e8;
    border-radius: 12px;
    box-sizing: border-box;
}

body .savings-gallery figure a,
body .debt-gallery figure a,
body .app-screenshot-gallery figure a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    background: #e9edf1;
    border-radius: 8px;
    overflow: hidden;
}

body .savings-gallery img,
body .debt-gallery img,
body .app-screenshot-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 900px;
    max-height: 506px;
    object-fit: contain;
    object-position: center;
    border: none;
    border-radius: 6px;
    cursor: zoom-in;
}

body .savings-gallery figcaption,
body .debt-gallery figcaption,
body .app-screenshot-gallery figcaption {
    order: -1;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #102536;
    padding: 6px 0 14px;
}

@media (max-width: 700px) {

    body .savings-gallery figure,
    body .debt-gallery figure,
    body .app-screenshot-gallery figure {
        padding: 8px;
    }

    body .savings-gallery figcaption,
    body .debt-gallery figcaption,
    body .app-screenshot-gallery figcaption {
        font-size: 17px;
    }
}


/* DEBT GALLERY WIDTH V2.3 */

body .debt-gallery figure {
    width: 100%;
    max-width: 930px;
    margin: 0 auto;
    padding: 14px;
}

body .debt-gallery figure a {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    background: transparent;
    overflow: visible;
    margin: 0 auto;
}

body .debt-gallery figure img {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 6px;
}

body .debt-gallery figcaption {
    order: -1;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    padding: 6px 0 14px;
}

@media (max-width: 700px) {
    body .debt-gallery figure {
        padding: 8px;
    }

    body .debt-gallery figcaption {
        font-size: 17px;
    }
}


/* DEBT GALLERY SELECTIVE SIZING V2.4 */

body .debt-gallery img[src$="debt-02-new-debt.png"],
body .debt-gallery img[src$="debt-03-payment.png"],
body .debt-gallery img[src$="debt-04-progress.png"],
body .debt-gallery img[src$="debt-05-history.png"] {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin: 0 auto;
}

/* Match the surrounding cards to the smaller images */

body .debt-gallery figure:has(img[src$="debt-02-new-debt.png"]),
body .debt-gallery figure:has(img[src$="debt-03-payment.png"]),
body .debt-gallery figure:has(img[src$="debt-04-progress.png"]),
body .debt-gallery figure:has(img[src$="debt-05-history.png"]) {
    max-width: 630px;
    margin: 0 auto;
}



/* ADD DEBT ACCOUNT SIZING V2.5 */

body .debt-gallery img[src$="debt-02-new-debt.png"] {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
}

body .debt-gallery figure:has(img[src$="debt-02-new-debt.png"]) {
    max-width: 530px;
    margin: 0 auto;
}


/* RECORD PAYMENT SIZING V2.6 */

body .debt-gallery img[src$="debt-03-payment.png"] {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
}

body .debt-gallery figure:has(img[src$="debt-03-payment.png"]) {
    max-width: 530px;
    margin: 0 auto;
}


/* RECORD PAYMENT SIZING V2.7 */

body .debt-gallery img[src$="debt-03-payment.png"] {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: 0 auto;
}

body .debt-gallery figure:has(img[src$="debt-03-payment.png"]) {
    max-width: 480px;
    margin: 0 auto;
}


/* DEBT GALLERY SIDE BY SIDE V2.8 */

body .debt-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

/* Keep other screenshots on their own rows */

body .debt-gallery figure {
    grid-column: 1 / -1;
}

/* Add a Debt Account - left column */

body .debt-gallery figure:has(img[src$="debt-02-new-debt.png"]) {
    grid-column: 1;
    width: 100%;
    max-width: 530px;
    margin: 0 0 0 auto;
}

/* Record a Payment - right column */

body .debt-gallery figure:has(img[src$="debt-03-payment.png"]) {
    grid-column: 2;
    width: 100%;
    max-width: 430px;
    margin: 0 auto 0 0;
}

body .debt-gallery img[src$="debt-03-payment.png"] {
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin: 0 auto;
}

body .debt-gallery figure:has(img[src$="debt-02-new-debt.png"]) figcaption,
body .debt-gallery figure:has(img[src$="debt-03-payment.png"]) figcaption {
    font-size: 21px;
    text-align: center;
}

/* Mobile devices: stack screenshots vertically */

@media (max-width: 800px) {
    body .debt-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    body .debt-gallery figure:has(img[src$="debt-02-new-debt.png"]),
    body .debt-gallery figure:has(img[src$="debt-03-payment.png"]) {
        grid-column: 1 / -1;
        margin: 0 auto;
    }
}


/* CENTERED DEBT GALLERY V2.9 */

body .debt-gallery {
    display: grid;
    grid-template-columns: minmax(0, 530px) minmax(0, 380px);
    justify-content: center;
    align-items: start;
    gap: 20px;
}

/* Add a Debt Account */

body .debt-gallery figure:has(img[src$="debt-02-new-debt.png"]) {
    grid-column: 1;
    width: 100%;
    max-width: 530px;
    margin: 0 auto;
}

/* Record a Payment */

body .debt-gallery figure:has(img[src$="debt-03-payment.png"]) {
    grid-column: 2;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

body .debt-gallery img[src$="debt-03-payment.png"] {
    width: 100%;
    max-width: 350px;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin: 0 auto;
}

/* Mobile responsive layout */

@media (max-width: 950px) {

    body .debt-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    body .debt-gallery figure:has(img[src$="debt-02-new-debt.png"]),
    body .debt-gallery figure:has(img[src$="debt-03-payment.png"]) {
        grid-column: 1 / -1;
        margin: 0 auto;
    }
}


/* RECORD PAYMENT SIZING V2.10 */

body .debt-gallery {
    grid-template-columns: minmax(0, 530px) minmax(0, 350px);
    justify-content: center;
    gap: 20px;
}

body .debt-gallery figure:has(img[src$="debt-03-payment.png"]) {
    max-width: 350px;
    margin: 0 auto;
}

body .debt-gallery img[src$="debt-03-payment.png"] {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 950px) {
    body .debt-gallery {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* DEBT GALLERY CENTERED PAIRS V2.11 */

body .debt-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Independently centered screenshot pairs */

body .debt-gallery .debt-screenshot-pair {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

body .debt-gallery .debt-screenshot-pair figure {
    min-width: 0;
    flex-shrink: 1;
    margin: 0;
}

/* Add a Debt Account */

body .debt-gallery figure:has(img[src$="debt-02-new-debt.png"]) {
    max-width: 530px;
}

/* Record a Payment */

body .debt-gallery figure:has(img[src$="debt-03-payment.png"]) {
    max-width: 350px;
}

/* Projected Debt-Free Date */

body .debt-gallery figure:has(img[src$="debt-04-progress.png"]) {
    max-width: 630px;
}

body .debt-gallery img[src$="debt-04-progress.png"] {
    max-width: 600px;
    width: 100%;
    height: auto;
}

/* Payment History */

body .debt-gallery figure:has(img[src$="debt-05-history.png"]) {
    max-width: 350px;
}

body .debt-gallery img[src$="debt-05-history.png"] {
    max-width: 320px;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin: 0 auto;
}

/* Mobile responsive layout */

@media (max-width: 950px) {
    body .debt-gallery .debt-screenshot-pair {
        flex-direction: column;
        align-items: center;
    }
}


/* DEBT GALLERY SPACING V2.12 */

body .debt-gallery .debt-screenshot-pair {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

body .debt-gallery .debt-screenshot-pair > figure {
    flex: 0 1 auto;
    margin: 0 !important;
    min-width: 0;
}

body .debt-gallery figure:has(img[src$="debt-02-new-debt.png"]) {
    width: 530px;
    max-width: 100%;
}

body .debt-gallery figure:has(img[src$="debt-03-payment.png"]) {
    width: 350px;
    max-width: 100%;
}

@media (max-width: 950px) {
    body .debt-gallery .debt-screenshot-pair {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}




/* ADD DEBT WIDTH ONLY V2.15 */

body .debt-gallery img[src$="debt-02-new-debt.png"] {
    width: 100%;
    max-width: 470px;
    height: auto;
    aspect-ratio: 470 / 424.812;
    object-fit: fill;
    margin: 0 auto;
}

body .debt-gallery figure:has(img[src$="debt-02-new-debt.png"]) {
    width: 500px;
    max-width: 100%;
}


/* PROJECTED DEBT FREE WIDTH V2.16 */

body .debt-gallery img[src$="debt-04-progress.png"] {
    width: 100%;
    max-width: 564px;
    height: auto;
    aspect-ratio: 564 / 480.169;
    object-fit: fill;
    margin: 0 auto;
}

body .debt-gallery figure:has(img[src$="debt-04-progress.png"]) {
    width: 594px;
    max-width: 100%;
}
