/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* PositionScale brand (green/blue) */
    --brand-green: #5abc7a;
    --brand-green-dark: #4da068;
    --brand-blue: #57aedc;
    --brand-blue-dark: #4a94bb;
    --brand-gradient: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-blue) 100%);
    --brand-gradient-soft: linear-gradient(
        135deg,
        rgba(90, 188, 122, 0.12) 0%,
        rgba(87, 174, 220, 0.12) 100%
    );

    /* Minimalist palette (ChatGPT/Palantir inspired) with brand accents */
    --primary: var(--brand-green);
    --primary-dark: var(--brand-green-dark);
    --secondary: var(--brand-blue);
    --secondary-dark: var(--brand-blue-dark);
    --accent: #0ea5e9;
    
    /* Neutrals - Clean and minimal */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Text */
    --text-primary: #171717;
    --text-secondary: #525252;
    --text-muted: #737373;
    
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --bg-dark: #171717;
    --bg-dark-secondary: #262626;
    
    /* Shadows - Subtle and minimal */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation - Clean and Minimal */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1.5rem;
}

.logo a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}

.logo a:hover {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link--cta {
    padding: 0.55rem 0.95rem;
    border-radius: 10px;
    color: #fff !important;
    background: var(--brand-gradient);
    border: 1px solid rgba(90, 188, 122, 0.25);
    box-shadow: 0 8px 20px rgba(90, 188, 122, 0.14);
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    filter: saturate(1.05);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(87, 174, 220, 0.18);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0%;
    background: var(--brand-gradient);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mega menu open: suppress route-active underline so only the open mega trigger is underlined */
.mega-open .nav-link.active {
    color: var(--text-secondary);
}

.mega-open .nav-link.active::after {
    width: 0%;
}

.mega-open .nav-link[data-mega-trigger][aria-expanded="true"] {
    color: var(--text-primary);
}

.mega-open .nav-link[data-mega-trigger][aria-expanded="true"]::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mega menu (Palantir-style dropdown) */
.mega-portal {
    position: fixed;
    left: 0;
    right: 0;
    top: 70px; /* below navbar */
    z-index: 1200;
    display: none;
    /* Avoid hover “gap” from collapsed child margins */
    padding-top: 1rem;
}

.mega-portal.is-open {
    display: block;
}

.mega-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.mega-panel {
    position: relative;
    margin: 0 auto 0;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.mega-panel::before {
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    background: var(--brand-gradient);
}

.mega-content {
    padding: 1.25rem 1.25rem 1.5rem;
}

.mega-tabs {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.9);
}

.mega-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 550;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.mega-tab:hover {
    color: var(--text-primary);
}

.mega-tab::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 2px;
    width: 0%;
    background: var(--brand-gradient);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.mega-tab:hover::after,
.mega-tab.is-active::after {
    width: 100%;
}

.mega-tab.is-active {
    color: var(--text-primary);
}

.mega-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mega-title {
    font-size: 1.1rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.mega-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.mega-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.25rem;
}

.mega-col {
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: var(--bg-primary);
}

.mega-col--featured {
    background: var(--brand-gradient-soft);
    border-color: rgba(90, 188, 122, 0.22);
}

.mega-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
}

.mega-link {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    color: var(--text-primary);
}

.mega-link:hover {
    background: var(--brand-gradient-soft);
    border-color: rgba(87, 174, 220, 0.28);
    transform: translateY(-2px);
}

.mega-link .icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.mega-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-primary);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
}

/* allow some icons to be filled (grid/doc/news) while still black */
.mega-icon svg path[fill],
.mega-icon svg path[fill-rule] {
    fill: var(--text-primary);
    stroke: none;
}

/* Standalone icons (used in page content) */
.ps-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ps-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.92;
}

.ps-icon--xl svg {
    width: 42px;
    height: 42px;
}

.ps-icon--xxl svg {
    width: 52px;
    height: 52px;
}

.mega-link .label {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.mega-link .label strong {
    font-weight: 650;
    letter-spacing: -0.01em;
    font-size: 0.97rem;
    line-height: 1.25;
}

.mega-link .label span {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.35;
}

.mega-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Hero Section - Clean and Professional */
.hero {
    padding: 8rem 0 6rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero--home {
    /* Give the header a bit more breathing room so badges/CTAs never feel cramped */
    padding-bottom: 7rem;
}

.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
}

.hero--home .container {
    /* Match the products page grid ratio and gap so the browser mock has identical space. */
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.25rem;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
    min-width: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Ensure badges and CTAs never visually touch in service headers */
.services-page .ps-badges + .hero-buttons {
    margin-top: 1.25rem;
}

.ps-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    line-height: 1;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.ps-pill--soon {
    border-color: rgba(87, 174, 220, 0.25);
    background: rgba(87, 174, 220, 0.10);
    color: var(--text-primary);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease 0.2s both;
    min-width: 0;
}

.hero--home .hero-image {
    justify-content: flex-end;
}

.hero--home .product-shell {
    width: 100%;
    /* No max-width — let it fill the column naturally like on the products page */
}

.hero--home .product-shell__body {
    /* Match the product page proportions so the mock doesn't feel cramped */
    min-height: 430px;
    grid-template-columns: 0.36fr 1fr;
}

.hero--home .shell-kpis {
    grid-template-columns: repeat(4, 1fr);
}

/* Homepage header: prevent KPI label overflow when the shell gets narrow */
.hero--home .shell-kpi {
    min-width: 0;
}

.hero--home .shell-kpi__label {
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15;
}


/* When the homepage hero is still 2-column, 4 KPI cards can get too tight. */
@media (max-width: 1180px) {
    .hero--home .shell-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Ensure the trust pills never feel like they're colliding with the next section */
.hero--home .pricing-trust {
    margin-bottom: 1.15rem;
}

@media (max-width: 1024px) {
    /* On laptop/tablet widths the hero stacks, so make the mock use the full available width. */
    .hero--home .product-shell {
        max-width: 860px;
        margin: 0 auto;
    }

    /* Avoid a squeezed sidebar when the hero stacks. */
    .hero--home .product-shell__body {
        grid-template-columns: 1fr;
    }

    .hero--home .product-shell__nav {
        border-right: 0;
        border-bottom: 1px solid var(--gray-200);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
}

@media (max-width: 640px) {
    .hero--home .shell-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .hero--home .shell-kpis {
        grid-template-columns: 1fr;
    }
}

.product-shell--light {
    border: 1px solid var(--gray-200);
    background:
        radial-gradient(circle at 20% 15%, rgba(90, 188, 122, 0.10), transparent 55%),
        radial-gradient(circle at 75% 35%, rgba(87, 174, 220, 0.10), transparent 55%),
        var(--bg-primary);
    box-shadow: var(--shadow-xl);
}

.product-shell--light .product-shell__topbar {
    border-bottom: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.product-shell--light .product-shell__dot {
    background: rgba(0, 0, 0, 0.14);
}

.product-shell--light .product-shell__title {
    color: rgba(0, 0, 0, 0.55);
}

.product-shell--light .product-shell__body {
    border-top: 0;
}

.product-shell--light .product-shell__nav {
    border-right: 1px solid var(--gray-200);
    background: rgba(250, 250, 250, 0.9);
}

.product-shell--light .product-shell__nav h4 {
    color: rgba(0, 0, 0, 0.55);
}

.product-shell--light .product-shell__nav a {
    color: rgba(0, 0, 0, 0.72);
}

.product-shell--light .product-shell__nav a:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

.product-shell--light .shell-kpi {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.85);
    padding: 1.1rem 0.9rem;
}

.product-shell--light .shell-kpi__label {
    color: rgba(0, 0, 0, 0.55);
}

.product-shell--light .shell-kpi__value {
    color: rgba(0, 0, 0, 0.86);
}

.product-shell--light .shell-panel {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.product-shell--light .shell-panel__title {
    color: rgba(0, 0, 0, 0.86);
}

.product-shell--light .shell-list li {
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(250, 250, 250, 0.75);
    color: rgba(0, 0, 0, 0.72);
}

.product-shell--light .shell-tag {
    color: rgba(0, 0, 0, 0.65);
}

.hero-screenshot {
    width: 100%;
    max-width: 720px;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xl);
    display: block;
    background: #fff;
}

.hero-fineprint {
    margin-top: 0.9rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.hero-fineprint strong {
    color: var(--text-primary);
    font-weight: 650;
}

.hero-graphic {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background:
        radial-gradient(circle at 30% 30%, rgba(90, 188, 122, 0.25) 0%, transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(87, 174, 220, 0.22) 0%, transparent 55%),
        linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: 12px;
    position: relative;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

/* Report banner (thin CTA strip) */
.report-banner {
    padding: 1.25rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.report-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: var(--brand-gradient-soft);
    border: 1px solid rgba(90, 188, 122, 0.22);
}

.report-banner__text {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.report-banner__text strong {
    font-weight: 650;
    letter-spacing: -0.01em;
}

.report-banner__text span {
    color: var(--text-secondary);
}

.report-banner__actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Buttons - Minimal and Clean */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--brand-gradient);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(90, 188, 122, 0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(87, 174, 220, 0.22);
    filter: saturate(1.05);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--brand-gradient-soft);
    border-color: rgba(90, 188, 122, 0.35);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.page-hero {
    padding: 7rem 0 3rem;
    background: var(--bg-primary);
    margin-top: 70px;
}

.page-hero__header {
    margin-bottom: 0;
    text-align: left;
    max-width: 900px;
}

/* Get started page (Palantir-like, restrained) */
.gs-hero {
    padding: 7.5rem 0 3.25rem;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--gray-200);
    margin-top: 70px;
}

.gs-hero__grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem;
    align-items: start;
}

.gs-eyebrow {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.gs-title {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
}

.gs-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.75;
    margin: 0 0 1.25rem;
    max-width: 60ch;
}

.gs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(90, 188, 122, 0.22);
    background: rgba(90, 188, 122, 0.06);
    color: var(--text-primary);
    font-size: 0.9rem;
    white-space: nowrap;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    position: relative;
}

.pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--brand-gradient);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.pill:hover {
    transform: translateY(-1px);
    border-color: rgba(87, 174, 220, 0.28);
    background: rgba(87, 174, 220, 0.06);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.pill:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(87, 174, 220, 0.16), 0 10px 22px rgba(0, 0, 0, 0.06);
}

.gs-aside-card {
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gs-aside-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(87, 174, 220, 0.25);
}

.gs-aside-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.gs-aside-card p {
    margin: 0 0 1rem;
    color: var(--text-secondary);
}

.gs-aside-actions {
    display: grid;
    gap: 0.75rem;
}

.gs-aside-actions .btn {
    width: 100%;
}

.gs-section {
    padding: 3.5rem 0 6rem;
    background: var(--bg-primary);
}

.gs-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.35fr;
    gap: 3rem;
    align-items: start;
    max-width: 1050px;
    margin: 0 auto;
}

.gs-h2 {
    font-size: 1.5rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}

.gs-steps {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
}

.gs-steps li {
    padding: 0.65rem 0;
    line-height: 1.7;
}

.gs-steps strong {
    color: var(--text-primary);
    font-weight: 650;
}

.gs-support {
    margin-top: 1.75rem;
    display: grid;
    gap: 0.75rem;
}

.gs-support-card {
    padding: 1rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--bg-primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gs-support-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(90, 188, 122, 0.22);
}

.gs-support-card:focus-within {
    border-color: rgba(87, 174, 220, 0.35);
    box-shadow: 0 0 0 3px rgba(87, 174, 220, 0.12);
}

.gs-support-card h4 {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.gs-support-card p {
    margin: 0;
    color: var(--text-secondary);
}

.gs-support-card a {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.gs-support-card a:hover {
    color: var(--secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.0625rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-primary);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand-gradient-soft);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(90, 188, 122, 0.35);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
    position: relative;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Services Section */
.services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: left;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 3px;
    width: 100%;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand-gradient-soft);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(87, 174, 220, 0.35);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--gray-200);
    transition: transform 0.35s ease, filter 0.35s ease;
    position: relative;
}

