:root {
    --green: #0e8748;
    --cream: #ffffff;
    --orange: #0e8748;
    --muted: #5b6660;
    --line: #dce9e2;
}

.original-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 38px;
    padding-top: 40px;
    padding-bottom: 64px;
    border-top: 1px solid var(--line);
}

.original-benefits article {
    text-align: center;
}

.original-benefits img {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 22px;
}

.original-benefits h2 {
    font-family: var(--font);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.3px;
    line-height: 1.3;
    margin-bottom: 14px;
}

.original-benefits p {
    font-size: 12px;
    line-height: 1.85;
}

@media(max-width:1050px) {
    .original-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}

@media(max-width:600px) {
    .original-benefits {
        gap: 30px 22px;
    }

    .original-benefits img {
        width: 76px;
        height: 76px;
        margin-bottom: 15px;
    }

    .original-benefits h2 {
        font-size: 16px;
    }

    .original-benefits p {
        font-size: 11px;
        line-height: 1.75;
    }
}

@media(max-width:380px) {
    .original-benefits {
        grid-template-columns: 1fr;
    }

    .original-benefits article {
        max-width: 280px;
        margin: auto;
    }
}

body,
.site-masthead,
.header,
.announcement {
    background: #fff;
}

.site-masthead .announcement {
    background: #075b36;
    color: #fff;
    border: 0;
}

.site-masthead .header {
    border-bottom-color: var(--line);
}

.site-masthead .header nav {
    grid-template-columns: 1fr 1fr 190px 1fr 1fr;
}

.button:hover,
.button-cream:hover {
    background: #0a6f3a;
}

.text-link:hover {
    color: #086334;
}

.site-masthead .header nav a:hover {
    color: #086334;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline-color: #0e8748;
}

main>section {
    scroll-margin-top: 35px;
}

.banner-carousel {
    padding-top: 0;
    background: #fff;
}

.banner-slides {
    width: 100%;
    aspect-ratio: 1500/720;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-x pan-y pinch-zoom;
    overscroll-behavior-x: contain;
}

.banner-slides::-webkit-scrollbar {
    display: none;
}

.banner-slide {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.banner-slides img {
    user-select: none;
    -webkit-user-drag: none;
}

.banner-slides.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.banner-slides.is-dragging a {
    cursor: grabbing;
}

.banner-slide,
.banner-slide a,
.banner-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-slide[hidden] {
    display: none;
}

.banner-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    height: 60px;
    border-bottom: 1px solid var(--line);
}

.banner-controls>button {
    background: none;
    font-size: 23px;
    width: 34px;
    height: 34px;
}

.banner-dots {
    display: flex;
    gap: 10px;
}

.banner-dots button {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    padding: 0;
    background: #d5e5dc;
}

.banner-dots button[aria-pressed=true] {
    background: var(--green);
}

