@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Public+Sans:wght@400;500;600;700&display=swap');

/*
 * Flow AI Phase 1A shared stylesheet.
 * Extracted from index.html with explicit UTF-8 decoding to preserve the original pilot design.
 */

/* --- CSS Variables --- */
        :root {
            --white: #FFFFFF;
            --neutral-silver: #f8f9fa;
            --primary-brand-blue: #1A4A8B;
            --accent-green: #00BFA5;
            --Deep-Navy: #061A35;
            --Gold: #D4A84F;
            --text-dark: #1A1A1A;       
            --text-grey-light: #6C757D; 
            --font-main: 'Montserrat', sans-serif;
            --font-thai: 'Prompt', sans-serif; 
        }

        /* --- Global Resets & Body Styles --- */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: var(--font-thai);
            color: var(--text-dark);
            background-color: var(--white);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* --- Reusable Components & Utilities --- */
        .container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
        section { padding: 80px 0; }
        
        h1, h2, h3 { 
            font-family: var(--font-main); 
            font-weight: 700; 
            color: var(--primary-brand-blue); 
            margin-bottom: 20px; 
        }
        
        h1 { font-size: 2.5rem; } 
        h2 { font-size: 2.2rem; text-align: center; margin-bottom: 50px; }
        h3 { font-size: 1.4rem; }
        
        /* Typography Styles for Bilingual Content */
        p.th-text {
            font-size: 1.1rem;
            color: var(--text-dark);
            margin-bottom: 8px; 
            font-weight: 400;
        }

        p.en-translation {
            font-family: var(--font-main);
            font-size: 0.95rem;      
            color: var(--text-grey-light); 
            margin-bottom: 20px;    
            line-height: 1.5;
            font-weight: 400;
        }
        
        a { text-decoration: none; color: var(--accent-green); transition: color 0.3s ease; }
        a:hover { color: #00897B; }
        a:focus-visible,
        button:focus-visible,
        input:focus-visible,
        textarea:focus-visible,
        select:focus-visible,
        .btn:focus-visible {
            outline: 3px solid var(--accent-green);
            outline-offset: 3px;
        }

        /* --- Buttons --- */
        .btn { display: inline-block; padding: 12px 28px; font-size: 1rem; font-weight: 700; text-align: center; border-radius: 5px; transition: all 0.3s ease; cursor: pointer; border: 2px solid transparent; font-family: var(--font-main); }
        .btn-primary { background-color: var(--primary-brand-blue); color: var(--white); }
        .btn-primary:hover { background-color: #00897B; color: var(--white); }
        .btn-secondary { background-color: transparent; color: var(--primary-brand-blue); border: 2px solid var(--primary-brand-blue); }
        .btn-secondary:hover { background-color: var(--accent-green); color: var(--white); }

        /* --- Header / Navigation Bar --- */
        .main-header {
            background-color: var(--primary-brand-blue);
            background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-width='1.5' stroke='rgba(255,255,255,0.08)'%3E%3Cpath d='M 0 50 L 20 50 L 30 40 L 40 60 L 60 60 L 70 80 L 80 70 L 100 70'/%3E%3Cpath d='M 20 100 L 20 80 L 40 80 L 50 90 L 60 80 L 80 100'/%3E%3Cpath d='M 0 10 L 10 20 L 30 20 L 40 0'/%3E%3Cpath d='M 100 30 L 80 30 L 70 40 L 60 20 L 50 20'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.08)'%3E%3Ccircle cx='20' cy='50' r='3'/%3E%3Ccircle cx='60' cy='60' r='3'/%3E%3Ccircle cx='80' cy='70' r='3'/%3E%3Ccircle cx='40' cy='80' r='3'/%3E%3Ccircle cx='20' cy='80' r='3'/%3E%3Ccircle cx='30' cy='20' r='3'/%3E%3Ccircle cx='80' cy='30' r='3'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(135deg, var(--primary-brand-blue), var(--accent-green));
            padding: 15px 0;
            position: sticky;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .main-header .container { display: flex; justify-content: space-between; align-items: center; }
        .logo { 
            font-family: var(--font-main);
            font-size: 2rem;
            font-weight: 700;
            color: var(--white);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .logo:hover {
             color: var(--accent-green);
        }
        .main-nav ul { list-style: none; display: flex; align-items: center; }
        .main-nav ul li { margin-left: 30px; }
        .main-nav ul li a { color: rgba(255, 255, 255, 0.8); font-weight: 700; transition: color 0.3s ease; font-family: var(--font-main); }
        .main-nav ul li a:hover { color: var(--white); }
        .main-nav .active { color: var(--white); font-weight: 700; }

        /* --- Footer --- */
        .main-footer { background-color: var(--primary-brand-blue); color: var(--white); padding: 60px 0; font-family: var(--font-main); }
        .main-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; }
        .footer-col { flex: 1; margin: 15px; min-width: 250px; }
        .footer-col h4 { font-size: 1.4rem; margin-bottom: 20px; }
        
        .footer-col p { 
            font-size: 0.9rem; 
            opacity: 0.9; 
            margin-bottom: 20px; 
        }
        .footer-col ul { list-style: none; padding: 0; }
        .footer-col ul li { margin-bottom: 10px; }
        .footer-col ul li a { color: var(--white); opacity: 0.9; transition: opacity 0.3s ease;}
        .footer-col ul li a:hover { opacity: 1; }
        .copyright { width: 100%; text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); opacity: 0.8; }

        /* --- Homepage Specific Styles --- */
        #hero {
            padding-top: 80px; 
            padding-bottom: 100px;
            text-align: center;
            background-color: #fafcff;
        }
        .hero-logo {
            display: block;
            height: auto;
            max-width: 400px; 
            margin: 0 auto 30px auto;
            width: 100%;
        }
        #hero p.th-text { max-width: 850px; margin: 0 auto 10px auto; font-size: 1.2rem; font-weight: 500;}
        #hero p.en-translation { max-width: 850px; margin: 0 auto 40px auto; }
        
        .hero-buttons .btn { margin: 0 10px; }

        #why-choose-us {
            background-color: var(--neutral-silver);
        }
        .feature-item {
            display: flex;
            align-items: center;
            gap: 50px;
            margin-bottom: 80px;
        }
        .feature-item:last-child {
            margin-bottom: 0;
        }
        /* Make every even item reverse its row direction automatically */
        .feature-item:nth-child(even) {
            flex-direction: row-reverse;
        }
        .feature-item-text {
            flex: 1;
        }
        .feature-item-image {
            flex: 1;
            max-width: 550px;
        }
        .feature-item-image img {
            width: 100%;
            height: auto;
            object-fit: cover;
            border-radius: 12px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        }

        #final-cta {
            background-color: var(--primary-brand-blue);
            background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-width='1.5' stroke='rgba(255,255,255,0.08)'%3E%3Cpath d='M 0 50 L 20 50 L 30 40 L 40 60 L 60 60 L 70 80 L 80 70 L 100 70'/%3E%3Cpath d='M 20 100 L 20 80 L 40 80 L 50 90 L 60 80 L 80 100'/%3E%3Cpath d='M 0 10 L 10 20 L 30 20 L 40 0'/%3E%3Cpath d='M 100 30 L 80 30 L 70 40 L 60 20 L 50 20'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.08)'%3E%3Ccircle cx='20' cy='50' r='3'/%3E%3Ccircle cx='60' cy='60' r='3'/%3E%3Ccircle cx='80' cy='70' r='3'/%3E%3Ccircle cx='40' cy='80' r='3'/%3E%3Ccircle cx='20' cy='80' r='3'/%3E%3Ccircle cx='30' cy='20' r='3'/%3E%3Ccircle cx='80' cy='30' r='3'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(135deg, var(--primary-brand-blue), var(--accent-green));
            color: var(--white);
            padding: 80px 0;
            text-align: center;
        }
        #final-cta h2 { color: var(--white); }
        #final-cta .btn-primary { 
            border-color: var(--white); 
            color: var(--white); 
            background-color: transparent; 
        }
        #final-cta .btn-primary:hover { 
            background-color: var(--white); 
            color: var(--primary-brand-blue); 
        }

        /* --- Responsive Design --- */
        @media (max-width: 768px) {
            h1 { font-size: 2.2rem; }
            .hero-buttons { display: flex; flex-direction: column; align-items: center; }
            .hero-buttons .btn { margin: 10px 0; width: 80%; }
            .main-nav { display: none; }
            
            .feature-item, .feature-item:nth-child(even) {
                flex-direction: column;
                gap: 30px;
                text-align: center;
            }
            .feature-item-image {
                max-width: 100%;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
        }

        /* --- Website v2 content and responsive navigation --- */
        .nav-toggle { background: transparent; border: 1px solid rgba(255,255,255,.7); color: var(--white); display: none; font: 700 .9rem var(--font-main); padding: 9px 12px; }
        .v2-main { background: var(--white); }
        .v2-hero { background: linear-gradient(135deg, #F8FAFD, #EDF5FA); padding: 100px 0; text-align: center; }
        .v2-hero h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); margin: 0 auto 24px; max-width: 940px; }
        .v2-eyebrow { color: var(--accent-green); font: 700 .78rem var(--font-main); letter-spacing: .12em; margin: 0 0 16px; text-transform: uppercase; }
        .v2-lead, .v2-narrow { font-family: var(--font-main); font-size: 1.08rem; line-height: 1.75; }
        .v2-lead { margin: 0 auto; max-width: 800px; }
        .v2-narrow { max-width: 820px; }
        .v2-narrow h2 { margin-top: 45px; text-align: left; }
        .v2-narrow h2:first-child { margin-top: 0; }
        .v2-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
        .v2-surface { background: var(--neutral-silver); }
        .v2-card-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
        .v2-card { border: 1px solid #DDE6EF; display: flex; flex-direction: column; gap: 14px; padding: 28px; }
        .v2-card h3 { margin: 0; }
        .v2-card p { margin: 0; }
        .v2-card img { height: 190px; object-fit: contain; width: 100%; }
        .v2-meta { color: var(--text-grey-light); font: .84rem var(--font-main); margin-top: auto !important; }
        .v2-empty { border: 1px solid #DDE6EF; margin: 0 auto; max-width: 800px; padding: 44px; text-align: center; }
        .v2-empty h2 { margin-bottom: 20px; }
        .v2-cta { background: var(--Deep-Navy); color: var(--white); text-align: center; }
        .v2-cta h2 { color: var(--white); }
        .v2-cta .v2-narrow { margin: 0 auto; }
        .v2-cta .btn-secondary { border-color: var(--white); color: var(--white); }
        @media (max-width: 768px) {
            .nav-toggle { display: block; }
            .main-nav { background: var(--primary-brand-blue); display: none; left: 0; padding: 12px 20px 20px; position: absolute; right: 0; top: 100%; }
            .main-nav.is-open { display: block; }
            .main-nav ul { align-items: stretch; flex-direction: column; }
            .main-nav ul li { margin: 0; }
            .main-nav ul li a { display: block; padding: 12px 0; }
            .v2-hero { padding: 70px 0; }
            .v2-card-grid { grid-template-columns: 1fr; }
        }


/* --- Flow AI staging homepage visual-theme experiment --- */
:root {
    --flow-theme-navy: #0B1524;
    --flow-theme-card-navy: #0F1B2E;
    --flow-theme-cta-navy: #132133;
    --flow-theme-ivory: #F5F1E8;
    --flow-theme-light: #F3F1EA;
    --flow-theme-heading-light: #FBFAF7;
    --flow-theme-muted: #B9C4D2;
    --flow-theme-dark-heading: #1B2635;
    --flow-theme-dark-body: #4A5568;
    --flow-theme-card-body: #A9B7C9;
    --flow-theme-teal: #7FD4CF;
    --flow-theme-teal-bright: #5FE0D6;
    --flow-theme-teal-hover: #A8E4E0;
    --flow-theme-gold: #C9A24B;
    --flow-theme-gold-dark: #9A7A2E;
    --flow-theme-border-subtle: rgba(255, 255, 255, 0.08);
    --flow-theme-border-medium: rgba(255, 255, 255, 0.10);
    --flow-theme-border-secondary: rgba(255, 255, 255, 0.25);
    --flow-theme-heading-font: 'Plus Jakarta Sans', sans-serif;
    --flow-theme-body-font: 'Public Sans', sans-serif;
}

body:has(.home-v2) {
    background: var(--flow-theme-navy);
    color: var(--flow-theme-light);
    font-family: var(--flow-theme-body-font);
}

body:has(.home-v2) .main-header {
    background-color: var(--flow-theme-navy);
    background-image:
        radial-gradient(circle at 88% -30%, rgba(22, 52, 73, .9), transparent 48%),
        linear-gradient(135deg, #0B1524, #0F1B2E);
    border-bottom: 1px solid var(--flow-theme-border-subtle);
    box-shadow: none;
}

body:has(.home-v2) .main-header a,
body:has(.home-v2) .main-header .logo {
    color: var(--flow-theme-heading-light);
}

body:has(.home-v2) .main-header a:hover,
body:has(.home-v2) .main-header a:focus-visible {
    color: var(--flow-theme-teal);
}

.home-v2 {
    color: var(--flow-theme-light);
    font-family: var(--flow-theme-body-font);
}

.home-v2 .container {
    width: min(1120px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
    padding: 0;
}

.home-v2 section {
    padding: clamp(64px, 7vw, 112px) 0;
}

.home-v2 h1,
.home-v2 h2,
.home-v2 h3 {
    font-family: var(--flow-theme-heading-font);
    font-weight: 700;
    letter-spacing: -.03em;
}

.home-v2 h2 {
    margin: 0 0 28px;
    color: inherit;
    font-size: clamp(2rem, 3.4vw, 3.15rem);
    line-height: 1.12;
    text-align: left;
}

.home-v2 h3 {
    margin: 0 0 14px;
    color: inherit;
    font-size: 1.3rem;
    line-height: 1.3;
}

.home-v2 p {
    margin: 0;
    line-height: 1.75;
}

.home-v2 .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 3px;
    font-family: var(--flow-theme-body-font);
    font-size: .93rem;
    font-weight: 700;
    letter-spacing: .01em;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.home-v2 .btn:hover {
    transform: translateY(-1px);
}

.home-v2 .btn:active {
    transform: translateY(0);
}

.home-v2 .btn:focus-visible,
body:has(.home-v2) .main-header a:focus-visible,
body:has(.home-v2) .main-footer a:focus-visible {
    outline: 3px solid var(--flow-theme-teal-bright);
    outline-offset: 4px;
}

.home-v2 #hero {
    padding: clamp(56px, 7vw, 96px) 0 clamp(70px, 9vw, 126px);
    background:
        radial-gradient(1200px 700px at 85% -10%, #163449 0%, var(--flow-theme-navy) 55%);
    color: var(--flow-theme-light);
    text-align: center;
}

.home-v2 #hero .container {
    max-width: 880px;
}

.home-v2 .hero-logo {
    width: min(76%, 390px);
    height: auto;
    margin: 0 auto 22px;
    filter: none;
}

.home-v2 #hero h1 {
    max-width: 810px;
    margin: 0 auto;
    color: var(--flow-theme-heading-light);
    font-size: clamp(2.45rem, 5.3vw, 4.6rem);
    line-height: 1.05;
}

.home-v2 .hero-identity {
    margin-top: 22px;
    color: var(--flow-theme-teal);
    font-family: var(--flow-theme-heading-font);
    font-size: clamp(.9rem, 1.5vw, 1.05rem);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-v2 .hero-copy {
    max-width: 680px;
    margin: 18px auto 0;
    color: var(--flow-theme-muted);
    font-size: clamp(1rem, 1.35vw, 1.1rem);
}

.home-v2 .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}

.home-v2 #hero .btn-primary,
.home-v2 #cta .btn {
    border-color: var(--flow-theme-gold);
    background: var(--flow-theme-gold);
    color: var(--flow-theme-navy);
}

.home-v2 #hero .btn-primary:hover,
.home-v2 #cta .btn:hover {
    border-color: var(--flow-theme-teal-hover);
    background: var(--flow-theme-teal-hover);
    color: var(--flow-theme-navy);
}

.home-v2 #hero .btn-secondary {
    border-color: var(--flow-theme-border-secondary);
    background: transparent;
    color: var(--flow-theme-heading-light);
}

