/**
 * NOVAI SYSTEMS — Website 2026
 * Design system built on the official palette (Black #0A0A0A, Deep Blue #122238,
 * Electric Blue #3A7BFF, Aqua #00C2FF) and type (Inter, IBM Plex Sans/Serif).
 */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Serif:ital,wght@0,400;0,500;1,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
    color-scheme: dark;

    /* Official Novai Systems palette */
    --novai-black: #0A0A0A;
    --novai-deep-blue: #122238;
    --novai-electric-blue: #3A7BFF;
    --novai-aqua: #00C2FF;
    --novai-white: #FFFFFF;
    --novai-grey-2: #C6CBD2;
    --novai-signal-green: #00D47A;
    --novai-warning-amber: #F9A825;

    /* Semantic */
    --bg: #07090D;
    --bg-raised: #0D1320;
    --bg-card: rgba(18, 34, 56, 0.55);
    --bg-card-solid: #101A2A;
    --line: rgba(198, 203, 210, 0.12);
    --line-strong: rgba(198, 203, 210, 0.22);
    --text: #F4F6F9;
    --text-2: #AEB6C2;
    --text-3: #939DAC;
    --accent: var(--novai-electric-blue);
    --accent-2: var(--novai-aqua);
    --good: var(--novai-signal-green);
    --gradient: linear-gradient(120deg, #3A7BFF 0%, #00C2FF 100%);

    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    --container: 1180px;
    --gutter: 20px;
    --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
    font-family: 'IBM Plex Sans', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--text);
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; }
p { color: var(--text-2); }
strong { color: var(--text); font-weight: 600; }

.serif { font-family: 'IBM Plex Serif', Georgia, serif; font-weight: 400; }
.grad {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 1000;
    background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-alt { background: linear-gradient(180deg, rgba(18, 34, 56, 0.35), rgba(18, 34, 56, 0) 70%); }
.divider { border-top: 1px solid var(--line); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--accent-2); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { font-size: 1.1rem; margin-top: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 900;
    height: var(--header-h);
    background: rgba(7, 9, 13, 0.92);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-header {
        background: rgba(7, 9, 13, 0.72);
        -webkit-backdrop-filter: saturate(160%) blur(14px);
        backdrop-filter: saturate(160%) blur(14px);
    }
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
    width: 34px; height: 34px; border-radius: 9px;
    background: var(--gradient);
    display: grid; place-items: center;
    font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; color: #fff; font-size: 1.05rem;
    box-shadow: 0 0 24px rgba(58, 123, 255, 0.35);
}
.brand-name { font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; letter-spacing: 0.06em; font-size: 0.95rem; }
.brand-name span { font-weight: 400; color: var(--text-2); }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
    font-size: 0.88rem; font-weight: 500; color: var(--text-2);
    padding: 8px 11px; border-radius: 8px; transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.main-nav a[aria-current="page"] { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
    display: none;
    width: 42px; height: 42px; border-radius: 10px;
    background: transparent; border: 1px solid var(--line-strong); color: var(--text);
    cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

.mobile-panel {
    display: none;
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 899;
    background: var(--bg);
    padding: 20px var(--gutter) 40px;
    overflow-y: auto;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
    display: block; padding: 15px 4px; font-size: 1.1rem; font-weight: 500;
    border-bottom: 1px solid var(--line);
}
.mobile-panel .btn { margin-top: 24px; width: 100%; }

/* Desktop windows too narrow for one row (or zoomed in): keep the links on
   show in a second row under the logo and button. Below 768px: menu button. */
@media (min-width: 768px) and (max-width: 1159px) {
    :root { --header-h: 108px; }
    .header-inner { flex-wrap: wrap; align-content: center; row-gap: 6px; }
    .main-nav { order: 3; flex-basis: 100%; margin-left: -11px; }
}
@media (max-width: 767px) {
    .main-nav, .header-cta .btn-ghost { display: none; }
    .menu-toggle { display: inline-flex; }
}
@media (max-width: 480px) {
    .header-cta .btn-primary { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 600; font-size: 0.95rem;
    padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
    cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 6px 24px rgba(58, 123, 255, 0.35); }
.btn-primary:hover { box-shadow: 0 8px 32px rgba(0, 194, 255, 0.45); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: rgba(0, 194, 255, 0.5); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { color: var(--accent-2); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: '→'; transition: transform 0.15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero-v2 { position: relative; padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 8vw, 104px); overflow: hidden; }
.hero-v2::before {
    content: ''; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
    background: radial-gradient(closest-side, rgba(58, 123, 255, 0.18), transparent 70%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; position: relative; }
.hero-v2 h1 { font-size: clamp(2.2rem, 4.1vw, 3.45rem); line-height: 1.1; }
.br-wide { display: none; }
@media (min-width: 1100px) { .br-wide { display: inline; } }
.hero-v2 h1 { margin-bottom: 22px; }
.hero-v2 .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 600px; margin-bottom: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 0.88rem; color: var(--text-3); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(0, 212, 122, 0.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 212, 122, 0.45); } 70% { box-shadow: 0 0 0 9px rgba(0, 212, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 212, 122, 0); } }

.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 48px); position: relative; overflow: hidden; }
.page-hero::before {
    content: ''; position: absolute; top: -40%; right: -10%; width: 60%; height: 140%;
    background: radial-gradient(closest-side, rgba(0, 194, 255, 0.12), transparent 70%); pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 900px; }
.page-hero .lead { font-size: 1.15rem; max-width: 720px; margin-top: 20px; }

/* Mind-and-edges illustration */
.mind { width: 100%; max-width: 440px; margin-left: auto; aspect-ratio: 1; }
.mind .edge-line { stroke: rgba(198, 203, 210, 0.18); stroke-width: 1; }
.mind .pulse-line { stroke: url(#mindGrad); stroke-width: 1.6; stroke-dasharray: 6 120; animation: flow 3.6s linear infinite; }
.mind .node { fill: #0D1320; stroke: rgba(0, 194, 255, 0.55); stroke-width: 1.2; }
.mind .node-label { fill: var(--text-2); font: 500 10.5px 'Inter', sans-serif; }
.mind .core { fill: url(#coreGrad); }
.mind .core-ring { fill: none; stroke: rgba(58, 123, 255, 0.35); stroke-width: 1; transform-origin: 240px 240px; animation: ring 6s ease-in-out infinite; }
@keyframes flow { to { stroke-dashoffset: -126; } }
@keyframes ring { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.08); opacity: 0.35; } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    position: relative;
    background: var(--bg-card-solid);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .card { background: var(--bg-card); }
}
.card:hover { border-color: var(--line-strong); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.97rem; }
.card .icon {
    width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
    display: grid; place-items: center;
    background: rgba(58, 123, 255, 0.12); border: 1px solid rgba(58, 123, 255, 0.3); color: var(--accent-2);
}
.card .icon svg { width: 22px; height: 22px; }

.system-card { display: flex; flex-direction: column; padding: 30px; overflow: hidden; }
.system-card::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gradient); opacity: 0.85;
}
.system-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.system-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.system-name { font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; }
.system-sub { font-size: 0.85rem; color: var(--text-3); margin-top: -12px; margin-bottom: 16px; }
.system-card .promise { font-size: 1.05rem; color: var(--text); margin-bottom: 14px; }
.system-card .actions { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }

.badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em;
    padding: 5px 10px; border-radius: 999px;
    background: rgba(0, 212, 122, 0.1); color: var(--good); border: 1px solid rgba(0, 212, 122, 0.3);
    white-space: nowrap;
}
.badge.blue { background: rgba(58, 123, 255, 0.12); color: #8DB3FF; border-color: rgba(58, 123, 255, 0.35); }
.badge.amber { background: rgba(249, 168, 37, 0.1); color: var(--novai-warning-amber); border-color: rgba(249, 168, 37, 0.3); }
.badge.grey { background: rgba(198, 203, 210, 0.08); color: var(--text-2); border-color: var(--line-strong); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Facts list inside cards */
.facts { display: grid; gap: 14px; margin-top: 6px; }
.fact { display: grid; grid-template-columns: 74px 1fr; gap: 12px; font-size: 0.92rem; }
.fact dt { color: var(--text-3); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 3px; }
.fact dd { color: var(--text-2); }

/* Tier ladder */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; counter-reset: tier; }
.rung { position: relative; padding: 22px 20px 4px 0; }
.rung::before {
    content: ''; position: absolute; top: 6px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, rgba(58, 123, 255, 0.6), rgba(0, 194, 255, 0.25));
}
.rung::after {
    content: ''; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--accent-2);
}
.rung.now::after { background: var(--accent-2); box-shadow: 0 0 0 5px rgba(0, 194, 255, 0.18); }
.rung .tier-no { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); }
.rung h3 { font-size: 1.02rem; margin: 6px 0 6px; }
.rung p { font-size: 0.9rem; }

