/* ==================================================================================================
   SPARCLE.LLC - ENTERPRISE-GRADE DARK THEME
   Sophisticated, polished, vibrant yet easy on the eyes
   ================================================================================================== */

@import 'variables.css';

/* ==================================================================================================
   RESET & FOUNDATION
   ================================================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: var(--brand-primary);
    color: #fff;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-body);
    color: var(--text-body);
    /* Premium pass: bumped to 17px for serious reading comfort.
       Matches Anthropic, Stripe, and most "platform" sites. 16px reads
       as default-template; 17px reads as deliberate content rhythm. */
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* Premium pass — site-wide accessible focus ring.
   Covers keyboard-tab traversal across links, buttons, and form
   controls with a high-contrast brand-blue ring. Only fires on
   keyboard focus (`:focus-visible`), not mouse clicks, so the visual
   polish is preserved for pointer users. WCAG 2.4.7 (Focus Visible). */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Suppress the default :focus ring on mouse interactions where
   :focus-visible is supported (keeping it for keyboard users only). */
:focus:not(:focus-visible) {
    outline: none;
}

/* ==================================================================================================
   TYPOGRAPHY
   ================================================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-heading);
    /* Premium pass: reduced from 800 → 700. Heavyweight headers read
       energetic-startup; 700 reads serious-platform. */
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
}

h1 {
    /* Premium pass: reduced from 900 → 700. Tighter letter-spacing.
       Outfit-900 is ultra-bold which reads "shouty SaaS hero" — premium
       enterprise headlines are 600-700 with tight tracking. */
    font-weight: 700;
    line-height: 1.08;
    color: var(--text-heading);
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

strong {
    color: var(--text-heading);
    font-weight: 600;
}

/* Premium pass: replaced two-color gradient text with solid brand color.
   Gradient-filled headlines read "AI SaaS template" — solid color reads
   serious. The class name is preserved so existing markup keeps working;
   only the visual treatment changed. */
.text-gradient {
    color: var(--brand-primary);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    background-clip: initial;
}

/* Skip to main content link (a11y) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--brand-primary);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 9999;
    transition: top 0.2s;
    white-space: nowrap;
}

.skip-link:focus {
    top: 1rem;
    outline: 3px solid var(--brand-accent);
    outline-offset: 2px;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
    transition: all var(--transition-fast);
    cursor: pointer;
    background: none;
    border: 1px solid var(--border-default);
}

.theme-toggle:hover {
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    border-color: var(--brand-primary);
}

.theme-toggle .icon-auto,
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    width: 20px;
    height: 20px;
    display: none;
}

.theme-toggle[data-mode="auto"] .icon-auto,
.theme-toggle[data-mode="dark"] .icon-moon,
.theme-toggle[data-mode="light"] .icon-sun {
    display: block;
}

/* Fallback: if data-mode not yet set, show auto icon */
.theme-toggle:not([data-mode]) .icon-auto {
    display: block;
}

/* ==================================================================================================
   LAYOUT
   ================================================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    /* Premium vertical rhythm — single token tunes all sections.
       Bumped from 4rem to var(--space-section) (default 6rem) so
       sections breathe; with the larger 17px body it reads as
       "platform" rather than "default Tailwind template". */
    padding: var(--space-section) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

/* Canonical eyebrow / section label.
   Three classes (.section-label, .eyebrow, .section-eyebrow) all
   resolve to the same premium pattern: small caps in brand blue, tight
   tracking, weight 600. Pages can use any of the three names — the
   rendering stays consistent. */
.section-label,
.eyebrow,
.section-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-top: 1.5rem;
}

/* ==================================================================================================
   NAVIGATION
   ================================================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-default);
    border-radius: 0 0 8px 8px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.nav-inner {
    width: 100%;
    max-width: var(--container-max);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo .logo {
    height: 36px;
    transition: opacity var(--transition-fast);
}

.nav-logo:hover .logo {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link-with-toggle {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-heading);
    background: var(--brand-primary-light);
}

/* Active page indicator (set by shared-nav.js on current page) */
.nav-link.nav-active {
    color: var(--brand-primary);
    background: var(--brand-primary-light);
}