.home-v2 #hero .btn-secondary:hover {
    border-color: var(--flow-theme-teal);
    background: rgba(127, 212, 207, .12);
    color: var(--flow-theme-teal-hover);
}

.home-v2 #our-perspective,
.home-v2 .current-focus {
    background: var(--flow-theme-ivory);
    color: var(--flow-theme-dark-body);
}

.home-v2 #our-perspective h2,
.home-v2 .current-focus h2 {
    color: var(--flow-theme-dark-heading);
}

.home-v2 .perspective-layout {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    align-items: center;
    gap: clamp(32px, 6vw, 76px);
}

.home-v2 .perspective-layout figure {
    margin: 0;
}

.home-v2 .perspective-layout img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: none;
}

.home-v2 .perspective-copy {
    display: grid;
    gap: 22px;
    max-width: 560px;
}

.home-v2 .advisory-domains {
    background: var(--flow-theme-navy);
    color: var(--flow-theme-card-body);
}

.home-v2 .advisory-domains h2 {
    color: var(--flow-theme-heading-light);
    text-align: center;
}

.home-v2 .domain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--flow-theme-border-medium);
    border-radius: 4px;
    background: var(--flow-theme-card-navy);
    box-shadow: none;
}

.home-v2 .domain-card {
    min-width: 0;
    padding: clamp(28px, 3.2vw, 42px);
    border: 0;
    border-right: 1px solid var(--flow-theme-border-medium);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-v2 .domain-card:last-child {
    border-right: 0;
}

.home-v2 .domain-icon {
    display: none;
}

.home-v2 .domain-card h3 {
    color: var(--flow-theme-heading-light);
}

.home-v2 .domain-card p {
    color: var(--flow-theme-card-body);
}

.home-v2 .section-cta {
    margin-top: 34px;
    text-align: center;
}

.home-v2 .section-cta .btn-primary {
    border-color: var(--flow-theme-gold-dark);
    background: var(--flow-theme-gold-dark);
    color: #fff;
}

.home-v2 .section-cta .btn-primary:hover {
    border-color: var(--flow-theme-gold);
    background: var(--flow-theme-gold);
    color: var(--flow-theme-navy);
}

.home-v2 .current-focus .focus-copy {
    max-width: 800px;
    color: var(--flow-theme-dark-body);
    font-size: 1.08rem;
}

.home-v2 #cta {
    background: var(--flow-theme-cta-navy);
    color: var(--flow-theme-light);
    text-align: center;
}