/* Agent catalogue */
.agent { display: flex; flex-direction: column; }
.agent .agent-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.agent .actions { margin-top: auto; padding-top: 18px; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
.step { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(13, 19, 32, 0.6); }
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    display: block; font-family: 'IBM Plex Sans', sans-serif; font-weight: 600; font-size: 0.9rem;
    color: var(--accent-2); margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.93rem; }

/* Checked list */
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 32px; color: var(--text-2); }
.checks li::before {
    content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px;
    background: rgba(0, 212, 122, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D47A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
    border: 1px solid rgba(0, 212, 122, 0.35);
}

/* Values */
.value { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 18px; }
.value .num { font-family: 'IBM Plex Serif', serif; font-size: 1.6rem; color: var(--accent-2); line-height: 1; }
.value h3 { margin-bottom: 6px; }

/* Quote */
.pullquote {
    font-family: 'IBM Plex Serif', Georgia, serif; font-style: italic;
    font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.35; color: var(--text);
    max-width: 880px;
}
.pullquote cite { display: block; margin-top: 18px; font-family: 'Inter', sans-serif; font-style: normal; font-size: 0.92rem; color: var(--text-3); }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.diff { width: 100%; border-collapse: collapse; min-width: 640px; }
table.diff th, table.diff td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
table.diff th { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-weight: 600; background: rgba(18, 34, 56, 0.45); }
table.diff tr:last-child td { border-bottom: none; }
table.diff td:first-child { color: var(--text); font-weight: 600; width: 30%; }
table.diff td { color: var(--text-2); }

/* Band CTA */
.cta-band {
    position: relative; overflow: hidden;
    border-radius: 24px; padding: clamp(36px, 6vw, 64px);
    background: linear-gradient(135deg, rgba(58, 123, 255, 0.22), rgba(0, 194, 255, 0.08)), var(--bg-card-solid);
    border: 1px solid rgba(58, 123, 255, 0.35);
}
.cta-band h2 { max-width: 720px; }
.cta-band p { max-width: 640px; margin: 14px 0 28px; font-size: 1.08rem; }
/* Medida band: text beside a picture of the demo */
.medida-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.medida-band .mb-shot { display: block; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); }
.medida-band .mb-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .medida-band { grid-template-columns: 1fr; } }

/* Founder */
.founder { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
.founder img { border-radius: 20px; border: 1px solid var(--line); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.career { display: grid; gap: 0; margin-top: 8px; }
.career div { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 16px; }
.career strong { font-size: 0.98rem; }
.career span { color: var(--text-2); font-size: 0.95rem; }

/* Social */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-strong);
    font-size: 0.9rem; font-weight: 500; color: var(--text); background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.15s;
}
.social a:hover { border-color: rgba(0, 194, 255, 0.5); }
.social svg { width: 17px; height: 17px; }
.social small { color: var(--text-3); font-size: 0.78rem; }

/* Forms */
.form-card { padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
label .req { color: var(--accent-2); }
input, select, textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--text);
    background: #0B111C; border: 1px solid var(--line-strong); border-radius: 10px;
    padding: 12px 14px; transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.15); }