.submenu-toggle {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    color: var(--text-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible {
    color: var(--text-heading);
    background: var(--brand-primary-light);
}

.submenu-caret {
    font-size: 0.75rem;
    line-height: 1;
}

.nav-item-has-submenu .submenu-toggle[aria-expanded="true"] .submenu-caret {
    transform: rotate(180deg);
}

/* Positioning anchor for the absolute-positioned submenu — without this
   the submenu computes against the next non-static ancestor (typically
   <body>) and lands in the top-left corner of the page. */
.nav-item-has-submenu {
    position: relative;
}

.nav-submenu {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    min-width: 220px;
    background: var(--bg-surface-solid);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 0.4rem;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 1200;
    list-style: none;
    margin: 0;
}

.nav-submenu .nav-link {
    display: block;
    width: 100%;
    padding: 0.65rem 0.75rem;
}

.nav-item-has-submenu:hover .nav-submenu,
.nav-item-has-submenu:focus-within .nav-submenu {
    display: block;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ==================================================================================================
   BUTTONS
   ================================================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Premium pass: solid brand color instead of two-stop gradient.
   Removed colored glow shadow — neutral elevation only. Premium
   buttons read confident, not decorative. */
.btn-primary {
    background: var(--brand-primary);
    color: var(--text-on-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-heading);
    border: 1.5px solid var(--border-strong);
}

.btn-secondary:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-primary-light);
}

.btn-sm {
    padding: 0.7rem 1.5rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

.btn-xl {
    padding: 1.375rem 2.75rem;
    font-size: 1.125rem;
}

/* ==================================================================================================
   HERO - Centered Layout with Full-Width Video
   ================================================================================================== */
.hero {
    /* Restored to original sizing — with the two-video grid present,
       min-height:100vh + center alignment gives the hero proper visual
       weight and the layout reads balanced (matches the live site).
       The earlier "fix" was over-correcting for a hero that had been
       artificially thinned out by removing one of the two videos. */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 4rem;
    position: relative;
    background: var(--bg-body-gradient);
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 20%, var(--brand-primary-light), transparent);
    pointer-events: none;
}

/* Premium pass: animated mesh orbs hidden site-wide. They are the
   strongest "AI SaaS template" visual signature and read as 2024
   startup-marketing, not as serious enterprise platform. Markup is left
   intact (the divs still render) so we can re-enable selectively if
   needed; the visual is suppressed here. */
.hero-mesh-orb {
    display: none;
}

.hero-mesh-orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand-primary) 40%, transparent) 0%, transparent 70%);
    top: -10%;
    left: -5%;
    animation: meshFloat1 8s ease-in-out infinite;
}

.hero-mesh-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand-accent) 30%, transparent) 0%, transparent 70%);
    top: 20%;
    right: -10%;
    animation: meshFloat2 10s ease-in-out infinite;
}

.hero-mesh-orb--3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--color-info-bg) 0%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation: meshFloat3 12s ease-in-out infinite;
}

@keyframes meshFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, 30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, -10px) scale(0.95);
    }
}

@keyframes meshFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-30px, 20px) scale(0.9);
    }

    66% {
        transform: translate(20px, -30px) scale(1.05);
    }
}

@keyframes meshFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -20px) scale(1.1);
    }
}

.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-content-centered {
    text-align: center;
    max-width: 80%;
    position: relative;
    z-index: 1;
}

.hero-content-centered h1 {
    text-align: center;
}

.hero-content-centered .hero-description {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--brand-primary-light);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-full);
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body);
    margin: 0 auto 2.5rem;
}

.hero-metrics {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.metric {
    flex: 0 1 auto;
    min-width: 140px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

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

/* Hero tertiary link — demoted Personal-free path.
   Premium positioning: Personal stays available but is not visually
   competing with the two enterprise CTAs. Sits as plain text below the
   buttons, in muted color, only the inner anchor is brand-blue. */
.hero-tertiary-link {
    text-align: center;
    margin: 1rem auto 0;
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 400;
}
.hero-tertiary-link a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}
.hero-tertiary-link a:hover {
    text-decoration: underline;
}

/* Hero trust strip — credibility above the fold */
.hero-trust-strip {
    display: flex;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    flex-wrap: wrap;
    margin: 2rem auto 2.5rem;
    max-width: 920px;
    padding: 0 1rem;
}

.trust-pill {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 7px 14px;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.trust-pill strong {
    color: var(--brand-primary, #6366f1);
    font-weight: 700;
}

@media (max-width: 600px) {
    .hero-trust-strip {
        gap: 0.4rem 0.5rem;
        margin: 1.5rem auto 2rem;
    }
    .trust-pill {
        font-size: 0.72rem;
        padding: 5px 11px;
    }
}

/* Hero Full-Width Video */
.hero-video-full {
    width: 100%;
    max-width: 1280px;
}

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

/* Single-video variant — used on the home hero where one walkthrough
   reads more confident than two side-by-side videos competing for
   attention. Constrained max-width so it doesn't stretch banner-wide. */
.hero-video-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-video-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base), filter var(--transition-base);
    background: rgba(255, 255, 255, 0.02);
}

.hero-video-card:hover,
.hero-video-card:focus-visible,
.hero-video-card.is-active {
    transform: translateY(-6px) scale(1.035);
    box-shadow: var(--shadow-xl), var(--shadow-glow-strong);
    z-index: 2;
}

.hero-video-grid:hover .hero-video-card:not(:hover):not(.is-active) {
    transform: scale(0.97);
    opacity: 0.8;
    filter: saturate(0.8);
}

.hero-preview-video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-controls-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.9;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.hero-video-card:hover .video-controls-overlay,
.hero-video-card.is-active .video-controls-overlay {
    opacity: 1;
    transform: scale(1.03);
}

.video-expand-btn {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.video-expand-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}


.video-caption {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

/* ==================================================================================================
   PROBLEM SECTION
   ================================================================================================== */
.section-problem {
    background: var(--bg-surface-solid);
    border-top: 1px solid var(--border-default);
}

.problem-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.problem-stats-grid > .stat-card {
    flex: 1 1 240px;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    transition: all var(--transition-base);
    transform-style: preserve-3d;
    perspective: 800px;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-primary-light);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: var(--brand-primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-body);
    margin-bottom: 0.75rem;
}

.stat-impact {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.problem-conclusion p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ==================================================================================================
   SOLUTION SECTION
   ================================================================================================== */
.section-solution {
    background: var(--bg-body);
}

.solution-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: stretch;
}
.solution-pillars > .pillar {
    flex: 1 1 240px;
}

.pillar {
    position: relative;
    padding: 2rem 1.75rem 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.pillar:hover {
    border-color: var(--brand-primary-light);
    box-shadow: var(--shadow-lg);
}

.pillar-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(59, 130, 246, 0.08);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.pillar-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--brand-gradient-start), var(--brand-gradient-end));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.pillar h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pillar p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
    flex: 1;
}