.service-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.92;
}

.service-icon svg path[fill],
.service-icon svg path[fill-rule] {
    fill: var(--text-primary);
    stroke: none;
}

.service-card:hover .service-icon {
    transform: translateY(-3px) scale(1.05);
    filter: drop-shadow(0 10px 18px rgba(90, 188, 122, 0.18));
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    position: relative;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
}

/* =========================================================
   Services pages (hub + detail) — premium visual polish
   Scoped via .services-page so it doesn't affect other pages.
   ========================================================= */
.services-page .hero {
    background:
        radial-gradient(1100px 520px at 12% 18%, rgba(90, 188, 122, 0.18), transparent 60%),
        radial-gradient(980px 520px at 86% 28%, rgba(87, 174, 220, 0.18), transparent 58%),
        radial-gradient(700px 420px at 55% 85%, rgba(90, 188, 122, 0.10), transparent 60%),
        var(--bg-primary);
}

.services-page .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(23, 23, 23, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(23, 23, 23, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.18;
    pointer-events: none;
}

.services-page .hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, rgba(90, 188, 122, 0) 0%, rgba(90, 188, 122, 0.35) 35%, rgba(87, 174, 220, 0.35) 65%, rgba(87, 174, 220, 0) 100%);
    pointer-events: none;
}

.services-page .hero .container {
    position: relative;
    z-index: 1;
}

.services-page .hero-subtitle {
    max-width: 72ch;
}

.services-page .hero-fineprint {
    margin-top: 0.9rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.services-page .hero-fineprint strong {
    color: var(--text-primary);
    font-weight: 650;
}

/* =========================================================
   Services hub: audience map (3 columns + Alpha row)
   ========================================================= */
.services-page .svc-audience {
    max-width: 1120px;
    margin: 0 auto;
}

.services-page .svc-audience__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.services-page .svc-audience__card {
    grid-column: span 4;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
    padding: 1.35rem 1.35rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.services-page .svc-audience__card:hover {
    transform: translateY(-2px);
    border-color: rgba(87, 174, 220, 0.28);
    box-shadow: var(--shadow-md);
}

.services-page .svc-audience__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: var(--brand-gradient-soft);
    color: var(--text-secondary);
    font-weight: 750;
    font-size: 0.86rem;
    margin-bottom: 0.85rem;
}

.services-page .svc-audience__badge .ps-icon svg {
    width: 16px;
    height: 16px;
}

.services-page .svc-audience__title {
    margin: 0 0 0.6rem;
    font-size: 1.08rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--text-primary);
}

.services-page .svc-audience__text {
    margin: 0 0 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-page .svc-audience__bullets {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
}

.services-page .svc-audience__bullets li {
    margin: 0.45rem 0;
    line-height: 1.6;
}

.services-page .svc-audience__examples {
    margin-top: 1rem;
    border-top: 1px solid var(--gray-200);
    padding-top: 0.85rem;
}

.services-page .svc-audience__examples summary {
    list-style: none;
    cursor: pointer;
    padding: 0.25rem 0;
    color: var(--text-primary);
    font-weight: 650;
}

.services-page .svc-audience__examples summary::-webkit-details-marker {
    display: none;
}

.services-page .svc-audience__examples summary::after {
    content: "▾";
    float: right;
    opacity: 0.8;
    color: var(--text-muted);
}

.services-page .svc-audience__examples[open] summary::after {
    content: "▴";
}

.services-page .svc-audience__examples-body {
    margin-top: 0.75rem;
    display: grid;
    gap: 0.6rem;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.services-page .svc-audience__example {
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.82);
    padding: 0.8rem 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.services-page .svc-audience__example-label {
    display: inline-block;
    margin-right: 0.5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}


.services-page .included-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 1.5rem;
    align-items: start;
}

.services-page .included-timeline {
    display: grid;
    gap: 1rem;
}

.services-page .included-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.95rem;
    padding: 1.15rem 1.1rem;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.services-page .included-step__marker {
    position: relative;
    display: grid;
    place-items: start center;
}

.services-page .included-step__marker::after {
    content: '';
    position: absolute;
    top: 44px;
    bottom: 6px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(90, 188, 122, 0.55), rgba(87, 174, 220, 0.35));
    opacity: 0.35;
}

.services-page .included-step:last-child .included-step__marker::after {
    display: none;
}

.services-page .included-step__num {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    border: 1px solid var(--gray-200);
    background: var(--brand-gradient-soft);
}

.services-page .included-step__kicker {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.services-page .included-step__title {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.services-page .included-step__text {
    margin: 0 0 0.65rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-page .included-step__bullets {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
}

.services-page .included-step__bullets li {
    margin: 0.35rem 0;
    line-height: 1.6;
}

.services-page .included-panel {
    position: sticky;
    top: 112px; /* below navbar + subnav */
    border-radius: 18px;
    border: 1px solid var(--gray-200);
    background:
        radial-gradient(900px 460px at 18% 18%, rgba(90, 188, 122, 0.10), transparent 58%),
        radial-gradient(900px 460px at 85% 35%, rgba(87, 174, 220, 0.10), transparent 58%),
        rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
    padding: 1.25rem 1.25rem;
}

/* Sub-service pages: use the same panel styling, but not sticky */
.services-page .svc-included {
    background: var(--bg-secondary);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.services-page .svc-included .included-panel {
    position: relative;
    top: auto;
    max-width: 980px;
    margin: 0 auto;
}

/* Sub-service pages: outcomes cards */
.services-page .svc-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 980px;
    margin: 0 auto;
}

.services-page .svc-outcome-card {
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    padding: 1.35rem 1.35rem;
}

.services-page .svc-outcome-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gray-200);
    background: var(--brand-gradient-soft);
    margin-bottom: 0.9rem;
}

.services-page .svc-outcome-card__icon .ps-icon svg {
    width: 18px;
    height: 18px;
}

.services-page .svc-outcome-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    line-height: 1.25;
}

.services-page .svc-outcome-card__text {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .services-page .svc-outcomes-grid {
        grid-template-columns: 1fr;
    }
}

/* Sub-service pages: deliverables highlight row (replaces bullet lists) */
.services-page .svc-deliverables-highlights {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.65rem;
}

.services-page .svc-deliverables-highlight {
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.82);
    padding: 0.85rem 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.services-page .svc-deliverables-highlight strong {
    color: var(--text-primary);
    font-weight: 800;
}

/* Sub-service pages: deliverables timeline (more visual than stacked boxes) */
.services-page .svc-deliverables-steps {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.85rem;
}

.services-page .svc-deliverables-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.9rem;
    padding: 1.05rem 1.05rem;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.services-page .svc-deliverables-step__marker {
    position: relative;
    display: grid;
    place-items: start center;
}

.services-page .svc-deliverables-step__marker::after {
    content: '';
    position: absolute;
    top: 44px;
    bottom: 6px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(90, 188, 122, 0.55), rgba(87, 174, 220, 0.35));
    opacity: 0.28;
}

.services-page .svc-deliverables-step:last-child .svc-deliverables-step__marker::after {
    display: none;
}

.services-page .svc-deliverables-step__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gray-200);
    background: var(--brand-gradient-soft);
}

.services-page .svc-deliverables-step__icon .ps-icon svg {
    width: 18px;
    height: 18px;
}

.services-page .svc-deliverables-step__title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 850;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    line-height: 1.25;
}

.services-page .svc-deliverables-step__text {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Biosafety-style deliverables: minimal table + artifacts list */
.services-page .svc-deliverables-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.services-page .svc-deliverables-table {
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.services-page .svc-deliverables-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.services-page .svc-deliverables-table th,
.services-page .svc-deliverables-table td {
    padding: 0.95rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--gray-200);
    color: var(--text-secondary);
    line-height: 1.6;
}

.services-page .svc-deliverables-table th {
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-primary);
    font-weight: 850;
    letter-spacing: -0.01em;
}

.services-page .svc-deliverables-table tbody tr:nth-child(even) td {
    background: rgba(0, 0, 0, 0.012);
}

.services-page .svc-deliverables-table tbody tr:last-child td {
    border-bottom: 0;
}

.services-page .svc-deliverables-table td:first-child {
    color: var(--text-primary);
}

.services-page .svc-deliverables-table td:first-child strong {
    font-weight: 900;
    letter-spacing: -0.01em;
}

.services-page .svc-deliverables-table td:first-child .ps-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.55rem;
    display: inline-flex;
    transform: translateY(3px);
}

.services-page .svc-deliverables-table td:first-child .ps-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    stroke: #16a34a;
}

.services-page .svc-deliverables-cta {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.services-page .svc-deliverables-artifacts {
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    padding: 0.95rem 1rem;
}

.services-page .svc-deliverables-artifacts__kicker {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.55rem;
}

.services-page .svc-deliverables-artifacts__title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.services-page .svc-deliverables-artifacts__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.services-page .svc-deliverables-artifacts__list li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.7rem;
    padding: 0.2rem 0;
    border-top: 0;
}

.services-page .svc-deliverables-artifacts__list li:first-child {
    border-top: 0;
    padding-top: 0.2rem;
}