.home-v2 #cta h2 {
    margin-bottom: 30px;
    color: var(--flow-theme-heading-light);
    text-align: center;
}

body:has(.home-v2) .main-footer {
    border-top: 1px solid var(--flow-theme-border-subtle);
    background: var(--flow-theme-navy);
    color: var(--flow-theme-muted);
}

body:has(.home-v2) .main-footer h4,
body:has(.home-v2) .main-footer a {
    color: var(--flow-theme-heading-light);
}

body:has(.home-v2) .main-footer a:hover {
    color: var(--flow-theme-teal);
}

body:has(.home-v2) .main-footer .copyright {
    border-top-color: var(--flow-theme-border-subtle);
}

@media (max-width: 900px) {
    .home-v2 .domain-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-v2 .domain-card:nth-child(2) {
        border-right: 0;
    }

    .home-v2 .domain-card:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid var(--flow-theme-border-medium);
    }
}

@media (max-width: 720px) {
    .home-v2 .container {
        width: min(100% - 32px, 1120px);
    }

    .home-v2 section {
        padding: 58px 0;
    }

    .home-v2 #hero {
        padding: 50px 0 70px;
    }

    .home-v2 .hero-logo {
        width: min(82%, 320px);
        margin-bottom: 20px;
    }

    .home-v2 #hero h1 {
        font-size: clamp(2.2rem, 11vw, 3.25rem);
    }

    .home-v2 .hero-buttons {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        max-width: 330px;
        margin-inline: auto;
    }

    .home-v2 .perspective-layout,
    .home-v2 .domain-grid {
        grid-template-columns: 1fr;
    }

    .home-v2 .perspective-layout {
        gap: 28px;
    }

    .home-v2 .domain-card,
    .home-v2 .domain-card:last-child {
        grid-column: auto;
        padding: 28px;
        border-right: 0;
        border-top: 1px solid var(--flow-theme-border-medium);
    }

    .home-v2 .domain-card:first-child {
        border-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-v2 .btn {
        transition: none;
    }
}


@media (max-width: 720px) {
    body:has(.home-v2) .main-nav {
        background: var(--flow-theme-card-navy);
        border-top: 1px solid var(--flow-theme-border-subtle);
    }

    body:has(.home-v2) .nav-toggle {
        border-color: var(--flow-theme-border-secondary);
        color: var(--flow-theme-heading-light);
    }

    body:has(.home-v2) .nav-toggle:hover,
    body:has(.home-v2) .nav-toggle:focus-visible {
        border-color: var(--flow-theme-teal);
        color: var(--flow-theme-teal);
    }
}