/* ==================================================================================================
   PRODUCTS SECTION
   ================================================================================================== */
.section-products {
    background: var(--bg-surface-solid);
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

.products-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.product-main,
.product-secondary {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    position: relative;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.product-main:hover,
.product-secondary:hover {
    border-color: var(--brand-primary-light);
    box-shadow: var(--shadow-xl);
}

.product-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: var(--brand-primary-light);
    color: var(--brand-primary);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-logo-img {
    width: 56px;
    height: 56px;
}

.sparcle-app-icon {
    width: 56px;
    height: 56px;
    /* Premium pass: monochromatic blue gradient (was blue→cyan).
       Same-family gradient reads sophisticated, not toy. */
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.product-subtitle {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0;
}

.product-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 2rem;
}

.product-features-list {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-body);
}

.feature-item svg {
    color: var(--brand-primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.product-features-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-grow: 1;
    align-content: start;
}

.product-features-compact .compact-feature:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.compact-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-body);
}

.compact-feature svg {
    color: var(--brand-primary);
    flex-shrink: 0;
}

/* ==================================================================================================
   PROOF SECTION
   ================================================================================================== */
.section-proof {
    background: var(--bg-body);
}

.proof-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.proof-grid > .proof-card {
    flex: 1 1 280px;
}

.proof-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
    transition: all var(--transition-base);
    transform-style: preserve-3d;
    perspective: 800px;
}

.proof-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-primary-light);
    box-shadow: var(--shadow-lg);
}

.proof-metric {
    font-size: 3rem;
    font-weight: 900;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.proof-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.proof-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ==================================================================================================
   CTA SECTION
   ================================================================================================== */
.section-cta {
    background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, var(--bg-surface-glass) 0%, var(--bg-body) 70%);
}

.cta-box {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-actions {
    margin-bottom: 2rem;
}

.section-cta .btn-primary {
    background: white;
    color: var(--blue-600);
    box-shadow: var(--shadow-lg);
}

.section-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-resources {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-resources a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-fast);
}

.cta-resources a:hover {
    color: white;
    text-decoration: underline;
}

/* ==================================================================================================
   FOOTER
   ================================================================================================== */
.footer {
    background: var(--bg-surface-solid);
    border-top: 1px solid var(--border-default);
    padding: 5rem 0 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    max-width: 320px;
}

.footer-col h5 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-heading);
    margin-bottom: 1.25rem;
}

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

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--brand-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-default);
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    opacity: 0.7;
    font-size: 0.8125rem;
}

.footer-sources {
    font-size: 12px;
}

/* ==================================================================================================
   VIDEO MODAL
   ================================================================================================== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    transform: scale(0.92);
    transition: transform var(--transition-base);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-content video {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.video-modal-close {
    position: absolute;
    top: -60px;
    right: 0;
    width: 48px;
    height: 48px;
    font-size: 2.5rem;
    color: white;
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.video-modal-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ==================================================================================================
   ANIMATIONS
   ================================================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================================================================================
   HAMBURGER TOGGLE (always in DOM, shown ≤768px)
   ================================================================================================== */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 100;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-heading);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================================================================================================
   RESPONSIVE TYPOGRAPHY (clamp)
   ================================================================================================== */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
}

