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

:root {
    --bg: #0f1117;
    --bg-card: #1a1d27;
    --bg-card-hover: #1e2130;
    --bg-dark: #0b0d13;
    --text: #e0e0e0;
    --text-muted: #9da8c7;
    --accent: #0070C0;
    --accent-glow: rgba(0, 112, 192, 0.25);
    --accent-light: #4DA6FF;
    --border: #2d3148;
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Light surface tokens (advisory pages) */
    --surface-light: #f6f8fc;
    --surface-light-alt: #eef2f9;
    --surface-light-card: #ffffff;
    --text-on-light: #0f1117;
    --text-on-light-muted: #4a5570;
    --border-light: #e4e8f0;
    --border-light-strong: #cfd7e5;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; }

/* === Nav === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-icon { font-size: 24px; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--text); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all 0.2s; cursor: pointer; border: none;
    font-family: var(--font);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-light); box-shadow: 0 0 24px var(--accent-glow); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--text-muted); background: rgba(255,255,255,0.03); }
.btn-nav { padding: 8px 20px; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-block { width: 100%; margin-top: 16px; }

/* === Hero === */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(0, 112, 192, 0.1);
    border: 1px solid rgba(0, 112, 192, 0.2);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; }

.hero-proof { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.proof-item { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 14px; font-weight: 500; }
.proof-icon { font-size: 18px; }

.hero-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}

/* === Demo Video === */
.section-demo { padding: 0 0 80px; }
.demo-wrapper { max-width: 900px; margin: 0 auto; text-align: center; }
.demo-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.demo-video-container iframe,
.demo-placeholder {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.demo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    gap: 16px;
}
.demo-placeholder p { font-size: 15px; }
.demo-caption {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

/* === Sections === */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-dark); }

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    text-align: center;
}

.section-sub {
    font-size: 17px;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

/* === Pain Grid === */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
}
.pain-number { font-size: 48px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.pain-text { color: var(--text-muted); font-size: 15px; }

/* === Features Grid === */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }

.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
}
.feature-card:hover { background: var(--bg-card-hover); border-color: #2a2a3e; transform: translateY(-2px); }
.feature-card-accent { border-color: rgba(0, 112, 192, 0.3); }
.feature-card-highlight { border-color: rgba(0, 112, 192, 0.4); background: rgba(0, 112, 192, 0.04); }

.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }

.feature-example {
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.example-label { color: var(--accent); font-weight: 600; }

.feature-badge {
    position: absolute;
    top: 16px; right: 16px;
    font-size: 11px; font-weight: 700;
    color: var(--accent);
    background: rgba(0, 112, 192, 0.15);
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === Steps === */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    margin-top: 56px;
}
.step {
    flex: 1; max-width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}
.step-num {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff;
    border-radius: 50%; font-weight: 800; font-size: 20px;
    margin: 0 auto 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }

.step-arrow { color: var(--text-muted); font-size: 24px; margin-top: 48px; }

/* === Comparison Table === */
.comparison-table-wrap { overflow-x: auto; margin-top: 48px; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.comparison-table th, .comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.comparison-table thead th {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding-bottom: 20px;
}
.comparison-table thead th.col-spark { color: var(--accent); }
.comparison-table td:first-child { color: var(--text-muted); font-weight: 500; }
.col-spark { color: var(--text); }
.comparison-table td:last-child { color: var(--text-muted); }

/* === Security === */
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.security-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.security-icon { font-size: 36px; margin-bottom: 16px; }
.security-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.security-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* === Pricing === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 48px auto 0;
}
.pricing-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
}
.pricing-card-primary { border-color: var(--accent); background: rgba(0, 112, 192, 0.04); }

.pricing-popular {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-tier { font-size: 14px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.pricing-amount { font-size: 48px; font-weight: 800; margin-bottom: 4px; }
.pricing-period { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }

.pricing-features { list-style: none; text-align: left; margin-bottom: 8px; }
.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-features li::before { content: "\2713\0020"; color: var(--accent); font-weight: 700; }

.pricing-note { text-align: center; margin-top: 32px; color: var(--text-muted); font-size: 14px; }

/* === FAQ === */
.faq-list { margin-top: 48px; }
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 0;
}
.faq-item summary {
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    transition: color 0.2s;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--text-muted); transition: transform 0.3s; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 0 20px; color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* === CTA === */
.section-cta {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(0, 112, 192, 0.06) 50%, var(--bg) 100%);
}
.section-cta h2 { margin-bottom: 12px; }
.section-cta > .container > p { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; }

