/* Brand Colors based on CLM_LIM Brand Guidelines */
:root {
    /* CLM Colors */
    --clm-yellow: #FFA900;
    --clm-violet: #8134b2;

    /* LIM Colors */
    --lim-turquoise: #24d4da;
    --lim-blue: #4231b1;

    /* MOVEit Colors */
    --moveit-blue: #4231b1;
    --field-purple: #8c2db8;

    /* Shared Colors */
    --brand-primary: #9D6EFF;
    --brand-primary-dark: #7a4ad9;
    --raisin: #262633;
    --background: #FAF8FF;
    /* 5% tint of brand-primary */
    --white: #FFFFFF;

    /* Semantic Colors */
    --primary: var(--brand-primary);
    --secondary: var(--lim-turquoise);
    --dark: var(--raisin);
    --light: var(--background);

    /* Text Colors */
    --text-primary: var(--raisin);
    --text-secondary: #666666;
    --text-light: #999999;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Header & Hero Clearance */
    --header-height: 80px;
    --header-mobile-height: 70px;
    --logo-url: url("../imag/DCL_Main%20Logo.svg");

    /* Space / version-space variables */
    --yellow: #FFA900;
    --violet: #8134b2;
    --olive: #969300;
    --bg: #F9F9F9;
    --paper: #fff;
    --text: #1f1f2a;
    --muted: #636372;
    --line: rgba(38, 38, 51, .12);
}

/* Typography - Public Sans for Display, Roboto for Text */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@100;200;300;400;500&family=Roboto:wght@100;300;400;500;700;900&display=swap');

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Public Sans', sans-serif;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

h1 {
    font-size: 3rem;
    font-weight: 200;
}

h2 {
    font-size: 2.5rem;
    font-weight: 300;
}

h3 {
    font-size: 1.75rem;
    font-weight: 300;
}

h4 {
    font-size: 1.25rem;
    font-weight: 400;
}

p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

a {
    color: var(--clm-violet);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--clm-yellow);
}

/* Container */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* Header Container: Fluid distribution */
.main-header .container {
    max-width: none;
    width: 100%;
    padding: 0 4vw;
}

/* Header */
.main-header {
    background: rgba(38, 38, 51, 0.9);
    /* Glassmorphism background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    /* Logo | nav (centered) | actions */
    align-items: center;
    height: 100%;
    column-gap: 32px;
}

.logo {
    justify-self: start;
    z-index: 1001;
    /* Stay above mobile menu */
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-image {
    height: 48px;
    /* Slightly more compact for more breathing room */
    width: auto;
    content: var(--logo-url);
    filter: none;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.02);
}

/* Navigation */
.main-nav>ul {
    position: relative;
    list-style: none;
    display: flex;
    gap: var(--spacing-lg);
    height: 100%;
    align-items: center;
    justify-content: center;
}

.main-nav>ul>li {
    position: relative;
    height: 100%;
    /* Take full height of header for easier alignment */
    display: flex;
    align-items: center;
    border-bottom: solid 3px transparent;
    /* Thinner border */
    box-sizing: border-box;
}

.main-nav>ul>li:hover,
.main-nav>ul>li.active {
    border-bottom-color: var(--brand-primary);
}