.section {
    padding: 75px 6%;
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading h2 {
    font-size: clamp(35px, 3.5vw, 52px);
    letter-spacing: -1.8px;
}

.section-heading .eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.section-heading p {
    font-size: 12px;
}

.platforms {
    padding-bottom: 50px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 25px 15px 14px;
    box-shadow: 0 3px 12px #0e874807;
    transition: transform .2s, border-color .2s;
}

.platform-card:hover {
    transform: translateY(-3px);
    border-color: var(--green);
}

.platform-card img {
    width: 100%;
    height: 60px;
    object-fit: contain;
}

.platform-card>span {
    font-size: 9px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.platform-card svg {
    width: 16px;
    height: 16px;
}

.availability-note {
    font-size: 10px;
    margin-top: 15px;
}

.legacy-products {
    padding-top: 45px;
}

.range-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 38px;
}

.range-card {
    display: grid;
    grid-template-columns: .85fr 1fr;
    gap: 25px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
    align-items: center;
}

.range-image {
    background: #fff;
    position: relative;
    padding: 15px;
    height: 290px;
    width: 100%;
}

.range-image>span {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 9px;
}

.range-image img {
    width: 100%;
    height: 100%;
    transition: transform .2s;
}

.range-image:hover img {
    transform: translateY(-4px);
}

.range-copy h3 {
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: -.8px;
    margin-bottom: 15px;
}

.range-copy p {
    font-size: 12px;
    line-height: 1.8;
}

.range-variants {
    display: block;
    font-size: 9px;
    line-height: 1.8;
    margin: 15px 0 22px;
}

.range-copy .text-link {
    background: none;
    padding: 0 0 5px;
    font-size: 11px;
    border-bottom: 1px solid;
}

.range-copy .text-link svg {
    width: 17px;
    height: 17px;
}

.testimonials {
    background: #0e8748;
    color: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
}

.testimonials .eyebrow {
    opacity: .75;
}

.review-controls {
    display: flex;
    gap: 10px;
}

.review-controls .circle-button {
    border-color: #ffffff60;
    color: #fff;
    width: 36px;
    height: 36px;
}

.review-controls .circle-button:hover {
    background: #fff;
    color: var(--green);
}

.review-controls .circle-button:disabled {
    opacity: .35;
    cursor: default;
}

.review-track {
    display: flex;
    gap: 24px;
    overflow: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #ffffff55 transparent;
    padding-bottom: 18px;
}

.review-card {
    margin: 0;
    flex: 0 0 calc((100% - 48px)/3);
    min-width: 260px;
    border-top: 1px solid #ffffff60;
    padding: 19px 0 0;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.quote-mark {
    font: 60px/.9 Georgia, serif;
    opacity: .6;
}

.review-card h3 {
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -.3px;
    margin: 8px 0 12px;
}

.review-card blockquote {
    font-size: 13px;
    line-height: 1.9;
    margin: 0 0 30px;
    max-width: 300px;
}

.review-card figcaption {
    font-size: 11px;
    margin-top: auto;
}

.review-card figcaption span {
    display: block;
    opacity: .7;
    font-size: 9px;
    margin-top: 3px;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.journal-card a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.journal-image {
    height: 205px;
    width: 100%;
    background: #f6faf7;
    padding: 20px;
    margin-bottom: 20px;
}

.journal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.article-type {
    font-size: 9px;
    margin-bottom: 12px;
}

.journal-card h3 {
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -.5px;
    margin-bottom: 13px;
}

.journal-card p {
    font-size: 11px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.journal-card .text-link {
    font-size: 10px;
    margin-top: auto;
}

.journal-card .text-link svg {
    width: 17px;
}

footer {
    background: #fff;
    border-top: 1px solid var(--line);
}

.footer-brand em {
    color: var(--green);
}

.dialog-image {
    background: #f4f9f6;
}

.dialog-content {
    color: var(--green);
}

.dialog-content #dialog-variants span {
    border-color: var(--line);
}

@media(max-width:1050px) {
    .platform-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .range-grid {
        gap: 30px;
    }

    .range-card {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .range-image {
        height: 280px;
    }

    .journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 25px;
    }

    .review-card {
        flex-basis: calc((100% - 24px)/2);
    }
}

@media(max-width:760px) {
    .site-masthead .header nav {
        display: none;
    }

    .site-masthead .header nav.open {
        display: flex;
    }

    .banner-carousel {
        padding-top: 0;
    }

    .section {
        padding: 45px 6%;
    }

    .section-heading {
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 25px;
    }

    .section-heading h2 {
        font-size: 36px;
    }

    .section-heading .eyebrow {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .section-heading>p {
        display: none;
    }

    .platform-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .platform-card {
        padding: 18px 10px 10px;
    }

    .platform-card img {
        height: 38px;
    }

    .platform-card>span {
        margin-top: 13px;
        padding-top: 8px;
        font-size: 8px;
    }

    .platform-card svg {
        width: 12px;
        height: 12px;
    }

    .availability-note {
        font-size: 9px;
        line-height: 1.6;
    }

    .legacy-products {
        padding-top: 20px;
    }

    .legacy-products .section-heading {
        flex-direction: row;
        align-items: center;
    }

    .legacy-products .section-heading .text-link {
        font-size: 9px;
        gap: 8px;
        white-space: nowrap;
    }

    .legacy-products .section-heading .text-link svg {
        width: 16px;
    }

    .range-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .range-card {
        grid-template-columns: .8fr 1fr;
        gap: 18px;
        padding-top: 20px;
    }

    .range-image {
        height: 230px;
        padding: 15px 5px;
    }

    .range-copy h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .range-copy p {
        font-size: 11px;
        line-height: 1.75;
    }

    .range-variants {
        font-size: 8px;
        margin: 12px 0 18px;
    }

    .range-copy .text-link {
        font-size: 10px;
        gap: 10px;
    }

    .testimonials .section-heading {
        flex-direction: row;
        align-items: flex-end;
    }

    .testimonials .section-heading h2 {
        font-size: 33px;
    }

    .review-controls {
        gap: 7px;
    }

    .review-controls .circle-button {
        width: 30px;
        height: 30px;
    }

    .review-card {
        flex: 0 0 88%;
        min-width: 0;
    }

    .review-card blockquote {
        font-size: 13px;
    }

    .journal .section-heading {
        flex-direction: row;
        align-items: center;
    }

    .journal .section-heading .text-link {
        font-size: 9px;
        gap: 8px;
        white-space: nowrap;
    }

    .journal-grid {
        gap: 28px 18px;
    }

    .journal-image {
        height: 155px;
        padding: 12px;
        margin-bottom: 14px;
    }

    .journal-card h3 {
        font-size: 16px;
        line-height: 1.35;
    }

    .journal-card p {
        font-size: 10px;
    }

    .article-type {
        font-size: 8px;
    }
}

@media(max-width:600px) {
    .banner-slides {
        aspect-ratio: 1080/1551;
    }

    .banner-controls {
        height: 48px;
    }
}

@media(max-width:380px) {
    .platform-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .range-image {
        height: 210px;
    }

    .range-copy h3 {
        font-size: 20px;
    }

    .journal .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Keep the header line flush with the artwork; the logo overlaps the banner. */
.site-masthead .brand,
.site-masthead .brand img {
    width: 165px;
    height: 138px;
}

.site-masthead .header nav {
    grid-template-columns: 1fr 1fr 210px 1fr 1fr;
}

.platform-card {
    justify-content: center;
    min-height: 120px;
    padding: 24px 18px;
    box-shadow: none;
}

.section-heading {
    margin-bottom: 28px;
}

.range-variants {
    margin: 0 0 20px;
    font-size: 10px;
}

.review-card {
    padding-top: 25px;
}

.review-card blockquote {
    margin-bottom: 26px;
}

.journal-image {
    margin-bottom: 16px;
}

.journal-card h3 {
    margin-bottom: 0;
}

@media(max-width:1050px) and (min-width:761px) {

    .site-masthead .brand,
    .site-masthead .brand img {
        width: 148px;
        height: 124px;
    }

    .site-masthead .header nav {
        grid-template-columns: 1fr 1.5fr 180px 1fr .7fr;
    }
}

@media(max-width:760px) {

    .site-masthead .brand,
    .site-masthead .brand img {
        width: 125px;
        height: 105px;
    }

    .platform-card {
        min-height: 85px;
        padding: 17px 12px;
    }

    .range-variants {
        font-size: 9px;
        margin-bottom: 17px;
    }
}