.services-page .svc-deliverables-artifacts__list .ps-icon {
    width: 22px;
    height: 22px;
    transform: translateY(2px);
}

.services-page .svc-deliverables-artifacts__list .ps-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
    stroke: #16a34a;
}

.services-page .svc-deliverables-artifacts__list strong {
    display: block;
    color: var(--text-primary);
    font-weight: 900;
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}

.services-page .svc-deliverables-artifacts__list span {
    color: var(--text-secondary);
    line-height: 1.55;
    font-size: 0.95rem;
}

/* Services pages: calm single-rail timeline (minimal, non-busy) */
.services-page .svc-rail {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 980px;
    display: grid;
    gap: 0.9rem;
}

.services-page .svc-rail__step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 1rem;
    align-items: center;
}

.services-page .svc-rail__rail {
    position: relative;
    display: grid;
    justify-items: center;
}

.services-page .svc-rail__rail::after {
    content: '';
    position: absolute;
    /* Start just below the centered dot */
    top: calc(50% + 14px);
    bottom: -0.9rem; /* matches gap so the line connects */
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(90, 188, 122, 0.35), rgba(87, 174, 220, 0.25));
    opacity: 0.7;
}

.services-page .svc-rail__step:last-child .svc-rail__rail::after {
    display: none;
}

.services-page .svc-rail__dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.82rem;
    letter-spacing: 0;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
    border: 1px solid rgba(87, 174, 220, 0.22);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.services-page .svc-rail__content {
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    padding: 1.05rem 1.1rem;
}

.services-page .svc-rail__title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    line-height: 1.25;
}

.services-page .svc-rail__text {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Sub-service switcher (dropdown) */
.services-page .svc-switcher {
    max-width: 1100px;
    margin: -1.5rem auto 1.75rem;
}

.services-page .svc-switcher__label {
    display: block;
    font-weight: 850;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 0.55rem;
}

.services-page .svc-switcher__control {
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    padding: 0.35rem;
}

.services-page .svc-switcher__select {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.02);
    padding: 0.8rem 0.95rem;
    color: var(--text-primary);
    font-weight: 750;
    letter-spacing: -0.01em;
    outline: none;
}

.services-page .svc-switcher__select:focus {
    border-color: rgba(87, 174, 220, 0.35);
    box-shadow: 0 0 0 3px rgba(87, 174, 220, 0.12);
}

.services-page .svc-switcher__fineprint {
    margin-top: 0.6rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Services pages: timeline with arrows (cleaner than accordion) */
.services-page .svc-timeline {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.services-page .svc-timeline__step {
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    background:
        radial-gradient(520px 260px at 18% 18%, rgba(90, 188, 122, 0.12), transparent 60%),
        radial-gradient(520px 260px at 82% 28%, rgba(87, 174, 220, 0.12), transparent 58%),
        rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    padding: 1.15rem 1.15rem;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.85rem;
    align-items: start;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.services-page .svc-timeline__step::before {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    top: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(90, 188, 122, 0.65), rgba(87, 174, 220, 0.65));
    opacity: 0.6;
}

.services-page .svc-timeline__step:hover {
    transform: translateY(-2px);
    border-color: rgba(87, 174, 220, 0.28);
    box-shadow: var(--shadow-md);
}

.services-page .svc-timeline__step::after {
    content: '→';
    position: absolute;
    right: -0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(87, 174, 220, 0.25);
    background:
        linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)) padding-box,
        linear-gradient(90deg, rgba(90, 188, 122, 0.7), rgba(87, 174, 220, 0.7)) border-box;
    display: grid;
    place-items: center;
    color: var(--text-primary);
    font-weight: 900;
    box-shadow: var(--shadow-sm);
}

.services-page .svc-timeline__step:last-child::after {
    display: none;
}

.services-page .svc-timeline__badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0 0.55rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: #0b1220;
    border: 1px solid rgba(87, 174, 220, 0.22);
    background: var(--brand-gradient-soft);
}

.services-page .svc-timeline__badge .ps-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    stroke: var(--text-primary);
}

.services-page .svc-timeline__num {
    justify-self: end;
}

.services-page .svc-timeline__title {
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin: 0 0 0.35rem;
    line-height: 1.25;
}

.services-page .svc-timeline__text {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 1024px) {
    .services-page .svc-timeline {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .services-page .svc-timeline__step {
        grid-template-columns: 44px 1fr;
    }
    .services-page .svc-timeline__step::after {
        content: '↓';
        right: 50%;
        top: auto;
        bottom: -0.95rem;
        transform: translateX(50%);
    }
}

@media (max-width: 1024px) {
    .services-page .svc-deliverables-table {
        overflow-x: auto;
    }
    .services-page .svc-deliverables-table table {
        min-width: 760px;
    }

    .services-page .svc-deliverables-artifacts__list {
        grid-template-columns: 1fr;
    }
}

/* Sub-service pages: redesigned PositionScale Alpha callout */
.services-page .ps-alpha-callout {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 18px;
    border: 1px solid var(--gray-200);
    background:
        radial-gradient(900px 460px at 18% 18%, rgba(90, 188, 122, 0.12), transparent 58%),
        radial-gradient(900px 460px at 85% 35%, rgba(87, 174, 220, 0.12), transparent 58%),
        rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
    padding: 1.35rem 1.35rem;
}

/* PositionScale Alpha callout (shared — homepage, services, etc.) */
.ps-alpha-callout {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 18px;
    border: 1px solid var(--gray-200);
    background:
        radial-gradient(900px 460px at 18% 18%, rgba(90, 188, 122, 0.12), transparent 58%),
        radial-gradient(900px 460px at 85% 35%, rgba(87, 174, 220, 0.12), transparent 58%),
        rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
    padding: 1.35rem 1.35rem;
}

.ps-alpha-callout__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.25rem;
    align-items: start;
}

.ps-alpha-callout__kicker {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.55rem;
}

.ps-alpha-callout__title {
    margin: 0 0 0.55rem;
    font-size: 1.45rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.2;
}

.ps-alpha-callout__text {
    margin: 0 0 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.ps-alpha-callout__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.ps-alpha-callout__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.ps-alpha-callout__item {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.65rem;
    align-items: start;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.78);
    padding: 0.9rem 0.95rem;
}

.ps-alpha-callout__item .ps-icon {
    width: 22px;
    height: 22px;
    transform: translateY(2px);
}

.ps-alpha-callout__item .ps-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
    stroke: #16a34a;
}

.ps-alpha-callout__item strong {
    display: block;
    color: var(--text-primary);
    font-weight: 850;
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}

.ps-alpha-callout__item span {
    color: var(--text-secondary);
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .ps-alpha-callout__grid {
        grid-template-columns: 1fr;
    }
    .ps-alpha-callout__list {
        grid-template-columns: 1fr;
    }
}

.services-page .ps-alpha-callout__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.25rem;
    align-items: start;
}

.services-page .ps-alpha-callout__kicker {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.55rem;
}

.services-page .ps-alpha-callout__title {
    margin: 0 0 0.55rem;
    font-size: 1.45rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.2;
}

.services-page .ps-alpha-callout__text {
    margin: 0 0 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-page .ps-alpha-callout__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.services-page .ps-alpha-callout__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.services-page .ps-alpha-callout__item {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.65rem;
    align-items: start;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.78);
    padding: 0.9rem 0.95rem;
}

.services-page .ps-alpha-callout__item .ps-icon {
    width: 22px;
    height: 22px;
    transform: translateY(2px);
}

.services-page .ps-alpha-callout__item .ps-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
    stroke: #16a34a;
}

.services-page .ps-alpha-callout__item strong {
    display: block;
    color: var(--text-primary);
    font-weight: 850;
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}

.services-page .ps-alpha-callout__item span {
    color: var(--text-secondary);
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .services-page .ps-alpha-callout__grid {
        grid-template-columns: 1fr;
    }
    .services-page .ps-alpha-callout__list {
        grid-template-columns: 1fr;
    }
}

.services-page .included-panel__kicker {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.55rem;
}

.services-page .included-panel__title {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.services-page .included-panel__text {
    margin: 0 0 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-page .included-panel__chips {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.services-page .included-panel__chip {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.82);
    padding: 0.7rem 0.9rem;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.services-page .included-panel__chip .ps-icon svg {
    width: 18px;
    height: 18px;
}

.services-page .included-panel__actions {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 1024px) {
    .services-page .included-grid {
        grid-template-columns: 1fr;
    }
    .services-page .included-panel {
        position: relative;
        top: auto;
    }
}

/* Gradient-accented button (border by default, fills on hover) */
.btn.btn-gradient {
    border: 1px solid transparent;
    background:
        linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
        var(--brand-gradient) border-box;
    color: var(--text-primary);
}

.btn.btn-gradient:hover {
    background: var(--brand-gradient);
    color: #fff;
    border-color: rgba(90, 188, 122, 0.25);
}

@media (max-width: 1024px) {
    /* Keep it illustrative on tablets: 2-up instead of a long list */
    .services-page .svc-audience__card {
        grid-column: span 6;
    }
}

@media (max-width: 640px) {
    .services-page .svc-audience__card {
        grid-column: 1 / -1;
    }
}

.services-page .ps-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.1rem;
}

.services-page .ps-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--gray-200);
    color: var(--text-secondary);
    font-weight: 550;
    font-size: 0.92rem;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.services-page .ps-badge__dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--brand-gradient);
    box-shadow: 0 8px 18px rgba(90, 188, 122, 0.18);
    flex: 0 0 auto;
}

.services-page .hero-graphic.ps-hero-art {
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background:
        radial-gradient(circle at 25% 25%, rgba(90, 188, 122, 0.22) 0%, transparent 55%),
        radial-gradient(circle at 75% 70%, rgba(87, 174, 220, 0.22) 0%, transparent 55%),
        linear-gradient(135deg, var(--gray-100) 0%, rgba(255, 255, 255, 0.35) 100%);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.services-page .svc-doc-shell {
    width: 100%;
    max-width: 470px;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
}

.services-page .svc-doc-shell:hover {
    transform: translateY(-4px);
    border-color: rgba(87, 174, 220, 0.22);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.18);
}

.services-page .svc-doc-shell__topbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background:
        radial-gradient(700px 260px at 30% 30%, rgba(90, 188, 122, 0.14), transparent 60%),
        radial-gradient(700px 260px at 70% 30%, rgba(87, 174, 220, 0.14), transparent 60%),
        rgba(255, 255, 255, 0.92);
}