.cta-actions { margin-bottom: 16px; }
.cta-note { color: var(--text-muted); font-size: 14px; }

/* === Footer === */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-tagline { color: var(--text-muted); font-size: 13px; margin-left: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 12px; width: 100%; text-align: center; margin-top: 16px; }

/* ================================================================
   ADVISORY THEME (scoped to body.theme-advisory)
   Editorial / boutique-consultancy aesthetic.
   Alabaster bg, deep onyx text, blue accent, serif-italic accents.
   Doesn't affect product page (which keeps the dark theme).
   ================================================================ */
body.theme-advisory {
    --bg: #fafaf7;
    --bg-soft: #f3f1ec;
    --bg-onyx: #0f1115;
    --bg-onyx-soft: #181b22;
    --ink: #0a0c10;
    --ink-soft: #2a2e36;
    --ink-muted: #5b6271;
    --line: #e6e3dc;
    --line-strong: #c9c5bb;
    --brand: #0070C0;
    --brand-deep: #0a4d80;
    --brand-tint: rgba(0, 112, 192, 0.08);
    --serif: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
}
body.theme-advisory .container { max-width: 1200px; padding: 0 32px; }
body.theme-advisory .container-narrow { max-width: 820px; }

/* Nav (light, minimal) */
body.theme-advisory .nav {
    background: rgba(250, 250, 247, 0.86);
    backdrop-filter: blur(16px) saturate(150%);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}
body.theme-advisory .logo-text { color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
body.theme-advisory .nav-links a { color: var(--ink-soft); font-size: 14px; font-weight: 500; }
body.theme-advisory .nav-links a:hover { color: var(--ink); }
body.theme-advisory .nav-links .nav-active { color: var(--ink); font-weight: 600; }
body.theme-advisory .btn-nav,
body.theme-advisory .nav-links a.btn-nav { background: var(--ink); color: #ffffff; padding: 10px 20px; border-radius: 999px; font-weight: 500; }
body.theme-advisory .btn-nav:hover,
body.theme-advisory .nav-links a.btn-nav:hover { background: var(--brand); color: #ffffff; box-shadow: none; }
body.theme-advisory .mobile-menu-btn span { background: var(--ink); }

/* Buttons */
body.theme-advisory .btn { border-radius: 999px; font-weight: 500; letter-spacing: 0; }
body.theme-advisory .btn-primary { background: var(--ink); color: var(--bg); }
body.theme-advisory .btn-primary:hover { background: var(--brand); box-shadow: none; }
body.theme-advisory .btn-outline { color: var(--ink); border: 1px solid var(--line-strong); background: transparent; }
body.theme-advisory .btn-outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
body.theme-advisory .btn-lg { padding: 16px 32px; font-size: 15px; }
body.theme-advisory .btn-block { width: 100%; }

/* Typography */
body.theme-advisory h1, body.theme-advisory h2, body.theme-advisory h3 {
    color: var(--ink);
    letter-spacing: -0.02em;
    font-weight: 600;
}
body.theme-advisory .serif-accent {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--ink);
}
body.theme-advisory .eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-muted);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line-strong);
    margin-bottom: 24px;
}

/* Hero (editorial, image right) */
body.theme-advisory .v-hero {
    padding: 140px 0 80px;
    background: var(--bg);
    position: relative;
}
body.theme-advisory .v-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
}
body.theme-advisory .v-hero h1 {
    font-size: clamp(44px, 6.4vw, 88px);
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
    color: var(--ink);
}
body.theme-advisory .v-hero h1 .serif-accent {
    font-size: 1.04em;
    line-height: 1;
    color: var(--brand-deep);
}
body.theme-advisory .v-hero-sub {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-muted);
    max-width: 560px;
    margin-bottom: 36px;
}
body.theme-advisory .v-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
body.theme-advisory .v-hero-image {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}
body.theme-advisory .v-hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: contrast(1.02) saturate(0.92);
}
body.theme-advisory .v-hero-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 17, 21, 0.18) 100%);
}