.stat-number {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.proof-metric {
    font-size: clamp(2rem, 5vw, 3rem);
}

.hero-description {
    font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
}

.metric-value {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* ==================================================================================================
   GLASSMORPHISM ENHANCEMENT (dark mode only)
   ================================================================================================== */
[data-theme="dark"] .stat-card,
[data-theme="dark"] .proof-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .stat-card:hover,
[data-theme="dark"] .proof-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .product-main,
[data-theme="dark"] .product-secondary {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ─── PRODUCT TAB SWITCH (shared pill) ─── */
.product-tab-switch {
    display: inline-flex;
    gap: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: 100px;
    padding: 3px;
    margin: 0 auto 1.2rem;
}

.product-tab-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 28px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.product-tab-link:hover {
    color: var(--text-heading);
}

.product-tab-link.active {
    color: var(--text-heading);
    background: var(--bg-muted);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

#product-bolt,
#product-bolt-data,
#bolt,
#bolt-data {
    scroll-margin-top: 108px;
}

#product-bolt:target,
#product-bolt-data:target,
#bolt:target,
#bolt-data:target {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

/* ==================================================================================================
   SCROLL-TRIGGERED NUMBER COUNTER
   ================================================================================================== */
.stat-number[data-target],
.proof-metric[data-target] {
    transition: none;
}

/* ==================================================================================================
   TOUCH-FRIENDLY VIDEO PLAY OVERLAY
   ================================================================================================== */
.product-video {
    position: relative;
}

.product-video .video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.product-video .video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.15);
}

.product-video .video-play-overlay svg {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.product-video .video-play-overlay:hover svg {
    transform: scale(1.1);
}

.product-video .video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ==================================================================================================
   PILLAR ICON HOVER ANIMATIONS
   ================================================================================================== */
.pillar:nth-child(1) .pillar-icon:hover {
    animation: iconPulse 0.6s ease;
}

.pillar:nth-child(2) .pillar-icon:hover {
    animation: iconRotateY 0.6s ease;
}

.pillar:nth-child(3) .pillar-icon:hover {
    animation: iconSpin 0.8s ease;
}

.pillar:nth-child(4) .pillar-icon:hover {
    animation: iconBounce 0.5s ease;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes iconRotateY {
    0% {
        transform: perspective(200px) rotateY(0);
    }

    100% {
        transform: perspective(200px) rotateY(360deg);
    }
}

@keyframes iconSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ==================================================================================================
   CARD 3D TILT (driven by JS)
   ================================================================================================== */
.tilt-card {
    transition: transform 0.15s ease-out;
}

/* ==================================================================================================
   RESPONSIVE
   ================================================================================================== */
/* solution-pillars + proof-grid use elastic flex; they reflow naturally
   without explicit breakpoint overrides. */

@media (max-width: 1024px) {
    .navbar {
        top: 0;
        width: 100%;
        padding: 0;
        border-radius: 0;
        height: 64px;
        justify-content: flex-start;
    }

    .nav-inner {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .nav-logo {
        flex: 1;
        min-width: 0;
    }

    /* Show hamburger, hide desktop menu */
    .nav-toggle {
        display: flex;
    }

    .nav-controls {
        gap: 0.5rem;
    }

    .nav-controls .btn {
        display: none;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-surface-solid);
        border: 1px solid var(--border-default);
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: var(--shadow-xl);
        z-index: 100;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-link {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    .nav-item {
        width: 100%;
    }

    .nav-link-with-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .nav-link-with-toggle .nav-link {
        width: 100%;
    }

    .submenu-toggle {
        flex-shrink: 0;
    }

    .nav-submenu {
        position: static;
        min-width: 100%;
        margin: 0.15rem 0 0.35rem;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 10px;
        padding: 0.35rem;
        box-shadow: none;
        border: 1px solid var(--border-default);
    }

    .nav-item-has-submenu:hover .nav-submenu,
    .nav-item-has-submenu:focus-within .nav-submenu {
        display: none;
    }

    .nav-item-has-submenu.submenu-open .nav-submenu {
        display: block;
    }

    .hero-centered {
        gap: 3rem;
    }

    .hero-content-centered {
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-video-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

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

    .hero {
        min-height: auto;
        padding-top: calc(64px + 2.5rem);
        padding-bottom: 2.5rem;
    }

    .hero-metrics {
        gap: 1.5rem;
    }

    .hero-video-card:hover,
    .hero-video-card:focus-visible,
    .hero-video-card.is-active {
        transform: translateY(-2px) scale(1.01);
    }

    .metric {
        min-width: 0;
        flex: 1 1 auto;
    }

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

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

    .product-main,
    .product-secondary {
        padding: 2rem 1.5rem;
    }

    .products-focus-switch {
        justify-content: stretch;
        border-radius: 14px;
        padding: 0.5rem;
        top: calc(var(--nav-height) + 6px);
    }

    .section-pill-switch {
        justify-content: stretch;
        border-radius: 14px;
        padding: 0.5rem;
        top: calc(var(--nav-height) + 6px);
    }

    .focus-chip {
        width: 100%;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 320px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-mesh-orb {
        display: none;
    }

    /* Card padding reduction */
    .stat-card {
        padding: 1.5rem 1.25rem;
    }

    .pillar {
        padding: 1.5rem 1.25rem;
    }

    .pillar-icon {
        width: 48px;
        height: 48px;
    }

    .stat-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .proof-card {
        padding: 1.5rem 1.25rem;
    }

    .proof-metric {
        font-size: 2.25rem;
    }

    .product-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .product-main,
    .product-secondary {
        padding: 1.75rem 1.5rem;
    }

    .product-header {
        gap: 1rem;
    }

    .product-logo-img {
        width: 44px;
        height: 44px;
    }

    /* Page section top spacing */
    .section-problem--page,
    .section-solution--page,
    .section-download--page,
    .section-proof--page {
        padding-top: 5.5rem;
    }

    .section-header--spaced {
        margin-top: 2rem;
    }

    .section-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .section-cta-row .btn {
        width: 100%;
        max-width: 320px;
    }

    /* Offering pages */
    .offering-hero {
        padding: 3rem 0 2rem;
    }

    .offering-highlights {
        padding: 2.5rem 0 2rem;
    }

    .offering-faq {
        padding: 2rem 0 3rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        gap: 2rem;
        margin-bottom: 2rem;
    }
}

.hero-citation {
    font-size: 0.75rem;
    opacity: 0.4;
    font-style: italic;
    line-height: 1.5;
}

/* ==================================================================================================
   HELPER CLASSES (no inline styles)
   ================================================================================================== */



/* Homepage blockquote */
.home-blockquote {
    border-left: 3px solid var(--brand-primary);
    padding: 1.25rem 1.5rem;
    margin: 0 auto 2rem;
    max-width: 680px;
    background: var(--brand-primary-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.home-blockquote p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.home-blockquote footer {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.home-blockquote footer a {
    color: var(--brand-primary);
    text-decoration: none;
}

/* Compact proof grid (3 columns on homepage) — inherits flex from .proof-grid */
.proof-grid--compact > .proof-card {
    flex: 1 1 220px;
}

/* Platform section product grid */
.platform-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.platform-grid > * {
    flex: 1 1 320px;
}

/* Video play button — top-right corner */
.video-play-btn {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.hero-video-card:hover .video-play-btn,
.hero-video-card.is-active .video-play-btn {
    transform: scale(1.3);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.4);
}

/* Video overlay — top-right corner, always visible */
.video-preview-overlay {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0.85;
    transition: opacity var(--transition-fast);
}

.hero-video-card:hover .video-preview-overlay,
.hero-video-card.is-active .video-preview-overlay {
    opacity: 1;
}

/* Video modal (replaces inline styles) */
.hero-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.88);
    align-items: center;
    justify-content: center;
}

.hero-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.hero-modal-video {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}

/* Dedicated page sections — extra top padding for nav clearance */
.section-problem--page,
.section-solution--page,
.section-download--page,
.section-proof--page {
    padding-top: 8rem;
}

/* Problem conclusion (dedicated crisis page) */
.problem-conclusion {
    max-width: 720px;
    margin: 3rem auto 0;
    text-align: center;
}

.problem-conclusion .section-cta-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Page prose (replaces inline max-width/font-size on dedicated pages) */
.page-prose {
    margin: 0 auto 2rem;
}

.page-prose p {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
}

.page-prose p+p {
    margin-top: 1rem;
}

/* Spaced section header (sub-section within a page) */
.section-header--spaced {
    margin-top: 4rem;
}

/* Solution CTA row (flex layout for multiple buttons) */
.section-cta-row {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==================================================================
   FLOATING PRODUCT TAB PILLS (shared: products + pricing)
   ================================================================== */
.product-tab-float {
    position: sticky;
    top: var(--nav-height, 80px);
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    margin-bottom: -42px;
    pointer-events: none;
}

.product-tab-switch {
    pointer-events: auto;
    display: inline-flex;
    gap: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.18) 0%, rgba(34,211,238,0.12) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(59,130,246,0.4);
    border-radius: 100px;
    padding: 3px;
    box-shadow: 0 0 24px -4px rgba(59,130,246,0.35), 0 4px 20px rgba(0,0,0,0.25);
}

.product-tab {
    padding: 7px 28px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-300, #93c5fd);
    background: transparent;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: color 0.25s, background 0.25s, box-shadow 0.25s;
    white-space: nowrap;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.tab-icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    flex-shrink: 0;
}

.product-tab+.product-tab {
    position: relative;
}

.product-tab:hover {
    color: #ffffff;
    background: rgba(59,130,246,0.12);
}

.product-tab.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-gradient-start, #3b82f6), var(--brand-gradient-end, #60a5fa));
    box-shadow: 0 2px 12px rgba(59,130,246,0.4);
}

.product-section {
    display: none;
}

.product-section.active {
    display: block;
}

/* ==================================================================
   PRODUCT PAGE STYLES
   ================================================================== */
.offering-page {
    padding-top: var(--nav-height, 80px);
}

/* ── Hero ── */
.offering-hero {
    padding: 5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.offering-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 900px;
    background: radial-gradient(ellipse at center,
            rgba(59, 130, 246, 0.18) 0%,
            rgba(34, 211, 238, 0.08) 35%,
            transparent 65%);
    pointer-events: none;
    z-index: 0;
}

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

.offering-hero-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.product-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

/* Page-specific .eyebrow override removed — canonical rule above
   already defines the premium pattern in brand-primary. Old rule used
   --brand-accent (lighter blue), which broke visual hierarchy when an
   eyebrow needed to feel like a section label. */
.eyebrow--legacy-placeholder {
    margin-bottom: 0;
}

.offering-hero h1 {
    max-width: 780px;
    margin: 0 auto 1.25rem;
    font-size: clamp(1.9rem, 4.2vw, 2.8rem);
    line-height: 1.18;
}

.offering-intro {
    max-width: 640px;
    margin: 0 auto 2.25rem;
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-body);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
}

/* ── Highlights Grid ── */
.offering-highlights {
    padding: 4rem 0 3rem;
}

.section-title-wrap {
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-title-wrap h2 {
    margin-bottom: 0.5rem;
    font-size: 1.65rem;
}

.section-title-wrap p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 540px;
    margin: 0 auto;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.feature-card {
    flex: 1 1 320px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.75rem;
    transition: transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--brand-primary);
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
    stroke: currentColor;
    fill: none;
}

.feature-card h3 {
    font-size: 1.08rem;
    margin: 0;
    color: var(--text-heading);
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: var(--text-body);
    font-size: 0.94rem;
    line-height: 1.65;
}

/* ── Agentic Section ── */
.offering-agentic {
    padding: 4rem 0 3rem;
    background: var(--bg-surface, rgba(15, 18, 30, 0.4));
}

.offering-agentic .card-grid > .feature-card,
.offering-highlights-bolt .card-grid > .feature-card {
    flex: 1 1 280px;
}

.agent-comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 100%;
}
.agent-comparison > .comparison-card {
    flex: 1 1 360px;
}

.comparison-card {
    padding: 1.75rem;
    border-radius: var(--radius-xl, 16px);
    border: 1px solid;
}

.comparison-bad {
    background: var(--color-danger-bg);
    border-color: color-mix(in srgb, var(--color-danger) 20%, transparent);
}

.comparison-good {
    background: var(--color-success-bg);
    border-color: color-mix(in srgb, var(--color-success) 20%, transparent);
}

.comparison-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.comparison-bad .comparison-label {
    color: var(--color-danger);
}

.comparison-good .comparison-label {
    color: var(--color-success);
}

.comparison-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-body);
    font-style: italic;
    margin: 0;
}

@media (max-width: 900px) {
    .offering-agentic .card-grid,
    .offering-highlights-bolt .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .offering-agentic .card-grid,
    .offering-highlights-bolt .card-grid {
        grid-template-columns: 1fr;
    }

    .agent-comparison {
        grid-template-columns: 1fr;
    }
}

/* ── FAQ Accordion ── */
.offering-faq {
    padding: 3rem 0 5rem;
}

.faq-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.faq-card {
    flex: 1 1 360px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    background: var(--bg-surface);
    overflow: hidden;
    transition: border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.faq-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-md);
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.15rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 0.75rem;
    font-family: var(--font-sans);
}

.faq-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.faq-card.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-card.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.25rem 1.15rem;
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--text-body);
}