.main-nav a {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #2c2c2c;
    transition: color 0.2s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a:hover {
    color: #000000;
}

/* Add dropdown chevron */
.dropdown>a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-top: 2px;
    opacity: 0.7;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    /* Match header height */
    left: -2em;
    background: var(--white);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: var(--spacing-sm);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.dropdown-menu li {
    margin: 0;
    /* Remove block stacking if present */
    display: inline-block;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.dropdown-menu a:hover {
    background: var(--background);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* Increased gap for better distribution */
    justify-self: end;
    z-index: 1001;
    height: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333333;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.nav-actions .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

/* Specific styling for the buttons to match Vercel-like aesthetic */
.nav-actions .btn-secondary {
    /* Login */
    background: transparent;
    /*border: 1px solid var(--brand-primary);*/
    color: var(--brand-primary);
}

.nav-actions .btn-secondary:hover {
    border-color: var(--brand-primary);
    color: #ffffff;
    background: var(--brand-primary);
}

.nav-actions .btn-primary {
    /* Kontakt - primary call-to-action */
    background: var(--brand-primary);
    color: #ffffff;
    border: 1px solid var(--brand-primary);
    font-weight: 500;
}

.nav-actions .btn-primary:hover {
    background: var(--brand-primary-dark);
    /* slightly darker brand purple on hover */
    border-color: var(--brand-primary-dark);
    color: #ffffff;
}

.language-selector {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    text-transform: lowercase;
    letter-spacing: 0.04em;
}

.language-selector a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.language-selector a:hover {
    color: #000;
}

.language-selector .lang-current {
    color: #000;
    font-weight: 700;
}

/* App Launcher (Nine Dots Menu) */
.app-launcher {
    position: relative;
    display: flex;
    align-items: center;
}

.app-launcher-toggle {
    display: grid;
    grid-template-columns: repeat(3, 4px);
    grid-template-rows: repeat(3, 4px);
    gap: 3px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.app-launcher-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.app-launcher-toggle .dot {
    width: 4px;
    height: 4px;
    background-color: var(--white);
    border-radius: 50%;
}

.app-launcher-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
}

.app-launcher-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.app-launcher-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    border-radius: var(--radius-md);
    transition: background-color 0.2s ease;
    text-align: center;
    text-decoration: none;
}

.app-item:hover {
    background-color: var(--background);
}

.app-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.app-item span {
    font-size: 0.75rem;
    color: var(--raisin);
    font-weight: 500;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 200px;
}

.btn-nav {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    /* More compact nav buttons */
    border-radius: var(--radius-md);
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--brand-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--raisin);
    color: var(--white);
}

.btn-secondary {
    background: var(--raisin);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--lim-blue);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 3px solid gray;
    color: var(--raisin);
}

.btn-outline:hover {
    background: var(--brand-primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--raisin);
}

.btn-white:hover {
    background: var(--background);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--raisin);
}

.btn-outline.clm-color {
    border-color: var(--clm-yellow);
}

.btn-outline.lim-color {
    border-color: var(--lim-turquoise);
}

.btn-outline.moveit-color {
    border-color: var(--moveit-blue);
}

.btn-outline.field-color {
    border-color: var(--field-purple);
}

.btn-outline.clm-color:hover {
    background-color: var(--clm-yellow);
}

.btn-outline.lim-color:hover {
    background-color: var(--lim-turquoise);
}

.btn-outline.moveit-color:hover {
    background-color: var(--moveit-blue);
    color: #fff;
}

.btn-outline.field-color:hover {
    background-color: var(--field-purple);
    color: #fff;
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
}

/* Gradient Background */
.gradient-bg {
    background: linear-gradient(135deg, var(--clm-violet) 0%, var(--clm-yellow) 100%);
}

/* Alternative gradients for variety */
.gradient-bg-lim {
    background: linear-gradient(135deg, var(--lim-blue) 0%, var(--lim-turquoise) 100%);
}

.gradient-bg-mixed {
    background: linear-gradient(135deg, var(--clm-violet) 0%, var(--lim-turquoise) 100%);
}

.pattern1 {
    background-image: url("../imag/pattern1.png");
}

.pattern2 {
    background-image: url("../imag/pattern2.png");
}

.pattern3 {
    background-image: url("../imag/pattern3.png");
    background-size: 100% 100%;
}

.pattern4 {
    background-image: url("../imag/pattern4.png");
}

.pattern5 {
    background-image: url("../imag/pattern5.png");
}

.pattern6 {
    background-image: url("../imag/pattern6.png");
}

.pattern7 {
    background-image: url("../imag/pattern7.png");
}

.pattern9 {
    background-image: url("../imag/pattern9.png");
}

