/* =========================================================
   DashboardHC marketing site — design system + page styles
   Brand: #80a4d4 (DHC Blue)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
    --brand: #80a4d4;
    --brand-600: #678ebd;
    --brand-700: #4f78a8;
    --brand-900: #2c5aa0;
    --brand-50: #f1f6fb;
    --brand-100: #e2ecf6;

    --accent: #8b6dd9;
    --accent-soft: #b08fd9;
    --teal: #4cc4b0;

    --ink: #0a1a3a;
    --ink-soft: #1e2c46;
    --slate: #475569;
    --muted: #64748b;
    --hairline: #e2e8f0;
    --hairline-soft: #eef2f7;

    --surface: #ffffff;
    --surface-alt: #f6f9fc;
    --surface-tint: #f1f6fb;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08), 0 24px 56px rgba(15, 23, 42, 0.08);

    --max: 1200px;
    --max-narrow: 920px;

    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* Skip-to-content link for keyboard users */
.skip-link {
    position: absolute;
    left: -10000px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 0 0 8px 0;
    z-index: 100;
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; outline: 3px solid var(--brand); }

/* Visible keyboard focus */
:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
    border-radius: 6px;
}

/* No-JS fallback: don't hide reveal content */
.no-js .reveal { opacity: 1; transform: none; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
    color: var(--brand-900);
    text-decoration: none;
    transition: color 0.18s ease;
}
a:hover { color: var(--brand-600); }

h1, h2, h3, h4 {
    font-family: var(--font-sans);
    color: var(--ink);
    margin: 0 0 0.5em;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
h1 { font-size: clamp(2.5rem, 6.5vw, 5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.375rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--slate); }

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.4em; color: var(--slate); }

code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--surface-tint);
    padding: 0.15em 0.4em;
    border-radius: 6px;
    color: var(--brand-900);
}

pre {
    font-family: var(--font-mono);
    background: #0e1726;
    color: #e2ecf6;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}
pre code { background: none; color: inherit; padding: 0; }

/* ---------- Layout helpers ---------- */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.25rem;
}
.container-narrow {
    max-width: var(--max-narrow);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-tinted { background: var(--surface-alt); }
.section-deep { background: linear-gradient(180deg, #0a1a3a 0%, #102a55 100%); color: #e2ecf6; }
.section-deep h1, .section-deep h2, .section-deep h3 { color: #ffffff; }
.section-deep p, .section-deep li { color: #b6c4dc; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-700);
    margin-bottom: 1rem;
}
.section-deep .eyebrow { color: var(--brand); }

.lede { font-size: 1.125rem; color: var(--slate); max-width: 60ch; }
.section-deep .lede { color: #cbd5e8; }

/* ---------- Top nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--hairline-soft);
}
.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-logo img { height: 28px; width: auto; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.9375rem;
}
.nav-links a:hover { color: var(--brand-900); }
.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--ink-soft);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
    .nav-links, .nav-cta-group .btn-secondary { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav.open .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        padding: 1rem 1.25rem 1.25rem;
        border-bottom: 1px solid var(--hairline);
        gap: 1rem;
        box-shadow: var(--shadow);
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 6px 14px rgba(10, 26, 58, 0.18);
}
.btn-primary:hover {
    background: #06122a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(10, 26, 58, 0.22);
}
.btn-brand {
    background: var(--brand-900);
    color: #fff;
}
.btn-brand:hover {
    background: var(--ink);
    color: #fff;
    transform: translateY(-1px);
}
.btn-secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--hairline);
}
.btn-secondary:hover {
    border-color: var(--ink);
    color: var(--ink);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
}
.btn-ghost:hover { color: var(--brand-900); }
.btn-on-dark {
    background: #fff;
    color: var(--ink);
}
.btn-on-dark:hover { background: var(--brand-50); color: var(--ink); }
.btn-outline-on-dark {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.btn-outline-on-dark:hover { border-color: #fff; }

.btn-large { padding: 1rem 1.5rem; font-size: 1rem; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.arrow::after {
    content: "→";
    margin-left: 0.1em;
    transition: transform 0.18s ease;
    display: inline-block;
}
.arrow:hover::after { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 6rem;
    isolation: isolate;
}
.hero::before, .hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}
.hero::before {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(128,164,212,0.35) 0%, transparent 60%);
    top: -200px; left: -200px;
}
.hero::after {
    width: 640px; height: 640px;
    background: radial-gradient(circle, rgba(176,143,217,0.22) 0%, transparent 60%);
    bottom: -240px; right: -200px;
    opacity: 0.4;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}
@media (max-width: 900px) {
    .hero { padding: 3rem 0 4rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.hero h1 {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    margin-bottom: 1.25rem;
    line-height: 1.02;
}
.hero .lede { font-size: 1.1875rem; margin-bottom: 2rem; }

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 2rem;
    margin-top: 2.5rem;
    color: var(--muted);
    font-size: 0.875rem;
}
.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-meta-item img { height: 22px; width: auto; opacity: 0.85; }

/* Hero visual: AI conversation card */
.hero-card {
    background: #ffffff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.hero-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent-soft) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.hero-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hairline-soft);
    margin-bottom: 1rem;
}
.hero-card-head img { height: 22px; width: auto; }
.hero-card-head strong { color: var(--ink); font-size: 0.9375rem; }
.hero-card-head .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--teal); margin-left: auto;
}

.chat-row { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.chat-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--brand-100);
    display: grid; place-items: center;
    flex-shrink: 0;
    font-size: 0.875rem;
}
.chat-avatar.ai {
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    color: #fff;
}
.chat-bubble {
    background: var(--surface-alt);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--ink-soft);
    line-height: 1.5;
    flex: 1;
}
.chat-bubble.ai { background: var(--brand-50); }
.chat-bubble strong { color: var(--ink); }
.chat-tool {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    padding: 0.3rem 0.55rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--brand-900);
    margin: 0.4rem 0.4rem 0 0;
}
.chat-tool::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--teal);
}
.chat-mini-stat {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.chat-mini-stat .ms {
    background: #fff;
    border: 1px solid var(--hairline-soft);
    border-radius: 10px;
    padding: 0.5rem 0.6rem;
}
.chat-mini-stat .ms-label {
    font-size: 0.6875rem;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}
.chat-mini-stat .ms-value {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 0.15rem;
}
.chat-mini-stat .ms-delta {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
}
.chat-mini-stat .ms-delta.down { color: #d97757; }

/* ---------- Flow diagram (hero visual) ---------- */
.flow-diagram {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-lg);
    position: relative;
    isolation: isolate;
}
.flow-diagram::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent-soft) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.flow-col-inputs { display: flex; flex-direction: column; gap: 0.65rem; }
.flow-node {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 0.6rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    min-width: 130px;
}
.flow-node img { height: 18px; width: auto; flex-shrink: 0; }