/* ── Product page responsive ── */
@media (max-width: 900px) {

    .card-grid > .feature-card,
    .faq-grid > .faq-card {
        flex-basis: 100%;
    }
}

@media (max-width: 640px) {
    .offering-hero {
        padding-top: 3.5rem;
    }

    .offering-intro {
        font-size: 0.97rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }

    .product-logo {
        width: 44px;
        height: 44px;
    }
}

/* ── Product Video Section (below hero) ── */
.offering-video-section {
    padding: 0 0 3rem;
}

/* ── Product Card (Bolt-style card with video) ── */
.product-card {
    background: var(--bg-surface, rgba(15, 18, 30, 0.95));
    border: 1px solid var(--border-default, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-xl, 16px);
    padding: 2.5rem;
    text-align: left;
    max-width: 960px;
    margin: 0 auto;
}

.product-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-card-identity {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.product-card-identity .product-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md, 8px);
}

.product-card-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading, #f3f4f6);
    margin: 0;
    line-height: 1.3;
}

.product-card-kicker {
    font-size: 0.82rem;
    color: var(--brand-accent, #60a5fa);
    margin: 0;
    letter-spacing: 0.02em;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    border-radius: 100px;
    background: var(--brand-primary-light);
    white-space: nowrap;
    flex-shrink: 0;
}

.product-card-intro {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body, #9ca3af);
    margin: 0 0 1.75rem;
}

/* Checklist highlights */
.product-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.product-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-body, #9ca3af);
}