.gradient1 {
    background-image: url("../imag/Gradient.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.gradient2 {
    background-image: url("../imag/north-star.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

/* Hero Section */
.hero {
    padding: var(--spacing-xxl) 0;
    color: var(--white);
    min-height: 60vh;
    /* Scaled height for better distribution on tall screens */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-margin-top: calc(var(--header-height) + 20px);
}

@media (min-width: 1400px) {
    .hero {
        padding: var(--spacing-xxl) 0;
        min-height: 550px;
    }
}

.hero-content {
    max-width: 1100px;
    /* Widened for better balance on large screens */
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 7vw, 4rem);
    /* More impactful scaling */
    font-weight: 200;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: var(--spacing-md);
    color: inherit;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Hero Carousel */
.hero-carousel {
    padding: var(--spacing-xxl) 0;
    color: var(--white);
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 991px) {
    .hero-carousel {
        height: auto;
        min-height: 500px;
        padding-top: 120px;
        padding-bottom: 60px;
    }
}

.carousel-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    /* Removed position: relative to let dots position against hero-carousel */
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.carousel-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    width: 100%;
    height: 100%;
    animation: fadeEffect 1s;
}

.carousel-slide.active {
    display: grid;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-content {
    max-width: 600px;
}

.slide-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.slide-content .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 300;
}

.slide-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 40vh;
    min-height: 300px;
    width: 100%;
}

.featured-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 1005;
    /* Increased to ensure it's above other layers */
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
    pointer-events: none;
    /* Let clicks pass through the container... */
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    pointer-events: auto;
    /* ...but capture clicks on the dots themselves */
}

.dot.active,
.dot:hover {
    background-color: #fff;
}

/* Sections */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* Value Props */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.value-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.product-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.product-icon {
    margin-bottom: var(--spacing-md);
}

.bim2log-color {
    background: linear-gradient(135deg, var(--clm-violet) 0%, var(--lim-blue) 100%);
    color: var(--white);
}

.mcc-color {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--clm-yellow) 100%);
    color: var(--raisin);
}

.product-benefits {
    list-style: none;
    margin: var(--spacing-md) 0;
    color: inherit;
}

.product-benefits li {
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-xs);
    position: relative;
}

.product-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--clm-yellow);
    font-weight: bold;
}

.product-benefits.clm-color li:before {
    color: var(--clm-yellow);
}

.product-benefits.lim-color li:before {
    color: var(--lim-turquoise);
}

.product-benefits.moveit-color li:before {
    color: var(--moveit-blue);
}

.product-benefits.field-color li:before {
    color: var(--field-purple);
}

.product-benefits.labs-color li:before {
    color: gray;
}

/* Labs Section */
.labs-section {
    background: #edebeb;
}

.bg-light {
    background: var(--background);
}

.labs-header {

    background-size: contain;
}