/* Sections */
body.theme-advisory .v-section { padding: 120px 0; }
body.theme-advisory .v-section-soft { background: var(--bg-soft); }
body.theme-advisory .v-section-onyx { background: var(--bg-onyx); color: #e8e6df; }
body.theme-advisory .v-section-onyx h2,
body.theme-advisory .v-section-onyx h3 { color: #fafaf7; }
body.theme-advisory .v-section-onyx .eyebrow { color: #8a8d96; border-color: #2a2e36; }
body.theme-advisory .v-section-onyx p { color: #b0b3bc; }

body.theme-advisory .v-section h2 {
    font-size: clamp(34px, 4.8vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    text-align: left;
    margin-bottom: 20px;
    max-width: 900px;
    font-weight: 600;
}
body.theme-advisory .v-section .lead {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-muted);
    max-width: 680px;
    margin-bottom: 64px;
}
body.theme-advisory .v-section-onyx .lead { color: #b0b3bc; }

/* Pain / "Sound familiar?" — borderless, type-led */
body.theme-advisory .v-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 56px;
    margin-top: 48px;
}
body.theme-advisory .v-pain-item {
    border-top: 1px solid var(--line-strong);
    padding-top: 24px;
}
body.theme-advisory .v-pain-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    color: var(--brand-deep);
    margin-bottom: 12px;
}
body.theme-advisory .v-pain-item h3 {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 12px;
    font-weight: 600;
}
body.theme-advisory .v-pain-item p { color: var(--ink-muted); font-size: 15px; line-height: 1.6; }

/* What we do — editorial service rows */
body.theme-advisory .v-service-list {
    margin-top: 48px;
    border-top: 1px solid var(--line-strong);
}
body.theme-advisory .v-service-row {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr 1.2fr;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
    text-decoration: none;
    color: var(--ink);
    transition: padding 0.35s ease, background 0.35s ease;
}
body.theme-advisory .v-service-row:hover { padding-left: 12px; background: var(--bg); }
body.theme-advisory .v-service-row .v-service-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--brand-deep);
    letter-spacing: 0.02em;
}
body.theme-advisory .v-service-row.is-lead .v-service-num::after {
    content: ' · Lead Practice';
    font-style: normal;
    font-family: var(--font);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
    margin-left: 4px;
}
body.theme-advisory .v-service-row h3 {
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.15;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: -0.015em;
}
body.theme-advisory .v-service-row.is-lead h3 { font-size: clamp(28px, 3vw, 38px); }
body.theme-advisory .v-service-row p {
    color: var(--ink-muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 12px;
}
body.theme-advisory .v-service-row .v-arrow {
    display: inline-flex; align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-deep);
    letter-spacing: 0.02em;
}
body.theme-advisory .v-service-row .v-arrow::after {
    content: ' →'; margin-left: 4px;
    transition: margin-left 0.25s ease;
}
body.theme-advisory .v-service-row:hover .v-arrow::after { margin-left: 10px; }

/* Palantir in Practice — capability tiles with imagery */
body.theme-advisory .v-practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 48px;
}
body.theme-advisory .v-practice-tile {
    display: flex; flex-direction: column;
}
body.theme-advisory .v-practice-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 4px;
    background: #11141b;
    margin-bottom: 24px;
    position: relative;
}
body.theme-advisory .v-practice-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: contrast(1.02) saturate(0.85) brightness(0.92);
    transition: transform 0.6s ease;
}
body.theme-advisory .v-practice-tile:hover .v-practice-image img { transform: scale(1.04); }
body.theme-advisory .v-practice-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,17,21,0.05) 0%, rgba(15,17,21,0.35) 100%);
}
body.theme-advisory .v-practice-tile h3 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: -0.015em;
}
body.theme-advisory .v-practice-tile p { color: var(--ink-muted); font-size: 15px; line-height: 1.65; }
body.theme-advisory .v-section-onyx .v-practice-tile p { color: #b0b3bc; }
body.theme-advisory .v-section-onyx .v-practice-tile h3 { color: #fafaf7; }

/* Approach — onyx band */
body.theme-advisory .v-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 48px;
    margin-top: 48px;
}
body.theme-advisory .v-approach-item {
    border-top: 1px solid #2a2e36;
    padding-top: 24px;
}
body.theme-advisory .v-approach-step {
    font-family: var(--serif);
    font-style: italic;
    font-size: 20px;
    color: #c9b876;
    margin-bottom: 12px;
}
body.theme-advisory .v-approach-item h3 {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 12px;
    font-weight: 600;
}
body.theme-advisory .v-approach-item p { color: #b0b3bc; font-size: 15px; line-height: 1.65; }

/* Featured Product (legacy block, retained in CSS for re-use) */
body.theme-advisory .v-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 48px;
    padding: 56px;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: 4px;
}
body.theme-advisory .v-product-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    background: #0f1115;
    position: relative;
}
body.theme-advisory .v-product-image img {
    width: 100%; height: 100%; object-fit: cover;
    filter: contrast(1.05) saturate(0.9);
}
body.theme-advisory .v-product h3 {
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.1;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
body.theme-advisory .v-product p { color: var(--ink-muted); font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
body.theme-advisory .v-product ul { list-style: none; margin: 0 0 24px; padding: 0; }
body.theme-advisory .v-product li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink-soft);
}
body.theme-advisory .v-product li:last-child { border-bottom: none; }
body.theme-advisory .v-product li::before { content: '— '; color: var(--brand); margin-right: 6px; }

