.home-page,
.product-page {
    background: #f8f9fa;
    color: var(--color-text);
    width: 100%;
}

.home-page h3,
.product-page h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.home-lead {
    font-size: 1.125rem !important;
    max-width: 35rem;
}

.home-hero {
    padding-top: 3rem;
}

.home-digi-frame {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 31rem;
    padding: 5.5rem 2rem 5rem;
    border-radius: 3rem;
    background: #fff0e4;
}

.home-digi-frame > img {
    width: 90%;
    max-width: 24rem;
    height: auto;
    position: relative;
}

.digi-caption {
    margin-top: 1.25rem;
    text-align: center;
    font-size: .95rem;
    color: #584140;
}

.digi-color {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.digi-color-cyan {
    width: 3.75rem;
    aspect-ratio: 1;
    top: 1.5rem;
    left: 1.5rem;
    background: #b8ecf8;
}

.digi-color-magenta {
    width: 1rem;
    aspect-ratio: 1;
    top: 1.75rem;
    right: 2rem;
    background: #f5b7db;
}

.digi-color-yellow {
    width: 2rem;
    aspect-ratio: 1;
    bottom: 1.5rem;
    left: 25%;
    background: #fff19a;
}

.digi-color-gray {
    width: 1.5rem;
    aspect-ratio: 1;
    bottom: 1.75rem;
    right: 22%;
    background: #c7c4c1;
}

.printer-range-section {
    padding-bottom: 2rem;
}

.printer-range-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.printer-range-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Four CMYK-inspired dots echo Digi, with a distinct arrangement for each model. */
.printer-range-card {
    isolation: isolate;
}

.printer-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    width: var(--dot-size);
    height: var(--dot-size);
    top: var(--dot-top, auto);
    right: var(--dot-right, auto);
    bottom: var(--dot-bottom, auto);
    left: var(--dot-left, auto);
}

.printer-dot-cyan {
    background: #b8ecf8;
}

.printer-dot-magenta {
    background: #f5b7db;
}

.printer-dot-yellow {
    background: #fff19a;
}

.printer-dot-gray {
    background: #d4d5d6;
}

.printer-range-card-coral .printer-dot-gray {
    --dot-size: 1.25rem;
    --dot-bottom: 1.25rem;
    --dot-left: 1.25rem;
}

.printer-range-card-mint .printer-dot-gray {
    --dot-size: 2rem;
    --dot-bottom: 1rem;
    --dot-right: 23%;
}

.printer-range-card-gold .printer-dot-gray {
    --dot-size: 1rem;
    --dot-top: 47%;
    --dot-left: 1rem;
}

.printer-range-card-coral .printer-dot-cyan {
    --dot-size: 3.75rem;
    --dot-top: 1rem;
    --dot-right: 1rem;
}

.printer-range-card-coral .printer-dot-magenta {
    --dot-size: .75rem;
    --dot-top: 46%;
    --dot-left: .75rem;
}

.printer-range-card-coral .printer-dot-yellow {
    --dot-size: 1.75rem;
    --dot-bottom: 1rem;
    --dot-right: 24%;
}

.printer-range-card-mint .printer-dot-cyan {
    --dot-size: 1.5rem;
    --dot-bottom: 8.5rem;
    --dot-left: .75rem;
}

.printer-range-card-mint .printer-dot-magenta {
    --dot-size: 3.5rem;
    --dot-top: 1rem;
    --dot-right: 1.25rem;
}

.printer-range-card-mint .printer-dot-yellow {
    --dot-size: .875rem;
    --dot-top: 48%;
    --dot-right: .75rem;
}

.printer-range-card-gold .printer-dot-cyan {
    --dot-size: 1.75rem;
    --dot-bottom: 1rem;
    --dot-left: 29%;
}

.printer-range-card-gold .printer-dot-magenta {
    --dot-size: .75rem;
    --dot-top: 39%;
    --dot-right: .75rem;
}

.printer-range-card-gold .printer-dot-yellow {
    --dot-size: 3.75rem;
    --dot-top: 1rem;
    --dot-right: 1.25rem;
}

.printer-range-card h3 {
    margin: 0 2rem 1rem 0;
    font-size: 1.5rem;
}

.printer-range-card .button {
    font-size: 1rem;
    margin-top: auto;
    padding-inline: .75rem;
    width: 100%;
}

.home-ar-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: left;
}