.services-page .svc-doc-shell__dots {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.services-page .svc-doc-shell__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.14);
}

.services-page .svc-doc-shell__title {
    margin-left: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
}

.services-page .svc-doc-shell__body {
    height: calc(100% - 52px);
    padding: 1.1rem 1.1rem;
    background:
        radial-gradient(900px 500px at 20% 20%, rgba(87, 174, 220, 0.10), transparent 55%),
        radial-gradient(900px 500px at 70% 40%, rgba(90, 188, 122, 0.10), transparent 55%),
        rgba(255, 255, 255, 0.90);
}

.services-page .svc-doc {
    height: 100%;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    padding: 1.05rem 1.05rem;
    position: relative;
    overflow: hidden;
}

.services-page .svc-doc::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: var(--brand-gradient);
    opacity: 0.55;
}

.services-page .svc-doc__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.services-page .svc-doc__badges {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.services-page .svc-doc__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(0, 0, 0, 0.03);
    color: rgba(0, 0, 0, 0.68);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    position: relative;
}

.services-page .svc-doc__badge--submitted {
    opacity: 0;
    transform: translateY(-2px);
    border-color: rgba(90, 188, 122, 0.28);
    background: rgba(90, 188, 122, 0.12);
    color: rgba(0, 0, 0, 0.72);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.services-page .svc-doc__badge--draft {
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.services-page .svc-doc-shell:hover .svc-doc__badge--draft {
    opacity: 0.15;
    transform: translateY(1px);
}

.services-page .svc-doc-shell:hover .svc-doc__badge--submitted {
    opacity: 1;
    transform: translateY(0);
}

.services-page .svc-doc__meta {
    color: rgba(0, 0, 0, 0.50);
    font-size: 0.9rem;
    white-space: nowrap;
}

.services-page .svc-doc__h1 {
    font-size: 1.35rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
    color: var(--text-primary);
}

.services-page .svc-doc__sub {
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 1.05rem;
    max-width: 48ch;
}

.services-page .svc-doc__section {
    margin-top: 0.85rem;
}

.services-page .svc-doc__section-title {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
    margin-bottom: 0.55rem;
    font-weight: 800;
}

.services-page .svc-doc__lines {
    display: grid;
    gap: 0.5rem;
}

.services-page .svc-doc__line {
    height: 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.services-page .svc-doc__line--w70 { width: 70%; }
.services-page .svc-doc__line--w80 { width: 80%; }
.services-page .svc-doc__line--w88 { width: 88%; }
.services-page .svc-doc__line--w92 { width: 92%; }

.services-page .svc-doc__checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.services-page .svc-doc__checklist li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.78);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.services-page .svc-doc__checklist li::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: rgba(0, 0, 0, 0.03);
    flex: 0 0 16px;
}

.services-page .svc-doc__checklist li.is-done::before {
    content: '✓';
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    font-weight: 900;
    color: #166534;
    border-color: rgba(90, 188, 122, 0.45);
    background: rgba(90, 188, 122, 0.14);
}

.services-page .svc-doc__stamp {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    border: 2px solid rgba(90, 188, 122, 0.55);
    color: rgba(22, 101, 52, 0.92);
    background: rgba(90, 188, 122, 0.10);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transform: rotate(-12deg) scale(0.95);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
}

.services-page .svc-doc-shell:hover .svc-doc__stamp {
    opacity: 1;
    transform: rotate(-12deg) scale(1);
}

/* Subtle “scan” highlight on hover */
.services-page .svc-doc__sweep {
    position: absolute;
    left: -30%;
    right: -30%;
    top: 30%;
    height: 44px;
    background: linear-gradient(90deg, rgba(87, 174, 220, 0), rgba(87, 174, 220, 0.14), rgba(90, 188, 122, 0.10), rgba(90, 188, 122, 0));
    transform: skewY(-6deg);
    opacity: 0;
    pointer-events: none;
}

@keyframes svcDocSweep {
    from { transform: translateX(-40%) skewY(-6deg); opacity: 0; }
    20% { opacity: 1; }
    to { transform: translateX(40%) skewY(-6deg); opacity: 0; }
}

.services-page .svc-doc-shell:hover .svc-doc__sweep {
    animation: svcDocSweep 1.2s ease;
}

@media (max-width: 1024px) {
    .services-page .svc-doc-shell {
        margin: 0 auto;
        max-width: 520px;
        aspect-ratio: 16 / 10;
    }
    .services-page .svc-doc-shell__body {
        padding: 1rem;
    }
}

.services-page .ps-hero-art__ring {
    position: absolute;
    inset: 10%;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.22);
}

.services-page .ps-hero-art__ring::after {
    content: '';
    position: absolute;
    inset: 18%;
    border-radius: 999px;
    border: 1px dashed rgba(0, 0, 0, 0.10);
    opacity: 0.8;
}

.services-page .ps-hero-art__chip {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.services-page .ps-hero-art__chip .ps-icon svg,
.services-page .ps-hero-art__chip svg {
    width: 22px;
    height: 22px;
}

.services-page .ps-hero-art__chip svg {
    stroke: var(--text-primary);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.92;
}

.services-page .ps-hero-art__chip svg path[fill],
.services-page .ps-hero-art__chip svg path[fill-rule] {
    fill: var(--text-primary);
    stroke: none;
}

.services-page .ps-hero-art__chip--a { top: 14%; left: 16%; transform: rotate(-6deg); }
.services-page .ps-hero-art__chip--b { top: 16%; right: 16%; transform: rotate(7deg); }
.services-page .ps-hero-art__chip--c { bottom: 18%; left: 18%; transform: rotate(8deg); }
.services-page .ps-hero-art__chip--d { bottom: 16%; right: 18%; transform: rotate(-7deg); }

.services-page .ps-hero-art__center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 94px;
    height: 94px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
}

.services-page .ps-hero-art__center svg {
    width: 34px;
    height: 34px;
}

/* Make the icon-based stat tiles look intentional */
.services-page .about-stats .stat-number {
    font-size: 0;
    line-height: 0;
    margin-bottom: 0.9rem;
}

.services-page .about-stats .stat-number .ps-icon svg {
    width: 30px;
    height: 30px;
}

.services-page .about-stats .stat-item {
    border-radius: 16px;
}

/* Hub-specific: denser, more editorial grid */
.services-hub .services-grid {
    gap: 1.5rem;
}

.services-hub .service-card {
    border-radius: 16px;
    padding: 2.25rem;
}

.services-hub .service-card h3 {
    font-size: 1.35rem;
}

.services-hub .service-card p {
    font-size: 0.98rem;
}

/* Highlighted “Custom Services” tile (used on Services hub + homepage) */
.service-card--custom {
    /* Natural look: keep a normal card surface with a gradient ring */
    border: 2px solid transparent;
    background:
        linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
        var(--brand-gradient) border-box;
    box-shadow: var(--shadow-sm);
}

.service-card--custom::before,
.service-card--custom::after {
    display: none;
}

.service-card--custom .service-icon {
    background: var(--brand-gradient-soft);
    border-color: rgba(90, 188, 122, 0.22);
}

.service-card--custom:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 44px rgba(87, 174, 220, 0.16),
        0 0 0 6px rgba(90, 188, 122, 0.06);
}

.service-card--custom:focus-visible {
    outline: none;
    box-shadow:
        0 16px 44px rgba(87, 174, 220, 0.16),
        0 0 0 6px rgba(90, 188, 122, 0.10);
}

.service-card--custom .service-card__meta {
    margin-top: 1.35rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* =========================================================
   Product-like patterns on services pages
   ========================================================= */

/* Reuse the product subnav markup, but make it light-mode for services */
.services-page .product-subnav {
    top: 70px;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.92);
}

.services-page .product-subnav::before {
    opacity: 0.35;
}

.services-page .product-subnav__link {
    color: var(--text-secondary);
}

.services-page .product-subnav__link:hover {
    color: var(--text-primary);
}

.services-page .product-subnav__link.is-active {
    color: var(--text-primary);
    border-bottom-color: rgba(90, 188, 122, 0.55);
}

/* Anchor offsets for fixed navbar + sticky subnav */
.services-page section[id] {
    scroll-margin-top: 130px;
}

/* =========================================================
   Services hub: outcomes section (grid + panel)
   ========================================================= */
.services-page .svc-outcomes {
    max-width: 1120px;
    margin: 0 auto;
}

.services-page .svc-outcomes__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin: 0 auto 1.25rem;
    max-width: 960px;
}

.services-page .svc-outcomes__tab {
    appearance: none;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.services-page .svc-outcomes__tab:hover {
    transform: translateY(-1px);
    border-color: rgba(87, 174, 220, 0.24);
    background: var(--brand-gradient-soft);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.services-page .svc-outcomes__tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(87, 174, 220, 0.14), var(--shadow-sm);
}

.services-page .svc-outcomes__tab.is-active {
    border-color: rgba(90, 188, 122, 0.28);
    background: var(--brand-gradient-soft);
    color: var(--text-primary);
}

.services-page .svc-outcomes__panel {
    display: none;
}

.services-page .svc-outcomes__panel.is-active {
    display: block;
}

.services-page .svc-outcomes__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.services-page .svc-outcomes__card {
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
    padding: 1.2rem 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.services-page .svc-outcomes__card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: var(--brand-gradient);
    opacity: 0.45;
}

.services-page .svc-outcomes__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(87, 174, 220, 0.28);
}

.services-page .svc-outcomes__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.65rem;
}

.services-page .svc-outcomes__top .service-icon {
    margin: 0;
}

.services-page .svc-outcomes__kicker {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 800;
}

.services-page .svc-outcomes__card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--text-primary);
}

.services-page .svc-outcomes__bullets {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
}

.services-page .svc-outcomes__bullets li {
    margin: 0.35rem 0;
    line-height: 1.6;
}

@media (max-width: 720px) {
    .services-page .svc-outcomes__grid {
        grid-template-columns: 1fr;
    }
}

/* Dark “offering” sections (product page feel) */
.services-page .svc-section {
    padding: 4.75rem 0;
    background:
        radial-gradient(900px 420px at 10% 15%, rgba(90, 188, 122, 0.10), transparent 60%),
        radial-gradient(900px 420px at 85% 35%, rgba(87, 174, 220, 0.10), transparent 60%),
        #0a0c10;
    color: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.services-page .svc-section .section-title {
    color: rgba(255, 255, 255, 0.94);
}

.services-page .svc-section .section-description {
    color: rgba(255, 255, 255, 0.72);
}

.services-page .svc-section .section-header {
    max-width: 760px;
}

.services-page .svc-section--light {
    background:
        radial-gradient(900px 420px at 15% 20%, rgba(90, 188, 122, 0.08), transparent 60%),
        radial-gradient(900px 420px at 85% 40%, rgba(87, 174, 220, 0.08), transparent 60%),
        var(--bg-primary);
    color: var(--text-primary);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.services-page .svc-section .product-section__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(135deg, rgba(90, 188, 122, 0.10), rgba(87, 174, 220, 0.09)),
        rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.70);
}