.form-note { font-size: 0.85rem; color: var(--text-3); margin-top: 14px; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: 0.95rem; }
.form-status.ok { display: block; background: rgba(0, 212, 122, 0.1); border: 1px solid rgba(0, 212, 122, 0.35); color: #9BF0C9; }
.form-status.err { display: block; background: rgba(249, 168, 37, 0.1); border: 1px solid rgba(249, 168, 37, 0.35); color: #FFD28A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-side { display: grid; gap: 18px; align-content: start; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line svg { width: 20px; height: 20px; color: var(--accent-2); flex-shrink: 0; margin-top: 3px; }

/* Prose pages (legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text-2); margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 12px; }
.prose a, .form-note a, p a:not(.btn):not(.link-arrow) { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid .footer-h { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; font-family: 'Inter', sans-serif; }
.footer-grid a { display: block; color: var(--text-2); font-size: 0.92rem; padding: 4px 0; }
.footer-grid a:hover { color: var(--text); }
.footer-tag { margin-top: 14px; font-size: 0.92rem; max-width: 300px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.84rem; color: var(--text-3); }
.footer-bottom nav { display: flex; gap: 18px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Contact and strengths layouts */
.contact-grid { grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.grid-strengths { grid-template-columns: repeat(6, 1fr); }
.grid-strengths > * { grid-column: span 2; }
.grid-strengths > :nth-child(4) { grid-column: 2 / span 2; }
.grid-strengths > :nth-child(5) { grid-column: 4 / span 2; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps, .steps.steps-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .mind { max-width: 340px; margin: 8px auto 0; }
    .grid-3 { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .grid-strengths { grid-template-columns: 1fr 1fr; }
    .grid-strengths > *, .grid-strengths > :nth-child(4), .grid-strengths > :nth-child(5) { grid-column: auto; }
    .ladder { grid-template-columns: 1fr 1fr; row-gap: 12px; }
    .founder { grid-template-columns: 1fr; }
    .founder img { max-width: 340px; }
}
@media (max-width: 640px) {
    :root { --gutter: 16px; }
    .grid-2, .grid-4, .steps, .steps.steps-3, .form-grid, .grid-strengths { grid-template-columns: 1fr; }
    .ladder { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .career div { grid-template-columns: 1fr; gap: 4px; }
    .fact { grid-template-columns: 1fr; gap: 2px; }
    .card { padding: 22px; }
    .btn-row .btn { width: 100%; }
}

/* Checkboxes and radios keep their native size inside the long-form pages */
input[type="checkbox"], input[type="radio"] { width: auto; padding: 0; accent-color: var(--accent); }

/* Long-form pages (Assessment, Intake) keep their own form layout under the new header */
.legacy-form-page .section { padding-top: clamp(40px, 6vw, 72px) !important; }
.legacy-form-page h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 14px; }
.legacy-form-page h2 { font-size: clamp(1.3rem, 2.1vw, 1.6rem); margin: 8px 0 18px; }
.legacy-form-page .form-section-title { font-size: 1.2rem; }

/* ---------- Novai Assistant (site chat) ---------- */
.nsl-asst-launcher {
    position: fixed; right: 24px; bottom: 24px; z-index: 99990;
    width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--gradient); color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 10px 30px rgba(58, 123, 255, 0.45);
    transition: transform 0.15s, box-shadow 0.2s;
}
.nsl-asst-launcher:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0, 194, 255, 0.5); }
.nsl-asst-launcher svg { width: 26px; height: 26px; }
.nsl-asst {
    position: fixed; right: 24px; bottom: 98px; z-index: 99991;
    width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 130px));
    display: flex; flex-direction: column;
    background: #0B111C; border: 1px solid var(--line-strong); border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); overflow: hidden;
}
.nsl-asst[hidden] { display: none; }
.nsl-asst-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgba(58, 123, 255, 0.18), rgba(0, 194, 255, 0.06)); }
.nsl-asst-title { display: flex; align-items: center; gap: 11px; }
.nsl-asst-title strong { display: block; font-size: 0.98rem; }
.nsl-asst-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--gradient); display: grid; place-items: center; font-weight: 700; font-family: 'IBM Plex Sans', sans-serif; }
.nsl-asst-status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--text-2); }
.nsl-asst-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.nsl-asst-close { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.nsl-asst-close svg { width: 16px; height: 16px; }
.nsl-asst-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.nsl-asst-msg { display: flex; flex-direction: column; gap: 8px; max-width: 88%; }
.nsl-asst-msg.is-user { align-self: flex-end; align-items: flex-end; }
.nsl-asst-msg.is-bot { align-items: flex-start; }
.nsl-asst-bubble { padding: 10px 14px; border-radius: 14px; font-size: 0.93rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.is-bot .nsl-asst-bubble { background: rgba(18, 34, 56, 0.9); border: 1px solid var(--line); color: var(--text); border-top-left-radius: 4px; }
.is-user .nsl-asst-bubble { background: #2459D6; color: #fff; border-top-right-radius: 4px; }
.nsl-asst-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nsl-asst-action { font-size: 0.82rem; font-weight: 600; color: var(--accent-2); border: 1px solid rgba(0, 194, 255, 0.4); border-radius: 999px; padding: 6px 12px; }
.nsl-asst-action:hover { background: rgba(0, 194, 255, 0.1); }
.nsl-asst-typing { display: inline-flex; gap: 5px; align-items: center; }
.nsl-asst-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: nsl-dot 1.2s infinite ease-in-out; }
.nsl-asst-typing span:nth-child(2) { animation-delay: 0.15s; }
.nsl-asst-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes nsl-dot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.nsl-asst-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.nsl-asst-chips[hidden] { display: none; }
.nsl-asst-chip { font: inherit; font-size: 0.82rem; color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 12px; cursor: pointer; text-align: left; }
.nsl-asst-chip:hover { border-color: rgba(0, 194, 255, 0.5); }
.nsl-asst-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.nsl-asst-form input { flex: 1; border-radius: 12px; padding: 11px 13px; font-size: 0.95rem; }
.nsl-asst-send { width: 44px; border: 0; border-radius: 12px; background: var(--gradient); color: #fff; cursor: pointer; display: grid; place-items: center; }
.nsl-asst-send:disabled { opacity: 0.5; cursor: default; }
.nsl-asst-send svg { width: 18px; height: 18px; }
.nsl-asst-foot { font-size: 0.74rem; color: var(--text-3); padding: 0 16px 12px; }
.nsl-asst-foot a { color: var(--accent-2); text-decoration: underline; }
@media (max-width: 640px) {
    .nsl-asst { right: 8px; left: 8px; bottom: 88px; width: auto; height: min(70vh, calc(100vh - 110px)); }
    .nsl-asst-launcher { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* ---------- ARIA center stage ---------- */
.aria-band { background: radial-gradient(1200px 500px at 85% 20%, rgba(212, 175, 55, 0.10), transparent 60%), linear-gradient(180deg, rgba(18, 34, 56, 0.45), rgba(18, 34, 56, 0)); border-top: 1px solid var(--line); }
.aria-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.aria-shot { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(212, 175, 55, 0.35); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03); background: #0b0f17; }
.aria-shot img { width: 100%; height: auto; display: block; }
.aria-shot figcaption { font-size: 0.78rem; color: var(--text-3); padding: 10px 14px; border-top: 1px solid var(--line); }
.stat-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.stat-strip div { background: rgba(212, 175, 55, 0.07); border: 1px solid rgba(212, 175, 55, 0.25); border-radius: 12px; padding: 12px 10px; text-align: center; }
.stat-strip b { display: block; font-family: 'IBM Plex Sans', sans-serif; font-size: 1.6rem; color: #E7C35A; line-height: 1.1; }
.stat-strip span { font-size: 0.74rem; color: var(--text-2); }
@media (max-width: 900px) { .aria-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .stat-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Colour and hi-tech layer (Oct 23 2026) ---------- */
:root {
    --violet: #7B61FF;
    --magenta: #FF4FD8;
    --gradient-vivid: linear-gradient(120deg, #3A7BFF 0%, #00C2FF 35%, #7B61FF 70%, #FF4FD8 100%);
}
.grad { background: var(--gradient-vivid); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Aurora light field + circuit grid behind heroes */
.hero-v2::before, .page-hero::before {
    inset: -30% -20% -20% -20%; width: auto; height: auto;
    background:
        radial-gradient(36% 44% at 76% 32%, rgba(123, 97, 255, 0.62), transparent 70%),
        radial-gradient(32% 40% at 60% 64%, rgba(0, 194, 255, 0.5), transparent 70%),
        radial-gradient(28% 34% at 92% 72%, rgba(255, 79, 216, 0.45), transparent 70%),
        radial-gradient(24% 30% at 16% 12%, rgba(58, 123, 255, 0.4), transparent 70%),
        radial-gradient(22% 26% at 40% 90%, rgba(0, 212, 122, 0.18), transparent 70%);
    filter: saturate(1.2);
    animation: aurora 18s ease-in-out infinite alternate;
}
.page-hero::before { opacity: 0.8; }
.hero-v2::after, .page-hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 194, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 194, 255, 0.1) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%);
}
.hero-v2 > .container, .page-hero > .container { position: relative; z-index: 1; }
@keyframes aurora {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-3%, 2%, 0) scale(1.06); }
    100% { transform: translate3d(2%, -2%, 0) scale(1.02); }
}
.mind .node { stroke: rgba(123, 97, 255, 0.7); }
.mind .core-ring { stroke: rgba(255, 79, 216, 0.4); }

/* Coloured glow on alternate sections */
.section-alt { position: relative; overflow: hidden; }
.section-alt::before {
    content: ''; position: absolute; inset: -20% -10% auto auto; width: 55%; height: 80%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(123, 97, 255, 0.12), transparent 70%);
}
.section-alt > .container { position: relative; }

/* Screenshots */
.shot {
    margin: 0 0 20px; border-radius: 12px; overflow: hidden; position: relative;
    aspect-ratio: 16 / 10; background: #0B1120;
    border: 1px solid transparent;
    background-image: linear-gradient(#0B1120, #0B1120), var(--gradient-vivid);
    background-origin: border-box; background-clip: padding-box, border-box;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(123, 97, 255, 0.12);
    transition: box-shadow 0.25s, transform 0.25s;
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.card:hover .shot { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 32px rgba(0, 194, 255, 0.22); transform: translateY(-2px); }
/* "See it" thumbnails (Our view, Analytics card) */
.see-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.see-thumbs a { color: inherit; text-decoration: none; font-size: 0.86rem; font-weight: 600; line-height: 1.3; }
.see-thumbs .shot { margin: 0 0 8px; }
.see-thumbs a:hover .shot, .see-thumbs a:focus-visible .shot { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 32px rgba(0, 194, 255, 0.22); transform: translateY(-2px); }
.see-thumbs a:hover span { text-decoration: underline; }
.system-card .shot { margin: -30px -30px 22px; border-radius: 0; aspect-ratio: 16 / 9; border-width: 0 0 1px; }
.shot-art {
    display: grid; place-items: center;
    background-image:
        radial-gradient(60% 70% at 30% 30%, rgba(123, 97, 255, 0.45), transparent 70%),
        radial-gradient(60% 70% at 75% 70%, rgba(0, 194, 255, 0.38), transparent 70%),
        radial-gradient(40% 50% at 85% 20%, rgba(255, 79, 216, 0.3), transparent 70%),
        linear-gradient(#0B1120, #0B1120);
}
.shot-art::after {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}
.shot-art .icon { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 18px; margin: 0;
    display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(6px); }
.shot-art .icon svg { width: 30px; height: 30px; }
.suite-card { display: flex; flex-direction: column; padding: 22px; }
.suite-card .eyebrow { margin-bottom: 6px; }
.suite-card p { flex: 1; margin-bottom: 14px; }
.system-card::before { background: var(--gradient-vivid); height: 3px; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
    .hero-v2::before, .page-hero::before { animation: none; }
    .card:hover .shot { transform: none; }
}

.mind .core { filter: drop-shadow(0 0 28px rgba(123, 97, 255, 0.65)) drop-shadow(0 0 60px rgba(0, 194, 255, 0.35)); }
.mind .node { fill: rgba(13, 19, 32, 0.85); }

/* Pull quote */
.pull-quote { margin: 44px auto 0; max-width: 880px; text-align: center; position: relative; padding: 34px 28px 30px;
    border-radius: 20px; border: 1px solid transparent;
    background-image: linear-gradient(rgba(12, 18, 32, 0.92), rgba(12, 18, 32, 0.92)), var(--gradient-vivid);
    background-origin: border-box; background-clip: padding-box, border-box;
    box-shadow: 0 0 60px rgba(123, 97, 255, 0.18); }
.pull-quote::before { content: '\201C'; position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
    font: 700 72px/1 Georgia, serif; background: var(--gradient-vivid); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pull-quote blockquote { margin: 0; }
.pull-quote p { font-size: clamp(1.4rem, 3vw, 2.05rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.pull-quote figcaption { margin-top: 14px; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); }

/* Operations org chart */
.org { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.org-tier { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 34px; }
.org-tier:first-child { padding-top: 0; }
.org-tier:not(:first-child)::before { content: ''; position: absolute; top: 0; left: 50%; width: 2px; height: 34px; margin-left: -1px;
    background: linear-gradient(#7B61FF, #00C2FF); }
.org-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #A9B6C8;
    padding: 2px 10px; margin-bottom: 10px; position: relative; z-index: 1; }
.org-row { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 14px; width: 100%; padding-top: 18px; }
.org-row[style*="--n:1"] { max-width: 420px; }
.org-row[style*="--n:2"] { max-width: 720px; }
.org-row::before { content: ''; position: absolute; top: 0; height: 2px; background: rgba(127, 211, 255, 0.55);
    left: calc((100% - (var(--n) - 1) * 14px) / var(--n) / 2); right: calc((100% - (var(--n) - 1) * 14px) / var(--n) / 2); }
.org-node { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 15px; border-radius: 14px; text-align: center;
    background: rgba(16, 26, 44, 0.82); border: 1px solid rgba(127, 211, 255, 0.28); color: inherit; text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.org-node::before { content: ''; position: absolute; top: -18px; left: 50%; width: 2px; height: 18px; margin-left: -1px; background: rgba(127, 211, 255, 0.55); }
a.org-node:hover, a.org-node:focus-visible { border-color: #00C2FF; box-shadow: 0 0 26px rgba(0, 194, 255, 0.25); transform: translateY(-2px); }
.org-node b { font-size: 1.02rem; color: #fff; }
.org-role { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9FE4FF; }
.org-does { font-size: 0.86rem; line-height: 1.4; color: #B9C6D8; }
.org-people .org-node { background: rgba(212, 175, 55, 0.1); border-color: rgba(231, 195, 90, 0.5); }
.org-people .org-role { color: #E7C35A; }
.org-command .org-node { background: linear-gradient(135deg, rgba(0, 194, 255, 0.18), rgba(123, 97, 255, 0.24)); border-color: rgba(123, 97, 255, 0.7); }
.org-command .org-node b { font-size: 1.25rem; }
.org-back .org-role { color: #CFC6FF; }
.org-front .org-node { border-color: rgba(59, 227, 160, 0.4); }
.org-front .org-role { color: #9CF2CD; }
.org-public .org-row { max-width: 360px; }
.org-public .org-node { background: transparent; border-style: dashed; }
.org-key { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 26px 0 0; padding: 0; font-size: 0.9rem; color: #B9C6D8; }
.org-key b { color: #9FE4FF; margin-right: 6px; }
@media (max-width: 900px) {
    .org-back .org-row, .org-front .org-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .org-row::before, .org-node::before { display: none; }
    .org-row { padding-top: 0; }
}
@media (max-width: 520px) {
    .org-row, .org-back .org-row, .org-front .org-row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { a.org-node:hover, a.org-node:focus-visible { transform: none; } }
.aria-shot { aspect-ratio: auto; margin: 0 0 4px; }
.aria-shot img { height: auto; }
.aria-shot figcaption { position: absolute; right: 10px; bottom: 10px; font-size: 0.72rem; color: #E6EDF7; background: rgba(0, 0, 0, 0.55); padding: 3px 9px; border-radius: 99px; }


/* ---- Lighter canvas + colour vibration (Oct 23) ---- */
:root { --bg: #0B1426; --bg-raised: #111D33; --bg-card: rgba(24, 42, 70, 0.55); --bg-card-solid: #14223A; }
body { background: var(--bg); }
body::before {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(40% 35% at 0% 18%, rgba(58, 123, 255, 0.20), transparent 70%),
        radial-gradient(38% 34% at 100% 42%, rgba(123, 97, 255, 0.20), transparent 70%),
        radial-gradient(36% 30% at 4% 78%, rgba(0, 194, 255, 0.15), transparent 70%),
        radial-gradient(34% 30% at 96% 96%, rgba(255, 79, 216, 0.13), transparent 70%),
        linear-gradient(180deg, #0B1426 0%, #0E1830 50%, #0B1426 100%);
    animation: vibe 28s ease-in-out infinite alternate;
}
@keyframes vibe { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(-18deg); } }
.site-header { background: rgba(11, 20, 38, 0.92); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .site-header { background: rgba(11, 20, 38, 0.7); } }
.section-alt { background: linear-gradient(180deg, rgba(30, 52, 88, 0.45), rgba(30, 52, 88, 0.08) 75%); }
/* hairline gradient between sections */
.section + .section::after, .section-tight + .section::after {
    content: ''; position: absolute; top: 0; left: 50%; width: min(var(--container), 90%); height: 1px; transform: translateX(-50%); pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.35), rgba(123, 97, 255, 0.35), rgba(255, 79, 216, 0.25), transparent);
}
/* gutter glow on plain sections so wide screens are not empty */
.section:not(.section-alt):not(.data-lines):not(.section-light) { background:
    radial-gradient(28% 60% at 0% 50%, rgba(0, 194, 255, 0.07), transparent 70%),
    radial-gradient(28% 60% at 100% 50%, rgba(123, 97, 255, 0.08), transparent 70%); }
.card { border-color: rgba(127, 211, 255, 0.14); }
.card:hover { border-color: rgba(127, 211, 255, 0.32); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 28px rgba(58, 123, 255, 0.12); }

/* abstract data lines behind sections that talk about data */
.data-lines { position: relative; overflow: hidden; }
.data-lines > .container { position: relative; z-index: 1; }
.data-lines .data-wave {
    position: absolute; left: -10%; right: -10%; top: 50%; height: 560px; transform: translateY(-50%); pointer-events: none; opacity: 0.55;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600' preserveAspectRatio='none'><defs><linearGradient id='a' x1='0' x2='1'><stop offset='0' stop-color='%2300C2FF' stop-opacity='0'/><stop offset='.3' stop-color='%2300C2FF'/><stop offset='.7' stop-color='%237B61FF'/><stop offset='1' stop-color='%23FF4FD8' stop-opacity='0'/></linearGradient><linearGradient id='b' x1='0' x2='1'><stop offset='0' stop-color='%233A7BFF' stop-opacity='0'/><stop offset='.4' stop-color='%233A7BFF'/><stop offset='.8' stop-color='%2300C2FF'/><stop offset='1' stop-color='%2300C2FF' stop-opacity='0'/></linearGradient><linearGradient id='c' x1='0' x2='1'><stop offset='0' stop-color='%237B61FF' stop-opacity='0'/><stop offset='.5' stop-color='%23FF4FD8'/><stop offset='1' stop-color='%237B61FF' stop-opacity='0'/></linearGradient></defs><path d='M0 360 C180 300 300 420 480 350 S780 250 960 320 S1260 420 1440 330' fill='none' stroke='url%28%23a%29' stroke-width='1.6' opacity='0.55'/><path d='M0 400 C200 360 320 460 520 400 S820 300 1000 370 S1280 450 1440 380' fill='none' stroke='url%28%23b%29' stroke-width='1.2' opacity='0.4'/><path d='M0 300 C160 260 340 340 500 290 S800 200 980 260 S1300 330 1440 270' fill='none' stroke='url%28%23c%29' stroke-width='1' opacity='0.35'/><path d='M0 450 C240 430 380 500 600 450 S900 380 1080 430 S1320 480 1440 440' fill='none' stroke='url%28%23a%29' stroke-width='0.8' opacity='0.3'/><path d='M0 250 C220 220 360 280 560 240 S860 170 1040 215 S1300 260 1440 225' fill='none' stroke='url%28%23b%29' stroke-width='0.8' opacity='0.25'/><circle cx='480' cy='350' r='3' fill='%2300C2FF' opacity='.7'/><circle cx='960' cy='320' r='3' fill='%237B61FF' opacity='.7'/><circle cx='1260' cy='375' r='2.5' fill='%23FF4FD8' opacity='.7'/><circle cx='300' cy='393' r='2' fill='%233A7BFF' opacity='.7'/><circle cx='1080' cy='430' r='2' fill='%2300C2FF' opacity='.7'/></svg>") center / 100% 100% no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    animation: wave-drift 22s ease-in-out infinite alternate;
}
.data-lines .data-wave + .data-wave { top: 30%; opacity: 0.3; transform: translateY(-50%) scaleY(-1); animation-duration: 30s; }
@keyframes wave-drift { 0% { translate: 0 0; } 100% { translate: 4% -14px; } }
@media (max-width: 700px) { .data-lines .data-wave { height: 380px; opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) { body::before, .data-lines .data-wave { animation: none; } }

/* Security, as it is */
.sentinel { margin-top: 28px; padding: 28px; border-radius: var(--radius); position: relative; overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.10), rgba(123, 97, 255, 0.14) 60%, rgba(255, 79, 216, 0.08));
    border: 1px solid rgba(127, 211, 255, 0.3); }
.sentinel-head h3 { font-size: 1.35rem; margin: 12px 0 8px; }
.sentinel-head p { max-width: 760px; }
.sec-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0 12px; }
.sec-stats div { padding: 16px 14px; border-radius: 12px; background: rgba(11, 20, 38, 0.6); border: 1px solid rgba(127, 211, 255, 0.2); }
.sec-stats b { display: block; font-family: 'IBM Plex Sans', sans-serif; font-size: 1.7rem; line-height: 1.1;
    background: var(--gradient-vivid); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-stats span { display: block; margin-top: 4px; font-size: 0.84rem; color: var(--text-2); }
.sec-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.sec-band .sec-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 900px) { .sec-band { grid-template-columns: 1fr; gap: 28px; } .sec-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.org-back .org-row { gap: 10px; }
.org-back .org-node { padding: 12px 10px 13px; }
.sec-stats b { font-size: 1.02rem; line-height: 1.3; }
.sentinel .sec-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .sentinel .sec-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sentinel .sec-stats, .sec-band .sec-stats { grid-template-columns: minmax(0, 1fr); } }

/* ---- Spark light (Oct 23 evening) ---- */
:root { --bg: #0E1A33; --bg-card: rgba(36, 60, 102, 0.5); --bg-card-solid: #1A2C4C; --text-2: #BCC6D4; --line: rgba(160, 200, 255, 0.16); }
body::before {
    background:
        radial-gradient(45% 38% at 0% 15%, rgba(58, 123, 255, 0.32), transparent 70%),
        radial-gradient(42% 36% at 100% 40%, rgba(123, 97, 255, 0.30), transparent 70%),
        radial-gradient(40% 32% at 3% 75%, rgba(0, 194, 255, 0.24), transparent 70%),
        radial-gradient(38% 32% at 97% 95%, rgba(255, 79, 216, 0.20), transparent 70%),
        linear-gradient(180deg, #0F1C38 0%, #13224A 50%, #0F1C38 100%);
}
.site-header { background: rgba(14, 26, 51, 0.9); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .site-header { background: rgba(14, 26, 51, 0.68); } }
.section { padding: clamp(52px, 6.5vw, 84px) 0; }
.section-alt { background: linear-gradient(180deg, rgba(48, 80, 140, 0.42), rgba(48, 80, 140, 0.10) 80%); }
.section-alt::before { background: radial-gradient(closest-side, rgba(123, 97, 255, 0.24), transparent 70%); }
.card { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 10px 30px rgba(3, 8, 20, 0.25); }
.card::after { content: ''; position: absolute; left: 18px; right: 18px; top: -1px; height: 2px; border-radius: 2px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.8), rgba(123, 97, 255, 0.8), transparent); opacity: 0.55; }
.card .icon { background: linear-gradient(135deg, #3A7BFF, #7B61FF); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(58, 123, 255, 0.35); }
.eyebrow { color: #5FD8FF; }

/* A bright band: light background, dark text */
.section.section-light { background: linear-gradient(135deg, #EAF2FF 0%, #F3EEFF 55%, #E6FAFF 100%); color: #0B1426; overflow: hidden; }
.section-light::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(30% 60% at 0% 0%, rgba(0, 194, 255, 0.22), transparent 70%),
        radial-gradient(30% 60% at 100% 100%, rgba(255, 79, 216, 0.16), transparent 70%); }
.section-light > .container { position: relative; }
.section-light h2, .section-light h3 { color: #0B1426; }
.section-light p { color: #3A4A63; }
.section-light .eyebrow { color: #1F5FD6; }
.section-light .eyebrow::before { background: #1F5FD6; }
.section-light .card { background: #FFFFFF; border-color: rgba(58, 123, 255, 0.18); box-shadow: 0 10px 30px rgba(40, 70, 140, 0.12); }
.section-light .card:hover { border-color: rgba(58, 123, 255, 0.45); box-shadow: 0 14px 40px rgba(40, 70, 140, 0.18); }
.section-light .card::after { opacity: 0.9; }
.section + .section-light::after, .section-light + .section::after { display: none; }

/* WBNSL four-tier growth vision */
.tier-foundation { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px 18px; margin: 6px 0 18px; border-radius: 14px;
    background: linear-gradient(90deg, rgba(0, 194, 255, 0.14), rgba(123, 97, 255, 0.14)); border: 1px solid rgba(127, 211, 255, 0.3); }
.tier-foundation b { color: #9FE4FF; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-right: 8px; }
.tier-foundation span { font-size: 0.9rem; padding: 4px 11px; border-radius: 99px; background: rgba(11, 20, 38, 0.55); border: 1px solid rgba(127, 211, 255, 0.22); color: #E6EDF7; }
.tiers4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; }
.tier4 { --tc: #00C2FF; position: relative; padding: 22px 20px 20px; border-radius: 16px; background: rgba(20, 34, 60, 0.75);
    border: 1px solid rgba(127, 211, 255, 0.18); border-top: 3px solid var(--tc); }
.tier4:nth-child(2) { --tc: #3A7BFF; } .tier4:nth-child(3) { --tc: #7B61FF; } .tier4:nth-child(4) { --tc: #C35CFF; }
.tier4:not(:last-child)::after { content: ''; position: absolute; top: 34px; right: -14px; width: 14px; height: 2px; background: var(--tc); opacity: 0.7; }
.tier4.now { background: linear-gradient(180deg, rgba(0, 194, 255, 0.16), rgba(20, 34, 60, 0.75) 60%); box-shadow: 0 0 30px rgba(0, 194, 255, 0.15); }
.tier4-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tier4-no { font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; font-size: 0.95rem; color: #fff; padding: 4px 10px; border-radius: 8px; background: var(--tc); }
.tier4-when { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #CFE6FF; padding: 3px 9px; border-radius: 99px; border: 1px solid rgba(127, 211, 255, 0.35); }
.tier4.now .tier4-when { color: #0B1426; background: #5FD8FF; border-color: #5FD8FF; font-weight: 700; }
.tier4 h3 { margin: 14px 0 10px; font-size: 1.15rem; }
.tier4 dl { display: grid; gap: 10px; }
.tier4 dt { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #9FB6D6; }
.tier4 dd { margin: 2px 0 0; font-size: 0.9rem; line-height: 1.45; color: #D4DCE8; }
.tier4 dl div:last-child dd { color: #F9D58A; }
@media (max-width: 1000px) { .tiers4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tier4::after { display: none; } }
@media (max-width: 560px) { .tiers4 { grid-template-columns: minmax(0, 1fr); } }

/* ---- Footer finish (Oct 25): tighter gap, quiet data-lines texture, gradient top line, room for floating buttons ---- */
.section-tight:last-of-type { padding-bottom: clamp(40px, 4.5vw, 64px); }
.site-footer { margin-top: 0; padding: 64px 0 112px; position: relative; overflow: hidden; border-top: 0;
    background: linear-gradient(180deg, rgba(20, 36, 68, 0.55), rgba(10, 18, 36, 0.85)); }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(58, 123, 255, 0.8) 20%, rgba(0, 194, 255, 0.8) 50%, rgba(123, 97, 255, 0.7) 80%, transparent); }
.site-footer.data-lines .data-wave { opacity: 0.38; height: 420px; }
.site-footer.data-lines .data-wave + .data-wave { opacity: 0.22; }
@media (max-width: 700px) { .site-footer { padding-bottom: 120px; } .site-footer.data-lines .data-wave { opacity: 0.3; } }

/* ==========================================================================
   Calm pass (Oct 29 2026): one accent, flat surfaces, real proof over decoration.
   Overrides the colour layers above. NSL blue is the only accent; green means Live.
   ========================================================================== */
:root {
    --bg: #13213D; --bg-raised: #182A4A; --bg-card: #1C2F52; --bg-card-solid: #1C2F52;
    --surface-2: #233A62;
    --line: rgba(255, 255, 255, 0.10); --line-strong: rgba(255, 255, 255, 0.20);
    --text: #F2F5F9; --text-2: #C0C9D6; --text-3: #A3AFC2;
    --accent: #3A7BFF; --accent-hover: #2F6AE6; --accent-text: #8DB3FF; --accent-2: #8DB3FF;
    --gradient: linear-gradient(100deg, #6E9DFF 0%, #5CCBFF 100%);
    --gradient-vivid: var(--gradient);
    --radius: 14px;
}
body { background: var(--bg); }
body::before { content: none; display: none; }
.data-lines .data-wave { display: none; }
.hero-v2::before, .hero-v2::after, .page-hero::before, .page-hero::after, .section-alt::before, .section-light::before { content: none; display: none; }
.section + .section::after, .section-tight + .section::after { content: none; display: none; }
.section:not(.section-alt):not(.data-lines):not(.section-light) { background: none; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.aria-band { background: var(--bg-raised); }

/* Type: quiet labels, solid headings, one gradient line in the home hero */
.eyebrow { color: var(--text-3); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: none; font-weight: 600; margin-bottom: 12px; }
.eyebrow::before { content: none; display: none; }
.grad { background: none; color: var(--accent-text); -webkit-background-clip: border-box; background-clip: border-box; }
.hero-v2 h1 .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { letter-spacing: -0.02em; }
.section-head { max-width: 680px; }
.section-head p { font-size: 1.08rem; }

/* Header and brand */
.site-header, .site-header.scrolled { background: rgba(19, 33, 61, 0.95); border-bottom: 1px solid var(--line); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .site-header, .site-header.scrolled { background: rgba(19, 33, 61, 0.85); } }
.brand-mark { background: none; box-shadow: none; border-radius: 9px; overflow: hidden; width: 38px; height: 38px; outline: 1px solid rgba(255,255,255,0.16); outline-offset: -1px; }
.brand-mark svg { display: block; }
.brand-name { letter-spacing: 0.08em; }
.brand-name span { margin-left: 0.1em; }

/* Buttons: solid, no glow, no lift */
.btn:hover { transform: none; }
.btn-primary { background: var(--accent); box-shadow: none; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: none; }
.btn-ghost { background: transparent; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.36); background: rgba(255, 255, 255, 0.03); }
.link-arrow, .prose a, .form-note a, p a:not(.btn):not(.link-arrow) { color: var(--accent-text); }

/* Cards: flat surface, thin border */
.card, .section-light .card { box-shadow: none; }
.card { background: var(--bg-card); border-color: var(--line); }
.card::after { content: none; display: none; }
.card:hover { border-color: var(--line-strong); box-shadow: none; }
.system-card::before { content: none; display: none; }
.system-card:hover { transform: none; box-shadow: none; }
.card .icon { background: rgba(58, 123, 255, 0.12); border: 1px solid rgba(58, 123, 255, 0.24); color: var(--accent-text); box-shadow: none; }
.step { background: var(--bg-card); border-color: var(--line); }
.step::before { color: var(--accent-text); }

/* Screenshots: plain frame */
.shot, .aria-shot { background: #0D1526; background-image: none; border: 1px solid var(--line); box-shadow: none; }
.card:hover .shot { box-shadow: none; transform: none; }
.system-card .shot { border-width: 0 0 1px; }
.shot-art { background-image: none; background: var(--surface-2); }
.shot-art::after { content: none; }
.shot-art .icon { background: rgba(58, 123, 255, 0.14); border-color: rgba(58, 123, 255, 0.3); color: var(--accent-text); backdrop-filter: none; }

/* Hero diagram: alive, in blue only (signals flow out from the core, the ring breathes) */
.mind .node { fill: var(--bg-card); stroke: rgba(141, 179, 255, 0.55); }
.mind .edge-line { stroke: rgba(141, 179, 255, 0.22); }
.mind .pulse-line { stroke-width: 2.4; stroke-dasharray: 10 116; }
.mind .core { filter: drop-shadow(0 0 22px rgba(58, 123, 255, 0.55)); }
.mind .core-ring { stroke: rgba(92, 203, 255, 0.45); stroke-width: 1.5; }
#mindGrad stop:first-child, #coreGrad stop:last-child { stop-color: #3A7BFF; }
#mindGrad stop:last-child, #coreGrad stop:first-child { stop-color: #5CCBFF; }
/* One quiet, static light behind the hero diagram so the top of the page isn't flat black */
.hero-v2 { background: radial-gradient(40% 70% at 78% 45%, rgba(58, 123, 255, 0.16), transparent 70%); }
.hero-meta { list-style: none; gap: 10px 28px; margin-top: 40px; padding: 0; }
.hero-meta li { color: var(--text-3); font-size: 0.92rem; }
.hero-meta b { color: var(--text); font-family: 'IBM Plex Sans', sans-serif; font-size: 1.15rem; margin-right: 4px; }

/* Light band: plain, dark text */
.section.section-light { background: #F4F6FA; color: #0B1426; border: 0; }
.section-light .card { background: #fff; border-color: #E1E6EF; }
.section-light .eyebrow { color: #4A5A73; }
.section-light .link-arrow { color: #1F5FD6; }

/* Quotes, CTA, stats, badges */
.pull-quote { background: none; background-image: none; border: 0; border-left: 3px solid var(--accent); border-radius: 0; box-shadow: none; text-align: left; padding: 6px 0 6px 28px; }
.pull-quote::before { content: none; }
.pull-quote figcaption { color: var(--text-3); letter-spacing: 0.04em; text-transform: none; }
.cta-band { background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 18px; }
.sec-stats b { background: none; color: var(--text); -webkit-background-clip: border-box; background-clip: border-box; }
.sec-stats div { background: var(--bg-card); border-color: var(--line); }
.sentinel { background: var(--bg-card); border-color: var(--line-strong); }
.stat-strip div { background: var(--bg-card); border-color: var(--line); }
.stat-strip b { color: var(--text); }
.badge.blue { color: var(--accent-text); }
.dot-live { animation: none; }

/* Org chart and tiers: one accent */
.org-tier:not(:first-child)::before, .org-row::before, .org-node::before { background: rgba(141, 179, 255, 0.35); }
.org-node, .org-people .org-node, .org-front .org-node { background: var(--bg-card); border-color: var(--line-strong); }
.org-command .org-node { background: rgba(58, 123, 255, 0.14); border-color: rgba(58, 123, 255, 0.6); }
.org-role, .org-people .org-role, .org-back .org-role, .org-front .org-role { color: var(--text-3); }
.org-does { color: var(--text-2); }
.org-key b { color: var(--accent-text); }
a.org-node:hover, a.org-node:focus-visible { border-color: var(--accent); box-shadow: none; transform: none; }
.tier-foundation { background: var(--bg-card); border-color: var(--line); }
.tier-foundation b { color: var(--text-3); }
.tier-foundation span { background: transparent; border-color: var(--line-strong); }
.tier4, .tier4:nth-child(n) { --tc: #3A7BFF; background: var(--bg-card); border-color: var(--line); border-top: 3px solid var(--line-strong); box-shadow: none; }
.tier4.now { --tc: #3A7BFF; border-top-color: var(--accent); background: var(--bg-card); box-shadow: none; }
.tier4-no { background: var(--surface-2); color: var(--text); }
.tier4.now .tier4-no { background: var(--accent); }
.tier4.now .tier4-when { background: var(--accent); border-color: var(--accent); color: #fff; }
.tier4 dl div:last-child dd { color: #D4DCE8; }

/* Footer: plain */
.site-footer { background: var(--bg-raised); border-top: 1px solid var(--line); }
.site-footer::before { content: none; }

/* ---------- Home: compact blocks and diagrams ---------- */
.aria-strip { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 18px; background: var(--bg-raised); }
.aria-strip h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.aria-strip p { margin: 12px 0 22px; }
.aria-strip .aria-shot { margin: 0; }

.process { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; position: relative; }
.process::before { content: ''; position: absolute; top: 22px; left: 12.5%; right: 12.5%; height: 2px; background: #C9D4E6; }
.process-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.process-n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--accent); color: #1F5FD6; font: 700 1.05rem 'IBM Plex Sans', sans-serif; margin-bottom: 10px; position: relative; }
.process-step:first-child .process-n { background: var(--accent); color: #fff; }
.process-step b { color: #0B1426; font-size: 1.05rem; }
.process-step span:last-child { color: #4A5A73; font-size: 0.94rem; max-width: 220px; }

.ops { display: grid; grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 0.7fr) auto minmax(0, 1.25fr) auto minmax(0, 1.25fr); align-items: stretch; gap: 12px; }
.ops-col { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); }
.ops-lead { border-color: rgba(58, 123, 255, 0.6); background: rgba(58, 123, 255, 0.1); }
.ops-k { font-size: 0.8rem; font-weight: 600; color: var(--text-3); }
.ops-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.ops-chips li { font-size: 0.9rem; color: var(--text); padding: 6px 11px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.ops-lead .ops-chips li { font-weight: 600; font-size: 1.05rem; background: transparent; border-color: rgba(58, 123, 255, 0.5); }
.ops-arrow { align-self: center; color: var(--text-3); }
.ops-arrow svg { width: 22px; height: 22px; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); overflow: hidden; transition: border-color 0.15s; }
.tile:hover, .tile:focus-visible { border-color: var(--line-strong); }
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tile b { padding: 0 18px; font-size: 1.02rem; }
.tile span { padding: 0 18px; font-size: 0.92rem; color: var(--text-2); }

.sec-row { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; padding: 0; }
.sec-row li { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 2px solid var(--line-strong); }
.sec-row .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 8px; background: rgba(58, 123, 255, 0.12); border: 1px solid rgba(58, 123, 255, 0.24); color: var(--accent-text); }
.sec-row .icon svg { width: 20px; height: 20px; }
.sec-row b { font-size: 1.02rem; }
.sec-row span:last-child { color: var(--text-2); font-size: 0.94rem; }

.founder-strip { display: grid; grid-template-columns: 160px 1fr; gap: 36px; align-items: center; max-width: 920px; }
.founder-strip img { width: 160px; height: 200px; object-fit: cover; object-position: center top; border-radius: 14px; border: 1px solid var(--line); }
.founder-strip blockquote { font-family: 'IBM Plex Serif', Georgia, serif; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; color: var(--text); margin-bottom: 14px; }
.founder-strip p { margin-bottom: 10px; }

@media (max-width: 1080px) {
    .ops { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ops-arrow { display: none; }
}
@media (max-width: 900px) {
    .aria-strip { grid-template-columns: 1fr; gap: 28px; }
    .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* Five cards: 3 + 2, each row filling the width, so none is left on its own. */
    .sec-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .sec-row li { grid-column: span 2; }
    .sec-row li:nth-child(n+4) { grid-column: span 3; }
    .process { grid-template-columns: 1fr; gap: 20px; }
    .process::before { top: 23px; bottom: 23px; left: 22px; right: auto; width: 2px; height: auto; }
    .process-step { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; text-align: left; align-items: center; }
    .process-n { grid-row: span 2; margin: 0; }
    .process-step span:last-child { max-width: none; }
}
@media (max-width: 560px) {
    .ops, .tiles, .sec-row { grid-template-columns: minmax(0, 1fr); }
    .sec-row li, .sec-row li:nth-child(n+4) { grid-column: auto; }
    .founder-strip { grid-template-columns: 1fr; gap: 20px; }
    .founder-strip img { width: 120px; height: 150px; }
}

/* ---------- One corner button: the assistant; voice call lives inside it ---------- */
#nsl-wb-float { display: none !important; }
#vapiCallBtn:not(.active) { display: none !important; }
.nsl-asst-launcher { width: auto; height: 52px; padding: 0 20px 0 16px; border-radius: 999px; gap: 8px; display: inline-flex; align-items: center;
    background: var(--accent); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); font-weight: 600; font-size: 0.95rem; }
.nsl-asst-launcher:hover { background: var(--accent-hover); transform: none; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.nsl-asst-launcher svg { width: 20px; height: 20px; }
.nsl-asst-launcher.is-open { width: 52px; padding: 0; justify-content: center; }
.nsl-asst-head { background: var(--surface-2); }
.nsl-asst-mark, .nsl-asst-send { background: var(--accent); }
.nsl-asst-talk { display: flex; gap: 8px; padding: 12px 16px 0; }
.nsl-asst-talk button, .nsl-asst-talk a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: inherit; font-size: 0.85rem; font-weight: 600;
    color: var(--text); background: transparent; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.nsl-asst-talk button:hover, .nsl-asst-talk a:hover { border-color: rgba(255, 255, 255, 0.36); }
.nsl-asst-talk svg { width: 15px; height: 15px; }
@media (max-width: 640px) { .nsl-asst-launcher { right: 16px; bottom: 16px; height: 50px; } .nsl-asst-launcher.is-open { width: 50px; } }
@media (max-width: 380px) { .nsl-asst-launcher .nsl-asst-label { display: none; } .nsl-asst-launcher { width: 50px; padding: 0; justify-content: center; } }
@media (min-width: 901px) { .hero-grid { grid-template-columns: 1.35fr 0.65fr; gap: 48px; } .mind { max-width: 380px; } }
.hero-v2 h1 { font-size: clamp(2.2rem, 3.9vw, 3.2rem); }
.aria-strip .aria-shot img { max-height: 340px; object-fit: cover; object-position: top center; }
.tile img, .founder-strip img { height: auto; }
.founder-strip img { height: 200px; }
@media (max-width: 560px) { .founder-strip img { height: 150px; } }
/* Button fill: a deeper NSL blue so white text passes AA (5.2:1); #3A7BFF stays for accents */
:root { --accent-btn: #2563EB; --accent-btn-hover: #1D4ED8; }
.btn-primary, .nsl-asst-launcher, .nsl-asst-send, .process-step:first-child .process-n, .tier4.now .tier4-no, .tier4.now .tier4-when, .brand-mark, .nsl-asst-mark { background: var(--accent-btn); }
.btn-primary:hover, .nsl-asst-launcher:hover { background: var(--accent-btn-hover); }
.legacy-form-page .btn-large { background: var(--accent-btn); box-shadow: none; }

/* Sentinel grid (Oct 30): a 7th card spans the row instead of sitting alone */
.sentinel .sec-stats > div:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
@media (max-width: 900px) { .sentinel .sec-stats > div:last-child:nth-child(3n+1) { grid-column: auto; } .sentinel .sec-stats > div:last-child:nth-child(2n+1) { grid-column: 1 / -1; } }
@media (max-width: 520px) { .sentinel .sec-stats > div:last-child { grid-column: auto; } }

/* Voice desk flow (How we work, #voice) */
.voice-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: vf; }
.voice-flow li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; border-radius: 14px; border: 1px solid rgba(59, 227, 160, 0.4); background: rgba(59, 227, 160, 0.06); counter-increment: vf; }
.voice-flow li::before { content: counter(vf); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: linear-gradient(135deg, #3A7BFF, #00C2FF); color: #fff; }
.voice-flow li b { font-size: 1rem; }
.voice-flow li span { font-size: .92rem; opacity: .85; }
@media (max-width: 900px) { .voice-flow { grid-template-columns: 1fr; } }

/* Our view: where we're going (#vision) — roles strip reads from ORG */
.vision-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vision-layers li { font-size: 0.95rem; color: var(--text-2); line-height: 1.5; }
.vision-layers b { color: var(--text); }
.vision-roles { margin-top: 28px; padding: 24px; border: 1px solid rgba(58, 123, 255, 0.35); border-radius: var(--radius); background: var(--bg-card); display: grid; gap: 18px; }
.vision-roles-head { display: flex; align-items: center; gap: 18px; }
.vision-roles-head h3 { margin: 0 0 4px; }
.vision-roles-head p { margin: 0; font-size: 0.95rem; }
.vision-n { flex: none; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 1.8rem; font-weight: 700; color: #fff; background: var(--accent-btn); }
.vision-group { display: grid; gap: 8px; }
.vision-who { color: var(--accent-2); font-weight: 600; }
.vision-links { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
@media (max-width: 520px) { .vision-roles { padding: 18px; } .vision-n { width: 52px; height: 52px; font-size: 1.5rem; } }
/* Our view #vision: behind-the-scenes agents and email sequences (BACKSTAGE) */
.vision-back { margin-top: 28px; }
.vision-back h3 { margin-bottom: 6px; }
.vision-back > p { margin-bottom: 16px; font-size: 0.97rem; }
.vision-back-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vision-back-list li { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-card); }
.vision-back-list .org-role { font-size: 0.78rem; font-weight: 600; color: var(--text-3); text-transform: none; }
.vision-back-list b { color: var(--text); font-size: 1rem; }
.vision-back-list li > span:last-child { font-size: 0.92rem; color: var(--text-2); line-height: 1.5; }
@media (max-width: 1000px) { .vision-back-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vision-back-list { grid-template-columns: minmax(0, 1fr); } }
/* Org chart: behind-the-scenes tier (BACKSTAGE) — wraps in rows of 4, no row connector */
.org-backstage .org-row { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 0; max-width: none; }
.org-backstage .org-row::before, .org-backstage .org-node::before { display: none; }
.org-backstage .org-node { background: rgba(123, 97, 255, 0.07); border-style: dashed; border-color: rgba(207, 198, 255, 0.4); }
.org-backstage .org-role { color: #CFC6FF; }
.org-backstage .org-does { font-size: 0.82rem; }
@media (max-width: 1000px) { .org-backstage .org-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .org-backstage .org-row { grid-template-columns: minmax(0, 1fr); } }
/* Home ops diagram: behind-the-scenes note under "Run the business" */
.ops-note { font-size: 0.86rem; color: var(--accent-2); font-weight: 500; line-height: 1.4; }
.ops-note:hover { text-decoration: underline; }
/* Hero stat link: "27 AI roles at work" → org chart; same look as the other stats */
.hero-meta-link { color: inherit; text-decoration: none; border-bottom: 1px dashed var(--line-strong); }
.hero-meta-link:hover { color: var(--text); border-bottom-color: var(--accent-2); }
/* Hero "One mind" diagram a little bigger (Ajay, Nov 10): 380 → 460px desktop, 340 → 380px phone */
@media (min-width: 901px) { .hero-grid { grid-template-columns: 1.2fr 0.8fr; } .mind { max-width: 460px; } }
@media (max-width: 900px) { .mind { max-width: min(380px, 100%); } }

/* Org chart: a small screenshot on every card that opens a demo or live page, and a visible tag (Nov 19 2026). */
.org-row { align-items: start; }  /* cards without a screenshot keep their own height */
.org-shot { display: block; width: 100%; max-width: 220px; margin: -2px auto 8px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line-strong, rgba(255,255,255,0.14)); background: #0B1220; }
.org-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.org-go { margin-top: auto; padding-top: 6px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em; color: var(--accent-text, #7FD3FF); }
a.org-node:hover .org-go, a.org-node:focus-visible .org-go { text-decoration: underline; }
.org-command .org-shot { max-width: 260px; }
.org-backstage-shot { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; max-width: 260px; margin: 12px auto 14px; text-decoration: none; }
.org-backstage-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 10px; border: 1px solid var(--line-strong, rgba(255,255,255,0.14)); }
.org-backstage-shot:hover img, .org-backstage-shot:focus-visible img { border-color: var(--accent, #00C2FF); }
/* Novai Assistant page (Nov 19 2026): question chips that ask the live assistant */
.asst-intro { align-items: center; }
.asst-intro h2 + .lead { margin-top: 8px; }
.asst-asks { gap: 10px; margin-top: 18px; }
.asst-asks .btn { padding: 9px 16px; font-size: .92rem; font-weight: 500; border-radius: 999px; }
.asst-way { display: flex; flex-direction: column; color: inherit; text-decoration: none; cursor: pointer; }
.asst-way .org-go { margin-top: auto; padding-top: 14px; }