.labs-banner {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: dashed 5px gray;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.labs-content {
    flex: 1;
}

.labs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.labs-card {
    background: #e5e5e5;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.labs-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.labs-icon {
    flex: 0 0 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: gray;
    color: var(--white);
}

.labs-preview {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.lab-badge {
    display: inline-flex;

    color: var(--black);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--white);
    margin-bottom: var(--spacing-md);
    margin-right: var(--spacing-sm);

}

.lab-badge>span {
    margin: auto;
}

/* Audiences */
.audience-filter {
    display: flex;
    width: 100%;
}

.audience-filter>div {
    flex: 1 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    border: solid 2px gray;
    border-radius: var(--radius-md);
    margin-right: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.audience-filter>div:hover {
    border-color: var(--brand-primary);
    background: var(--background);
}

.audience-filter>div.active {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: #fff;
}

.audience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.audience-card {
    background: var(--white);
    padding: 4px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);*/
}



.audience-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.audience-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* Enhanced Filter Styles for Audience Cards */
.audience-card.filter {
    cursor: pointer;
    border: 2px solid transparent;
}

.audience-card.filter:hover {
    border-color: var(--brand-primary);
    background: var(--background);
}

.audience-card.filter.active {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: var(--white);
}

.audience-card.filter.active p {
    color: var(--white);
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: var(--raisin);
    color: var(--white);
    opacity: 0.7;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
}

.cta-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

/* Footer */
.main-footer {
    background: var(--raisin);
    color: var(--white);
    padding: var(--spacing-lg) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column h4 {
    color: var(--clm-yellow);
    margin-bottom: var(--spacing-xs);
    font-family: 'Public Sans', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.35rem;
}

.footer-column a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    line-height: 1.4;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--clm-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
}

.footer-copy,
.footer-tagline {
    margin: 0;
}

.footer-tagline {
    color: var(--clm-yellow);
    font-style: italic;
}

@media (max-width: 640px) {
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

/* App Gallery Specific */
.filter-sidebar {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-group {
    margin-bottom: var(--spacing-lg);
}

.filter-group h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.filter-checkbox input {
    margin-right: var(--spacing-sm);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.app-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.app-header {
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--white);
    margin-left: 30px;
}

.app-icon img {
    height: 30px;
    width: auto;
}

.app-body {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.app-status {
    display: inline-block;
    padding: 2px var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.status-ga {
    background: #4CAF50;
    color: var(--white);
}

.status-beta {
    background: var(--clm-violet);
    color: var(--white);
}

.status-poc {
    background: var(--brand-primary);
    color: var(--white);
}

/* App Detail Page */
.app-hero {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--background);
}

.app-hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.app-hero-icon {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.feature-item {
    display: flex;
    gap: var(--spacing-md);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--clm-yellow);
}

.integration-logos {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    align-items: center;
}

.integration-logo {
    padding: var(--spacing-md);
    background: var(--background);
    border-radius: var(--radius-md);
    font-weight: 500;
}

/* Audience Page Specific */
.audience-hero {
    background: linear-gradient(135deg, var(--lim-blue) 0%, var(--lim-turquoise) 100%);
    color: var(--white);
    padding: var(--spacing-xxl) 0;
    height: 50vh;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.pain-points {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.pain-list {
    list-style: none;
}

.pain-list li {
    padding-left: 2rem;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.pain-list li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.solution-mapping {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

@media (max-width: 900px) {

    .carousel-slide,
    .carousel-slide.active {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .slide-visual {
        height: 300px;
        order: -1;
        margin-bottom: var(--spacing-md);
    }

    .featured-img {
        max-height: 300px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1800px;
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 991px) {
    .main-header {
        height: auto;
        min-height: var(--header-mobile-height);
        padding: 8px 0;
    }

    .nav-wrapper {
        display: flex;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .nav-actions {
        order: 2;
        margin-right: 15px;
    }

    .nav-actions .btn-primary {
        display: none;
        /* Hide Contact on mobile to save space, or move to menu */
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--raisin);
        z-index: 1000;
        transition: 0.3s ease-in-out;
        padding: 100px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .main-nav>ul>li {
        width: 100%;
        height: auto;
        border-bottom: none;
    }

    .main-nav a {
        font-size: 1.2rem;
        padding: 10px 0;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        padding-left: 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
        margin-top: 10px;
    }

    .hero {
        min-height: 450px;
        padding: 120px 0 60px 0;
        /* Clear header reliably */
        height: auto;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        min-height: 500px;
    }

    .products-grid,
    .value-grid,
    .audience-cards {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .btn {
        width: 100%;
    }

    .labs-banner {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .app-hero-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-actions .btn-secondary {
        display: none;
        /* Hide Login on very small screens */
    }

    .hero-title {
        font-size: 1.8rem;
    }
}

/* Helper classes for responsive grids */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {

    .grid-3-col,
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {

    .grid-2-col,
    .grid-3-col,
    .grid-4-col {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.py-xl {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

/* FAQ Table Styles */
.faq-table {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 800px;
    margin: 0 auto;
}

.faq-row {
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    transition: all 0.3s ease;
}

.faq-question {
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 400;
}

.faq-toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--clm-violet);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--background);
}

.faq-answer p,
.faq-answer ul {
    padding: var(--spacing-sm) var(--spacing-lg);
    margin: 0;
    color: var(--text-secondary);
}

.faq-answer p:first-child,
.faq-answer ul:first-child {
    padding-top: var(--spacing-md);
}

.faq-answer p:last-child,
.faq-answer ul:last-child {
    padding-bottom: var(--spacing-md);
}

.faq-answer ul {
    list-style-type: disc;
    padding-left: calc(var(--spacing-lg) + 1.5rem);
}

.faq-answer li {
    margin-bottom: var(--spacing-xs);
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

.faq-row.active .faq-answer {
    max-height: 1000px;
}

.faq-row.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-row:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Innovation Tiles Refreshed (Black/White/Grey) */
.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.innovation-card {
    background-color: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
    height: 100%;
    min-height: 520px;
    position: relative;
    overflow: hidden;
}

.innovation-card:hover {
    background-color: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.innovation-icon-wrapper {
    margin-bottom: 24px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.innovation-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.innovation-feature-img {
    width: 100%;
    height: 30%;
    /* Approximately 30% of the 520px card min-height */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 16px;
    display: block;
}

.innovation-card h3 {
    font-family: 'Public Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000000;
}

.innovation-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.innovation-card .card-cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c2c2c;
    display: flex;
    align-items: center;
    gap: 6px;
}

.innovation-card .card-cta::after {
    content: "→";
    transition: transform 0.2s ease;
}

.innovation-card:hover .card-cta::after {
    transform: translateX(4px);
}

/* ══════════════════════════════════════════════════════════════
   V5 Homepage Styles – white header, centered hero card,
   Vercel-inspired grid tiles, audience pills, value props, FAQ
   ══════════════════════════════════════════════════════════════ */

/* ── Header override: white background with dark text ── */
.main-header {
    background: var(--background);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid #eee;
}

.main-header .logo-image {
    filter: none;
    content: url("../imag/DCL_Main%20Logo_2.svg");
}

.main-header .btn-nav.btn-secondary {
    color: #1a1a1a;
}

.main-header .btn-nav.btn-secondary:hover {
    color: var(--white);
}

.app-launcher-toggle .dot {
    background-color: #1a1a1a;
}

.menu-toggle span {
    background: #1a1a1a;
}

/* ── Hero: centered focused layout ── */
.hero-v5 {
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4vw, 48px) 5vw;
}

.hero-v5__card {
    background: #DDD0C8;
    border-radius: 8px;
    /* Added subtle radius to soften the look with the shadow */
    width: 100%;
    max-width: 1100px;
    min-height: 480px;
    /* Fixed height for consistency across all pages */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 64px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
    /* Pronounced shadow for testing */
}

.hero-v5__content {
    max-width: 640px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-v5__heading {
    font-family: 'Public Sans', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.08;
    color: #1a1a1a;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.hero-v5__desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    max-width: 480px;
    margin: 0 auto 32px;
}

.hero-v5__cta {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.hero-v5__cta:hover {
    color: var(--olive);
}

.hero-v5__cta::after {
    content: " \2192";
}

/* Geometric blocks inside the card */
.hero-v5__visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    pointer-events: none;
}

.block-mosaic {
    position: absolute;
    right: -8px;
    bottom: -8px;
}

.block-mosaic__cell {
    position: absolute;
    width: var(--cell, 100px);
    height: var(--cell, 100px);
    background-color: #CCFF00;
    border-radius: 2px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    /* Light shadow for depth */
}

/* ── Audience pills ── */
.audience-v5 {
    background: var(--background);
    padding: clamp(48px, 6vw, 80px) 5vw;
    text-align: center;
}

.audience-v5__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-light);
    margin-bottom: 20px;
}

.audience-v5__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.audience-v5__pill {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #888;
    padding: 10px 24px;
}

/* ── App tiles: Vercel-inspired white grid cards ── */
.apps-v5 {
    padding: clamp(60px, 8vw, 100px) 5vw;
    background: #F4F1F9;
    /* Slightly darker tinted beige/grey */
}

.apps-v5__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    max-width: 1100px;
    margin: 0 auto 48px;
}

.apps-v5__heading {
    font-family: 'Public Sans', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--raisin);
    margin: 0;
}

.apps-v5__link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--raisin);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.apps-v5__link:hover {
    color: var(--olive);
}

.apps-v5__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid #d5cfc7;
    border-radius: 2px;
    overflow: hidden;
}

.tile-v5 {
    background: var(--background);
    padding: 32px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--raisin);
    position: relative;
    border-right: 1px solid #d5cfc7;
    border-bottom: 1px solid #d5cfc7;
    transition: background 0.2s ease;
}

.tile-v5:nth-child(3n) {
    border-right: none;
}

.tile-v5:nth-last-child(-n+3) {
    border-bottom: none;
}

.tile-v5:hover {
    background: #f7f4f0;
    color: var(--raisin);
}

.tile-v5__icon {
    display: none;
}

.tile-v5__name {
    font-family: 'Public Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.tile-v5__desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    flex-grow: 1;
}

.tile-v5__cta {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 0;
    color: transparent;
    background: none;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 0;
    transition: all 0.2s ease;
}

.tile-v5__cta::after {
    content: "\2192";
    font-size: 1rem;
    color: #1a1a1a;
}

.tile-v5:hover .tile-v5__cta {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.tile-v5:hover .tile-v5__cta::after {
    color: #fff;
}

.tile-v5--intro {
    background: #fff;
    cursor: default;
}

.tile-v5--intro:hover {
    background: #fff;
}

.tile-v5--intro .tile-v5__name {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
}

.tile-v5--intro .tile-v5__desc {
    font-size: 0.95rem;
    color: #888;
}

/* ── Value props ── */
.value-v5 {
    background: var(--background);
    padding: clamp(60px, 8vw, 100px) 5vw;
}

.value-v5__heading {
    font-family: 'Public Sans', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    color: var(--raisin);
    max-width: 700px;
    margin-bottom: 56px;
    line-height: 1.15;
}

.value-v5__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.value-v5__card h3 {
    font-family: 'Public Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--raisin);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--olive);
    display: inline-block;
}

.value-v5__card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.value-v5__cta {
    margin-top: 48px;
}

/* ── FAQ v5 ── */
.faq-v5 {
    padding: clamp(60px, 8vw, 100px) 5vw;
    background: #F4F1F9;
}

/* ── V5 Responsive ── */
@media (max-width: 991px) {
    .apps-v5__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tile-v5:nth-child(3n) {
        border-right: 1px solid #d5cfc7;
    }

    .tile-v5:nth-child(2n) {
        border-right: none;
    }

    .tile-v5 {
        border-bottom: 1px solid #d5cfc7;
    }

    .tile-v5:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .hero-v5 {
        padding: 16px;
    }

    .hero-v5__card {
        border-radius: 0;
        padding: 40px 24px;
    }

    .hero-v5__heading {
        font-size: 2.2rem;
    }

    .value-v5__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .apps-v5__header {
        flex-direction: column;
        gap: 12px;
    }

    .apps-v5__grid {
        grid-template-columns: 1fr;
    }

    .tile-v5 {
        border-right: none;
        border-bottom: 1px solid #d5cfc7;
    }

    .tile-v5:last-child {
        border-bottom: none;
    }
}

/* ══════════════════════════════════════════════════════════════
   DCL Space page styles
   ══════════════════════════════════════════════════════════════ */

.wrap {
    width: min(1160px, calc(100vw - 48px));
    margin: 0 auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(249, 249, 249, .86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line)
}

.site-header .wrap {
    width: calc(100vw - 20vw);
    max-width: none
}

.site-header .logo-image {
    content: url("../imag/DCL_Main%20Logo_2.svg");
    height: 64px
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: .95rem;
    color: var(--muted);
    margin-left: 36px;
    flex: 1 1 auto
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 24px;
    flex-shrink: 0
}

.nav-cta {
    margin-left: auto;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--raisin)
}

.hero-space {
    position: relative;
    min-height: calc(100vh - 79px);
    display: flex;
    align-items: center;
    overflow: clip;
    /* override global .hero which sets color:white and adds padding */
    color: var(--text);
    padding: 0
}

/* Override global h1/h2/h3 typography for Space page sections */
.hero-space .hero-copy h1 {
    font-size: clamp(2.7rem, 5.8vw, 5rem);
    font-weight: 700;
    line-height: .97;
    max-width: 11ch;
    margin: 0;
    letter-spacing: -.03em;
    color: var(--text)
}

.narrative-section h2,
.tools-section h2 {
    font-size: clamp(2rem, 3.7vw, 3.15rem);
    font-weight: 600;
    line-height: 1.03;
    letter-spacing: -.03em;
    margin: 0;
    color: var(--text)
}

.path-step h3 {
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -.02em;
    margin: 0 0 8px
}

.tool-tile h3 {
    letter-spacing: -.02em
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(129, 52, 178, .08), transparent 25%), radial-gradient(circle at 80% 72%, rgba(255, 169, 0, .12), transparent 18%), linear-gradient(180deg, #fbfbfb 0%, #f4f0f8 100%)
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 64px;
    align-items: center;
    padding: 72px 0 40px
}

.eyebrow,
.section-kicker {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .76rem;
    color: var(--olive);
    margin: 0 0 16px
}

.lead {
    font-size: 1.08rem;
    max-width: 60ch;
    margin: 22px 0 0;
    color: var(--muted);
    line-height: 1.78
}

.section-copy {
    color: var(--muted);
    line-height: 1.78
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform .18s ease, background .18s ease
}

.button:hover {
    transform: translateY(-1px)
}

.button-primary {
    background: var(--raisin);
    color: #fff
}

.button-secondary {
    background: transparent;
    border-color: var(--line);
    color: var(--raisin)
}

.hero-assembly {
    display: grid;
    place-items: center;
    gap: 18px
}

.assembly-grid {
    width: min(100%, 420px);
    aspect-ratio: 1/1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.node {
    border-radius: 12px;
    background: rgba(38, 38, 51, .06);
    display: grid;
    place-items: center;
    color: transparent;
    font-size: .85rem;
    animation: breathe 5s ease-in-out infinite
}

.node.live {
    background: rgba(255, 169, 0, .28);
    color: #8d5b00
}

.node.beta {
    background: rgba(129, 52, 178, .18);
    color: var(--violet);
    animation-delay: .6s
}

.node.idea {
    background: rgba(150, 147, 0, .18);
    color: var(--olive);
    animation-delay: 1.2s
}

.assembly-caption {
    font-size: .92rem;
    color: var(--muted);
    letter-spacing: .08em;
    text-transform: uppercase
}

.section-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: end;
    margin-bottom: 30px
}

.narrative-head {
    grid-template-columns: 1fr 1fr
}

.section-head h2 {
    font-size: clamp(2rem, 3.7vw, 3.15rem);
    line-height: 1.03
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.path-step {
    padding: 28px 0 0;
    border-top: 1px solid var(--line)
}

.step-index {
    font-family: "Public Sans", sans-serif;
    color: var(--olive);
    font-size: .9rem;
    letter-spacing: .12em;
    margin: 0 0 14px
}

.path-step h3 {
    font-size: 1.45rem
}

.text-link {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 4px
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    background: var(--paper)
}

.tool-tile {
    min-height: 240px;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.tool-tile p {
    color: var(--muted);
    line-height: 1.78
}

.tool-tile:nth-child(3n) {
    border-right: 0
}

.tool-tile:nth-last-child(-n+2) {
    border-bottom: 0
}

.tile-intro {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(129, 52, 178, .04), rgba(255, 169, 0, .06))
}

.tile-state {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: .78rem;
    background: rgba(150, 147, 0, .12);
    color: var(--olive)
}

.state-live {
    background: rgba(255, 169, 0, .14);
    color: #8d5b00
}

.state-beta {
    background: rgba(129, 52, 178, .12);
    color: var(--violet)
}

.state-idea {
    background: rgba(150, 147, 0, .14);
    color: var(--olive)
}

.tool-tile h3 {
    font-size: 1.5rem;
    margin-top: 18px
}

.tile-link {
    margin-top: 20px;
    text-decoration: underline;
    text-underline-offset: 4px
}

@keyframes breathe {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1
    }

    50% {
        transform: translateY(-4px);
        opacity: .8
    }
}

@media (max-width: 980px) {
    .top-nav {
        display: none
    }

    .hero-inner,
    .section-head,
    .narrative-head,
    .path-grid {
        grid-template-columns: 1fr
    }

    .tool-grid {
        grid-template-columns: 1fr 1fr
    }

    .tile-intro {
        grid-column: span 2
    }

    .tool-tile:nth-child(3n) {
        border-right: 1px solid var(--line)
    }

    .tool-tile:nth-child(2n) {
        border-right: 0
    }
}

@media (max-width: 640px) {
    .wrap {
        width: min(100vw - 32px, 1160px)
    }

    .header-inner {
        min-height: 70px
    }

    .hero-space {
        min-height: auto
    }

    .hero-inner {
        padding: 48px 0 28px
    }

    .tool-grid {
        grid-template-columns: 1fr
    }

    .tile-intro {
        grid-column: auto
    }

    .tool-tile,
    .tool-tile:nth-child(2n),
    .tool-tile:nth-child(3n) {
        border-right: 0
    }

    .tool-tile {
        border-bottom: 1px solid var(--line)
    }

    .tool-tile:last-child {
        border-bottom: 0
    }

    .assembly-grid {
        gap: 10px
    }
}