.flow-hub {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(128,164,212,0.45);
    position: relative;
}
.flow-hub img {
    width: 44px;
    height: auto;
    filter: brightness(0) invert(1);
}
.flow-hub::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: inherit;
    border: 2px solid var(--brand);
    opacity: 0.2;
    animation: pulse-ring 2.5s ease-out infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.25); opacity: 0; }
}

.flow-output {
    background: linear-gradient(135deg, var(--brand-50) 0%, #fff 100%);
    border: 1px solid var(--brand-100);
    border-radius: 14px;
    padding: 0.9rem 1.15rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    min-width: 120px;
}
.flow-output .out-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 600;
}
.flow-output .out-value {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 0.15rem;
    letter-spacing: -0.02em;
}
.flow-output .out-delta {
    font-size: 0.75rem;
    color: var(--teal);
    font-weight: 600;
    margin-top: 0.2rem;
}

/* Connector lines drawn as flex children with animated gradient */
.flow-connector {
    height: 100%;
    min-height: 1px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flow-connector svg {
    width: 100%;
    height: auto;
    overflow: visible;
}
.flow-connector path {
    fill: none;
    stroke: var(--brand);
    stroke-width: 1.5;
    stroke-linecap: round;
    opacity: 0.45;
}
.flow-connector .pulse {
    fill: var(--brand-900);
    r: 3;
    opacity: 0.9;
    filter: drop-shadow(0 0 4px var(--brand));
}

/* Mobile: stack vertically */
@media (max-width: 700px) {
    .flow-diagram {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding: 1.5rem 1rem;
    }
    .flow-col-inputs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    .flow-node { min-width: 0; padding: 0.45rem 0.7rem; font-size: 0.75rem; }
    .flow-node img { height: 14px; }
    .flow-hub { width: 64px; height: 64px; margin: 0 auto; }
    .flow-hub img { width: 32px; }
    .flow-connector { display: none; }
    .flow-output { margin: 0 auto; }
}

/* ---------- Stat strip ---------- */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--hairline-soft);
    border-bottom: 1px solid var(--hairline-soft);
    text-align: center;
}
@media (max-width: 700px) {
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
.stat-strip .num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.stat-strip .label {
    color: var(--muted);
    font-size: 0.875rem;
    margin-top: 0.4rem;
}

/* ---------- Pillars (4-up) ---------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
@media (max-width: 1000px) {
    .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .pillars { grid-template-columns: 1fr; }
}
.pillar {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    position: relative;
}
.pillar:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--brand-100);
}
.pillar-num {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}
.pillar h3 { margin-bottom: 0.5rem; font-size: 1.125rem; }
.pillar p { margin: 0; font-size: 0.9375rem; }

/* ---------- Feature cards ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
@media (max-width: 900px) {
    .features { grid-template-columns: 1fr; }
}
.feature {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: var(--brand-50);
    color: var(--brand-900);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.9375rem; margin: 0; }

/* ---------- Split sections ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
    .split, .split.reverse { grid-template-columns: 1fr; gap: 2.5rem; }
    .split.reverse > :first-child { order: 0; }
}
.split-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-50) 0%, #fff 100%);
    border: 1px solid var(--hairline);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    min-height: 280px;
}
.split-visual.dark {
    background: linear-gradient(135deg, #0a1a3a 0%, #1e2c46 100%);
    border-color: rgba(255,255,255,0.08);
    color: #e2ecf6;
}

/* ---------- Bullet list ---------- */
.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.85rem;
    color: var(--slate);
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-50);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232c5aa0'><path d='M16.7 5.3a1 1 0 010 1.4l-7 7a1 1 0 01-1.4 0l-3-3a1 1 0 111.4-1.4L9 11.6l6.3-6.3a1 1 0 011.4 0z'/></svg>");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}
.section-deep .check-list li { color: #cbd5e8; }
.section-deep .check-list li::before { background-color: rgba(128,164,212,0.18); }

/* ---------- Logo strip ---------- */
.logo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    padding: 1rem 0;
}
.logo-strip img { height: 22px; width: auto; }
.logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    padding: 0.5rem 1.05rem 0.5rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.logo-pill:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    border-color: var(--brand-100);
}
.logo-pill img { height: 18px; width: auto; flex-shrink: 0; }
/* Prominent "use any AI" banner above the logo strip — the differentiator
   in one confident line. */
