@import url("hero-lattice.css");

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

:root {
    --site-font-sans: "Ubuntu Sans", "Ubuntu", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --navy: #041736;
    --card: #1d2e4a;
    --cyan: #d9eeff;
    --amber: #e8956a;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --black: #000000;
    
    /* Color Palette from Deck Images */
    /* Primary Colors - Wave Accent (replacing cyan-blue) */
    --wave-accent: #b5e5f3;
    --wave-accent-light: #d0f0f9;
    --wave-accent-dark: #8dd0e8;
    --wave-accent-darker: #6bb8d0;
    /* Animated rule under column / section headers (platform + shared) */
    --column-header-line-accent: #99e5f4;
    /* Grey→accent: keep grey band short so cyan reads larger (share of the rule bar only) */
    --column-header-gradient-grey-end: 25%;
    
    /* Legacy cyan-blue aliases (now using wave-accent) */
    --cyan-blue: var(--wave-accent);
    --cyan-blue-light: var(--wave-accent-light);
    --cyan-blue-dark: var(--wave-accent-dark);
    
    /* Secondary Colors - Muted Purple/Lavender (from deck pill boxes) */
    --blueDC: #bbbddc;
    --blueDC-light: #d4d6eb;
    --blueDC-dark: #9a9bc6;
    
    /* Hero Purple/Pink Colors (for harmony) */
    --purple-primary: #8b5cf6;
    --purple-secondary: #a855f7;
    --purple-light: #c084fc;
    --purple-gradient: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    
    /* Warning/Bad Signal Color - harmonic with palette but clearly negative */
    --warning-coral: #fdd5b1;  /* Soft peach - from palette */
    --warning-coral-dark: #fce5cd;  /* Lighter peach variant */
    --warning-coral-light: #fef0e6;  /* Lightest peach variant */
    
    /* Neutral Grays (from deck backgrounds) */
    --dark-grey: #3b3b3b;
    --charcoal-gray: #363636;
    --medium-gray: #757474;
    --light-gray: #d3d3d3;
    --light-grey: #eeeeee;
    --very-light-gray: #f5f5f5;
    
    /* Gradient definitions using wave-accent colors with purple accents */
    --gradient-primary: linear-gradient(135deg, var(--wave-accent) 0%, var(--purple-light) 50%, var(--blueDC) 100%);
    --gradient-primary-reverse: linear-gradient(135deg, var(--blueDC) 0%, var(--purple-light) 50%, var(--wave-accent) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--wave-accent-light) 0%, var(--purple-light) 50%, var(--blueDC-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--wave-accent) 0%, var(--purple-primary) 50%, var(--blueDC) 100%);
    --gradient-hero: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 50%, #f5f7fa 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    --gradient-dark: linear-gradient(135deg, var(--black) 0%, var(--dark-grey) 100%);
    
    /* Legacy compatibility */
    --primary-color: var(--wave-accent);
    --primary-dark: var(--wave-accent-dark);
    --primary-light: var(--wave-accent-light);
    --secondary-color: var(--blueDC);
    --secondary-light: var(--blueDC-light);
    --accent-color: var(--wave-accent);
    
    /* Text colors */
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-light: var(--medium-gray);
    --text-on-gradient: var(--white);
    /* Band headlines (privacy-problem__title, lattica-approach, how-it-works, workloads, etc.) */
    --platform-section-title-size: clamp(32px, 4.5vw, 52px);
    
    /* Background colors */
    --bg-primary: var(--white);
    --bg-secondary: #f8f9ff;
    --bg-tertiary: #f0f4ff;
    --bg-dark: var(--black);
    --bg-card: var(--white);
    
    /* Border colors */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-gradient: rgba(181, 229, 243, 0.2);
    
    /* Shadows with color tints using wave-accent color */
    --shadow-sm: 0 2px 4px rgba(181, 229, 243, 0.06);
    --shadow-md: 0 4px 12px rgba(181, 229, 243, 0.1);
    --shadow-lg: 0 8px 24px rgba(181, 229, 243, 0.15);
    --shadow-xl: 0 16px 32px rgba(181, 229, 243, 0.2);
    --shadow-hover: 0 12px 28px rgba(141, 208, 232, 0.25);
    --shadow-gradient: 0 8px 24px rgba(181, 229, 243, 0.2);
    
    /* Animation timing */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: var(--site-font-sans);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    background: var(--bg-primary);
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

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

.hero-container {
    max-width: 1680px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation - #0F0F12 bar (matches .privacy-problem), Ubuntu Sans, zinc text */
.navbar {
    --nav-bg: #0F0F12;
    --nav-surface: #1A1A1F;
    --nav-border: rgba(244, 244, 245, 0.08);
    --nav-fg: #F4F4F5;
    --nav-muted: #A1A1AA;
    --nav-underline: oklch(0.82 0.11 220);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    width: min(100vw, 80rem);
    max-width: 80rem;
    margin: 0 auto;
    background: transparent;
    color: var(--nav-muted);
    font-family: var(--site-font-sans);
    z-index: 1000;
    transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    padding: 0.82rem 1.6rem 0.58rem;
    overflow: visible;
    border-bottom: none;
}

.navbar .container {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.navbar.scrolled {
    padding-top: 0.82rem;
}

.nav-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.86rem 2rem;
    position: relative;
    min-height: 66px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid oklch(1 0 0 / 0.06);
    background-color: rgba(18, 23, 27, 0.7);
    background-image: none;
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.navbar.at-top .nav-content {
    border-color: oklch(1 0 0 / 0.08);
    background-color: oklch(0.2 0.012 250);
    background-image: none;
    backdrop-filter: saturate(1.55) blur(13px);
    -webkit-backdrop-filter: saturate(1.55) blur(13px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.navbar.scrolled .nav-content {
    border-color: oklch(1 0 0 / 0.06);
    background-color: rgba(18, 23, 27, 0.56);
    background-image: none;
    backdrop-filter: saturate(1.1) blur(9px);
    -webkit-backdrop-filter: saturate(1.1) blur(9px);
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.12);
}

/* Debug aid: confirms scroll state toggle independent of opacity/blur rendering. */
.nav-debug-scrolled .navbar .nav-content {
    transform: translateY(2px) scale(0.996);
}

.navbar .logo {
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: 19px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(1);
    transition: none;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-item-mobile-only {
    display: none;
}

.nav-cta {
    position: absolute;
    right: 0.86rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.nav-socials {
    position: absolute;
    right: 9.3rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-socials li {
    display: flex;
    align-items: center;
}

.nav-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.82;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-socials a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.nav-socials img {
    width: 19px;
    height: 19px;
    filter: brightness(0) invert(1);
}

.nav-socials-mobile {
    display: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--nav-muted);
    font-weight: 500;
    font-size: 1rem;
    font-family: inherit;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.3s ease;
    position: relative;
    -webkit-text-stroke-width: 0;
    text-shadow: none;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--nav-fg);
}

.nav-links a::after {
    content: "";
    position: absolute;
    display: inline-block;
    max-width: 0%;
    width: 100%;
    height: 2px;
    background-color: var(--nav-underline);
    bottom: -8px;
    left: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.nav-links a:hover::after {
    max-width: 100%;
    width: 100%;
}

/* Dropdown menu styles */
.nav-links li {
    position: relative;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.nav-dropdown-arrow {
    font-size: 0.56rem;
    margin-left: 5px;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    vertical-align: middle;
    opacity: 0.75;
}

.nav-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 24px);
    left: 0;
    background-color: oklch(0.2 0.012 250 / 0.92);
    background-image: none;
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48);
    z-index: 1001;
    border-radius: 14px;
    border: 1px solid var(--nav-border);
    backdrop-filter: saturate(1.3) blur(10px);
    -webkit-backdrop-filter: saturate(1.3) blur(10px);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.76rem 1.1rem;
    color: var(--nav-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: inherit;
    text-transform: none;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(244, 244, 245, 0.06);
    color: var(--nav-fg);
    padding-left: 1.24rem;
}

.dropdown-menu a.active {
    background: rgba(244, 244, 245, 0.08);
    color: var(--nav-fg);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--wave-accent-dark);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    -webkit-text-stroke-width: 0.2px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--wave-accent-darker);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Navbar Contact CTA - outline on dark zinc bar */
.nav-links a.btn-primary,
.nav-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 0;
    padding: 10px 18px;
    min-height: 40px;
    background-color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(90deg, rgba(95, 214, 255, 0.96), rgba(176, 145, 255, 0.96));
    background-origin: padding-box;
    background-clip: border-box;
    background-repeat: repeat;
    background-size: auto;
    background-position: 0% 0%;
    background-attachment: scroll;
    color: rgb(255, 255, 255);
    border: 0 solid oklch(1 0 0 / 0.08);
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: rgba(165, 139, 236, 0.55) 0 8px 24px -10px;
    font-weight: 600;
    line-height: 1;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    letter-spacing: 0;
    text-decoration: none;
    text-decoration-color: rgb(255, 255, 255);
    text-decoration-line: none;
    text-decoration-style: solid;
    text-decoration-thickness: auto;
    text-rendering: optimizeLegibility;
    text-size-adjust: 100%;
    cursor: pointer;
    tab-size: 4;
    -webkit-text-stroke-width: 0;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    vertical-align: middle;
    transition-property: transform, box-shadow;
    transition-duration: 0.2s, 0.2s;
    transition-timing-function: ease, ease;
    transition-delay: 0s, 0s;
}

.nav-links a.btn-primary::after,
.nav-cta .btn-primary::after {
    display: none;
}

.nav-links a.btn-primary:hover,
.nav-cta .btn-primary:hover {
    color: rgb(255, 255, 255);
    background-image: linear-gradient(90deg, rgba(95, 214, 255, 0.96), rgba(176, 145, 255, 0.96));
    transform: translateY(-1px);
    box-shadow: rgba(165, 139, 236, 0.62) 0 10px 26px -10px;
}

.nav-links a.btn-primary:active,
.nav-cta .btn-primary:active {
    transform: none;
    box-shadow: none;
}

.nav-links a.btn-primary.active,
.nav-cta .btn-primary.active {
    color: #ffffff;
}

.nav-links a.btn-primary.active::after,
.nav-cta .btn-primary.active::after {
    display: none;
}

.btn-secondary {
    background: var(--black);
    color: var(--white);
    border: 1px solid var(--white);
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    -webkit-text-stroke-width: 0.2px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-secondary {
    position: relative;
    z-index: 1;
}

.btn-secondary:hover {
    border-color: var(--wave-accent-dark);
    background: var(--wave-accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section - padding-top (not margin-top) so hero background paints under the fixed navbar offset */
/* Mostly #F6F7F9; subtle #99E5F4 tint centered on the content box (wires + grid above, transparent) */
.hero {
    padding: 110px 0 5.5rem;
    background:
        radial-gradient(
            58% 50% at 50% 42%,
            rgba(102, 186, 236, 0.22) 0%,
            rgba(102, 186, 236, 0.11) 34%,
            rgba(241, 246, 252, 0.15) 66%,
            rgba(241, 246, 252, 0) 78%
        ),
        #f1f6fc;
    position: relative;
    z-index: 0;
    overflow: hidden;
    min-height: var(--hero-vh, 100dvh);
    height: var(--hero-vh, 100dvh);
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.hero--platform {
    min-height: var(--hero-vh, 100dvh);
    height: var(--hero-vh, 100dvh);
    /* HeroLattice.tsx: section inline --hero-charge / --hero-shake; defaults for first paint */
    --hero-charge: 0;
    --hero-shake: 0;
}

/* Dot grid was stacking above the lattice (z-index 1 vs 0), which washed the SVG out */
.hero--platform .hero-grid-background {
    z-index: 0;
}

.hero--platform .hero-lattice {
    z-index: 1;
    opacity: 0.65;
    mask-image: radial-gradient(ellipse 84% 78% at 50% 44%, transparent 4%, black 47%, black 93%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 84% 78% at 50% 44%, transparent 4%, black 47%, black 93%, transparent 100%);
}

.hero--platform .hero-grid-background::after {
    opacity: 0.2;
}

.hero--platform .hero-grid-background .grid-svg {
    opacity: 0.54;
}

/* Prior decorative overlays removed so the hero radial reads cleanly */
.hero::before,
.hero::after {
    display: none;
}


/* Background grid - full width behind everything */
.hero-grid-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-grid-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at center, rgba(133, 146, 171, 0.22) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.26;
    pointer-events: none;
}

.hero-grid-background .grid-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    opacity: 0.66;
    display: block;
}

/* Harmonize wire palette with platform hero blue-gray scheme */
.hero-wires-column .wires-svg stop[offset="0%"] {
    stop-color: #b7e6f7 !important;
    stop-opacity: 0.55 !important;
}

.hero-wires-column .wires-svg stop[offset="100%"] {
    stop-color: #82cce9 !important;
    stop-opacity: 0.55 !important;
}

.hero-wires-column .wires-svg stop[offset="50%"] {
    stop-color: #9fdcf2 !important;
    stop-opacity: 0.55 !important;
}

.hero-wires-column .wire-group circle {
    fill: #9fdcf2 !important;
}

.hero-wires-column .wire-group rect {
    fill: #8fc9df !important;
}

.hero-wires-column .wire-group path {
    stroke-width: 0.45px !important;
}


/* Three-column layout for wires and content */
.hero-wires-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    align-items: stretch;
    background: transparent;
}

.hero-wires-column {
    height: 100%;
    position: relative;
    background: transparent;
}

.hero-wires-left,
.hero-wires-right {
    overflow: hidden;
    background: transparent;
}

.hero-wires-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 190px 0 8.2rem;
    height: auto;
    align-self: center;
}

.hero-wires-column.hero-wires-center {
    height: auto;
}

.hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Soft fade behind the card: compact + steep falloff so lattice shows through sooner */
.hero--platform .hero-container::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(88vw, 640px);
    height: min(56vh, 480px);
    border-radius: 40px;
    z-index: 7;
    pointer-events: none;
    background:
        radial-gradient(
            58% 48% at 50% 50%,
            rgba(245, 249, 255, 0.54) 0%,
            rgba(245, 249, 255, 0.2) 11%,
            rgba(245, 249, 255, 0.06) 20%,
            rgba(245, 249, 255, 0.015) 28%,
            rgba(245, 249, 255, 0) 36%
        ),
        radial-gradient(
            64% 52% at 50% 52%,
            rgba(225, 238, 252, 0.065) 0%,
            rgba(225, 238, 252, 0.02) 12%,
            rgba(225, 238, 252, 0) 22%
        );
    filter: blur(3px);
}

.hero-wires-column .wires-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
}

/* Centered content box - same surface as #how-it-works .dashboard-column.process-column */
.hero-content-box {
    position: relative;
    z-index: 10;
    --hero-content-font: var(--site-font-sans);
    --fg: #F4F4F5;
    --muted: #A1A1AA;
    --muted-soft: rgba(161, 161, 170, 0.8);
    --ink: #0F0F12;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
    border: 1.5px solid #e8ecf1;
    border-radius: 1.6rem;
    padding: 2.15rem 2.2rem 2.2rem;
    width: min(calc(100vw - 3rem), 660px);
    max-width: 660px;
    text-align: center;
    box-shadow: 0 22px 42px rgba(20, 32, 52, 0.12), 0 8px 20px rgba(20, 32, 52, 0.08), 0 1px 5px rgba(20, 32, 52, 0.06);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out 0.3s forwards;
    overflow: hidden;
    font-family: var(--hero-content-font);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    justify-content: center;
    gap: 0;
}

/* Platform hero card charge + shake — curated from functions/noise-budget-snake hero-rules-curated.css (.hero-card) */
@keyframes hero-shake-platform {
    0%, 100% { translate: 0 0; }
    20% { translate: calc(var(--hero-shake, 0) * 1px) calc(var(--hero-shake, 0) * -0.6px); }
    40% { translate: calc(var(--hero-shake, 0) * -0.9px) calc(var(--hero-shake, 0) * 0.4px); }
    60% { translate: calc(var(--hero-shake, 0) * 0.7px) calc(var(--hero-shake, 0) * 0.8px); }
    80% { translate: calc(var(--hero-shake, 0) * -0.5px) calc(var(--hero-shake, 0) * -0.9px); }
}

.hero--platform .hero-content-box {
    isolation: isolate;
    overflow: visible;
    background: oklch(1 0 0 / 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid oklch(0.2 0.015 250 / 8%);
    box-shadow:
        0 30px 60px -25px oklch(0.2 0.05 230 / 0.18),
        0 8px 20px -10px oklch(0.2 0.05 230 / 0.1),
        0 0 calc(40px + var(--hero-charge, 0) * 80px)
            oklch(0.78 0.18 220 / calc(var(--hero-charge, 0) * 0.55));
    animation:
        slideInUp 0.8s ease-out 0.3s forwards,
        hero-shake-platform 0.16s ease-in-out infinite;
    transition:
        box-shadow 0.18s linear,
        border-color 0.18s linear,
        background 0.18s linear;
}

.hero--platform .hero-content-box::before {
    content: "";
    position: absolute;
    inset: -60px;
    border-radius: 40px;
    background: radial-gradient(
        55% 55% at 50% 50%,
        oklch(0.78 0.19 220 / 0.9),
        oklch(0.7 0.2 260 / 0.5) 55%,
        transparent 75%
    );
    filter: blur(50px);
    opacity: calc(var(--hero-charge, 0) * 0.95);
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.18s linear;
}

@media (prefers-reduced-motion: reduce) {
    .hero--platform .hero-content-box {
        animation: slideInUp 0.8s ease-out 0.3s forwards;
    }
}

.hero-speed-floating {
    position: relative;
    margin-top: 49px;
    font-family: var(--hero-content-font, var(--site-font-sans));
    font-size: clamp(3.2rem, 8.2vw, 7.2rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.92;
    color: rgba(120, 130, 155, 0.2);
    text-shadow: 0 18px 34px rgba(26, 34, 54, 0.12);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    animation: heroSpeedReveal 850ms cubic-bezier(0.21, 0.99, 0.34, 1) 0.45s forwards;
}

.hero-speed-floating .hero-speed-prefix,
.hero-speed-floating .hero-speed-value {
    display: inline-block;
}

.hero-speed-floating .hero-speed-label {
    display: block;
    margin-top: 0.22em;
    font-size: 0.22em;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-content-box .hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #6b7280;
    border: 1px solid rgba(15, 15, 18, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.44rem 0.95rem;
    margin: 0 auto 1.45rem;
    font-family: var(--hero-content-font);
    width: fit-content;
}

.hero-content-box .hero-label-dot {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22a8ff;
    box-shadow: 0 0 0 1px rgba(34, 168, 255, 0.3), 0 0 16px rgba(34, 168, 255, 0.72);
    animation: heroStatusDot 1.9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.hero-content-box .hero-label-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    border: 1px solid rgba(34, 168, 255, 0.55);
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center;
    opacity: 0;
    animation: heroStatusWave 1.9s ease-out infinite;
}

.hero-content-box .hero-title,
.hero-content-box .hero-subtitle,
.hero-content-box .hero-subtitle-small,
.hero-content-box .hero-buttons {
    position: relative;
    z-index: 2;
}

.hero-content-box .hero-buttons .btn,
.cta.cta--light .cta-buttons .btn {
    min-width: 12.2rem;
    text-align: center;
    box-sizing: border-box;
}

.hero-content-box .hero-title {
    margin-bottom: 1rem;
    font-size: clamp(3.05rem, 4.6vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
    font-family: var(--hero-content-font);
    text-align: center;
}

.hero-content-box .title-part-1 {
    color: var(--ink);
    font-weight: 700;
}

.hero-content-box .title-part-2 {
    color: rgba(113, 113, 122, 1);
    font-weight: 700;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.hero-content-box .hero-subtitle-small {
    display: none;
}

.hero-content-box .hero-subtitle {
    color: #52525b;
    margin-bottom: 0.2rem;
    font-size: 1.04rem;
    line-height: 1.52;
    font-weight: 400;
    font-family: var(--hero-content-font);
    text-align: center;
}

.hero-content-box .hero-subtitle-stack {
    margin: 0 auto 1.55rem;
    max-width: 31.5rem;
}

.hero-content-box .hero-subtitle-stack .hero-subtitle {
    margin-bottom: 0.5rem;
}

.hero-content-box .hero-subtitle-stack .hero-subtitle:last-child {
    margin-bottom: 0;
    color: #5f6674;
}

.hero-content-box .btn-hero-secondary,
.cta.cta--light .btn-hero-secondary {
    background: var(--white);
    color: var(--ink);
    border: 1px solid rgba(15, 15, 18, 0.18);
    border-radius: 11px;
    padding: 0.64rem 1.08rem;
    min-height: 44px;
    font-size: 0.86rem;
    font-weight: 600;
    font-family: var(--hero-content-font);
    transition: all var(--transition-base);
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 1px 1px rgba(12, 16, 22, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-content-box .btn-hero-secondary:hover,
.cta.cta--light .btn-hero-secondary:hover {
    border-color: rgba(15, 15, 18, 0.28);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 15, 18, 0.08);
}

/* Internal GPU animation inside text box */
.internal-gpu-animation {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(72%, 340px);
    margin: 0.2rem auto 0.55rem;
    opacity: 0.26;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

.internal-gpu-animation svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.gradient-text {
    color: var(--black);
    display: inline-block;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 18.6px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 400;
}

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



/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.encryption-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.data-block {
    padding: 1.5rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-align: center;
    min-width: 180px;
}

.data-block.encrypted {
    background: #e8f2f5;
    color: var(--cyan-blue-dark);
}

/* Value Proposition */
.value-prop {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.value-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out forwards;
}

.value-card:nth-child(1) {
    animation-delay: 0.1s;
}

.value-card:nth-child(2) {
    animation-delay: 0.2s;
}

.value-card:nth-child(3) {
    animation-delay: 0.3s;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

.value-card .value-icon {
    transition: transform var(--transition-base);
}

.value-card:hover .value-icon {
    transform: scale(1.05);
}

.value-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color var(--transition-base);
}

.value-card:hover p {
    color: var(--text-primary);
}

/* How It Works */
/* Platform Overview Card (inside How It Works section) */
.platform-overview-wrapper {
    position: relative;
    margin: 0 auto 8rem;
    margin-top: -60px;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding-bottom: 120px;
    overflow: visible;
    z-index: 2;
}

.platform-overview-wrapper.platform-overview-reordered {
    margin-top: 0;
    margin-bottom: 2rem;
    min-height: auto;
    padding-bottom: 0;
}

.what-you-get-column {
    width: 100%;
    align-self: stretch;
    overflow: visible;
}

.what-you-get-column .platform-overview-wrapper.platform-overview-reordered {
    margin-bottom: 0;
    width: 100%;
}

/* Match process-column-diagram frame (How It Works): size + color for platform overview in this section */
/* Inner panel: same fill as section (--wyg-bg); column + icons use --wyg-surface */
.what-you-get-section .what-you-get-column .platform-overview-card {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 1.5rem;
    background: var(--wyg-bg);
    border: 1px solid var(--wyg-border);
    border-radius: 0.75rem;
    box-shadow: var(--dark-internal-card-shadow);
    /* visible so .platform-feature-detail tooltips (position:absolute below feature) are not clipped */
    overflow: visible;
    transition: border-color 150ms ease, box-shadow 200ms ease;
}

.what-you-get-section .what-you-get-column .platform-overview-card::before {
    display: none;
}

.what-you-get-section .what-you-get-column .platform-overview-card:hover {
    transform: none;
    box-shadow: var(--dark-internal-card-shadow-hover);
    border-color: rgba(161, 161, 170, 0.35);
}

.what-you-get-section .what-you-get-column .platform-overview-title {
    color: #f4f4f5;
    margin: 0 0 1.25rem 0;
    padding: 0.5rem 0.35rem 0;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    width: 100%;
    box-sizing: border-box;
    font-family: var(--site-font-sans);
    font-weight: 600;
}

.what-you-get-section .what-you-get-column .platform-overview-card .platform-features-grid {
    padding: 0 0.35rem 0.5rem;
}

/* Cloud 1 - Large, bottom center, slowest (farthest) - REMOVED */
.cloud-1 {
    display: none;
    transform: translateX(-50%);
    width: 200%;
    max-width: 1600px;
    animation: cloudDriftSlow 12s ease-in-out infinite;
}

/* Cloud styles removed - replaced with grid background */

.platform-overview-card {
    max-width: 900px;
    width: 100%;
    margin: 0;
    background: linear-gradient(145deg, #3d3d3d 0%, #2a2a2a 50%, #1f1f1f 100%);
    border-radius: 7.5rem;
    padding: 4rem 3rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: visible;
}

.platform-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.platform-overview-card:hover {
    transform: translateY(-4px); /* Smooth upward movement like other elements */
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.3),
        0 12px 32px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 40px rgba(141, 208, 232, 0.2), /* Lattica blue glow */
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.platform-overview-card:hover::before {
    opacity: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-50px);
    }
}

@keyframes floatHover {
    0%, 100% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(-12px);
    }
}

.platform-overview-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--wave-accent);
    margin: 0 0 3rem 0;
    text-align: center;
}

.platform-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: start;
    overflow: visible; /* Allow tooltips to overflow */
}

/* Platform Overview Card specific styles - override conflicting styles */
.platform-overview-card .platform-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent !important;
    position: relative;
    overflow: visible; /* Allow tooltip to overflow */
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: all 0.3s ease-out;
    position: relative;
}

.platform-feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: white;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    transition: background 0.1s ease-out, border-color 0.25s ease-out, transform 0.25s ease-out;
}

.platform-overview-card .platform-feature:hover .platform-feature-icon,
.platform-overview-card .platform-feature.feature-active .platform-feature-icon {
    /* Use palette colors instead of blue - alternate between peach and purple */
    transform: scale(1.05);
}
.platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-icon,
.platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-icon,
.platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-icon,
.platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-icon,
.platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-icon,
.platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-icon {
    background: var(--blueDC-dark); /* Grey-purple dark */
    border-color: var(--blueDC);
    box-shadow: 0 4px 16px rgba(154, 155, 198, 0.4); /* Grey-purple dark glow */
}

.platform-feature-icon svg {
    width: 42px;
    height: 42px;
    color: #000;
    transition: color 0.15s ease-in-out;
}

/* Update SVG color on hover to match icon background */
.platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-icon svg,
.platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-icon svg,
.platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-icon svg,
.platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-icon svg,
.platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-icon svg,
.platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-icon svg {
    color: #ffffff; /* White for contrast on grey-purple dark */
}

.platform-overview-card .platform-feature-text {
    color: #f5f5f5;
    font-size: 1.1rem;
    line-height: 1.5;
    transition: color 0.3s ease-out;
}

.platform-overview-card .platform-feature-text p {
    margin: 0;
    color: #f5f5f5 !important;
    transition: color 0.3s ease-out;
}

.platform-overview-card .platform-feature p {
    color: #f5f5f5 !important;
    transition: color 0.1s ease-out;
}

.platform-overview-card .platform-feature .platform-feature-detail p {
    color: #1a202c !important;
}

.platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-text,
.platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-text p,
.platform-overview-card .platform-feature:nth-child(1):hover .platform-feature p,
.platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-text,
.platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-text p,
.platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature p,
.platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-text,
.platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-text p,
.platform-overview-card .platform-feature:nth-child(2):hover .platform-feature p,
.platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-text,
.platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-text p,
.platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature p,
.platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-text,
.platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-text p,
.platform-overview-card .platform-feature:nth-child(3):hover .platform-feature p,
.platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-text,
.platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-text p,
.platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature p {
    color: var(--blueDC-dark) !important; /* Grey-purple dark */
}

.platform-overview-card .platform-feature-text .feature-subtext {
    font-size: 0.85rem;
    color: #c0c0c0;
    font-weight: 400;
    transition: color 0.3s ease-out;
}

.platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-text .feature-subtext,
.platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-text .feature-subtext,
.platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-text .feature-subtext,
.platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-text .feature-subtext,
.platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-text .feature-subtext,
.platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-text .feature-subtext {
    color: var(--blueDC-dark); /* Grey-purple dark */
}

/* Feature Detail Box - styled like encrypted data boxes */
.platform-feature-detail {
    position: absolute;
    top: calc(100% + 2rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 400px; /* Fixed width instead of calc */
    max-width: 90vw; /* Prevent overflow on small screens */
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #1a202c;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s ease-out;
    z-index: 1000;
}

.platform-overview-card .platform-feature.feature-active .platform-feature-detail,
.platform-overview-card .platform-feature:hover .platform-feature-detail {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.platform-feature-detail::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
}

.platform-feature-detail p {
    margin: 0 0 1rem 0;
    color: #1a202c !important;
    font-weight: 400;
}

.platform-feature-detail p:last-child {
    margin-bottom: 0;
}

.platform-overview-card .platform-feature-detail p {
    color: #1a202c !important;
}

/* Responsive styles for Platform Overview */
@media (max-width: 1024px) {
    .platform-overview-wrapper {
        min-height: 350px;
    }
    
    .platform-features-grid {
        gap: 2rem;
    }
    
    .platform-overview-card {
        padding: 3rem 2rem;
        border-radius: 4rem;
    }
    
    .platform-overview-title {
        font-size: 1.75rem;
    }
    
}

@media (max-width: 768px) {
    .platform-overview-wrapper {
        min-height: 300px;
        margin-bottom: 3rem;
    }
    
    .platform-overview-card {
        padding: 2.5rem 1.5rem;
        border-radius: 3rem;
    }
    
    .platform-overview-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .platform-features-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .platform-feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .platform-feature-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .platform-overview-cloud {
        max-width: 1000px;
    }
}

@media (max-width: 1024px) {
    .what-you-get-section .what-you-get-column .platform-overview-card {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }

    .what-you-get-section .what-you-get-column .platform-overview-title {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .what-you-get-section .what-you-get-column .platform-overview-card {
        padding: 1rem 1.1rem;
        border-radius: 0.75rem;
    }

    .what-you-get-section .what-you-get-column .platform-overview-title {
        margin-bottom: 0.85rem;
        padding-top: 0.35rem;
    }

    .what-you-get-section .what-you-get-column .platform-overview-card .platform-features-grid {
        padding-bottom: 0.35rem;
    }
}

/* Same band as .plat-audience (--plat-aud-bg #f6f7f9); no photo overlays */
.how-it-works {
    padding: 3.5rem 0;
    background: #f6f7f9;
    position: relative;
    overflow: visible;
    z-index: 3;
}

.how-it-works.bg-alt {
    background: #f6f7f9;
}

.how-it-works::before,
.how-it-works::after {
    display: none;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

/* What you get - dark band (split from #how-it-works); tokens match .privacy-problem (platform.html) */
.what-you-get-section {
    --wyg-bg: #0f0f12;
    /* Elevated surface (was inner .platform-overview-card): column + feature icon chips */
    --wyg-surface: #1a1a1f;
    --wyg-border: #2a2a30;
    --wyg-card-hover-border: rgba(161, 161, 170, 0.35);
    --wyg-fg: #f4f4f5;
    --wyg-muted: #a1a1aa;
    /* Match .plat-audience --fg-light / .aud-card-title (light-surface copy on hover detail cards) */
    --wyg-hover-card-fg: #18181b;
    padding: 3.5rem 0;
    background: var(--wyg-bg);
    color: var(--wyg-fg);
    font-family: var(--site-font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    position: relative;
    overflow: visible;
    z-index: 3;
}

.what-you-get-section .container {
    position: relative;
    z-index: 1;
}

.what-you-get-section .dashboard-column.what-you-get-column {
    background: var(--wyg-surface);
    border: 1px solid var(--wyg-border);
    box-shadow: none;
}

.what-you-get-section .dashboard-column.what-you-get-column:hover {
    transform: none;
    border-color: var(--wyg-card-hover-border);
    box-shadow: none;
}

.what-you-get-section .column-title {
    color: var(--wyg-fg);
    font-family: var(--site-font-sans);
}

.what-you-get-section .column-icon {
    background-color: var(--wyg-surface);
    border: 1px solid var(--wyg-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.what-you-get-section .dashboard-column.what-you-get-column:hover .column-icon {
    background-color: var(--wyg-surface);
    border-color: var(--wyg-border);
}

.what-you-get-section .column-header::before {
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.3) 55%,
        rgba(153, 229, 244, 0.85) 100%
    );
    opacity: 0.75;
}

.what-you-get-section .column-header::after {
    background: rgba(153, 229, 244, 0.92);
    opacity: 0.85;
}

.what-you-get-section .dashboard-column:hover .column-header::before {
    width: calc(100% - 2rem);
    background: linear-gradient(to right, rgba(153, 229, 244, 0.45), rgba(153, 229, 244, 0.9));
    opacity: 1;
}

.what-you-get-section .dashboard-column:hover .column-header::after {
    left: calc(100% - 2rem + 6px);
    opacity: 1;
}

@media (max-width: 900px) {
    .what-you-get-section .what-you-get-column .platform-overview-card {
        padding: 1rem;
    }
}

/* #what-you-get: Ubuntu Sans everywhere (incl. hover) + zinc text/icon treatment inside .platform-overview-card */
.what-you-get-section .platform-overview-card,
.what-you-get-section .platform-overview-card .platform-feature,
.what-you-get-section .platform-overview-card .platform-feature-detail {
    font-family: var(--site-font-sans);
}

.what-you-get-section .platform-overview-card .platform-feature-icon {
    background: var(--wyg-surface);
    border: 1px solid var(--wyg-border);
}

.what-you-get-section .platform-overview-card .platform-feature-icon svg {
    color: var(--wyg-muted);
}

.what-you-get-section .platform-overview-card .platform-feature-text,
.what-you-get-section .platform-overview-card .platform-feature-text p,
.what-you-get-section .platform-overview-card .platform-feature p {
    color: var(--wyg-fg) !important;
    font-family: var(--site-font-sans) !important;
}

.what-you-get-section .platform-overview-card .platform-feature-text .feature-subtext {
    color: var(--wyg-muted) !important;
    font-family: var(--site-font-sans) !important;
}

.what-you-get-section .platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-icon,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-icon,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-icon,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-icon,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-icon,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-icon {
    background: var(--wyg-surface);
    border-color: var(--wyg-card-hover-border);
    box-shadow: none;
}

.what-you-get-section .platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-text,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-text p,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(1):hover .platform-feature p,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-text,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-text p,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature p,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-text,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-text p,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(2):hover .platform-feature p,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-text,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-text p,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature p,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-text,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-text p,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(3):hover .platform-feature p,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-text,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-text p,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature p {
    color: var(--wyg-fg) !important;
    font-family: var(--site-font-sans) !important;
}

.what-you-get-section .platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-text .feature-subtext,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-text .feature-subtext,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-text .feature-subtext,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-text .feature-subtext,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-text .feature-subtext,
.what-you-get-section .platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-text .feature-subtext {
    color: var(--wyg-muted) !important;
    font-family: var(--site-font-sans) !important;
}

.what-you-get-section .platform-feature-detail {
    color: var(--wyg-hover-card-fg);
}

.what-you-get-section .platform-overview-card .platform-feature-detail p {
    font-family: var(--site-font-sans) !important;
    color: var(--wyg-hover-card-fg) !important;
}

/* How It Works - docs/how-it-works.html layout (scoped under #how-it-works .process-column) */
#how-it-works .process-column .hiw-body {
    --hiw-card: #ffffff;
    --hiw-border: #e4e4e7;
    --hiw-fg: #18181b;
    --hiw-muted: #71717a;
    --hiw-muted-soft: #a1a1aa;
    --hiw-icon-fill: #f4f4f5;
    --hiw-radius-lg: 0.5rem;
    --hiw-radius-xl: 0.75rem;
    font-family: var(--site-font-sans);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

#how-it-works .process-column .hiw-headline {
    margin: 0;
    font-size: 1.875rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-wrap: balance;
    text-align: center;
    color: var(--hiw-fg);
}

#how-it-works .process-column .hiw-headline-muted {
    color: var(--hiw-muted);
}

@media (min-width: 640px) {
    #how-it-works .process-column .hiw-headline {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    #how-it-works .process-column .hiw-headline {
        font-size: 3rem;
    }
}

#how-it-works .process-column .hiw-subtitle {
    max-width: 42rem;
    margin: 1rem auto 0;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--hiw-muted);
}

#how-it-works .process-column .how-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    #how-it-works .process-column .how-grid {
        margin-top: 4rem;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

#how-it-works .process-column .how-diagram-card {
    background: var(--hiw-card);
    border: 1px solid var(--hiw-border);
    border-radius: var(--hiw-radius-xl);
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    #how-it-works .process-column .how-diagram-card {
        padding: 2rem 2.5rem;
    }
}

#how-it-works .process-column .how-diagram-frame {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 520 / 648;
}

#how-it-works .process-column .how-diagram {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

#how-it-works .process-column .how-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
    padding: 0.5rem 0;
    min-height: 100%;
    justify-content: space-between;
}

#how-it-works .process-column .how-steps::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 2rem;
    bottom: 2rem;
    width: 1px;
    background: var(--hiw-border);
    z-index: 0;
}

#how-it-works .process-column .how-step {
    position: relative;
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1.25rem;
    align-items: start;
}

#how-it-works .process-column .how-step-icon {
    position: relative;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    border-radius: var(--hiw-radius-lg);
    background: var(--hiw-icon-fill);
    border: 1px solid var(--hiw-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hiw-fg);
    flex-shrink: 0;
}

#how-it-works .process-column .how-step-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--hiw-fg);
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#how-it-works .process-column .how-step-body {
    padding-top: 0.125rem;
    min-width: 0;
}

#how-it-works .process-column .how-step-num {
    display: block;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 700;
    color: var(--hiw-muted-soft);
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
}

#how-it-works .process-column .how-step-title {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--hiw-fg);
    letter-spacing: -0.01em;
}

#how-it-works .process-column .how-step-desc {
    margin: 0.625rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--hiw-muted);
}

@media (prefers-reduced-motion: no-preference) {
    #how-it-works .process-column .hiw-headline,
    #how-it-works .process-column .hiw-subtitle,
    #how-it-works .process-column .how-diagram-card,
    #how-it-works .process-column .how-step {
        opacity: 0;
        transform: translateY(20px);
        animation: hiwDocFadeUp 0.5s ease-out forwards;
    }

    #how-it-works .process-column .hiw-headline {
        animation-delay: 0s;
    }

    #how-it-works .process-column .hiw-subtitle {
        animation-delay: 0.1s;
    }

    #how-it-works .process-column .how-diagram-card {
        animation-delay: 0.2s;
    }

    #how-it-works .process-column .how-step:nth-child(1) {
        animation-delay: 0.25s;
    }

    #how-it-works .process-column .how-step:nth-child(2) {
        animation-delay: 0.35s;
    }

    #how-it-works .process-column .how-step:nth-child(3) {
        animation-delay: 0.45s;
    }

    #how-it-works .process-column .how-step:nth-child(4) {
        animation-delay: 0.55s;
    }
}

@keyframes hiwDocFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.how-it-works .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Dashboard Layout */
.platform-dashboard {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.dashboard-column {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 4px 16px rgba(59, 59, 59, 0.08), 0 2px 8px rgba(59, 59, 59, 0.04);
    border: 1.5px solid #e8ecf1;
    /* Subtle peach/purple gradient overlay */
    position: relative;
    transition: all var(--transition-base);
}


.dashboard-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 59, 59, 0.12), 0 4px 12px rgba(59, 59, 59, 0.08);
    border-color: var(--wave-accent-dark);
}

/* Dark-band internal cards - layered depth mirrors .dashboard-column (light sections) */
.privacy-problem,
.use-cases-dark,
.what-you-get-section {
    --dark-internal-card-shadow:
        0 4px 20px rgba(0, 0, 0, 0.38),
        0 2px 8px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --dark-internal-card-shadow-hover:
        0 10px 32px rgba(0, 0, 0, 0.5),
        0 4px 14px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.column-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.column-icon {
    width: 48px;
    height: 48px;
    background: var(--charcoal-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-self: center;
    transition: all var(--transition-base);
    padding: 8px;
}

.column-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dashboard-column:hover .column-icon {
    background: var(--charcoal-gray);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.column-title {
    font-family: var(--site-font-sans);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    align-self: center;
    line-height: 1.2;
}

.column-header::before {
    content: '';
    position: absolute;
    display: block;
    height: 2px;
    background: linear-gradient(
        to right,
        var(--medium-gray) 0%,
        var(--medium-gray) 70%,
        var(--column-header-line-accent) 100%
    );
    bottom: 0;
    left: 0;
    width: var(--column-title-width, 60%);
    transition: width 0.7s ease, background 0.7s ease;
    opacity: 0.6;
}

.column-header::after {
    content: '';
    position: absolute;
    display: block;
    background: var(--column-header-line-accent);
    mask: url('assets/images/banner-tag.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask: url('assets/images/banner-tag.svg') no-repeat center;
    -webkit-mask-size: contain;
    width: 32px;
    height: 20px;
    bottom: -1px;
    left: calc(var(--column-title-width, 60%) + 6px);
    transition: left 0.7s ease;
    opacity: 0.7;
}

.dashboard-column:hover .column-header::before {
    width: calc(100% - 2rem);
    background: var(--column-header-line-accent);
    opacity: 1;
}

.dashboard-column:hover .column-header::after {
    left: calc(100% - 2rem + 6px);
    opacity: 1;
}

/* Tooltips in #what-you-get extend below this row; keep them above benefits cards (later sibling paints on top by default). */
.what-you-get-section .what-you-get-column {
    position: relative;
    z-index: 5;
}

.what-you-get-section .platform-section {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: all var(--transition-base);
}

.what-you-get-section .platform-section:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.what-you-get-section .platform-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid;
    border-image: var(--gradient-primary) 1;
    padding-bottom: 0.75rem;
    position: relative;
    transition: all var(--transition-base);
}

.what-you-get-section .platform-section:hover .platform-title {
    color: var(--wave-accent-darker);
}

.what-you-get-section .platform-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 16px rgba(59, 59, 59, 0.08), 0 2px 8px rgba(59, 59, 59, 0.04);
    border: 1.5px solid #e8ecf1;
    transition: all var(--transition-base);
}

.what-you-get-section .platform-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 59, 59, 0.12), 0 4px 12px rgba(59, 59, 59, 0.08);
    border-color: var(--wave-accent-dark);
}

.what-you-get-section .platform-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    border-bottom: 3px solid;
    border-image: var(--gradient-primary) 1;
    padding-bottom: 0.5rem;
    position: relative;
    transition: all var(--transition-base);
}

.what-you-get-section .platform-section:hover .platform-title {
    color: var(--wave-accent-darker);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out forwards;
    padding-bottom: 8px;
    z-index: 1;
}

.section-title::before {
    content: '';
    position: absolute;
    display: block;
    width: var(--text-width-percent, 60%);
    height: 3px;
    background: linear-gradient(
        to right,
        var(--medium-gray) 0%,
        var(--medium-gray) 70%,
        var(--column-header-line-accent) 100%
    );
    bottom: 0;
    left: calc((100% - var(--text-width-percent, 60%)) / 2);
    transition: width 0.7s ease, left 0.7s ease, background 0.7s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    display: block;
    background: var(--column-header-line-accent);
    mask: url('assets/images/banner-tag.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask: url('assets/images/banner-tag.svg') no-repeat center;
    -webkit-mask-size: contain;
    width: 56px;
    height: 33px;
    bottom: -1px;
    left: calc((100% + var(--text-width-percent, 60%)) / 2 + 14px);
    transition: left 0.7s ease;
}

.section-title:hover::before {
    left: 0%;
    width: 100%;
    background: var(--column-header-line-accent);
}

.section-title:hover::after {
    left: calc(100% + 14px);
}

.steps {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    gap: 1.5rem;
    padding: 2rem 0;
}

/* Platform grid within What you get section */
.what-you-get-section .platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Connecting line between all steps */
.steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(to right, 
        var(--wave-accent-dark) 0%,
        var(--wave-accent-dark) 33%,
        #d1d9e3 33%,
        #d1d9e3 66%,
        var(--wave-accent-dark) 66%,
        var(--wave-accent-dark) 100%);
    z-index: 0;
    opacity: 0.4;
    transition: opacity var(--transition-base);
}

.steps:hover::before {
    opacity: 0.6;
    background: var(--wave-accent-dark);
}

/* Visual flow connectors - arrows between steps in horizontal layout */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 32px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #d1d9e3;
    z-index: 2;
    transition: all var(--transition-base);
    opacity: 0.5;
}

.step:hover:not(:last-child)::after {
    border-left-color: var(--wave-accent-dark);
    opacity: 0.9;
    transform: scale(1.15);
}

.step {
    flex: 1;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out forwards;
    border: 1.5px solid #e8ecf1;
    box-shadow: 0 4px 16px rgba(59, 59, 59, 0.08), 0 2px 8px rgba(59, 59, 59, 0.04);
    transition: all var(--transition-base);
    position: relative;
    overflow: visible;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.step:nth-child(1) {
    animation-delay: 0.1s;
}

.step:nth-child(2) {
    animation-delay: 0.2s;
}

.step:nth-child(3) {
    animation-delay: 0.3s;
}

.step:nth-child(4) {
    animation-delay: 0.4s;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(59, 59, 59, 0.12), 0 4px 12px rgba(59, 59, 59, 0.08);
    border-color: var(--wave-accent-dark);
    background: linear-gradient(135deg, #ffffff 0%, #f5f8fc 100%);
}

.step:hover::before {
    transform: scaleX(1);
}

.step-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--wave-accent-dark) 0%, var(--wave-accent-darker) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(107, 184, 208, 0.3), 0 2px 6px rgba(107, 184, 208, 0.2);
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    filter: blur(8px);
    transition: opacity var(--transition-base);
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(107, 184, 208, 0.4), 0 3px 10px rgba(107, 184, 208, 0.3);
    background: linear-gradient(135deg, var(--wave-accent-darker) 0%, #5aa5c0 100%);
}

.step:hover .step-number::after {
    opacity: 0.4;
}

.step-content {
    flex: 1;
    width: 100%;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    transition: color var(--transition-base);
    line-height: 1.3;
}

.step:hover .step-content h3 {
    color: var(--wave-accent-darker);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    transition: color var(--transition-base);
    font-size: 1rem;
}

.step:hover .step-content p {
    color: var(--text-primary);
}

/* Platform Features */
.platform {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.platform-section {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.platform-section:nth-child(1) {
    animation-delay: 0.1s;
}

.platform-section:nth-child(2) {
    animation-delay: 0.2s;
}

.platform-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

.platform-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    border-bottom: 3px solid;
    border-image: var(--gradient-primary) 1;
    padding-bottom: 0.5rem;
    position: relative;
    transition: all var(--transition-base);
}

.platform-section:hover .platform-title {
    color: var(--cyan-blue);
}

/* CTA Section */
.cta {
    padding: clamp(4.5rem, 7vw, 6.25rem) 0;
    background-color: oklch(23% 0.012 252);
    background-image: linear-gradient(180deg, oklch(21% 0.01 252) 0%, oklch(27% 0.015 255) 52%, oklch(23% 0.012 252) 100%);
    color: #f6f9fb;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(188, 210, 236, 0.2);
    border-bottom: 1px solid rgba(15, 23, 42, 0.28);
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 80% at 50% -20%, rgba(143, 196, 228, 0.18), transparent 55%),
        radial-gradient(85% 70% at 50% 120%, rgba(167, 146, 235, 0.13), transparent 60%);
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-panel {
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.9rem;
    text-align: center;
}

.cta-content {
    max-width: 760px;
    margin: 0 auto;
}

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin: 0 0 1.25rem;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    background: rgba(211, 228, 246, 0.1);
    border: 1px solid rgba(179, 208, 236, 0.26);
    color: rgba(198, 232, 251, 0.96);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cta-eyebrow-icon {
    display: inline-flex;
    width: 0.85rem;
    height: 0.85rem;
    color: rgba(188, 229, 251, 0.95);
    transform: translateY(-0.5px);
}

.cta-eyebrow-icon svg {
    width: 100%;
    height: 100%;
}

.cta-content h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.6rem, 1.2rem + 1.05vw, 2.15rem);
    line-height: 1.14;
    letter-spacing: -0.014em;
    color: #f6f9ff;
    text-wrap: pretty;
    text-align: center;
}

.cta-content p:not(.cta-eyebrow) {
    max-width: 62ch;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.58;
    color: rgba(222, 235, 249, 0.82);
    text-align: center;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.cta .cta-buttons .btn {
    min-height: 44px;
    min-width: 0;
    padding: 0.64rem 1.08rem;
    border-radius: 11px;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.cta .cta-btn-primary {
    border: 1px solid rgba(214, 226, 243, 0.32);
    background-color: #0f0f12;
    background-image: none;
    color: #ffffff;
    box-shadow: 0 8px 20px -14px rgba(15, 15, 18, 0.62);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta .cta-btn-primary:hover {
    transform: translateY(-1px);
    background-color: #1c1c22;
    background-image: none;
    border-color: rgba(226, 236, 248, 0.5);
    color: #ffffff;
    box-shadow: 0 10px 24px -14px rgba(15, 15, 18, 0.72);
}

.cta .cta-btn-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

.cta .cta-btn-primary:hover .cta-btn-arrow {
    transform: translateX(2px);
}

.cta .cta-btn-secondary {
    border: 1px solid rgba(188, 223, 255, 0.22);
    background-image: linear-gradient(90deg, rgba(95, 214, 255, 0.96), rgba(176, 145, 255, 0.96));
    color: #f7fbff;
    box-shadow: 0 12px 25px -14px rgba(148, 175, 255, 0.95);
}

.cta .cta-btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -14px rgba(148, 175, 255, 0.98);
}

.cta .cta-buttons .btn:active {
    transform: translateY(0);
}

.hero-content-box .btn-primary,
.cta.cta--light .cta-buttons .btn-primary {
    text-transform: none;
    border-radius: 11px;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0;
    -webkit-text-stroke-width: 0;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    padding: 0.64rem 1.08rem;
    min-height: 44px;
    box-shadow: 0 2px 6px rgba(15, 15, 18, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-family: var(--hero-content-font);
    background: #0f0f12;
    color: #f4f4f5;
    border: 1px solid #0f0f12;
}

.hero-content-box .btn-primary:hover,
.cta.cta--light .cta-buttons .btn-primary:hover {
    background: #1c1c22;
    border-color: #1c1c22;
    color: #f4f4f5;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(15, 15, 18, 0.24);
}

@keyframes heroStatusDot {
    0%, 100% {
        opacity: 0.45;
        transform: scale(0.9);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
    55% {
        opacity: 0.8;
        transform: scale(0.95);
    }
}

@keyframes heroStatusWave {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    20% {
        opacity: 0.65;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.8);
    }
}

.hero-content-box .hero-buttons,
.cta.cta--light .cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: auto;
}

.hero-content-box .hero-buttons .btn {
    min-width: 122px;
    font-family: var(--hero-content-font);
}

.hero-content-box .hero-buttons .cta-btn-primary {
    min-height: 44px;
    min-width: 0;
    width: auto;
    padding: 0.64rem 1.08rem;
    border-radius: 11px;
    border: 1px solid #0f172a;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-content-box .hero-buttons .cta-btn-primary:hover {
    transform: translateY(-2px);
    background: #1e293b;
    border-color: #1e293b;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
    color: #ffffff;
}

.hero-content-box .hero-buttons .cta-btn-secondary {
    min-height: 44px;
    min-width: 0;
    width: auto;
    padding: 0.64rem 1.08rem;
    border-radius: 11px;
    text-transform: none;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0;
    border: 1px solid #c5cdd8;
    background: #f3f4f6;
    color: #2f3a4c;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.hero-content-box .hero-buttons .cta-btn-secondary:hover {
    transform: translateY(-1px);
    background: #ffffff;
    border-color: #b9c3d1;
    color: #1f2937;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.hero-content-box .hero-buttons .cta-btn-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

.hero-content-box .hero-buttons .cta-btn-primary:hover .cta-btn-arrow {
    transform: translateX(2px);
}

.hero-content-box .hero-buttons .btn-primary:not(.cta-btn-primary)::after,
.cta.cta--light .cta-buttons .btn-primary::after {
    content: '\2197';
    display: inline-block;
    margin-left: 0.34rem;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1;
    transform: translateY(-1px) translateX(0);
    transition: transform var(--transition-base);
}

.hero-content-box .hero-buttons .btn-primary:not(.cta-btn-primary):hover::after,
.cta.cta--light .cta-buttons .btn-primary:hover::after {
    transform: translateY(-2px) translateX(2px);
}

@media (max-width: 900px) {
    .cta {
        padding: 4rem 0;
    }

    .cta-panel {
        align-items: center;
    }

    .cta-content p {
        line-height: 1.62;
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* Light CTA (platform): same surface + type as .plat-audience; buttons match hero */
.cta.cta--light {
    --hero-content-font: var(--site-font-sans);
    --ink: #0f0f12;
    --plat-aud-bg: #f6f7f9;
    --plat-aud-fg: #18181b;
    --plat-aud-muted: #71717a;
    background: var(--plat-aud-bg);
    color: var(--plat-aud-fg);
    font-family: var(--hero-content-font);
    padding: 5rem 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .cta.cta--light {
        padding: 6.5rem 0;
    }
}

.cta.cta--light::before,
.cta.cta--light::after {
    display: none;
}

.cta.cta--light .container {
    position: relative;
    z-index: 1;
}

.cta.cta--light .cta-content {
    font-family: inherit;
}

.cta.cta--light .cta-content h2 {
    margin: 0 0 1rem;
    font-size: 1.875rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-wrap: balance;
    color: var(--plat-aud-fg);
}

@media (min-width: 640px) {
    .cta.cta--light .cta-content h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) {
    .cta.cta--light .cta-content h2 {
        font-size: 3rem;
    }
}

.cta.cta--light .cta-content p {
    margin: 0 auto 2rem;
    max-width: 36rem;
    font-size: 1.125rem;
    line-height: 1.55;
    font-weight: 400;
    color: var(--plat-aud-muted);
    opacity: 1;
}

/* Site footer — see footer.css */

@media (max-width: 960px) {
    .navbar {
        width: calc(100vw - 1rem);
        max-width: none;
        left: 0;
        right: 0;
        transform: none;
        margin: 0 auto;
        padding: 0.7rem 0 0.4rem;
    }

    .nav-content {
        min-height: 58px;
        padding: 0.72rem 1rem;
        border-radius: 16px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background-color: oklch(0.2 0.012 250 / 0.92);
        background-image: none;
        flex-direction: column;
        padding: 1.2rem 1rem;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
        gap: 1rem;
        overflow: visible;
        border-radius: 18px;
        border: 1px solid var(--nav-border);
        transform: none;
        left: 0;
    }

    .nav-cta {
        display: none;
    }

    .nav-socials {
        display: none;
    }

    .nav-item-mobile-only {
        display: list-item;
    }

    .nav-socials-mobile {
        display: list-item;
        margin-top: 0.35rem;
    }

    .nav-socials-mobile-list {
        list-style: none;
        margin: 0;
        padding: 0.4rem 0.25rem 0.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .nav-socials-mobile-list a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        opacity: 0.9;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-socials-mobile-list a:hover {
        opacity: 1;
        transform: translateY(-1px);
    }

    .nav-socials-mobile-list img {
        width: 20px;
        height: 20px;
        filter: brightness(0) invert(1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links > li {
        width: 100%;
    }

    .nav-links > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.62rem 0.25rem;
    }

    .nav-dropdown > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: oklch(0.2 0.012 250 / 0.86);
        background-image: none;
        border: 1px solid var(--nav-border);
        border-radius: 10px;
        margin-top: 0.25rem;
        padding: 0.35rem;
        display: none;
    }

    .dropdown-menu a {
        padding: 0.62rem 0.75rem;
        border-radius: 8px;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-dropdown-arrow {
        transform: rotate(0deg);
    }

    .nav-dropdown.active .nav-dropdown-arrow {
        transform: rotate(180deg);
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .encryption-visual {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        padding-bottom: 5rem;
    }

    .hero-wires-center {
        padding: 6.9rem 0 7rem;
    }

    .hero-content-box {
        padding: 2.2rem 2rem;
        max-width: min(96%, 760px);
        border-radius: 1.25rem;
    }

    .hero-speed-floating {
        margin-top: 1.35rem;
        font-size: clamp(2.3rem, 13vw, 4.8rem);
    }

    .hero-content-box .hero-title {
        font-size: clamp(2.9rem, 8.2vw, 3.5rem);
    }

    .hero-content-box .hero-subtitle {
        font-size: 1.1rem;
    }

    .internal-gpu-animation {
        width: min(76%, 290px);
        margin: 0.2rem auto 0.5rem;
        opacity: 0.24;
    }


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

    .steps {
        flex-direction: column;
        gap: 3rem;
        padding: 2rem 0;
    }

    .steps::before {
        display: none;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .step {
        padding: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .platform-dashboard {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .dashboard-column {
        padding: 2rem;
    }

    .column-header {
        margin-bottom: 2rem;
    }

    .column-title {
        font-size: 28px;
    }

    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
    }

    .step-content h3 {
        font-size: 1.35rem;
    }

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

    .platform-side {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-bottom: 4.4rem;
    }

    .hero-wires-center {
        padding: 6.4rem 0 6.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-content-box .hero-buttons .btn,
    .cta.cta--light .cta-buttons .btn {
        min-width: 100%;
        border-radius: 11px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-content-box .hero-buttons .btn {
        min-width: 100%;
    }

    .internal-gpu-animation {
        width: min(78%, 230px);
        margin: 0.15rem auto 0.45rem;
        opacity: 0.22;
    }

    .hero-speed-floating {
        margin-top: 1rem;
        font-size: clamp(2rem, 15vw, 3.6rem);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .cta .cta-buttons .btn {
        min-width: 0;
        min-height: 44px;
        font-size: 0.86rem;
    }

}

@keyframes heroSpeedReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: var(--shadow-md);
    }
    50% {
        box-shadow: var(--shadow-gradient);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Smooth entrance animations for sections */
.value-card,
.step,
.platform-section,
.use-case-card,
.fhe-step {
    will-change: transform, opacity;
}

/* Logo Link */
.logo-link {
    text-decoration: none;
    color: inherit;
}

/* Active Navigation Link */
.nav-links a.active {
    color: var(--nav-fg);
    font-weight: 600;
}

.nav-links a.active::after {
    max-width: 100%;
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: var(--bg-primary);
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

/* Centered page header (for HEAL, FHE, WORKLOADS) */
.page-header-centered {
    text-align: center;
    padding-top: 10rem; /* extra space above title (base .page-header is 8rem) */
    padding-bottom: 2.5rem; /* reset to original spacing below hero content */
}

.page-header-centered .page-header-content {
    justify-content: center;
}

.page-header-centered .page-header-accent {
    display: none;
}

.page-header-centered .page-title {
    font-size: var(--platform-section-title-size);
    margin: 0.6rem 0 0;
    padding-bottom: 0.5rem;
}

.page-header-centered .page-title::before,
.page-header-centered .page-title::after {
    display: none;
}

.page-header-centered .page-subtitle {
    margin: 0 auto;
}

.page-header-centered .page-eyebrow {
    display: none;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg1.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg2.png');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.page-header-content {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* When page-header-content has back button, align items to bottom */
.page-header-with-back {
    align-items: flex-end;
}

.page-header-centered .page-header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-header-accent {
    width: 3px;
    height: auto;
    min-height: 128px;
    background: oklch(64% 0.13 220);
    flex-shrink: 0;
    border-radius: 3px;
    opacity: 1;
    transform: none;
    animation: none;
}

.page-header-text {
    flex: 1;
    max-width: 760px;
    padding-top: 0;
}

/* Shared section title treatment for in-page headings */
.section-header-shared {
    margin-bottom: 2rem;
    align-items: flex-start;
}

.section-header-shared .page-header-accent,
.section-header-shared .page-eyebrow,
.section-header-shared .page-title,
.section-header-shared .page-subtitle {
    animation: none;
    opacity: 1;
    transform: none;
}

.section-header-shared .page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.9rem;
}

.section-header-shared .page-subtitle {
    max-width: 30rem;
}

.section-header-shared--dark .page-eyebrow {
    color: var(--pp-muted);
}

.section-header-shared--dark .page-title {
    color: var(--pp-fg);
}

.section-header-shared--dark .page-subtitle {
    color: var(--pp-muted-soft);
}

/* Platform alternating section skeleton primitives (exact reference template values) */
.platform-section-shell {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.platform-section-shell__inner {
    min-height: 0;
}

.platform-section-shell__header {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 48rem;
}

.platform-section-shell__accent {
    width: 3px;
    border-radius: 3px;
    background: oklch(64% 0.13 220);
}

.platform-section-shell__title-block {
    flex: 1;
    padding-left: 1.5rem;
}

.platform-section-shell__eyebrow {
    margin: 0;
    min-height: 0.78rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1;
}

.platform-section-shell__title {
    margin: 0.6rem 0 0;
    min-height: 3.95rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--brand, oklch(72% 0.11 220));
    font-size: var(--platform-section-title-size);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    display: inline-block;
}

.platform-section-shell__subtitle {
    margin: 1.25rem 0 0;
    min-height: 1.5rem;
    max-width: 30rem;
    font-size: 1rem;
    line-height: 1.625;
}

.platform-section-shell__content {
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.platform-section--dark {
    /* Elevated panels / matrix body — matches how-it-works phase cards */
    --platform-elevated-surface:
        linear-gradient(rgba(22, 27, 32, 0.5), rgba(14, 18, 23, 0.5)),
        rgb(18, 23, 27);
    background: rgb(18, 23, 27) !important;
    background-image:
        radial-gradient(circle, oklch(32% 0.06 220 / 0.4) 0%, transparent 60%),
        radial-gradient(circle, oklch(30% 0.05 295 / 0.35) 0%, transparent 60%) !important;
    background-size: 900px 500px, 900px 500px !important;
    background-position: calc(100% + 320px) -220px, -320px calc(100% + 220px) !important;
    background-repeat: no-repeat, no-repeat !important;
    color: #f6f9fb;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.platform-section--dark .platform-section-shell__eyebrow {
    color: #989fa8;
}

.platform-section--dark .platform-section-shell__title {
    color: #f6f9fb;
}

.platform-section--dark .platform-section-shell__subtitle {
    color: color-mix(in oklab, #ffffff 70%, transparent);
}

.platform-section--light {
    color: #11171d;
    /* Section title accents: vertical rail / horizontal rule under H2 */
    --section-title-accent-v: oklch(0.64 0.13 220);
    --section-title-accent-h: oklch(0.72 0.11 220);
    background:
        radial-gradient(900px 500px at 85% -5%, #c8ebf766, transparent 60%),
        radial-gradient(900px 500px at 5% 105%, #e6e0fd59, transparent 60%),
        #f2f6f8;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.platform-section--light .platform-section-shell__accent {
    background: oklch(64% 0.13 220);
}

.platform-section--light .platform-section-shell__eyebrow {
    color: #5b646f;
}

.platform-section--light .platform-section-shell__title {
    color: #11171d;
}

.platform-section--light .platform-section-shell__subtitle {
    color: #474e55;
}

/* Privacy problem section (exact source style mapped to current classes) */
.privacy-problem {
    padding: 6rem 0;
}

.privacy-problem__container {
    max-width: 80rem;
}

.privacy-problem__header {
    display: block;
    max-width: 48rem;
    border-left: 3px solid oklch(0.72 0.11 220);
    padding-left: 24px;
}

.privacy-problem__rail {
    display: none;
}

.privacy-problem__header-content {
    padding-left: 0;
}

.privacy-problem__eyebrow {
    margin: 0;
    font-size: 12.48px;
    font-weight: 600;
    letter-spacing: 2.7456px;
    line-height: 18.72px;
    color: #989fa8;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.privacy-problem__title {
    margin: 0.6rem 0 0;
    font-size: var(--platform-section-title-size);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #f6f9fb;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--brand, oklch(72% 0.11 220));
    display: inline-block;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Lock section heading scale to reference values across shared headers */
.section-header-shared .page-title,
#how-it-works .page-header-content.section-header-shared .page-title {
    font-size: var(--platform-section-title-size) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
    font-weight: 700 !important;
}

.privacy-problem__subtitle {
    margin: 1.25rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.5;
    color: color-mix(in oklab, #ffffff 70%, transparent);
    max-width: 30rem;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Platform: split column + comparison matrix (privacy-problem--split) */
.privacy-problem--split {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.privacy-problem__container--split {
    max-width: 80rem;
}

.privacy-problem--split .privacy-problem__split-grid {
    display: grid;
    /* Table column wider than copy column */
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.25fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

/* Split layout: no left rail (matrix carries visual weight) */
.privacy-problem--split .privacy-problem__header {
    display: block;
    max-width: 52rem;
    border-left: none;
    padding-left: 0;
}

.privacy-problem--split .privacy-problem__subtitle {
    line-height: 1.625;
    max-width: 44rem;
}

.privacy-problem__matrix-wrap {
    border-radius: 14px;
    border: 1px solid rgba(120, 148, 178, 0.24);
    background: rgba(9, 14, 22, 0.94);
    box-shadow:
        0 0 0 1px rgba(120, 148, 178, 0.1),
        0 24px 48px -28px rgba(0, 0, 0, 0.72);
    overflow: hidden;
}

.privacy-problem__matrix {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.8125rem;
}

.privacy-problem__matrix thead th {
    background: linear-gradient(
        180deg,
        rgba(36, 43, 54, 0.92) 0%,
        rgba(28, 35, 46, 0.92) 100%
    );
    border-bottom: 1px solid rgba(120, 148, 178, 0.2);
}

.privacy-problem__matrix-corner {
    width: 34%;
    min-width: 11.75rem;
}

.privacy-problem__matrix-colhead {
    padding: 1rem 0.78rem 0.85rem;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    /* Same as .platform-section--dark .platform-punchline */
    color: #9ca8b8;
}

.privacy-problem__matrix tbody tr:not(.privacy-problem__matrix-row--lattica) {
    border-bottom: 1px solid rgba(120, 148, 178, 0.16);
}

/* Body rows (not Lattica highlight): same surface as how-it-works phase cards */
.privacy-problem__matrix tbody tr:not(.privacy-problem__matrix-row--lattica) .privacy-problem__matrix-rowhead,
.privacy-problem__matrix tbody tr:not(.privacy-problem__matrix-row--lattica) .privacy-problem__matrix-cell {
    background: linear-gradient(180deg, rgba(11, 18, 28, 0.96) 0%, rgba(9, 15, 24, 0.96) 100%);
}

.privacy-problem__matrix-rowhead {
    padding: 0.9rem 1rem 0.9rem 1.15rem;
    text-align: left;
    font-weight: 500;
    color: #e5e7eb;
    vertical-align: middle;
}

.privacy-problem__matrix-rowhead--brand {
    font-weight: 700;
    color: #ffffff;
}

.privacy-problem__matrix-cell {
    padding: 0.65rem 0.62rem;
    text-align: center;
    vertical-align: middle;
}

.privacy-problem__matrix tbody tr:not(.privacy-problem__matrix-row--lattica) .privacy-problem__matrix-rowhead,
.privacy-problem__matrix tbody tr:not(.privacy-problem__matrix-row--lattica) .privacy-problem__matrix-cell {
    transition:
        background-color 180ms ease,
        box-shadow 220ms ease,
        color 180ms ease;
}

.privacy-problem__matrix tbody tr:not(.privacy-problem__matrix-row--lattica):hover .privacy-problem__matrix-rowhead,
.privacy-problem__matrix tbody tr:not(.privacy-problem__matrix-row--lattica):hover .privacy-problem__matrix-cell {
    background: linear-gradient(180deg, rgba(16, 25, 37, 0.98) 0%, rgba(12, 20, 31, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(156, 209, 255, 0.12), inset 0 -1px 0 rgba(102, 182, 255, 0.1);
}

.privacy-problem__matrix tbody tr:not(.privacy-problem__matrix-row--lattica):hover .privacy-problem__matrix-rowhead {
    color: #f3f7ff;
}

/* Plain ✓ / × — gain matches .privacy-problem__gain-chip; × uses --amber (harmonic vs harsh chip red) */
.privacy-problem__matrix-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    width: auto;
    height: auto;
    min-width: 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.privacy-problem__matrix-icon--yes {
    color: #67f5e2;
}

/* Warmer than pure amber, softer than loss-chip red — nudge hue toward red */
.privacy-problem__matrix-icon--no {
    color: #ff6b63;
}

.privacy-problem__matrix-row--lattica .privacy-problem__matrix-rowhead,
.privacy-problem__matrix-row--lattica .privacy-problem__matrix-cell {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    background: linear-gradient(180deg, rgba(20, 25, 34, 0.98) 0%, rgba(15, 20, 29, 0.98) 100%);
    border-top: 1px solid oklch(0.72 0.11 220 / 0.92);
    border-bottom: 1px solid oklch(0.72 0.11 220 / 0.44);
    box-shadow:
        inset 0 1px 0 oklch(0.8 0.09 220 / 0.46),
        inset 0 -1px 0 oklch(0.66 0.09 220 / 0.3);
}

.privacy-problem__matrix-row--lattica .privacy-problem__matrix-cell:last-child {
    border-bottom-right-radius: 12px;
    border-right: 1px solid oklch(0.72 0.11 220 / 0.68);
}

.privacy-problem__matrix-row--lattica .privacy-problem__matrix-rowhead {
    border-bottom-left-radius: 12px;
    border-left: 1px solid oklch(0.72 0.11 220 / 0.68);
}

@media (prefers-reduced-motion: reduce) {
    .privacy-problem__matrix tbody tr:not(.privacy-problem__matrix-row--lattica) .privacy-problem__matrix-rowhead,
    .privacy-problem__matrix tbody tr:not(.privacy-problem__matrix-row--lattica) .privacy-problem__matrix-cell {
        transition: none;
    }
}

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

@media (max-width: 992px) {
    .privacy-problem--split .privacy-problem__split-grid {
        grid-template-columns: 1fr;
    }

    .privacy-problem__matrix-wrap {
        order: 0;
    }
}

/* How It Works title theme: match Privacy header geometry */
#how-it-works .page-header-content.section-header-shared {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 2.2rem;
}

#how-it-works .page-header-content.section-header-shared .page-header-accent {
    width: 3px;
    height: auto;
    border-radius: 3px;
    background: #22cbef;
}

#how-it-works .page-header-content.section-header-shared .page-header-text {
    max-width: 760px;
    padding-top: 0;
}

#how-it-works .page-header-content.section-header-shared .page-eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    font-weight: 600;
}

#how-it-works .page-header-content.section-header-shared .page-title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.55rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid #22cbef;
}

#how-it-works .page-header-content.section-header-shared .page-subtitle {
    margin: 0.75rem 0 0;
    font-size: 1.02rem;
    line-height: 1.5;
    max-width: 30rem;
}

.privacy-problem__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.privacy-problem__card {
    color: #11171d;
    background: #fff;
    border: 1px solid oklch(17% 0.02 250 / 0.1);
    border-radius: 20px;
    box-shadow: 0 30px 60px -25px oklch(20% 0.05 230 / 0.25), 0 8px 20px -10px oklch(20% 0.05 230 / 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
    padding: 1.5rem 1.5rem 1.25rem;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
    animation: none;
    cursor: default;
}

.privacy-problem__card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, oklch(72% 0.11 220), oklch(72% 0.1 295));
    opacity: 0.85;
}

.privacy-problem__card-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.2rem;
}

/* Match .platform-section--light.fhe-tech-bottleneck .fhe-tech-card__icon-wrap */
.privacy-problem__icon-wrap,
.lattica-approach__icon-wrap {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, oklch(92% 0.03 220), oklch(90% 0.02 250));
    border: 1px solid oklch(78% 0.03 240 / 0.6);
    color: oklch(56% 0.13 220);
    flex-shrink: 0;
}

.privacy-problem__icon,
.lattica-approach__icon {
    width: 0.95rem;
    height: 0.95rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.privacy-problem__card h3 {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: #11171d;
}

.privacy-problem__card p {
    margin: 0;
    color: #2d343a;
    font-size: 0.875rem;
    line-height: 1.625;
}

.privacy-problem__loss-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 19.2px;
    color: #cc272e;
    background: #e858541a;
    border: 1px solid #e8585459;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    width: fit-content;
    min-width: 0;
    text-align: center;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    margin-top: auto;
    align-self: center;
}

.privacy-problem__loss-chip::before {
    content: "×";
    font-weight: 600;
    line-height: 1;
}

.privacy-problem__all-three {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: center;
    align-content: center;
    font-size: 1rem;
    line-height: 1.15;
    text-align: center;
}

.privacy-problem__all-three-label {
    display: inline-flex;
    align-items: center;
    font-size: 1em;
}

/* Punchline is eyebrow-style type; give it a full row above the gain chips */
.privacy-problem__all-three .privacy-problem__all-three-label.platform-punchline {
    flex: 1 0 100%;
    justify-content: center;
    max-width: 100%;
}

.privacy-problem__gain-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    color: oklch(0.85 0.1 165);
    background-color: rgba(0, 0, 0, 0);
    background-image: none;
    border: 1px solid oklch(0.85 0.1 165 / 0.5);
    border-radius: 999px;
    padding: 0.56rem 1rem;
    font-size: 0.78rem;
    box-shadow: none;
    text-align: center;
    line-height: 1.15;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-weight: 500;
}

@media (max-width: 768px) {
    .privacy-problem__all-three {
        font-size: 1rem;
    }
}

.privacy-problem__gain-chip::before {
    content: "✓";
    font-weight: 600;
    line-height: 1;
}

@media (max-width: 992px) {
    .privacy-problem__cards {
        grid-template-columns: 1fr;
    }
}

/* Lattica approach section */
.lattica-approach {
    margin-top: 0;
    padding: 6rem 0;
}

.lattica-approach__container {
    max-width: 80rem;
}

.lattica-approach__header {
    display: block;
    max-width: 52rem;
    border-left: 3px solid oklch(0.72 0.11 220);
    padding-left: 24px;
}

.lattica-approach__rail {
    display: none;
}

.lattica-approach__header-content {
    padding-left: 0;
}

.lattica-approach__eyebrow {
    margin: 0;
    font-size: 12.48px;
    font-weight: 600;
    letter-spacing: 2.7456px;
    line-height: 18.72px;
    color: #5b646f;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.lattica-approach__title {
    margin: 0.6rem 0 0;
    font-size: var(--platform-section-title-size);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #11171d;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--brand, oklch(72% 0.11 220));
    display: inline-block;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.lattica-approach__subtitle {
    margin: 1.25rem 0 0;
    font-size: 1rem;
    line-height: 1.625;
    color: #474e55;
    max-width: 44rem;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Platform page only: two-column intro + white stacked panel (reference layout) */
/* Same column ratio + gap as .privacy-problem--split .privacy-problem__split-grid */
.lattica-approach__split {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.25fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.lattica-approach__copy {
    max-width: 52rem;
}

.lattica-approach--platform .lattica-approach__title {
    border-bottom-width: 2px;
}

.platform-section--light.lattica-approach .lattica-approach__title {
    border-bottom-color: var(--section-title-accent-h, oklch(0.72 0.11 220));
}

.lattica-approach__lede {
    margin: 1.15rem 0 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #5b646f;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.lattica-approach__lede + .lattica-approach__lede {
    margin-top: 0.95rem;
}

.lattica-approach__panel {
    background: #ffffff;
    border: 1px solid rgba(228, 232, 238, 0.95);
    border-radius: 22px;
    box-shadow:
        0 28px 56px -26px oklch(20% 0.05 230 / 0.22),
        0 10px 24px -12px oklch(20% 0.05 230 / 0.12);
    overflow: hidden;
}

/* ~25% index column | gutter + inset rule | ~75% content */
.lattica-approach__panel-row {
    display: grid;
    grid-template-columns: minmax(5.25rem, 25%) 14px minmax(0, 1fr);
    align-items: stretch;
    margin: 0;
}

.lattica-approach__panel-row + .lattica-approach__panel-row {
    border-top: 1px solid #eceff4;
}

.lattica-approach--platform .lattica-approach__panel-row {
    transition: background-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .lattica-approach--platform .lattica-approach__panel-row:hover {
        background-color: color-mix(in oklab, #5eb6d4 12%, #ffffff);
    }
}

.lattica-approach__row-key {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.45rem 0.75rem 1.45rem 1.5rem;
}

.lattica-approach__row-num {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #5eb6d4;
    font-variant-numeric: tabular-nums;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.lattica-approach__row-label {
    font-size: 0.75rem;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #52525c;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Vertical rule inset so it does not meet row top/bottom */
.lattica-approach__row-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
    padding: 1.2rem 0;
    box-sizing: border-box;
}

.lattica-approach__row-divider-line {
    flex: 1;
    width: 1px;
    min-height: 2.5rem;
    background: #e1e6ed;
    border-radius: 1px;
}

.lattica-approach__row-main {
    display: flex;
    gap: 1.05rem;
    align-items: flex-start;
    padding: 1.45rem 1.5rem 1.45rem 0.35rem;
    min-width: 0;
}

.lattica-approach--platform .lattica-approach__icon-wrap--panel {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin-top: 0.08rem;
    background: linear-gradient(155deg, #f0f9fc 0%, #dff3fb 48%, #e8f6fd 100%);
    border: 1px solid rgba(141, 208, 232, 0.55);
    color: #1e5a8a;
}

.lattica-approach--platform .lattica-approach__icon-wrap--panel .lattica-approach__icon {
    width: 1.05rem;
    height: 1.05rem;
}

.lattica-approach__row-text {
    min-width: 0;
}

.lattica-approach__row-title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    color: #11171d;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.lattica-approach__row-desc {
    margin: 0.45rem 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #5b646f;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (max-width: 992px) {
    .lattica-approach__split {
        grid-template-columns: 1fr;
    }
}

.lattica-approach__kicker {
    margin: 1rem auto 0;
    text-align: center;
}

/* Eyebrow-style punchline: caps, wide tracking, light weight (matches reference labels) */
.platform-punchline {
    font-size: clamp(0.72rem, 1.35vw, 0.9rem);
    line-height: 1.45;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 1.4rem;
    margin-bottom: 1.4rem;
}

.platform-section--light .platform-punchline {
    color: #5b646f;
}

.platform-section--dark .platform-punchline {
    color: #989fa8;
}

.platform-punchline--compact {
    font-size: clamp(0.68rem, 1.25vw, 0.85rem);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .platform-punchline {
        font-size: clamp(0.68rem, 3.2vw, 0.82rem);
        letter-spacing: 0.16em;
    }

    .platform-punchline--compact {
        font-size: clamp(0.65rem, 3vw, 0.78rem);
    }
}

.lattica-approach__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.lattica-approach__card {
    background: #ffffff;
    border: 1px solid oklch(17% 0.02 250 / 0.1);
    border-radius: 20px;
    box-shadow: 0 30px 60px -25px oklch(20% 0.05 230 / 0.25), 0 8px 20px -10px oklch(20% 0.05 230 / 0.15);
    padding: 1.5rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
    animation: none;
    cursor: default;
}

.lattica-approach__card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, oklch(72% 0.11 220), oklch(72% 0.1 295));
    opacity: 0.85;
}

.lattica-approach__card h3 {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #11171d;
    font-weight: 600;
}

.lattica-approach__card-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.2rem;
}

.lattica-approach__card p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: #2d343a;
}

@media (max-width: 992px) {
    .lattica-approach__cards {
        grid-template-columns: 1fr;
    }
}

/* How it works section (platform page) */
.how-it-works-platform {
    margin-top: 0;
    padding: 6rem 0;
    --hiw-surface-bg: var(--platform-elevated-surface);
    --hiw-surface-border: oklch(34% 0.008 285 / 0.58);
    --hiw-surface-inset: oklch(42% 0.01 285 / 0.28);
    --hiw-surface-rule: oklch(44% 0.012 285);
    /* Diagram sticky offset: clear fixed navbar (~72px bar + padding) */
    --hiw-diagram-sticky-top: clamp(5rem, 8vw, 6.75rem);
}

.how-it-works-platform__container {
    max-width: 80rem;
}

.how-it-works-platform__header {
    display: block;
    max-width: 52rem;
    border-left: 3px solid oklch(0.72 0.11 220);
    padding-left: 24px;
}

.how-it-works-platform__rail {
    display: none;
}

.how-it-works-platform__header-content {
    padding-left: 0;
}

.how-it-works-platform__eyebrow {
    margin: 0;
    font-size: 12.48px;
    font-weight: 600;
    letter-spacing: 2.7456px;
    line-height: 18.72px;
    color: #989fa8;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.how-it-works-platform__title {
    margin: 0.6rem 0 0;
    font-size: var(--platform-section-title-size);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #f6f9fb;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--brand, oklch(72% 0.11 220));
    display: inline-block;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.how-it-works-platform__subtitle {
    margin: 1.25rem 0 0;
    font-size: 1rem;
    line-height: 1.625;
    color: color-mix(in oklab, #ffffff 70%, transparent);
    max-width: 44rem;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Light-shell override when reusing how-it-works header styles */
.platform-section--light .how-it-works-platform__eyebrow {
    color: #5b646f;
}

.platform-section--light .how-it-works-platform__title {
    color: #11171d;
}

.platform-section--light .how-it-works-platform__subtitle {
    color: #474e55;
}

/* Same chrome as .how-it-works-platform__phase (online card surface) */
.how-it-works-platform__diagram-card {
    --hiw-phase-pad-x: clamp(1.1rem, 2.6vw, 1.95rem);
    --hiw-phase-pad-y: clamp(1.15rem, 2.2vw, 1.85rem);
    background: var(--hiw-surface-bg);
    border: 1px solid var(--hiw-surface-border);
    border-radius: 16px;
    padding: var(--hiw-phase-pad-y) var(--hiw-phase-pad-x);
    box-shadow:
        0 1px 0 var(--hiw-surface-inset) inset,
        0 24px 48px -36px rgba(0, 0, 0, 0.55);
    position: sticky;
    top: var(--hiw-diagram-sticky-top);
    z-index: 2;
    overflow: visible;
    align-self: start;
}

.how-it-works-platform__diagram {
    width: 100%;
    height: auto;
    display: block;
}

.how-it-works-platform__diagram-svg #hiw-deploy-arrow,
.how-it-works-platform__diagram-svg #hiw-result-arrow,
.how-it-works-platform__diagram-svg #hiw-query-arrow,
.how-it-works-platform__diagram-svg #hiw-platform-shell,
.how-it-works-platform__diagram-svg #hiw-execution-layer,
.how-it-works-platform__diagram-svg #hiw-execution-glint,
.how-it-works-platform__diagram-svg #hiw-gpu-tag,
.how-it-works-platform__diagram-svg #hiw-gpu-tag-text,
.how-it-works-platform__diagram-svg #hiw-deploy-chip,
.how-it-works-platform__diagram-svg #hiw-result-chip,
.how-it-works-platform__diagram-svg #hiw-query-chip {
    transition: none;
}

.how-it-works-platform__diagram-svg #hiw-execution-glint {
    /* Dash motion: SVG defs (.hiw-execution-glint-loop). Hover states must not replace this animation. */
    transition: stroke-opacity 240ms ease;
}

.how-it-works-platform__diagram-svg.is-step-1 #hiw-deploy-arrow {
    stroke: #22a8ff;
    stroke-opacity: 1;
    stroke-width: 1.7;
}

.how-it-works-platform__diagram-svg.is-step-1 #hiw-deploy-chip,
.how-it-works-platform__diagram-svg.is-step-1 #hiw-service-provider-card {
    stroke: #22a8ff;
    stroke-width: 1.9;
    fill: url(#hiw-highlight-fill);
    filter: drop-shadow(0 0 12px rgba(34, 168, 255, 0.35));
}

.how-it-works-platform__diagram-svg.is-step-1 #hiw-service-provider-title,
.how-it-works-platform__diagram-svg.is-step-1 #hiw-service-provider-subtitle {
    fill: #e4e4e7;
}

.how-it-works-platform__diagram-svg.is-step-2 #hiw-query-arrow {
    stroke: #22a8ff;
    stroke-opacity: 1;
    stroke-width: 1.9;
    filter: drop-shadow(0 0 12px rgba(34, 168, 255, 0.35));
}

.how-it-works-platform__diagram-svg.is-step-2 #hiw-query-chip,
.how-it-works-platform__diagram-svg.is-step-2 #hiw-end-user-card {
    stroke: #22a8ff;
    fill: url(#hiw-highlight-fill);
    stroke-opacity: 1;
    stroke-width: 1.9;
    filter: drop-shadow(0 0 12px rgba(34, 168, 255, 0.35));
}

.how-it-works-platform__diagram-svg.is-step-2 #hiw-end-user-title,
.how-it-works-platform__diagram-svg.is-step-2 #hiw-end-user-subtitle,
.how-it-works-platform__diagram-svg.is-step-2 #hiw-query-label {
    fill: #e4e4e7;
}

.how-it-works-platform__diagram-svg.is-step-3 #hiw-platform-shell {
    stroke: #22a8ff;
    fill: url(#hiw-highlight-fill-soft);
    stroke-width: 1.9;
    filter: drop-shadow(0 0 14px rgba(34, 168, 255, 0.3));
}

.how-it-works-platform__diagram-svg.is-step-3 #hiw-execution-layer {
    fill: url(#hiw-highlight-fill);
    filter: drop-shadow(0 0 12px rgba(34, 168, 255, 0.28));
}

.how-it-works-platform__diagram-svg.is-step-3 #hiw-gpu-tag {
    stroke: #9CA3AF;
    fill: url(#hiw-highlight-fill-soft);
    stroke-width: 1;
}

.how-it-works-platform__diagram-svg.is-step-3 #hiw-gpu-tag-text {
    fill: #e4e4e7;
}

.how-it-works-platform__diagram-svg.is-step-4 #hiw-result-arrow {
    stroke: #22a8ff;
    stroke-opacity: 1;
    stroke-width: 1.9;
    filter: drop-shadow(0 0 12px rgba(34, 168, 255, 0.35));
}

.how-it-works-platform__diagram-svg.is-step-4 #hiw-result-chip,
.how-it-works-platform__diagram-svg.is-step-4 #hiw-end-user-card {
    stroke: #22a8ff;
    fill: url(#hiw-highlight-fill);
    stroke-opacity: 1;
    stroke-width: 1.9;
    filter: drop-shadow(0 0 12px rgba(34, 168, 255, 0.35));
}

.how-it-works-platform__diagram-svg.is-step-1 #hiw-service-provider-card,
.how-it-works-platform__diagram-svg.is-step-2 #hiw-end-user-card,
.how-it-works-platform__diagram-svg.is-step-4 #hiw-end-user-card {
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(1.015);
}

.how-it-works-platform__diagram-svg.is-step-1 #hiw-deploy-chip,
.how-it-works-platform__diagram-svg.is-step-2 #hiw-query-chip,
.how-it-works-platform__diagram-svg.is-step-4 #hiw-result-chip {
    transform: none;
    stroke-width: 1;
}

.how-it-works-platform__diagram-svg.is-step-4 #hiw-end-user-title,
.how-it-works-platform__diagram-svg.is-step-4 #hiw-end-user-subtitle,
.how-it-works-platform__diagram-svg.is-step-4 #hiw-result-label {
    fill: #e4e4e7;
}

.how-it-works-platform__phases {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    min-height: 0;
}

.how-it-works-platform__phase {
    --hiw-phase-pad-x: clamp(1.1rem, 2.6vw, 1.95rem);
    --hiw-phase-pad-y: clamp(1.15rem, 2.2vw, 1.85rem);
    background: var(--hiw-surface-bg);
    border: 1px solid var(--hiw-surface-border);
    border-radius: 16px;
    padding: var(--hiw-phase-pad-y) var(--hiw-phase-pad-x);
    box-shadow:
        0 1px 0 var(--hiw-surface-inset) inset,
        0 24px 48px -36px rgba(0, 0, 0, 0.55);
}

.how-it-works-platform__phase-head {
    margin-bottom: 1rem;
}

.how-it-works-platform__phase-kicker {
    display: block;
    margin: 0 0 0.42rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9ca3af;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.how-it-works-platform__phase-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.32;
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.3rem;
}

.how-it-works-platform__phase-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
    flex-shrink: 0;
    margin-right: 0.4rem;
}

.how-it-works-platform__phase--offline .how-it-works-platform__phase-dot {
    background: #52525b;
    border: 1px solid #71717a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Same live-dot language as .hero-label-dot / diagram GPU marker (core + ring wave) */
.how-it-works-platform__phase-dot--bright {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22a8ff;
    border: none;
    box-shadow: 0 0 0 1px rgba(34, 168, 255, 0.3), 0 0 16px rgba(34, 168, 255, 0.72);
    animation: heroStatusDot 1.9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.how-it-works-platform__phase-dot--bright::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    border: 1px solid rgba(34, 168, 255, 0.55);
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center;
    opacity: 0;
    animation: heroStatusWave 1.9s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .how-it-works-platform__phase-dot--bright {
        animation: none;
    }

    .how-it-works-platform__phase-dot--bright::after {
        animation: none;
    }
}

.how-it-works-platform__phase-label {
    color: #ffffff;
    font-weight: 700;
}

.how-it-works-platform__phase-sub {
    margin-left: 0.35em;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: #9ca3af;
    font-weight: 500;
}

.how-it-works-platform__phase-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Phase 2: breathing room between stacked timeline rows */
.how-it-works-platform__wired .how-it-works-platform__phase-steps {
    display: flex;
    flex-direction: column;
    gap: 1.65rem;
}

.how-it-works-platform__phase-rule {
    margin-top: 1.1rem;
    margin-bottom: 1.1rem;
    border: 0;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        var(--hiw-surface-rule) 0,
        var(--hiw-surface-rule) 2px,
        transparent 2px,
        transparent 5px
    );
    opacity: 1;
}

.how-it-works-platform__wired {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
}

.how-it-works-platform__vline {
    position: absolute;
    /* Align with horizontal center of gradient icon circles (matches badge padding-left + half icon). */
    left: calc(0.5rem + 16px);
    top: 20px;
    bottom: 16px;
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(82, 82, 91, 0.88) 0%,
        rgba(82, 82, 91, 0.72) 52%,
        rgba(82, 82, 91, 0.35) 82%,
        rgba(82, 82, 91, 0) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.how-it-works-platform__content-grid {
    margin-top: 2.4rem;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: clamp(1rem, 2.2vw, 2rem);
    align-items: stretch;
}

.how-it-works-platform__steps-column {
    display: flex;
    width: 100%;
}

.how-it-works-platform__steps-column > .how-it-works-platform__phases {
    width: 100%;
}

.how-it-works-platform__tl-step.how-it-works-platform__step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.95rem;
    align-items: start;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: visible;
    transition: transform var(--transition-base);
    z-index: 1;
}

.how-it-works-platform__tl-step.how-it-works-platform__step:hover,
.how-it-works-platform__tl-step.how-it-works-platform__step:focus-visible {
    transform: translateX(2px);
}

.how-it-works-platform__tl-step.how-it-works-platform__step.is-diagram-active {
    transform: translateX(2px);
}

.how-it-works-platform__tl-step.how-it-works-platform__step .how-it-works-platform__tl-step-body {
    transition:
        background-color 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        color 220ms ease;
    border-radius: 12px;
}

.how-it-works-platform__tl-step.how-it-works-platform__step.is-diagram-active .how-it-works-platform__tl-step-body {
    background: color-mix(in oklab, oklch(72% 0.11 220) 16%, transparent);
    border: 1px solid color-mix(in oklab, oklch(72% 0.11 220) 58%, transparent);
    box-shadow:
        0 0 0 1px color-mix(in oklab, oklch(72% 0.11 220) 26%, transparent) inset,
        0 10px 24px -18px rgba(34, 168, 255, 0.9);
    padding: 0.45rem 0.65rem 0.55rem;
    margin: -0.45rem -0.65rem -0.55rem;
}

.how-it-works-platform__tl-step.how-it-works-platform__step.is-diagram-active .how-it-works-platform__tl-title {
    color: #f4fbff;
}

.how-it-works-platform__tl-step.how-it-works-platform__step.is-diagram-active .how-it-works-platform__tl-desc {
    color: #c7e8ff;
}

.how-it-works-platform__tl-step.how-it-works-platform__step.is-diagram-active .how-it-works-platform__tl-actor {
    color: #9ee2ff;
}

.how-it-works-platform__tl-step.how-it-works-platform__step.is-diagram-active .how-it-works-platform__tl-node {
    border-color: color-mix(in oklab, oklch(72% 0.11 220) 70%, var(--hiw-surface-border));
    box-shadow:
        0 1px 0 color-mix(in oklab, oklch(72% 0.11 220) 30%, var(--hiw-surface-inset)) inset,
        0 10px 26px -18px rgba(34, 168, 255, 0.95);
}

.how-it-works-platform__tl-step.how-it-works-platform__step:focus-visible {
    outline: 2px solid oklch(72% 0.11 220);
    outline-offset: 3px;
}

.how-it-works-platform__wired .how-it-works-platform__tl-node {
    z-index: 1;
}

.how-it-works-platform__tl-node {
    position: relative;
    z-index: 1;
    width: auto;
    min-height: 0;
    border-radius: 999px;
    background: oklch(15% 0.025 270);
    border: 1px solid oklch(32% 0.03 270 / 0.55);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    padding: 0.35rem 0.72rem 0.35rem 0.45rem;
    box-shadow:
        inset 0 1px 0 oklch(28% 0.02 250 / 0.4),
        0 8px 20px -14px rgba(0, 0, 0, 0.45);
}

/* Match phase card surface (offline + online step badges) */
.how-it-works-platform__phase .how-it-works-platform__tl-node {
    background: var(--hiw-surface-bg);
    border: 1px solid var(--hiw-surface-border);
    box-shadow: 0 1px 0 var(--hiw-surface-inset) inset;
}

.how-it-works-platform__tl-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #ffffff;
    /* Match .nav-cta .btn-primary (CONTACT): cyan → lavender */
    background-color: transparent;
    background-image: linear-gradient(90deg, rgba(95, 214, 255, 0.96), rgba(176, 145, 255, 0.96));
    box-shadow:
        rgba(165, 139, 236, 0.55) 0 8px 24px -10px,
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.how-it-works-platform__tl-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.how-it-works-platform__tl-num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffffff;
    line-height: 1;
    white-space: nowrap;
}

.how-it-works-platform__tl-actor {
    display: block;
    margin: 0 0 0.32rem;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7dd3fc;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.how-it-works-platform__tl-title {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.32;
    color: #ffffff;
    font-weight: 700;
}

.how-it-works-platform__tl-desc {
    margin: 0.32rem 0 0;
    color: #9ca3af;
    font-size: 0.84rem;
    line-height: 1.48;
}

@media (max-width: 992px) {
    .how-it-works-platform__content-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works-platform__diagram-card {
        position: relative;
        top: auto;
        z-index: auto;
    }

    .how-it-works-platform__steps-column {
        display: block;
        margin-top: 0.15rem;
    }

    .how-it-works-platform__phases {
        min-height: 0;
        height: auto;
    }
}

/* Developer library section (platform page) */
.platform-section--light.developer-library-platform {
    background: #f8faff;
    color: #11171d;
}

.developer-library-platform {
    padding: clamp(4rem, 7vw, 6rem) 0;
    --dev-lib-code-sticky-top: clamp(5rem, 8vw, 6.75rem);
}

/* Workloads catalog section (platform page) — where Lattica fits */
.workloads-catalog-platform {
    /* Pills, icons, CTA line: same blue as .how-it-works-platform__title border */
    --workloads-catalog-accent: var(--brand, oklch(72% 0.11 220));
    /* Same sticky offset idea as --hiw-diagram-sticky-top / --dev-lib-code-sticky-top */
    --workloads-catalog-scroll-top: clamp(5rem, 8vw, 6.75rem);
    margin-top: 0;
}

/* Match .privacy-problem--split section rhythm */
.workloads-catalog-platform--split {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.workloads-catalog-platform__container {
    max-width: 80rem;
}

.workloads-catalog-platform__container--split {
    max-width: 80rem;
}

/* Same two-column ratio + gap as .privacy-problem--split .privacy-problem__split-grid; copy column top-aligned */
.workloads-catalog-platform__split-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.25fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

/* Title block: same rules as .privacy-problem--split .privacy-problem__header; sticky like .how-it-works-platform__diagram-card */
.workloads-catalog-platform__header {
    display: block;
    max-width: 52rem;
    border-left: none;
    padding-left: 0;
    position: sticky;
    top: var(--workloads-catalog-scroll-top);
    align-self: start;
    z-index: 1;
}

.workloads-catalog-platform__rail {
    display: none;
}

.workloads-catalog-platform__header-content {
    padding-left: 0;
}

.workloads-catalog-platform__eyebrow {
    margin: 0;
    font-size: 12.48px;
    font-weight: 600;
    letter-spacing: 2.7456px;
    line-height: 18.72px;
    color: #989fa8;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.workloads-catalog-platform__title {
    margin: 0.6rem 0 0;
    font-size: var(--platform-section-title-size);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #f6f9fb;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--brand, oklch(72% 0.11 220));
    display: inline-block;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.workloads-catalog-platform__subtitle {
    margin: 1.25rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.625;
    color: color-mix(in oklab, #ffffff 70%, transparent);
    max-width: 44rem;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.workloads-catalog-platform .industries-cta {
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.75rem;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding: 0;
    padding-bottom: 2px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 24px;
    color: oklch(0.98 0.005 240);
    text-decoration: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    border: 0;
    cursor: pointer;
}

.workloads-catalog-platform .industries-cta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

/* Underline grows right on hover by 5px — matches arrow translateX(5px) */
.workloads-catalog-platform .industries-cta::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    background-color: var(--workloads-catalog-accent);
    width: calc(100% - 5px);
    pointer-events: none;
    transition: width 0.22s ease;
}

.workloads-catalog-platform .industries-cta:hover::after,
.workloads-catalog-platform .industries-cta:focus-visible::after {
    width: 100%;
}

.workloads-catalog-platform .industries-cta:hover svg,
.workloads-catalog-platform .industries-cta:focus-visible svg {
    transform: translateX(5px);
}

.workloads-catalog-platform .industries-cta:focus-visible {
    outline: 2px solid var(--workloads-catalog-accent);
    outline-offset: 4px;
}

/* Scrollable card stack: mirrors .developer-library-platform__code-window + .bc-code-body max-height / overflow */
.workloads-catalog-platform__cards {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.25rem);
    min-height: 0;
    align-self: start;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.workloads-catalog-platform__icon-wrap {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: color-mix(in oklab, var(--workloads-catalog-accent) 18%, transparent);
    border: 1px solid color-mix(in oklab, var(--workloads-catalog-accent) 45%, transparent);
    color: var(--workloads-catalog-accent);
    flex-shrink: 0;
}

.workloads-catalog-platform__icon {
    width: 0.9rem;
    height: 0.9rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.workloads-catalog-platform__card {
    background-color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(160deg, oklch(1 0 0 / 0.04), oklch(1 0 0 / 0.015));
    border: 1px solid oklch(100% 0 0 / 0.08);
    border-radius: 16px;
    padding: 1.35rem 1.35rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: 0 24px 48px -28px oklch(0% 0 0 / 0.45);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    will-change: transform;
}

.workloads-catalog-platform__card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.workloads-catalog-platform__card-label {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.35;
    font-weight: 500;
    font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.02em;
    color: #9ca3af;
}

.workloads-catalog-platform__card-lede {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.4;
    font-weight: 600;
    color: #f6f9fb;
}

.workloads-catalog-platform__pill-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    padding-top: 0.85rem;
    border-top: 1px solid oklch(100% 0 0 / 0.1);
}

.workloads-catalog-platform__pill {
    background: oklch(1 0 0 / 0.03);
    border: 1px solid oklch(100% 0 0 / 0.06);
    border-radius: 10px;
    padding: 0.65rem 0.6rem 0.55rem;
    min-height: 100%;
}

.workloads-catalog-platform__pill-title {
    margin: 0 0 0.35rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--workloads-catalog-accent);
}

.workloads-catalog-platform__pill-body {
    margin: 0;
    font-size: 0.6875rem;
    line-height: 1.45;
    color: color-mix(in oklab, #ffffff 58%, transparent);
}

.privacy-problem__card,
.lattica-approach__card {
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .privacy-problem__card:hover,
    .lattica-approach__card:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 36px 68px -28px oklch(20% 0.05 230 / 0.27), 0 12px 24px -12px oklch(20% 0.05 230 / 0.18);
    }

    .workloads-catalog-platform__card:hover {
        transform: translateY(-2px);
        box-shadow: 0 32px 56px -24px oklch(0% 0 0 / 0.5);
        border-color: color-mix(in oklab, var(--workloads-catalog-accent) 25%, transparent);
    }
}

@media (max-width: 992px) {
    .workloads-catalog-platform__split-grid {
        grid-template-columns: 1fr;
    }

    .workloads-catalog-platform__header {
        position: relative;
        top: auto;
        z-index: auto;
        max-width: none;
    }

    .workloads-catalog-platform__cards {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .workloads-catalog-platform__pill-row {
        grid-template-columns: 1fr;
    }
}

.developer-library-platform__container {
    max-width: 80rem;
}

.developer-library-platform__header {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    max-width: 52rem;
    border-left: none;
    padding-left: 0;
}

.developer-library-platform__rail {
    display: block;
    flex: 0 0 3px;
    width: 3px;
    align-self: stretch;
    min-height: 4.5rem;
    border-radius: 3px;
    background: var(--section-title-accent-v, oklch(0.64 0.13 220));
}

.developer-library-platform__header-content {
    flex: 1;
    min-width: 0;
    padding-left: 0;
}

.developer-library-platform__eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: 1.5;
    text-transform: uppercase;
    color: #9ca3af;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.developer-library-platform__title {
    margin: 0.65rem 0 0;
    font-size: var(--platform-section-title-size);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #0f172a;
    padding-bottom: 0.55rem;
    border-bottom: 2px solid var(--section-title-accent-h, oklch(0.72 0.11 220));
    display: inline-block;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.developer-library-platform__subtitle {
    margin: 1.15rem 0 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #64748b;
    max-width: 46rem;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.developer-library-platform__content {
    margin-top: clamp(2rem, 4vw, 2.75rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    align-items: start;
    min-width: 0;
}

.developer-library-platform__features {
    display: flex;
    flex-direction: column;
    gap: clamp(0.85rem, 1.5vw, 1.1rem);
    min-width: 0;
}

.developer-library-platform__feature-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(1rem, 2vw, 1.35rem);
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 14px;
    box-shadow:
        0 10px 28px -12px rgba(15, 23, 42, 0.14),
        0 4px 12px -6px rgba(15, 23, 42, 0.08);
    padding: clamp(1.15rem, 2vw, 1.35rem) clamp(1.15rem, 2vw, 1.4rem);
    position: relative;
    transition:
        transform 180ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
    will-change: transform;
}

.developer-library-platform__feature-card:hover,
.developer-library-platform__feature-card:focus-within {
    transform: translateY(-3px);
    border-color: #d6e2eb;
    box-shadow:
        0 16px 34px -18px rgba(15, 23, 42, 0.22),
        0 8px 18px -12px rgba(15, 23, 42, 0.14);
}

@media (prefers-reduced-motion: reduce) {
    .developer-library-platform__feature-card {
        transition: box-shadow 180ms ease, border-color 180ms ease;
    }

    .developer-library-platform__feature-card:hover,
    .developer-library-platform__feature-card:focus-within {
        transform: none;
    }}

.developer-library-platform__step {
    flex: 0 0 auto;
    display: block;
    min-width: 2.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
    color: #0088aa;
    margin: 0;
    padding-top: 0.12rem;
    font-variant-numeric: tabular-nums;
    font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.developer-library-platform__feature-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.developer-library-platform__feature-title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.developer-library-platform__feature-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 400;
    color: #4b5563;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.developer-library-platform__code-card {
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    position: sticky;
    top: var(--dev-lib-code-sticky-top);
    z-index: 2;
    align-self: start;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.developer-library-platform__code-window {
    display: flex;
    flex-direction: column;
    max-height: min(78vh, calc(100dvh - var(--dev-lib-code-sticky-top) - 1rem));
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.35), 0 12px 28px -16px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(15, 23, 42, 0.12);
}

/* Developer library code block (bc-* token colors match reference oklch palette) */
.developer-library-platform .bc-code-chrome {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 14px;
    background: #3d4450;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.developer-library-platform .bc-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}

.developer-library-platform .bc-dot:nth-of-type(1) {
    background: oklch(0.72 0.18 25);
}

.developer-library-platform .bc-dot:nth-of-type(2) {
    background: oklch(0.82 0.15 75);
}

.developer-library-platform .bc-dot:nth-of-type(3) {
    background: oklch(0.78 0.14 155);
}

.developer-library-platform .bc-code-file {
    margin-left: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.92);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    letter-spacing: 0.02em;
}

.developer-library-platform .bc-code-body.developer-library-platform__code-body {
    background: #1e222a;
    color: #ffffff;
    padding: 1.35rem 1.5rem 1.5rem;
    border-radius: 0;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    box-shadow: none;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 13px;
    line-height: 1.65;
    white-space: pre;
    position: relative;
    margin: 0;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.developer-library-platform .bc-code-body code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace !important;
    color: #ffffff;
}

.developer-library-platform .bc-kw {
    color: oklch(0.72 0.16 295);
}

.developer-library-platform .bc-mod {
    color: #ffffff;
}

.developer-library-platform .bc-typ {
    color: oklch(0.78 0.1 200);
}

.developer-library-platform .bc-comment {
    color: oklch(0.6 0.02 250);
    font-style: italic;
}

.developer-library-platform .bc-num {
    color: oklch(0.82 0.13 75);
}

.developer-library-platform .bc-str {
    color: oklch(0.78 0.14 155);
}

.developer-library-platform .bc-plain {
    color: #ffffff;
}

@media (max-width: 992px) {
    .developer-library-platform__content {
        grid-template-columns: 1fr;
    }

    .developer-library-platform__code-card {
        position: relative;
        top: auto;
        z-index: auto;
    }

    .developer-library-platform__code-window {
        max-height: none;
    }

    .developer-library-platform .bc-code-body.developer-library-platform__code-body {
        flex: none;
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .developer-library-platform__header {
        gap: 0.9rem;
    }

    .developer-library-platform__title {
        font-size: clamp(2rem, 10vw, 2.6rem);
        display: block;
    }

    .developer-library-platform__subtitle {
        max-width: 100%;
    }

    .developer-library-platform__feature-card {
        gap: 0.75rem;
        padding: 0.95rem 0.95rem;
    }

    .developer-library-platform__feature-title {
        font-size: 1rem;
    }

    .developer-library-platform__feature-text {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .developer-library-platform .bc-code-body.developer-library-platform__code-body {
        padding: 1rem 0.95rem 1.05rem;
        font-size: 12px;
        line-height: 1.55;
    }
}

.page-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out 0.1s forwards;
}

.page-title {
    font-size: var(--platform-section-title-size);
    font-weight: 700;
    margin: 0.6rem 0 0;
    color: #11171d;
    line-height: 1.05;
    letter-spacing: -0.02em;
    opacity: 1;
    transform: none;
    animation: none;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--brand, oklch(72% 0.11 220));
    display: inline-block;
    transition: color var(--transition-base);
}

.page-title::before {
    display: none;
}

.page-title::after {
    display: none;
}

.page-header-content:hover .page-title::before {
    width: 45%;
    background: linear-gradient(135deg, var(--wave-accent-dark) 0%, var(--blueDC-dark) 100%);
}

.page-header-content:hover .page-title::after {
    opacity: 1;
    left: 48%;
    transform: translateX(10px);
    background: var(--blueDC-dark);
}

.page-subtitle {
    margin: 1.25rem 0 0;
    font-size: 1rem;
    color: #474e55;
    max-width: 36rem;
    line-height: 1.625;
    opacity: 1;
    transform: none;
    animation: none;
}


/* FHE hero fine-tuning (font size matches .page-subtitle / .lead-text at 1.25rem; width matches .fhe-content) */
.page-subtitle-secondary,
.page-subtitle-secondary-third {
    max-width: 900px;
}

.page-subtitle-metric {
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.page-subtitle-metric .metric-number {
    font-size: 2.3rem; /* ~20% larger */
    font-weight: 700;
    color: var(--wave-accent-dark);
    margin-right: 0.35rem;
}

/* Platform Page Styles */
.platform-overview {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.overview-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.platform-section-detailed {
    padding: 6rem 0;
}

.platform-section-detailed.bg-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.features-detailed {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card-large {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon-large {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card-large h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card-large p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-sublist {
    list-style: none;
    padding-left: 0;
}

.feature-sublist li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.feature-sublist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

/* Workflow */
.how-it-works-detailed {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.workflow-number {
    width: 60px;
    height: 60px;
    background: var(--wave-accent-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.workflow-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.workflow-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.workflow-connector {
    width: 40px;
    height: 2px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* About Page Styles */
.about-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.about-section.bg-alt {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about-section.bg-alt::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg1.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.about-section.bg-alt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg2.png');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

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

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tech-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--wave-accent-dark);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Documentation Page Styles */
.docs-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.docs-section.bg-alt {
    background: var(--bg-secondary);
}

.docs-quicklinks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.doc-link-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all var(--transition-base);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.doc-link-card:nth-child(1) {
    animation-delay: 0.1s;
}

.doc-link-card:nth-child(2) {
    animation-delay: 0.2s;
}

.doc-link-card:nth-child(3) {
    animation-delay: 0.3s;
}

.doc-link-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

.doc-link-card:hover .doc-icon {
    transform: scale(1.1);
}

.doc-link-card:hover .doc-link-arrow {
    transform: translateX(5px);
    color: var(--primary-blue);
}

.doc-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.doc-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.doc-link-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.doc-link-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.doc-link-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

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

.docs-guide {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.docs-guide h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.guide-steps {
    list-style: none;
    counter-reset: step-counter;
}

.guide-steps li {
    counter-increment: step-counter;
    margin-bottom: 2rem;
    padding-left: 3rem;
    position: relative;
}

.guide-steps li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--wave-accent-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.guide-steps strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.guide-steps p {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.concept-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
}

.concept-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.concept-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.resources-list {
    display: grid;
    gap: 2rem;
}

.resource-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.resource-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.resource-item p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: var(--primary-dark);
}

.faq-list {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Page Styles */
#contact-next-step.contact-next-step {
    padding: 3.5rem 0 4.6rem;
    background: #07121b;
}

#contact-next-step .contact-next-step__inner {
    max-width: 80rem;
}

#contact-next-step .contact-next-step__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
    gap: 1.5rem;
    align-items: start;
}

#contact-next-step .contact-card {
    background: #f2f4f7;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 34px rgba(6, 10, 18, 0.22);
    color: #141920;
}

#contact-next-step .contact-card--form {
    overflow: hidden;
    color: #11171d;
    background: #ffffff;
    border: 1px solid oklch(17% 0.02 250 / 0.1);
    box-shadow: 0 30px 60px -25px oklch(20% 0.05 230 / 0.25), 0 8px 20px -10px oklch(20% 0.05 230 / 0.15);
    position: relative;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    will-change: transform;
}

#contact-next-step .contact-card--form::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, oklch(72% 0.11 220), oklch(72% 0.1 295));
    opacity: 0.85;
}


#contact-next-step .contact-card__header {
    padding: 1.7rem 1.85rem 1.15rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

#contact-next-step .contact-card__header h2 {
    margin: 0;
    font-size: 1.85rem;
    line-height: 1.08;
    color: #131a22;
    letter-spacing: -0.02em;
}

#contact-next-step .contact-card__header p {
    margin: 0.5rem 0 0;
    color: #525e6d;
    font-size: 0.95rem;
}

#contact-next-step .contact-form-modern {
    padding: 1.5rem 1.85rem 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

#contact-next-step .contact-form-modern__group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

#contact-next-step .contact-form-modern__label {
    margin: 0;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: #4b5563;
}

#contact-next-step .contact-topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

#contact-next-step .contact-topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    cursor: pointer;
    border: 1px solid #d4d9e1;
    background: #ebeef3;
    color: #334155;
    border-radius: 999px;
    padding: 0.38rem 0.76rem;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
}

#contact-next-step .contact-topic-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#contact-next-step .contact-topic-chip span {
    display: inline-block;
}

#contact-next-step .contact-topic-chip__icon {
    width: 0.85rem;
    height: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#contact-next-step .contact-topic-chip__icon svg {
    width: 0.82rem;
    height: 0.82rem;
    flex-shrink: 0;
    stroke: currentColor;
}

#contact-next-step .contact-topic-chip.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #f8fafc;
}

#contact-next-step .contact-form-modern__hint {
    margin: 0;
    color: #6b7280;
    font-size: 0.86rem;
}

#contact-next-step .contact-form-modern__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

#contact-next-step .contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

#contact-next-step .contact-field > span {
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: #4b5563;
}

#contact-next-step .contact-field input,
#contact-next-step .contact-field select,
#contact-next-step .contact-field textarea {
    width: 100%;
    border: 1px solid #d4d9e1;
    border-radius: 12px;
    background: #e7ebf1;
    color: #111827;
    font-family: inherit;
    font-size: 0.94rem;
    padding: 0.76rem 0.82rem;
    outline: none;
}

#contact-next-step .contact-field select {
    appearance: auto;
    min-height: 43px;
}

#contact-next-step .contact-field textarea {
    resize: vertical;
    min-height: 130px;
}

#contact-next-step .contact-field input:focus,
#contact-next-step .contact-field select:focus,
#contact-next-step .contact-field textarea:focus {
    border-color: #8bc8ff;
    box-shadow: 0 0 0 2px rgba(139, 200, 255, 0.28);
}

#contact-next-step .contact-upload {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    border: 1px dashed #bcc4cf;
    border-radius: 16px;
    background: #e9edf2;
    padding: 0.78rem 0.95rem;
    width: 100%;
    text-align: left;
    color: #253041;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

#contact-next-step .contact-upload:hover {
    border-color: #9da9b8;
    background: #e4e9ef;
}

#contact-next-step .contact-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(100%);
}

#contact-next-step .contact-upload__icon {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: #dce2ea;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f3744;
}

#contact-next-step .contact-upload__icon svg {
    width: 0.9rem;
    height: 0.9rem;
    flex-shrink: 0;
}

#contact-next-step .contact-upload__content {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    font-size: 0.9rem;
    font-weight: 500;
}

#contact-next-step .contact-upload__content small {
    color: #5d6774;
    font-size: 0.72rem;
    font-weight: 400;
}

#contact-next-step .contact-form-modern__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-top: 0.25rem;
}

#contact-next-step .contact-form-modern__footer p {
    margin: 0;
    color: #6b7280;
    font-size: 0.8rem;
}

#contact-next-step .contact-send-btn {
    min-height: 40px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    background-image: linear-gradient(90deg, rgba(95, 214, 255, 0.96), rgba(176, 145, 255, 0.96));
    background-color: transparent;
    color: #ffffff;
    border: 0 solid oklch(1 0 0 / 0.08);
    border-radius: 999px;
    box-shadow: rgba(165, 139, 236, 0.55) 0 8px 24px -10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-transform: none;
    -webkit-text-stroke-width: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-image 0.2s ease;
}

#contact-next-step .contact-send-btn:hover {
    color: #ffffff;
    background-image: linear-gradient(90deg, rgba(95, 214, 255, 0.96), rgba(176, 145, 255, 0.96));
    transform: translateY(-1px);
    box-shadow: rgba(165, 139, 236, 0.62) 0 10px 26px -10px;
}

#contact-next-step .contact-send-btn:active {
    transform: none;
    box-shadow: none;
}

#contact-next-step .contact-send-btn__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transform: translateX(0);
    transition: transform 0.2s ease;
}

#contact-next-step .contact-send-btn__arrow svg {
    width: 0.78rem;
    height: 0.78rem;
    display: block;
}

#contact-next-step .contact-send-btn:hover .contact-send-btn__arrow {
    transform: translateX(2px);
}

#contact-next-step .contact-next-step__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-next-step .contact-card--channels,
#contact-next-step .contact-card--links {
    padding: 1.45rem 1.55rem;
    background: linear-gradient(150deg, oklch(27% 0.028 245), oklch(23% 0.03 262));
    border: 1px solid rgba(181, 229, 243, 0.22);
    box-shadow: 0 18px 34px rgba(3, 9, 20, 0.35);
    color: #d7e1ef;
}

#contact-next-step .contact-card--channels {
    color: #11171d;
    background: #ffffff;
    border: 1px solid oklch(17% 0.02 250 / 0.1);
    box-shadow: 0 30px 60px -25px oklch(20% 0.05 230 / 0.25), 0 8px 20px -10px oklch(20% 0.05 230 / 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    will-change: transform;
}

#contact-next-step .contact-card--channels::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, oklch(72% 0.11 220), oklch(72% 0.1 295));
    opacity: 0.85;
}


#contact-next-step .contact-card--channels h3,
#contact-next-step .contact-card--links h3 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.86rem;
    font-weight: 700;
    color: #f4f8ff;
}

#contact-next-step .contact-card--channels h3 {
    color: #384252;
}

#contact-next-step .contact-channel-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-next-step .contact-channel-list li {
    display: block;
}

#contact-next-step .contact-channel-list__item-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(217, 228, 243, 0.13);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d7e1ef;
}

#contact-next-step .contact-card--channels .contact-channel-list__item-icon {
    background: #e7eaee;
    color: #3f4854;
}

#contact-next-step .contact-channel-list__item-icon svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    flex-shrink: 0;
}

#contact-next-step .contact-channel-list__item-content {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

#contact-next-step .contact-channel-list__item-link {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 1.35rem;
    align-items: start;
    gap: 0.12rem;
    min-width: 0;
    text-decoration: none;
    border-radius: 10px;
}

#contact-next-step .contact-channel-list__item-link .contact-channel-list__label,
#contact-next-step .contact-channel-list__item-link .contact-channel-list__value {
    grid-column: 2;
    padding-left: 0.05rem;
}

#contact-next-step .contact-channel-list__item-link .contact-channel-list__item-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
}

#contact-next-step .contact-channel-list__label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.74rem;
    font-weight: 700;
    color: #a7bbd6;
    line-height: 1.25;
}

#contact-next-step .contact-channel-list a,
#contact-next-step .contact-channel-list .contact-channel-list__value {
    margin: 0;
    color: #e6eefb;
    text-decoration: none;
    line-height: 1.34;
    font-size: clamp(0.99rem, 0.96rem + 0.15vw, 1.08rem);
    font-weight: 400;
}

#contact-next-step .contact-channel-list__item-link {
    transition: color 0.2s ease;
}

#contact-next-step .contact-channel-list__item-link:hover .contact-channel-list__value {
    color: oklch(0.76 0.09 220);
}

#contact-next-step .contact-card--channels .contact-channel-list__label {
    color: #4b5563;
}

#contact-next-step .contact-card--channels .contact-channel-list a,
#contact-next-step .contact-card--channels .contact-channel-list .contact-channel-list__value {
    color: #232d3b;
}

#contact-next-step .contact-card--channels .contact-channel-list__item-link:hover .contact-channel-list__value {
    color: #4aaed8;
}

#contact-next-step .contact-card--channels .contact-channel-list__item-link:hover .contact-channel-list__item-icon {
    color: #4aaed8;
}

#contact-next-step .contact-card--links > p {
    margin: 0.55rem 0 0;
    color: #596474;
    font-size: 1rem;
    line-height: 1.45;
}

#contact-next-step .contact-jump-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

#contact-next-step .contact-jump-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.52rem 0;
    text-decoration: none;
    color: #1f2d3d;
    font-size: 1.02rem;
    font-weight: 400;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    transform: translateX(0);
    transition: color 0.2s ease, transform 0.2s ease;
}

#contact-next-step .contact-jump-links__arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #6b7280;
    transform: translateX(0);
    transition: color 0.2s ease;
}

#contact-next-step .contact-jump-links a:hover {
    color: #4aaed8;
    transform: translateX(4px);
}

#contact-next-step .contact-jump-links a:hover .contact-jump-links__arrow {
    color: #4aaed8;
}

#contact-next-step .contact-jump-links a:focus-visible {
    outline: none;
    color: #4aaed8;
    border-radius: 8px;
    box-shadow: 0 0 0 2px rgba(141, 208, 232, 0.3);
}

#contact-next-step .contact-jump-links a:focus-visible .contact-jump-links__arrow {
    color: #4aaed8;
}

#contact-next-step .contact-card--links {
    border-radius: 22px;
    padding: 1.65rem 1.55rem 1.45rem;
    margin-top: 0.75rem;
    color: #11171d;
    background: #ffffff;
    border: 1px solid oklch(17% 0.02 250 / 0.1);
    box-shadow: 0 30px 60px -25px oklch(20% 0.05 230 / 0.25), 0 8px 20px -10px oklch(20% 0.05 230 / 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    will-change: transform;
}

#contact-next-step .contact-card--faq {
    border-radius: 22px;
    padding: 1.45rem 1.55rem;
    margin-top: 0.75rem;
    color: #11171d;
    background: #ffffff;
    border: 1px solid oklch(17% 0.02 250 / 0.1);
    box-shadow: 0 30px 60px -25px oklch(20% 0.05 230 / 0.25), 0 8px 20px -10px oklch(20% 0.05 230 / 0.15);
    position: relative;
    overflow: hidden;
}

#contact-next-step .contact-card--faq::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, oklch(72% 0.11 220), oklch(72% 0.1 295));
    opacity: 0.85;
}

#contact-next-step .contact-card--faq h3 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.86rem;
    line-height: 1.2;
    font-weight: 700;
    color: #4b5563;
}

#contact-next-step .contact-faq-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

#contact-next-step .contact-faq-list li {
    margin: 0;
}

#contact-next-step .contact-faq-list li + li {
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

#contact-next-step .contact-faq-item {
    padding: 0.65rem 0;
}

#contact-next-step .contact-faq-item[open] {
    background: transparent;
}

#contact-next-step .contact-faq-list__question {
    margin: 0;
    color: #1f2d3d;
    font-size: 0.96rem;
    line-height: 1.35;
    font-weight: 400;
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

#contact-next-step .contact-faq-list__question::-webkit-details-marker {
    display: none;
}

#contact-next-step .contact-faq-list__question::after {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    color: #64748b;
    flex-shrink: 0;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease, color 0.2s ease;
}

#contact-next-step .contact-faq-item[open] .contact-faq-list__question {
    color: #4aaed8;
}

#contact-next-step .contact-faq-item[open] .contact-faq-list__question::after {
    color: #4aaed8;
    transform: rotate(225deg) translateY(-1px);
}

#contact-next-step .contact-faq-list__answer {
    margin: 0.38rem 0 0;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.45;
}

#contact-next-step .contact-faq-list__answer a {
    color: #4aaed8;
    text-decoration: none;
}

#contact-next-step .contact-faq-list__answer a:hover {
    color: #4aaed8;
}

#contact-next-step .contact-card--links::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, oklch(72% 0.11 220), oklch(72% 0.1 295));
    opacity: 0.85;
}

#contact-next-step .contact-card--links h3 {
    margin: 0;
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.16rem);
    line-height: 1.25;
    font-weight: 700;
    color: #384252;
}


@media (max-width: 1080px) {
    #contact-next-step .contact-next-step__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 740px) {
    #contact-next-step .contact-card__header,
    #contact-next-step .contact-form-modern {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #contact-next-step .contact-form-modern__row {
        grid-template-columns: 1fr;
    }

    #contact-next-step .contact-form-modern__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

.contact-section {
    padding: 7rem 0 5.5rem;
    background: var(--bg-secondary);
    font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ct-container {
    max-width: 80rem;
}

.ct-header {
    margin-bottom: 3.5rem;
}

.ct-headline {
    margin: 0;
}

.ct-subtitle {
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

@media (prefers-reduced-motion: no-preference) {
    .contact-section .pp-animate {
        opacity: 0;
        transform: translateY(20px);
        animation: doc-hero-fade-up 0.5s ease-out forwards;
    }
}

.contact-section .contact-column-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    text-align: left;
    position: relative;
    padding-bottom: 0.75rem;
    width: 100%;
}

.contact-section .contact-column-header::before {
    content: '';
    position: absolute;
    display: block;
    height: 2px;
    bottom: 0;
    left: 0;
    width: var(--column-title-width, 60%);
    background: linear-gradient(
        to right,
        #a1a1aa 0%,
        #a1a1aa var(--column-header-gradient-grey-end),
        var(--column-header-line-accent) 100%
    );
    transition: width 0.7s ease, background 0.7s ease, opacity 0.7s ease;
    opacity: 0.75;
}

.contact-section .contact-column-header::after {
    content: '';
    position: absolute;
    display: block;
    bottom: -1px;
    left: calc(var(--column-title-width, 60%) + 6px);
    width: 32px;
    height: 20px;
    background: rgba(153, 229, 244, 0.95);
    mask: url('assets/images/banner-tag.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask: url('assets/images/banner-tag.svg') no-repeat center;
    -webkit-mask-size: contain;
    transition: left 0.7s ease, opacity 0.7s ease;
    opacity: 0.85;
}

.contact-section .contact-column-header:hover::before {
    width: calc(100% - 2rem);
    background: linear-gradient(to right, rgba(153, 229, 244, 0.5), rgba(153, 229, 244, 0.95));
    opacity: 1;
}

.contact-section .contact-column-header:hover::after {
    left: calc(100% - 2rem + 6px);
    opacity: 1;
}

.contact-section .contact-column-header .pp-column-header__main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-section .contact-column-header .pp-column-header__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 26, 31, 1);
    border: 1px solid rgba(42, 42, 48, 1);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.contact-section .contact-column-header .pp-column-header__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-section .contact-column-header .pp-column-header__text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    justify-content: center;
    min-width: 0;
}

.contact-section .contact-column-header .pp-column-header__headline {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-family: inherit;
    color: var(--text-primary);
}

@media (min-width: 640px) {
    .contact-section .contact-column-header .pp-column-header__headline {
        font-size: 1.75rem;
    }
}

.ct-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .ct-layout {
        grid-template-columns: 1.6fr 1fr;
        gap: 3.5rem;
    }
}

.ct-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.ct-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.ct-label .req {
    color: #99e5f4;
    margin-left: 0.125rem;
}

.ct-input,
.ct-select,
.ct-textarea {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    padding: 0.625rem 0.875rem;
    width: 100%;
    transition: border-color 150ms ease, box-shadow 150ms ease;
    outline: none;
    appearance: none;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.75;
}

.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
    border-color: #a1a1aa;
    box-shadow: 0 0 0 3px rgba(161, 161, 170, 0.12);
}

.ct-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.ct-textarea {
    resize: vertical;
    min-height: 8rem;
    line-height: 1.5;
}

.ct-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.ct-submit svg {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-section .ct-submit.btn-primary {
    text-transform: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0;
    -webkit-text-stroke-width: 0;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    padding: 0.85rem 1.8rem;
    box-shadow: none;
    font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #0f0f12;
    color: #f4f4f5;
    border: 1px solid #0f0f12;
}

.contact-section .ct-submit.btn-primary:hover {
    background: #1c1c22;
    border-color: #1c1c22;
    color: #f4f4f5;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 15, 18, 0.18);
}

.contact-section .ct-submit.btn-primary:active {
    transform: translateY(0);
}

.ct-form-message {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    display: none;
    font-size: 0.875rem;
    line-height: 1.5;
}

.ct-form-message.success {
    background: #99e5f4;
    color: #0f0f12;
    display: block;
}

.ct-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

.ct-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ct-sidebar-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.ct-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    text-decoration: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.ct-card:hover {
    border-color: #c4c4c8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ct-card-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    background: #f4f4f5;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-card-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-secondary);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ct-card-body {
    flex: 1;
    min-width: 0;
}

.ct-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.ct-card-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-secondary);
    opacity: 0.8;
}

.ct-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #99e5f4;
    margin-top: 0.625rem;
    text-decoration: none;
}

.ct-card-link svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ct-faq {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
}

.ct-faq-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.ct-faq-header-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    background: #f4f4f5;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-faq-header-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-secondary);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ct-faq-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.ct-faq-item {
    border-bottom: 1px solid var(--border-color);
}

.ct-faq-item:last-child {
    border-bottom: none;
}

.ct-faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 150ms ease;
}

.ct-faq-trigger:hover {
    background: rgba(0, 0, 0, 0.02);
}

.ct-faq-question {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.ct-faq-chevron {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    stroke: var(--text-secondary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 200ms ease;
}

.ct-faq-item.open .ct-faq-chevron {
    transform: rotate(180deg);
}

.ct-faq-body {
    padding: 0 1.25rem 1rem;
}

.ct-faq-answer {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.ct-faq-links {
    margin-top: 0.625rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .ct-row {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 6rem 0 4.5rem;
    }
}

/* Homepage New Sections */
.use-cases-home {
    padding: 6rem 0;
    background: var(--bg-primary);
}

/* Dark use-cases band - same tokens + type as .privacy-problem (platform) */
.use-cases-dark {
    --pp-bg: #0f0f12;
    --pp-card: #1a1a1f;
    --pp-card-hover: rgba(161, 161, 170, 0.35);
    --pp-border: #2a2a30;
    --pp-muted: #a1a1aa;
    --pp-muted-soft: rgba(161, 161, 170, 0.8);
    --pp-fg: #f4f4f5;
    --pp-radius-xl: 0.75rem;
    --pp-radius-lg: 0.5rem;
    background: var(--pp-bg);
    color: var(--pp-fg);
    font-family: var(--site-font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    padding: 5rem 0 5.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 640px) {
    .use-cases-dark {
        padding: 6.5rem 0 7rem;
    }
}

.use-cases-dark .container {
    position: relative;
    z-index: 1;
}

.use-cases-home.use-cases-dark .use-cases-section-header {
    margin-bottom: 3.75rem;
}

.use-cases-home.use-cases-dark .use-cases-section-header .column-icon {
    background-color: rgba(26, 26, 31, 1);
    border: 1px solid rgba(42, 42, 48, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    color: var(--pp-fg);
}

.use-cases-home.use-cases-dark .use-cases-section-header .column-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pp-fg);
    font-family: inherit;
}

@media (min-width: 640px) {
    .use-cases-home.use-cases-dark .use-cases-section-header .column-title {
        font-size: 1.75rem;
    }
}

.use-cases-home.use-cases-dark .use-cases-section-header.column-header::before {
    background: linear-gradient(
        to right,
        #a1a1aa 0%,
        #a1a1aa var(--column-header-gradient-grey-end),
        var(--column-header-line-accent) 100%
    );
    opacity: 0.75;
}

.use-cases-home.use-cases-dark .use-cases-section-header.column-header::after {
    opacity: 0.85;
    background: rgba(153, 229, 244, 0.95);
}

.use-cases-home.use-cases-dark .use-cases-section-header:hover::before {
    width: calc(100% - 2rem);
    background: linear-gradient(to right, rgba(153, 229, 244, 0.5), rgba(153, 229, 244, 0.95));
    opacity: 1;
}

.use-cases-home.use-cases-dark .use-cases-section-header:hover::after {
    left: calc(100% - 2rem + 6px);
    opacity: 1;
}

.use-cases-dark .use-cases-grid {
    gap: 1.5rem;
}

/* Platform - Who is this for (light audience; scoped tokens per DESIGN_SYSTEM.md) */
.plat-audience {
    --plat-aud-bg: #f6f7f9;
    --plat-aud-card: #ffffff;
    --plat-aud-border: #e4e4e7;
    --plat-aud-icon-fill: #f4f4f5;
    --plat-aud-fg: #18181b;
    --plat-aud-muted: #71717a;
    /* DESIGN_SYSTEM.md light-context tokens (aud-headline, aud-card, item icons) */
    --fg-light: #18181b;
    --muted-light: #71717a;
    --border-light: var(--plat-aud-border);
    --icon-fill-light: var(--plat-aud-icon-fill);
    --plat-aud-muted-soft: #a1a1aa;
    --plat-aud-radius-lg: 0.5rem;
    --plat-aud-radius-xl: 0.75rem;
    position: relative;
    background: var(--plat-aud-bg);
    color: var(--plat-aud-fg);
    padding: 3.5rem 0;
    font-family: var(--site-font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .plat-audience {
        padding: 5rem 0;
    }
}

.plat-audience__container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Match privacy-problem .pp-column-header: logo, kicker, headline, animated rule + tag */
.plat-audience__column-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 0 2.5rem;
    text-align: left;
    position: relative;
    padding-bottom: 0.75rem;
}

.plat-audience__column-header::before {
    content: '';
    position: absolute;
    display: block;
    height: 2px;
    bottom: 0;
    left: 0;
    width: var(--plat-aud-column-title-width, 60%);
    background: linear-gradient(
        to right,
        #a1a1aa 0%,
        #a1a1aa var(--column-header-gradient-grey-end),
        var(--column-header-line-accent) 100%
    );
    transition: width 0.7s ease, background 0.7s ease, opacity 0.7s ease;
    opacity: 0.85;
}

.plat-audience__column-header::after {
    content: '';
    position: absolute;
    display: block;
    bottom: -1px;
    left: calc(var(--plat-aud-column-title-width, 60%) + 6px);
    width: 32px;
    height: 20px;
    background: rgba(153, 229, 244, 0.95);
    mask: url('assets/images/banner-tag.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask: url('assets/images/banner-tag.svg') no-repeat center;
    -webkit-mask-size: contain;
    transition: left 0.7s ease, opacity 0.7s ease;
    opacity: 0.9;
}

.plat-audience__column-header:hover::before {
    width: calc(100% - 2rem);
    background: linear-gradient(to right, rgba(153, 229, 244, 0.45), rgba(153, 229, 244, 0.95));
    opacity: 1;
}

.plat-audience__column-header:hover::after {
    left: calc(100% - 2rem + 6px);
    opacity: 1;
}

.plat-audience__column-header-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Same element as How It Works / column headers; light-surface overrides */
.plat-audience .column-icon {
    background-color: rgba(26, 26, 31, 1);
    border: 1px solid rgba(42, 42, 48, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    color: var(--plat-aud-fg);
    font-weight: 700;
    font-size: 1.25rem;
}

.plat-audience .column-icon:hover {
    background-color: rgba(26, 26, 31, 1);
    border-color: rgba(42, 42, 48, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: scale(1.05);
}

.plat-audience__column-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    justify-content: center;
    min-width: 0;
}

.plat-audience__column-header-headline {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--plat-aud-fg);
    font-family: inherit;
    text-wrap: balance;
}

@media (min-width: 640px) {
    .plat-audience__column-header-headline {
        font-size: 1.75rem;
    }
}

.plat-audience__title-muted {
    color: var(--plat-aud-muted);
}

/* Inner content headline (matches privacy .pp-title typographic scale; DESIGN_SYSTEM.md section headline) */
.plat-audience .aud-headline-block {
    margin: 2.5rem 0;
    text-align: center;
}

.plat-audience .aud-headline {
    margin: 0;
    font-size: 1.875rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-wrap: balance;
    color: var(--fg-light);
    font-family: inherit;
}

.plat-audience .aud-headline-br {
    display: none;
}

@media (min-width: 640px) {
    .plat-audience .aud-headline {
        font-size: 2.25rem;
    }

    .plat-audience .aud-headline-br {
        display: block;
    }
}

@media (min-width: 768px) {
    .plat-audience .aud-headline {
        font-size: 3rem;
    }
}

.plat-audience .aud-headline-muted,
.cta.cta--light .cta-content h2 .aud-headline-muted {
    color: rgba(113, 113, 122, 1);
}

.plat-audience__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .plat-audience__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Same card chrome as #how-it-works .dashboard-column.process-column */
.plat-audience__card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
    border: 1.5px solid #e8ecf1;
    border-radius: 1.5rem;
    box-shadow: 0 4px 16px rgba(59, 59, 59, 0.08), 0 2px 8px rgba(59, 59, 59, 0.04);
    padding: 1.5rem;
    cursor: default;
    position: relative;
    transition: all var(--transition-base);
}

.plat-audience__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 59, 59, 0.12), 0 4px 12px rgba(59, 59, 59, 0.08);
    border-color: var(--wave-accent-dark);
}

@media (prefers-reduced-motion: reduce) {
    .plat-audience__card {
        transition: border-color 200ms ease, box-shadow 200ms ease;
    }

    .plat-audience__card:hover {
        transform: none;
    }
}

.plat-audience__card-title {
    margin: 0;
}

.plat-audience .aud-card-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: var(--fg-light);
    margin: 0 0 0.25rem;
}

.plat-audience__list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.plat-audience__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.plat-audience__item + .plat-audience__item {
    margin-top: 1rem;
}

.plat-audience .aud-card .plat-audience__item {
    align-items: center;
    gap: 1.125rem;
    padding-inline: 0.5rem;
    padding-block: 0.375rem;
    border-radius: var(--plat-aud-radius-lg);
}

.plat-audience__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.5rem;
    background: var(--icon-fill-light);
    border: 1px solid var(--border-light);
    border-radius: var(--plat-aud-radius-lg);
}

.plat-audience__icon-svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    display: block;
    color: var(--muted-light);
}

.plat-audience__item-body {
    min-width: 0;
}

.plat-audience__item-title {
    display: block;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: var(--plat-aud-fg);
    margin: 0 0 0.25rem;
}

.plat-audience__item-desc {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 400;
    color: var(--plat-aud-muted-soft);
}

.plat-audience__animate {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .plat-audience__animate {
        opacity: 0;
        transform: translateY(20px);
        animation: plat-audience-fade-up 0.5s ease-out forwards;
    }

    .plat-audience__column-header.plat-audience__animate {
        animation-delay: 0s;
    }

    .plat-audience__grid > .plat-audience__card:nth-of-type(1).plat-audience__animate {
        animation-delay: 0.1s;
    }

    .plat-audience__grid > .plat-audience__card:nth-of-type(2).plat-audience__animate {
        animation-delay: 0.15s;
    }

    .plat-audience__card:nth-of-type(1) .plat-audience__item:nth-child(1) {
        animation-delay: 0.2s;
    }

    .plat-audience__card:nth-of-type(1) .plat-audience__item:nth-child(2) {
        animation-delay: 0.3s;
    }

    .plat-audience__card:nth-of-type(1) .plat-audience__item:nth-child(3) {
        animation-delay: 0.4s;
    }

    .plat-audience__card:nth-of-type(1) .plat-audience__item:nth-child(4) {
        animation-delay: 0.5s;
    }

    .plat-audience__card:nth-of-type(2) .plat-audience__item:nth-child(1) {
        animation-delay: 0.2s;
    }

    .plat-audience__card:nth-of-type(2) .plat-audience__item:nth-child(2) {
        animation-delay: 0.3s;
    }

    .plat-audience__card:nth-of-type(2) .plat-audience__item:nth-child(3) {
        animation-delay: 0.4s;
    }

    .plat-audience__card:nth-of-type(2) .plat-audience__item:nth-child(4) {
        animation-delay: 0.5s;
    }
}

@keyframes plat-audience-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.use-cases-dark .use-case-card {
    position: relative;
    background: var(--pp-card);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-xl);
    padding: 1.5rem;
    box-shadow: var(--dark-internal-card-shadow);
    text-align: left;
    transition: border-color 150ms ease, box-shadow 200ms ease;
    overflow: hidden;
    cursor: default;
}

.use-cases-dark .use-case-card::before {
    display: none;
}

.use-cases-dark .use-case-card:hover {
    transform: none;
    box-shadow: var(--dark-internal-card-shadow-hover);
    border-color: var(--pp-card-hover);
    background: var(--pp-card);
}

.use-cases-dark .use-case-icon {
    width: auto;
    min-width: 3rem;
    min-height: 3rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pp-bg);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-lg);
    padding: 0.75rem;
    transition: border-color 150ms ease;
}

.use-cases-dark .use-case-card:hover .use-case-icon {
    transform: none;
    background: var(--pp-bg);
    border-color: var(--pp-border);
}

.use-cases-dark .use-case-icon img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    filter: brightness(0) invert(0.78);
    opacity: 1;
    transition: filter 150ms ease, opacity 150ms ease;
}

.use-cases-dark .use-case-card:hover .use-case-icon img {
    filter: brightness(0) invert(0.9);
    opacity: 1;
}

.use-cases-dark .use-case-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: var(--pp-fg);
    font-family: inherit;
    transition: color 150ms ease;
}

.use-cases-dark .use-case-card:hover h3 {
    color: var(--pp-fg);
}

.use-cases-dark .use-case-card p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--pp-muted-soft);
    transition: color 150ms ease;
}

.use-cases-dark .use-case-card:hover p {
    color: var(--pp-muted-soft);
}

.use-cases-dark .use-case-card p:last-child {
    margin-bottom: 0;
}

.use-cases-dark .use-case-card p strong {
    color: var(--pp-fg);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

/* Privacy Problem - lightweight scoped styling using existing dark-band tokens */
.privacy-problem {
    background: inherit;
    color: var(--pp-fg);
    padding: 5rem 0;
    font-family: var(--site-font-sans);
}

/* Final guard: force dark privacy background over legacy overrides */
section.privacy-problem {
    background: rgb(18, 23, 27) !important;
    background-image:
        radial-gradient(circle, oklch(32% 0.06 220 / 0.4) 0%, transparent 60%),
        radial-gradient(circle, oklch(30% 0.05 295 / 0.35) 0%, transparent 60%) !important;
    background-size: 900px 500px, 900px 500px !important;
    background-position: calc(100% + 320px) -220px, -320px calc(100% + 220px) !important;
    background-repeat: no-repeat, no-repeat !important;
    color: oklch(0.85 0.1 165);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Platform matrix band: near-black + soft teal corners */
section.privacy-problem.privacy-problem--split {
    background: #0a0c10 !important;
    background-image:
        radial-gradient(ellipse 120% 80% at 92% 8%, rgba(56, 189, 248, 0.16), transparent 55%),
        radial-gradient(ellipse 110% 90% at 4% 92%, rgba(34, 211, 238, 0.1), transparent 55%) !important;
    background-size: cover, cover !important;
    background-position: 0 0, 0 0 !important;
    background-repeat: no-repeat, no-repeat !important;
}

.privacy-problem .pp-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.privacy-problem .pp-column-header {
    margin: 0 0 2.25rem;
}

.privacy-problem .page-header-accent {
    background: linear-gradient(180deg, var(--wave-accent) 0%, var(--blueDC) 100%);
}

.privacy-problem .page-eyebrow {
    color: var(--pp-muted);
}

.privacy-problem .page-title {
    color: var(--pp-fg);
}

.privacy-problem .page-subtitle {
    color: var(--pp-muted-soft);
}

.privacy-problem .pp-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .privacy-problem .pp-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.privacy-problem .pp-card {
    background: var(--pp-card);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-xl);
    padding: 1.5rem;
    box-shadow: var(--dark-internal-card-shadow);
}

.privacy-problem .pp-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.privacy-problem .pp-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--pp-radius-lg);
    border: 1px solid var(--pp-border);
    background: var(--pp-bg);
}

.privacy-problem .pp-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--pp-muted);
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.privacy-problem .pp-card-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pp-fg);
}

.privacy-problem .pp-card-subtitle--pill {
    display: inline-block;
    margin: 0 0 0.6rem;
    padding: 0.28rem 0.65rem;
    border: 1px solid var(--pp-border);
    border-radius: 9999px;
    background: rgba(244, 244, 245, 0.05);
    color: var(--pp-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.privacy-problem .pp-card-desc {
    margin: 0;
    color: var(--pp-muted-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

.privacy-problem .pp-highlight {
    margin-top: 1.5rem;
    background: linear-gradient(to bottom right, var(--pp-card), var(--pp-bg));
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-xl);
    padding: 1.75rem;
    box-shadow: var(--dark-internal-card-shadow);
}

.privacy-problem .pp-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.privacy-problem .pp-column-header__icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 1px solid var(--pp-border);
    background: var(--pp-bg);
    padding: 0.35rem;
}

.privacy-problem .pp-column-header__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.privacy-problem .pp-brand-logo {
    height: 1.2rem;
    width: auto;
}

.privacy-problem .pp-highlight-title {
    margin: 0 0 0.45rem;
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--pp-fg);
}

.privacy-problem .pp-highlight-desc {
    margin: 0;
    color: var(--pp-muted-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

.use-case-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.use-case-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter var(--transition-base);
}

.tech-overview {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.tech-overview-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-overview-item {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.tech-overview-item:nth-child(1) {
    animation-delay: 0.1s;
}

.tech-overview-item:nth-child(2) {
    animation-delay: 0.2s;
}

.tech-overview-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

.tech-overview-item .tech-link {
    transition: all var(--transition-base);
}

.tech-overview-item:hover .tech-link {
    color: var(--cyan-blue);
    transform: translateX(5px);
}

.tech-overview-item h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tech-overview-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tech-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.tech-link:hover {
    color: var(--primary-dark);
}

/* Platform Value Section */
.platform-value {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.platform-value::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg1.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.platform-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.platform-side {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.platform-side:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.platform-side h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-side-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

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

.platform-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    padding-left: 1.5rem;
}

.platform-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cyan-blue);
    font-weight: 700;
}

.examples-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.examples-list {
    list-style: none;
}

.examples-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    padding-left: 1.25rem;
}

.examples-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--blueDC);
    font-weight: 700;
    font-size: 1.25rem;
}

.problem-section {
    padding: clamp(4.5rem, 8vw, 6.25rem) 0 clamp(4.75rem, 8vw, 6.5rem);
    background:
        radial-gradient(120% 110% at 50% -18%, rgba(79, 126, 212, 0.16) 0%, rgba(6, 14, 31, 0.02) 42%, transparent 72%),
        linear-gradient(180deg, #040a18 0%, #050d1d 52%, #040b19 100%);
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(166, 201, 255, 0.34) 50%, transparent 100%);
    opacity: 0.75;
    z-index: 1;
}

.problem-section::after {
    display: none;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
    position: relative;
    z-index: 1;
}

.problem-card {
    background: linear-gradient(180deg, rgba(14, 24, 49, 0.8) 0%, rgba(9, 16, 34, 0.92) 100%);
    padding: clamp(1.5rem, 2.6vw, 2rem);
    border-radius: 14px;
    text-align: left;
    transition: border-color 0.26s ease, box-shadow 0.26s ease, transform 0.26s ease;
    box-shadow: inset 0 1px 0 rgba(168, 197, 255, 0.08), 0 10px 28px rgba(1, 6, 18, 0.58);
    border: 1px solid rgba(121, 148, 194, 0.27);
    position: relative;
}

.problem-card:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(185, 211, 255, 0.12), 0 14px 30px rgba(2, 8, 24, 0.62);
    border-color: rgba(160, 189, 238, 0.36);
}

.problem-icon {
    width: 2.2rem;
    height: 2.2rem;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.problem-card:hover .problem-icon {
    opacity: 1;
}

.problem-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.problem-card h3 {
    font-size: clamp(1.35rem, 1.7vw, 1.5rem);
    margin-bottom: 0.65rem;
    color: rgba(247, 251, 255, 0.98);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.22;
    white-space: nowrap;
}

.compromise-badge {
    display: inline-block;
    background: linear-gradient(180deg, rgba(127, 56, 18, 0.5) 0%, rgba(70, 28, 10, 0.5) 100%);
    color: rgba(245, 168, 95, 0.98);
    border: 1px solid rgba(224, 141, 73, 0.44);
    padding: 0.26rem 0.78rem;
    border-radius: 2rem;
    font-size: 0.74rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
    text-transform: none;
    letter-spacing: 0.01em;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.problem-card:hover .compromise-badge {
    opacity: 1;
    transform: scale(1.01);
}

.problem-card p {
    color: rgba(194, 208, 229, 0.9);
    line-height: 1.55;
    font-size: 1.02rem;
    margin: 0;
}

.solution-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    max-width: 100%;
    margin: 0;
    padding: clamp(1.1rem, 2.1vw, 1.45rem) clamp(1.15rem, 3vw, 1.8rem);
    background: linear-gradient(180deg, rgba(21, 36, 70, 0.9) 0%, rgba(17, 29, 58, 0.96) 100%);
    border-radius: 16px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(92, 127, 184, 0.35);
    box-shadow: inset 0 1px 0 rgba(184, 210, 255, 0.08), 0 10px 26px rgba(2, 8, 24, 0.48);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.solution-intro:hover {
    transform: translateY(-1px);
    border-color: rgba(116, 151, 208, 0.46);
    box-shadow: inset 0 1px 0 rgba(191, 215, 255, 0.09), 0 14px 28px rgba(1, 7, 20, 0.56);
}

.solution-intro__brand {
    flex-shrink: 0;
}

.solution-intro .solution-icon {
    width: 40px;
    height: 40px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-intro .solution-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.solution-intro:hover .solution-icon img {
    transform: scale(1.06);
}

.solution-intro__body {
    flex: 1 1 0;
    min-width: 0;
    text-align: left;
}

.solution-intro__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: rgba(149, 196, 255, 0.9);
    margin: 0 0 0.3rem;
}

.solution-intro h3 {
    font-size: clamp(1.65rem, 2.35vw, 2.05rem);
    margin: 0 0 0.35rem;
    color: rgba(245, 250, 255, 0.98);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.solution-intro__lead {
    font-size: 1.03rem;
    color: rgba(180, 195, 221, 0.86);
    line-height: 1.5;
    margin: 0;
    max-width: none;
}

.solution-intro__pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    flex: 0 0 auto;
    flex-shrink: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 901px) {
    .solution-intro {
        flex-wrap: nowrap;
        /* Top-align logo + copy; pin pills to bottom so they don’t sit beside the headline */
        align-items: flex-start;
    }

    .solution-intro__pills {
        align-self: flex-end;
    }

    .solution-intro h3 {
        white-space: nowrap;
    }
}

/* Matches .compromise-badge footprint; amber → green tones + green check (positive answers) */
.solution-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.3rem 0.78rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(24, 56, 97, 0.32);
    border: 1px solid;
    opacity: 0.95;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.solution-pill__check {
    flex-shrink: 0;
    color: #79c2f5;
    font-size: 0.88em;
    font-weight: 700;
    line-height: 1;
}

.solution-pill__text {
    letter-spacing: 0.01em;
}

.solution-pill--tone-amber {
    color: #a8d0ee;
    border-color: rgba(128, 176, 212, 0.48);
}

.solution-pill--tone-lime {
    color: #9fc9e9;
    border-color: rgba(124, 168, 207, 0.45);
}

.solution-pill--tone-green {
    color: #97c0df;
    border-color: rgba(116, 157, 194, 0.45);
}

.solution-intro:hover .solution-pill {
    opacity: 1;
}

.solution-pill:hover {
    opacity: 1;
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .problem-section {
        padding: 4rem 0 4.3rem;
    }

    .problem-section .problem-section-header {
        margin-bottom: 0.9rem;
        align-items: center;
    }

    .problem-section .problem-section-header .column-title {
        font-size: clamp(1.85rem, 7.8vw, 2.35rem);
    }

    .problem-section-title-wrap {
        align-items: center;
    }

    .problem-explainer,
    .problem-verdict {
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .problem-verdict {
        margin-bottom: 1.2rem;
    }

    .problem-card {
        text-align: center;
    }

    .problem-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .solution-intro {
        flex-direction: column;
        flex-wrap: wrap;
        text-align: center;
        padding: 1.5rem 1.2rem;
    }

    .solution-intro h3 {
        white-space: normal;
    }

    .solution-intro__body {
        flex: 1 1 auto;
        text-align: center;
    }

    .solution-intro__lead {
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
    }

    .solution-intro__pills {
        flex-wrap: wrap;
        justify-content: center;
        flex: 1 1 auto;
    }
}

@media (max-width: 600px) {
    .problem-section {
        padding: 3.5rem 0 3.8rem;
    }

    .problem-explainer {
        line-height: 1.35;
        font-size: clamp(1.15rem, 6.2vw, 1.42rem);
    }

    .problem-verdict {
        font-size: clamp(1.3rem, 6.3vw, 1.65rem);
        line-height: 1.28;
    }

    .solution-intro h3 {
        font-size: clamp(1.4rem, 6.4vw, 1.72rem);
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.problem-section .section-title {
    color: var(--white);
}

.problem-section .problem-section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 1.1rem;
    max-width: 44rem;
    align-items: flex-start;
    gap: 0.9rem;
}

.problem-section .problem-section-header .column-icon {
    background: linear-gradient(180deg, rgba(14, 24, 49, 0.8) 0%, rgba(9, 16, 34, 0.92) 100%);
    border: 1px solid rgba(121, 148, 194, 0.27);
    box-shadow: inset 0 1px 0 rgba(168, 197, 255, 0.08), 0 10px 28px rgba(1, 6, 18, 0.58);
}

.problem-section-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.problem-section-kicker {
    margin: 0;
    font-size: 0.76rem;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(152, 198, 255, 0.9);
    line-height: 1.15;
}

.problem-section .problem-section-header .column-title {
    color: rgba(246, 250, 255, 0.99);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.problem-section .problem-section-header.column-header::before {
    background: linear-gradient(
        to right,
        rgba(204, 223, 255, 0.46) 0%,
        rgba(204, 223, 255, 0.38) 52%,
        rgba(153, 229, 244, 0.88) 100%
    );
    opacity: 0.82;
}

.problem-section .problem-section-header.column-header::after {
    opacity: 0.75;
    background: rgba(153, 229, 244, 0.94);
}

.problem-section .problem-section-header:hover::before {
    width: calc(100% - 2rem);
    background: linear-gradient(to right, rgba(153, 229, 244, 0.62), rgba(153, 229, 244, 0.94));
    opacity: 1;
}

.problem-section .problem-section-header:hover::after {
    left: calc(100% - 2rem + 6px);
    opacity: 1;
}

.problem-explainer {
    display: block;
    width: auto;
    max-width: 43rem;
    margin: 0 0 0.95rem;
    padding: 0;
    color: rgba(182, 198, 224, 0.95);
    background: none;
    border: 0;
    text-align: left;
    line-height: 1.42;
    font-size: clamp(1.34rem, 2.25vw, 1.95rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    opacity: 1;
    position: relative;
    z-index: 1;
    transition: color 0.25s ease;
}

.problem-explainer:hover {
    color: rgba(196, 210, 233, 1);
    transform: none;
}

.problem-verdict {
    font-size: clamp(1.62rem, 2.45vw, 2.2rem);
    line-height: 1.24;
    color: rgba(234, 242, 252, 0.99);
    font-weight: 600;
    text-align: left;
    max-width: 44rem;
    margin: 0 0 clamp(1.35rem, 2.5vw, 1.85rem);
    position: relative;
    z-index: 1;
}

.problem-section .section-title::before {
    background-color: rgba(255, 255, 255, 0.3);
}

.problem-section .section-title:hover::before {
    background-color: var(--wave-accent);
}

.problem-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.example-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.example-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.example-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.example-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.problem-explanation {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.problem-explanation p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.solutions-section {
    padding: 6rem 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.solution-problem {
    color: #dc2626;
    font-weight: 600;
}

.solutions-note {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 2rem;
}

.solution-hero {
    padding: 6rem 0;
    background: var(--wave-accent-dark);
    color: var(--white);
}

.solution-hero .section-title {
    color: white;
}

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

.fhe-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.flow-step {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    font-weight: 600;
}

.flow-step.highlight {
    background: white;
    color: var(--primary-color);
}

.flow-arrow {
    font-size: 1.5rem;
}

.flow-description {
    text-align: center;
    margin-top: 1rem;
    opacity: 0.9;
}

.solution-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.breakthrough {
    margin-top: 2rem;
}

.breakthrough-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.breakthrough-item strong {
    display: block;
    margin-bottom: 0.5rem;
}

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

.tech-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.comparison-card {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    box-shadow: var(--shadow-md);
}

.comparison-card.old {
    border-left: 4px solid #dc2626;
}

.comparison-card.new {
    border-left: 4px solid var(--primary-color);
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.comparison-arrow {
    font-size: 2rem;
    color: var(--text-secondary);
}

.tech-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-detail-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.tech-detail-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tech-detail-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.tech-cta {
    text-align: center;
    margin-top: 3rem;
}

.platform-preview {
    padding: 6rem 0;
}

.platform-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.platform-feature {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.platform-feature .feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-feature .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.platform-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.platform-feature p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.platform-cta {
    text-align: center;
}

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

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

.traction-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.traction-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.traction-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* HEAL Page Styles */
.heal-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.heal-content {
    max-width: 900px;
    margin: 0 auto;
}

.heal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.heal-benefits {
    padding: 6rem 0;
}

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

.benefit-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.benefit-card:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.hardware-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.hardware-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.hardware-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hardware-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.hardware-partners {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
}

.hardware-partners h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.partner-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.partner-tag {
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.technical-details {
    padding: 6rem 0;
}

.tech-architecture {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.arch-layer {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

.arch-layer.highlight {
    background: var(--wave-accent-dark);
    color: var(--white);
}

.arch-layer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.arch-layer p {
    line-height: 1.7;
    opacity: 0.9;
}

.patent-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.arch-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--text-secondary);
    margin: 1rem 0;
}

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

.arch-benefit {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.arch-benefit h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.arch-benefit p {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.integration-process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--wave-accent-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.process-arrow {
    font-size: 2rem;
    color: var(--text-secondary);
}

/* FHE Page Styles */
.fhe-hero-stats {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.fhe-stat {
    text-align: center;
}

.fhe-stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--cyan-blue);
}

.fhe-stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

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

.fhe-content {
    max-width: 900px;
    margin: 0 auto;
}

.fhe-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.fhe-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.fhe-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    color: var(--black);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.5s ease-out forwards;
    cursor: pointer;
}

.fhe-step:nth-child(1) {
    animation-delay: 0.1s;
}

.fhe-step:nth-child(3) {
    animation-delay: 0.2s;
}

.fhe-step:nth-child(5) {
    animation-delay: 0.15s;
}

/* Uniform hover effect for all steps */
.fhe-step:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    background: var(--wave-accent);
}

.fhe-step:hover h3,
.fhe-step:hover p {
    color: var(--black);
}

/* Encrypted Compute step (highlight) - keep gradient but uniform hover */
.fhe-step.highlight {
    background: var(--gradient-primary);
    color: var(--white);
    animation: scaleIn 0.5s ease-out forwards, pulse 2s ease-in-out infinite;
    animation-delay: 0.15s;
    box-shadow: var(--shadow-gradient);
}

.fhe-step.highlight:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    background: var(--wave-accent);
}

.fhe-step.highlight:hover h3,
.fhe-step.highlight:hover p {
    color: var(--black);
}

.fhe-step.highlight h3,
.fhe-step.highlight p {
    color: var(--white);
}

.fhe-step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.fhe-step:hover .fhe-step-icon {
    transform: scale(1.15) rotate(5deg);
}

.fhe-step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.fhe-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.fhe-step p {
    line-height: 1.7;
    opacity: 0.9;
    color: var(--text-secondary);
}

.fhe-arrow {
    font-size: 2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.fhe-arrow:hover {
    transform: scale(1.3);
    color: var(--wave-accent);
}

.fhe-flow-diagram:hover .fhe-arrow {
    transform: scale(1.2);
    color: var(--cyan-blue);
}

.fhe-problem {
    padding: 6rem 0;
}

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

.problem-box {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-left: 4px solid #dc2626;
}

.problem-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.problem-stat {
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
    margin: 1rem 0;
}

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

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

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

.breakthrough-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.breakthrough-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.breakthrough-stats {
    margin-top: 2rem;
}

.breakthrough-stat {
    text-align: center;
}

.stat-before {
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-arrow {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.stat-after {
    color: var(--primary-color);
    font-weight: 600;
}

.speed-comparison {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.speed-old, .speed-new {
    margin-bottom: 2rem;
}

.speed-old h4, .speed-new h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.speed-bar {
    height: 30px;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.speed-bar.slow {
    background: #fee2e2;
    width: 20%;
}

.speed-bar.fast {
    background: var(--wave-accent-dark);
    width: 100%;
}

.innovation-section {
    padding: 6rem 0;
}

.innovation-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.innovation-old, .innovation-new {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.innovation-old {
    border-left: 4px solid #dc2626;
}

.innovation-new {
    border-left: 4px solid var(--primary-color);
}

.innovation-old h3, .innovation-new h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.innovation-old ul, .innovation-new ul {
    list-style: none;
    padding: 0;
}

.innovation-old li, .innovation-new li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.innovation-arrow {
    font-size: 2rem;
    color: var(--text-secondary);
}

.innovation-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.innovation-detail {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.innovation-detail h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.innovation-detail p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.fhe-use-cases {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.use-case-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
    cursor: default;
}

.use-case-card:nth-child(1) {
    animation-delay: 0.1s;
}

.use-case-card:nth-child(2) {
    animation-delay: 0.2s;
}

.use-case-card:nth-child(3) {
    animation-delay: 0.3s;
}

.use-case-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.1);
}

.use-case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color var(--transition-base);
}

.use-case-card:hover p {
    color: var(--text-primary);
}

.why-matters {
    padding: 6rem 0;
}

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

.matter-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.matter-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.matter-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Survey Page Styles */
.survey-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.survey-intro {
    max-width: 900px;
    margin: 0 auto;
}

.survey-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.survey-results {
    padding: 6rem 0;
}

.page-header .survey-results {
    padding: 4rem 0 0 0;
    margin-top: 4rem;
}

.survey-results-card {
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(59, 59, 59, 0.08), 0 2px 8px rgba(59, 59, 59, 0.04);
    border: 1.5px solid #e8ecf1;
    padding: 3rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.survey-results-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, rgba(181, 229, 243, 0.05) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.survey-results-card:hover::before {
    opacity: 1;
}

.survey-results-header {
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
    text-align: center;
}

.survey-year-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--blueDC-light) 0%, var(--warning-coral-light) 100%);
    color: var(--text-primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(154, 155, 198, 0.2);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(154, 155, 198, 0.2);
}

.survey-executive-summary {
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.subsection-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.survey-finding {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.survey-finding:last-of-type {
    margin-bottom: 2rem;
}

.finding-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.finding-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.finding-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

.finding-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.finding-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--wave-accent-dark);
    font-weight: 600;
    font-size: 1.2rem;
}

.finding-takeaway {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(107, 184, 208, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--wave-accent-dark);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.finding-takeaway::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 32px;
    height: 32px;
    margin-top: -4px;
    background-image: url('assets/logo/black-icon-no-bg.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.finding-takeaway strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    padding-left: 2.75rem;
}

.finding-takeaway p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.chart-container {
    width: 100%;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0.75rem;
    position: relative;
    z-index: 2;
    min-height: 400px;
    display: block;
}

/* Code Highlighting Container */
.code-container {
    background: #0b1020;
    color: #e6e8ee;
    padding: 30px 34px;
    border-radius: 12px;
    max-width: 660px;
    width: 100%;
    height: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 12px;
    line-height: 1.6;
    white-space: pre;
    position: relative;
    margin: 2rem auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.code-container .cursor {
    display: inline-block;
    width: 8px;
    background: #e6e8ee;
    margin-left: 2px;
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.chart-container:empty {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-container:empty::before {
    content: 'Loading chart...';
    color: var(--text-secondary);
    font-style: italic;
}

.charts-row {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
}

.chart-half {
    flex: 1;
    margin: 0;
    min-width: 0; /* Allow flexbox to shrink */
}

@media (max-width: 768px) {
    .charts-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .chart-half {
        width: 100%;
    }
}

.survey-conclusion {
    margin-top: 4rem;
    padding: 2.5rem;
    background: rgba(181, 229, 243, 0.08);
    border-radius: 1rem;
    border: 1px solid rgba(181, 229, 243, 0.3);
    position: relative;
    z-index: 2;
    text-align: center;
}

.conclusion-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.survey-conclusion p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.conclusion-takeaway {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.conclusion-takeaway strong {
    color: var(--text-primary);
    font-weight: 600;
}

.survey-placeholder {
    max-width: 800px;
    margin: 0 auto;
}

.placeholder-content {
    background: white;
    padding: 4rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.placeholder-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.survey-topics {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 2rem auto 0;
}

.survey-topics li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.survey-topics li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

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

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

.insight-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.insight-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.insight-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.survey-participate {
    padding: 6rem 0;
}

.participate-content {
    max-width: 900px;
    margin: 0 auto;
}

.participate-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.participate-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.benefit-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.participate-cta {
    text-align: center;
    margin-top: 3rem;
}

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

.methodology-content {
    max-width: 900px;
    margin: 0 auto;
}

.methodology-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.methodology-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.methodology-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.methodology-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.methodology-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Platform Page New Styles */
.platform-components {
    padding: 6rem 0;
}

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

.component-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.component-card:nth-child(1) {
    animation-delay: 0.1s;
}

.component-card:nth-child(2) {
    animation-delay: 0.2s;
}

.component-card:nth-child(3) {
    animation-delay: 0.3s;
}

.component-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

.component-card:hover .component-icon {
    transform: scale(1.1);
}

.component-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.component-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.component-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.component-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.component-features {
    list-style: none;
    padding: 0;
}

.component-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.component-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

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

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

.requirement-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.requirement-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.requirement-question {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: block;
}

.requirement-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.requirement-solution {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.requirement-solution strong {
    color: var(--primary-color);
}

.gravity-section {
    padding: 6rem 0;
}

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

.gravity-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.gravity-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.gravity-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.use-cases-section {
    padding: 6rem 0;
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 1rem auto 0;
    text-align: center;
}

/* Responsive Styles for New Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

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

    .workflow {
        flex-direction: column;
    }

    .workflow-connector {
        width: 2px;
        height: 40px;
    }

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

    .docs-quicklinks {
        grid-template-columns: 1fr;
    }

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

    .tech-comparison {
        flex-direction: column;
    }

    .comparison-arrow {
        transform: rotate(90deg);
    }

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

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

    .innovation-comparison {
        flex-direction: column;
    }

    .innovation-arrow {
        transform: rotate(90deg);
    }

    .integration-process {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .fhe-flow-diagram {
        flex-direction: column;
    }

    .fhe-arrow {
        transform: rotate(90deg);
    }
}

/* Architecture Diagram Container */
.architecture-diagram {
    position: relative;
    width: 100%;
    height: 600px;
    min-height: 600px;
    background: transparent;
    border-radius: 8px;
}

/* Hospital Local Servers */
.hospital-server {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    height: 320px;
    border: 2px dashed var(--wave-accent-dark);
    border-radius: 12px;
    background: rgba(148, 211, 230, 0.15);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hospital-server:hover {
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 4px 12px rgba(181, 229, 243, 0.3);
    background: rgba(181, 229, 243, 0.2);
}

.server-label {
    font-size: 0.875rem;
    color: #4a5568;
    text-align: center;
    font-weight: 500;
    margin-bottom: 1rem;
    width: 100%;
    font-family: var(--site-font-sans) !important;
}

.records-container {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    margin-top: 0.5rem;
    justify-content: center;
}

.record-icon {
    width: 50px;
    height: auto;
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.record-icon:hover {
    transform: scale(1.1);
}

.record-icon.aligned-with-encrypt {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 20px;
    width: 40px;
    animation: sequenceHighlightRecord 8s ease-in-out infinite;
    animation-delay: 0s;
}

.record-icon.aligned-with-encrypt:hover {
    transform: translateY(-50%) scale(1.15);
}

/* Arrow from record to encrypt */
.arrow-record-to-encrypt {
    position: absolute;
    left: 150px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 20px;
    width: 30px;
    height: 2px;
    background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    background-size: 20px 2px;
    z-index: 5;
    opacity: 0.4;
    animation: arrowPulse 8s ease-in-out infinite, arrowMove 0.5s linear infinite;
    animation-delay: 0.5s, 0s;
}

.arrow-record-to-encrypt::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -1px;
    width: 0;
    height: 0;
    border-left: 6px solid #3b3b3b;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    animation: arrowHeadPulse 8s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Encrypted Data */
.encrypted-data {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: #000;
    word-break: break-all;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.11);
    line-height: 1.3;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.encrypted-data-1:hover {
    transform: translateY(-50%) translateX(0) scale(1.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: #84a4bb;
}

.encrypted-data-2:hover {
    transform: translateY(-50%) translateX(0) scale(1.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: #84a4bb;
}

.encrypted-data-1 {
    left: 360px;
    top: 50%;
    height: 43px;
    width: 114px;
    transform: translateY(-50%);
    margin-top: -12px;
    animation: dataFlow1 2.5s ease-in-out infinite;
}

.encrypted-data-2 {
    left: 360px;
    top: 50%;
    height: 43px;
    width: 114px;
    transform: translateY(-50%);
    margin-top: 120px;
    animation: dataFlow2 2.5s ease-in-out infinite 2.5s;
}

.ciphertext {
    line-height: 1.4;
}

@keyframes dataFlow1 {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(-50%) translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) translateX(5px);
    }
}

@keyframes dataFlow2 {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(-50%) translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) translateX(-5px);
    }
}

/* Arrow from Encrypt to AI */
.arrow-encrypt-to-ai {
    position: absolute;
    left: 325px;
    width: 272px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 20px;
    height: 2px;
    background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    background-size: 20px 2px;
    z-index: 5;
    opacity: 0.4;
    box-shadow: none;
    animation: arrowPulseLong 8s ease-in-out infinite, arrowMove 0.5s linear infinite;
    animation-delay: 1.7s, 0s;
}

.arrow-encrypt-to-ai::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -1px;
    width: 0;
    height: 0;
    border-left: 6px solid #3b3b3b;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    animation: arrowHeadPulseLong 8s ease-in-out infinite;
    animation-delay: 1.7s;
}

/* Arrow from AI to Decrypt */
.arrow-ai-to-decrypt {
    position: absolute;
    width: 272px;
    left: 330px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 90px;
    height: 2px;
    background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    background-size: 20px 2px;
    z-index: 5;
    opacity: 0.4;
    box-shadow: none;
    animation: arrowPulseLong 8s ease-in-out infinite, arrowMoveLeft 0.5s linear infinite;
    animation-delay: 4.4s, 0s;
}

.arrow-ai-to-decrypt::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -1px;
    width: 0;
    height: 0;
    border-right: 6px solid #3b3b3b;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    animation: arrowHeadPulseLong 8s ease-in-out infinite;
    animation-delay: 4.4s;
}

/* Encrypt Block */
.encrypt-block {
    position: absolute;
    left: 185px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 20px;
    width: 140px;
    height: 50px;
    background: #3b3b3b;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    padding: 0.5rem 0.75rem;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    animation: sequenceHighlightBlockEncrypt 8s ease-in-out infinite;
    animation-delay: 1.2s;
}

.encrypt-block:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 59, 59, 0.4);
    background: #454545;
}

.encrypt-block .block-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    font-family: var(--site-font-sans);
}

.block-logo {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Decrypt Block */
.decrypt-block {
    position: absolute;
    left: 185px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 90px;
    width: 140px;
    height: 50px;
    background: #3b3b3b;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    padding: 0.5rem 0.75rem;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    animation: sequenceHighlightBlockDecrypt 8s ease-in-out infinite;
    animation-delay: 5.6s;
}

.decrypt-block:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 59, 59, 0.4);
    background: #454545;
}

.decrypt-block .block-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    font-family: var(--site-font-sans);
}

/* AI Block Container */
.ai-block-container {
    position: absolute;
    left: 562px;
    top: 50%;
    margin-top: 50px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 180px;
}

.ai-cloud-outline {
    position: absolute;
    width: 150%;
    height: 150%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.9;
    pointer-events: none;
}

.ai-cloud-outline img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ai-block {
    position: relative;
    background: #3b3b3b;
    border: none !important;
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    z-index: 1;
    height: 110px;
    width: 120px;
    animation: sequenceHighlightAI 8s ease-in-out infinite;
    animation-delay: 2.9s;
}

.ai-block-container:hover .ai-block {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(59, 59, 59, 0.5);
    background: #454545;
}

.ai-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.ai-icon {
    width: 60px;
    height: auto;
    align-self: center;
    margin-top: -10px;
}

.ai-block-logo {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Sequential Animation Keyframes */
/* Record: 0s → 0.5s (0% → 6.25%) */
@keyframes sequenceHighlightRecord {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(-60px);
    }
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(-60px);
    }
    1% {
        opacity: 0;
        transform: translateY(-50%) translateX(-60px);
    }
    6.25% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
    7.25%, 100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Encrypt: 1.2s → 1.7s (15% → 21.25% of 8s cycle) */
@keyframes sequenceHighlightBlockEncrypt {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    15% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    16% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    18.125% {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    21.25% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    22.25%, 99% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

/* Decrypt: 5.6s → 6.1s (70% → 76.25% of 8s cycle) */
@keyframes sequenceHighlightBlockDecrypt {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    70% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    71% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    73.125% {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    76.25% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    77.25%, 99% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

/* Arrow Record→Encrypt: 0.5s → 1.2s (6.25% → 15%) */
@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
    6.25% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
    6.875% {
        opacity: 0.7;
        box-shadow: 0 2px 6px rgba(141, 208, 232, 0.25);
        background-image: repeating-linear-gradient(to right, #6b8ba3 0px, #6b8ba3 4px, transparent 4px, transparent 8px);
    }
    7.5% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(141, 208, 232, 0.5);
        background-image: repeating-linear-gradient(to right, var(--wave-accent-dark) 0px, var(--wave-accent-dark) 4px, transparent 4px, transparent 8px);
    }
    14.375% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(141, 208, 232, 0.5);
        background-image: repeating-linear-gradient(to right, var(--wave-accent-dark) 0px, var(--wave-accent-dark) 4px, transparent 4px, transparent 8px);
    }
    15% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
}

/* Arrow Encrypt→AI: 1.7s → 2.9s (21.25% → 36.25%), Arrow AI→Decrypt: 4.4s → 5.6s (55% → 70%) */
@keyframes arrowPulseLong {
    0%, 100% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
    21.25% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
    21.875% {
        opacity: 0.7;
        box-shadow: 0 2px 6px rgba(141, 208, 232, 0.25);
        background-image: repeating-linear-gradient(to right, #6b8ba3 0px, #6b8ba3 4px, transparent 4px, transparent 8px);
    }
    22.5% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(141, 208, 232, 0.5);
        background-image: repeating-linear-gradient(to right, var(--wave-accent-dark) 0px, var(--wave-accent-dark) 4px, transparent 4px, transparent 8px);
    }
    35.625% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(141, 208, 232, 0.5);
        background-image: repeating-linear-gradient(to right, var(--wave-accent-dark) 0px, var(--wave-accent-dark) 4px, transparent 4px, transparent 8px);
    }
    36.25% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
    55% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
    55.625% {
        opacity: 0.7;
        box-shadow: 0 2px 6px rgba(141, 208, 232, 0.25);
        background-image: repeating-linear-gradient(to right, #6b8ba3 0px, #6b8ba3 4px, transparent 4px, transparent 8px);
    }
    56.25% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(141, 208, 232, 0.5);
        background-image: repeating-linear-gradient(to right, var(--wave-accent-dark) 0px, var(--wave-accent-dark) 4px, transparent 4px, transparent 8px);
    }
    69.375% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(141, 208, 232, 0.5);
        background-image: repeating-linear-gradient(to right, var(--wave-accent-dark) 0px, var(--wave-accent-dark) 4px, transparent 4px, transparent 8px);
    }
    70% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
}

@keyframes arrowMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 0;
    }
}

@keyframes arrowMoveLeft {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -20px 0;
    }
}

/* Arrow Head Record→Encrypt: 0.5s → 1.2s (6.25% → 15%) */
@keyframes arrowHeadPulse {
    0%, 100% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
    6.25% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
    6.875% {
        opacity: 0.7;
        border-left-color: #6b8ba3;
        border-right-color: #6b8ba3;
    }
    7.5% {
        opacity: 1;
        border-left-color: var(--wave-accent-dark);
        border-right-color: var(--wave-accent-dark);
    }
    14.375% {
        opacity: 1;
        border-left-color: var(--wave-accent-dark);
        border-right-color: var(--wave-accent-dark);
    }
    15% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
}

/* Arrow Head Encrypt→AI: 1.7s → 2.9s (21.25% → 36.25%), Arrow Head AI→Decrypt: 4.4s → 5.6s (55% → 70%) */
@keyframes arrowHeadPulseLong {
    0%, 100% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
    21.25% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
    21.875% {
        opacity: 0.7;
        border-left-color: #6b8ba3;
        border-right-color: #6b8ba3;
    }
    22.5% {
        opacity: 1;
        border-left-color: var(--wave-accent-dark);
        border-right-color: var(--wave-accent-dark);
    }
    35.625% {
        opacity: 1;
        border-left-color: var(--wave-accent-dark);
        border-right-color: var(--wave-accent-dark);
    }
    36.25% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
    55% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
    55.625% {
        opacity: 0.7;
        border-left-color: #6b8ba3;
        border-right-color: #6b8ba3;
    }
    56.25% {
        opacity: 1;
        border-left-color: var(--wave-accent-dark);
        border-right-color: var(--wave-accent-dark);
    }
    69.375% {
        opacity: 1;
        border-left-color: var(--wave-accent-dark);
        border-right-color: var(--wave-accent-dark);
    }
    70% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
}

/* AI: 2.9s → 4.4s (36.25% → 55%) - Fast shake animation */
@keyframes sequenceHighlightAI {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translateX(0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    36.25% {
        opacity: 1;
        transform: scale(1) translateX(0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    37.25% {
        opacity: 1;
        transform: scale(1) translateX(0);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    37.75% {
        transform: scale(1) translateX(-4px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    38.5% {
        transform: scale(1) translateX(4px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    39.375% {
        transform: scale(1) translateX(-4px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    40.25% {
        transform: scale(1) translateX(4px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    41% {
        transform: scale(1) translateX(-3px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    41.875% {
        transform: scale(1) translateX(3px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    42.75% {
        transform: scale(1) translateX(-3px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    43.625% {
        transform: scale(1) translateX(3px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    44.375% {
        transform: scale(1) translateX(-2px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    45.25% {
        transform: scale(1) translateX(2px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    46.125% {
        transform: scale(1) translateX(-2px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    47% {
        transform: scale(1) translateX(2px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    47.875% {
        transform: scale(1) translateX(-1px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    48.75% {
        transform: scale(1) translateX(1px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    49.625% {
        transform: scale(1) translateX(-1px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    50.5% {
        transform: scale(1) translateX(1px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    51.375% {
        transform: scale(1) translateX(0);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    55% {
        opacity: 1;
        transform: scale(1) translateX(0);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    56%, 99% {
        opacity: 1;
        transform: scale(1) translateX(0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

/* Parallel Compute Diagram */
.parallel-compute-diagram {
    position: relative;
    width: 100%;
    height: 600px;
    min-height: 600px;
    background: transparent;
    border-radius: 8px;
    overflow: visible;
}

.parallel-compute-diagram .circuit-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Ambient glow orbs */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: orbFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--wave-accent) 0%, transparent 70%);
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--blueDC) 0%, transparent 70%);
    right: 15%;
    top: 60%;
    animation-delay: 3s;
}

/* Flowing parallel wires - curved and organic */
.wire {
    position: absolute;
    stroke-width: 2;
    fill: none;
    opacity: 0.5;
    filter: drop-shadow(0 0 3px currentColor);
    pointer-events: none;
}

.wire-1 {
    stroke: var(--wave-accent-dark);
    top: 20%;
    left: 0;
    width: 100%;
    height: 100%;
}

.wire-2 {
    stroke: var(--wave-accent-darker);
    top: 35%;
    left: 0;
    width: 100%;
    height: 100%;
}

.wire-3 {
    stroke: var(--blueDC);
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
}

.wire-4 {
    stroke: var(--wave-accent-dark);
    top: 65%;
    left: 0;
    width: 100%;
    height: 100%;
}

.wire-5 {
    stroke: var(--wave-accent-darker);
    top: 80%;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Data particles flowing along wires */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(0.5px);
}

.particle-wave {
    background: var(--wave-accent-dark);
    box-shadow: 0 0 12px var(--wave-accent-dark), 0 0 24px var(--wave-accent-dark);
}

.particle-blue {
    background: var(--blueDC);
    box-shadow: 0 0 12px var(--blueDC), 0 0 24px var(--blueDC);
}

/* Glowing nodes where wires split/merge */
.node {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141, 208, 232, 0.6) 0%, rgba(107, 184, 208, 0.3) 50%, transparent 100%);
    box-shadow: 0 0 30px var(--wave-accent-dark), 0 0 60px var(--wave-accent-dark);
    animation: nodePulse 3s ease-in-out infinite;
    pointer-events: none;
}

.node-large {
    width: 120px;
    height: 120px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.node-medium {
    width: 60px;
    height: 60px;
    animation-delay: 0.5s;
}

.node-small {
    width: 30px;
    height: 30px;
    animation-delay: 1s;
}

/* Abstract processing shapes */
.processing-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(187, 189, 220, 0.2) 0%, transparent 70%);
    border: 2px solid var(--blueDC);
    opacity: 0.5;
    animation: shapePulse 4s ease-in-out infinite;
    pointer-events: none;
}

.shape-1 {
    width: 200px;
    height: 200px;
    left: 25%;
    top: 30%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    left: 70%;
    top: 25%;
    animation-delay: 1s;
}

.shape-3 {
    width: 180px;
    height: 180px;
    left: 20%;
    top: 70%;
    animation-delay: 2s;
}

.shape-4 {
    width: 160px;
    height: 160px;
    left: 75%;
    top: 65%;
    animation-delay: 1.5s;
}

/* Flowing data streams */
.data-stream {
    position: absolute;
    width: 3px;
    background: linear-gradient(to right, transparent, var(--wave-accent-dark), transparent);
    opacity: 0.5;
    filter: blur(1px);
    animation: streamFlow 2s linear infinite;
    pointer-events: none;
}

/* Connection wires - curved paths */
.connection-wire {
    position: absolute;
    stroke-width: 1.5;
    fill: none;
    opacity: 0.3;
    filter: drop-shadow(0 0 2px currentColor);
    pointer-events: none;
}

/* Particle trails */
.particle-trail {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--wave-accent-dark), transparent);
    opacity: 0.3;
    filter: blur(2px);
    animation: trailMove 3s linear infinite;
    pointer-events: none;
}

/* Parallel Compute Animations */
@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.3;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.2;
    }
}

@keyframes nodePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
        box-shadow: 0 0 30px var(--wave-accent-dark), 0 0 60px var(--wave-accent-dark);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
        box-shadow: 0 0 50px var(--wave-accent-dark), 0 0 100px var(--wave-accent-dark);
    }
}

@keyframes shapePulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.7;
    }
}

@keyframes streamFlow {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(calc(100vw + 100px));
        opacity: 0;
    }
}

@keyframes trailMove {
    0% {
        transform: translateX(-200px);
        opacity: 0;
    }
    20% {
        opacity: 0.4;
    }
    80% {
        opacity: 0.4;
    }
    100% {
        transform: translateX(calc(100vw + 200px));
        opacity: 0;
    }
}

@keyframes particleMove1 {
    0% {
        left: 0%;
        top: 20%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        left: 45%;
        top: 48%;
    }
    60% {
        left: 55%;
        top: 52%;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        top: 80%;
        opacity: 0;
    }
}

@keyframes particleMove2 {
    0% {
        left: 0%;
        top: 35%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        left: 48%;
        top: 50%;
    }
    60% {
        left: 52%;
        top: 50%;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        top: 65%;
        opacity: 0;
    }
}

@keyframes particleMove3 {
    0% {
        left: 0%;
        top: 50%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        left: 50%;
        top: 50%;
    }
    60% {
        left: 50%;
        top: 50%;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        top: 50%;
        opacity: 0;
    }
}

@keyframes particleMove4 {
    0% {
        left: 0%;
        top: 65%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        left: 52%;
        top: 50%;
    }
    60% {
        left: 48%;
        top: 50%;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        top: 35%;
        opacity: 0;
    }
}

@keyframes particleMove5 {
    0% {
        left: 0%;
        top: 80%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        left: 55%;
        top: 52%;
    }
    60% {
        left: 45%;
        top: 48%;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        top: 20%;
        opacity: 0;
    }
}

/* Responsive for parallel compute */
@media (max-width: 768px) {
    .parallel-compute-diagram {
        height: 400px;
        min-height: 400px;
    }

    .node-large {
        width: 80px;
        height: 80px;
    }

    .processing-shape {
        width: 100px !important;
        height: 100px !important;
    }

    .ambient-orb {
        width: 150px !important;
        height: 150px !important;
    }
}

/* Blog Catalog Styles */
.blog-section {
    padding: 4rem 0 6rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg1.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.blog-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg2.png');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.blog-section.bg-alt {
    background: var(--bg-primary);
}

/* Unified header and blog section (for news page) */
.blog-section-unified {
    padding: 7.25rem 0 5.5rem;
    --news-lead-column-max: 52rem;
}

.blog-section-unified > .container.platform-section-shell__inner.how-it-works-platform__container {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Hero + featured story: narrower than the catalog grid (legacy default).
 * News index (body.news-page): same width as .how-it-works-platform__container below.
 * Single articles use .news-article-page — no blog-section-unified — and keep narrow hero/body. */
.blog-section-unified .news-page-lead-column {
    max-width: var(--news-lead-column-max);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

body.news-page .blog-section-unified .news-page-lead-column {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

body.news-page .blog-section-unified .fhe-tech-hero__content {
    max-width: none;
}

body.news-page .blog-section-unified .fhe-tech-hero__content .fhe-tech-hero__lead {
    max-width: none;
}

.blog-section-unified .blog-grid {
    margin-top: 1.35rem;
}

.news-catalog-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.85rem;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    border-top: 0;
}

.news-catalog-intro__title {
    margin: 0;
    color: #4b5563;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.1;
}

.news-catalog-intro__count {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.blog-section-unified .fhe-tech-hero__content .fhe-tech-hero__lead {
    max-width: 700px;
}

/* More from Lattica section */
.more-from-lattica-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(154, 155, 198, 0.1);
    position: relative;
    z-index: 2;
}

.more-from-lattica-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    text-align: left;
    position: relative;
    padding-bottom: 0.75rem;
    opacity: 0.9;
    transition: color var(--transition-base);
}

.more-from-lattica-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, var(--wave-accent) 0%, var(--blueDC) 100%);
    border-radius: 2px;
    transition: width 0.7s ease, background 0.7s ease;
}

.more-from-lattica-title:hover {
    color: var(--wave-accent-dark);
}

.more-from-lattica-title:hover::before {
    width: 80px;
    background: linear-gradient(135deg, var(--wave-accent-dark) 0%, var(--blueDC-dark) 100%);
}

.more-from-lattica-section .blog-grid {
    margin-top: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(365px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

/* Highlighted Blog Card */
.blog-card-highlight {
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(59, 59, 59, 0.08), 0 2px 8px rgba(59, 59, 59, 0.04);
    border: 1.5px solid #e8ecf1;
    transition: all var(--transition-base);
    opacity: 1;
    transform: translateY(0);
    animation: slideInUp 0.6s ease-out forwards;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
    margin-bottom: 3rem;
    z-index: 2;
}

.blog-card-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, rgba(181, 229, 243, 0.08) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.blog-card-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 59, 59, 0.12), 0 4px 12px rgba(59, 59, 59, 0.08);
    border-color: var(--wave-accent-dark);
    background: var(--bg-primary);
}

.blog-card-highlight:hover::before {
    opacity: 1;
}

.blog-card-highlight-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.blog-card-highlight-thumbnail {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blueDC-light) 0%, var(--warning-coral-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.blog-card-highlight-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.05) 20%, 
        rgba(255, 255, 255, 0.15) 40%, 
        rgba(255, 255, 255, 0.3) 65%, 
        rgba(255, 255, 255, 0.5) 85%, 
        rgba(255, 255, 255, 0.65) 100%);
    pointer-events: none;
    z-index: 1;
}

.blog-card-highlight:hover .blog-card-highlight-thumbnail {
    background: linear-gradient(135deg, var(--blueDC) 0%, var(--warning-coral) 100%);
}

.blog-card-highlight-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    position: relative;
    z-index: 1;
}

.blog-card-highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(181, 229, 243, 0.15) 0%, rgba(154, 155, 198, 0.15) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 2;
}

.blog-card-highlight:hover .blog-card-highlight-thumbnail img {
    transform: scale(1.08);
}

.blog-card-highlight:hover .blog-card-highlight-overlay {
    opacity: 1;
}

.blog-card-highlight-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.blog-card-highlight-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-card-highlight-category {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--blueDC-light) 0%, var(--warning-coral-light) 100%);
    color: var(--text-primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(154, 155, 198, 0.2);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(154, 155, 198, 0.2);
}

.blog-card-highlight:hover .blog-card-highlight-category {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(154, 155, 198, 0.4);
    font-size: 0.875rem;
}

.blog-card-highlight-date {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-card-highlight-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
    transition: all var(--transition-base);
    padding-bottom: 0.75rem;
    position: relative;
    overflow: visible;
}

.blog-card-highlight-title::before {
    content: '';
    position: absolute;
    display: block;
    width: 60%;
    height: 4px;
    background: var(--wave-accent-dark);
    bottom: 0;
    left: 0;
    transition: width 0.7s ease, background 0.7s ease;
    z-index: 1;
}

.blog-card-highlight-title::after {
    content: '';
    position: absolute;
    display: block;
    background: var(--wave-accent-dark);
    mask: url('assets/images/banner-tag.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask: url('assets/images/banner-tag.svg') no-repeat center;
    -webkit-mask-size: contain;
    width: 50px;
    height: 30px;
    bottom: -2px;
    left: 60%;
    opacity: 0;
    transition: all 0.7s ease;
    transform: translateX(-10px);
    z-index: 2;
}

.blog-card-highlight:hover .blog-card-highlight-title {
    color: var(--wave-accent-dark);
}

.blog-card-highlight:hover .blog-card-highlight-title::before {
    width: 85%;
    background: var(--wave-accent-dark);
}

.blog-card-highlight:hover .blog-card-highlight-title::after {
    opacity: 1;
    left: 85%;
    transform: translateX(10px);
    background: var(--wave-accent-dark);
}

.blog-card-highlight-excerpt {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    transition: color var(--transition-base);
}

.blog-card-highlight:hover .blog-card-highlight-excerpt {
    color: var(--text-secondary);
}

.blog-card-highlight-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--wave-accent-dark);
    font-weight: 700;
    font-size: 1.125rem;
    transition: all var(--transition-base);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    background: rgba(181, 229, 243, 0.15);
    border: 1.5px solid rgba(141, 208, 232, 0.3);
    align-self: flex-start;
}

.blog-card-highlight:hover .blog-card-highlight-cta {
    color: var(--wave-accent-dark);
    background: rgba(181, 229, 243, 0.25);
    border-color: var(--wave-accent-dark);
    transform: translateX(5px);
}

.blog-card-highlight-cta .arrow {
    transition: transform var(--transition-base);
}

.blog-card-highlight:hover .blog-card-highlight-cta .arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .blog-card-highlight-thumbnail {
        height: 280px;
    }
    
    .blog-card-highlight-content {
        padding: 2rem;
    }
    
    .blog-card-highlight-title {
        font-size: 1.75rem;
    }
    
    .blog-card-highlight-excerpt {
        font-size: 1rem;
    }
}

.blog-card {
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(59, 59, 59, 0.08), 0 2px 8px rgba(59, 59, 59, 0.04);
    border: 1.5px solid #e8ecf1;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, rgba(181, 229, 243, 0.05) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 59, 59, 0.12), 0 4px 12px rgba(59, 59, 59, 0.08);
    border-color: var(--wave-accent-dark);
    background: var(--bg-primary);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition-base);
}

.blog-card-thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blueDC-light) 0%, var(--warning-coral-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.blog-card-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.05) 20%, 
        rgba(255, 255, 255, 0.15) 40%, 
        rgba(255, 255, 255, 0.3) 65%, 
        rgba(255, 255, 255, 0.5) 85%, 
        rgba(255, 255, 255, 0.65) 100%);
    pointer-events: none;
    z-index: 1;
}

.blog-card:hover .blog-card-thumbnail {
    background: linear-gradient(135deg, var(--blueDC) 0%, var(--warning-coral) 100%);
}

.blog-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    position: relative;
    z-index: 1;
}

.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(181, 229, 243, 0.1) 0%, rgba(154, 155, 198, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 2;
}

.blog-card:hover .blog-card-thumbnail img {
    transform: scale(1.1);
}

.blog-card:hover .blog-card-overlay {
    opacity: 1;
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-card-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--blueDC-light) 0%, var(--warning-coral-light) 100%);
    color: var(--text-primary);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(154, 155, 198, 0.2);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(154, 155, 198, 0.2);
}

.blog-card:hover .blog-card-category {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(154, 155, 198, 0.4);
}

.blog-card-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
    transition: all var(--transition-base);
    padding-bottom: 0.5rem;
    position: relative;
    overflow: visible;
}

.blog-card-title::before {
    content: '';
    position: absolute;
    display: block;
    width: 60%;
    height: 3px;
    background: var(--wave-accent-dark);
    bottom: 0;
    left: 0;
    transition: width 0.7s ease, background 0.7s ease;
    z-index: 1;
}

.blog-card-title::after {
    content: '';
    position: absolute;
    display: block;
    background: var(--wave-accent-dark);
    mask: url('assets/images/banner-tag.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask: url('assets/images/banner-tag.svg') no-repeat center;
    -webkit-mask-size: contain;
    width: 40px;
    height: 24px;
    bottom: -1px;
    left: 60%;
    opacity: 0;
    transition: all 0.7s ease;
    transform: translateX(-10px);
    z-index: 2;
}

.blog-card:hover .blog-card-title {
    color: var(--wave-accent-dark);
}

.blog-card:hover .blog-card-title::before {
    width: 85%;
    background: var(--wave-accent-dark);
}

.blog-card:hover .blog-card-title::after {
    opacity: 1;
    left: 85%;
    transform: translateX(10px);
    background: var(--wave-accent-dark);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.blog-card:hover .blog-card-excerpt {
    color: var(--text-secondary);
}

.blog-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--wave-accent-dark);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: auto;
    transition: all var(--transition-base);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(181, 229, 243, 0.15);
    border: 1.5px solid rgba(141, 208, 232, 0.3);
}

.blog-card-cta .arrow {
    transition: transform var(--transition-base);
    display: inline-block;
}

.blog-card:hover .blog-card-cta {
    color: var(--wave-accent-dark);
    transform: translateX(4px);
    background: rgba(181, 229, 243, 0.25);
    border-color: var(--wave-accent-dark);
    padding-left: 1.5rem;
}

.blog-card:hover .blog-card-cta .arrow {
    transform: translateX(4px);
}

/* News catalog card refresh (clean editorial look) */
.blog-card,
.blog-card-highlight {
    background: #f8fafc;
    border: 1px solid oklch(17% 0.02 250 / 0.1);
    border-radius: 20px;
    box-shadow: 0 30px 60px -25px oklch(20% 0.05 230 / 0.25), 0 8px 20px -10px oklch(20% 0.05 230 / 0.15);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    will-change: transform;
    opacity: 1;
    transform: none;
    animation: none;
}

.blog-card::before,
.blog-card-highlight::before {
    display: none;
}

.blog-card:hover .blog-card-thumbnail,
.blog-card-highlight:hover .blog-card-highlight-thumbnail {
    background: #e7edf4;
}

.blog-card-thumbnail,
.blog-card-highlight-thumbnail {
    height: 235px;
    background: #e7edf4;
}

.blog-card-thumbnail::after,
.blog-card-highlight-thumbnail::after {
    display: none;
}

.blog-card-overlay,
.blog-card-highlight-overlay {
    display: none;
}

.blog-card:hover .blog-card-thumbnail img,
.blog-card-highlight:hover .blog-card-highlight-thumbnail img {
    transform: scale(1.03);
}

.blog-card-content,
.blog-card-highlight-content {
    padding: 1.35rem 1.35rem 1.5rem;
    background: #fbfdff;
}

.blog-card-meta,
.blog-card-highlight-meta {
    gap: 0.95rem;
    margin-bottom: 0.95rem;
}

.blog-card-category,
.blog-card-highlight-category {
    padding: 0.3rem 0.78rem;
    border-radius: 999px;
    background: #e8f7ff;
    border: 1px solid #c8ecfb;
    color: #21b7e8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: none;
}

.blog-card:hover .blog-card-category,
.blog-card-highlight:hover .blog-card-highlight-category {
    transform: none;
    box-shadow: none;
}

.blog-card-date,
.blog-card-highlight-date {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

.blog-card-title,
.blog-card-highlight-title {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.22;
    margin-bottom: 0.95rem;
    padding-bottom: 0;
    color: #1f2937;
}

.blog-card-title {
    font-size: clamp(1.2rem, 1.5vw, 1.45rem);
}

.blog-card .blog-card-meta {
    margin-bottom: 0.75rem;
}

.blog-card .blog-card-category {
    font-size: 0.7rem;
    padding: 0.26rem 0.68rem;
    letter-spacing: 0.08em;
}

.blog-card .blog-card-date {
    font-size: 0.88rem;
}

.blog-card .blog-card-title {
    font-size: clamp(1.06rem, 1.2vw, 1.26rem);
    margin-bottom: 0.75rem;
}

.blog-card .blog-card-excerpt {
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
}

.blog-card .blog-card-cta {
    font-size: 0.88rem;
    gap: 0.35rem;
}

.blog-card-title::before,
.blog-card-title::after,
.blog-card-highlight-title::before,
.blog-card-highlight-title::after {
    display: none;
}

.blog-card:hover .blog-card-title,
.blog-card-highlight:hover .blog-card-highlight-title {
    color: #111827;
}

.blog-card-excerpt,
.blog-card-highlight-excerpt {
    color: #5f6978;
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.blog-card-cta,
.blog-card-highlight-cta {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #1bb6e7;
    font-size: 1.15rem;
    font-weight: 600;
    gap: 0.45rem;
}

.blog-card:hover .blog-card-cta,
.blog-card-highlight:hover .blog-card-highlight-cta {
    color: #129ecb;
    background: transparent;
    border: 0;
    transform: none;
    padding-left: 0;
}

.blog-card:hover .blog-card-cta .arrow,
.blog-card-highlight:hover .blog-card-highlight-cta .arrow {
    transform: translateX(2px);
}

.blog-card-cta .arrow,
.blog-card-highlight-cta .arrow {
    width: 1.05em;
    height: 1.05em;
    stroke-width: 2.2;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.blog-card-highlight {
    margin-top: 2.25rem;
    margin-bottom: 1.75rem;
}

/* Featured news card: horizontal editorial layout */
.blog-card-highlight {
    border-radius: 1.1rem;
    position: relative;
}

.blog-card-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    display: block;
    opacity: 1;
    background: linear-gradient(90deg, oklch(72% 0.11 220) 0%, oklch(72% 0.1 295) 100%);
    z-index: 3;
}

.blog-card-highlight-link {
    display: grid;
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    min-height: 300px;
}

.blog-card-highlight-thumbnail {
    height: 100%;
    min-height: 300px;
}

.blog-card-highlight-content {
    padding: 1.35rem 2.2rem 1.5rem;
    justify-content: flex-start;
}

.blog-card-highlight-meta {
    margin-bottom: 0.85rem;
}

.blog-card-highlight-title {
    font-size: clamp(1.9rem, 2.6vw, 2.6rem);
    line-height: 1.18;
    margin-bottom: 0.85rem;
}

.blog-card-highlight-excerpt {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 1.35rem;
}

.blog-card-highlight-cta {
    font-size: 1.05rem;
}

.blog-card-highlight .blog-card-highlight-meta {
    margin-bottom: 0.65rem;
}

.blog-card-highlight .blog-card-highlight-category {
    font-size: 0.72rem;
    padding: 0.26rem 0.68rem;
    letter-spacing: 0.08em;
}

.blog-card-highlight .blog-card-highlight-date {
    font-size: 0.88rem;
}

.blog-card-highlight .blog-card-highlight-title {
    font-size: clamp(1.4rem, 1.8vw, 1.9rem);
    margin-top: 0.45rem;
    margin-bottom: 0.7rem;
}

.blog-card-highlight .blog-card-highlight-excerpt {
    font-size: 0.92rem;
    line-height: 1.42;
    margin-bottom: 0.95rem;
}

.blog-card-highlight .blog-card-highlight-cta {
    font-size: 0.9rem;
    gap: 0.35rem;
    margin-top: auto;
}

@media (hover: hover) and (pointer: fine) {
    .blog-card:hover,
    .blog-card-highlight:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 36px 68px -28px oklch(20% 0.05 230 / 0.27), 0 12px 24px -12px oklch(20% 0.05 230 / 0.18);
        background: #f8fafc;
    }
}

@media (max-width: 768px) {
    .blog-section-unified {
        padding: 6.35rem 0 4.5rem;
    }

    .blog-section-unified .blog-grid {
        margin-top: 1rem;
    }

    .news-catalog-intro {
        margin-top: 0.55rem;
        padding-top: 0.05rem;
    }

    .news-catalog-intro__title {
        font-size: 0.76rem;
        letter-spacing: 0.14em;
    }

    .news-catalog-intro__count {
        font-size: 0.75rem;
    }

    .blog-section-unified .fhe-tech-hero__content .fhe-tech-hero__lead {
        max-width: 100%;
    }

    .blog-card-highlight-link {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .blog-card-highlight-thumbnail {
        min-height: 230px;
    }

    .blog-card-highlight-content {
        padding: 1.15rem 1.15rem 1.25rem;
    }

    .blog-card-highlight-title {
        font-size: 1.5rem;
    }

    .blog-card-highlight .blog-card-highlight-category {
        font-size: 0.68rem;
    }

    .blog-card-highlight .blog-card-highlight-date {
        font-size: 0.82rem;
    }

    .blog-card-highlight .blog-card-highlight-title {
        font-size: 1.2rem;
    }

    .blog-card-highlight .blog-card-highlight-excerpt {
        font-size: 0.86rem;
    }

    .blog-card-highlight .blog-card-highlight-cta {
        font-size: 0.84rem;
    }

    .blog-card-thumbnail,
    .blog-card-highlight-thumbnail {
        height: 215px;
    }

    .blog-card-content,
    .blog-card-highlight-content {
        padding: 1.15rem 1.15rem 1.25rem;
    }

    .blog-card-title,
    .blog-card-highlight-title {
        font-size: 1.35rem;
    }

    .blog-card-title {
        font-size: 1.2rem;
    }

    .blog-card .blog-card-category {
        font-size: 0.68rem;
    }

    .news-article-hero__pill {
        font-size: 0.68rem;
    }

    .blog-card .blog-card-date {
        font-size: 0.82rem;
    }

    .blog-card .blog-card-title {
        font-size: 1.03rem;
    }

    .blog-card .blog-card-excerpt {
        font-size: 0.88rem;
    }

    .blog-card .blog-card-cta {
        font-size: 0.84rem;
    }

    .blog-card-cta,
    .blog-card-highlight-cta {
        font-size: 1rem;
    }
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Blog Post Page Styles */
.blog-post-section {
    padding: 6rem 0 6rem;
    margin-top: 120px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* When blog-post-section is inside blog-section-unified, remove margin-top and background */
.blog-section-unified .blog-post-section {
    margin-top: 0;
    padding: 4rem 0 0;
    background: transparent;
}

.blog-section-unified .blog-post-section::before,
.blog-section-unified .blog-post-section::after {
    display: none;
}

/* Make blog-post-full fill container width when inside blog-section-unified */
.blog-section-unified .blog-post-section .blog-post-full {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

/* Wider container for blog detail pages in unified header layout */
.page-header.blog-section-unified > .container {
    max-width: 1600px;
    width: min(100%, 1600px);
    padding-left: 2rem;
    padding-right: 2rem;
}

.page-header.blog-section-unified .page-header-hero {
    margin-top: 1rem;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.page-header.blog-section-unified .page-header-hero img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 420px;
}

/* Back button aligned to bottom of page-header-content */
.page-title-back-btn {
    flex-shrink: 0;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out 0.2s forwards;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .page-header-with-back {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .page-title-back-btn {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 900px) {
    .page-header.blog-section-unified .page-header-hero img {
        max-height: 260px;
    }
}

.blog-post-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg1.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.blog-post-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg2.png');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.blog-post-full {
    max-width: none;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 0;
    box-shadow: 0 4px 16px rgba(59, 59, 59, 0.08), 0 2px 8px rgba(59, 59, 59, 0.04);
    border: 1.5px solid #e8ecf1;
    position: relative;
    z-index: 1;
    animation: slideInUp 0.6s ease-out forwards;
    overflow: hidden;
}

.blog-post-thumbnail {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blueDC-light) 0%, var(--warning-coral-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-post-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.05) 20%, 
        rgba(255, 255, 255, 0.15) 40%, 
        rgba(255, 255, 255, 0.3) 65%, 
        rgba(255, 255, 255, 0.5) 85%, 
        rgba(255, 255, 255, 0.65) 100%);
    pointer-events: none;
    z-index: 1;
}

.blog-post-meta {
    padding: 3rem 3rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.blog-category {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--blueDC-light) 0%, var(--warning-coral-light) 100%);
    color: var(--text-primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(154, 155, 198, 0.2);
    box-shadow: 0 2px 8px rgba(154, 155, 198, 0.2);
}

.blog-date {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-post-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    line-height: 1.2;
    padding: 0 3rem;
    padding-bottom: 1rem;
    position: relative;
}

.blog-post-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(135deg, var(--wave-accent) 0%, var(--blueDC) 100%);
    border-radius: 2px;
}

.blog-post-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.1rem;
    padding: 0 3rem;
}

.blog-post-intro {
    margin-bottom: 3rem;
}

.blog-post-intro .lead-text {
    font-size: 1.35rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 0;
    font-weight: 500;
}

.blog-post-intro .lead-text strong {
    color: var(--wave-accent-dark);
    font-weight: 700;
}

.blog-post-section-content {
    margin-bottom: 3rem;
    position: relative;
    padding-top: 3rem;
    border-top: 2px solid rgba(154, 155, 198, 0.1);
}

.blog-post-section-content:first-child {
    padding-top: 0;
    border-top: none;
}

.blog-post-takeaway-section {
    background: linear-gradient(135deg, rgba(181, 229, 243, 0.12) 0%, rgba(139, 92, 246, 0.12) 50%, rgba(187, 189, 220, 0.12) 100%);
    border-radius: 2rem;
    padding: 4rem 3rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(var(--bg-card), var(--bg-card)),
        linear-gradient(135deg, var(--wave-accent) 0%, var(--purple-primary) 50%, var(--blueDC) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    overflow: hidden;
    text-align: center;
    border-top: none;
    padding-top: 4rem;
}

.blog-post-takeaway-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--wave-accent) 0%, var(--purple-primary) 50%, var(--blueDC) 100%);
}

.blog-post-takeaway-section h2 {
    margin-top: 0;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    font-weight: 700;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post-takeaway-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
    line-height: 1.9;
}

.blog-post-takeaway-section .finding-takeaway {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
}

.blog-post-section-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 6rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.75rem;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    max-width: 85%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-number {
    color: rgba(107, 184, 208, 0.25);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    display: inline-block;
    flex-shrink: 0;
    font-family: 'Comfortaa', sans-serif;
    padding-bottom: 0.15rem;
}

.blog-post-section-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.blog-post-section-content h2::before {
    display: none;
}

.blog-post-section-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: var(--text-primary);
}

.blog-post-section-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.whitepaper-two-column-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

.whitepaper-two-column-cta__text p {
    margin-bottom: 0;
}

.whitepaper-two-column-cta__action {
    display: flex;
    justify-content: flex-end;
}

.survey-two-column-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 2rem;
    align-items: center;
}

.survey-two-column-section__text h2 {
    max-width: 100%;
}

.survey-two-column-section__text p:last-child {
    margin-bottom: 0;
}

.survey-two-column-section__chart .chart-container {
    margin: 0;
}

.blog-post-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}

.blog-post-list li {
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    background: rgba(181, 229, 243, 0.08);
    border-left: 4px solid var(--wave-accent);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: all var(--transition-base);
}

.blog-post-list li:hover {
    background: rgba(181, 229, 243, 0.15);
    transform: translateX(4px);
    border-left-color: var(--wave-accent-dark);
}

.blog-post-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.blog-post-link {
    color: var(--wave-accent-dark);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-base);
    padding-bottom: 2px;
}

.blog-post-link:hover {
    color: var(--wave-accent-darker);
    border-bottom-color: var(--wave-accent-dark);
}

.survey-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--wave-accent-dark);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    background: rgba(181, 229, 243, 0.15);
    border: 1.5px solid rgba(141, 208, 232, 0.3);
    transition: all var(--transition-base);
}

.survey-cta-button .arrow {
    transition: transform var(--transition-base);
    display: inline-block;
}

.survey-cta-button:hover {
    color: var(--wave-accent-dark);
    background: rgba(181, 229, 243, 0.25);
    border-color: var(--wave-accent-dark);
    transform: translateX(4px);
}

.survey-cta-button:hover .arrow {
    transform: translateX(4px);
}

.blog-post-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(154, 155, 198, 0.1);
    text-align: center;
}

.blog-post-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.blog-post-footer {
    margin-top: 3rem;
    padding: 2rem 3rem 3rem;
    border-top: 2px solid rgba(154, 155, 198, 0.1);
    text-align: center;
}

.blog-post-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-article-social-footer {
    margin: 0;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(154, 155, 198, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.news-article-social-footer__socials {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
}

.news-article-social-footer__socials a {
    color: var(--text-primary);
    opacity: 0.74;
    display: inline-flex;
    transition: opacity var(--transition-base), transform var(--transition-base), color var(--transition-base);
}

.news-article-social-footer__socials a:hover {
    opacity: 1;
    color: var(--wave-accent-dark);
    transform: translateY(-2px);
}

.news-article-social-footer__socials img {
    width: 30px;
    height: 30px;
    display: block;
}

.news-article-social-footer__brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-article-social-footer__brand img {
    max-height: 28px;
    width: auto;
    display: block;
}

.news-article-social-footer__copyright {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

/* —— News article (single post): FHE-style hero + separator + body + overlap image —— */
.news-article-page {
    padding: 0;
    margin: 0;
    background: transparent;
    /* Hero feature slot: fixed footprint (not tied to source image dimensions) */
    --news-hero-image-height: clamp(240px, 36vw, 460px);
    /* Article column + prev/next strip — same canvas as `.news-article-body` */
    --news-article-canvas-bg: #f6f8fa;
    /* Body text: comfortable reading measure. Hero image stays wider than this column. */
    --news-article-body-max: 52rem;
    --news-article-hero-max: 64rem;
    /* Hero excerpt: aligned with body column for visual continuity */
    --news-article-excerpt-max: 52rem;
    /* Pull the separator (and body) up so more of the feature image sits on the body background */
    --news-article-sep-lift: clamp(2.5rem, 7.5vw, 6rem);
    /* Darker article typography (prose, lists, blockquotes) — scoped to single-post main */
    --text-primary: #0f172a;
    --text-secondary: #3d4d5c;
}

/*
 * Hero stacks above the article column for overflow painting.
 * Copy must sit above the card; the card must sit above ::before (1) and ::after (2) overlays
 * so the image isn’t washed out by the dotted / gradient layers.
 */
.news-article-page .fhe-tech-hero.news-article-hero {
    position: relative;
    z-index: 2;
    overflow: visible !important;
}

.news-article-page .fhe-tech-hero.news-article-hero > .container.platform-section-shell__inner {
    position: relative;
    z-index: 5;
    max-width: var(--news-article-hero-max);
}

body.news-post-page {
    overflow-x: visible;
}

.news-article-hero .news-article-hero__nav {
    margin-bottom: 1.35rem;
}

.news-article-back--hero {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.22s ease;
}

.news-article-back--hero:hover {
    color: var(--wave-accent-dark);
    transform: translateX(-3px);
}

.news-article-back__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.news-article-back__arrow svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    vertical-align: middle;
}

.news-article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-bottom: 1.25rem;
}

.news-article-hero__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.26rem 0.68rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #21b7e8;
    background: #e8f7ff;
    border: 1px solid #c8ecfb;
    box-shadow: none;
}

.news-article-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}

.news-article-hero__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #475569;
    opacity: 0.9;
}

.news-article-hero__headline {
    margin-top: 0.25rem;
}

.news-article-hero .news-article-hero__excerpt {
    margin-top: 1.1rem;
    max-width: 44rem;
    font-size: 0.98rem;
    line-height: 1.62;
    color: #3d4d5c;
}

.news-article-page .news-article-hero .news-article-hero__excerpt {
    max-width: var(--news-article-excerpt-max);
}

/* Sit below the hero (z-index 2) so the overlap card isn’t bisected by the rule */
.news-article-separator {
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    height: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    position: relative;
    z-index: 0;
    box-sizing: border-box;
}

.news-article-page .news-article-separator {
    margin-top: calc(-1 * var(--news-article-sep-lift));
}

/* Last child of hero: above ::after (2), below hero copy (container z-index 5) */
.news-article-hero .news-article-hero__feature-wrap {
    width: 100%;
    max-width: var(--news-article-hero-max, 64rem);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-top: clamp(2.25rem, 5.5vw, 3.5rem);
    margin-bottom: clamp(-22rem, min(-40vw, -22vh), -9rem);
    position: relative;
    z-index: 3;
}

.news-article-hero .news-article-feature-figure {
    margin: 0;
    width: 100%;
    height: var(--news-hero-image-height);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    border: 1px solid rgba(15, 23, 42, 0.075);
    background: linear-gradient(145deg, #eef2f7 0%, #e2e8f0 100%);
    box-shadow:
        0 22px 44px -18px rgba(15, 23, 42, 0.22),
        0 10px 22px -14px rgba(15, 23, 42, 0.14);
}

.news-article-hero .news-article-feature-figure img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Embedded news article (e.g. survey.html iframes): article column only, no site chrome */
html.news-embed-framed nav.navbar {
    display: none !important;
}

html.news-embed-framed footer.footer {
    display: none !important;
}

html.news-embed-framed .news-article-hero__nav {
    display: none !important;
}

html.news-embed-framed main.news-article-page .news-article-nav-wrap,
html.news-embed-framed main.news-article-page .news-article-related {
    display: none !important;
}

/* Less pull-up under hero when global nav is gone */
html.news-embed-framed body.news-post-page .news-article-page .news-article-body .news-article-body__inner {
    padding-top: clamp(6rem, min(22vh, 20vw), 12rem);
}

.news-article-body {
    position: relative;
    z-index: 1;
    /* Canvas behind the article card — reads like a Markdown preview pane */
    background: var(--news-article-canvas-bg);
    padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

/* Clear the card’s lower half (pulled up from hero) so intro copy isn’t covered */
.news-article-body__inner {
    padding-top: clamp(10rem, min(32vh, 30vw), 20rem);
}

.news-article-page .news-article-body__inner {
    padding-top: calc(clamp(10rem, min(32vh, 30vw), 20rem) + var(--news-article-sep-lift));
}

.news-article-page .news-article-body .news-article-body__inner {
    max-width: var(--news-article-body-max);
}

.blog-post-article {
    margin: 0;
    padding: 0;
}

.blog-post-content--article {
    padding: 0;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-primary);
    font-family: var(--site-font-sans);
    -webkit-font-smoothing: antialiased;
}

.news-article-body .blog-post-content--article {
    font-size: 0.95rem;
    line-height: 1.72;
}

/* Prose scale + rhythm (scoped to news article body only) */
.news-article-body .blog-post-content--article > p {
    margin: 0 0 1.15em;
    color: var(--text-secondary);
    max-width: 100%;
}

.news-article-body .blog-post-content--article p:last-child {
    margin-bottom: 0;
}

.news-article-body .blog-post-content--article a:not([class]) {
    color: #0d6d8c;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    font-weight: 500;
    transition: color 0.15s ease;
}

.news-article-body .blog-post-content--article a:not([class]):hover {
    color: #064e63;
}

.news-article-body .blog-post-content--article hr {
    border: 0;
    height: 1px;
    margin: 2rem 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(15, 23, 42, 0.12) 15%,
        rgba(15, 23, 42, 0.12) 85%,
        transparent
    );
}

.news-article-body .blog-post-content--article .blog-post-section-content {
    margin-bottom: 0;
    padding-top: 1.75rem;
    position: relative;
    /* Override blog catalog `.blog-post-section-content` top rule */
    border-top: none;
}

.news-article-body .blog-post-content--article > .blog-post-intro + .blog-post-section-content,
.news-article-body .blog-post-content--article > .blog-post-section-content:first-child {
    padding-top: 0.5rem;
}

.news-article-body .blog-post-content--article .blog-post-section-content p {
    margin-bottom: 1.1em;
    color: var(--text-secondary);
    line-height: 1.75;
}

.news-article-body .blog-post-content--article .blog-post-section-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.28;
    margin-top: 0;
    margin-bottom: 0.85rem;
    padding-bottom: 0;
    color: var(--text-primary);
    max-width: 100%;
}

.news-article-body .blog-post-content--article .blog-post-section-content h3 {
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-top: 1.75rem;
    margin-bottom: 0.45rem;
    color: var(--text-primary);
}

.news-article-body .blog-post-content--article .blog-post-section-content h3:first-child {
    margin-top: 0;
}

.news-article-body .blog-post-content--article .blog-post-intro {
    margin-bottom: 1.75rem;
}

/* List “cards” for news article body (distinct from plain markdown bullets) */
.news-article-body .blog-post-content--article .blog-post-list {
    list-style: none;
    padding: 0;
    margin: 1.35rem 0 1.85rem;
}

.news-article-body .blog-post-content--article ol.blog-post-list {
    list-style: none;
    counter-reset: blog-post-ol;
}

.news-article-body .blog-post-content--article ol.blog-post-list li {
    counter-increment: blog-post-ol;
}

.news-article-body .blog-post-content--article ol.blog-post-list li::before {
    content: counter(blog-post-ol);
    position: absolute;
    left: 1.15rem;
    top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(181, 229, 243, 0.45);
    border-radius: 6px;
    line-height: 1;
}

/* Block + absolute marker: flex on li breaks mixed text+links into side-by-side flex items */
.news-article-body .blog-post-content--article .blog-post-list li {
    display: block;
    position: relative;
    padding: 1rem 1.25rem 1rem 2.75rem;
    margin-bottom: 0.65rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-left: 4px solid var(--wave-accent-dark);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    color: var(--text-secondary);
    line-height: 1.68;
    transition:
        background var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        transform var(--transition-base);
}

.news-article-body .blog-post-content--article ul.blog-post-list li::before {
    content: '';
    position: absolute;
    left: 1.35rem;
    top: 1.15rem;
    width: 8px;
    height: 8px;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wave-accent-dark) 0%, var(--wave-accent-darker) 100%);
    box-shadow: 0 0 0 3px rgba(181, 229, 243, 0.35);
}

.news-article-body .blog-post-content--article .blog-post-list li:last-child {
    margin-bottom: 0;
}

.news-article-body .blog-post-content--article .blog-post-list li:hover {
    background: rgba(181, 229, 243, 0.18);
    border-color: rgba(13, 109, 140, 0.18);
    border-left-color: var(--wave-accent-darker);
    box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.12);
    transform: translateX(4px);
}

.news-article-body .blog-post-content--article .blog-post-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.news-article-body .blog-post-content--article figure {
    margin: 1.5rem 0;
}

.news-article-body .blog-post-content--article img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-radius: 8px;
}

.news-article-body .blog-post-content--article .whitepaper-whats-inside-figure img {
    border-radius: 12px;
}

.news-article-body .blog-post-content--article .whitepaper-two-column-cta {
    gap: clamp(1rem, 3vw, 1.75rem);
    align-items: center;
}

.news-article-body .blog-post-content--article .whitepaper-two-column-cta__text p {
    margin-bottom: 0;
}

.news-article-body .blog-post-content--article .wcl-banner__button {
    min-width: 0;
    padding: 0.55rem 1.15rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid #0f0f12;
    background: #0f0f12;
    color: #f4f4f5;
    box-shadow: 0 1px 2px rgba(15, 15, 18, 0.12);
    text-decoration: none;
    line-height: 1.4;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.news-article-body .blog-post-content--article .wcl-banner__button:hover {
    background: #1a1a22;
    border-color: #1a1a22;
    color: #f4f4f5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 15, 18, 0.15);
}

/* Dark band → light “callout” (readable like MD fenced / admonition) */
.news-article-body .blog-post-content--article .blog-section-dark {
    margin: 1.75rem 0;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.08);
    isolation: auto;
}

.news-article-body .blog-post-content--article .blog-section-dark::before {
    display: none;
}

.news-article-body .blog-post-content--article .blog-section-dark h2,
.news-article-body .blog-post-content--article .blog-section-dark h3 {
    color: var(--text-primary);
    border-bottom: none;
    margin-bottom: 0.75rem;
    padding-bottom: 0;
}

.news-article-body .blog-post-content--article .blog-section-dark p,
.news-article-body .blog-post-content--article .blog-section-dark li {
    color: var(--text-secondary);
}

.news-article-body .blog-post-content--article .blog-section-dark strong {
    color: var(--text-primary);
    font-weight: 600;
}

.news-article-body .blog-post-content--article .blog-section-dark a.whitepaper-benchmark-chart-link {
    margin-top: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.news-article-body .blog-post-content--article .blog-section-dark a.whitepaper-benchmark-chart-link:hover {
    opacity: 1;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.news-article-body .blog-post-content--article .blog-section-dark a.whitepaper-benchmark-chart-link img {
    border-radius: 7px;
}

.news-article-body .blog-post-content--article .blog-post-takeaway-section {
    background: #f8fafc;
    background-image: none;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 10px;
    padding: clamp(1.65rem, 3.5vw, 2.35rem);
    margin-top: 1.75rem;
    margin-bottom: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    text-align: left;
}

.news-article-body .blog-post-content--article .blog-post-takeaway-section::before {
    display: none;
}

.news-article-body .blog-post-content--article .blog-post-takeaway-section h2 {
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    margin-bottom: 1rem;
    max-width: none;
}

.news-article-body .blog-post-content--article .blog-post-takeaway-section p {
    font-size: 0.95rem;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.news-article-body .blog-post-content--article .blog-post-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.news-article-body .blog-post-content > .blog-post-intro .lead-text:first-child {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-primary);
    font-weight: 400;
}

.news-article-body .blog-post-section-content h2 {
    font-size: 1.6rem;
}

.news-article-body .blog-post-section-content h3 {
    font-size: 1.2rem;
}

.news-article-body .blog-post-takeaway-section h2 {
    font-size: 1.95rem;
}

.news-article-body .blog-post-takeaway-section p {
    font-size: 0.98rem;
    line-height: 1.78;
}

.news-article-body .blog-post-content blockquote {
    margin: 1.5rem 0;
    padding: 0.85rem 1rem 0.85rem 1.1rem;
    border-left: 4px solid rgba(13, 109, 140, 0.45);
    background: rgba(15, 23, 42, 0.028);
    border-radius: 0 8px 8px 0;
    font-style: normal;
    color: var(--text-secondary);
}

.news-article-body .blog-post-content blockquote p {
    margin: 0;
}

.news-article-body .blog-post-content blockquote p + p {
    margin-top: 0.75rem;
}

/* Match how-it-works / .news-article-body__inner column: full width, platform-like spacing */
.news-article-body .news-article-social-footer {
    margin: clamp(2.25rem, 4vw, 3rem) 0 0;
    padding: clamp(1.65rem, 2.8vw, 2.15rem) 0 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: clamp(1rem, 2vw, 1.75rem);
    row-gap: clamp(0.85rem, 1.5vw, 1.15rem);
}

.news-article-body .news-article-social-footer__socials {
    justify-content: flex-start;
    gap: clamp(0.85rem, 1.5vw, 1.15rem);
}

.news-article-body .news-article-social-footer__socials img {
    width: 26px;
    height: 26px;
}

.news-article-body .news-article-social-footer__brand {
    justify-content: flex-end;
    margin-left: auto;
}

.news-article-body .news-article-social-footer__brand img {
    max-height: 30px;
}

.news-article-body .news-article-social-footer__copyright {
    flex: 1 1 100%;
    margin: 0;
    text-align: center;
}

@media (max-width: 639px) {
    .news-article-body .news-article-social-footer {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        column-gap: 0;
    }

    .news-article-body .news-article-social-footer__socials {
        justify-content: center;
    }

    .news-article-body .news-article-social-footer__brand {
        margin-left: 0;
        justify-content: center;
    }

    .news-article-body .news-article-social-footer__socials img {
        width: 28px;
        height: 28px;
    }
}

/* Prev / next — catalog order (newest first): previous = newer, next = older */
.news-article-nav-wrap {
    background: var(--news-article-canvas-bg);
    padding-top: clamp(1.75rem, 4vw, 2.5rem);
    padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.news-article-nav__inner {
    max-width: var(--news-article-body-max);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.news-article-nav__divider {
    height: 1px;
    background: rgba(15, 23, 42, 0.1);
    margin-bottom: clamp(1.15rem, 3vw, 1.65rem);
}

.news-article-nav__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
}

.news-article-nav__grid--prev-only {
    justify-content: flex-start;
}

.news-article-nav__grid--next-only {
    justify-content: flex-end;
}

.news-article-nav__card {
    flex: 1 1 14rem;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: #f0f4f8;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.news-article-nav__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.2);
    border-color: rgba(14, 165, 233, 0.25);
}

.news-article-nav__grid--prev-only .news-article-nav__card,
.news-article-nav__grid--next-only .news-article-nav__card {
    flex: 0 0 auto;
    width: min(100%, 22rem);
}

.news-article-nav__label {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0ea5e9;
}

.news-article-nav__label-text {
    line-height: 1;
}

.news-article-nav__arrow {
    flex-shrink: 0;
    width: 13px;
    height: 13px;
    color: #0ea5e9;
    opacity: 0.95;
    transition:
        transform 0.22s ease,
        opacity 0.2s ease;
}

.news-article-nav__card:hover .news-article-nav__arrow {
    opacity: 1;
}

.news-article-nav__card--prev:hover .news-article-nav__arrow {
    transform: translateX(-3px);
}

.news-article-nav__card--next:hover .news-article-nav__arrow {
    transform: translateX(3px);
}

.news-article-nav__title {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.32;
    color: #0f172a;
}

.news-article-nav__card--prev {
    text-align: left;
    align-items: flex-start;
}

.news-article-nav__card--next {
    text-align: right;
    align-items: flex-end;
}

@media (max-width: 520px) {
    .news-article-nav__grid:not(.news-article-nav__grid--prev-only):not(.news-article-nav__grid--next-only) {
        flex-direction: column;
    }

    .news-article-nav__card--next {
        text-align: left;
        align-items: flex-start;
    }
}

.news-article-related {
    background: oklch(0.965 0.006 240);
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    padding-top: clamp(2rem, 4vw, 2.75rem);
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* Same content rail as news listing / blog-section-unified (80rem; padding from .container) */
.news-article-related > .container.platform-section-shell__inner.how-it-works-platform__container.news-article-related__inner {
    max-width: 80rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.news-article-related__inner .keep-reading-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Keep reading — article footer (matches reference: uppercase rail, pill badges, soft cards) */
.news-article-related .keep-reading-section {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top: none;
}

.news-article-related .keep-reading-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: clamp(1.35rem, 3vw, 1.85rem);
}

.news-article-related .keep-reading-title {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #475569;
}

.news-article-related .keep-reading-all {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0ea5e9;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.news-article-related .keep-reading-all__label {
    display: inline-block;
}

.news-article-related .keep-reading-all__arrow {
    flex-shrink: 0;
    width: 0.95em;
    height: 0.95em;
    margin-top: 0.05em;
    transition: transform 0.22s ease;
}

.news-article-related .keep-reading-all:hover {
    color: #0284c7;
    opacity: 1;
    text-decoration: none;
}

.news-article-related .keep-reading-all:hover .keep-reading-all__arrow {
    transform: translateX(4px);
}

/* Keep reading: compact cards (title + meta only) with same shell as news catalog cards */
.news-article-related .keep-reading-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem 2rem;
    margin-top: 0;
}

.news-article-related .keep-reading-card {
    background: #f8fafc;
    border: 1px solid oklch(17% 0.02 250 / 0.1);
    border-radius: 20px;
    box-shadow:
        0 30px 60px -25px oklch(20% 0.05 230 / 0.25),
        0 8px 20px -10px oklch(20% 0.05 230 / 0.15);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    will-change: transform;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-article-related .keep-reading-card:hover {
    border-color: var(--wave-accent-dark);
}

.news-article-related .keep-reading-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-article-related .keep-reading-card__media {
    position: relative;
    width: 100%;
    height: 235px;
    overflow: hidden;
    background: #e7edf4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.news-article-related .keep-reading-card__media--empty {
    min-height: 235px;
}

.news-article-related .keep-reading-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.24s ease;
}

.news-article-related .keep-reading-card:hover .keep-reading-card__media img {
    transform: scale(1.03);
}

.news-article-related .keep-reading-card__body {
    padding: 1.35rem 1.35rem 1.5rem;
    background: #fbfdff;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.news-article-related .keep-reading-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.news-article-related .keep-reading-card__badge {
    padding: 0.26rem 0.68rem;
    border-radius: 999px;
    background: #e8f7ff;
    border: 1px solid #c8ecfb;
    color: #21b7e8;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-article-related .keep-reading-card__date {
    color: #4b5563;
    font-size: 0.88rem;
    font-weight: 500;
}

.news-article-related .keep-reading-card__title {
    margin: 0;
    font-size: clamp(1.06rem, 1.2vw, 1.26rem);
    line-height: 1.22;
    font-weight: 600;
    color: #111827;
    transition: color 0.2s ease;
}

.news-article-related .keep-reading-card:hover .keep-reading-card__title {
    color: #0f172a;
}

@media (hover: hover) and (pointer: fine) {
    .news-article-related .keep-reading-card:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow:
            0 36px 68px -28px oklch(20% 0.05 230 / 0.27),
            0 12px 24px -12px oklch(20% 0.05 230 / 0.18);
        background: #f8fafc;
    }
}

/* Chart-heavy article layouts */
.news-article-body .survey-two-column-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 720px) {
    .news-article-body .survey-two-column-section {
        grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .news-article-hero .news-article-hero__feature-wrap {
        margin-bottom: clamp(-16rem, min(-48vw, -20vh), -6rem);
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .news-article-hero .news-article-feature-figure {
        border-radius: 0.75rem;
    }

    .news-article-page {
        --news-hero-image-height: clamp(220px, 46vw, 380px);
        --news-article-sep-lift: clamp(1.35rem, 8vw, 3.25rem);
    }

    .news-article-page .news-article-body__inner {
        padding-top: calc(clamp(8rem, min(36vh, 40vw), 16rem) + var(--news-article-sep-lift));
    }

    /* 2nd FHE Landscape Survey: keep hero image farther from intro copy on mobile */
    .news-article-page.news-article-page--2nd-fhe-landscape-survey .news-article-hero .news-article-hero__feature-wrap {
        margin-bottom: clamp(-12rem, min(-34vw, -15vh), -4rem);
    }

    .news-article-body .blog-post-section-content h2 {
        font-size: 1.38rem;
        margin-top: 2.5rem;
    }
}

/* Responsive Blog Catalog */
@media (max-width: 768px) {
    .page-header-content {
        gap: 1.5rem;
    }
    
    .page-header-accent {
        width: 6px;
        height: 100px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .survey-results-card {
        padding: 2rem 1.5rem;
    }
    
    .survey-results-header {
        margin-bottom: 2rem;
    }
    
    .finding-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .chart-container {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .survey-finding {
        margin-bottom: 3rem;
    }
    
    .survey-conclusion {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
    
    .conclusion-title {
        font-size: 1.75rem;
    }
    
    .blog-card-thumbnail {
        height: 180px;
    }
    
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .blog-card-title {
        font-size: 1.25rem;
    }
    
    .blog-post-thumbnail {
        height: 280px;
    }
    
    .blog-post-meta {
        padding: 2rem 2rem 0;
    }
    
    .blog-post-title {
        padding: 0 2rem;
    }
    
    .blog-post-content {
        padding: 0 2rem;
    }
    
    .blog-post-footer {
        padding: 2rem 2rem 2rem;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-intro .lead-text {
        font-size: 1.15rem;
    }
    
    .blog-post-section-content h2 {
        font-size: 1.75rem;
    }
    
    .blog-post-content {
        font-size: 1rem;
    }

    .whitepaper-two-column-cta {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .whitepaper-two-column-cta__action {
        justify-content: flex-start;
    }

    .survey-two-column-section {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        gap: 1.5rem;
    }
    
    .blog-card-thumbnail {
        height: 160px;
    }
    
    .blog-post-thumbnail {
        height: 220px;
    }
    
    .blog-post-meta {
        padding: 1.5rem 1.5rem 0;
    }
    
    .blog-post-title {
        padding: 0 1.5rem;
        font-size: 1.75rem;
    }
    
    .blog-post-content {
        padding: 0 1.5rem;
    }
    
    .blog-post-footer {
        padding: 1.5rem;
    }

    .news-article-social-footer {
        margin: 0 1.5rem 2rem;
        padding-top: 1.75rem;
        gap: 0.9rem;
    }

    .news-article-body .news-article-social-footer {
        margin-left: 0;
        margin-right: 0;
    }

    .news-article-social-footer__socials {
        gap: 0.9rem;
    }

    .news-article-social-footer__socials img {
        width: 26px;
        height: 26px;
    }

    .news-article-social-footer__brand img {
        max-height: 24px;
    }
    
    .blog-post-title {
        font-size: 1.75rem;
    }
    
    .blog-post-intro .lead-text {
        font-size: 1.05rem;
    }
    
    .blog-post-section-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* TFHE article (news/tfhe-practical-for-saas.html) */
.blog-post-content .wcl-banner,
.blog-post-content .wcl-paths,
.blog-post-content .wcl-under-hood,
.blog-post-content .wcl-steps,
.blog-post-content .wcl-page-details {
    margin-top: 3rem;
}

.wcl-paths {
    --tfhe-diagram-card: #BBBDDC;
    --tfhe-diagram-gradient: linear-gradient(90deg, #ffde59, #ff914d);
}

.wcl-banner {
    display: flex;
    justify-content: center;
}

.wcl-banner__wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
    width: 100%;
}

.wcl-banner__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wcl-banner__title span {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.wcl-banner__text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.wcl-banner__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.wcl-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(45, 54, 83, 0.18);
}

.wcl-banner__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(45, 54, 83, 0.24);
}

.wcl-banner__img-wrapper {
    justify-self: center;
}

.wcl-banner__img img {
    max-width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 18px 40px rgba(21, 30, 64, 0.3);
}

/* TFHE post banner: full-width text and centered CTA */
.blog-post-content .wcl-banner__wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.blog-post-content .wcl-banner__info {
    width: 100%;
}

.blog-post-content .wcl-banner__content {
    width: 100%;
}

.blog-post-content .wcl-banner__text {
    width: 100%;
}

.blog-post-content .wcl-banner__text p {
    max-width: none;
}

.blog-post-content .wcl-banner__text p + p {
    margin-top: 1rem;
}

.blog-post-content .wcl-banner__buttons {
    justify-content: center;
}

.blog-post-content .wcl-banner__button {
    min-width: 11.75rem;
    padding: 0.85rem 1.8rem;
    border: 1px solid #0f0f12;
    border-radius: 10px;
    background: #0f0f12;
    color: #f4f4f5;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
}

.blog-post-content .wcl-banner__button:hover {
    background: #1c1c22;
    border-color: #1c1c22;
    color: #f4f4f5;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 15, 18, 0.18);
}

/* Alternate section backgrounds for TFHE post content */
.blog-post-content .wcl-section-dark {
    position: relative;
    padding: 48px 0;
    isolation: isolate;
}

.blog-post-content .wcl-section-dark::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--charcoal-gray);
    z-index: -1;
}

.blog-post-content .wcl-section-dark .wcl-paths__title,
.blog-post-content .wcl-section-dark .wcl-steps__title {
    color: #fff;
}

.blog-post-content .wcl-section-dark .wcl-steps__text {
    color: rgba(255, 255, 255, 0.85);
}

/* Generic alternating dark section background for blog posts */
.blog-post-content .blog-section-dark {
    position: relative;
    isolation: isolate;
    padding-bottom: 3rem;
}

.blog-post-content .blog-section-dark::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--charcoal-gray);
    z-index: -1;
}

.blog-post-content .blog-section-dark h2,
.blog-post-content .blog-section-dark h3 {
    color: #fff;
}

.blog-post-content .blog-section-dark p,
.blog-post-content .blog-section-dark li {
    color: rgba(255, 255, 255, 0.85);
}

.blog-post-content .blog-section-dark strong {
    color: #fff;
}

.blog-post-content .blog-section-dark a.whitepaper-benchmark-chart-link {
    display: block;
    margin-top: -0.75rem;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
    text-decoration: none;
    outline-offset: 4px;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.blog-post-content .blog-section-dark a.whitepaper-benchmark-chart-link:hover {
    opacity: 0.92;
}

.blog-post-content .blog-section-dark a.whitepaper-benchmark-chart-link:focus-visible {
    outline: 2px solid var(--wave-accent);
    outline-offset: 4px;
}

.blog-post-content .blog-section-dark a.whitepaper-benchmark-chart-link img {
    width: 100%;
    height: auto;
    display: block;
    background: #fff;
    border-radius: 12px;
}

/* Text column sets row height; figure stretches to match. Image is out-of-flow so it
   does not inflate the flex line - it scales inside the figure via object-fit. */
.blog-post-content .whitepaper-whats-inside-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 2.5rem;
    margin-top: 0.5rem;
    width: 100%;
}

.blog-post-content .whitepaper-whats-inside-figure {
    position: relative;
    flex: 0 0 clamp(200px, 30%, 320px);
    width: clamp(200px, 30%, 320px);
    min-width: 0;
    min-height: 0;
    align-self: stretch;
}

.blog-post-content .whitepaper-whats-inside-text {
    flex: 1 1 0;
    min-width: 0;
}

.blog-post-content .whitepaper-whats-inside-figure img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left top;
    border-radius: 12px;
    display: block;
}

.blog-post-content .whitepaper-whats-inside-text > h3:first-of-type {
    margin-top: 0;
}

.blog-post-content .whitepaper-performance-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
    margin-top: 0.35rem;
}

@media (max-width: 640px) {
    .blog-post-content .whitepaper-performance-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-post-content .whitepaper-whats-inside-grid {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 1.75rem;
        align-items: stretch;
    }

    .blog-post-content .whitepaper-whats-inside-figure {
        position: relative;
        flex: none;
        align-self: stretch;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1;
        min-height: 220px;
    }

    .blog-post-content .whitepaper-whats-inside-figure img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
}

/* Ensures consistent vertical spacing inside the announcing-heal news post.
   We use padding (not margin) so full-bleed section backgrounds end exactly at
   the next section start. */
.blog-post-content .heal-news-section {
    margin-bottom: 0 !important;
    padding-bottom: 3rem !important;
}

/* announcing-heal-1-0: intro — single column (article measure is too narrow for 2-up + list) */
.blog-post-content .heal-news-intro-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
}

/* “No More Floats” — stack by default; optional side-by-side only when there is room */
.blog-post-content .heal-news-float-layout {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    align-items: stretch;
}

.blog-post-content .heal-news-float-copy > p:last-child {
    margin-bottom: 0;
}

.blog-post-content .heal-news-float-figure {
    margin: 0;
    display: flex;
    justify-content: center;
    align-self: center;
    max-width: 100%;
}

.blog-post-content .heal-news-float-img {
    display: block;
    width: 100%;
    max-width: min(260px, 72vw);
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 8px 24px -12px rgba(15, 23, 42, 0.12);
}

@media (min-width: 720px) {
    .blog-post-content .heal-news-float-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(200px, min(28vw, 280px));
        gap: clamp(1.25rem, 3vw, 2rem);
        align-items: center;
    }

    .blog-post-content .heal-news-float-figure {
        justify-content: center;
    }

    .blog-post-content .heal-news-float-img {
        max-width: min(240px, 100%);
    }
}

/* Beat generic article img radius */
.news-article-body .blog-post-content--article img.heal-news-float-img {
    border-radius: 12px;
}

/* —— Newsletter article theme: reusable cards, callouts, checklist, quotes, CTAs (heal-announce-*).
 *    Use on any post via class="heal-announce-article news-article-rich" plus the components below. —— */
.news-article-body .blog-post-content--article .news-article-rich,
.news-article-body .blog-post-content--article .heal-announce-article {
    --heal-announce-accent: #21b7e8;
    --heal-announce-accent-deep: #0e9dd4;
    /* Slightly deeper than slate-50 so cards read off the page background */
    --heal-announce-card-bg: #f1f5f9;
    --heal-announce-card-border: rgba(15, 23, 42, 0.11);
    --heal-announce-icon-bg: #dff3fb;
}

/* Opening graf / intro lead: larger than default article body */
.news-article-body .blog-post-content--article .news-article-rich > .blog-post-section-content:first-child > p:first-of-type,
.news-article-body .blog-post-content--article .heal-announce-article > .blog-post-section-content:first-child > p:first-of-type {
    font-size: 1.0625rem;
    line-height: 1.68;
}

.news-article-body .blog-post-content--article .news-article-rich > .blog-post-intro:first-child .lead-text:first-child {
    font-size: 1.0625rem;
    line-height: 1.68;
    color: var(--text-primary);
}

/* Technical white paper opens inside a two-column CTA block */
.news-article-body
    .blog-post-content--article
    .news-article-rich
    > .blog-post-section-content:first-child.whitepaper-two-column-cta
    .whitepaper-two-column-cta__text
    > p:first-of-type {
    font-size: 1.0625rem;
    line-height: 1.68;
}

.news-article-body .blog-post-content--article .heal-announce-figure {
    margin: 1.5rem 0;
    text-align: center;
}

.news-article-body .blog-post-content--article .heal-announce-figure img {
    max-width: min(100%, 720px);
    height: auto;
}

.news-article-body .blog-post-content--article .heal-announce-figure figcaption {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-style: italic;
    line-height: 1.55;
    color: var(--text-secondary);
}

.news-article-body .blog-post-content--article .heal-announce-lead {
    margin-bottom: 1.35rem;
}

.news-article-body .blog-post-content--article .heal-announce-suite-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    margin: 0;
    padding: 0;
}

.news-article-body .blog-post-content--article .heal-announce-suite-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.25rem;
}

.news-article-body .blog-post-content--article .heal-announce-suite-card {
    margin: 0;
    padding: 1.15rem 1.2rem 1.25rem;
    border-radius: 14px;
    background: var(--heal-announce-card-bg);
    border: 1px solid var(--heal-announce-card-border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}

.news-article-body .blog-post-content--article .heal-announce-suite-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
    border-radius: 9px;
    background: var(--heal-announce-icon-bg);
    color: var(--heal-announce-accent-deep);
}

.news-article-body .blog-post-content--article .heal-announce-suite-card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.news-article-body .blog-post-content--article .heal-announce-suite-card__title {
    margin: 0 0 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
    color: var(--text-primary);
}

.news-article-body .blog-post-content--article .heal-announce-suite-card__text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.news-article-body .blog-post-content--article .heal-announce-suite-card__text .blog-post-link {
    font-weight: 600;
}

.news-article-body .blog-post-content--article .heal-announce-checklist {
    list-style: none;
    margin: 1.35rem 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.news-article-body .blog-post-content--article .heal-announce-checklist__item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: var(--heal-announce-card-bg);
    border: 1px solid var(--heal-announce-card-border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}

.news-article-body .blog-post-content--article .heal-announce-checklist__check {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.22rem;
    color: var(--heal-announce-accent-deep);
}

.news-article-body .blog-post-content--article .heal-announce-checklist__check svg {
    width: 1.05rem;
    height: 1.05rem;
}

.news-article-body .blog-post-content--article .heal-announce-checklist__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.news-article-body .blog-post-content--article .heal-announce-checklist__title {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    line-height: 1.35;
}

.news-article-body .blog-post-content--article .heal-announce-checklist__desc {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.62;
    color: var(--text-secondary);
}

.news-article-body .blog-post-content--article .heal-announce-matters {
    margin-top: 1.35rem;
    padding: 1.15rem 1.2rem 1.2rem;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(oklch(0.72 0.11 220 / 0.12), oklch(0.72 0.11 220 / 0.04));
    background-origin: padding-box;
    border: 1px solid rgba(33, 183, 232, 0.14);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.news-article-body .blog-post-content--article .heal-announce-matters__label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--heal-announce-accent-deep);
}

.news-article-body .blog-post-content--article .heal-announce-matters__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-primary);
}

.news-article-body .blog-post-content--article .heal-announce-steps {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.news-article-body .blog-post-content--article .heal-announce-steps__item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: var(--heal-announce-card-bg);
    border: 1px solid var(--heal-announce-card-border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
    .news-article-body .blog-post-content--article .heal-announce-suite-card:hover {
        transform: translateY(-2px);
        background: #f8fafc;
        border-color: rgba(15, 23, 42, 0.14);
        box-shadow:
            0 10px 28px -18px rgba(15, 23, 42, 0.22),
            0 4px 12px -6px rgba(15, 23, 42, 0.1);
    }

    .news-article-body .blog-post-content--article .heal-announce-checklist__item:hover {
        transform: translateY(-2px);
        background: #f8fafc;
        border-color: rgba(15, 23, 42, 0.14);
        box-shadow:
            0 10px 28px -18px rgba(15, 23, 42, 0.22),
            0 4px 12px -6px rgba(15, 23, 42, 0.1);
    }

    .news-article-body .blog-post-content--article .heal-announce-steps__item:hover {
        transform: translateY(-2px);
        background: #f8fafc;
        border-color: rgba(15, 23, 42, 0.14);
        box-shadow:
            0 10px 28px -18px rgba(15, 23, 42, 0.22),
            0 4px 12px -6px rgba(15, 23, 42, 0.1);
    }
}

.news-article-body .blog-post-content--article .heal-announce-steps__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.15rem;
    height: 2.15rem;
    padding: 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--heal-announce-accent-deep);
    background: var(--heal-announce-icon-bg);
    border-radius: 8px;
    border: 1px solid rgba(33, 183, 232, 0.22);
}

.news-article-body .blog-post-content--article .heal-announce-steps__body {
    min-width: 0;
}

.news-article-body .blog-post-content--article .heal-announce-steps__title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin: 0 0 0.35rem;
}

.news-article-body .blog-post-content--article .heal-announce-steps__text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.62;
    color: var(--text-secondary);
}

.news-article-body .blog-post-content--article blockquote.heal-announce-quote {
    margin: 1.35rem 0 0;
    padding: 1.1rem 1.15rem 1.15rem 1.2rem;
    border-left: 4px solid rgba(33, 183, 232, 0.65);
    border-radius: 0 10px 10px 0;
    background: rgba(224, 238, 248, 0.82);
    box-shadow: none;
}

.news-article-body .blog-post-content--article .heal-announce-quote__body {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.62;
    font-style: italic;
    color: var(--text-primary);
}

.news-article-body .blog-post-content--article .heal-announce-quote__cite {
    display: block;
    margin-top: 0.65rem;
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 500;
    color: var(--text-secondary);
}

.news-article-body .blog-post-content--article .heal-announce-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.35rem;
}

.news-article-body .blog-post-content--article .heal-announce-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.55rem 1.2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.news-article-body .blog-post-content--article .heal-announce-btn--primary {
    color: #fff;
    background: var(--heal-announce-accent);
    border: 1px solid transparent;
    box-shadow: 0 2px 8px rgba(33, 183, 232, 0.28);
}

.news-article-body .blog-post-content--article .heal-announce-btn--primary:hover {
    background: var(--heal-announce-accent-deep);
    color: #fff;
    transform: translateY(-1px);
}

.news-article-body .blog-post-content--article .heal-announce-btn--primary svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.news-article-body .blog-post-content--article .heal-announce-btn--secondary {
    color: var(--text-primary);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.news-article-body .blog-post-content--article .heal-announce-btn--secondary:hover {
    border-color: rgba(15, 23, 42, 0.2);
    background: #f8fafc;
    color: var(--text-primary);
}

@media (max-width: 900px) {
    .news-article-body .blog-post-content--article .heal-announce-suite-grid--three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .news-article-body .blog-post-content--article .heal-announce-suite-grid {
        grid-template-columns: 1fr;
    }
}

/* Reset global article h3 spacing for HEAL card titles (override .blog-post-section-content h3) */
.news-article-body .blog-post-content--article .heal-announce-article .heal-announce-suite-card__title,
.news-article-body .blog-post-content--article .news-article-rich .heal-announce-suite-card__title {
    margin-top: 0;
}

/* —— Unified rich article: list cards, takeaways, survey / whitepaper CTAs (matches HEAL) —— */
.news-article-body .blog-post-content--article .news-article-rich ul.blog-post-list {
    list-style: none;
    margin: 1.35rem 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.news-article-body .blog-post-content--article .news-article-rich ul.blog-post-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    margin-bottom: 0;
    border-radius: 12px;
    background: var(--heal-announce-card-bg);
    border: 1px solid var(--heal-announce-card-border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    position: relative;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}

.news-article-body .blog-post-content--article .news-article-rich ul.blog-post-list li::before {
    content: '✓';
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    border-radius: 4px;
    background: var(--heal-announce-icon-bg);
    color: var(--heal-announce-accent-deep);
    font-size: 0.55rem;
    font-weight: 800;
    line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
    .news-article-body .blog-post-content--article .news-article-rich ul.blog-post-list li:hover {
        transform: translateY(-2px);
        background: #f8fafc;
        border-color: rgba(15, 23, 42, 0.14);
        box-shadow:
            0 10px 28px -18px rgba(15, 23, 42, 0.22),
            0 4px 12px -6px rgba(15, 23, 42, 0.1);
    }
}

.news-article-body .blog-post-content--article .news-article-rich ol.blog-post-list li {
    background: var(--heal-announce-card-bg);
    border: 1px solid var(--heal-announce-card-border);
    border-left: 1px solid var(--heal-announce-card-border);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.news-article-body .blog-post-content--article .news-article-rich ol.blog-post-list li::before {
    background: var(--heal-announce-icon-bg);
    color: var(--heal-announce-accent-deep);
    border: 1px solid rgba(33, 183, 232, 0.22);
}

.news-article-body .blog-post-content--article .news-article-rich .finding-takeaway {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    padding: 1.15rem 1.2rem 1.2rem;
    border-radius: 12px;
    border-left: none;
    background: linear-gradient(oklch(0.72 0.11 220 / 0.12), oklch(0.72 0.11 220 / 0.04));
    border: 1px solid rgba(33, 183, 232, 0.14);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.news-article-body .blog-post-content--article .news-article-rich .finding-takeaway::before {
    display: none;
}

.news-article-body .blog-post-content--article .news-article-rich .finding-takeaway strong:first-child {
    padding-left: 0;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.news-article-body .blog-post-content--article .news-article-rich .survey-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.55rem 1.2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--heal-announce-accent);
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(33, 183, 232, 0.28);
}

.news-article-body .blog-post-content--article .news-article-rich .survey-cta-button:hover {
    background: var(--heal-announce-accent-deep);
    color: #fff;
    transform: translateY(-1px);
}

.news-article-body .blog-post-content--article .news-article-rich .survey-cta-button .arrow {
    transition: transform 0.2s ease;
}

.news-article-body .blog-post-content--article .news-article-rich .survey-cta-button:hover .arrow {
    transform: translateX(3px);
}

.news-article-body .blog-post-content--article .news-article-rich .wcl-banner__button.wcl-button--main,
.news-article-body .blog-post-content--article .news-article-rich .wcl-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.55rem 1.2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff !important;
    background: var(--heal-announce-accent) !important;
    border: 1px solid transparent !important;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(33, 183, 232, 0.28);
}

.news-article-body .blog-post-content--article .news-article-rich .wcl-banner__button:hover {
    background: var(--heal-announce-accent-deep) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.news-article-body .blog-post-content--article .news-article-rich .whitepaper-two-column-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
    justify-content: space-between;
}

.news-article-body .blog-post-content--article .news-article-rich .whitepaper-whats-inside-text {
    padding: 1.15rem 1.25rem 1.25rem;
    border-radius: 14px;
    background: var(--heal-announce-card-bg);
    border: 1px solid var(--heal-announce-card-border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.news-article-body .blog-post-content--article .news-article-rich .whitepaper-whats-inside-text h3 {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-top: 1.25rem;
    margin-bottom: 0.45rem;
}

.news-article-body .blog-post-content--article .news-article-rich .whitepaper-whats-inside-text h3:first-of-type {
    margin-top: 0;
}

.news-article-body .blog-post-content--article .news-article-rich .whitepaper-whats-inside-text p {
    font-size: 0.8125rem;
    line-height: 1.65;
}

.news-article-body .blog-post-content--article .news-article-rich .blog-post-takeaway-section {
    border-radius: 14px;
    border: 1px solid var(--heal-announce-card-border);
    background: var(--heal-announce-card-bg);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.news-article-page--fhe-community-survey-2025 .heal-announce-article .chart-container {
    margin-top: 0.65rem;
}

.news-article-page--2nd-fhe-landscape-survey .heal-announce-article .chart-container {
    margin-top: 0.65rem;
}

.news-article-page--fhe-community-survey-2025 .survey-challenges-bars {
    margin: 1.5rem 0 1.25rem;
    display: grid;
    gap: 1.15rem;
    font-size: 18px;
}

.news-article-page--fhe-community-survey-2025 .survey-challenges-bars__row {
    display: grid;
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
    align-items: center;
    gap: 1.2rem;
}

.news-article-page--fhe-community-survey-2025 .survey-challenges-bars__label {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.15;
    color: #1f2937;
    text-align: left;
}

.news-article-page--fhe-community-survey-2025 .survey-challenges-bars__bar-wrap {
    width: 100%;
}

.news-article-page--fhe-community-survey-2025 .survey-challenges-bars__bar {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.1rem 0.7rem;
    background: #8eaec1;
}

.news-article-page--fhe-community-survey-2025 .survey-challenges-bars__value {
    font-size: 18px;
    font-weight: 500;
    color: #111827;
    line-height: 1;
}

.news-article-page--fhe-community-survey-2025 .survey-regulatory-columns {
    margin: 1.5rem 0 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    font-size: 15px;
}

.news-article-page--fhe-community-survey-2025 .survey-regulatory-columns__column {
    font-size: 15px;
}

.news-article-page--fhe-community-survey-2025 .survey-regulatory-columns__column h3 {
    margin: 0 0 0.9rem;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.15;
    color: #111827;
}

.news-article-page--fhe-community-survey-2025 .survey-regulatory-columns__column h3 span {
    color: #6f96b0;
}

.news-article-page--fhe-community-survey-2025 .survey-regulatory-columns__bars {
    display: grid;
    gap: 0.65rem;
}

.news-article-page--fhe-community-survey-2025 .survey-regulatory-columns__bar-row {
    width: 100%;
}

.news-article-page--fhe-community-survey-2025 .survey-regulatory-columns__bar {
    min-height: 42px;
    padding: 0.45rem 0.72rem;
    background: #8eaec1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.news-article-page--fhe-community-survey-2025 .survey-regulatory-columns__label {
    font-size: 15px;
    line-height: 1.2;
    color: #1f3348;
}

.news-article-page--fhe-community-survey-2025 .survey-regulatory-columns__value {
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    color: #1f3348;
    flex-shrink: 0;
}

.news-article-page--fhe-community-survey-2025 .survey-regulatory-columns__column:first-child .survey-regulatory-columns__bar-row:last-child .survey-regulatory-columns__value {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .news-article-page--fhe-community-survey-2025 .survey-challenges-bars__row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .news-article-page--fhe-community-survey-2025 .survey-challenges-bars__label {
        font-size: 1.1rem;
    }

    .news-article-page--fhe-community-survey-2025 .survey-challenges-bars__bar {
        min-height: 34px;
    }

    .news-article-page--fhe-community-survey-2025 .survey-challenges-bars__value {
        font-size: 1.5rem;
    }

    .news-article-page--fhe-community-survey-2025 .survey-regulatory-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .news-article-page--fhe-community-survey-2025 .survey-regulatory-columns__column h3 {
        font-size: 15px;
    }

    .news-article-page--fhe-community-survey-2025 .survey-regulatory-columns__bar {
        min-height: 34px;
        padding: 0.4rem 0.55rem;
    }

    .news-article-page--fhe-community-survey-2025 .survey-regulatory-columns__label {
        font-size: 15px;
    }

    .news-article-page--fhe-community-survey-2025 .survey-regulatory-columns__value {
        font-size: 15px;
    }
}

.news-article-body .blog-post-content--article .news-article-rich .blog-post-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    text-align: left;
}

.news-article-body .blog-post-content--article .news-article-rich .blog-post-cta p {
    font-size: 0.9375rem;
    line-height: 1.65;
}

.wcl-paths__container {
    max-width: 1100px;
    margin: 0 auto;
}

.wcl-paths__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.wcl-paths__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.wcl-paths__intro-box {
    margin: 0.5rem auto 0;
    max-width: 1100px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.12rem;
    line-height: 1.6;
    text-align: center;
    box-shadow: none;
}

.blog-post-content .wcl-section-dark .wcl-paths__intro-box {
    color: rgba(255, 255, 255, 0.85);
}

.wcl-paths__body {
    display: grid;
    /* Give the middle card a bit more space so three pills fit nicely */
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 0.8fr);
    gap: 1.5rem;
}

.wcl-paths__features {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.wcl-block {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
    border-radius: 17px;
    padding: 1.4rem 1.25rem;
    border: 1px solid #e0e6f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    min-width: 0;
    overflow: hidden;
}

/* TFHE diagram: 4 rectangles */
.wcl-paths .wcl-paths__body > .wcl-paths__list.wcl-block,
.wcl-paths .wcl-paths__features .wcl-block {
    background: var(--tfhe-diagram-card);
}

.wcl-paths .wcl-paths__body > .wcl-paths__list.wcl-block:last-child {
    background: var(--tfhe-diagram-gradient);
}

.wcl-paths .wcl-paths__body > .wcl-paths__list.wcl-block {
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
}

.wcl-paths .wcl-paths__body > .wcl-paths__list.wcl-block .wcl-paths__list-items {
    flex: 1;
    justify-content: space-between;
}

/* TFHE diagram pills */
.wcl-paths .wcl-paths__item-buttons--1 .wcl-paths__item-button:nth-child(3) {
    background: var(--tfhe-diagram-gradient);
    color: #1b1b1b;
}

.wcl-paths .wcl-paths__item-block--1 .wcl-paths__item-buttons--2 .wcl-paths__item-button:nth-child(2) {
    background: var(--tfhe-diagram-gradient);
    color: #1b1b1b;
}

.wcl-paths__item-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.wcl-paths__item-block h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.wcl-paths__list-title,
.wcl-paths__item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    line-height: 1.3;
}

.wcl-paths__list-items {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.wcl-paths__list-items li {
    position: relative;
    padding: 0.6rem 1rem 0.6rem 1.4rem;
    margin: 0;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.55);
    border-radius: 7px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.wcl-paths__list-items li::before {
    content: '';
    position: absolute;
    left: 0.7rem;
    top: 18%;
    width: 3px;
    height: 64%;
    border-radius: 999px;
    background: rgba(118, 118, 165, 0.75);
}

.wcl-paths__item-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: 100%;
}

.wcl-paths__item-button {
    padding: 0.35rem 0.75rem;
    border-radius: 7px;
    background: #7676a5;
    color: #ffffff;
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: nowrap;
    max-width: 100%;
}

/* Interactive highlighting for the TFHE/CKKS path diagram */
.wcl-paths .wcl-block,
.wcl-paths .wcl-paths__list-items li,
.wcl-paths .wcl-paths__item-button {
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.wcl-paths .wcl-block:hover,
.wcl-paths .wcl-paths__list-items li:hover,
.wcl-paths .wcl-paths__item-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 0 0 2px rgba(160, 174, 255, 0.42), 0 14px 30px rgba(30, 41, 59, 0.2);
}

.wcl-paths .wcl-paths__list-items li:hover {
    background: rgba(255, 255, 255, 0.8);
}

.wcl-paths .wcl-paths__item-button:hover {
    background: #8d8db9;
}

/* Under the Hood: horizontal 4-column flow diagram (scoped for specificity) */
.blog-post-content .wcl-under-hood.hood-flow {
    margin-top: 3rem;
}

.blog-post-content .wcl-under-hood.hood-flow .hood-flow__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.blog-post-content .wcl-under-hood.hood-flow .hood-flow__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 1rem;
    align-items: stretch;
    background: #fff;
}

.blog-post-content .wcl-under-hood.hood-flow img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.hood-flow__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hood-flow__heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.hood-flow__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 1rem;
    align-items: stretch;
    background: #fff;
}

.hood-flow__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hood-flow__col--1 .hood-card--tall,
.hood-flow__col--3 .hood-card--engine,
.hood-flow__col--4 .hood-card--tall {
    flex: 1;
    min-height: 420px;
}

.hood-flow__col--2 {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hood-flow__col--2 .hood-card--compiler {
    margin-bottom: 0;
}

.hood-flow__col--2 .hood-card--management {
    margin-top: -2px;
}

/* Cards: base + Lattica (lavender) */
.hood-card,
.blog-post-content .wcl-under-hood.hood-flow .hood-card {
    border-radius: 17px;
    padding: 1.4rem 1.25rem;
    min-width: 0;
}

.hood-card--lattica,
.blog-post-content .wcl-under-hood.hood-flow .hood-card--lattica {
    background: #bbbddc !important;
    color: #1b1b1b;
}

.hood-card--lattica .hood-card__title,
.hood-card--lattica .hood-card__subtitle {
    color: #1b1b1b;
}

.hood-card--lattica .hood-card__subtitle {
    opacity: 0.85;
    font-weight: 400;
}

/* Cards: Sunscreen (orange-yellow gradient) */
.hood-card--sunscreen,
.blog-post-content .wcl-under-hood.hood-flow .hood-card--sunscreen {
    background: linear-gradient(90deg, #ffde59, #ff914d) !important;
    color: #1b1b1b;
}

.hood-card--sunscreen .hood-card__title,
.hood-card--sunscreen .hood-card__subtitle {
    color: #1b1b1b;
}

.hood-card--sunscreen .hood-card__subtitle {
    opacity: 0.9;
}

/* Card content */
.hood-card__logo {
    text-align: center;
    margin-bottom: 0.5rem;
}

.hood-card__logo img,
.blog-post-content .wcl-under-hood.hood-flow .hood-card__logo img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    display: inline-block;
    object-fit: contain;
}

.hood-card__logo--s img {
    filter: brightness(0);
}

.hood-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    text-align: center;
    line-height: 1.3;
}

.hood-card__subtitle {
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    text-align: center;
}

/* Column 1: pills (light background) */
.hood-card__pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hood-card__pills li {
    position: relative;
    padding: 0.5rem 0.85rem 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 7px;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #1b1b1b;
}

.hood-card__pills li::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    border-radius: 999px;
    background: rgba(118, 118, 165, 0.6);
}

/* Compiler card: bubble tail pointing down into Management card */
.hood-card--compiler {
    position: relative;
    padding-bottom: 1.25rem;
}

.hood-card__bubble-tail {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid #ff914d;
}

.hood-card--management {
    position: relative;
    padding-top: 1.5rem;
}

.hood-card__notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 24px;
    height: 14px;
    background: transparent;
}

/* Compiler pill with icon */
.hood-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 7px;
    font-size: 0.9rem;
    color: #1b1b1b;
}

.hood-card__pill--icon img,
.blog-post-content .wcl-under-hood.hood-flow .hood-card__pill img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain;
}

.hood-card--compiler .hood-card__pill {
    margin-top: 0.5rem;
}

/* Management: action buttons */
.hood-card__actions {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hood-card__actions li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 7px;
    font-size: 0.9rem;
    color: #1b1b1b;
}

.hood-card__actions li img,
.blog-post-content .wcl-under-hood.hood-flow .hood-card__actions li img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain;
}

.hood-card__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(27, 27, 27, 0.9);
    margin-top: auto;
    padding-top: 0.5rem;
}

.hood-card__footer img,
.blog-post-content .wcl-under-hood.hood-flow .hood-card__footer img {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    object-fit: contain;
}

/* Arrows column: free-floating, no card */
.hood-flow__arrows {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
    padding: 0 0.25rem;
    min-width: 180px;
}

.hood-arrow {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.hood-arrow img:first-child,
.blog-post-content .wcl-under-hood.hood-flow .hood-arrow img:first-of-type {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0;
    object-fit: contain;
}

.hood-arrow__line,
.blog-post-content .wcl-under-hood.hood-flow .hood-arrow .hood-arrow__line {
    width: 24px !important;
    max-width: 24px !important;
    height: auto;
    flex-shrink: 0;
}

.hood-arrow--reverse .hood-arrow__line {
    transform: scaleX(-1);
}

.hood-arrow span {
    white-space: nowrap;
}

/* Column 3: TFHE Engine - clouds + gear + badge */
.hood-card--engine {
    position: relative;
    display: flex;
    flex-direction: column;
}

.hood-card__clouds {
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 48px;
    background: linear-gradient(180deg, rgba(147, 151, 199, 0.4) 0%, transparent 100%);
    border-radius: 50% 50% 0 0 / 20px 20px 0 0;
    pointer-events: none;
}

.hood-card__clouds::before,
.hood-card__clouds::after {
    content: '';
    position: absolute;
    background: rgba(147, 151, 199, 0.35);
    border-radius: 50%;
}

.hood-card__clouds::before {
    width: 28px;
    height: 20px;
    top: 12px;
    left: 15%;
}

.hood-card__clouds::after {
    width: 24px;
    height: 16px;
    top: 18px;
    right: 20%;
}

.hood-card__gear {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0 1rem 0;
}

.hood-card__gear img {
    width: 80px;
    height: 80px;
}

.hood-card__badge {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    font-size: 0.8rem;
    line-height: 1.35;
}

.hood-card__badge--sunscreen {
    background: linear-gradient(90deg, #ffde59, #ff914d);
    color: #1b1b1b;
}

.hood-card__badge--sunscreen img,
.blog-post-content .wcl-under-hood.hood-flow .hood-card__badge img {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    flex-shrink: 0;
    filter: brightness(0);
    object-fit: contain;
}

.blog-post-content .wcl-under-hood.hood-flow .hood-card__gear img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: contain;
}

/* Column 4: Sunscreen text rows (peach/cream accent) */
.hood-card__rows {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hood-card__rows li {
    position: relative;
    padding: 0.5rem 0.85rem 0.5rem 1.1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 7px;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #1b1b1b;
}

.hood-card__rows li::before {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 55%;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.2);
}

.wcl-steps__container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.wcl-steps__header {
    margin-bottom: 2rem;
}

.wcl-steps__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.wcl-steps__text {
    color: var(--text-secondary);
}

.wcl-steps__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.wcl-steps__item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e6f1;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wcl-steps__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.wcl-steps__item-image img {
    width: 100%;
    display: block;
}

.wcl-steps__item-text {
    padding: 1.15rem 1.25rem 1.35rem;
}

.wcl-steps__item-label {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wave-accent-dark);
    margin-bottom: 0.4rem;
}

.wcl-steps__item-title {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.wcl-steps__item-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.wcl-steps__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
    text-decoration: none;
    box-sizing: border-box;
    background: var(--wave-accent-dark);
    color: var(--white);
}

.wcl-steps__button:hover {
    background: var(--wave-accent-darker);
    color: var(--white);
}

.wcl-use-cases__container {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    background: #0f1117;
}

.wcl-use-cases__title {
    margin: 0 0 0.75rem;
    text-align: center;
    font-size: 1.75rem;
    line-height: 1.3;
    color: #f0f0f0;
}

.wcl-use-cases__subtitle {
    margin: 0 auto 2.5rem;
    max-width: 560px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #c0c0c0;
}

.wcl-use-cases__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.wcl-use-cases__card {
    background: #1a1d27;
    border: 0.5px solid #2a2d3a;
    border-radius: 12px;
    padding: 1.5rem;
}

.wcl-use-cases__card-title {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: #e8e8e8;
}

.wcl-use-cases__card-text {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.65;
    color: #b0b0c0;
}

.wcl-use-cases__footer {
    margin: 2rem auto 0;
    max-width: 600px;
    padding-top: 1.5rem;
    border-top: 0.5px solid #1e2030;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #888899;
}

/* Keep the gap after "Where TFHE Fits" consistent with nearby sections */
.blog-post-content .wcl-use-cases + .wcl-steps {
    margin-top: 1.5rem;
}

.wcl-page-details {
    margin-top: 2.5rem;
}

.wcl-page-details__container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .wcl-banner__wrapper {
        grid-template-columns: minmax(0, 1.1fr);
    }

    .wcl-banner__img-wrapper {
        order: -1;
        margin-bottom: 1.5rem;
    }

    .wcl-paths__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .wcl-steps__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wcl-use-cases__container {
        padding: 2.25rem 1.25rem;
    }

    .wcl-use-cases__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .wcl-use-cases__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Under the Hood: stack to single column only on smaller screens */
@media (max-width: 768px) {
    .blog-post-content .wcl-under-hood.hood-flow .hood-flow__grid,
    .hood-flow__grid {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto;
    }

    .hood-flow__grid .hood-flow__arrows {
        order: 3;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        min-width: 100%;
        padding: 1rem 0;
    }

    .hood-flow__col--1 { order: 1; }
    .hood-flow__col--2 { order: 2; }
    .hood-flow__col--3 { order: 4; }
    .hood-flow__col--4 { order: 5; }

    .hood-flow__col--1 .hood-card--tall,
    .hood-flow__col--3 .hood-card--engine,
    .hood-flow__col--4 .hood-card--tall {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .wcl-banner__title span {
        font-size: 2rem;
    }

    .wcl-steps__steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-post-content .wcl-banner,
    .blog-post-content .wcl-paths,
    .blog-post-content .wcl-under-hood,
    .blog-post-content .wcl-steps,
    .blog-post-content .wcl-page-details {
        margin-top: 2.25rem;
    }
}

/* Under the Hood diagram styles (from under_hood_css.css) */
.wcl-under-hood {
    margin: 80px 0;
}

@media only screen and (max-width: 1024px) {
    .wcl-under-hood {
        margin: 65px 0;
    }
}

@media only screen and (max-width: 768px) {
    .wcl-under-hood {
        margin: 50px 0;
    }
}

@media only screen and (max-width: 900px) {
    .wcl-under-hood__container.wcl-container {
        padding: 0;
    }
    .wcl-under-hood__wrapper h2 {
        padding: 0 15px;
    }
}

.wcl-under-hood__wrapper {
    display: flex;
    flex-direction: column;
}

.wcl-under-hood__wrapper h2 {
    margin-bottom: 90px;
}

/* Match section-heading style in TFHE post content */
.blog-post-content .wcl-under-hood__wrapper > h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.blog-post-content .wcl-under-hood__subtitle {
    max-width: 1100px;
    margin: 0 auto 90px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.12rem;
    line-height: 1.6;
}

@media only screen and (max-width: 1024px) {
    .wcl-under-hood__wrapper h2 {
        margin-bottom: 65px;
    }

    .blog-post-content .wcl-under-hood__subtitle {
        margin-bottom: 65px;
    }
}

@media only screen and (max-width: 768px) {
    .wcl-under-hood__wrapper h2 {
        margin-bottom: 50px;
    }

    .blog-post-content .wcl-under-hood__subtitle {
        margin-bottom: 50px;
    }
}

.wcl-under-hood__body {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
    width: 100%;
    flex-wrap: nowrap;
}

@media only screen and (max-width: 1024px) {
    .wcl-under-hood__body {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
}

.wcl-under-hood__left.wcl-block,
.wcl-under-hood__right.wcl-block {
    flex: 0 1 clamp(250px, 22vw, 360px);
    width: auto;
    max-width: 360px;
    padding: 75px 15px;
}

@media only screen and (max-width: 1280px) {
    .wcl-under-hood__left.wcl-block,
    .wcl-under-hood__right.wcl-block {
        max-width: 880px;
    }
}

@media only screen and (max-width: 900px) {
    .wcl-under-hood__left.wcl-block,
    .wcl-under-hood__right.wcl-block {
        width: calc(100% - 30px);
        max-width: none;
        padding: 36px 16px;
        height: auto;
        min-height: 0;
        flex: 0 0 auto;
        overflow: visible;
    }

    .wcl-under-hood__title {
        margin-bottom: 20px;
    }
}

.wcl-under-hood__icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.wcl-under-hood__icon img {
    width: 30px;
    height: 30px;
}

.wcl-under-hood__label {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 10px;
    text-align: center;
}

.wcl-under-hood__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    color: var(--black);
    text-align: center;
    margin-bottom: 70px;
}

@media only screen and (max-width: 1280px) {
    .wcl-under-hood__title {
        margin-bottom: 30px;
    }
}

.wcl-under-hood__list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.wcl-under-hood__list li {
    position: relative;
    color: var(--black);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    padding: 20px 20px 20px 30px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    list-style: none;
}

.wcl-under-hood__list li::before {
    content: "";
    position: absolute;
    display: inline-block;
    left: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 5px;
    border-radius: 10px;
    height: calc(100% - 28px);
    background-color: var(--blueDC);
}

.wcl-under-hood__right .wcl-under-hood__list li::before {
    background-color: #FFDB59;
}

.wcl-under-hood__center {
    flex: 1 1 clamp(680px, 52vw, 900px);
    width: auto;
    max-width: 900px;
    min-width: clamp(680px, 52vw, 900px);
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 1400px) {
    .wcl-under-hood__center {
        min-width: 0;
    }
}

@media only screen and (max-width: 1280px) {
    .wcl-under-hood__center {
        min-width: 0;
    }
}

@media only screen and (max-width: 900px) {
    .wcl-under-hood__center {
        max-width: 100%;
        padding: 0 15px;
        overflow-x: auto;
        overflow-y: hidden;
        flex: 0 0 auto;
        height: auto;
        min-height: 0;
        max-height: none;
        align-self: stretch;
    }
}

.wcl-under-hood__compiler-clouds {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

@media only screen and (max-width: 1280px) {
    .wcl-under-hood__compiler-clouds {
        padding-top: 24px;
    }
}

.wcl-under-hood__compiler-wrapper {
    filter: drop-shadow(-2px 2px 14px rgba(0, 0, 0, 0.25));
    display: flex;
    width: calc(50% - 5px);
}

.wcl-under-hood__compiler {
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 35px;
    flex-grow: 1;
    padding: 30px 15px 50px;
    clip-path: url(#block-top-clip);
}

.wcl-under-hood__compiler-header {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wcl-under-hood__h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.wcl-under-hood__compiler-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wcl-under-hood__compiler-icon img {
    width: 30px;
    height: 30px;
}

.wcl-under-hood__compiler-body {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.5);
}

.wcl-under-hood__compiler-image {
    width: 30px;
    height: auto;
    flex-shrink: 0;
}

.wcl-under-hood__compiler-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wcl-under-hood__clouds {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: calc(50% - 5px);
}

.wcl-under-hood__clouds img {
    width: 100%;
    max-width: 247px;
    height: auto;
    object-fit: contain;
}

.wcl-under-hood__management-engine {
    flex-grow: 1;
    display: flex;
    align-items: stretch;
    gap: 10px;
}

@media only screen and (max-width: 1280px) {
    .wcl-under-hood__management-engine {
        padding-bottom: 24px;
    }
}

.wcl-under-hood__management-wrapper,
.wcl-under-hood__engine-wrapper {
    display: flex;
    filter: drop-shadow(-2px 2px 14px rgba(0, 0, 0, 0.25));
    width: calc(50% - 5px);
}

.wcl-under-hood__management.wcl-block,
.wcl-under-hood__engine.wcl-block {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 40px 15px 16px;
    z-index: 1;
    gap: 35px;
    width: 100%;
    height: auto;
}

.wcl-under-hood__management {
    clip-path: url(#block-bottom-clip);
    position: relative;
}

.wcl-under-hood__management-arrow {
    position: absolute;
    top: 36px;
    right: 27px;
    width: 50px;
    height: auto;
    transform-origin: right bottom;
    transform: rotate(-8deg) scale(1.05);
}

.wcl-under-hood__management-list {
    width: 100%;
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.wcl-under-hood__management-list .wcl-under-hood__list-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background-color: #9A9BC6;
    padding: 15px 25px;
    border-radius: 15px;
}

.wcl-under-hood__management-list .wcl-under-hood__list-item--arrow {
    clip-path: url(#block-list-item-clip);
}

.wcl-under-hood__management-list li p {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--white)
}

.wcl-under-hood__management-list li img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

.wcl-under-hood__management-footer {
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.wcl-under-hood__management-footer p {
    font-size: 12px;
    color: #ffffff;
}

.wcl-under-hood__management-footer img {
    width: 30px;
    height: 30px;
}

.wcl-under-hood__arrows {
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 224px;
    padding: 30px 0;
}

.wcl-under-hood__arrows-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wcl-under-hood__arrows-item:first-child {
    opacity: 1;
}

.wcl-under-hood__arrows-item:nth-child(2) {
    opacity: 1;
}

.wcl-under-hood__arrows-item:nth-child(3) {
    opacity: 1;
}

.wcl-under-hood__arrows-item:last-child > img {
    transform: rotateY(180deg);
}

.wcl-under-hood__arrows-icon {
    width: 30px;
    height: 30px;
}

.wcl-under-hood__arrows-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.35));
}

.wcl-under-hood__arrows-item p {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.wcl-under-hood__arrows-item > img {
    width: 70px;
    height: auto;
    filter: brightness(0.58) contrast(1.22);
}

.wcl-under-hood__management-footer img,
.wcl-under-hood__management-list li img {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 4px;
}

/* Under-hood diagram hover highlighting */
.wcl-under-hood .wcl-block,
.wcl-under-hood .wcl-under-hood__list li,
.wcl-under-hood .wcl-under-hood__management-list .wcl-under-hood__list-item,
.wcl-under-hood .wcl-under-hood__arrows-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.wcl-under-hood .wcl-block:hover,
.wcl-under-hood .wcl-under-hood__list li:hover,
.wcl-under-hood .wcl-under-hood__management-list .wcl-under-hood__list-item:hover,
.wcl-under-hood .wcl-under-hood__arrows-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px rgba(160, 174, 255, 0.45), 0 14px 28px rgba(15, 23, 42, 0.2);
    filter: brightness(1.05);
}

.wcl-under-hood__engine {
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    clip-path: url(#block-right-clip);
}

.wcl-under-hood__engine-header {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wcl-under-hood__engine-header h3 {
  text-align: center;
}

.wcl-under-hood__engine-icon {
    position: relative;
    z-index: 2;
    width: 75px;
    height: 75px;
}

.wcl-under-hood__engine-footer {
    position: relative;
    z-index: 2;
    background: var(--orange-gradient);
    border-radius: 17px;
    padding: 10px;
    display: flex;
    gap: 10px;
    width: 100%;
}

.wcl-under-hood__engine-text {
    font-size: 14px;
}

/* Under-hood card colors (override generic .wcl-block) */
.wcl-under-hood .wcl-under-hood__left.wcl-block,
.wcl-under-hood .wcl-under-hood__management.wcl-block,
.wcl-under-hood .wcl-under-hood__engine.wcl-block {
    background: #BBBDDC;
}

.wcl-under-hood .wcl-under-hood__compiler.wcl-block,
.wcl-under-hood .wcl-under-hood__right.wcl-block {
    background: linear-gradient(90deg, #ffde59, #ff914d);
}

/* ===== FHE Technology page ===== */

.fhe-tech-hero {
    padding-top: clamp(4.3rem, 8vw, 5.4rem);
    padding-bottom: clamp(4.5rem, 8.5vw, 6rem);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.fhe-tech-hero > .container.platform-section-shell__inner {
    margin-top: clamp(3rem, 7vw, 5rem);
    position: relative;
    z-index: 3;
}

.fhe-tech-hero__content {
    max-width: 54rem;
}

.fhe-tech-hero.platform-section--light {
    background:
        radial-gradient(1200px 720px at 86% -12%, rgba(180, 223, 246, 0.5), transparent 62%),
        radial-gradient(980px 620px at 8% 112%, rgba(216, 201, 252, 0.4), transparent 64%),
        linear-gradient(180deg, #f8fbfd 0%, #eef3f8 54%, #e9eff6 100%);
}

.fhe-tech-hero.platform-section--light::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle, rgba(17, 23, 29, 0.178) 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0.84;
}

.fhe-tech-hero.platform-section--light::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background:
        linear-gradient(90deg, #eef3f8 0%, rgba(238, 243, 248, 0.95) 12%, rgba(238, 243, 248, 0.52) 24%, rgba(238, 243, 248, 0) 36%),
        linear-gradient(270deg, #eef3f8 0%, rgba(238, 243, 248, 0.95) 12%, rgba(238, 243, 248, 0.52) 24%, rgba(238, 243, 248, 0) 36%),
        linear-gradient(180deg, rgba(233, 239, 246, 0) 0px, rgba(233, 239, 246, 0) 340px, rgba(233, 239, 246, 0.45) 520px, #e9eff6 760px),
        radial-gradient(540px 280px at 50% 0%, rgba(255, 255, 255, 0.46), transparent 78%),
        radial-gradient(900px 380px at 50% -28%, rgba(255, 255, 255, 0.35), transparent 76%);
    background-size: auto, auto, auto, auto, auto;
    opacity: 0.82;
}

.fhe-tech-hero__badge {
    margin: 0 0 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    border: 1px solid #d7dde7;
    background: #f8fafc;
    color: #6b7280;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.fhe-tech-hero__badge-dot {
    position: relative;
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22a8ff;
    box-shadow: 0 0 0 1px rgba(34, 168, 255, 0.3), 0 0 16px rgba(34, 168, 255, 0.72);
    animation: heroStatusDot 1.9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.fhe-tech-hero__badge-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    border: 1px solid rgba(34, 168, 255, 0.55);
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center;
    opacity: 0;
    animation: heroStatusWave 1.9s ease-out infinite;
}

.fhe-tech-hero__title {
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: #11171d;
    max-width: 54rem;
    display: block;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.fhe-tech-hero__title-primary,
.fhe-tech-hero__title-secondary {
    display: block;
}

.fhe-tech-hero__title-primary {
    color: #11171d;
}

.fhe-tech-hero__title-secondary {
    color: #737983;
}

.fhe-tech-hero__lead {
    margin: 1.25rem 0 0;
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: 30rem;
    color: #565c65;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.fhe-tech-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.55rem;
}

.fhe-tech-hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 11px;
    min-height: 44px;
    padding: 0.64rem 1.08rem;
    font-size: 0.86rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1;
}

.fhe-tech-hero-actions .btn-primary {
    gap: 0.5rem;
    background: #0f1725;
    color: #f8fafc;
    box-shadow: 0 12px 28px -18px rgba(15, 23, 37, 0.6);
}

.fhe-tech-hero-actions .btn-primary:hover {
    background: #1b2534;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px -18px rgba(15, 23, 37, 0.62);
}

.fhe-tech-hero-actions .btn-secondary {
    background: #ffffff;
    color: #11171d;
    border: 1px solid #d8dde6;
}

.fhe-tech-hero-actions .btn-secondary:hover {
    background: #f8fafc;
    border-color: #c9d0db;
    color: #11171d;
    transform: translateY(-1px);
}

.fhe-tech-hero-actions .cta-btn-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.fhe-tech-primitive .lattica-approach__eyebrow {
    color: #989fa8;
}

.fhe-tech-primitive .lattica-approach__title {
    color: #f6f9fb;
}

.fhe-tech-primitive .lattica-approach__subtitle {
    color: color-mix(in oklab, #ffffff 72%, transparent);
}

.fhe-tech-why .lattica-approach__eyebrow {
    color: #989fa8;
}

.fhe-tech-why .lattica-approach__title {
    color: #f6f9fb;
}

.fhe-tech-why .lattica-approach__subtitle {
    color: color-mix(in oklab, #ffffff 72%, transparent);
}

.fhe-tech-primitive__body {
    margin: 2rem auto 0;
    max-width: 48rem;
    font-size: 1rem;
    line-height: 1.65;
    color: color-mix(in oklab, #ffffff 78%, transparent);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.fhe-tech-defining-card .fhe-tech-primitive__body {
    margin-top: 0.8rem;
    margin-bottom: 0.05rem;
    max-width: 34rem;
    text-align: center;
    font-size: 0.95rem;
    color: color-mix(in oklab, #ffffff 70%, transparent);
}

.fhe-tech-primitive .lattica-approach__card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

.fhe-tech-primitive .lattica-approach__card {
    background: linear-gradient(160deg, oklch(0.28 0.013 250), oklch(0.2 0.012 250));
    border: 1px solid oklch(42% 0.03 250 / 0.42);
    box-shadow: inset 0 1px 0 oklch(72% 0.03 250 / 0.08), 0 26px 58px -36px oklch(2% 0.02 250 / 0.92);
}

.fhe-tech-primitive .lattica-approach__card::before {
    display: none;
}

.fhe-tech-primitive .lattica-approach__card h3 {
    color: #f6f9fb;
}

.fhe-tech-primitive .lattica-approach__card p {
    color: color-mix(in oklab, #ffffff 72%, transparent);
}

.fhe-tech-primitive .lattica-approach__icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, oklch(32% 0.045 220), oklch(30% 0.04 295));
    border: 1px solid oklch(42% 0.03 250 / 0.45);
    color: oklch(78% 0.09 220);
}

.fhe-tech-primitive .lattica-approach__icon {
    width: 0.95rem;
    height: 0.95rem;
    stroke: oklch(78% 0.09 220);
}

.fhe-tech-primitive__body em {
    font-style: italic;
    font-weight: 600;
}

.fhe-tech-defining-card {
    margin-top: 2rem;
    padding: 0.95rem 1.1rem 1.05rem;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(160deg, oklch(0.28 0.013 250), oklch(0.2 0.012 250));
    border: 1px solid oklch(42% 0.03 250 / 0.42);
    box-shadow: inset 0 1px 0 oklch(72% 0.03 250 / 0.08), 0 26px 58px -36px oklch(2% 0.02 250 / 0.92);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    will-change: transform;
}

.fhe-tech-defining-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, oklch(72% 0.11 220), oklch(72% 0.1 295));
    opacity: 0.95;
}

.fhe-tech-defining-card .platform-punchline {
    margin: 0.85rem 0 1.55rem;
    padding: 0.05rem 0.25rem 0;
    font-size: 0.64rem;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: oklch(78% 0.09 220);
}

.fhe-tech-flow-card {
    padding: 0.2rem 0.1rem;
    border-radius: 14px;
}

.fhe-tech-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 0.55rem 0.45rem;
    margin-top: 0;
}

.fhe-tech-flow__step {
    flex: 1 1 140px;
    min-width: 120px;
    max-width: 200px;
    padding: 0.9rem 0.78rem;
    border-radius: 14px;
    border: 1px solid oklch(56% 0.055 235 / 0.44);
    background: linear-gradient(160deg, oklch(0.25 0.013 250), oklch(0.17 0.012 250));
    box-shadow: inset 0 1px 0 oklch(72% 0.03 250 / 0.08), 0 0 0 1px oklch(62% 0.07 230 / 0.12), 0 18px 36px -24px oklch(30% 0.08 235 / 0.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    will-change: transform;
}

.fhe-tech-flow__step::before {
    display: none;
}

.fhe-tech-flow__label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: color-mix(in oklab, #ffffff 50%, transparent);
}

.fhe-tech-flow__expr {
    font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    color: #f6f9fb;
    line-height: 1.42;
}

.fhe-tech-flow__side {
    font-size: 0.72rem;
    color: color-mix(in oklab, #ffffff 58%, transparent);
}

.fhe-tech-flow__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in oklab, #ffffff 45%, transparent);
    flex-shrink: 0;
    align-self: center;
    padding: 0 0.15rem;
}

.fhe-tech-flow__arrow--equals {
    font-size: 1.25rem;
    font-weight: 700;
    color: color-mix(in oklab, #ffffff 55%, transparent);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.fhe-tech-vs-others {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid oklch(45% 0.03 250 / 0.4);
}

.fhe-tech-vs-others-card {
    margin-top: 3rem;
    padding: 1rem 1.1rem 1.05rem;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(160deg, oklch(0.28 0.013 250), oklch(0.2 0.012 250));
    border: 1px solid oklch(42% 0.03 250 / 0.42);
    box-shadow: inset 0 1px 0 oklch(72% 0.03 250 / 0.08), 0 26px 58px -36px oklch(2% 0.02 250 / 0.92);
}

.fhe-tech-vs-others-card::before {
    display: none;
}

.fhe-tech-vs-others-card .fhe-tech-vs-others {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.fhe-tech-vs-others-card .fhe-tech-vs-others__chips .privacy-problem__gain-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.95rem;
    min-height: 31px;
    border-radius: 999px;
    border: 0;
    color: #ffffff;
    background-image: linear-gradient(90deg, rgba(95, 214, 255, 0.96), rgba(176, 145, 255, 0.96));
    box-shadow: rgba(165, 139, 236, 0.55) 0 8px 24px -10px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
}

.fhe-tech-vs-others-card .fhe-tech-vs-others__chips .privacy-problem__gain-chip::before {
    display: none;
}

.fhe-tech-vs-others-card .fhe-tech-vs-others__chips .privacy-problem__loss-chip {
    color: color-mix(in oklab, #ffffff 70%, transparent);
    background: linear-gradient(180deg, oklch(25% 0.006 250 / 0.9), oklch(21% 0.004 250 / 0.92));
    border: 1px solid oklch(45% 0.008 250 / 0.4);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 oklch(72% 0.02 250 / 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.95rem;
    min-height: 31px;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1;
}

.fhe-tech-vs-others-card .fhe-tech-vs-others__chips .privacy-problem__loss-chip::before {
    display: none;
}

.fhe-tech-vs-others__label {
    display: block;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1.2;
    color: oklch(78% 0.09 220);
    margin: 0.85rem 0 1.55rem;
    padding: 0.05rem 0.25rem 0;
}

.fhe-tech-vs-others__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
    align-items: center;
}

.fhe-tech-perf__scenario {
    margin: 2rem 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: color-mix(in oklab, #ffffff 85%, transparent);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.fhe-tech-perf-card {
    margin-top: 2rem;
}

.fhe-tech-perf {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 52rem;
}

.fhe-tech-perf__row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 2.2fr) auto;
    gap: 0.75rem 1rem;
    align-items: center;
}

.fhe-tech-perf__label {
    font-size: 0.8rem;
    line-height: 1.35;
    color: color-mix(in oklab, #ffffff 78%, transparent);
}

.fhe-tech-perf__track {
    height: 11px;
    border-radius: 999px;
    background: oklch(28% 0.02 250 / 0.85);
    border: 1px solid oklch(40% 0.03 250 / 0.5);
    overflow: hidden;
}

.fhe-tech-perf__bar {
    display: block;
    height: 100%;
    border-radius: 999px;
    min-width: 3px;
    transition: width 0.4s ease;
}

.fhe-tech-perf__bar--fast {
    background: linear-gradient(90deg, oklch(55% 0.08 250), oklch(62% 0.06 220));
}

.fhe-tech-perf__bar--slow {
    background: linear-gradient(90deg, oklch(55% 0.2 25), oklch(48% 0.18 15));
}

.fhe-tech-perf__bar--mid {
    background: linear-gradient(90deg, oklch(58% 0.14 55), oklch(52% 0.12 40));
}

.fhe-tech-perf__bar--lattica {
    background: linear-gradient(90deg, oklch(72% 0.11 220), oklch(72% 0.1 295));
}

.fhe-tech-perf__duration {
    font-size: 0.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #f6f9fb;
    white-space: nowrap;
    min-width: 5.5rem;
    text-align: right;
}

.fhe-tech-perf__caption {
    margin: 1rem 0 0;
    max-width: 48rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: color-mix(in oklab, #ffffff 55%, transparent);
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf-card {
    width: 100%;
    max-width: none;
    border-radius: 20px;
    padding: 1.2rem 1.5rem 1rem;
    background: #f6f8fb;
    border: 1px solid #e5eaf0;
    box-shadow: 0 12px 26px -20px oklch(20% 0.05 230 / 0.28);
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__scenario {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1f6f86;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf {
    margin-top: 0;
    max-width: none;
    gap: 0.7rem;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__row {
    grid-template-columns: 10.5rem minmax(0, 1fr) auto;
    gap: 0.55rem 0.9rem;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__label {
    white-space: nowrap;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__label {
    font-size: 0.82rem;
    color: #2d343a;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__track {
    height: 10px;
    background: #e6e9ee;
    border: 0;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__bar--fast {
    background: linear-gradient(90deg, #2dc98d, #35d49a);
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__bar--slow {
    background: linear-gradient(90deg, #f06262, #e34a5c);
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__bar--mid {
    background: linear-gradient(90deg, #ea5b62, #dc4460);
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__bar--lattica {
    background: linear-gradient(90deg, #4cb5cf, #7e86d8);
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__duration {
    font-size: 0.9rem;
    font-weight: 700;
    font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.01em;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__row:nth-child(1) .fhe-tech-perf__duration {
    color: #219f72;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__row:nth-child(2) .fhe-tech-perf__duration {
    color: #d24a5a;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__row:nth-child(3) .fhe-tech-perf__duration {
    color: #c24f5b;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__row:nth-child(4) .fhe-tech-perf__duration {
    color: #2c97b0;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf__caption {
    width: 100%;
    max-width: none;
    font-size: 0.72rem;
    font-style: italic;
    color: #69727c;
}

.fhe-tech-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.fhe-tech-card--dark {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 1.5rem 1.5rem 1.25rem;
    background: oklch(24% 0.018 250);
    border: 1px solid oklch(38% 0.03 250 / 0.55);
    box-shadow: 0 28px 56px -28px oklch(8% 0.02 250 / 0.65);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    color: #f6f9fb;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.fhe-tech-card--dark::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, oklch(72% 0.11 220), oklch(72% 0.1 295));
    opacity: 0.9;
}

.fhe-tech-card__head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.fhe-tech-card__icon-wrap {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, oklch(35% 0.06 220), oklch(32% 0.05 295));
    border: 1px solid oklch(45% 0.04 250 / 0.5);
    color: oklch(78% 0.09 220);
    flex-shrink: 0;
}

.fhe-tech-card__icon {
    width: 1.15rem;
    height: 1.15rem;
}

.fhe-tech-card--dark h3 {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.35;
    font-weight: 600;
    color: #f6f9fb;
}

.fhe-tech-card--dark p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: color-mix(in oklab, #ffffff 72%, transparent);
}

/* Stack section in light shell keeps card layout but uses light surfaces */
.platform-section--light.fhe-tech-stack .fhe-tech-card--dark {
    background: #ffffff;
    border: 1px solid oklch(17% 0.02 250 / 0.12);
    box-shadow: 0 24px 50px -24px oklch(20% 0.05 230 / 0.2);
    color: #11171d;
}

.platform-section--light.fhe-tech-stack .fhe-tech-card--dark::before {
    display: none;
}

.platform-section--light.fhe-tech-stack .fhe-tech-card__icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, oklch(92% 0.03 220), oklch(90% 0.02 250));
    border: 1px solid oklch(78% 0.03 240 / 0.6);
    color: oklch(56% 0.13 220);
}

.platform-section--light.fhe-tech-stack .fhe-tech-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
}

.platform-section--light.fhe-tech-stack .fhe-tech-card__icon {
    width: 0.95rem;
    height: 0.95rem;
}

.platform-section--light.fhe-tech-stack .fhe-tech-card--dark h3 {
    color: #11171d;
}

.platform-section--light.fhe-tech-stack .fhe-tech-card--dark p {
    color: #474e55;
}

/* Bottleneck section uses light-shell visuals for cards */
.platform-section--light.fhe-tech-bottleneck .fhe-tech-card--dark {
    background: #ffffff;
    border: 1px solid oklch(17% 0.02 250 / 0.12);
    box-shadow: 0 24px 50px -24px oklch(20% 0.05 230 / 0.2);
    color: #11171d;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-card--dark::before {
    display: none;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-card__icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, oklch(92% 0.03 220), oklch(90% 0.02 250));
    border: 1px solid oklch(78% 0.03 240 / 0.6);
    color: oklch(56% 0.13 220);
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-card__icon {
    width: 0.95rem;
    height: 0.95rem;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-card--dark h3 {
    color: #11171d;
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-card--dark p {
    color: #474e55;
}

.fhe-tech-vs {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.fhe-tech-vs__panel {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid oklch(17% 0.02 250 / 0.1);
    box-shadow: 0 24px 50px -24px oklch(20% 0.05 230 / 0.22);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.fhe-tech-vs__panel--bad::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, oklch(72% 0.11 220), oklch(72% 0.1 295));
    opacity: 0.85;
}

.fhe-tech-vs__panel--good::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, oklch(72% 0.11 220), oklch(72% 0.1 295));
    opacity: 0.85;
}

.fhe-tech-why .fhe-tech-vs__panel--bad .fhe-tech-vs__panel-title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 19.2px;
    color: #cc272e;
    background: #e858541a;
    border: 1px solid #e8585459;
}

.fhe-tech-why .fhe-tech-vs__panel--bad .fhe-tech-vs__panel-title::before {
    content: "×";
    font-weight: 600;
    line-height: 1;
}

.fhe-tech-why .fhe-tech-vs__panel--good .fhe-tech-vs__panel-title {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    width: fit-content;
    padding: 0.56rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.15;
    color: oklch(0.58 0.13 165);
    background-color: oklch(0.95 0.03 165 / 0.6);
    background-image: none;
    border: 1px solid oklch(0.72 0.1 165 / 0.75);
}

.fhe-tech-why .fhe-tech-vs__panel--good .fhe-tech-vs__panel-title::before {
    content: "✓";
    font-weight: 600;
    line-height: 1;
    color: oklch(0.54 0.14 165);
}

.fhe-tech-vs__panel-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #11171d;
}

.fhe-tech-vs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.fhe-tech-vs__list .privacy-problem__loss-chip,
.fhe-tech-vs__list .privacy-problem__gain-chip {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    text-align: left;
    align-self: stretch;
    margin-top: 0;
}

/* In "What changed", list rows are plain icon + text (not pills). */
.fhe-tech-why .fhe-tech-vs__list .privacy-problem__loss-chip,
.fhe-tech-why .fhe-tech-vs__list .privacy-problem__gain-chip {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 1.02rem;
    line-height: 1.75;
    font-weight: 450;
}

.fhe-tech-why .fhe-tech-vs__list .privacy-problem__loss-chip {
    color: #3e464d;
}

.fhe-tech-why .fhe-tech-vs__list .privacy-problem__gain-chip {
    color: #2f3b44;
}

.fhe-tech-why .fhe-tech-vs__list .privacy-problem__loss-chip::before,
.fhe-tech-why .fhe-tech-vs__list .privacy-problem__gain-chip::before {
    flex: 0 0 auto;
    margin-top: 0.28rem;
    font-size: 0.95rem;
    line-height: 1;
    opacity: 0.8;
}

.fhe-tech-why .fhe-tech-vs__list .privacy-problem__loss-chip::before {
    color: #cc272e;
}

.fhe-tech-why .fhe-tech-vs__list .privacy-problem__gain-chip::before {
    color: oklch(0.56 0.1 165);
}

.fhe-tech-pillars__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.fhe-tech-pillars {
    position: relative;
}

.fhe-tech-why .fhe-tech-pillars .fhe-tech-card--dark::before {
    display: none;
}

.fhe-tech-why .fhe-tech-pillars .fhe-tech-card--dark {
    background: linear-gradient(160deg, oklch(0.28 0.013 250), oklch(0.2 0.012 250));
    border: 1px solid oklch(42% 0.03 250 / 0.42);
    box-shadow: inset 0 1px 0 oklch(72% 0.03 250 / 0.08), 0 26px 58px -36px oklch(2% 0.02 250 / 0.92);
}

.fhe-tech-why .fhe-tech-pillars .fhe-tech-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.fhe-tech-why .fhe-tech-pillars .fhe-tech-card__icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.fhe-tech-why .fhe-tech-pillars .fhe-tech-card__icon {
    width: 0.95rem;
    height: 0.95rem;
}

.fhe-tech-why .fhe-tech-pillars .how-it-works-platform__container + .how-it-works-platform__container {
    margin-top: 2rem;
}

.fhe-tech-metrics-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.fhe-tech-why .fhe-tech-metrics-section {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.fhe-tech-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.fhe-tech-metrics__item {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid oklch(17% 0.02 250 / 0.1);
    box-shadow: 0 20px 48px -28px oklch(20% 0.05 230 / 0.2);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.fhe-tech-why .fhe-tech-metrics__item {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, oklch(0.28 0.013 250), oklch(0.2 0.012 250));
    border: 1px solid oklch(42% 0.03 250 / 0.42);
    box-shadow: inset 0 1px 0 oklch(72% 0.03 250 / 0.08), 0 26px 58px -36px oklch(2% 0.02 250 / 0.92);
}

.platform-section--light.fhe-tech-bottleneck .fhe-tech-perf-card {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .fhe-tech-vs__panel:hover {
        transform: translateY(-4px);
        border-color: oklch(52% 0.04 240 / 0.35);
        box-shadow: 0 34px 60px -28px oklch(20% 0.06 230 / 0.28);
    }

    .fhe-tech-metrics__item:hover {
        transform: translateY(-4px);
        border-color: oklch(52% 0.04 240 / 0.35);
        box-shadow: 0 30px 56px -28px oklch(20% 0.06 230 / 0.3);
    }

    .fhe-tech-why .fhe-tech-metrics__item:hover {
        border-color: oklch(60% 0.07 250 / 0.55);
        box-shadow: inset 0 1px 0 oklch(76% 0.04 250 / 0.14), 0 34px 68px -30px oklch(2% 0.02 250 / 0.95);
    }

    .platform-section--light.fhe-tech-bottleneck .fhe-tech-perf-card:hover {
        transform: translateY(-4px);
        background: #ffffff;
        border-color: oklch(52% 0.04 240 / 0.35);
        box-shadow: 0 32px 58px -30px oklch(20% 0.06 230 / 0.28);
    }
}

.fhe-tech-why .fhe-tech-metrics__item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, oklch(72% 0.11 220), oklch(72% 0.1 295));
    opacity: 0.9;
}

.fhe-tech-metrics__num {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #11171d;
    line-height: 1.1;
}

.fhe-tech-why .fhe-tech-metrics__num {
    color: transparent;
    background-image: linear-gradient(90deg, rgba(95, 214, 255, 0.96), rgba(176, 145, 255, 0.96));
    -webkit-background-clip: text;
    background-clip: text;
    text-align: left;
}

.fhe-tech-metrics__label {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #474e55;
}

.fhe-tech-why .fhe-tech-metrics__label {
    color: color-mix(in oklab, #ffffff 72%, transparent);
    text-align: left;
}

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

    .fhe-tech-cards-grid {
        grid-template-columns: 1fr;
    }

    .fhe-tech-metrics {
        grid-template-columns: 1fr;
    }

    .fhe-tech-perf__row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .fhe-tech-perf__duration {
        text-align: left;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .fhe-tech-hero {
        padding-top: 3.4rem;
        padding-bottom: 4rem;
    }

    .fhe-tech-hero__title {
        font-size: clamp(2.25rem, 9vw, 2.8rem);
        line-height: 1.08;
    }

    .fhe-tech-hero__lead {
        font-size: 1rem;
    }

    .fhe-tech-defining-card {
        padding: 0.85rem 0.75rem;
    }

    .fhe-tech-defining-card .platform-punchline {
        margin-bottom: 0.7rem;
        padding-left: 0.15rem;
        font-size: 0.6rem;
    }

    .fhe-tech-flow-card {
        padding: 0.15rem;
    }

    .fhe-tech-flow {
        flex-direction: column;
        align-items: stretch;
    }

    .fhe-tech-flow__step {
        max-width: none;
    }

    .fhe-tech-flow__arrow {
        transform: rotate(90deg);
        align-self: center;
        padding: 0.25rem 0;
    }

    .fhe-tech-flow__arrow--equals {
        transform: none;
        padding: 0.35rem 0;
    }

    .fhe-tech-vs-others__chips {
        flex-direction: column;
        align-items: stretch;
    }

    .fhe-tech-vs-others__chips .privacy-problem__loss-chip,
    .fhe-tech-vs-others__chips .privacy-problem__gain-chip {
        width: 100%;
        justify-content: center;
    }

    .fhe-tech-vs-others-card {
        padding: 0.85rem 0.75rem;
    }
}

@media (hover: hover) and (pointer: fine) {
    .fhe-tech-defining-card:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 36px 68px -28px oklch(2% 0.02 250 / 0.95);
    }

    .fhe-tech-flow__step:hover {
        transform: translateY(-2px);
        border-color: oklch(58% 0.06 240 / 0.55);
        box-shadow: inset 0 1px 0 oklch(70% 0.03 250 / 0.11), 0 18px 36px -24px oklch(2% 0.02 250 / 0.75);
    }

    .fhe-tech-flow__step:hover::before {
        opacity: 0.9;
    }

    .fhe-tech-primitive .lattica-approach__card:hover {
        box-shadow: inset 0 1px 0 oklch(72% 0.03 250 / 0.11), 0 36px 68px -28px oklch(2% 0.02 250 / 0.95);
    }

    .fhe-tech-vs-others-card:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: inset 0 1px 0 oklch(72% 0.03 250 / 0.11), 0 36px 68px -28px oklch(2% 0.02 250 / 0.95);
    }

    .fhe-tech-vs-others-card .fhe-tech-vs-others__chips .privacy-problem__gain-chip:hover {
        color: #ffffff;
        background-image: linear-gradient(90deg, rgba(95, 214, 255, 0.96), rgba(176, 145, 255, 0.96));
        transform: translateY(-1px);
        box-shadow: rgba(165, 139, 236, 0.62) 0 10px 26px -10px;
    }

    .fhe-tech-card--dark {
        transition: transform 0.24s ease, box-shadow 0.24s ease;
    }

    .fhe-tech-card--dark:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 36px 68px -28px oklch(8% 0.03 250 / 0.55);
    }
}

/* —— TFHE / Sunscreen article diagram (sf-*) —— */
.news-article-body .blog-post-content--article .sf-diagram {
    --sf-lattica: var(--brand-strong, #0e9dd4);
    --sf-lattica-soft: var(--brand, #dff3fb);
    --sf-sunscreen: #e8956a;
    --sf-sunscreen-soft: color-mix(in oklab, var(--sf-sunscreen) 16%, white);
    --sf-card-bg: #fff;
    --sf-card-border: rgba(15, 23, 42, 0.12);
    --sf-lattica-line: color-mix(in oklab, var(--sf-lattica) 28%, white);
    --sf-sunscreen-line: color-mix(in oklab, var(--sf-sunscreen) 32%, white);
    --sf-text: var(--text-primary);
    --sf-text-soft: var(--text-secondary);
    width: min(1200px, calc(100vw - 2rem));
    max-width: none;
    margin: 1.5rem 0 1.75rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 1.7rem 1rem 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.news-article-body .blog-post-content--article .sf-diagram h4 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
}

.news-article-body .blog-post-content--article .sf-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 2.2fr) minmax(0, 0.85fr);
    gap: 1rem;
    align-items: stretch;
    min-width: min(100%, 920px);
}

.news-article-body .blog-post-content--article .sf-role {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.1rem 1rem;
    border-radius: 14px;
    background: var(--sf-card-bg);
    border: 1px solid var(--sf-card-border);
}

.news-article-body .blog-post-content--article .sf-role--lattica {
    background: linear-gradient(180deg, var(--sf-lattica-soft), #fff);
    border-color: var(--sf-lattica-line);
}

.news-article-body .blog-post-content--article .sf-role--sunscreen {
    background: linear-gradient(180deg, var(--sf-sunscreen-soft), #fff);
    border-color: var(--sf-sunscreen-line);
}

.news-article-body .blog-post-content--article .sf-role-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sf-text-soft);
}

.news-article-body .blog-post-content--article .sf-role--sunscreen .sf-role-eyebrow {
    color: var(--sf-sunscreen);
}

.news-article-body .blog-post-content--article .sf-role-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0.4rem 0 0;
    padding: 0;
}

.news-article-body .blog-post-content--article .sf-role-list li {
    position: relative;
    padding-left: 0.75rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--sf-text-soft);
}

.news-article-body .blog-post-content--article .sf-center {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.news-article-body .blog-post-content--article .sf-row {
    display: grid;
    align-items: end;
    gap: 0.75rem;
}

.news-article-body .blog-post-content--article .sf-row--mid {
    position: relative;
    z-index: 0;
    overflow: visible;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 1.15fr);
}

/* Curved “Deploy compiled program” path: full-row overlay (compiler → cloud) */
.news-article-body .blog-post-content--article .sf-deploy-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.news-article-body .blog-post-content--article .sf-deploy-path {
    vector-effect: non-scaling-stroke;
    opacity: 0.95;
}

.news-article-body .blog-post-content--article .sf-deploy-floating {
    position: absolute;
    left: 58%;
    top: 32%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--sf-sunscreen);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: normal;
    max-width: 108px;
}

.news-article-body .blog-post-content--article .sf-deploy-floating__icon {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
    margin-top: 0;
}

.news-article-body .blog-post-content--article .sf-deploy-floating__label {
    display: block;
    text-align: left;
}

.news-article-body .blog-post-content--article .sf-leftcol,
.news-article-body .blog-post-content--article .sf-handoff,
.news-article-body .blog-post-content--article .sf-stack--end {
    position: relative;
    z-index: 1;
}

.news-article-body .blog-post-content--article .sf-leftcol {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
    position: relative;
}

.news-article-body .blog-post-content--article .sf-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.9rem;
    border-radius: 14px;
    background: var(--sf-card-bg);
    border: 1px solid var(--sf-card-border);
}

.news-article-body .blog-post-content--article .sf-card--sunscreen {
    background: linear-gradient(180deg, var(--sf-sunscreen-soft), #fff);
    border-color: var(--sf-sunscreen-line);
}

.news-article-body .blog-post-content--article .sf-card--compiler {
    width: 100%;
}

.news-article-body .blog-post-content--article .sf-card--lattica {
    background: linear-gradient(180deg, var(--sf-lattica-soft), #fff);
    border-color: var(--sf-lattica-line);
}

.news-article-body .blog-post-content--article .sf-card-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.news-article-body .blog-post-content--article .sf-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.news-article-body .blog-post-content--article .sf-badge--lattica {
    background: var(--sf-lattica);
}

.news-article-body .blog-post-content--article .sf-badge--sunscreen {
    background: var(--sf-sunscreen);
}

.news-article-body .blog-post-content--article .sf-badge--sm {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
}

.news-article-body .blog-post-content--article .sf-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--sf-text);
    line-height: 1.3;
}

.news-article-body .blog-post-content--article .sf-card-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--sf-sunscreen-line);
    background: #fff;
    color: var(--sf-text);
    font-size: 0.84rem;
}

.news-article-body .blog-post-content--article .sf-pill-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--sf-sunscreen);
}

.news-article-body .blog-post-content--article .sf-step-list {
    list-style: none;
    margin: 0 0 0.65rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.news-article-body .blog-post-content--article .sf-step-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.7rem;
    border-radius: 9px;
    border: 1px solid var(--sf-lattica-line);
    background: #fff;
    color: var(--sf-text);
    font-size: 0.82rem;
}

.news-article-body .blog-post-content--article .sf-step-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--sf-lattica);
}

.news-article-body .blog-post-content--article .sf-card-foot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.4rem;
    border-top: 1px dashed var(--sf-card-border);
    font-size: 0.78rem;
    color: var(--sf-text-soft);
}

.news-article-body .blog-post-content--article .sf-foot-icon {
    width: 16px;
    height: 16px;
    color: var(--sf-text-soft);
}

.news-article-body .blog-post-content--article .sf-card-foot--accent {
    color: var(--sf-text);
}

.news-article-body .blog-post-content--article .sf-handoff {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    align-self: start;
    position: relative;
    gap: 0.55rem;
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 12.8rem 0 0;
}

.news-article-body .blog-post-content--article .sf-handoff li {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    row-gap: 0.12rem;
    width: 100%;
}

.news-article-body .blog-post-content--article .sf-handoff li:nth-child(2) {
    transform: translateY(1.2rem);
}

.news-article-body .blog-post-content--article .sf-handoff li:nth-child(3) {
    transform: translateY(2.4rem);
}

.news-article-body .blog-post-content--article .sf-handoff-icon {
    display: none;
}

.news-article-body .blog-post-content--article .sf-handoff-arrow {
    background: var(--sf-lattica-line);
    border-radius: 2px;
    grid-area: 1 / 1;
    height: 2px;
    position: relative;
}

.news-article-body .blog-post-content--article .sf-handoff-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1px;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--sf-lattica-line);
    border-right: 2px solid var(--sf-lattica-line);
    transform: translateY(-50%) rotate(45deg);
}

.news-article-body .blog-post-content--article .sf-handoff-arrow--rev {
    opacity: 0.9;
}

.news-article-body .blog-post-content--article .sf-handoff-arrow--rev::after {
    right: auto;
    left: -1px;
    border-top: 2px solid var(--sf-lattica-line);
    border-right: 2px solid var(--sf-lattica-line);
    transform: translateY(-50%) rotate(-135deg);
}

.news-article-body .blog-post-content--article .sf-handoff-label {
    grid-area: 2 / 1 / auto / -1;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.3;
    color: var(--sf-text-soft);
}

.news-article-body .blog-post-content--article .sf-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.news-article-body .blog-post-content--article .sf-stack--end {
    justify-content: flex-end;
    padding-top: 0.35rem;
}

.news-article-body .blog-post-content--article .sf-clouds {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 0.2rem;
    margin-bottom: 1.2rem;
    pointer-events: none;
    filter: drop-shadow(0 6px 14px color-mix(in oklab, var(--sf-lattica) 28%, transparent));
}

.news-article-body .blog-post-content--article .sf-clouds svg {
    width: 110%;
    max-width: 320px;
    height: auto;
    display: block;
}

.news-article-body .blog-post-content--article .sf-engine-glyph {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.4rem 0;
}

.news-article-body .blog-post-content--article .sf-nn {
    width: 78%;
    max-width: 160px;
    height: auto;
    display: block;
}

.news-article-body .blog-post-content--article .sf-legend {
    margin: 1.15rem 0 0;
    font-size: 0.75rem;
    color: var(--sf-text-soft);
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.news-article-body .blog-post-content--article .sf-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.news-article-body .blog-post-content--article .sf-swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.news-article-body .blog-post-content--article .sf-swatch--lattica {
    background: var(--sf-lattica);
}

.news-article-body .blog-post-content--article .sf-swatch--sunscreen {
    background: var(--sf-sunscreen);
}

@media (max-width: 1100px) {
    .news-article-body .blog-post-content--article .sf-diagram {
        width: 100%;
        max-width: 100%;
        left: 0;
        transform: none;
    }
}

@media (max-width: 900px) {
    .news-article-body .blog-post-content--article .sf-diagram {
        margin-left: 0;
        margin-right: 0;
        padding: 1.25rem;
    }
}

@media (max-width: 880px) {
    .news-article-body .blog-post-content--article .sf-grid {
        grid-template-columns: 1fr;
        min-width: 0;
    }
}

@media (max-width: 720px) {
    .news-article-body .blog-post-content--article .sf-row--mid {
        grid-template-columns: 1fr;
    }

    .news-article-body .blog-post-content--article .sf-cloud,
    .news-article-body .blog-post-content--article .sf-curve {
        display: none;
    }

    .news-article-body .blog-post-content--article .sf-card--compiler {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .news-article-body .blog-post-content--article .sf-handoff {
        display: none;
    }
}

@media (max-width: 720px) {
    .news-article-body .blog-post-content--article .sf-clouds {
        display: none;
    }

    .news-article-body .blog-post-content--article .sf-deploy-overlay {
        display: none;
    }

    .news-article-body .blog-post-content--article .sf-deploy-floating {
        display: none;
    }
}

@media (hover: hover) and (pointer: fine) {
    .news-article-body .blog-post-content--article .sf-card,
    .news-article-body .blog-post-content--article .sf-role {
        transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            border-color 0.2s ease;
    }

    .news-article-body .blog-post-content--article .sf-card:hover,
    .news-article-body .blog-post-content--article .sf-role:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px -14px rgba(15, 23, 42, 0.3);
    }
}

/* hero-lattice.css is @imported at file top. Bridge: reference game-mode rules use .hero-card; platform uses .hero-content-box. */
.hero-section[data-hero-game="on"] .hero-content-box,
.hero-section[data-hero-game="on"] .hero-content-box::before {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
}

.hero-section[data-hero-game="on"] .hero-content-box {
    transform: scale(0.92);
}

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: clamp(0.75rem, 1.6vw, 1.25rem);
    transform: translateX(-50%);
    z-index: 24;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(116, 127, 145, 0.96);
    text-decoration: none;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1;
    transition: opacity 0.2s ease, color 0.2s ease;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    animation: none;
}

.hero--platform .hero-wires-center {
    padding: 170px 0 5.1rem;
}

.hero--platform .hero-content-box {
    margin-bottom: clamp(2.75rem, 5vh, 4.2rem);
}

.hero-scroll-cue:hover {
    opacity: 0.88;
    color: rgba(88, 102, 124, 0.96);
}

.hero-scroll-cue__label {
    display: block;
}

.hero-scroll-cue__mouse {
    width: 21px;
    height: 34px;
    border: 1.5px solid rgba(133, 146, 166, 0.9);
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 6px;
    box-sizing: border-box;
}

.hero-scroll-cue__dot {
    width: 4px;
    height: 7px;
    border-radius: 999px;
    background: rgba(96, 197, 239, 0.95);
    animation: heroScrollCueDot 1.4s ease-in-out infinite;
}

/* Fallback for cases where only text node is present in the anchor. */
.hero-scroll-cue::after {
    content: "";
    width: 21px;
    height: 34px;
    border: 1.5px solid rgba(133, 146, 166, 0.9);
    border-radius: 999px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 50% 26%, rgba(96, 197, 239, 0.95) 0 2px, transparent 2.1px);
    animation: heroScrollCueDotPseudo 1.4s ease-in-out infinite;
}

.hero-scroll-cue:has(.hero-scroll-cue__mouse)::after {
    display: none;
}

@keyframes heroScrollCueDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    70% {
        transform: translateY(10px);
        opacity: 0.15;
    }
    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

@keyframes heroScrollCueDotPseudo {
    0% {
        background-position: 50% 24%;
        opacity: 1;
    }
    70% {
        background-position: 50% 64%;
        opacity: 0.28;
    }
    100% {
        background-position: 50% 24%;
        opacity: 0.1;
    }
}

/* Hard fallback: hide cue on short viewports regardless of JS/runtime state. */
@media (max-height: 740px) {
    .hero--platform .hero-scroll-cue {
        display: none !important;
    }
}

/* Documentation page redesign (DocumentPage aligned with platform/workloads shells) */
.doc-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(1200px 720px at 86% -12%, rgba(180, 223, 246, 0.5), transparent 62%),
        radial-gradient(980px 620px at 8% 112%, rgba(216, 201, 252, 0.4), transparent 64%),
        linear-gradient(180deg, #f8fbfd 0%, #eef3f8 54%, #e9eff6 100%);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}

.doc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle, rgba(17, 23, 29, 0.178) 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0.84;
    pointer-events: none;
}

.doc-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background:
        linear-gradient(90deg, #eef3f8 0%, rgba(238, 243, 248, 0.95) 12%, rgba(238, 243, 248, 0.52) 24%, rgba(238, 243, 248, 0) 36%),
        linear-gradient(270deg, #eef3f8 0%, rgba(238, 243, 248, 0.95) 12%, rgba(238, 243, 248, 0.52) 24%, rgba(238, 243, 248, 0) 36%),
        linear-gradient(180deg, rgba(233, 239, 246, 0) 0px, rgba(233, 239, 246, 0) 340px, rgba(233, 239, 246, 0.45) 520px, #e9eff6 760px),
        radial-gradient(540px 280px at 50% 0%, rgba(255, 255, 255, 0.46), transparent 78%),
        radial-gradient(900px 380px at 50% -28%, rgba(255, 255, 255, 0.35), transparent 76%);
    opacity: 0.82;
}

.doc-hero .platform-section-shell__inner {
    position: relative;
    z-index: 3;
    margin-top: clamp(1.8rem, 4.2vw, 3rem);
    padding-top: clamp(2.58rem, 4.8vw, 3.24rem);
    padding-bottom: clamp(2.7rem, 5.1vw, 3.6rem);
}

.doc-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.doc-hero .hero-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #d7dde7;
    color: #6b7280;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.hero-feature__head .dot {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22a8ff;
    box-shadow: 0 0 0 1px rgba(34, 168, 255, 0.3), 0 0 16px rgba(34, 168, 255, 0.72);
    position: relative;
    display: inline-block;
}

.doc-hero .hero-eyebrow-dot {
    position: relative;
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22a8ff;
    box-shadow: 0 0 0 1px rgba(34, 168, 255, 0.3), 0 0 16px rgba(34, 168, 255, 0.72);
    animation: heroStatusDot 1.9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.doc-hero .hero-eyebrow-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    border: 1px solid rgba(34, 168, 255, 0.55);
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center;
    opacity: 0;
    animation: heroStatusWave 1.9s ease-out infinite;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .fhe-tech-hero__badge-dot,
    .doc-hero .hero-eyebrow-dot {
        animation: none;
    }

    .fhe-tech-hero__badge-dot::after,
    .doc-hero .hero-eyebrow-dot::after {
        animation: none;
    }
}

.doc-hero .hero-title {
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.02em;
    color: #11171d;
    max-width: 54rem;
    display: block;
    text-wrap: balance;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.doc-hero .hero-title .muted-line { display: block; color: #737983; }

.doc-hero .hero-sub {
    margin: 1.25rem 0 0;
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: 30rem;
    color: #565c65;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.doc-hero__cta { margin: 1.55rem 0 0.5rem; }
.doc-hero .btn,
.doc-section .btn {
    border-radius: 8px;
}

.btn--primary {
    background: var(--wave-accent-dark);
    color: #fff;
    border: 1px solid var(--wave-accent-dark);
}

.btn--primary:hover {
    background: var(--wave-accent-darker);
    border-color: var(--wave-accent-darker);
    color: #fff;
}

.btn--ghost {
    background: #fff;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn--ghost:hover {
    background: #f8fafc;
    color: var(--text-primary);
}

.btn--lg {
    min-height: 3.25rem;
    padding: .85rem 1.6rem;
    font-size: 1rem;
}

.doc-section--dark .btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .22);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.hero-stat-num { font-size: 2rem; font-weight: 700; line-height: 1; }
.hero-stat-num .unit { font-size: .55em; color: var(--text-light); margin-left: .15em; font-weight: 500; }
.hero-stat-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-light); margin-top: .4rem; }

.hero-feature {
    position: relative;
    padding: 1.5rem;
    background: #0F1117;
    color: #fff;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.25);
}

.hero-feature__glint {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    border: 1.5px solid transparent;
    background: linear-gradient(120deg, oklch(75% 0.13 220), oklch(75% 0.12 295), oklch(75% 0.13 220), oklch(78% 0.12 220)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    background-size: 200% 100%;
    animation: accentBorderSlide 6s linear infinite;
    opacity: .85;
}

.hero-feature__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.hero-feature__head .label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wave-accent); }

.terminal {
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: .625rem;
    overflow: hidden;
    font-family: "JetBrains Mono", monospace;
    font-size: 12.5px;
    line-height: 1.6;
}

.terminal__top { display: flex; align-items: center; gap: .6rem; padding: .55rem .85rem; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.terminal__top .traffic { display: flex; gap: .4rem; }
.terminal__top .traffic span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.terminal__top .file { font-size: 11px; color: rgba(255, 255, 255, .55); margin-left: auto; letter-spacing: .04em; }
.terminal__body { padding: .9rem 1rem 1rem; color: rgba(255, 255, 255, .85); }
.terminal__body .ln { display: block; }
.terminal__body .c-mute { color: rgba(255, 255, 255, .4); }
.terminal__body .c-key { color: #c9b6ff; }
.terminal__body .c-str { color: #34D399; }
.terminal__body .c-fn { color: var(--wave-accent); }
.terminal__body .c-num { color: #FFDE59; }
.terminal__body .c-cmt { color: rgba(255, 255, 255, .35); font-style: italic; }
.terminal__body .caret { display: inline-block; width: 7px; height: 14px; vertical-align: -2px; background: var(--wave-accent); margin-left: 2px; animation: blink 1.05s steps(1) infinite; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes chipPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); } 50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.06); } }
@keyframes accentBorderSlide { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }

.doc-tabs-wrap {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(248, 250, 252, .86);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border-light);
}

.doc-tabs-wrap--dark {
    background: rgba(15, 17, 23, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.doc-tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: .6rem 0; margin: 0; list-style: none; }
.doc-tabs::-webkit-scrollbar { display: none; }
.doc-tabs a { display: inline-flex; align-items: center; white-space: nowrap; padding: .5rem .9rem; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-secondary); border: 1px solid transparent; }
.doc-tabs a:hover { color: var(--text-primary); background: #f1f5f9; }
.doc-tabs a.is-active { color: #fff; background: #0F1117; border-color: #0F1117; }
.doc-tabs-wrap--dark .doc-tabs a {
    color: rgba(255, 255, 255, 0.72);
}
.doc-tabs-wrap--dark .doc-tabs a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.doc-tabs-wrap--dark .doc-tabs a.is-active {
    color: #11171d;
    background: #ffffff;
    border-color: #ffffff;
}

.doc-section .platform-section-shell__inner { padding-top: clamp(2.1rem, 4.2vw, 3.3rem); padding-bottom: clamp(2.1rem, 4.2vw, 3.3rem); }
.doc-section .section-header { display: grid; grid-template-columns: 6px 1fr; gap: 1.5rem; align-items: start; margin-bottom: 2.5rem; }
.doc-section .section-header__rail { width: 6px; min-height: 90px; border-radius: 999px; background: linear-gradient(180deg, var(--wave-accent), var(--wave-accent-dark)); }
.doc-section .t-eyebrow { display: block; margin-bottom: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wave-accent-dark); }
.doc-section .t-h2 { margin: 0 0 .75rem; font-size: clamp(1.9rem, 3vw, 2.25rem); }
.doc-section .t-lead { margin: 0; max-width: 60ch; color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.65; }
.doc-section--dark .t-eyebrow { color: var(--wave-accent); }
.doc-section--dark .t-h2 { color: #fff; }
.doc-section--dark .t-lead { color: rgba(255, 255, 255, .72); }

/* Match all documentation section headers to the quicklinks header design */
.doc-section .section-header {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    max-width: 52rem;
    margin-bottom: 2.5rem;
}

.doc-section .section-header__rail {
    flex: 0 0 3px;
    width: 3px;
    min-height: 4.5rem;
    border-radius: 3px;
    background: oklch(0.64 0.13 220);
}

.doc-section .section-header__content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.doc-section .t-eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: 1.5;
    text-transform: uppercase;
    color: #9ca3af;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    text-align: left;
}

.doc-section .t-h2 {
    margin: 0.65rem 0 0;
    display: inline-block;
    padding-bottom: 0.55rem;
    border-bottom: 2px solid oklch(0.72 0.11 220);
    font-size: clamp(1.9rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #0f172a;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    text-align: left;
    align-self: flex-start;
}

.doc-section .t-lead {
    margin-top: 1.15rem;
    max-width: 46rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #64748b;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    text-align: left;
}

/* Preserve readability for headers on dark documentation sections */
.doc-section--dark .t-eyebrow { color: rgba(255, 255, 255, 0.62); }
.doc-section--dark .t-h2 {
    color: #ffffff;
    border-bottom-color: oklch(0.78 0.12 220);
}
.doc-section--dark .t-lead { color: rgba(255, 255, 255, 0.72); }

.quicklinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ql-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    padding: 1.5rem 1.5rem 1.25rem;
    background: linear-gradient(160deg, oklch(0.28 0.013 250), oklch(0.2 0.012 250));
    border: 1px solid oklch(42% 0.03 250 / 0.42);
    box-shadow: inset 0 1px 0 oklch(72% 0.03 250 / 0.08), 0 26px 58px -36px oklch(2% 0.02 250 / 0.92);
    color: #f6f9fb;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    text-decoration: none;
}
.ql-card:hover {
    transform: translateY(-2px);
    border-color: oklch(52% 0.04 250 / 0.52);
    box-shadow: inset 0 1px 0 oklch(72% 0.03 250 / 0.1), 0 30px 64px -34px oklch(2% 0.02 250 / 0.96);
    color: #f6f9fb;
    text-decoration: none;
}
.ql-card::before {
    display: none;
}
.ql-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.ql-card__icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, oklch(35% 0.06 220), oklch(32% 0.05 295)); color: oklch(78% 0.09 220); display: inline-flex; align-items: center; justify-content: center; border: 1px solid oklch(45% 0.04 250 / 0.5); }
.ql-card__icon svg { width: 22px; height: 22px; }
.ql-card__ext { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in oklab, #ffffff 62%, transparent); display: inline-flex; align-items: center; gap: .3rem; }
.ql-card__ext svg { width: 11px; height: 11px; }
.ql-card h3 { margin: 0 0 .4rem; font-size: 1.125rem; line-height: 1.35; font-weight: 600; color: #f6f9fb; }
.ql-card p { margin: 0 0 1.25rem; font-size: .875rem; line-height: 1.625; color: color-mix(in oklab, #ffffff 72%, transparent); }
.ql-card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: oklch(78% 0.09 220); }
.ql-card__cta svg { width: 14px; height: 14px; transition: transform .2s ease; }
.ql-card:hover .ql-card__cta svg { transform: translateX(4px); }
.ql-card--feat { background: linear-gradient(160deg, oklch(0.28 0.013 250), oklch(0.2 0.012 250)); }
.ql-card--soon {
    cursor: default;
}
.ql-card--soon:hover .ql-card__cta svg {
    transform: none;
}
.ql-card__cta--muted { color: color-mix(in oklab, #ffffff 62%, transparent); }
.ql-card h3,
.ql-card p,
.ql-card__cta {
    text-decoration: none;
}

.gs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.gs-col { display: flex; flex-direction: column; }
.gs-footnote {
    margin: .65rem 0 0;
    font-size: .78rem;
    line-height: 1.5;
    color: var(--text-light);
}
.gs-col__head { display: flex; align-items: center; gap: .75rem; padding-bottom: 1rem; margin-bottom: .5rem; border-bottom: 1px solid var(--border-light); }
.gs-col__head-icon { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #0F1117; color: var(--wave-accent); border: 1px solid rgba(255, 255, 255, .1); }
.gs-col__head-icon svg { width: 20px; height: 20px; }
.gs-col__head h3 { margin: 0; font-size: 1.25rem; }
.gs-col__head .badge { margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); }

.gs-steps-card {
    background: #ffffff;
    border: 1px solid rgba(228, 232, 238, 0.95);
    border-radius: 22px;
    box-shadow: 0 28px 56px -26px oklch(20% 0.05 230 / 0.22), 0 10px 24px -12px oklch(20% 0.05 230 / 0.12);
    overflow: hidden;
}
.gs-step-row {
    display: grid;
    grid-template-columns: minmax(5.25rem, 25%) 14px minmax(0, 1fr);
    align-items: stretch;
    margin: 0;
    min-height: 132px;
    transition: background-color .2s ease;
}
.gs-step-row + .gs-step-row { border-top: 1px solid #eceff4; }
@media (hover: hover) and (pointer: fine) {
    .gs-step-row:hover { background-color: color-mix(in oklab, #5eb6d4 10%, #ffffff); }
}
.gs-step-key {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .4rem;
    padding: 1.45rem .75rem 1.45rem 1.5rem;
}
.gs-step-num {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .03em;
    color: #5eb6d4;
    font-variant-numeric: tabular-nums;
}
.gs-step-label {
    font-size: .75rem;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #52525c;
}
.gs-step-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
    padding: 1.2rem 0;
    box-sizing: border-box;
}
.gs-step-divider-line {
    flex: 1;
    width: 1px;
    min-height: 2.5rem;
    background: #e1e6ed;
    border-radius: 1px;
}
.gs-step-main {
    display: flex;
    align-items: flex-start;
    gap: 1.05rem;
    padding: 1.45rem 1.5rem 1.45rem .35rem;
    min-width: 0;
}
.gs-step-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin-top: .08rem;
    background: linear-gradient(155deg, #f0f9fc 0%, #dff3fb 48%, #e8f6fd 100%);
    border: 1px solid rgba(141, 208, 232, .55);
    color: #1e5a8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.gs-step-icon-wrap .lucide { width: 1.05rem; height: 1.05rem; }
.gs-step-text { min-width: 0; }
.gs-step-title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    color: #11171d;
}
.gs-step-desc {
    margin: .45rem 0 0;
    font-size: .875rem;
    line-height: 1.55;
    color: #5b646f;
}
.doc-section--dark code.t-mono { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); padding: .1rem .35rem; border-radius: 4px; color: var(--wave-accent); }
.doc-section--dark .gs-footnote { color: rgba(255, 255, 255, .62); }

.concepts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.concept {
    position: relative;
    padding: 1.5rem 1.5rem 1.4rem;
    background: linear-gradient(160deg, oklch(0.28 0.013 250), oklch(0.2 0.012 250));
    border: 1px solid oklch(42% 0.03 250 / 0.42);
    border-radius: 20px;
    box-shadow: inset 0 1px 0 oklch(72% 0.03 250 / 0.08), 0 26px 58px -36px oklch(2% 0.02 250 / 0.92);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
}
.concept:hover {
    transform: translateY(-2px);
    border-color: oklch(52% 0.04 250 / 0.52);
    box-shadow: inset 0 1px 0 oklch(72% 0.03 250 / 0.1), 0 30px 64px -34px oklch(2% 0.02 250 / 0.96);
}
.concept__head { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.concept__abbr {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    padding: .3rem .55rem;
    border-radius: 10px;
    background: linear-gradient(135deg, oklch(35% 0.06 220), oklch(32% 0.05 295));
    color: oklch(78% 0.09 220);
    border: 1px solid oklch(45% 0.04 250 / 0.5);
}
.concept h3 { margin: 0; font-size: 1.1rem; line-height: 1.35; color: #f6f9fb; }
.concept p { margin: 0; color: color-mix(in oklab, #ffffff 72%, transparent); line-height: 1.65; }
.concept__foot { margin-top: auto; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.concept__foot a { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: oklch(78% 0.09 220); text-decoration: none; }
.concept__foot .lucide { width: 12px; height: 12px; }

.resources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.res { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: 1.1rem 1.15rem; border-radius: .9rem; border: 1px solid rgba(255, 255, 255, .14); background: #1A1D27; color: #fff; transition: border-color .2s ease, transform .2s ease; }
.res { text-decoration: none; }
.res:hover { color: #fff; border-color: rgba(255, 255, 255, .25); transform: translateY(-2px); text-decoration: none; }
.res__icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); display: inline-flex; align-items: center; justify-content: center; }
.res__icon .lucide { width: 18px; height: 18px; }
.res__title { display: block; font-weight: 600; margin-bottom: .15rem; }
.res__desc { display: block; color: rgba(255, 255, 255, .68); font-size: .92rem; line-height: 1.5; }
.res__arrow { width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.res__arrow .lucide { width: 15px; height: 15px; }
.res__title,
.res__desc,
.res__arrow {
    text-decoration: none;
}

.faq { display: grid; gap: 1.25rem; }
.doc-section .faq-item {
    margin: 0;
    padding: 0;
    background: var(--bg-card);
    border-radius: 1rem;
    border: 1px solid rgba(17, 23, 29, 0.1);
    border-left: 4px solid rgba(107, 184, 208, 0.22);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}
.doc-section .faq-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(181, 229, 243, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
    border-radius: 1rem;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}
.doc-section .faq-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.1),
        0 14px 24px -12px rgba(107, 184, 208, 0.34),
        0 0 0 1px rgba(107, 184, 208, 0.24);
    border-color: rgba(107, 184, 208, 0.5);
    border-left-color: var(--wave-accent);
    background-color: #ffffff;
}
.doc-section .faq-item:hover::before { opacity: 0.55; }
.doc-section .faq-item summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .9rem;
    align-items: center;
    padding: 1rem 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.doc-section .faq-item summary::-webkit-details-marker { display: none; }
.doc-section .faq-item summary > span:nth-child(2) { color: #11171d; }
.faq-num { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wave-accent-dark); }
.faq-toggle { width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-light); color: var(--text-secondary); }
.faq-toggle .lucide { width: 14px; height: 14px; transition: transform .2s ease; }
.doc-section .faq-item[open] .faq-toggle .lucide { transform: rotate(45deg); }
.faq-body {
    padding: 0 1.1rem 1rem 1.1rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}
.faq-body p { margin: 0 0 .75rem; line-height: 1.65; }
.faq-body p:last-child { margin-bottom: 0; }
.doc-section--dark .faq-item summary > span:nth-child(2) { color: #11171d; }

.doc-section .lucide {
    width: 20px;
    height: 20px;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke: currentColor;
}

@media (max-width: 920px) {
    .doc-hero-grid,
    .gs-grid,
    .quicklinks,
    .resources { grid-template-columns: 1fr; }

    .gs-step-row {
        grid-template-columns: minmax(5rem, 22%) 12px minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .gs-step-row {
        grid-template-columns: 1fr;
    }

    .gs-step-key {
        padding: 1rem 1.1rem .25rem;
        gap: .25rem;
    }

    .gs-step-divider {
        display: none;
    }

    .gs-step-main {
        padding: .25rem 1.1rem 1.1rem;
        gap: .85rem;
    }

    .gs-step-icon-wrap {
        width: 36px;
        height: 36px;
        border-radius: 10px;    }
}