.product-checklist li strong {
    color: var(--text-heading, #f3f4f6);
}

.check-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Slides embed wrapper */
.product-slides-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(20, 184, 166, .2);
    box-shadow: 0 8px 32px rgba(20, 184, 166, .15);
    margin-bottom: 0.5rem;
}

.product-slides-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.product-slides-link {
    display: block;
    text-align: right;
    font-size: 0.82rem;
    color: var(--brand-accent, #60a5fa);
    text-decoration: none;
    margin-bottom: 2rem;
    opacity: 0.75;
    transition: opacity var(--transition-fast);
}

.product-slides-link:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .product-slides-wrap {
        aspect-ratio: 3 / 4;
        border-radius: 10px;
    }

    .product-slides-link {
        text-align: center;
        font-size: 0.9rem;
        opacity: 1;
        padding: 0.6rem 0;
    }
}

/* Video wrapper */
.product-video-wrap {
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    border: 1px solid var(--border-default, rgba(255, 255, 255, 0.08));
    margin-bottom: 2rem;
}

.product-video-wrap video {
    display: block;
    width: 100%;
    height: auto;
}

/* Card actions */
.product-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .product-card {
        padding: 1.5rem;
    }

    .product-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-card-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* ── Contact Modal ─────────────────────────────── */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 24px;
}