.anyai-banner {
    text-align: center;
    color: var(--ink);
    font-size: clamp(1.125rem, 1.6vw, 1.375rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    max-width: 38ch;
    margin: 0 auto 1.5rem;
}
.logo-strip-label {
    text-align: center;
    color: var(--muted);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ---------- Quote / testimonial ---------- */
.quote {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    box-shadow: var(--shadow-sm);
}
.quote q {
    font-size: 1.25rem;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.5;
    quotes: "\201C" "\201D";
}
.quote q::before { content: open-quote; }
.quote q::after { content: close-quote; }
.quote-cite {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.875rem;
}

/* ---------- CTA banner ---------- */
.cta {
    background: linear-gradient(135deg, #0a1a3a 0%, #2c5aa0 100%);
    border-radius: var(--radius-xl);
    padding: 3.5rem 2.5rem;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(128,164,212,0.55) 0%, transparent 60%);
    top: -140px; right: -100px;
    opacity: 0.45;
    pointer-events: none;
}
.cta::after {
    content: "";
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(176,143,217,0.45) 0%, transparent 60%);
    bottom: -140px; left: -80px;
    opacity: 0.35;
    pointer-events: none;
}
.cta h2 { color: #fff; font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
.cta p { color: #cbd5e8; max-width: 56ch; margin: 0 auto 2rem; }
.cta .btn-row { justify-content: center; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer {
    background: #fff;
    border-top: 1px solid var(--hairline);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 3rem;
}
@media (max-width: 800px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer h3,
.footer h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a {
    color: var(--ink-soft);
    font-size: 0.9375rem;
}
.footer ul a:hover { color: var(--brand-900); }
.footer-brand img { height: 32px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; max-width: 32ch; }
.footer-bar {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--hairline-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.8125rem;
}
.footer-bar a { color: var(--muted); }
.footer-bar a:hover { color: var(--brand-900); }
.footer-bar .legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-region {
    width: 100%;
    color: var(--muted);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* ---------- AI agent showcase ---------- */
.agent-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
@media (max-width: 900px) { .agent-row { grid-template-columns: 1fr; } }
.agent-card {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.agent-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.agent-head {
    display: flex; align-items: center; gap: 0.75rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--hairline-soft);
    margin-bottom: 0.85rem;
}
.agent-head img { height: 22px; }
.agent-head strong { font-size: 0.95rem; color: var(--ink); }
.agent-tag {
    margin-left: auto;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-900);
    background: var(--brand-50);
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-weight: 600;
}

/* ---------- Code blocks (MCP page) ---------- */
.code-block {
    position: relative;
    margin: 1.25rem 0;
}
.code-block .lang {
    position: absolute;
    top: 12px; right: 14px;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a4c2;
    background: rgba(255,255,255,0.07);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-family: var(--font-mono);
}

/* ---------- Steps list (MCP setup) ---------- */
.steps {
    counter-reset: step;
    margin-top: 2rem;
    display: grid;
    gap: 1.25rem;
}
.step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.25rem;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.step-num {
    counter-increment: step;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700;
}
.step-num::before { content: counter(step); }
.step h4 { margin: 0 0 0.4rem; font-size: 1.0625rem; }
.step p { margin: 0; font-size: 0.9375rem; }

/* ---------- Tool cards ---------- */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
@media (max-width: 700px) { .tool-grid { grid-template-columns: 1fr; } }
.tool {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem;
}
.tool > code {
    background: #0e1726;
    color: #b6c4dc;
    font-size: 0.8125rem;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    display: inline-block;
}
.tool p code {
    background: var(--surface-tint);
    color: var(--brand-900);
    font-size: 0.85em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
}
.tool p { margin: 0.65rem 0 0; font-size: 0.9rem; }

/* ---------- Security cards ---------- */
.sec-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
@media (max-width: 900px) { .sec-row { grid-template-columns: 1fr; } }
.sec-card {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}
.sec-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-50), #fff);
    border: 1px solid var(--hairline-soft);
    display: grid; place-items: center;
    margin-bottom: 1rem;
}
.sec-icon svg { width: 22px; height: 22px; color: var(--brand-900); }
.sec-card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.sec-card p { margin: 0; font-size: 0.9375rem; }

/* ---------- Use case ---------- */
.uc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--brand-50) 0%, #fff 100%);
    border: 1px solid var(--hairline-soft);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-900);
    font-weight: 700;
    margin-bottom: 1rem;
}
.uc-time {
    margin-top: 1.5rem;
    padding: 0.85rem 1.1rem;
    background: var(--surface-alt);
    border-left: 3px solid var(--brand);
    border-radius: 0 8px 8px 0;
    font-size: 0.875rem;
    color: var(--ink-soft);
}
.uc-time strong { color: var(--ink); }
.uc-time .strike { color: var(--muted); text-decoration: line-through; margin-right: 0.4rem; }

/* AI artifact card variants */
.artifact-card {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
.artifact-card h4 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    color: var(--ink);
}
.artifact-card .artifact-meta {
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.artifact-card ul, .artifact-card ol {
    margin: 0.4rem 0 0 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--slate);
}
.artifact-card li { margin-bottom: 0.4rem; }

.deck-outline {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    overflow: hidden;
}
.deck-slide {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--hairline-soft);
    font-size: 0.875rem;
}
.deck-slide:first-child { border-top: 0; }
.deck-slide .slide-num {
    width: 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: 6px;
    background: var(--brand-50);
    color: var(--brand-900);
    font-weight: 700;
    font-size: 0.75rem;
}
.deck-slide .slide-title { color: var(--ink); font-weight: 600; }
.deck-slide .slide-sub { color: var(--muted); font-size: 0.75rem; display: block; margin-top: 0.1rem; }

.persona-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 1.5rem;
}
.persona-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8125rem;
    color: var(--ink-soft);
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}
a.persona-chip { cursor: pointer; }
a.persona-chip:hover {
    color: var(--brand-900);
    border-color: var(--brand-100);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.persona-chip svg { width: 14px; height: 14px; color: var(--brand-900); transition: transform 0.18s ease; }
a.persona-chip:hover svg { transform: scale(1.1); }

/* ---------- Operator prompt rail ----------
   At-rest operational prompt examples that drop into any section to make
   "ask anything" feel tangible. Read as real questions an operator types. */
.prompt-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.65rem;
    margin: 1.25rem 0 0;
}
.prompt-rail-center { justify-content: center; }
.prompt {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.3;
    box-shadow: var(--shadow-sm);
}
.prompt::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    flex: 0 0 6px;
    box-shadow: 0 0 0 3px rgba(128,164,212,0.18);
}
.section-deep .prompt {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.14);
    color: #e8efff;
}
.section-deep .prompt::before { box-shadow: 0 0 0 3px rgba(128,164,212,0.22); }
.showcase-deep .prompt {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.14);
    color: #e8efff;
}

/* Smooth scroll offset for sticky nav anchor jumps */
[id="ceo"], [id="cfo"], [id="board"], [id="strategy"], [id="operations"], [id="marketing"] {
    scroll-margin-top: 80px;
}

/* ---------- Credibility band ---------- */
.cred-band {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.25rem 2rem;
    align-items: center;
}
@media (max-width: 800px) {
    .cred-band { grid-template-columns: 1fr; text-align: left; }
}
.cred-band .cred-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-700);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.cred-band .cred-text {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
}
.cred-band .cred-text strong { color: var(--brand-900); }
.cred-band .cred-stat {
    background: linear-gradient(135deg, var(--brand-50) 0%, #fff 100%);
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    min-width: 220px;
    text-align: center;
}
.cred-band .cred-stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-900);
    line-height: 1.05;
    letter-spacing: -0.01em;
}
.cred-band .cred-stat-label {
    color: var(--muted);
    font-size: 0.8125rem;
    margin-top: 0.35rem;
}

/* ---------- FAQ ---------- */
.faq-list {
    margin-top: 2.5rem;
    display: grid;
    gap: 0.75rem;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq-item[open] {
    border-color: var(--brand-100);
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: var(--ink);
    font-size: 1.0625rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    margin-left: auto;
    font-size: 1.5rem;
    color: var(--brand-900);
    line-height: 1;
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
    content: "−";
}
.faq-item .faq-body {
    padding: 0 1.4rem 1.25rem;
    color: var(--slate);
    font-size: 0.9375rem;
    line-height: 1.65;
}
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- App store badges ---------- */
.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    margin-top: 1rem;
}
.app-badges img {
    height: 44px;
    width: auto;
    transition: transform 0.18s ease, opacity 0.18s ease;
}
.app-badges a:hover img { transform: translateY(-1px); opacity: 0.92; }
.app-badges .linkedin-badge {
    width: 28px; height: 28px;
    margin-left: 0.5rem;
    opacity: 0.7;
}

