:root {
    --background: #080808;
    --surface: #101010;
    --primary-text: #f0f0ee;
    --secondary-text: #aaa9a5;
    --border: #353535;
    --border-light: #777773;
    --page-width: 1480px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--primary-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    width: min(calc(100% - 96px), var(--page-width));
    min-height: 82px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.company-name {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
}

.navigation {
    display: flex;
    gap: 52px;
}

.navigation a {
    color: var(--secondary-text);
    font-size: 1rem;
    transition: color 180ms ease;
}

.navigation a:hover,
.navigation a:focus-visible {
    color: var(--primary-text);
}

.hero {
    width: min(calc(100% - 96px), var(--page-width));
    min-height: 545px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    align-items: center;
}

.hero-content {
    max-width: 760px;
    padding: 80px 0;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.5rem, 6vw, 6rem);
    font-weight: 500;
    letter-spacing: -0.3rem;
    line-height: 0.98;
}

.hero p {
    max-width: 680px;
    margin: 32px 0 38px;
    color: var(--secondary-text);
    font-size: 1.25rem;
}

.primary-button {
    width: fit-content;
    min-width: 290px;
    min-height: 62px;
    padding: 0 28px;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition:
        background 180ms ease,
        color 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
    background: var(--primary-text);
    color: var(--background);
}

.primary-button span {
    font-size: 1.6rem;
}