.services-page .svc-section .product-section__title {
    color: rgba(255, 255, 255, 0.94);
}

.services-page .svc-section .product-section__desc {
    color: rgba(255, 255, 255, 0.72);
}

.services-page .svc-section--light .product-section__kicker {
    border: 1px solid rgba(90, 188, 122, 0.18);
    background: var(--brand-gradient-soft);
    color: var(--text-secondary);
}

.services-page .svc-section--light .product-section__title {
    color: var(--text-primary);
}

.services-page .svc-section--light .product-section__desc {
    color: var(--text-secondary);
}

.services-page .svc-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
}

.services-page .svc-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.30);
}

/* Light delivery model: make steps/cards readable on white */
.services-page .svc-section--light .ps-step {
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-sm);
}

.services-page .svc-section--light .ps-step__num {
    color: var(--text-muted);
}

.services-page .svc-section--light .ps-step__title {
    color: var(--text-primary);
}

.services-page .svc-section--light .ps-step__text {
    color: var(--text-secondary);
}

/* Services: 4-up steps on desktop (like products) */
@media (min-width: 1025px) {
    .services-page .svc-section .ps-step {
        grid-column: span 3;
    }
}

/* Products Section - New */
.products {
    background: var(--bg-secondary);
    padding: 6rem 0;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.product-showcase.reverse {
    grid-template-columns: 1fr 1fr;
}

.product-showcase.reverse .product-content {
    order: 2;
}

.product-showcase.reverse .product-visual {
    order: 1;
}

.product-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.product-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 600;
    font-size: 1.25rem;
}

.product-visual {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand-gradient-soft);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.product-visual:hover::after {
    opacity: 1;
}

.product-visual-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* =========================================================
   Products page (Palantir-inspired, scoped)
   ========================================================= */
.products-page {
    /* Dark base with lighter section surfaces (more contrast) */
    --ps-bg-0: #0a0c10;
    /* Use brand-tinted surfaces so the page feels alive */
    --ps-bg-1: rgba(255, 255, 255, 0.055); /* section surface */
    --ps-bg-2: rgba(255, 255, 255, 0.09);  /* alt section surface */
    --ps-border: rgba(255, 255, 255, 0.10);
    --ps-border-strong: rgba(255, 255, 255, 0.14);
    --ps-accent-green: rgba(90, 188, 122, 0.18);
    --ps-accent-blue: rgba(87, 174, 220, 0.18);

    background: var(--ps-bg-0);
    color: rgba(255, 255, 255, 0.92);
}

.products-page .navbar {
    background: rgba(10, 12, 16, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.products-page .logo a {
    color: rgba(255, 255, 255, 0.96);
}

.products-page .logo a:hover {
    color: rgba(255, 255, 255, 1);
}

.products-page .nav-link {
    color: rgba(255, 255, 255, 0.72);
}

.products-page .nav-link:hover,
.products-page .nav-link.active {
    color: rgba(255, 255, 255, 0.96);
}

.products-page .mobile-menu-toggle span {
    background: rgba(255, 255, 255, 0.9);
}

.products-page .btn-secondary {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.18);
}

.products-page .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.26);
}

.products-page section {
    background: transparent;
}

.product-hero {
    padding: 8.5rem 0 3.5rem;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.product-hero--home {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.product-hero--home .product-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
}

.product-hero::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(900px 520px at 20% 20%, rgba(87, 174, 220, 0.18), transparent 55%),
        radial-gradient(900px 520px at 70% 20%, rgba(90, 188, 122, 0.16), transparent 55%),
        radial-gradient(800px 520px at 60% 70%, rgba(14, 165, 233, 0.10), transparent 55%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 44px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0, rgba(255, 255, 255, 0.028) 1px, transparent 1px, transparent 44px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0.35) 55%, rgba(0,0,0,0));
    pointer-events: none;
}

.product-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.25rem;
    align-items: center;
}

.product-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 0.9rem;
}

.product-hero--home .product-eyebrow {
    color: var(--text-secondary);
}

.product-title {
    font-size: clamp(2.75rem, 4.8vw, 3.4rem);
    font-weight: 650;
    line-height: 1.06;
    letter-spacing: -0.04em;
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.96);
}

.product-hero--home .product-title {
    color: var(--text-primary);
}

.product-subtitle {
    font-size: 1.15rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 1.75rem;
    max-width: 62ch;
}

.product-hero--home .product-subtitle {
    color: var(--text-secondary);
}

.product-badges {
    margin-top: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.products-page .pill {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.86);
}

.product-hero--home .pill {
    border-color: rgba(90, 188, 122, 0.20);
    background: var(--brand-gradient-soft);
    color: var(--text-primary);
}

.products-page .pill::before {
    box-shadow: 0 0 0 2px rgba(10, 12, 16, 0.85);
}

.product-subnav {
    position: sticky;
    top: 70px;
    z-index: 900;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    /* Slightly lighter “gray bar” with brand tint */
    background:
        linear-gradient(135deg, rgba(90, 188, 122, 0.08), rgba(87, 174, 220, 0.08)),
        rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.product-subnav::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(90, 188, 122, 0.45), rgba(87, 174, 220, 0.45));
    opacity: 0.65;
}

.product-subnav__inner {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 0.85rem 0;
    overflow-x: auto;
}

.product-subnav__link {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 550;
    font-size: 0.95rem;
    white-space: nowrap;
    padding: 0.35rem 0.25rem;
    border-bottom: 2px solid transparent;
}

.product-subnav__link:hover {
    color: rgba(255, 255, 255, 0.92);
}

.product-subnav__link.is-active {
    color: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.45);
}

.product-shell {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 20% 15%, rgba(90, 188, 122, 0.10), transparent 55%),
        radial-gradient(circle at 75% 35%, rgba(87, 174, 220, 0.10), transparent 55%),
        rgba(255, 255, 255, 0.04);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}

.product-shell__topbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(10, 12, 16, 0.35);
}

.product-shell__dots {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.product-shell__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.product-shell__title {
    margin-left: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
}

.product-shell__body {
    display: grid;
    grid-template-columns: 0.42fr 1fr;
    min-height: 430px;
}

.product-shell__body--single {
    grid-template-columns: 1fr;
}

.product-shell__nav {
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(10, 12, 16, 0.22);
}

.product-shell__nav h4 {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 0.75rem;
}

.product-shell__nav a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.65rem;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.product-shell__nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.products-page .ps-icon svg,
.products-page .service-icon svg {
    stroke: rgba(255, 255, 255, 0.9);
    opacity: 0.95;
}

.products-page .ps-icon svg path[fill],
.products-page .ps-icon svg path[fill-rule],
.products-page .service-icon svg path[fill],
.products-page .service-icon svg path[fill-rule] {
    fill: rgba(255, 255, 255, 0.9);
}

.product-shell__main {
    padding: 1rem;
}

.product-shell__main--flush {
    padding: 0;
}

.product-screenshot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.40);
    background: rgba(255, 255, 255, 0.02);
}

.shell-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

/* Products hero mock uses 4 KPI cards (desktop) */
.products-page .shell-kpis,
.product-hero--home .shell-kpis {
    grid-template-columns: repeat(4, 1fr);
}

.shell-kpi {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.85rem 0.9rem;
}

.shell-kpi__label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.shell-kpi__value {
    font-size: 1.25rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.92);
}

.shell-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.shell-panel {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.9rem;
    min-height: 145px;
}

.shell-panel--wide {
    grid-column: 1 / -1;
    min-height: 165px;
}

.shell-panel__title {
    font-weight: 650;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.65rem;
}

.shell-list {
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.shell-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 16, 0.18);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
}

.shell-tag {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
}

.product-visual-caption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.58);
}

.products-page .product-section {
    padding: 4.75rem 0;
    background:
        radial-gradient(900px 420px at 10% 15%, rgba(90, 188, 122, 0.09), transparent 60%),
        radial-gradient(900px 420px at 85% 35%, rgba(87, 174, 220, 0.08), transparent 60%),
        var(--ps-bg-1);
    position: relative;
}

.products-page .product-section--alt {
    background:
        radial-gradient(900px 420px at 10% 15%, rgba(87, 174, 220, 0.11), transparent 60%),
        radial-gradient(900px 420px at 85% 35%, rgba(90, 188, 122, 0.10), transparent 60%),
        var(--ps-bg-2);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.products-page .product-section--light {
    /* "Light" but not white: reduce eye-strain / luminance jump */
    background:
        radial-gradient(900px 420px at 15% 20%, rgba(90, 188, 122, 0.10), transparent 60%),
        radial-gradient(900px 420px at 85% 40%, rgba(87, 174, 220, 0.10), transparent 60%),
        rgba(255, 255, 255, 0.075);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.92);
}

.products-page .product-section--light::before {
    background: linear-gradient(90deg, rgba(90, 188, 122, 0.55), rgba(87, 174, 220, 0.55));
    opacity: 0.45;
}

.products-page .product-section--light .product-section__kicker {
    color: rgba(255, 255, 255, 0.62);
}

.products-page .product-section--light .product-section__title {
    color: rgba(255, 255, 255, 0.94);
}

.products-page .product-section--light .product-section__desc {
    color: rgba(255, 255, 255, 0.72);
}

.products-page .product-section--light .ps-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.products-page .product-section--light .ps-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

.products-page .product-section--light .ps-card__title {
    color: rgba(255, 255, 255, 0.92);
}

.products-page .product-section--light .ps-card__text {
    color: rgba(255, 255, 255, 0.70);
}

.products-page .product-section--light .ps-card__icon {
    background:
        linear-gradient(135deg, rgba(90, 188, 122, 0.16), rgba(87, 174, 220, 0.14)),
        rgba(10, 12, 16, 0.12);
    border-color: rgba(255, 255, 255, 0.14);
}

.products-page .product-section--light .ps-icon svg,
.products-page .product-section--light .service-icon svg {
    stroke: rgba(255, 255, 255, 0.92);
    opacity: 0.95;
}

.products-page .product-section--light .ps-icon svg path[fill],
.products-page .product-section--light .ps-icon svg path[fill-rule] {
    fill: rgba(255, 255, 255, 0.92);
}