/* --- Flow AI homepage header-logo and hero-heading refinement --- */
body:has(.home-v2) .main-header .logo {
    display: inline-block;
    width: 136px;
    height: 40px;
    padding: 0;
    overflow: hidden;
    background: url("../../image/Flow%20AI_Logo_No%20Com_Transparent.png") center / contain no-repeat;
    color: transparent;
    font-size: 0;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .28));
}

.home-v2 #hero h1 {
    font-size: clamp(36px, 4.2vw, 64px);
}

@media (max-width: 720px) {
    body:has(.home-v2) .main-header .logo {
        width: 122px;
        height: 36px;
    }
}


/* --- Flow AI homepage single-line hero-heading refinement --- */
.home-v2 #hero h1 {
    max-width: none;
    font-size: clamp(30px, 2.8vw, 40px);
    text-wrap: balance;
}


/* --- Flow AI homepage CTA consolidation and current-focus alignment --- */
.home-v2 #hero .btn-primary,
.home-v2 #cta .btn {
    border-color: var(--flow-theme-gold-dark);
    background: var(--flow-theme-gold-dark);
}

.home-v2 #hero .btn-primary:hover,
.home-v2 #cta .btn:hover {
    border-color: var(--flow-theme-gold);
    background: var(--flow-theme-gold);
}

.home-v2 .current-focus .container,
.home-v2 .current-focus h2 {
    text-align: center;
}

.home-v2 .current-focus .focus-copy {
    margin-inline: auto;
}


/* Homepage mobile hero CTA alignment */
@media (max-width: 720px) {
    .home-v2 .hero-buttons {
        width: min(100%, 330px);
        margin: 34px auto 0;
        justify-items: center;
    }

    .home-v2 .hero-buttons .btn {
        width: 100%;
        margin-inline: auto;
    }
}


/* Match mobile hero CTA width to the final homepage CTA */
@media (max-width: 720px) {
    .home-v2 .hero-buttons {
        width: min(100%, 216.5px);
    }
}


/* Homepage current-focus content refinement */
.home-v2 .current-focus .container {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
    text-align: left;
}

.home-v2 .current-focus h2 {
    max-width: 18ch;
    margin: 0;
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.home-v2 .current-focus .focus-copy {
    max-width: none;
    margin: 1.25rem 0 0;
    text-align: left;
}

.home-v2 .current-focus-frameworks {
    padding-top: 0.35rem;
}

.home-v2 .current-focus-frameworks h3 {
    margin: 0;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 600;
    line-height: 1.35;
}

.home-v2 .framework-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.home-v2 .framework-pills li {
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(201, 162, 75, 0.48);
    border-radius: 999px;
    background: rgba(127, 212, 207, 0.1);
    color: #1B2635;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .home-v2 .current-focus .container {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.25rem;
    }

    .home-v2 .current-focus h2 {
        max-width: none;
    }

    .home-v2 .current-focus-frameworks {
        padding-top: 0;
    }
}


/* Homepage section-heading alignment refinement */
.home-v2 #our-perspective > .container > h2 {
    text-align: center;
}


/* Flow AI Solutions page v2 */
body:has(.solutions-v2) .main-header {
    background: #0B1524;
    background-image: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}
body:has(.solutions-v2) .main-header .logo {
    display: inline-block;
    width: 136px;
    height: 40px;
    padding: 0;
    overflow: hidden;
    background: url("../../image/Flow%20AI_Logo_No%20Com_Transparent.png") center / contain no-repeat;
    color: transparent;
    font-size: 0;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .28));
}
body:has(.solutions-v2) .main-nav ul li a {
    color: #F3F1EA;
}
body:has(.solutions-v2) .main-nav ul li a:hover,
body:has(.solutions-v2) .main-nav ul li a:focus-visible,
body:has(.solutions-v2) .main-nav .active {
    color: #7FD4CF;
}
body:has(.solutions-v2) .nav-toggle {
    border-color: rgba(255, 255, 255, 0.25);
    color: #FBFAF7;
}
body:has(.solutions-v2) .nav-toggle:hover,
body:has(.solutions-v2) .nav-toggle:focus-visible {
    border-color: #7FD4CF;
    color: #7FD4CF;
}
body:has(.solutions-v2) .main-footer {
    background: #0B1524;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.solutions-v2 {
    color: #4A5568;
    background: #F5F1E8;
    font-family: "Public Sans", sans-serif;
}
.solutions-v2 .container {
    width: min(100% - 48px, 1200px);
    margin-inline: auto;
    padding: 0;
}
.solutions-v2 h1,
.solutions-v2 h2,
.solutions-v2 h3 {
    color: #1B2635;
    font-family: "Plus Jakarta Sans", sans-serif;
}
.solutions-eyebrow {
    margin: 0 0 0.85rem;
    color: #7FD4CF;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.3;
}
.solutions-hero {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: radial-gradient(1200px 700px at 85% -10%, #163449 0%, #0B1524 55%);
    color: #F3F1EA;
    text-align: center;
}
.solutions-hero .container {
    max-width: 1000px;
}
.solutions-hero h1 {
    max-width: 920px;
    margin: 0 auto;
    color: #FBFAF7;
    font-size: clamp(34px, 4.2vw, 64px);
    font-weight: 600;
    line-height: 1.15;
    text-wrap: balance;
}
.solutions-lead {
    max-width: 780px;
    margin: 1.5rem auto 0;
    color: #F3F1EA;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.75;
}
.solutions-framework-statement {
    max-width: 820px;
    margin: 1.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #B9C4D2;
    font-size: 0.98rem;
    line-height: 1.7;
}
.solutions-primary-button {
    margin-top: 2rem;
    border: 1px solid #9A7A2E;
    border-radius: 4px;
    background: #C9A24B;
    color: #0B1524;
}
.solutions-primary-button:hover,
.solutions-primary-button:focus-visible {
    border-color: #A8E4E0;
    background: #A8E4E0;
    color: #0B1524;
}

.solutions-domain,
.ways-we-work,
.solutions-final-cta {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}
.solutions-domain-ivory {
    background: #F5F1E8;
}
.solutions-domain-navy,
.ways-we-work {
    background: #0B1524;
}
.solutions-domain-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: start;
}
.solutions-domain-intro h2,
.ways-we-work h2,
.solutions-final-cta h2 {
    margin: 0;
    font-size: clamp(30px, 3.2vw, 46px);
    font-weight: 600;
    line-height: 1.2;
}
.solutions-domain-intro > p:not(.solutions-eyebrow):not(.solutions-scope-note) {
    max-width: 620px;
    margin: 1.5rem 0 0;
    font-size: 1.05rem;
    line-height: 1.8;
}
.solutions-domain-navy h2,
.ways-we-work h2,
.solutions-final-cta h2 {
    color: #FBFAF7;
}
.solutions-domain-navy .solutions-domain-intro > p:not(.solutions-eyebrow):not(.solutions-scope-note),
.ways-we-work-intro,
.solutions-final-cta p {
    color: #B9C4D2;
}
.solutions-domain-detail {
    display: grid;
    gap: 1.75rem;
}
.solutions-domain-detail > div {
    padding: 1.5rem;
    border: 1px solid rgba(27, 38, 53, 0.14);
    background: rgba(255, 255, 255, 0.25);
}
.solutions-domain-navy .solutions-domain-detail > div {
    border-color: rgba(255, 255, 255, 0.1);
    background: #0F1B2E;
}
.solutions-domain-detail h3,
.engagement-grid h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
}
.solutions-domain-navy .solutions-domain-detail h3,
.engagement-grid h3 {
    color: #FBFAF7;
}
.solutions-domain-detail ul {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}
.solutions-domain-detail li {
    position: relative;
    padding-left: 1rem;
    line-height: 1.55;
}
.solutions-domain-detail li::before {
    position: absolute;
    left: 0;
    content: "•";
    color: #9A7A2E;
}
.solutions-domain-navy .solutions-domain-detail li {
    color: #A9B7C9;
}
.solutions-scope-note {
    margin: 1.5rem 0 0;
    padding-left: 1rem;
    border-left: 2px solid #C9A24B;
    color: #4A5568;
    font-size: 0.94rem;
    font-style: italic;
    line-height: 1.65;
}