/* Founder / Who we are */
body.theme-advisory .v-founder {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
    align-items: center;
    margin-top: 48px;
}
body.theme-advisory .v-founder-image {
    aspect-ratio: 4 / 5;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}
body.theme-advisory .v-founder-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.02); }
body.theme-advisory .v-founder-name { font-size: 28px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
body.theme-advisory .v-founder-role { color: var(--brand-deep); font-family: var(--serif); font-style: italic; font-size: 18px; margin-bottom: 24px; }
body.theme-advisory .v-founder p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 16px; }

/* CTA band (onyx) */
body.theme-advisory .v-cta {
    background: var(--bg-onyx);
    color: #fafaf7;
    padding: 120px 0;
    text-align: center;
}
body.theme-advisory .v-cta h2 {
    font-size: clamp(40px, 5.2vw, 72px);
    line-height: 1.05;
    color: #fafaf7;
    margin: 0 auto 20px;
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.025em;
}
body.theme-advisory .v-cta h2 .serif-accent { color: #c9b876; }
body.theme-advisory .v-cta p { color: #b0b3bc; font-size: 17px; max-width: 560px; margin: 0 auto 36px; }
body.theme-advisory .v-cta .btn-primary { background: #fafaf7; color: var(--ink); }
body.theme-advisory .v-cta .btn-primary:hover { background: var(--brand); color: #fff; }
body.theme-advisory .v-cta .btn-outline { color: #fafaf7; border-color: #3a3f48; }
body.theme-advisory .v-cta .btn-outline:hover { background: #fafaf7; color: var(--ink); border-color: #fafaf7; }

/* Footer (dark) */
body.theme-advisory .v-footer {
    background: var(--bg-onyx);
    color: #b0b3bc;
    padding: 80px 0 40px;
    border-top: 1px solid #2a2e36;
}
body.theme-advisory .v-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid #2a2e36;
}
body.theme-advisory .v-footer h4 {
    color: #fafaf7;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 500;
}
body.theme-advisory .v-footer ul { list-style: none; padding: 0; margin: 0; }
body.theme-advisory .v-footer li { margin-bottom: 12px; }
body.theme-advisory .v-footer a { color: #b0b3bc; text-decoration: none; font-size: 14px; transition: color 0.2s; }
body.theme-advisory .v-footer a:hover { color: #fafaf7; }
body.theme-advisory .v-footer .v-footer-brand { display: flex; flex-direction: column; gap: 16px; }
body.theme-advisory .v-footer .v-footer-tagline { font-family: var(--serif); font-style: italic; font-size: 18px; color: #fafaf7; line-height: 1.4; max-width: 280px; }
body.theme-advisory .v-footer-bottom {
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}

/* Services page hero variant */
body.theme-advisory .v-page-hero {
    padding: 140px 0 64px;
    border-bottom: 1px solid var(--line);
}
body.theme-advisory .v-page-hero h1 {
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
    font-weight: 600;
    max-width: 1100px;
}

/* Service detail (services page) */
body.theme-advisory .v-detail {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    padding: 80px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 96px;
}
body.theme-advisory .v-detail:last-child { border-bottom: none; }
body.theme-advisory .v-detail-eye { color: var(--brand-deep); font-family: var(--serif); font-style: italic; font-size: 18px; margin-bottom: 12px; }
body.theme-advisory .v-detail h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    max-width: 100%;
}
body.theme-advisory .v-detail-lead { font-size: 18px; line-height: 1.55; color: var(--ink-muted); }
body.theme-advisory .v-detail h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-muted);
    margin-bottom: 20px;
    font-weight: 500;
}
body.theme-advisory .v-detail ul { list-style: none; padding: 0; margin: 0 0 32px; }
body.theme-advisory .v-detail li {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.5;
}
body.theme-advisory .v-detail li::before {
    content: '—';
    color: var(--brand);
    margin-right: 12px;
    font-weight: 500;
}

/* Responsive (advisory theme) */
@media (max-width: 960px) {
    body.theme-advisory .v-hero { padding: 120px 0 60px; }
    body.theme-advisory .v-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    body.theme-advisory .v-hero-image { aspect-ratio: 16 / 10; }
    body.theme-advisory .v-section { padding: 80px 0; }
    body.theme-advisory .v-pain-grid { grid-template-columns: 1fr; gap: 24px; }
    body.theme-advisory .v-service-row { grid-template-columns: auto 1fr; gap: 16px 24px; }
    body.theme-advisory .v-service-row p, body.theme-advisory .v-service-row .v-arrow { grid-column: 2; }
    body.theme-advisory .v-practice-grid { grid-template-columns: 1fr; gap: 32px; }
    body.theme-advisory .v-approach-grid { grid-template-columns: 1fr; gap: 32px; }
    body.theme-advisory .v-product { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
    body.theme-advisory .v-founder { grid-template-columns: 1fr; gap: 32px; }
    body.theme-advisory .v-detail { grid-template-columns: 1fr; gap: 24px; padding: 56px 0; }
    body.theme-advisory .v-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    body.theme-advisory .v-cta { padding: 80px 0; }
}
@media (max-width: 600px) {
    body.theme-advisory .v-footer-grid { grid-template-columns: 1fr; }
    body.theme-advisory .v-page-hero { padding: 120px 0 48px; }
}

/* === Responsive === */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pain-grid { grid-template-columns: repeat(2, 1fr); }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); margin: 0; }
    .step { max-width: 100%; }
}

/* === Light Surface Sections (advisory pages) === */
.section-light { background: var(--surface-light); color: var(--text-on-light); }
.section-light h1,
.section-light h2,
.section-light h3 { color: var(--text-on-light); }
.section-light .section-sub,
.section-light p { color: var(--text-on-light-muted); }
.section-light .section-label { color: var(--accent); }

/* Advisory hero (light surface) */
.hero-advisory {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, var(--surface-light) 100%);
    color: var(--text-on-light);
    border-bottom: 1px solid var(--border-light);
}
.hero-advisory h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--text-on-light);
    background: linear-gradient(135deg, #0f1117 0%, #2a3247 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-advisory .hero-sub {
    color: var(--text-on-light-muted);
    font-size: 19px;
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.hero-advisory .hero-badge {
    color: var(--accent);
    background: rgba(0, 112, 192, 0.08);
    border: 1px solid rgba(0, 112, 192, 0.25);
}
.hero-advisory .btn-outline {
    color: var(--text-on-light);
    border-color: var(--border-light-strong);
}
.hero-advisory .btn-outline:hover {
    border-color: var(--text-on-light);
    background: rgba(15, 17, 23, 0.04);
}
.hero-advisory .hero-glow {
    background: radial-gradient(ellipse, rgba(0,112,192,0.15) 0%, transparent 70%);
    opacity: 0.8;
}

/* Trust strip pills */
.trust-strip {
    padding: 32px 0;
    border-top: 1px solid var(--border-light);
    background: var(--surface-light-alt);
}
.trust-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.trust-pill {
    padding: 8px 18px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid var(--border-light);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-on-light);
    letter-spacing: 0.01em;
}

/* Services grid (light-surface cards for advisory homepage + services page) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.service-card {
    display: block;
    background: var(--surface-light-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px;
    color: var(--text-on-light);
    text-decoration: none;
    transition: all 0.2s;
}
.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15, 17, 23, 0.08);
}
.service-icon {
    font-size: 28px;
    margin-bottom: 14px;
}
.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-on-light);
}
.service-card p {
    color: var(--text-on-light-muted);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 14px;
}
.service-card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

/* Why Spark Agentic — differentiator row */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.why-item {
    padding: 28px;
    background: var(--surface-light-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}
.why-item h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-on-light);
}
.why-item p {
    font-size: 14px;
    color: var(--text-on-light-muted);
    line-height: 1.65;
}