.footer-apps {
    display: flex;
    gap: 0.65rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.footer-apps img { height: 36px; width: auto; opacity: 0.85; }
.footer-apps a:hover img { opacity: 1; }

/* ---------- Blog ---------- */
.post-list {
    display: grid;
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.post-item {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.post-item:hover {
    border-color: var(--brand-100);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.post-item h3 {
    margin: 0.4rem 0 0.6rem;
    font-size: 1.375rem;
}
.post-item h3 a { color: var(--ink); }
.post-item h3 a:hover { color: var(--brand-900); }
.post-meta {
    font-size: 0.8125rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.post-excerpt {
    color: var(--slate);
    margin: 0.5rem 0 0;
    font-size: 0.9375rem;
}

/* Post body */
.post-body {
    max-width: 720px;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 1.0625rem;
    line-height: 1.75;
}
.post-body h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5em; }
.post-body h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.post-body h3 { margin-top: 2rem; font-size: 1.25rem; }
.post-body p { margin: 0 0 1.25em; color: var(--ink-soft); }
.post-body p strong { color: var(--ink); }
.post-body ul, .post-body ol { margin: 0 0 1.25em 0; }
.post-body li { color: var(--ink-soft); margin-bottom: 0.5em; }
.post-body blockquote {
    border-left: 3px solid var(--brand);
    padding: 0.5rem 1.25rem;
    margin: 1.5rem 0;
    color: var(--ink);
    font-style: italic;
}
.post-body code { font-size: 0.95em; }
.post-body hr {
    border: 0;
    height: 1px;
    background: var(--hairline);
    margin: 2.5rem 0;
}
.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--hairline);
}
.post-header .post-meta { display: inline-block; }
.post-author {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--slate);
    font-size: 0.9375rem;
    margin-top: 1rem;
}
.post-author-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.875rem;
}
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}
.post-tag {
    display: inline-block;
    background: var(--brand-50);
    color: var(--brand-900);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ---------- Comparison table ---------- */
.compare-table-wrap {
    overflow-x: auto;
    margin-top: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-size: 0.9375rem;
}
.compare-table thead th {
    text-align: left;
    padding: 1.1rem 1.25rem;
    background: var(--surface-alt);
    border-bottom: 1px solid var(--hairline);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}
.compare-table thead th.us {
    background: linear-gradient(135deg, #0a1a3a 0%, #2c5aa0 100%);
    color: #fff;
}
.compare-table tbody td {
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid var(--hairline-soft);
    vertical-align: top;
    color: var(--slate);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody td.us {
    background: var(--brand-50);
    color: var(--ink);
    font-weight: 500;
}
.compare-table tbody td.row-label {
    font-weight: 600;
    color: var(--ink);
    background: #fff;
}
.compare-table .yes { color: #2c5aa0; font-weight: 700; }
.compare-table .no { color: #b3b9c4; }
.compare-table .partial { color: #c08032; font-weight: 600; }

/* ---------- Notice block ---------- */
.notice {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    color: #8a6d2c;
    font-size: 0.9375rem;
    line-height: 1.6;
}
.notice strong { color: #6f5524; }

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    * { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0 !important; }

/* ---------- Showcase sections (Apple-style) ---------- */
.showcase {
    padding: 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.showcase-light { background: var(--surface); color: var(--ink); }
.showcase-tinted { background: var(--surface-alt); color: var(--ink); }
.showcase-deep {
    background: linear-gradient(160deg, #0a1a3a 0%, #1a3566 50%, #2c5aa0 100%);
    color: #fff;
}
.showcase-deep h2, .showcase-deep .showcase-tag { color: #fff; }
.showcase-deep .showcase-sub { color: #cbd5e8; }

.showcase-gradient {
    background:
        radial-gradient(circle at 20% 30%, rgba(128,164,212,0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(176,143,217,0.2) 0%, transparent 50%),
        var(--surface);
}

.showcase-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-900);
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}
.showcase h2 {
    font-size: clamp(2.75rem, 8vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 auto 1.5rem;
    max-width: 18ch;
}
.showcase-sub {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--slate);
    max-width: 38ch;
    margin: 0 auto 3rem;
    line-height: 1.4;
    font-weight: 400;
}
.showcase-deep .showcase-sub { color: #cbd5e8; }

.showcase-visual {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Logo wall — bigger pills for showcase use */
.logo-wall {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.25rem;
}
.logo-wall .logo-pill {
    padding: 0.85rem 1.5rem 0.85rem 1.2rem;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}
.logo-wall .logo-pill img { height: 24px; }
.showcase-deep .logo-wall .logo-pill {
    background: rgba(255,255,255,0.95);
}

/* Big single-line stat or proof */
.showcase-stat {
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}
.showcase-stat-label {
    color: var(--muted);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Final CTA huge */
.showcase-cta-row {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 700px) {
    .showcase { padding: 4.5rem 0; }
    .showcase h2 { max-width: 100%; }
}

/* ---------- Product hero: text + visual side-by-side (Apple-style) ---------- */
.hero-product {
    padding: 3.75rem 0 4.5rem;
}
.hero-product .hero-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    align-items: center;
}
.hero-product .hero-copy h1 {
    font-size: clamp(1.875rem, 2.9vw, 2.875rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.hero-product .hero-copy .lede {
    font-size: clamp(1rem, 1.15vw, 1.125rem);
    max-width: 38ch;
    margin-bottom: 1.5rem;
    line-height: 1.55;
}
.hero-product .hero-copy .eyebrow {
    margin-bottom: 0.9rem;
}
.hero-product .hero-rich {
    position: relative;
}

/* Floating operator prompts that orbit the hero chat card.
   Visual proof of "ask anything" without crowding the text column. */
.floating-prompt {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid var(--hairline);
    box-shadow: 0 12px 24px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04);
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    z-index: 2;
    animation: floatPrompt 7s ease-in-out infinite;
    pointer-events: none;
    will-change: transform;
}
.floating-prompt::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(128,164,212,0.22);
    flex: 0 0 6px;
}
.floating-prompt-1 { top: -14px; left: -28px; animation-delay: 0s; }
.floating-prompt-2 { bottom: 18%; right: -32px; animation-delay: 2.1s; }
.floating-prompt-3 { top: 52%; left: -52px; animation-delay: 4.2s; }

@keyframes floatPrompt {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hide floating prompts on stacked / mobile layouts to avoid clutter */
@media (max-width: 1200px) {
    .floating-prompt-3 { display: none; }
    .floating-prompt-1 { left: -8px; }
    .floating-prompt-2 { right: -8px; }
}
@media (max-width: 1100px) {
    .floating-prompt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .floating-prompt { animation: none; }
}
.hero-product .rich-card {
    max-width: none;
    width: 100%;
}
.hero-product .hero-rich::before {
    content: "";
    position: absolute;
    inset: -8% -6% -6% -6%;
    background:
        radial-gradient(60% 50% at 80% 20%, rgba(128,164,212,0.18), transparent 65%),
        radial-gradient(60% 60% at 20% 90%, rgba(176,143,217,0.14), transparent 65%);
    z-index: -1;
    border-radius: 48px;
    pointer-events: none;
}
@media (max-width: 1100px) {
    .hero-product .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
    .hero-product { padding: 2.5rem 0 3rem; }
}
@media (max-width: 600px) {
    .hero-product .hero-copy h1 { font-size: clamp(1.625rem, 7vw, 2.125rem); }
    .hero-product .hero-copy .lede { max-width: 100%; font-size: 1rem; }
}

/* ---------- Legacy centered hero (kept for any single-column heroes) ---------- */
.hero-centered {
    text-align: center;
    padding: 5rem 0 3rem;
    position: relative;
    isolation: isolate;
}
.hero-centered::before, .hero-centered::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}
.hero-centered::before {
    width: 720px; height: 720px;
    background: radial-gradient(circle, rgba(128,164,212,0.30) 0%, transparent 60%);
    top: -240px; left: -200px;
}
.hero-centered::after {
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(176,143,217,0.22) 0%, transparent 60%);
    top: -140px; right: -200px;
}
.hero-centered .eyebrow { justify-content: center; }
.hero-centered h1 {
    margin: 0 auto 1.25rem;
    max-width: 14ch;
}
.hero-centered .lede {
    margin: 0 auto 2.25rem;
    max-width: 36ch;
    text-align: center;
    font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
}
.hero-centered .btn-row { justify-content: center; }

/* The rich hero card itself */
.hero-stage {
    padding: 2rem 1.25rem 5rem;
    display: grid;
    place-items: center;
    position: relative;
}
.hero-stage::before {
    content: "";
    position: absolute;
    inset: 4rem 5% auto 5%;
    height: 80%;
    border-radius: 40px;
    background: linear-gradient(180deg, rgba(128,164,212,0.08) 0%, transparent 70%);
    z-index: -1;
}
.rich-card {
    max-width: 720px;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    padding: 1.75rem 2rem;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.6) inset,
        0 24px 60px rgba(15,23,42,0.12),
        0 12px 24px rgba(15,23,42,0.06);
    position: relative;
    isolation: isolate;
}
.rich-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent-soft) 50%, var(--teal) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}
.rich-card .hero-card-head {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hairline-soft);
    margin-bottom: 1.1rem;
}

/* AI narrative / answer block */
.ai-narrative {
    color: var(--ink);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}
.ai-narrative strong { color: var(--ink); font-weight: 700; }

/* Numbered list inside an AI answer — used when the AI synthesizes
   multiple findings into a prioritized focus list. */
.ai-list {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--ink);
}
.ai-list li { margin-bottom: 0.35rem; }
.ai-list li:last-child { margin-bottom: 0; }
.ai-list li::marker { color: var(--brand-900); font-weight: 700; }
.ai-list strong { color: var(--brand-900); }

/* Tight closing line after the AI list — no heavy box, just emphasis */
.ai-close {
    margin: 0.7rem 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--ink);
}

/* Stat grid in rich card */
.rich-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin: 0.85rem 0;
}
@media (max-width: 600px) {
    .rich-stats { grid-template-columns: repeat(2, 1fr); }
}
.rich-stats .ms {
    background: linear-gradient(135deg, var(--brand-50) 0%, #ffffff 100%);
    border: 1px solid var(--hairline-soft);
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    text-align: left;
}
.rich-stats .ms-label { font-size: 0.6875rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.rich-stats .ms-value { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-top: 0.1rem; }
.rich-stats .ms-delta { font-size: 0.7rem; color: var(--teal); font-weight: 600; margin-top: 0.1rem; }
.rich-stats .ms-delta.down { color: #d97757; }

/* Bar chart inside the card */
.bars {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.35rem;
    align-items: end;
    height: 56px;
    margin: 0.85rem 0 0.5rem;
    padding: 0 0.3rem;
}
.bars span {
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-900) 100%);
    border-radius: 4px 4px 0 0;
    opacity: 0.85;
    transition: opacity 0.2s ease;
    animation: bar-rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
.bars span:hover { opacity: 1; }
.bars span:nth-child(1) { animation-delay: 0.05s; }
.bars span:nth-child(2) { animation-delay: 0.1s; }
.bars span:nth-child(3) { animation-delay: 0.15s; }
.bars span:nth-child(4) { animation-delay: 0.2s; }
.bars span:nth-child(5) { animation-delay: 0.25s; }
.bars span:nth-child(6) { animation-delay: 0.3s; }
.bars span:nth-child(7) { animation-delay: 0.35s; }
.bars span:nth-child(8) { animation-delay: 0.4s; }
@keyframes bar-rise {
    from { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
    to   { transform: scaleY(1); opacity: 0.85; }
}
.bars-axis {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.35rem;
    padding: 0 0.3rem;
    color: var(--muted);
    font-size: 0.625rem;
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Follow-up suggestion chips */
.followups {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--hairline);
}
.followups .followup {
    font-size: 0.8125rem;
    background: var(--surface-alt);
    color: var(--ink-soft);
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    border: 1px solid var(--hairline);
    cursor: default;
    transition: background 0.15s ease, color 0.15s ease;
}
.followups .followup:hover { background: var(--brand-50); color: var(--brand-900); }

/* ---------- "Future of healthcare operations" centerpiece ---------- */
.future-h2 {
    font-size: clamp(1.625rem, 3vw, 2.5rem);
    line-height: 1.18;
    letter-spacing: -0.015em;
    max-width: 22ch;
    margin: 0 auto;
    color: #ffffff;
}
.future-h2-em {
    background: linear-gradient(90deg, #b8d0f0 0%, #ffffff 50%, #d3c1ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
}
.future-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2.5rem auto 0;
    max-width: 760px;
    text-align: left;
}
.future-pillar {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;
    padding: 1.1rem 1.15rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    transition: background 0.18s ease, border-color 0.18s ease;
}
.future-pillar:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(128,164,212,0.32);
}
.future-pillar-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(184,208,240,0.7);
}
.future-pillar-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
}
@media (max-width: 700px) {
    .future-pillars { grid-template-columns: 1fr; gap: 0.6rem; }
    .future-pillar { padding: 0.85rem 1rem; flex-direction: row; align-items: center; gap: 0.85rem; }
    .future-pillar-num { font-size: 0.65rem; }
    .future-pillar-text { font-size: 0.9375rem; }
}

/* ---------- Chain of reasoning visual (MCP step-by-step) ---------- */
.chain {
    display: flex;
    flex-direction: column;
    margin-top: 0.9rem;
    position: relative;
}
.chain-step {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0.75rem;
    padding: 0.55rem 0;
    position: relative;
}
.chain-step::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--hairline);
    z-index: 0;
}
.chain-step:first-child::before { top: 18px; }
.chain-step:last-child::before { bottom: calc(100% - 18px); }
.chain-step-marker {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--brand-100);
    box-shadow: 0 0 0 3px rgba(128,164,212,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-900);
    z-index: 1;
    position: relative;
    margin-top: 2px;
}
.chain-step-body { min-width: 0; }
.chain-step-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.4rem;
}
.chain-step-finding {
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--ink);
    margin: 0;
}
.chain-step-finding strong { color: var(--brand-900); }
.chain-synthesis {
    margin-top: 1.1rem;
    padding: 0.95rem 1.1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(128,164,212,0.14), rgba(128,164,212,0.04));
    border: 1px solid var(--brand-100);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--ink);
}
.chain-synthesis-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-900);
    margin-bottom: 0.35rem;
}
.chain-synthesis strong { color: var(--brand-900); }