.ways-we-work {
    text-align: center;
}
.ways-we-work .solutions-eyebrow {
    color: #7FD4CF;
}
.ways-we-work h2 {
    max-width: 770px;
    margin-inline: auto;
}
.ways-we-work-intro {
    max-width: 730px;
    margin: 1.5rem auto 0;
    line-height: 1.75;
}
.engagement-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
    text-align: left;
}
.engagement-grid article {
    padding: 1.6rem;
    background: #0F1B2E;
}
.engagement-grid p {
    margin: 0.85rem 0 0;
    color: #A9B7C9;
    line-height: 1.65;
}

.solutions-final-cta {
    background: #132133;
    text-align: center;
}
.solutions-final-cta h2 {
    max-width: 800px;
    margin-inline: auto;
}
.solutions-final-cta p {
    max-width: 690px;
    margin: 1.25rem auto 0;
    line-height: 1.7;
}
.solutions-final-cta .solutions-primary-button {
    margin-top: 1.75rem;
}

@media (max-width: 900px) {
    .engagement-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    body:has(.solutions-v2) .main-header .logo {
        width: 122px;
        height: 36px;
    }
    .solutions-v2 .container {
        width: min(100% - 40px, 1200px);
    }
    .solutions-hero {
        padding: 4.5rem 0;
    }
    .solutions-domain-grid,
    .engagement-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .solutions-domain-detail > div,
    .engagement-grid article {
        padding: 1.35rem;
    }
}


/* Solutions typography refinement */
.solutions-hero h1 {
    font-size: clamp(32px, 3.6vw, 54px);
}
.ways-we-work .solutions-eyebrow {
    font-size: 1rem;
}
.ways-we-work h2,
.solutions-final-cta h2 {
    font-size: clamp(28px, 2.6vw, 38px);
}
.solutions-domain-intro,
.solutions-domain-intro h2 {
    text-align: left;
}


/* Solutions final heading-size refinement */
.solutions-hero .solutions-eyebrow,
.ways-we-work .solutions-eyebrow {
    font-size: 20px;
}
.solutions-hero h1 {
    font-size: clamp(32px, 3.2vw, 38px);
}