.hero-decoration {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.decoration-line {
    width: 170px;
    height: 1px;
    background: var(--border-light);
}

.decoration-circle {
    width: 24px;
    height: 24px;
    margin-left: 22px;
    border: 1px solid var(--border-light);
    border-radius: 50%;
}

.products-section {
    width: min(calc(100% - 96px), var(--page-width));
    margin: 0 auto;
    padding: 36px 0 72px;
    border-bottom: 1px solid var(--border);
}

.products-section h2,
.simple-section h2 {
    margin: 0 0 34px;
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.08rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.product {
    min-height: 150px;
    padding: 26px 34px;
    border-right: 1px solid var(--border);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 26px;
    align-items: center;
}

.product:first-child {
    padding-left: 0;
}

.product:last-child {
    padding-right: 0;
    border-right: 0;
}

.product-icon {
    width: 76px;
    height: 76px;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--secondary-text);
    font-size: 2rem;
}

.document-icon {
    font-size: 2.5rem;
}

.product-content h3 {
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 500;
}

.product-content p {
    margin: 0;
    color: var(--secondary-text);
}

.product-arrow {
    color: var(--secondary-text);
    font-size: 1.6rem;
}

.simple-section {
    width: min(calc(100% - 96px), var(--page-width));
    margin: 0 auto;
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

.simple-section h2 {
    margin-bottom: 18px;
    font-size: clamp(2.5rem, 4vw, 4.5rem);
}

.simple-section > p:last-child {
    max-width: 680px;
    margin: 0;
    color: var(--secondary-text);
    font-size: 1.2rem;
}

.section-label {
    margin: 0 0 24px;
    color: var(--secondary-text);
    font-size: 0.85rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.site-footer {
    width: min(calc(100% - 96px), var(--page-width));
    min-height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .site-header {
        width: min(calc(100% - 40px), var(--page-width));
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        padding: 24px 0;
    }

    .navigation {
        width: 100%;
        gap: 26px;
    }

    .hero {
        width: min(calc(100% - 40px), var(--page-width));
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 90px 0 65px;
    }

    .hero h1 {
        font-size: clamp(3rem, 13vw, 5rem);
        letter-spacing: -0.18rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .hero-decoration {
        display: none;
    }

    .primary-button {
        width: 100%;
        min-width: 0;
    }

    .products-section,
    .simple-section,
    .site-footer {
        width: min(calc(100% - 40px), var(--page-width));
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product {
        padding: 28px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .product:last-child {
        border-bottom: 0;
    }

    .simple-section {
        padding: 72px 0;
    }
}

/* Product detail pages */

.product-page {
    width: min(calc(100% - 96px), var(--page-width));
    margin: 0 auto;
}

.product-hero {
    min-height: 570px;
    padding: 64px 0 90px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.back-link {
    margin-bottom: 70px;
    color: var(--secondary-text);
    font-size: 0.95rem;
    transition: color 180ms ease;
}

.back-link:hover,
.back-link:focus-visible {
    color: var(--primary-text);
}

.product-category {
    margin: 0 0 20px;
    color: var(--secondary-text);
    font-size: 0.85rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.product-hero h1 {
    margin: 0;
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 500;
    letter-spacing: -0.35rem;
    line-height: 0.95;
}

.product-introduction {
    max-width: 760px;
    margin: 34px 0 38px;
    color: var(--secondary-text);
    font-size: 1.25rem;
}

.external-button {
    min-width: 310px;
}

.product-information {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
}

.information-column h2,
.audience-content h2,
.product-website-section h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.14rem;
    line-height: 1.05;
}

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border);
}

.feature-list li {
    position: relative;
    padding: 18px 0 18px 32px;
    border-bottom: 1px solid var(--border);
    color: var(--secondary-text);
    font-size: 1.05rem;
}

.feature-list li::before {
    position: absolute;
    left: 2px;
    content: "—";
    color: var(--primary-text);
}

.audience-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

.audience-content {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 100px;
    align-items: end;
}

.audience-content p {
    margin: 0;
    color: var(--secondary-text);
    font-size: 1.15rem;
}

.product-website-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
}

.product-website-section .section-label {
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .product-page {
        width: min(calc(100% - 40px), var(--page-width));
    }

    .product-hero {
        min-height: auto;
        padding: 56px 0 72px;
    }

    .back-link {
        margin-bottom: 70px;
    }

    .product-hero h1 {
        font-size: clamp(3.5rem, 18vw, 6rem);
        letter-spacing: -0.22rem;
    }

    .product-introduction {
        font-size: 1.05rem;
    }

    .external-button {
        width: 100%;
        min-width: 0;
    }

    .product-information,
    .audience-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .product-information,
    .audience-section,
    .product-website-section {
        padding: 72px 0;
    }

    .product-website-section {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-website-section .primary-button {
        width: 100%;
    }
}
/* Homepage product links */

.product {
    color: inherit;
    transition:
        background 180ms ease,
        padding 180ms ease;
}

.product:hover,
.product:focus-visible {
    background: var(--surface);
}

.product:hover .product-arrow,
.product:focus-visible .product-arrow {
    color: var(--primary-text);
    transform: translateX(5px);
}

.product-arrow {
    transition:
        color 180ms ease,
        transform 180ms ease;
}

/* Keep navigation visible while scrolling */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background);
}

#products,
#about,
#contact {
    scroll-margin-top: 100px;
}

/* Eureka Pilot color theme */

.eureka-theme {
    --background: #1d36a0;
    --surface: #172d8c;
    --primary-text: #ededeb;
    --secondary-text: #d2d5df;
    --border: rgba(237, 237, 235, 0.25);
    --border-light: rgba(237, 237, 235, 0.7);

    background: var(--background);
    color: var(--primary-text);
}

.eureka-theme .site-header {
    background: #9aaff1;
    border-bottom-color: rgba(87, 43, 180, 0.35);

    /* Extends the header color across the full screen */
    box-shadow: 0 0 0 100vmax #9aaff1;
    clip-path: inset(0 -100vmax);
}

.eureka-theme .company-name,
.eureka-theme .navigation a {
    color: #592db6;
}

.eureka-theme .navigation a:hover,
.eureka-theme .navigation a:focus-visible {
    color: #321476;
}

.eureka-theme .back-link,
.eureka-theme .product-category,
.eureka-theme .section-label {
    color: #ff2bdf;
}

.eureka-theme .feature-list li::before {
    color: #ff2bdf;
}

.eureka-theme .primary-button {
    border-color: var(--primary-text);
    color: var(--primary-text);
}

.eureka-theme .primary-button:hover,
.eureka-theme .primary-button:focus-visible {
    background: #ff2bdf;
    border-color: #ff2bdf;
    color: #321476;
}

.eureka-theme .site-footer {
    color: var(--secondary-text);
}

/* Product categories */

.products-heading {
    margin-bottom: 56px;
}

.products-heading .section-label {
    margin-bottom: 16px;
}

.products-heading h2 {
    margin-bottom: 0;
}

.product-category-block {
    padding: 0 0 64px;
}

.product-category-block + .product-category-block {
    padding-top: 64px;
    border-top: 1px solid var(--border);
}

.category-heading {
    margin-bottom: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.category-heading h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

.category-heading p {
    max-width: 520px;
    margin: 0;
    color: var(--secondary-text);
    text-align: right;
}

.product-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid-two .product {
    padding-top: 34px;
    padding-bottom: 34px;
}

.product-grid-two .product:first-child {
    padding-left: 0;
}

.product-grid-two .product:last-child {
    padding-right: 0;
    border-right: 0;
}

@media (max-width: 900px) {
    .products-heading {
        margin-bottom: 44px;
    }

    .product-category-block {
        padding-bottom: 52px;
    }

    .product-category-block + .product-category-block {
        padding-top: 52px;
    }

    .category-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .category-heading p {
        max-width: 100%;
        text-align: left;
    }

    .product-grid-two {
        grid-template-columns: 1fr;
    }

    .product-grid-two .product {
        padding: 28px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .product-grid-two .product:last-child {
        border-bottom: 0;
    }
}

/* Stack each product category description below its title */

.category-heading {
    display: block;
    margin-bottom: 36px;
}

.category-heading h3 {
    margin: 0 0 8px;
}

.category-heading p {
    max-width: 680px;
    margin: 0;
    text-align: left;
}

/* ColorFLEX product theme */

.colorflex-theme {
    --background: #050505;
    --surface: #0d0d0d;
    --primary-text: #f4f4f2;
    --secondary-text: #b8b8b4;
    --border: #303030;
    --border-light: #797979;

    background: var(--background);
    color: var(--primary-text);
}

.colorflex-theme .site-header {
    background: #050505;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(
        90deg,
        #ff0000 0%,
        #ff0000 25%,
        #0066ff 25%,
        #0066ff 50%,
        #007a33 50%,
        #007a33 75%,
        #ffff00 75%,
        #ffff00 100%
    ) 1;

    box-shadow: 0 0 0 100vmax #050505;
    clip-path: inset(0 -100vmax);
}

.colorflex-theme .company-name,
.colorflex-theme .navigation a {
    color: var(--primary-text);
}

.colorflex-theme .navigation a {
    color: var(--secondary-text);
}

.colorflex-theme .navigation a:hover,
.colorflex-theme .navigation a:focus-visible {
    color: var(--primary-text);
}

.colorflex-theme .back-link {
    color: var(--secondary-text);
}

.colorflex-theme .product-category,
.colorflex-theme .section-label {
    color: #f4f4f2;
}

.colorflex-mark {
    width: min(100%, 430px);
    height: 8px;
    margin: 0 0 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.colorflex-mark span {
    display: block;
}

.colorflex-red {
    background: #ff0000;
}

.colorflex-blue {
    background: #0066ff;
}

.colorflex-green {
    background: #007a33;
}

.colorflex-yellow {
    background: #ffff00;
}

.release-badge {
    min-height: 58px;
    padding: 0 28px;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: var(--primary-text);
    font-size: 1rem;
}

.release-badge-large {
    min-width: 280px;
    justify-content: center;
}

.colorflex-feature-list li:nth-child(4n + 1)::before {
    color: #ff0000;
}

.colorflex-feature-list li:nth-child(4n + 2)::before {
    color: #0066ff;
}

.colorflex-feature-list li:nth-child(4n + 3)::before {
    color: #00a84f;
}

.colorflex-feature-list li:nth-child(4n + 4)::before {
    color: #ffff00;
}

.colorflex-modes-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

.colorflex-mode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.colorflex-mode {
    min-height: 290px;
    padding: 34px 42px;
    border-right: 1px solid var(--border);
}

.colorflex-mode:first-child {
    padding-left: 0;
}

.colorflex-mode:last-child {
    padding-right: 0;
    border-right: 0;
}

.mode-number {
    margin: 0 0 70px;
    color: var(--secondary-text);
    font-size: 0.85rem;
    letter-spacing: 0.18rem;
}

.colorflex-mode:nth-child(1) .mode-number {
    color: #ff0000;
}

.colorflex-mode:nth-child(2) .mode-number {
    color: #0066ff;
}

.colorflex-mode:nth-child(3) .mode-number {
    color: #00a84f;
}

.colorflex-mode h2 {
    margin: 0 0 14px;
    font-size: 1.7rem;
    font-weight: 500;
}

.colorflex-mode p:last-child {
    margin: 0;
    color: var(--secondary-text);
}

@media (max-width: 900px) {
    .colorflex-mark {
        width: 100%;
    }

    .colorflex-mode-grid {
        grid-template-columns: 1fr;
    }

    .colorflex-mode {
        min-height: auto;
        padding: 38px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .colorflex-mode:last-child {
        border-bottom: 0;
    }

    .mode-number {
        margin-bottom: 38px;
    }

    .release-badge,
    .release-badge-large {
        width: 100%;
        justify-content: center;
    }
}

/* Footer links */

.site-footer {
    justify-content: space-between;
    gap: 30px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-links a {
    color: var(--secondary-text);
    transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--primary-text);
}

@media (max-width: 600px) {
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding: 30px 0;
    }
}

/* Privacy Policy pages */

.privacy-page {
    width: min(calc(100% - 96px), var(--page-width));
    margin: 0 auto;
}

.privacy-hero {
    padding: 80px 0 90px;
    border-bottom: 1px solid var(--border);
}

.privacy-hero .back-link {
    display: inline-block;
    margin-bottom: 72px;
}

.privacy-hero .colorflex-mark {
    max-width: 260px;
    margin-bottom: 32px;
}

.privacy-hero h1 {
    margin: 0;
    font-size: clamp(3.8rem, 7vw, 7rem);
    font-weight: 500;
    letter-spacing: -0.3rem;
    line-height: 0.95;
}

.policy-dates {
    margin-top: 38px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 42px;
    color: var(--secondary-text);
}

.policy-dates p,
.policy-summary p {
    margin: 0;
}

.policy-summary {
    margin-top: 36px;
    padding: 26px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    color: var(--secondary-text);
}

.policy-summary a,
.policy-content a,
.policy-address a {
    color: var(--primary-text);
    text-decoration: underline;
    text-decoration-color: var(--border-light);
    text-underline-offset: 4px;
}

.policy-summary a:hover,
.policy-summary a:focus-visible,
.policy-content a:hover,
.policy-content a:focus-visible,
.policy-address a:hover,
.policy-address a:focus-visible {
    text-decoration-color: var(--primary-text);
}

.policy-section {
    padding: 72px 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 100px minmax(0, 820px);
    gap: 50px;
}

.policy-number {
    margin: 5px 0 0;
    color: var(--secondary-text);
    font-size: 0.85rem;
    letter-spacing: 0.18rem;
}

.policy-section:nth-child(4n + 1) .policy-number {
    color: #ff0000;
}

.policy-section:nth-child(4n + 2) .policy-number {
    color: #0066ff;
}

.policy-section:nth-child(4n + 3) .policy-number {
    color: #00a84f;
}

.policy-section:nth-child(4n + 4) .policy-number {
    color: #ffff00;
}

.policy-content h2 {
    margin: 0 0 28px;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 500;
    letter-spacing: -0.1rem;
    line-height: 1.05;
}

.policy-content h3 {
    margin: 46px 0 16px;
    font-size: 1.3rem;
    font-weight: 500;
}

.policy-content p {
    margin: 0 0 22px;
    color: var(--secondary-text);
    font-size: 1.05rem;
    line-height: 1.75;
}

.policy-content ul {
    margin: 0 0 28px;
    padding-left: 22px;
    color: var(--secondary-text);
}

.policy-content li {
    margin-bottom: 10px;
    padding-left: 6px;
    line-height: 1.6;
}

.policy-address {
    color: var(--secondary-text);
    font-style: normal;
    line-height: 1.9;
}

.policy-address strong {
    color: var(--primary-text);
}

.footer-links [aria-current="page"] {
    color: var(--primary-text);
}

@media (max-width: 900px) {
    .privacy-page {
        width: min(calc(100% - 40px), var(--page-width));
    }

    .privacy-hero {
        padding: 56px 0 72px;
    }

    .privacy-hero .back-link {
        margin-bottom: 60px;
    }

    .privacy-hero h1 {
        font-size: clamp(3.2rem, 16vw, 5rem);
        letter-spacing: -0.2rem;
    }

    .policy-summary {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .policy-section {
        padding: 58px 0;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .policy-number {
        margin-top: 0;
    }
}

/* Remove decorative hero graphic */

.hero {
    grid-template-columns: 1fr;
}

.hero-decoration {
    display: none;
}

/* Compact homepage hero */

.hero {
    min-height: 440px;
}

.hero-content {
    padding: 70px 0;
}

.product-category-block + .product-category-block {
    padding-top: 40px;
    border-top: 0;
}

/* About section */

.about-copy {
    max-width: 760px;
}

.about-copy p {
    margin: 0;
    color: var(--secondary-text);
    font-size: 1.2rem;
    line-height: 1.7;
}

.about-copy p + p {
    margin-top: 22px;
}

/* Contact section */

.contact-section a {
    color: var(--primary-text);
    text-decoration: underline;
    text-decoration-color: var(--border-light);
    text-underline-offset: 5px;
    transition: text-decoration-color 180ms ease;
}

.contact-section a:hover,
.contact-section a:focus-visible {
    text-decoration-color: var(--primary-text);
}

/* General company policy pages */

.company-policy-page .policy-section .policy-number {
    color: var(--secondary-text) !important;
}

.company-policy-page .privacy-hero {
    position: relative;
}

.company-policy-page .privacy-hero::before {
    width: 140px;
    height: 1px;
    margin-bottom: 34px;
    display: block;
    background: var(--border-light);
    content: "";
}

/* Align the first card in each product row */

.product-grid-two .product:first-child {
    padding-left: 32px;
}

/* ColorFLEX logo assets */

.colorflex-page-logo {
    width: min(100%, 440px);
    height: auto;
    margin: 0 0 34px;
    display: block;
    object-fit: contain;
}

.product-grid-two .colorflex-product-card:first-child {
    padding-left: 32px;
}

.colorflex-icon-container {
    margin-left: 0;
}

.colorflex-card-icon {
    width: 58px;
    height: 58px;
    display: block;
    border-radius: 50%;
    object-fit: contain;
}

.colorflex-card-content {
    display: flex;
    align-items: flex-end;
    gap: 22px;
    transform: translateY(8px);
}

.colorflex-card-logo {
    width: 145px;
    max-width: 100%;
    height: auto;
    margin: 0;
    display: block;
    object-fit: contain;
}

.colorflex-card-content p {
    margin: 0 0 3px;
    white-space: nowrap;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ios-app-store-badge {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}  

.colorflex-privacy-logo {
    width: 260px;
    max-width: 100%;
    height: auto;
    margin: 0 0 34px;
    display: block;
    object-fit: contain;
}

.colorflex-theme .privacy-hero {
    border-bottom: 0;
}

@media (max-width: 900px) {
    .colorflex-page-logo {
        width: min(100%, 360px);
    }

    .product-grid-two .colorflex-product-card:first-child {
        padding-left: 0;
    }

    .colorflex-card-content {
        display: block;
        transform: none;
    }

    .colorflex-card-logo {
        width: 135px;
    }

    .colorflex-card-content p {
        margin-top: 10px;
        white-space: normal;
    }
    .product-grid-two .product:first-child {
        padding-left: 0;
    }

}
/* ColorFLEX science section */

.colorflex-science-section {
    padding: 100px 0 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.science-heading {
    max-width: 820px;
    margin-bottom: 64px;
}

.science-heading .section-label {
    margin-bottom: 30px;
}

.science-heading h2 {
    margin: 0 0 24px;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.18rem;
    line-height: 1;
}

.science-heading > p:last-child {
    margin: 0;
    color: var(--secondary-text);
    font-size: 1.15rem;
    line-height: 1.7;
}

.science-list {
    max-width: 980px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.science-list li {
    position: relative;
    padding: 38px 0 38px 52px;
    border-top: 1px solid var(--border);
}

.science-list li:last-child {
    border-bottom: 0;
}

.science-list li::before {
    position: absolute;
    top: 48px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    content: "";
}

.science-list li:nth-child(1)::before {
    background: #0066ff;
}

.science-list li:nth-child(2)::before {
    background: #ffff00;
}

.science-list li:nth-child(3)::before {
    background: #00a84f;
}

.science-list-content h3 {
    margin: 0 0 12px;
    font-size: 1.8rem;
    font-weight: 600;
}

.science-region {
    margin: 0 0 18px;
    color: var(--primary-text);
    font-size: 0.95rem;
}

.science-list li:nth-child(1) .science-region {
    color: #5796ff;
}

.science-list li:nth-child(2) .science-region {
    color: #ffff00;
}

.science-list li:nth-child(3) .science-region {
    color: #32c86e;
}

.science-list-content > p:last-child {
    max-width: 760px;
    margin: 0;
    color: var(--secondary-text);
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .colorflex-science-section {
        padding: 72px 0 0;
    }

    .science-heading {
        margin-bottom: 44px;
    }

    .science-list li {
        padding: 32px 0 32px 38px;
    }

    .science-list li::before {
        top: 42px;
        width: 10px;
        height: 10px;
    }

    .science-list-content h3 {
        font-size: 1.55rem;
    }
}