/* ---------- Hero rotator: crossfade swap between prompts ---------- */
[data-hero-rotator] [data-hero-q],
[data-hero-rotator] [data-hero-tools],
[data-hero-rotator] [data-hero-body] {
    transition: opacity 280ms ease, transform 280ms ease;
}
[data-hero-rotator].is-fading [data-hero-q],
[data-hero-rotator].is-fading [data-hero-tools],
[data-hero-rotator].is-fading [data-hero-body] {
    opacity: 0;
    transform: translateY(4px);
}
@media (prefers-reduced-motion: reduce) {
    [data-hero-rotator] [data-hero-q],
    [data-hero-rotator] [data-hero-tools],
    [data-hero-rotator] [data-hero-body] { transition: none; }
}

.hero-rotator-dots {
    display: flex;
    justify-content: center;
    gap: 0.15rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--hairline);
}
.hr-dot {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    padding: 8px;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.hr-dot::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hairline);
    transition: background 320ms ease, transform 320ms ease;
}
.hr-dot.is-active::before {
    background: var(--brand);
    transform: scale(1.25);
}
.hr-dot:hover::before { background: var(--brand-100); }
.hr-dot.is-active:hover::before { background: var(--brand); }
.hr-dot:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* Tool-call chips, slightly upgraded look in rich card */
.rich-card .chat-tool {
    background: #fff;
    border-color: var(--brand-100);
    color: var(--brand-900);
    font-size: 0.7rem;
    box-shadow: 0 1px 0 rgba(15,23,42,0.03);
}