.home-ar-heading > img {
    flex: 0 0 auto;
    width: 112px;
    height: auto;
}

.home-ar-heading p {
    margin-top: 12px;
}

.home-ar {
    padding-top: 5rem;
}

.home-cta-section {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.product-hero {
    padding-top: 1.5rem;
}

.product-specs {
    background: #fff;
    border-radius: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.product-page #specifications {
    padding-top: 0;
}

.product-spec-list {
    margin: 2rem 0;
}

.product-spec-list > div {
    border-bottom: 1px solid #e1e3e4;
    display: grid;
    grid-template-columns: minmax(10rem, 1fr) 2fr;
}

.product-spec-list dt {
    font-size: 1rem;
    font-weight: 600;
}

.product-spec-list dd {
    color: #584140;
    margin: 0;
}

.product-spec-list a {
    color: #007167;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

@media (max-width: 767px) {
    .home-hero {
        padding-top: 2rem;
    }

    .home-digi-frame {
        min-height: 0;
        padding: 5.5rem 1.5rem 5rem;
        border-radius: 2rem;
    }

    .home-digi-frame .digi-color-cyan {
        width: 3.5rem;
        top: 1.25rem;
        left: 1.5rem;
    }

    .home-digi-frame .digi-color-magenta {
        width: 1rem;
        top: 1.5rem;
        right: 2rem;
    }

    .home-digi-frame .digi-color-yellow {
        width: 2rem;
        bottom: 1.5rem;
        left: 25%;
    }

    .home-digi-frame > img {
        max-width: 17rem;
    }

    .digi-caption {
        font-size: .875rem;
    }

    .printer-range-section {
        padding-bottom: 1rem;
    }

    .printer-range-grid {
        grid-template-columns: 1fr;
    }

    .home-ar-heading {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .home-ar-heading > img {
        width: 88px;
    }

    .home-ar {
        padding-top: 48px;
    }

    .product-hero {
        padding-top: 1.5rem;
    }

    .product-specs {
        border-radius: 2rem;
    }

    .product-spec-list > div {
        grid-template-columns: 1fr;
        padding-inline: 0;
    }
}

@media (min-width: 768px) and (max-width: 999px) {
    .printer-range-grid {
        grid-template-columns: 1fr;
        max-width: 36rem;
        margin-inline: auto;
    }
}

@media (prefers-color-scheme: dark) {
    .home-page,
    .product-page {
        background: var(--color-background);
    }

    .home-digi-frame {
        background: #d7c3ab;
    }

    .digi-caption {
        color: #493a30;
    }

    .home-ar-heading > img {
        background: #d7c3ab;
        border-radius: 24px;
        padding: 8px;
    }

    .printer-dot-cyan {
        background: #36575c;
    }

    .digi-color-cyan {
        background: #87b9c1;
    }

    .printer-dot-magenta {
        background: #62404f;
    }

    .digi-color-magenta {
        background: #bc829f;
    }

    .printer-dot-yellow {
        background: #655831;
    }

    .digi-color-yellow {
        background: #e4c768;
    }

    .printer-dot-gray {
        background: #48423e;
    }

    .digi-color-gray {
        background: #aea397;
    }

    .product-specs {
        background: var(--color-surface);
    }

    .product-spec-list > div {
        border-color: var(--color-border);
    }

    .product-spec-list dd {
        color: var(--color-text);
    }

    .product-spec-list a {
        color: var(--color-teal);
    }
}

/* Model introduction, production facts, and specifications. */
.product-introduction {
    max-width: 58rem;
}

.product-introduction h1 {
    max-width: 54rem;
}

.product-intro-copy {
    max-width: 48rem;
    font-size: 1.2rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.product-key-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 3rem 0 1rem;
    border-block: 1px solid var(--color-border);
}

.product-key-facts dt {
    font-size: .9rem;
    color: var(--color-text);
}

.product-key-facts dd {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-heading);
}

.product-key-facts dd span {
    font-size: 1rem;
    font-weight: 400;
}

.product-facts-note {
    font-size: .9rem;
}

.product-evidence {
    padding-top: 0;
}

.product-results-copy {
    max-width: 52rem;
}

.product-results-copy h2 {
    margin-block: 1.25rem;
}

.product-results-copy > p {
    margin-bottom: 1rem;
}

.home-ar-action {
    text-align: center;
}

@media (max-width: 767px) {
    .product-key-facts {
        grid-template-columns: 1fr;
    }

    .product-evidence {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Transparent Digi illustrations on theme-specific backgrounds. */
.product-illustrated-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.digi-printer-scene {
    margin: 0;
    position: relative;
    isolation: isolate;
    background: #e9e4df;
    border-radius: 2rem;
    overflow: hidden;
}

.digi-printer-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
    radial-gradient(circle at var(--scene-cyan, 14% 20%), var(--scene-cyan-color, #99dce9) 0 2.5%, transparent 5%),
    radial-gradient(circle at var(--scene-magenta, 85% 15%), var(--scene-magenta-color, #edb1cf) 0 1%, transparent 3%),
    radial-gradient(circle at var(--scene-yellow, 72% 84%), var(--scene-yellow-color, #f2de91) 0 4%, transparent 7%),
    radial-gradient(circle at var(--scene-gray, 19% 81%), var(--scene-gray-color, #bcb9b6) 0 1.5%, transparent 3.5%);
    filter: blur(7px);
    opacity: .42;
}

.digi-printer-scene img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
}

.industrial-scene-section {
    padding-top: 0;
}

.industrial-scene-section h2 {
    margin-bottom: 1rem;
}

.industrial-scene-section p {
    margin-bottom: 1.5rem;
}

@media (max-width: 1000px) {
    .product-illustrated-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .digi-printer-scene {
        width: 100%;
        max-width: 44rem;
        margin-inline: auto;
    }
}

/* Shift each scene's accents without repeating a large color wash. */
.digi-scene-il-600 {
    --scene-cyan: 12% 72%;
    --scene-magenta: 78% 13%;
    --scene-yellow: 40% 16%;
    --scene-gray: 86% 84%;
}

.digi-scene-il-700 {
    --scene-cyan: 24% 18%;
    --scene-magenta: 79% 82%;
    --scene-yellow: 57% 82%;
    --scene-gray: 9% 71%;
}

.digi-scene-industrial {
    --scene-cyan: 82% 75%;
    --scene-magenta: 48% 18%;
    --scene-yellow: 15% 78%;
    --scene-gray: 86% 18%;
}

@media (prefers-color-scheme: dark) {
    .digi-printer-scene {
        background: #37332f;
        --scene-cyan-color: #81b4be;
        --scene-magenta-color: #bd8ba5;
        --scene-yellow-color: #cbb774;
        --scene-gray-color: #a5a19d;
    }

    .digi-printer-scene::before {
        opacity: .3;
    }
}

/* A single editorial panel: message first, illustration contained beside it. */
.custom-production-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: clamp(2rem, 4vw, 4rem);
    row-gap: 1.75rem;
    padding: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
    box-shadow: none;
}

.custom-production-copy {
    align-self: end;
}

.custom-production-eyebrow {
    display: block;
    color: var(--color-teal);
    font-size: .8125rem;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .06em;
}

.industrial-scene-section h2 {
    font-size: clamp(1.875rem, 2.8vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -.025em;
    margin: 1rem 0 1.25rem;
    text-wrap: balance;
}

.industrial-scene-section p {
    margin: 0;
    max-width: 43ch;
    line-height: 1.7;
}

.custom-production-art {
    margin: 0;
    grid-column: 2;
    grid-row: 1 / 3;
    position: relative;
    isolation: isolate;
    min-width: 0;
}

.custom-production-art::before {
    content: "";
    position: absolute;
    inset: 8%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(ellipse, #e9e4df 15%, transparent 70%);
}

.custom-production-art img {
    display: block;
    width: 100%;
    height: auto;
}

.custom-production-action {
    align-self: start;
}

.custom-production-action .button {
    min-height: 48px;
    padding: 12px 24px;
    font-size: 1rem;
    line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
    .custom-production-art::before {
        background: radial-gradient(ellipse, #494039 15%, transparent 70%);
    }
}

@media (max-width: 899px) {
    .custom-production-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        padding: clamp(1.5rem, 5vw, 3rem);
    }

    .custom-production-copy {
        max-width: 34rem;
    }

    .custom-production-art {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        max-width: 30rem;
        justify-self: center;
    }

    .custom-production-break {
        display: none;
    }

    .custom-production-action {
        grid-row: 3;
    }
}

@media (max-width: 479px) {
    .custom-production-action .button {
        width: 100%;
    }
}