/* Approach steps (dark band) */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.approach-item {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.approach-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.approach-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}
.approach-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Featured product card (dark band) */
.featured-product {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 48px;
    padding: 48px;
    background: linear-gradient(135deg, rgba(0, 112, 192, 0.08) 0%, rgba(0, 112, 192, 0.02) 100%);
    border: 1px solid rgba(0, 112, 192, 0.25);
    border-radius: var(--radius-lg);
}
.featured-product-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.featured-product h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    text-align: left;
}
.featured-product p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.featured-bullets {
    list-style: none;
    margin-bottom: 4px;
}
.featured-bullets li {
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
}
.featured-bullets li::before {
    content: "\2713\00a0\00a0";
    color: var(--accent);
    font-weight: 700;
}

/* Featured practice (light surface, Palantir lead) */
.featured-practice {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 32px;
    padding: 48px;
    background: linear-gradient(135deg, #ffffff 0%, var(--surface-light) 100%);
    border: 1px solid var(--border-light-strong);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(15, 17, 23, 0.06);
}
.featured-practice-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding: 4px 12px;
    background: rgba(0, 112, 192, 0.08);
    border: 1px solid rgba(0, 112, 192, 0.2);
    border-radius: 100px;
}
.featured-practice h3 {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--text-on-light);
    text-align: left;
}
.featured-practice .practice-tagline {
    font-size: 17px;
    color: var(--text-on-light-muted);
    line-height: 1.65;
    margin-bottom: 22px;
}
.featured-practice .featured-bullets li {
    color: var(--text-on-light);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
    font-size: 15px;
}
.featured-practice .featured-bullets li:last-child { border-bottom: none; }
.featured-practice-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}
.featured-practice-cta .btn { width: 100%; }
.featured-practice-cta .practice-cta-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-on-light-muted);
    margin-top: 6px;
}