.contact-modal-overlay.open {
    display: flex;
}

.contact-modal {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    padding: 36px 32px 28px;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    font-size: 1.3rem;
    transition: color 0.15s;
}

.contact-modal-close:hover {
    color: var(--text-heading);
}

.contact-modal h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 4px;
}

.contact-modal .modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 24px;
}

.contact-form-group {
    margin-bottom: 16px;
}

.contact-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.contact-form-group input,
.contact-form-group select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-default);
    background: var(--bg-muted, rgba(0,0,0,0.15));
    color: var(--text-body);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.contact-form-group input:focus,
.contact-form-group select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-light);
}

.contact-form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

#contactTurnstileWrap {
    display: flex;
    justify-content: center;
    min-height: 65px;
}

.contact-privacy-note {
    margin: 4px 0 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--text-muted);
    text-align: center;
}

.contact-form-status.error {
    color: #b91c1c;
    background: rgba(185, 28, 28, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 8px;
}

.contact-submit-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, var(--brand-gradient-start) 0%, var(--brand-gradient-end) 100%);
    color: var(--text-on-primary, #fff);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 8px;
}

.contact-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-form-status {
    text-align: center;
    padding: 24px 0;
    display: none;
}

.contact-form-status.show {
    display: block;
}

.contact-form-status .status-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.contact-form-status h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 6px;
}

.contact-form-status p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 500px) {
    .contact-modal {
        padding: 28px 20px 20px;
    }
}

/* Extra-small screens (iPhone SE, narrow phones) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 2.5rem 0;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .hero {
        padding-top: calc(64px + 2rem);
        padding-bottom: 2rem;
    }

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

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .btn-xl {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }

    .btn {
        white-space: normal;
        text-align: center;
    }

    .product-main,
    .product-secondary {
        padding: 1.5rem 1.25rem;
    }

    .section-problem--page,
    .section-solution--page,
    .section-download--page,
    .section-proof--page {
        padding-top: 4.5rem;
    }
}

/* ==================================================================================================
   CAREERS PAGE
   ================================================================================================== */
.careers-roles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}
.careers-role-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.careers-role-card:hover {
    border-color: var(--brand-primary-light);
    box-shadow: var(--shadow-lg);
}

.careers-role-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.careers-role-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, var(--brand-gradient-start), var(--brand-gradient-end));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.careers-role-top h3 {
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
    line-height: 1.3;
}
.careers-role-tags {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-primary);
    letter-spacing: 0.02em;
}

.careers-role-summary {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.careers-role-sections {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.careers-role-section h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.careers-role-section ul {
    padding-left: 1.25rem;
    list-style: disc;
    margin: 0;
}
.careers-role-section li {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 0.15rem;
}
.careers-role-section li::marker {
    color: var(--brand-primary);
}

.careers-how-to-apply {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}
.careers-how-to-apply p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 0.5rem;
}
.careers-how-to-apply strong {
    color: var(--brand-primary);
}
/* ──────────────────────────────────────────────────────────────────
   Architecture Diagram — premium product-page section
   Used by Bolt and Aeira product pages via ProductPageContent.architectureHtml.
   Premium positioning: this is the page CTOs and CISOs read first;
   the diagram is the visual, not a hero illustration.
   ────────────────────────────────────────────────────────────────── */

.offering-architecture {
    padding: 4rem 0 4.5rem;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-muted);
}