/* Flow AI Insights page v2 */
body:has(.insights-v2) .main-header,
body:has(.insights-v2) .main-footer { background: #0B1524; background-image: none; border-color: rgba(255,255,255,.08); box-shadow: none; }
body:has(.insights-v2) .main-header .logo { display:inline-block; width:136px; height:40px; padding:0; overflow:hidden; background:url("../../image/Flow%20AI_Logo_No%20Com_Transparent.png") center/contain no-repeat; color:transparent; font-size:0; }
body:has(.insights-v2) .main-nav ul li a { color:#F3F1EA; }
body:has(.insights-v2) .main-nav ul li a:hover, body:has(.insights-v2) .main-nav ul li a:focus-visible, body:has(.insights-v2) .main-nav .active { color:#7FD4CF; }
.insights-v2 { background:#F5F1E8; color:#4A5568; font-family:"Public Sans",sans-serif; }
.insights-v2 .container { width:min(100% - 48px,1200px); margin-inline:auto; padding:0; }
.insights-v2 h1,.insights-v2 h2,.insights-v2 h3 { color:#1B2635; font-family:"Plus Jakarta Sans",sans-serif; }
.insights-eyebrow,.article-category { margin:0 0 .8rem; color:#7FD4CF; font-family:"Plus Jakarta Sans",sans-serif; font-size:.82rem; font-weight:700; letter-spacing:.12em; line-height:1.3; }
.insights-hero { padding:clamp(5rem,10vw,8rem) 0; background:radial-gradient(1200px 700px at 85% -10%,#163449 0%,#0B1524 55%); text-align:center; }
.insights-hero h1 { margin:0; color:#FBFAF7; font-size:clamp(36px,4vw,54px); font-weight:600; }
.insights-hero> .container>p:last-child { max-width:820px; margin:1.25rem auto 0; color:#F3F1EA; font-size:1.1rem; line-height:1.75; }
.insights-featured,.insights-latest,.insights-categories,.insights-final-cta { padding:clamp(4.5rem,8vw,7rem) 0; }
.insights-featured { background:#F5F1E8; }
.insights-featured-card { border:1px solid rgba(27,38,53,.14); background:#fff; }
.insights-featured-link { display:grid; grid-template-columns:1fr 1fr; color:inherit; text-decoration:none; }
.insights-featured-media { display:flex; align-items:center; justify-content:center; min-height:300px; padding:1.5rem; background:#fff; }
.insights-featured-media img,.insights-article-card img { width:100%; height:100%; object-fit:contain; display:block; }
.insights-featured-content { padding:clamp(2rem,5vw,4rem); }
.insights-featured-content h2 { margin:0; font-size:clamp(28px,3vw,42px); line-height:1.2; font-weight:600; }
.article-excerpt { margin:1rem 0 0; line-height:1.7; }
.article-meta { margin:1.25rem 0 0; color:#4A5568; font-size:.9rem; }
.article-meta span::before { content:" · "; }
.read-article { display:inline-block; margin-top:1.35rem; color:#9A7A2E; font-family:"Plus Jakarta Sans",sans-serif; font-weight:700; }
.insights-latest { background:#0B1524; }
.insights-latest h2,.insights-categories h2,.insights-final-cta h2 { margin:0; font-size:clamp(30px,3vw,42px); line-height:1.2; font-weight:600; }
.insights-latest h2,.insights-final-cta h2 { color:#FBFAF7; }
.insights-intro { max-width:760px; margin:1.25rem 0 0; color:#B9C4D2; line-height:1.7; }
.insights-articles-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.4rem; margin-top:2.5rem; }
.insights-article-card { min-width:0; border:1px solid rgba(255,255,255,.1); background:#0F1B2E; }
.insights-article-card a { display:flex; height:100%; flex-direction:column; color:inherit; text-decoration:none; }
.insights-article-card img { height:210px; background:#fff; }
.insights-card-content { display:flex; flex:1; flex-direction:column; padding:1.5rem; }
.insights-card-content h3 { margin:0; color:#FBFAF7; font-size:1.25rem; line-height:1.35; }
.insights-card-content .article-excerpt,.insights-card-content .article-meta { color:#A9B7C9; }
.insights-card-content .read-article { margin-top:auto; padding-top:1.25rem; color:#7FD4CF; }
.insights-categories { background:#F5F1E8; }
.insights-category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; margin-top:2.5rem; background:rgba(27,38,53,.14); border:1px solid rgba(27,38,53,.14); }
.insights-category-card { display:block; padding:1.5rem; background:#F5F1E8; color:inherit; text-decoration:none; }
.insights-category-card h3 { margin:0; font-size:1.15rem; }
.insights-category-card span { display:inline-block; margin-top:1rem; color:#9A7A2E; font-weight:700; }
.insights-category-card:hover,.insights-category-card:focus-visible,.insights-article-card a:hover,.insights-article-card a:focus-visible,.insights-featured-link:hover,.insights-featured-link:focus-visible { outline:2px solid #7FD4CF; outline-offset:-2px; }
.insights-final-cta { background:#132133; text-align:center; }
.insights-final-cta h2 { max-width:760px; margin-inline:auto; }
.insights-final-cta p { max-width:680px; margin:1.25rem auto 0; color:#B9C4D2; line-height:1.7; }
.insights-primary-button { margin-top:1.75rem; border:1px solid #9A7A2E; background:#C9A24B; color:#0B1524; }
.insights-empty { padding:2rem; border:1px solid rgba(27,38,53,.14); background:#fff; }
@media(max-width:900px){.insights-featured-link{grid-template-columns:1fr}.insights-articles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insights-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body:has(.insights-v2) .main-header .logo{width:122px;height:36px}.insights-v2 .container{width:min(100% - 40px,1200px)}.insights-articles-grid,.insights-category-grid{grid-template-columns:1fr}.insights-featured-media{min-height:220px}.insights-article-card img{height:auto;aspect-ratio:16/10}}


/* Insights article-detail information notice */
.article-information-notice { max-width:900px; margin:2rem auto 0; padding:1rem 1.2rem; border-left:2px solid #C9A24B; background:#F5F1E8; color:#4A5568; font-size:.92rem; font-style:italic; line-height:1.65; }


/* Insights hero and featured image refinement */
.insights-hero .insights-eyebrow { font-size: 20px; }
.insights-featured-content,
.insights-featured-content h2 { text-align: left; }
.insights-featured-media { min-height: 0; max-height: 360px; }
.insights-featured-media img { width: auto; max-width: 100%; max-height: 360px; }
@media (max-width: 760px) {
    .insights-featured-media { max-height: 300px; }
    .insights-featured-media img { max-height: 300px; }
}


/* Insights article theme alignment */
body:has(main > article) .main-header {
    background: var(--color-navy, #0B1524);
    background-image: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

body:has(main > article) .main-header .logo {
    color: transparent;
    background: url('../../image/Flow%20AI_Logo_No%20Com_Transparent.png') center / contain no-repeat;
}

body:has(main > article) .main-header .main-nav a {
    color: var(--color-light-primary, #F3F1EA);
}

body:has(main > article) .main-footer {
    background: var(--color-navy, #0B1524);
    color: var(--color-light-primary, #F3F1EA);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body:has(main > article) .main-footer h4,
body:has(main > article) .main-footer p,
body:has(main > article) .main-footer a,
body:has(main > article) .main-footer-bottom {
    color: var(--color-light-primary, #F3F1EA);
}

body:has(main > article) .main-footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
}

body:has(main > article) .main-footer,
body:has(main > article) .main-footer h4,
body:has(main > article) .main-footer p,
body:has(main > article) .main-footer a,
body:has(main > article) .main-footer-bottom {
    color: #FFFFFF;
}


/* Flow AI About page v2 */
body:has(.about-v2) .main-header,
body:has(.about-v2) .main-footer {
    background: #0B1524;
    background-image: none;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

body:has(.about-v2) .main-header .logo {
    display: inline-block;
    width: 136px;
    height: 40px;
    padding: 0;
    overflow: hidden;
    background: url("../../image/Flow%20AI_Logo_No%20Com_Transparent.png") center / contain no-repeat;
    color: transparent;
    font-size: 0;
}

body:has(.about-v2) .main-nav ul li a {
    color: #F3F1EA;
}

body:has(.about-v2) .main-nav ul li a:hover,
body:has(.about-v2) .main-nav ul li a:focus-visible,
body:has(.about-v2) .main-nav .active {
    color: #7FD4CF;
}

body:has(.about-v2) .main-footer,
body:has(.about-v2) .main-footer h4,
body:has(.about-v2) .main-footer p,
body:has(.about-v2) .main-footer a,
body:has(.about-v2) .copyright {
    color: #FFFFFF;
}

body:has(.about-v2) .copyright {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.about-v2 {
    background: #F5F1E8;
    color: #4A5568;
    font-family: "Public Sans", sans-serif;
}

.about-v2 .container {
    width: min(100% - 48px, 1200px);
    max-width: none;
    margin-inline: auto;
    padding: 0;
}

.about-v2 section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.about-v2 h1,
.about-v2 h2,
.about-v2 h3 {
    margin: 0;
    color: #1B2635;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.about-v2 h1 {
    max-width: 920px;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 600;
    line-height: 1.16;
}

.about-v2 h2 {
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.about-v2 h3 {
    margin-top: 1rem;
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 600;
    line-height: 1.25;
}

.about-v2 p {
    margin: 0;
    line-height: 1.75;
}

.about-eyebrow {
    margin: 0 0 .8rem;
    color: #7FD4CF;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.3;
}

.about-hero {
    background: radial-gradient(1200px 700px at 85% -10%, #163449 0%, #0B1524 55%);
    text-align: center;
}

.about-hero .container {
    display: grid;
    justify-items: center;
}

.about-hero h1 {
    color: #FBFAF7;
}

.about-hero > .container > p:last-child {
    max-width: 820px;
    margin-top: 1.35rem;
    color: #F3F1EA;
    font-size: 1.1rem;
}

.about-identity {
    background: #F5F1E8;
}

.about-content-narrow {
    max-width: 900px;
}

.about-content-narrow > h2 {
    max-width: 750px;
}

.about-intro {
    max-width: 760px;
    margin-top: 1.35rem !important;
    color: #4A5568;
    font-size: 1.1rem;
}

.about-name-meaning {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 2.5rem 0;
    border: 1px solid rgba(27, 38, 53, 0.14);
    background: rgba(27, 38, 53, 0.14);
}

.about-name-meaning p {
    padding: 1.5rem;
    background: #FFFFFF;
}

.about-name-meaning strong {
    display: block;
    margin-bottom: .55rem;
    color: #1B2635;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.about-content-narrow > p:last-child {
    max-width: 800px;
}

.about-mission-vision {
    background: #0B1524;
}

.about-mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

.about-mission-vision-grid article {
    min-width: 0;
    padding: clamp(2rem, 4vw, 3.5rem);
    background: #0F1B2E;
}

.about-mission-vision-grid h2 {
    color: #FBFAF7;
    font-size: clamp(26px, 2.4vw, 34px);
}

.about-mission-vision-grid .about-eyebrow {
    font-size: .82rem;
}

.about-principal {
    background: #F5F1E8;
}

.about-ecosystem {
    background: #0B1524;
}

.about-ecosystem h2,
.about-ecosystem h3 {
    color: #FBFAF7;
}

.about-ecosystem .about-profile-card {
    border-color: rgba(255, 255, 255, 0.1);
    background: #0F1B2E;
}

.about-ecosystem .about-profile-content > p:not(.about-role):not(.about-descriptor) {
    color: #B9C4D2;
}

.about-profile-card {
    display: grid;
    grid-template-columns: minmax(220px, .68fr) minmax(0, 1.32fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
    margin-top: 2.25rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(27, 38, 53, 0.14);
    background: #FFFFFF;
}

.about-profile-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

.about-profile-content {
    min-width: 0;
}

.about-profile-content > p:not(.about-role):not(.about-descriptor) {
    margin-top: 1rem;
}

.about-role,
.about-descriptor {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    line-height: 1.5;
}

.about-role {
    margin-top: .9rem !important;
    color: #9A7A2E;
}

.about-descriptor {
    margin-top: .35rem !important;
    color: #4A5568;
}

.about-ecosystem .about-descriptor {
    color: #A9B7C9;
}

.about-profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-profile-links a {
    color: #9A7A2E;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
}

.about-profile-links a:hover,
.about-profile-links a:focus-visible {
    color: #1B2635;
}

.about-final-cta {
    background: #132133;
    text-align: center;
}

.about-final-cta h2 {
    color: #FBFAF7;
}

.about-final-cta p {
    max-width: 680px;
    margin: 1.25rem auto 0;
    color: #B9C4D2;
}

.about-primary-button {
    display: inline-block;
    margin-top: 1.75rem;
    padding: .8rem 1.45rem;
    border: 1px solid #9A7A2E;
    background: #C9A24B;
    color: #0B1524;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.about-primary-button:hover,
.about-primary-button:focus-visible {
    border-color: #A8E4E0;
    background: #A8E4E0;
    color: #0B1524;
}

@media (max-width: 900px) {
    body:has(.about-v2) .main-header .logo {
        width: 122px;
        height: 36px;
    }

    .about-profile-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-profile-media {
        max-width: 320px;
    }
}

@media (max-width: 760px) {
    .about-v2 .container {
        width: min(100% - 40px, 1200px);
    }

    .about-v2 section {
        padding: 4.5rem 0;
    }

    .about-name-meaning,
    .about-mission-vision-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-profile-card {
        padding: 1.5rem;
    }

    .about-hero h1 {
        font-size: clamp(32px, 9vw, 42px);
    }
}


/* About v2 typography refinement */
.about-v2 .about-hero h1 {
    max-width: 1000px;
    font-size: clamp(32px, 3.4vw, 46px);
}

.about-v2 .about-content-narrow {
    max-width: none;
}

.about-v2 .about-content-narrow > h2 {
    max-width: none;
    font-size: clamp(30px, 2.8vw, 40px);
    white-space: nowrap;
}

.about-v2 .about-intro,
.about-v2 .about-content-narrow > p:last-child {
    max-width: none;
}

.about-v2 .about-mission-vision-grid .about-eyebrow {
    margin-bottom: 0;
    font-size: 20px;
}

.about-v2 .about-mission-vision-grid h2 {
    margin-top: 1.25rem;
    font-family: "Public Sans", sans-serif;
    font-size: clamp(20px, 1.7vw, 26px);
    font-weight: 400;
    line-height: 1.55;
}

.about-v2 .about-principal > .container > .about-eyebrow,
.about-v2 .about-ecosystem > .container > .about-eyebrow {
    font-size: 22px;
}

@media (max-width: 900px) {
    .about-v2 .about-content-narrow > h2 {
        white-space: normal;
    }
}


/* About card and final CTA refinement */
.about-v2 .about-name-meaning strong {
    font-size: 20px;
}

.about-v2 .about-final-cta h2 {
    text-align: center;
}


/* About identity and mission typography refinement */
.about-v2 .about-content-narrow > h2 {
    font-size: clamp(30px, 3vw, 38px);
    white-space: normal;
}

.about-v2 .about-intro {
    max-width: 940px;
}

.about-v2 .about-mission-vision-grid .about-eyebrow {
    font-size: 18px;
}

.about-v2 .about-mission-vision-grid h2 {
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.5;
}

.about-v2 .about-mission-vision-grid article {
    padding: clamp(1.8rem, 3.6vw, 3.15rem);
}


/* About identity spacing and card typography refinement */
.about-v2 .about-content-narrow > h2 {
    margin-top: 1.1rem;
}

.about-v2 .about-name-meaning p,
.about-v2 .about-name-meaning strong {
    font-size: 30px;
    line-height: 1.5;
}


/* Contact and Privacy Notice v2 */
body:has(.contact-v2) .main-header,
body:has(.privacy-v2) .main-header,
body:has(.contact-v2) .main-footer,
body:has(.privacy-v2) .main-footer {
    background: #0B1524;
    background-image: none;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

body:has(.contact-v2) .main-header .logo,
body:has(.privacy-v2) .main-header .logo {
    display: inline-block;
    width: 136px;
    height: 40px;
    padding: 0;
    overflow: hidden;
    background: url("../../image/Flow%20AI_Logo_No%20Com_Transparent.png") center / contain no-repeat;
    color: transparent;
    font-size: 0;
}

body:has(.contact-v2) .main-nav ul li a,
body:has(.privacy-v2) .main-nav ul li a,
body:has(.contact-v2) .main-footer,
body:has(.privacy-v2) .main-footer {
    color: #F3F1EA;
}

body:has(.contact-v2) .main-nav ul li a:hover,
body:has(.contact-v2) .main-nav ul li a:focus-visible,
body:has(.privacy-v2) .main-nav ul li a:hover,
body:has(.privacy-v2) .main-nav ul li a:focus-visible {
    color: #7FD4CF;
}

.footer-legal-links {
    margin-top: .55rem;
}

.footer-legal-links a {
    color: #B9C4D2;
    font-size: .9rem;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
    color: #7FD4CF;
}

.contact-v2,
.privacy-v2 {
    background: #F5F1E8;
    color: #4A5568;
}

.contact-v2 .container,
.privacy-v2 .container {
    width: min(100% - 64px, 1200px);
}

.contact-hero,
.privacy-hero {
    padding: clamp(5.5rem, 10vw, 8.5rem) 0;
    background: radial-gradient(1200px 700px at 85% -10%, #163449 0%, #0B1524 55%);
    color: #F3F1EA;
    text-align: center;
}

.contact-hero > .container,
.privacy-hero > .container {
    max-width: 920px;
}

.contact-eyebrow,
.privacy-eyebrow {
    margin: 0 0 1rem;
    color: #7FD4CF;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.3;
}

.contact-hero h1,
.privacy-hero h1 {
    margin: 0;
    color: #FBFAF7;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(36px, 4.2vw, 56px);
    font-weight: 700;
    line-height: 1.16;
}

.contact-hero > .container > p:last-child,
.privacy-hero > .container > p:last-child {
    max-width: 800px;
    margin: 1.4rem auto 0;
    color: #B9C4D2;
    font-size: clamp(17px, 1.55vw, 20px);
    line-height: 1.65;
}

.contact-main {
    padding: clamp(4.75rem, 9vw, 7.5rem) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 6vw, 6.5rem);
    align-items: start;
}

.contact-details h2,
.contact-form-panel h2,
.privacy-section h2 {
    color: #1B2635;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    line-height: 1.25;
}

.contact-details h2,
.contact-form-panel h2 {
    margin: 0;
    font-size: clamp(28px, 2.5vw, 36px);
}

.contact-details > p:last-of-type,
.contact-form-panel > p {
    margin-top: 1.2rem;
    color: #4A5568;
    line-height: 1.7;
}

.contact-details-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0 0;
}

.contact-details-list div {
    padding-top: 1.35rem;
    border-top: 1px solid rgba(27, 38, 53, .14);
}

.contact-details-list dt {
    color: #9A7A2E;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-details-list dd {
    margin: .55rem 0 0;
    color: #4A5568;
    line-height: 1.65;
}

.contact-details-list a,
.contact-privacy-statement a,
.privacy-section a {
    color: #1B2635;
    font-weight: 700;
    text-decoration-color: #C9A24B;
    text-underline-offset: .18em;
}

.contact-details-list a:hover,
.contact-details-list a:focus-visible,
.contact-privacy-statement a:hover,
.contact-privacy-statement a:focus-visible,
.privacy-section a:hover,
.privacy-section a:focus-visible {
    color: #9A7A2E;
}

.contact-form-panel {
    padding: clamp(1.75rem, 4vw, 3rem);
    border: 1px solid rgba(27, 38, 53, .16);
    background: #FFFFFF;
}

.contact-form-panel form {
    margin-top: 1.8rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.contact-form-field {
    margin-top: 1.25rem;
}

.contact-form-field label {
    display: block;
    margin-bottom: .55rem;
    color: #1B2635;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    line-height: 1.4;
}

.contact-optional {
    color: #4A5568;
    font-family: "Public Sans", sans-serif;
    font-size: .9em;
    font-weight: 400;
}

.contact-form-field input,
.contact-form-field textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid rgba(27, 38, 53, .28);
    border-radius: 0;
    background: #FFFFFF;
    color: #1B2635;
    font: inherit;
    line-height: 1.5;
    padding: .8rem .9rem;
}

.contact-form-field textarea {
    min-height: 10.5rem;
    resize: vertical;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    outline: 3px solid rgba(127, 212, 207, .48);
    outline-offset: 1px;
    border-color: #1B2635;
}

.contact-field-error {
    margin: .5rem 0 0;
    color: #8A3324;
    font-size: .93rem;
    line-height: 1.45;
}

.contact-form-status {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border-left: 3px solid #9A7A2E;
    background: #F5F1E8;
    color: #1B2635;
    line-height: 1.55;
}

.contact-form-status--success {
    border-color: #397B75;
}

.contact-form-status--error {
    border-color: #8A3324;
}

.contact-privacy-statement {
    margin: 1.45rem 0;
    color: #4A5568;
    font-size: .95rem;
    line-height: 1.6;
}

.contact-form-panel .btn-primary {
    border: 1px solid #9A7A2E;
    border-radius: 0;
    background: #C9A24B;
    color: #0B1524;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
}

.contact-form-panel .btn-primary:hover,
.contact-form-panel .btn-primary:focus-visible {
    border-color: #A8E4E0;
    background: #A8E4E0;
    color: #0B1524;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.privacy-content {
    padding: clamp(4.75rem, 9vw, 7.5rem) 0;
}

.privacy-content__inner {
    max-width: 900px;
}

.privacy-section {
    padding: 0 0 2rem;
    margin: 0 0 2rem;
    border-bottom: 1px solid rgba(27, 38, 53, .14);
}

.privacy-section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.privacy-section h2 {
    margin: 0;
    font-size: clamp(23px, 2.2vw, 30px);
}

.privacy-section p {
    margin: .9rem 0 0;
    color: #4A5568;
    line-height: 1.72;
}

@media (max-width: 800px) {
    body:has(.contact-v2) .main-header .logo,
    body:has(.privacy-v2) .main-header .logo {
        width: 122px;
        height: 36px;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .contact-v2 .container,
    .privacy-v2 .container {
        width: min(100% - 40px, 1200px);
    }

    .contact-hero,
    .privacy-hero {
        text-align: left;
    }

    .contact-hero > .container > p:last-child,
    .privacy-hero > .container > p:last-child {
        margin-left: 0;
        margin-right: 0;
    }

    .contact-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .contact-form-panel {
        padding: 1.5rem;
    }
}


/* Contact hero spacing refinement */
.contact-v2 .contact-hero {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}


/* Contact validation summary */
.contact-form-status > p {
    margin: 0;
}

.contact-error-summary-list {
    margin: .65rem 0 0;
    padding-left: 1.2rem;
}

.contact-error-summary-list li + li {
    margin-top: .35rem;
}

.contact-error-summary-list a {
    color: inherit;
    font-weight: 700;
    text-underline-offset: .18em;
}


/* About identity card typography */
.about-v2 .about-name-meaning p,
.about-v2 .about-name-meaning strong {
    font-size: 24px;
}

@media (max-width: 720px) {
  body:has(.solutions-v2) .main-nav,
  body:has(.insights-v2) .main-nav,
  body:has(.about-v2) .main-nav,
  body:has(.contact-v2) .main-nav {
    background: var(--flow-theme-card-navy);
  }
}

/* Insights v2.1 additions: All Insights, pagination, Related Insights (additive only) */
.insights-all { background: #fff; }
.insights-all-clear { margin: 0 0 1.5rem; }
.insights-all-clear a { color: inherit; text-decoration: underline; }
.insights-all-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.insights-all-card {
    border: 1px solid rgba(27,38,53,.14);
    background: #fff;
}
.insights-all-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.insights-all-card img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    background: #fff;
    display: block;
}
.insights-all-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.insights-all-card-content h3 {
    margin: .75rem 0;
    font-size: 1.15rem;
    line-height: 1.35;
}
.insights-all-card-content .article-excerpt {
    flex: 1;
}
.insights-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.insights-pagination-link {
    font-weight: 700;
    text-decoration: none;
    color: inherit;
}
.insights-pagination-status {
    color: #4A5568;
    font-size: .9rem;
}
.related-insights {
    padding: clamp(3rem,6vw,5rem) 0;
    background: #F5F1E8;
}
.related-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.related-insights-card {
    border: 1px solid rgba(27,38,53,.14);
    background: #fff;
}
.related-insights-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}
.related-insights-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: #fff;
    display: block;
}
.related-insights-card-content {
    padding: 1.25rem;
}
.related-insights-card-content h3 {
    margin: .5rem 0 0;
    font-size: 1.05rem;
    line-height: 1.3;
}
.related-insights-category-link {
    margin-top: 1.5rem;
}
.related-insights-category-link a {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}
@media (max-width: 900px) {
    .insights-all-grid,
    .related-insights-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 620px) {
    .insights-all-grid,
    .related-insights-grid {
        grid-template-columns: 1fr;
    }
    .insights-pagination {
        flex-direction: column;
        gap: .75rem;
    }
}