/* Role switcher (Use cases) */
.products-page .role-switcher {
    margin-top: 2rem;
}

.products-page .role-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.products-page .role-tab {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.86);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.products-page .role-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.products-page .role-tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(87, 174, 220, 0.20), 0 16px 40px rgba(0, 0, 0, 0.22);
}

.products-page .role-tab.is-active {
    background: linear-gradient(135deg, rgba(90, 188, 122, 0.18), rgba(87, 174, 220, 0.16));
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
}

.products-page .role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.products-page .role-panel {
    display: none;
}

.products-page .role-panel.is-active {
    display: block;
}

.products-page .role-panel__title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.94);
}

.products-page .role-panel__text {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
}

.products-page .role-panel__bullets {
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
}

.products-page .role-panel__bullets li {
    margin: 0.4rem 0;
    line-height: 1.65;
}

.products-page .role-shell {
    position: sticky;
    top: 140px;
}

.products-page .role-shell .product-shell {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.50);
}

.products-page .role-shell .product-shell__body {
    min-height: 360px;
}

.products-page .role-shell .product-shell__nav a {
    padding: 0.55rem 0.6rem;
}

.products-page .role-shell .shell-kpis {
    grid-template-columns: repeat(2, 1fr);
}

.products-page .role-shell .shell-panels {
    grid-template-columns: 1fr;
}

/* Release badge (Alpha) */
.ps-release-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background:
        linear-gradient(135deg, rgba(90, 188, 122, 0.18), rgba(87, 174, 220, 0.16)),
        rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    font-weight: 750;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    vertical-align: middle;
    user-select: none;
}

.ps-release-badge__glyph {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 12, 16, 0.25);
    font-family: inherit;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0;
    line-height: 1;
}

.ps-release-badge--darktext {
    border-color: rgba(0, 0, 0, 0.10);
    color: rgba(17, 24, 39, 0.92);
    background:
        linear-gradient(135deg, rgba(90, 188, 122, 0.22), rgba(87, 174, 220, 0.18)),
        rgba(255, 255, 255, 0.75);
}

.ps-release-badge--darktext .ps-release-badge__glyph {
    border-color: rgba(0, 0, 0, 0.10);
    background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
    .products-page .role-grid {
        grid-template-columns: 1fr;
    }

    .products-page .role-shell {
        position: relative;
        top: auto;
    }

    .products-page .role-shell .shell-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-page .role-shell .shell-kpis {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Simple accordion + workflow showcase (role pages)
   ========================================================= */
.ps-accordion {
    display: grid;
    gap: 0.75rem;
}

.ps-accordion details {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.ps-accordion details[open] {
    border-color: rgba(87, 174, 220, 0.25);
    box-shadow: var(--shadow-md);
}

.ps-accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ps-accordion summary::-webkit-details-marker {
    display: none;
}

.ps-accordion summary::after {
    content: "▾";
    color: var(--text-muted);
    flex: 0 0 auto;
}

.ps-accordion details[open] summary::after {
    content: "▴";
}

.ps-accordion .ps-accordion__body {
    padding: 0 1rem 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Workflow loop (role pages): closed-loop cadence (no browser chrome) */
.workflow-loop {
    position: relative;
    margin-top: 1.25rem;
    border-radius: 18px;
    border: 1px solid var(--gray-200);
    background:
        radial-gradient(900px 360px at 15% 20%, rgba(90, 188, 122, 0.10), transparent 60%),
        radial-gradient(900px 360px at 85% 40%, rgba(87, 174, 220, 0.10), transparent 60%),
        var(--bg-primary);
    box-shadow: var(--shadow-md);
    padding: 2rem 1.75rem;
    max-width: 100%;
}

.workflow-loop__nodes {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    overflow: visible;
}

.workflow-loop__node {
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-sm);
    padding: 0.95rem 1rem;
}

.workflow-loop__node::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: var(--brand-gradient);
    opacity: 0.55;
}

.workflow-loop__node-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

.workflow-loop__stage {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}

.workflow-loop__module {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 750;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    min-width: 0;
}

.workflow-loop__module-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.workflow-loop__icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--brand-gradient-soft);
    border: 1px solid rgba(87, 174, 220, 0.22);
    flex: 0 0 auto;
}

.workflow-loop__icon .ps-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-primary);
}

.workflow-loop__outcome {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Horizontal strip: no special positioning needed */

.workflow-loop__caption {
    margin-top: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 85ch;
}

.workflow-loop__micro {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.workflow-loop__micro-card {
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.86);
    padding: 0.9rem 1rem;
    box-shadow: var(--shadow-sm);
}

.workflow-loop__micro-card h4 {
    margin: 0 0 0.35rem;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.workflow-loop__micro-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
}

.workflow-loop__micro-card li {
    margin: 0.35rem 0;
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .workflow-loop {
        padding: 1.25rem 1rem;
    }
    .workflow-loop__nodes {
        grid-template-columns: 1fr;
    }
    .workflow-loop__node {
        width: 100%;
    }
    .workflow-loop__micro {
        grid-template-columns: 1fr;
    }
}


.products-page .product-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(90, 188, 122, 0.28), rgba(87, 174, 220, 0.28));
    opacity: 0.6;
}

.product-section__header {
    max-width: 900px;
    margin: 0 0 2.25rem;
}

.product-section__kicker {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 0.75rem;
}

/* Products: kicker as a pill badge */
.products-page .product-section__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(135deg, rgba(90, 188, 122, 0.10), rgba(87, 174, 220, 0.09)),
        rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.70);
}

.product-section__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    color: rgba(255, 255, 255, 0.94);
}

.product-section__desc {
    color: rgba(255, 255, 255, 0.70);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
    max-width: 72ch;
}

.ps-card-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.ps-card {
    grid-column: span 4;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    padding: 1.5rem;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.ps-card--span-8 {
    grid-column: span 8;
}

.ps-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.075);
}

.ps-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.ps-card__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(135deg, rgba(90, 188, 122, 0.14), rgba(87, 174, 220, 0.12)),
        rgba(10, 12, 16, 0.22);
}

.products-page .ps-card:hover .ps-card__icon {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.ps-card__title {
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem;
    color: rgba(255, 255, 255, 0.92);
}

.ps-card__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.7;
}

.ps-bullets {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    color: rgba(255, 255, 255, 0.70);
}

.ps-details {
    margin-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 0.85rem;
}

.ps-details summary {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    letter-spacing: -0.01em;
    list-style: none;
}

.ps-details summary::-webkit-details-marker {
    display: none;
}

.ps-details summary::after {
    content: "▾";
    float: right;
    opacity: 0.8;
}

.ps-details[open] summary::after {
    content: "▴";
}

.ps-details p {
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.7;
}

.ps-details__body {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.7;
    font-size: 0.93rem;
}

.ps-details__body p {
    margin: 0.65rem 0 0;
    font-size: inherit;
    color: inherit;
}

.ps-bullets li {
    margin: 0.35rem 0;
    line-height: 1.65;
}

.products-page .ps-card a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.products-page .ps-card a:hover {
    color: rgba(255, 255, 255, 1);
}

.ps-steps {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.ps-step {
    grid-column: span 4;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
    padding: 1.5rem;
}

/* Products: 4-up steps (Connect/Collect/Analyze/Act) on desktop */
.products-page .ps-step {
    grid-column: span 3;
}

.ps-step__num {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 0.75rem;
}

.ps-step__title {
    margin: 0 0 0.5rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.92);
}

.ps-step__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.7;
}

/* =========================================================
   Homepage: Palantir-esque operating model band
   (reuses product primitives: ps-card-grid + ps-steps)
   ========================================================= */
.ps-band {
    background: #0a0c10;
    color: rgba(255, 255, 255, 0.92);
    padding: 5.75rem 0;
    position: relative;
    overflow: hidden;
}

.ps-band::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(900px 520px at 18% 15%, rgba(87, 174, 220, 0.14), transparent 55%),
        radial-gradient(900px 520px at 70% 25%, rgba(90, 188, 122, 0.12), transparent 55%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 52px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 52px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95), rgba(0,0,0,0.35) 55%, rgba(0,0,0,0));
    pointer-events: none;
}

.ps-band .container {
    position: relative;
}

.ps-band__header {
    max-width: 78ch;
    margin-bottom: 2.25rem;
}

/* Make icons in the dark band high-contrast (default ps-icon uses text-primary / dark stroke) */
.ps-band .ps-card__icon .ps-icon svg {
    stroke: rgba(255, 255, 255, 0.92);
    opacity: 0.98;
}

.ps-band .ps-card__icon .ps-icon svg path[fill],
.ps-band .ps-card__icon .ps-icon svg path[fill-rule] {
    fill: rgba(255, 255, 255, 0.92);
    stroke: none;
}

/* Give the kicker a pill style in the band (like products page) */
.ps-band .product-section__kicker,
.leadership-band .product-section__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(135deg, rgba(90, 188, 122, 0.10), rgba(87, 174, 220, 0.09)),
        rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.72);
}

.ps-band__divider {
    margin: 2.5rem 0 2.25rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.10);
}

.ps-band__subheader {
    margin-bottom: 1.25rem;
}

.ps-band__title {
    margin: 0.5rem 0 0;
    font-size: 1.25rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.92);
}

.ps-band__actions {
    margin-top: 2.25rem;
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* Buttons in dark bands should match products-page contrast */
.ps-band .btn-secondary,
.leadership-band .btn-secondary {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.02);
}

.ps-band .btn-secondary:hover,
.leadership-band .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.26);
}

/* =========================================================
   Homepage: modern leadership band
   ========================================================= */
.leadership-band {
    background: #0a0c10;
    color: rgba(255, 255, 255, 0.92);
    padding: 5.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.leadership-band::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(880px 520px at 22% 30%, rgba(87, 174, 220, 0.12), transparent 58%),
        radial-gradient(880px 520px at 78% 22%, rgba(90, 188, 122, 0.10), transparent 58%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.35) 60%, rgba(0,0,0,0));
    pointer-events: none;
}

.leadership-band .container {
    position: relative;
}

.leadership-band__header {
    max-width: 78ch;
    margin-bottom: 2.25rem;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.leader-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    padding: 1.5rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.leader-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.075);
}

.leader-top {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.leader-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    flex: 0 0 auto;
}

.leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.leader-name {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.leader-name a {
    color: rgba(255, 255, 255, 0.94);
    text-decoration: none;
}

.leader-name a:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.leader-role {
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    line-height: 1.5;
}

.leader-blurb {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
}

.leader-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.leader-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.leader-actions {
    margin-top: 0.35rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.leader-actions .btn {
    padding: 0.65rem 0.9rem;
}

.leader-actions .ps-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.leader-actions .ps-icon svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.86);
}