.arch-diagram {
    max-width: 980px;
    margin: 0 auto;
}

.arch-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.arch-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin: 0 0 0.6rem;
}

.arch-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.25;
    color: var(--text-heading);
}

.arch-intro {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-body);
    max-width: 760px;
    margin: 0 auto;
}

.arch-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.arch-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: var(--bg-surface-solid);
    border: 1px solid var(--border-default);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
}

.arch-row-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.arch-row-cells {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.6rem;
}
.arch-row-cells--3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.arch-cell {
    padding: 0.65rem 0.85rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    font-size: 0.86rem;
    color: var(--text-body);
    text-align: center;
    line-height: 1.4;
}

.arch-cell--client {
    font-weight: 500;
}

.arch-cell--edge {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.arch-cell--edge strong {
    color: var(--text-heading);
    font-size: 0.9rem;
}
.arch-cell--edge span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Patent-bearing block — slightly stronger visual weight */
.arch-block--patent,
.arch-block,
.arch-runtime,
.arch-security-pipeline {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
}

.arch-block h3,
.arch-runtime-core h3,
.arch-security-pipeline h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 0.55rem;
}
.arch-block p,
.arch-runtime-core p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0;
}

/* 8-layer security pipeline list */
.arch-layers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem 1rem;
}
.arch-layers li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.84rem;
    color: var(--text-body);
    line-height: 1.45;
}
.arch-layer-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
}

/* Agent runtime composite */
.arch-runtime {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.arch-runtime-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.6rem;
}
.arch-module {
    background: var(--bg-surface-solid);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 0.85rem 1rem;
}
.arch-module h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 0.35rem;
}
.arch-module p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

/* Connecting arrow between rows */
.arch-arrow {
    width: 2px;
    height: 28px;
    background: linear-gradient(180deg, var(--border-default) 0%, var(--brand-primary) 100%);
    margin: 0 auto;
    position: relative;
}
.arch-arrow::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--brand-primary);
    border-bottom: 2px solid var(--brand-primary);
}

.arch-footnote {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.arch-footnote a {
    color: var(--brand-primary);
    text-decoration: none;
}
.arch-footnote a:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .offering-architecture {
        padding: 2.5rem 0 3rem;
    }
    .arch-header h2 {
        font-size: 1.35rem;
    }
    .arch-row {
        padding: 1rem 1.1rem;
    }
    .arch-layers {
        grid-template-columns: 1fr;
    }
}

/* ──────────────────────────────────────────────────────────────────
   Founding Customers banner — global styles
   Used on /pricing AND on the home page. Originally lived in
   pricing-head.html only; promoted to global so the same banner can
   appear on any page that needs it.
   ────────────────────────────────────────────────────────────────── */
.founding-banner {
    margin: 80px auto 40px;
    max-width: 880px;
    padding: 36px 40px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(96, 165, 250, 0.06) 100%);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 18px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.founding-banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.7), transparent);
}
.founding-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 999px;
    margin-bottom: 14px;
}
.founding-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 14px;
    line-height: 1.3;
}
.founding-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 20px;
}
.founding-perks {
    list-style: none;
    padding: 0;
    margin: 0 auto 24px;
    max-width: 560px;
    text-align: left;
    display: grid;
    gap: 8px;
}
.founding-perks li {
    font-size: 0.9rem;
    color: var(--text-body);
    padding-left: 22px;
    position: relative;
}
.founding-perks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 700;
}
.founding-cta {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: var(--brand-primary);
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.founding-cta:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}
@media (max-width: 600px) {
    .founding-banner {
        padding: 28px 22px;
        margin: 56px auto 32px;
    }
    .founding-title {
        font-size: 1.2rem;
    }
    .founding-desc {
        font-size: 0.88rem;
    }
}

/* ──────────────────────────────────────────────────────────────────
   Design Partners section — placeholder logos with NDA-respecting framing
   Premium positioning: even greyed-out placeholders are better than
   no social proof at all. Replace `.design-partner-logo` slots with
   real logos as customers close + approve mention.
   ────────────────────────────────────────────────────────────────── */
.design-partners {
    padding: var(--space-block) 0;
    text-align: center;
}
.design-partners-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.design-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem 2rem;
    max-width: 920px;
    margin: 0 auto 1rem;
    align-items: center;
    justify-items: center;
}
.design-partner-logo {
    width: 100%;
    max-width: 140px;
    aspect-ratio: 16 / 5;
    border: 1px dashed var(--border-default);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-body);
    background: var(--bg-surface);
    transition: border-color 0.2s ease, color 0.2s ease;
}
.design-partner-logo:hover {
    border-color: var(--brand-primary-light);
    color: var(--brand-primary);
}
.design-partners-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}
@media (max-width: 600px) {
    .design-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}