/* ---------- Platform mockup (matches real app structure) ---------- */
.app-mockup {
    max-width: 1080px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--hairline-soft);
    border-radius: 14px;
    box-shadow:
        0 40px 80px rgba(15,23,42,0.07),
        0 16px 32px rgba(15,23,42,0.04);
    overflow: hidden;
    text-align: left;
    opacity: 0.96;
}


/* In-app top bar — split: blue logo zone + white content zone */
.app-topbar {
    display: grid;
    grid-template-columns: 240px 1fr;
    height: 96px;
    background: #fff;
}
.app-topbar-logo-zone {
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
}
.app-topbar-content {
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    gap: 0.85rem;
    border-bottom: 1px solid var(--hairline-soft);
}
img.app-topbar-logo {
    height: 64px;
    width: auto;
    max-width: 100%;
    display: block;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}
.app-topbar .back {
    color: var(--muted);
    display: inline-flex; align-items: center;
}
.app-topbar .back svg { width: 16px; height: 16px; }
.app-topbar .crumb {
    color: var(--ink); font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    white-space: nowrap;
}
.app-topbar .spacer { flex: 1; }
.app-topbar .icon {
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px; color: var(--ink-soft);
    cursor: default;
    transition: background 0.15s ease;
}
.app-topbar .icon svg { width: 18px; height: 18px; }
.app-topbar .icon:hover { background: var(--surface-alt); }

/* Body: sidebar + main */
.app-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 420px;
    background: #f6f9fc;
}
.app-side {
    background: var(--brand);
    color: #fff;
    padding: 0.65rem 0.5rem 1rem;
    font-size: 0.8125rem;
}
.app-side .search {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 6px;
    padding: 0 0 0 0.55rem;
    height: 30px;
    box-sizing: border-box;
    font-size: 0.78rem;
    color: var(--muted);
    display: flex; align-items: center; gap: 0.45rem;
    margin-bottom: 0.7rem;
    overflow: hidden;
}
.app-side .search .plus {
    margin-left: auto;
    align-self: stretch;
    width: 30px;
    background: var(--brand-900); color: #fff;
    border-radius: 0;
    display: grid; place-items: center;
    font-size: 1rem; font-weight: 600; line-height: 1;
}

.app-side .folder {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 0.7rem;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: default;
    margin: 0.18rem 0;
    background: transparent;
    border: 0;
    width: 100%;
    text-align: left;
    transition: background 0.15s ease;
}
.app-side .folder:hover { background: rgba(255,255,255,0.18); }
.app-side .folder-group.open > .folder {
    background: rgba(255,255,255,0.22);
}
.app-side .folder .chev {
    width: 11px; height: 11px;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}
.app-side .folder-group.open > .folder .chev { transform: rotate(90deg); }
.app-side .folder .ic-folder {
    width: 14px; height: 14px;
    color: #fff;
    flex-shrink: 0;
}