.leadership-band__footer {
    margin-top: 2rem;
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .leader-top {
        align-items: flex-start;
    }
}

/* =========================================================
   Leadership profile pages (modern executive profile)
   ========================================================= */
.leader-profile {
    padding: 4.5rem 0;
    background: var(--bg-primary);
}

.leader-profile__grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3rem;
    align-items: start;
}

.leader-profile__kicker {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.leader-profile__section-title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.leader-profile__text {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 1.03rem;
}

.leader-profile__text + .leader-profile__text {
    margin-top: 0.9rem;
}

.leader-profile__actions {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.leader-profile__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.leader-profile__actions .ps-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.leader-profile__actions .ps-icon svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.9);
}

.leader-profile__meta {
    margin-top: 2rem;
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

.leader-profile__list {
    margin: 0.75rem 0 0;
    padding-left: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

/* Focus pills (replaces bullets on leadership pages) */
.focus-pills {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.focus-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: var(--brand-gradient-soft);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Modern portrait treatment: smaller, framed, less “big photo card” */
.leader-portrait {
    border-radius: 18px;
    padding: 1px;
    background: var(--brand-gradient);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 96px;
}

.leader-portrait__inner {
    border-radius: 17px;
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.leader-portrait__imgwrap {
    aspect-ratio: 4 / 5;
    background: var(--brand-gradient-soft);
    overflow: hidden;
}

.leader-portrait__imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.2) contrast(1.05) saturate(0.92);
    transform: scale(1.01);
}

.leader-portrait__caption {
    padding: 1rem 1rem 1.1rem;
}

.leader-portrait__name {
    margin: 0;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.leader-portrait__role {
    margin-top: 0.35rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .leader-profile__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .leader-portrait {
        position: relative;
        top: auto;
    }
}

.products-page .product-cta {
    padding: 4.75rem 0;
    background: var(--ps-bg-1);
}

.product-cta__panel {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(900px 500px at 20% 20%, rgba(87, 174, 220, 0.16), transparent 55%),
        radial-gradient(900px 500px at 70% 40%, rgba(90, 188, 122, 0.14), transparent 55%),
        rgba(255, 255, 255, 0.04);
    padding: 2.25rem;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.product-cta__grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2rem;
    align-items: center;
}

.product-cta__title {
    margin: 0 0 0.6rem;
    font-size: 1.9rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.96);
}

.product-cta__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.75;
}

.product-cta__actions {
    display: flex;
    gap: 0.85rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.product-cta__fineprint {
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

/* Products page responsive */
@media (max-width: 1024px) {
    .product-hero__grid {
        grid-template-columns: 1fr;
    }

    .product-cta__grid {
        grid-template-columns: 1fr;
    }

    .product-cta__actions {
        justify-content: flex-start;
    }

    .ps-card,
    .ps-step {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 7rem 0 3rem;
        margin-top: 60px;
    }

    .product-subnav {
        top: 60px;
    }

    .product-shell__body {
        grid-template-columns: 1fr;
    }

    .product-shell__nav {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .shell-kpis {
        grid-template-columns: 1fr;
    }

    .ps-card,
    .ps-step {
        grid-column: 1 / -1;
    }
}

/* Contact Section */
.contact {
    background: var(--bg-primary);
    border-top: 1px solid var(--gray-200);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1050px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact .section-header {
    text-align: left;
    max-width: 900px;
}

.contact .section-header.section-header--center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact .section-header .section-title {
    letter-spacing: -0.03em;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.contact-form {
    background: var(--bg-primary);
    padding: 2.25rem;
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-form:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(87, 174, 220, 0.22);
}

.contact-form:focus-within {
    border-color: rgba(87, 174, 220, 0.35);
    box-shadow: 0 0 0 3px rgba(87, 174, 220, 0.12), var(--shadow-md);
}

.contact-form__header {
    margin-bottom: 1.25rem;
}

.contact-form__header h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.contact-form__header p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
}

.contact-form__actions {
    margin-top: 1rem;
}

.contact-form__actions .btn {
    width: 100%;
}

.contact-form__fineprint {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Palantir-esque divider between columns (desktop) */
@media (min-width: 1025px) {
    .contact-content {
        gap: 3rem;
        align-items: start;
    }

    .contact-info {
        padding-right: 2.5rem;
        border-right: 1px solid var(--gray-200);
    }

    .contact-form {
        margin-left: 0.5rem;
    }
}

/* HubSpot form styling (match our UI) */
.contact-form .hs-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.contact-form .hs-form input[type="text"],
.contact-form .hs-form input[type="email"],
.contact-form .hs-form input[type="tel"],
.contact-form .hs-form input[type="number"],
.contact-form .hs-form select,
.contact-form .hs-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.contact-form .hs-form input:focus,
.contact-form .hs-form select:focus,
.contact-form .hs-form textarea:focus {
    outline: none;
    border-color: rgba(87, 174, 220, 0.6);
    box-shadow: 0 0 0 3px rgba(87, 174, 220, 0.12);
}

.contact-form .hs-form .hs-error-msgs,
.contact-form .hs-form .hs-error-msg {
    color: #b91c1c;
    font-size: 0.9rem;
}

.contact-form .hs-form .hs_submit input[type="submit"] {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: 0 8px 20px rgba(90, 188, 122, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.contact-form .hs-form .hs_submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(87, 174, 220, 0.22);
    filter: saturate(1.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--gray-800);
}

.footer-modern__top {
    display: grid;
    grid-template-columns: 1.15fr 1.85fr;
    gap: 3rem;
    align-items: start;
}

.footer-modern__logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-modern__tagline {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 40ch;
}

.footer-modern__social {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.footer-social .ps-icon {
    width: 18px;
    height: 18px;
}

.footer-social .ps-icon svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.85);
}

.footer-social:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
}

.footer-social--cta {
    width: auto;
    padding: 0 0.85rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.footer-social--text {
    width: auto;
    padding: 0 0.85rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    font-size: 0.95rem;
}

.footer-modern__cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.25rem;
}

.footer-col__title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.footer-col__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.footer-col__list a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-col__list a:hover {
    color: rgba(255, 255, 255, 0.92);
}

.footer-modern__bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-modern__fineprint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

@media (max-width: 980px) {
    .footer-modern__top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-modern__cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

@media (max-width: 520px) {
    .footer-modern__cols {
        grid-template-columns: 1fr;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9375rem;
}

.footer-section ul li a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Prose (scraped WordPress content) */
.prose {
    max-width: 900px;
}

.prose > :first-child {
    margin-top: 0;
}

.prose :where(h1, h2, h3, h4, h5, h6) {
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 2rem 0 0.75rem;
}

.prose h1 {
    font-size: 2rem;
}

.prose h2 {
    font-size: 1.6rem;
}

.prose h3 {
    font-size: 1.3rem;
}

.prose p {
    color: var(--text-secondary);
    margin: 1rem 0;
    font-size: 1.05rem;
}

.prose a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.prose a:hover {
    color: var(--secondary);
}

.prose ul,
.prose ol {
    margin: 1rem 0 1rem 1.25rem;
    color: var(--text-secondary);
}

.prose li {
    margin: 0.4rem 0;
}

.prose img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    border: none;
    box-shadow: var(--shadow-sm);
    margin: 1.5rem 0;
}

.article-author {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0.25rem 0 0.85rem;
}

.article-lede {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.75;
    margin: 0.25rem 0 1.25rem;
}

.article-toc {
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow-sm);
    margin: 1.1rem 0 0;
}

.article-toc__kicker {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 650;
}

.article-toc__list {
    list-style: none;
    padding: 0;
    margin: 0.85rem 0 0;
    display: grid;
    gap: 0.45rem;
}

.article-toc__list a {
    color: var(--text-secondary);
    text-decoration: none;
}

.article-toc__list a:hover {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-toc__sublist {
    list-style: none;
    padding: 0;
    margin: 0.45rem 0 0.65rem 1rem;
    display: grid;
    gap: 0.35rem;
}

.prose h2,
.prose h3 {
    scroll-margin-top: 110px;
}

.prose blockquote {
    border-left: 3px solid rgba(90, 188, 122, 0.6);
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: var(--text-secondary);
}

.prose hr {
    border: 0;
    border-top: 1px solid var(--gray-200);
    margin: 2rem 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.prose th,
.prose td {
    border: 1px solid var(--gray-200);
    padding: 0.75rem;
    text-align: left;
    vertical-align: top;
}

.prose th {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .product-showcase {
        grid-template-columns: 1fr;
    }

    .product-showcase.reverse .product-content,
    .product-showcase.reverse .product-visual {
        order: initial;
    }
}

/* Navbar: collapse earlier so it never wraps */
@media (max-width: 980px) {
    .mega-portal {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1.5rem;
        border-top: 1px solid var(--gray-200);
    }

    .nav-menu.active {
        left: 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 6rem 0 4rem;
        margin-top: 60px;
    }

    .hero--home {
        padding-bottom: 5rem;
    }

    .gs-hero {
        padding: 6.25rem 0 2.5rem;
        margin-top: 60px;
    }

    .gs-hero__grid {
        grid-template-columns: 1fr;
    }

    .gs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-graphic {
        max-width: 100%;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .report-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .report-banner__actions,
    .report-banner__actions .btn {
        width: 100%;
    }
}


/* Prose (WordPress content) */
.prose { max-width: 880px; }
.prose :where(h1,h2,h3,h4) { color: var(--text-primary); letter-spacing: -0.02em; line-height: 1.25; }
.prose h2 { font-size: 1.75rem; margin: 2.25rem 0 1rem; }
.prose h3 { font-size: 1.35rem; margin: 1.75rem 0 0.75rem; }
.prose p { color: var(--text-secondary); margin: 1rem 0; font-size: 1.0625rem; }
.prose a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--secondary); }
.prose ul, .prose ol { margin: 1rem 0 1rem 1.25rem; color: var(--text-secondary); }
.prose li { margin: 0.5rem 0; }
.prose blockquote { border-left: 3px solid rgba(90,188,122,0.6); padding-left: 1rem; margin: 1.5rem 0; color: var(--text-secondary); }
.prose img { max-width: 100%; height: auto; border-radius: 12px; border: none; box-shadow: var(--shadow-sm); }
.prose figure { margin: 1.75rem 0; }
.prose figcaption { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.5rem; }
.prose hr { border: 0; border-top: 1px solid var(--gray-200); margin: 2rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th, .prose td { border: 1px solid var(--gray-200); padding: 0.75rem; text-align: left; }
.prose th { background: var(--bg-secondary); }

/* =========================================================
   Pricing page (best-in-class, brand-aligned)
   ========================================================= */
.pricing-hero {
    padding: 8rem 0 3.5rem;
    margin-top: 70px;
    background:
        radial-gradient(900px 520px at 20% 20%, rgba(87, 174, 220, 0.14), transparent 55%),
        radial-gradient(900px 520px at 70% 20%, rgba(90, 188, 122, 0.12), transparent 55%),
        radial-gradient(900px 520px at 60% 70%, rgba(14, 165, 233, 0.08), transparent 55%),
        var(--bg-primary);
    border-bottom: 1px solid var(--gray-200);
}

.pricing-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
}

.pricing-eyebrow {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 650;
    margin-bottom: 0.75rem;
}

.pricing-title {
    font-size: clamp(2.35rem, 4.5vw, 3.5rem);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    color: var(--text-primary);
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.75;
    margin: 0;
    max-width: 68ch;
}

.pricing-trust {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pricing-trust__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(90, 188, 122, 0.20);
    background: var(--brand-gradient-soft);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.pricing-hero__aside {
    display: grid;
    gap: 0.9rem;
}

.pricing-toggle,
.pricing-note,
.pricing-currency {
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.pricing-toggle__title,
.pricing-note__title,
.pricing-currency__title {
    font-weight: 650;
    letter-spacing: -0.01em;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
}

.pricing-note__text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.pricing-toggle__seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    padding: 0.35rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: rgba(0, 0, 0, 0.02);
}

.pricing-toggle__btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 650;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.pricing-toggle__btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.pricing-toggle__btn.is-active {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid rgba(87, 174, 220, 0.25);
    box-shadow: 0 10px 24px rgba(87, 174, 220, 0.10);
}

.pricing-toggle__pill {
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(90, 188, 122, 0.28);
    background: rgba(90, 188, 122, 0.12);
    color: var(--text-primary);
}

.pricing-toggle__fineprint {
    margin-top: 0.65rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.pricing-toggle__seatnote {
    margin-top: 0.65rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.pricing-toggle__seatnote-break {
    display: block;
    height: 0.4rem;
}

.pricing-currency__select {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.02);
    padding: 0.75rem 0.9rem;
    color: var(--text-primary);
    font-weight: 650;
    letter-spacing: -0.01em;
    outline: none;
}

.pricing-currency__select:focus {
    border-color: rgba(87, 174, 220, 0.35);
    box-shadow: 0 0 0 3px rgba(87, 174, 220, 0.12);
}

.pricing-currency__fineprint {
    margin-top: 0.65rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.pricing-section {
    padding: 3.25rem 0 5rem;
    background: var(--bg-primary);
}

.pricing-section__header {
    margin-bottom: 2.25rem;
}

.pricing-section__title {
    margin: 0;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: left;
}

.pricing-card--alpha-rate .pricing-card__body {
    padding-top: 1.15rem;
}

.pricing-alpha-table {
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.pricing-alpha-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-alpha-table th,
.pricing-alpha-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-alpha-table th:last-child {
    text-align: right;
    width: 220px;
    white-space: nowrap;
}

.pricing-alpha-table th {
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-primary);
    font-weight: 750;
}

.pricing-alpha-table td {
    color: var(--text-secondary);
}

.pricing-alpha-table td:last-child {
    text-align: right;
    font-weight: 750;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.pricing-rate {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.25rem;
    white-space: nowrap;
}

/* Reuse plan pricing typography, scaled for table rows */
.pricing-alpha-table .pricing-price__currency {
    font-size: 1.15rem;
    transform: translateY(-0.1rem);
}

.pricing-alpha-table .pricing-price__amount {
    font-size: 2.05rem;
    line-height: 1;
}

.pricing-alpha-table .pricing-price__period {
    font-size: 1rem;
    font-weight: 650;
    color: var(--text-muted);
    margin-left: 0.1rem;
}

.pricing-alpha-table tbody tr:last-child td {
    border-bottom: 0;
}

.pricing-grid {
    display: grid;
    /* Keep the primary decision set tight and readable */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.pricing-grid__header {
    grid-column: 1 / -1;
    margin-top: 2.25rem;
    margin-bottom: 0;
}

.pricing-card--institution {
    grid-column: 1 / -1;
    background: var(--brand-gradient-soft);
    border-color: rgba(87, 174, 220, 0.22);
}

.pricing-card--institution .pricing-card__head {
    /* Make it feel like a thin banner row */
    min-height: unset;
    padding: 1.1rem 1.25rem;
    background: transparent;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(87, 174, 220, 0.18);
}

.pricing-card--institution .pricing-card__head::after {
    display: none;
}

.pricing-card--institution .pricing-card__title {
    color: var(--text-primary);
}

.pricing-card--institution .pricing-card__subtitle {
    min-height: unset;
    -webkit-line-clamp: 1;
    color: var(--text-secondary);
    opacity: 1;
}

.pricing-institution__head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
    align-items: center;
}

.pricing-institution__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.pricing-institution__meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: right;
    max-width: 360px;
}

.pricing-institution__cta {
    padding: 0.7rem 1.2rem;
    width: auto;
}

.pricing-card--institution .pricing-card__body {
    padding: 1rem 1.25rem 1.25rem;
}

.pricing-institution__body {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.25rem;
    align-items: start;
}

.pricing-institution__kicker {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.pricing-institution__chips {
    margin-top: 0.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.pricing-institution__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(87, 174, 220, 0.22);
    background: rgba(255, 255, 255, 0.75);
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.1;
    white-space: nowrap;
}

.pricing-institution__bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1.1rem;
    color: var(--text-secondary);
}

.pricing-institution__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.55;
    font-size: 0.98rem;
}

.pricing-institution__bullets .ps-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    transform: translateY(2px);
}

.pricing-institution__bullets .ps-icon svg {
    width: 20px;
    height: 20px;
    stroke: #16a34a;
    stroke-width: 2;
}

@media (max-width: 900px) {
    .pricing-institution__head {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .pricing-institution__actions {
        align-items: flex-start;
    }
    .pricing-institution__body {
        grid-template-columns: 1fr;
    }
    .pricing-institution__bullets {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(87, 174, 220, 0.24);
}

.pricing-card__head {
    background: var(--brand-gradient);
    color: #fff;
    padding: 1.65rem 1.5rem;
    position: relative;
    /* Make all plan headers the same height */
    min-height: 128px;
}

.pricing-card__head::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 260px at 30% 30%, rgba(255, 255, 255, 0.18), transparent 55%);
    pointer-events: none;
}

.pricing-card__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    /* Clamp to keep alignment across plans */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.pricing-card__subtitle {
    margin-top: 0.25rem;
    font-size: 0.95rem;
    opacity: 0.92;
    position: relative;
    z-index: 1;
    /* Keep subtitle height consistent across cards */
    min-height: 2.6em; /* ~2 lines */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 0;
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

.pricing-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pricing-card__lede {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 1.25rem;
    min-height: 3.2em;
}

.pricing-price {
    padding: 1.25rem 0 1rem;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1rem;
}

.pricing-price__row {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    justify-content: center;
}

.pricing-price__subline {
    margin-top: 0.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.35;
    min-height: 1.35em; /* prevents jump when empty (monthly) */
}

.pricing-price__currency {
    font-size: 1.35rem;
    font-weight: 750;
    color: var(--text-primary);
    transform: translateY(-0.15rem);
}

.pricing-price__amount {
    font-size: 3.1rem;
    font-weight: 750;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-price__period {
    color: var(--text-muted);
    font-weight: 600;
    margin-left: 0.1rem;
}

.pricing-price__note {
    text-align: center;
    margin-top: 0.55rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.pricing-price__free {
    font-size: 2.85rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.05;
}

.pricing-cta {
    margin-bottom: 1.25rem;
}

.pricing-cta .btn {
    width: 100%;
}

.pricing-group-title {
    margin: 0 0 0.75rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.pricing-feature-group {
    margin-top: 1.1rem;
}

.pricing-feature-group__title {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--text-muted);
    margin: 0 0 0.65rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.pricing-features--compact {
    gap: 0.55rem;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.55;
    font-size: 0.98rem;
}

.pricing-feature__icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    transform: translateY(2px);
}

.pricing-feature__icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.pricing-feature.is-included .pricing-feature__icon svg {
    stroke: #16a34a;
}

.pricing-feature.is-excluded {
    color: var(--text-muted);
}

.pricing-feature.is-excluded .pricing-feature__icon svg {
    stroke: #ef4444;
    opacity: 0.95;
}

.pricing-card__footer {
    margin-top: auto;
    padding-top: 1.25rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    text-align: center;
}

.pricing-not-included {
    margin-top: 1.1rem;
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
}

.pricing-not-included summary {
    cursor: pointer;
    list-style: none;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pricing-not-included summary::-webkit-details-marker {
    display: none;
}

.pricing-not-included summary::after {
    content: '▾';
    color: var(--text-muted);
    flex: 0 0 auto;
}

.pricing-not-included[open] summary::after {
    content: '▴';
}

.pricing-not-included .pricing-features {
    margin-top: 0.75rem;
}

.pricing-card--popular {
    border-color: rgba(87, 174, 220, 0.45);
    box-shadow: 0 18px 50px rgba(87, 174, 220, 0.14);
    transform: translateY(-2px);
}

.pricing-card--popular:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 70px rgba(87, 174, 220, 0.18);
}

.pricing-card--featured {
    border-color: rgba(90, 188, 122, 0.38);
    box-shadow: 0 18px 50px rgba(90, 188, 122, 0.12);
}

.pricing-faq {
    background: var(--bg-secondary);
    border-top: 1px solid var(--gray-200);
}

.pricing-faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    max-width: 980px;
    margin: 0 auto;
}

.pricing-faq__item {
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.pricing-faq__item summary {
    cursor: pointer;
    padding: 1.05rem 1.1rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    list-style: none;
}

.pricing-faq__item summary::-webkit-details-marker {
    display: none;
}

.pricing-faq__item summary::after {
    content: '▾';
    float: right;
    color: var(--text-muted);
}

.pricing-faq__item[open] summary::after {
    content: '▴';
}

.pricing-faq__body {
    padding: 0 1.1rem 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

@media (max-width: 900px) {
    .pricing-hero__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-faq__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 6.75rem 0 3rem;
        margin-top: 60px;
    }
}