/* Featured service card variant — first card in grid spans 2 cols and is highlighted */
.service-card-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #ffffff 0%, var(--surface-light) 100%);
    border-color: var(--accent);
    border-left: 4px solid var(--accent);
    padding: 32px;
}
.service-card-featured h3 { font-size: 22px; }
.service-card-featured p { font-size: 15px; }
.service-card-featured .featured-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    background: rgba(0, 112, 192, 0.1);
    border-radius: 100px;
    margin-bottom: 12px;
}

/* About brief (light) */
.about-brief {
    max-width: 760px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-on-light-muted);
}

/* Services detail sections */
.service-detail {
    padding: 72px 0;
    border-bottom: 1px solid var(--border-light);
    scroll-margin-top: 96px;
}
.service-detail:last-child { border-bottom: none; }
.service-detail-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}
.service-detail-head h2 {
    text-align: left;
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 12px;
}
.service-detail-head p {
    color: var(--text-on-light-muted);
    font-size: 16px;
    line-height: 1.65;
}
.service-detail-body h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 14px;
}
.service-detail-body ul {
    list-style: none;
    margin-bottom: 20px;
}
.service-detail-body li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-on-light);
    border-bottom: 1px solid var(--border-light);
}
.service-detail-body li::before {
    content: "\2713\00a0\00a0";
    color: var(--accent);
    font-weight: 700;
}
.service-detail .btn {
    margin-top: 8px;
}

/* Nav active link */
.nav-links .nav-active { color: var(--text); }

/* === Responsive === */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .approach-grid { grid-template-columns: 1fr; }
    .featured-product { grid-template-columns: 1fr; padding: 32px; }
    .featured-practice { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
    .service-detail-inner { grid-template-columns: 1fr; gap: 24px; }
    .service-card-featured { grid-column: span 2; }
}

@media (max-width: 640px) {
    .hero-advisory { padding: 120px 0 60px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card-featured { grid-column: auto; }
    .trust-pills { gap: 8px; }
    .trust-pill { font-size: 12px; padding: 6px 14px; }
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        gap: 16px;
    }
    .hero { padding: 120px 0 60px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-proof { flex-direction: column; align-items: center; gap: 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .pain-grid { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