.app-side .folder-children { padding: 0; }
.app-side .child {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.36rem 0.7rem 0.36rem 1.85rem;
    color: rgba(255,255,255,0.92);
    font-size: 0.78rem;
    border-radius: 5px;
    margin: 0.05rem 0;
    cursor: default;
    background: transparent;
    border: 0;
    width: 100%;
    text-align: left;
    transition: background 0.15s ease;
    font-weight: 500;
}
.app-side .child:hover { background: rgba(255,255,255,0.18); }
.app-side .child.active {
    background: var(--brand-900);
    color: #fff;
    font-weight: 600;
}
.app-side .child .ic {
    width: 13px; height: 13px;
    color: rgba(255,255,255,0.85);
    flex-shrink: 0;
}
.app-side .child.active .ic { color: #fff; }

.app-main {
    padding: 1rem 1.25rem;
    background: #f6f9fc;
}
.app-main-head {
    display: flex; align-items: center; gap: 0.55rem;
    margin-bottom: 1rem;
}
.app-main-head .filter {
    font-size: 0.7rem; padding: 0.32rem 0.7rem;
    background: #fff; border: 1px solid var(--hairline);
    border-radius: 5px; color: var(--ink-soft); font-weight: 500;
}
.app-main-head .nav-arrows {
    margin-left: auto;
    display: flex; gap: 0.25rem;
    color: var(--brand-900);
    font-size: 0.85rem;
}
.app-main-head .nav-arrows span {
    background: var(--brand-50); border: 1px solid var(--brand-100);
    width: 24px; height: 24px;
    display: grid; place-items: center;
    border-radius: 5px;
}
.app-tile-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.6rem;
}
@media (max-width: 720px) {
    .app-tile-row { grid-template-columns: 1fr 1fr; }
}
.app-tile {
    background: #fff;
    border: 1px solid var(--hairline-soft);
    border-radius: 8px;
    padding: 0.85rem 1rem;
}
.app-tile .val {
    font-size: 1.7rem; font-weight: 700;
    color: var(--brand-900);
    letter-spacing: -0.02em; line-height: 1.05;
}
.app-tile .val.neg { color: #c0392b; }
.app-tile .lbl {
    font-size: 0.65rem; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
    margin-top: 0.45rem;
}

.app-chart {
    background: #fff;
    border: 1px solid var(--hairline-soft);
    border-radius: 8px;
    padding: 0.9rem 1rem;
    margin-top: 0.6rem;
}
.app-chart .chart-title {
    font-size: 0.78rem; color: var(--ink); font-weight: 600;
    margin-bottom: 0.6rem;
    display: flex; justify-content: space-between; align-items: baseline;
}
.app-chart .chart-title .val {
    color: var(--brand-900); font-size: 0.85rem; font-weight: 700;
}
.app-chart .line-chart {
    height: 110px;
    position: relative;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}
.app-chart .line-chart svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
}
.app-chart .line-chart path.line {
    fill: none; stroke: var(--brand); stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.app-chart .line-chart path.area {
    stroke: none;
}
.app-chart .line-chart circle.point {
    fill: #fff; stroke: var(--brand); stroke-width: 1.75;
}

@media (max-width: 720px) {
    /* Topbar — shrink for phones (was 96px tall with a 240px logo zone) */
    .app-topbar {
        grid-template-columns: 120px 1fr;
        height: 56px;
    }
    .app-topbar-logo-zone { padding: 0 0.5rem; }
    img.app-topbar-logo { height: 30px; }
    .app-topbar-content { padding: 0 0.85rem; gap: 0.5rem; }
    .app-topbar .crumb { font-size: 0.7rem; letter-spacing: 0.05em; }
    .app-topbar .icon { width: 28px; height: 28px; }
    .app-topbar .icon svg { width: 14px; height: 14px; }

    /* Sidebar — hide on phones. Not load-bearing for the marketing story
       and consumes the entire phone width when stacked. */
    .app-body { grid-template-columns: 1fr; }
    .app-side { display: none; }

    /* Main panel — tighter on phones */
    .app-main { padding: 0.85rem 0.9rem; }
    .app-main-head { gap: 0.4rem; margin-bottom: 0.7rem; flex-wrap: wrap; }
    .app-main-head .filter { font-size: 0.65rem; padding: 0.28rem 0.55rem; }
    .app-main-head .nav-arrows { font-size: 0.75rem; }
    .app-main-head .nav-arrows span { width: 20px; height: 20px; }

    /* Tiles — already 2-col at 720px above; tighten values */
    .app-tile { padding: 0.65rem 0.75rem; }
    .app-tile .val { font-size: 1.25rem; }
    .app-tile .lbl { font-size: 0.6rem; margin-top: 0.3rem; }

    /* Line chart — shorter on phones */
    .app-chart { padding: 0.7rem 0.85rem; margin-top: 0.45rem; }
    .app-chart .line-chart { height: 80px; }
    .app-chart .chart-title { font-size: 0.7rem; }
    .app-chart .chart-title .val { font-size: 0.78rem; }

    /* Pie card + table card — already stack to single column at 720px (.app-bottom-row above) */
    .app-pie-card, .app-table-card { padding: 0.7rem 0.85rem 0.85rem; }
}

/* Very small phones — squeeze the mockup further */
@media (max-width: 420px) {
    .app-topbar { grid-template-columns: 100px 1fr; height: 50px; }
    img.app-topbar-logo { height: 26px; }
    .app-tile-row { gap: 0.45rem; }
    .app-tile .val { font-size: 1.1rem; }
}

/* ---------- Module grid (light platform showcase) ---------- */
.module-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    max-width: 720px;
    margin: 0 auto;
}
.module {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1.1rem 0.85rem;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 14px;
    text-align: center;
    transition: border-color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
    min-height: 96px;
}
.module:hover {
    border-color: var(--brand-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.module svg { width: 22px; height: 22px; color: var(--brand-900); flex-shrink: 0; }
.module span { font-size: 0.8125rem; font-weight: 600; color: var(--ink); line-height: 1.25; }

@media (max-width: 700px) {
    .module-grid { grid-template-columns: repeat(2, 1fr); }
    .module { min-height: 80px; padding: 0.85rem 0.65rem; }
    .module span { font-size: 0.75rem; }
}

/* Bottom row: pie chart + table side-by-side */
.app-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 0.6rem;
}
@media (max-width: 720px) {
    .app-bottom-row { grid-template-columns: 1fr; }
}

.app-pie-card, .app-table-card {
    background: #fff;
    border: 1px solid var(--hairline-soft);
    border-radius: 8px;
    padding: 0.85rem 1rem 0.95rem;
}

.pie-wrap {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-top: 0.85rem;
    padding: 0.4rem 0;
}
.pie {
    width: 130px;
    height: 130px;
    display: block;
    flex-shrink: 0;
}
.pie-legend {
    list-style: none;
    margin: 0; padding: 0;
    font-size: 0.8rem;
    color: var(--ink);
    display: grid; gap: 0.5rem;
    align-content: center;
}
.pie-legend li {
    display: flex; align-items: center; gap: 0.55rem;
    margin: 0;
    line-height: 1.2;
}
.pie-legend .dot {
    width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0;
}
.pie-legend em {
    margin-left: auto;
    font-style: normal; font-weight: 700; color: var(--brand-900);
    font-variant-numeric: tabular-nums;
}

.app-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.78rem;
}
.app-table th, .app-table td {
    padding: 0.42rem 0.4rem;
    border-bottom: 1px solid var(--hairline-soft);
    text-align: left;
}
.app-table th {
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.65rem;
}
.app-table th:nth-child(2) { text-align: right; }
.app-table td:nth-child(2) {
    text-align: right;
    font-weight: 700;
    color: var(--brand-900);
    font-variant-numeric: tabular-nums;
}
.app-table tbody tr:last-child td { border-bottom: 0; }

/* Folder-group: parent wraps folder + its children */
.app-side .folder-group {
    margin-top: 0.15rem;
}
.app-side .folder-group > .folder-children {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}
.app-side .folder-group.open > .folder-children {
    max-height: 320px;
    opacity: 1;
}

.app-mockup { user-select: none; }

/* ============================================================
   PERFORMANCE — skip rendering offscreen sections.
   Major scroll-jank reduction on long marketing pages.
   The hero stays normal (above the fold); only later sections
   get content-visibility so the browser can defer their layout
   and paint until they approach the viewport.
   ============================================================ */
.section,
.section-tight,
.showcase,
.hero-stage {
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px;
}
/* The first hero stage is above-the-fold on some layouts — keep it visible */
.hero + .hero-stage {
    content-visibility: visible;
}
/* Footer is short, no need to defer */
.footer {
    content-visibility: visible;
}

/* ============================================================
   MOBILE POLISH — phones (≤600px) and tiny phones (≤380px)
   Targets: iPhone SE 320, iPhone 14/15 393, Samsung 360–412,
   Pixel 412. iPad (768–1024) already handled by mid-breakpoints.
   ============================================================ */
@media (max-width: 600px) {
    /* Tap targets — Apple HIG / WCAG: 44px minimum */
    .btn { padding: 0.95rem 1.25rem; }
    .btn-large { padding: 1.05rem 1.4rem; font-size: 1rem; }
    .btn-row { gap: 0.6rem; }
    .btn-row .btn { flex: 1 1 auto; }

    /* Operator prompt chips — reduce so they wrap cleanly */
    .prompt { padding: 0.4rem 0.7rem; font-size: 0.8125rem; }
    .prompt-rail { gap: 0.4rem 0.45rem; margin-top: 1rem; }

    /* Rich card — reduce padding so content has room on 320px */
    .rich-card { padding: 1.1rem 1rem; border-radius: 16px; }
    .hero-card-head { padding-bottom: 0.6rem; margin-bottom: 0.85rem; }
    .chat-bubble { font-size: 0.9rem; padding: 0.6rem 0.75rem; }
    .chat-bubble.ai { padding: 0.75rem 0.85rem; }
    .ai-narrative { font-size: 0.875rem; }
    .chat-avatar { width: 28px; height: 28px; }
    .chat-tool { font-size: 0.6875rem; padding: 0.18rem 0.45rem; }
    .followups { gap: 0.3rem; }
    .followups .followup { font-size: 0.75rem; padding: 0.32rem 0.55rem; }

    /* Rich stats labels — tighter on small screens */
    .rich-stats { gap: 0.4rem; }
    .rich-stats .ms { padding: 0.45rem 0.55rem; }
    .rich-stats .ms-value { font-size: 0.95rem; }

    /* Bars chart — keep tap-friendly while shrinking */
    .bars { gap: 0.25rem; }
    .bars-axis { font-size: 0.65rem; }

    /* Chain visual — tighten step layout */
    .chain-step { grid-template-columns: 24px 1fr; gap: 0.6rem; padding: 0.45rem 0; }
    .chain-step::before { left: 11px; }
    .chain-step-marker { width: 22px; height: 22px; font-size: 0.65rem; }
    .chain-step-finding { font-size: 0.875rem; }
    .chain-synthesis { padding: 0.8rem 0.9rem; font-size: 0.875rem; }

    /* Section spacing — tighten on phones */
    .section { padding: 3.5rem 0; }
    .section-tight { padding: 2rem 0; }
    .showcase { padding: 3.5rem 0; }

    /* Credibility band — phone padding */
    .cred-band { padding: 1.25rem 1.25rem; gap: 1rem; }
    .cred-band .cred-stat { min-width: 0; padding: 0.85rem 1rem; }
    .cred-band .cred-stat-num { font-size: 1.25rem; }

    /* CTA banner — phone sizing */
    .cta h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .cta p { font-size: 0.9375rem; }

    /* Nav: tighter mobile spacing */
    .nav-inner { padding: 0.75rem 1rem; }
    .nav-cta-group .btn-primary { padding: 0.7rem 1rem; font-size: 0.875rem; }

    /* Container side padding — phones */
    .container { padding-left: 1.1rem; padding-right: 1.1rem; }
}

/* Tiny phones (iPhone SE 320–360px) */
@media (max-width: 380px) {
    .hero-product .hero-copy h1 { font-size: 1.5rem; }
    .stat-strip { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem 0; }
    .stat-strip .num { font-size: 1.5rem; }
    .logo-strip, .logo-wall { gap: 0.5rem; }
    .logo-pill { padding: 0.4rem 0.7rem; font-size: 0.8125rem; }
    .logo-pill img { width: 16px; height: 16px; }
    .module-grid { grid-template-columns: 1fr 1fr; gap: 0.55rem; }
    .module { min-height: 72px; }
}

/* Prevent any accidental horizontal scroll on mobile */
@media (max-width: 900px) {
    html, body { overflow-x: hidden; }
}

/* ============================================================
   TABLET BAND — iPad portrait (768) through Surface (1368).
   Hero is already stacked at <=1100px. These tweaks keep
   grids readable and section pacing tighter than desktop.
   ============================================================ */
@media (min-width: 700px) and (max-width: 1100px) {
    /* Module grid: 4-col is tight at 768px; drop to 3-col on tablets */
    .module-grid { grid-template-columns: repeat(3, 1fr); }

    /* Future-of-operations pillars: 3-col is fine but tightening padding helps */
    .future-pillar { padding: 0.95rem 1rem 1.05rem; }
    .future-pillar-text { font-size: 0.9375rem; }

    /* Section padding: trim vertical air for tablet */
    .section { padding: 4.5rem 0; }
    .showcase { padding: 5rem 0; }

    /* Hero rich card sits full-width on tablets (hero already stacked) */
    .hero-product .hero-rich { max-width: 720px; margin: 0 auto; }
    .hero-product .hero-copy { text-align: center; max-width: 640px; margin: 0 auto; }
    .hero-product .hero-copy h1 { max-width: none; margin-left: auto; margin-right: auto; }
    .hero-product .hero-copy .lede { margin-left: auto; margin-right: auto; }
    .hero-product .hero-copy .btn-row { justify-content: center; }
    .hero-product .hero-copy .eyebrow { justify-content: center; }

    /* Chain visual: keep marker column readable */
    .chain-step-finding { font-size: 0.9rem; }
}

