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

:root {
    --accent-gold: #FFB020;
    --accent-orange: #FF6036;
    --accent-purple: #8442FF;
    --accent-pink: #FF3EB5;
    --bg: #FFFFFF;
    --bg-soft: #F7F8FB;
    --bg-alt: #FAFBFE;
    --bg-dark: #0B0C16;
    --text: #12141C;
    --text-soft: #4E5468;
    --text-muted: #8B92A8;
    --border: #E8EAF0;
    --border-soft: #EEF0F5;
    --gradient: linear-gradient(135deg, #FFB020 0%, #FF6036 55%, #8442FF 100%);
    --gradient-warm: linear-gradient(135deg, #FFB020 0%, #FF6036 100%);
    --gradient-cool: linear-gradient(135deg, #8442FF 0%, #FF3EB5 100%);
    --shadow-sm: 0 2px 8px rgba(16, 20, 34, 0.05);
    --shadow-md: 0 10px 30px rgba(16, 20, 34, 0.08);
    --shadow-lg: 0 20px 60px rgba(16, 20, 34, 0.12);
    --shadow-glow: 0 20px 55px rgba(132, 66, 255, 0.20);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { width: 100%; max-width: 100%; overflow-x: clip; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

/* Progress bar */
.progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient);
    z-index: 200;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(132, 66, 255, 0.55);
}

/* Top nav */
.top-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-soft);
    z-index: 150;
    padding: 12px 0;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
.top-nav.scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 20px rgba(16, 20, 34, 0.05);
}
.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 17px;
    color: var(--text);
}
.brand-sub {
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
    font-size: 14px;
}
.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-soft);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-purple); }
.lang-selector select {
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-soft);
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}
.lang-selector select:hover {
    border-color: var(--accent-purple);
}
.lang-selector select:focus { outline: none; border-color: var(--accent-purple); }

/* Hero */
.hero {
    padding: 160px 0 120px;
    background:
        radial-gradient(1200px 500px at 90% -10%, rgba(255, 96, 54, 0.14), transparent 55%),
        radial-gradient(900px 400px at -10% 20%, rgba(132, 66, 255, 0.12), transparent 60%),
        linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
    border-bottom: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 80px;
    background: linear-gradient(180deg, transparent, var(--bg));
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(132, 66, 255, 0.08);
    color: var(--accent-purple);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.grad {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--text-soft);
    max-width: 720px;
    margin-bottom: 48px;
}
.hero-sub strong { color: var(--text); }
.hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}
.hero-meta > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.meta-num {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.01em;
}
.meta-lab {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Table of contents */
.toc {
    margin: 60px auto;
    padding: 32px clamp(20px, 4vw, 40px);
    background: var(--bg-soft);
    border-radius: 20px;
    border: 1px solid var(--border-soft);
}
.toc h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 20px;
}
.toc ol {
    list-style: none;
    counter-reset: toc;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 6px 24px;
}
.toc ol li {
    counter-increment: toc;
    padding: 8px 0;
    font-size: 15px;
    border-bottom: 1px dashed var(--border-soft);
}
.toc ol li::before {
    content: counter(toc, decimal-leading-zero);
    color: var(--accent-purple);
    font-weight: 700;
    margin-right: 12px;
    font-size: 13px;
}
.toc a { color: var(--text-soft); transition: color 0.2s; }
.toc a:hover { color: var(--accent-purple); }

/* Sections */
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-soft);
}
.section.alt { background: var(--bg-alt); }
.section.final {
    background: linear-gradient(135deg, #0B0C16 0%, #1A1D2E 100%);
    color: white;
}
.section.final .section-head h2 { color: white; }
.section.final .section-lead { color: rgba(255,255,255,0.7); }
.section.final .section-num {
    background: rgba(255,255,255,0.1);
    color: white;
}
.section-head {
    margin-bottom: 40px;
    max-width: 780px;
}
.section-num {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(132, 66, 255, 0.10);
    color: var(--accent-purple);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.section-head h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.section-lead {
    font-size: 17px;
    color: var(--text-soft);
    line-height: 1.6;
}
.section.final .section-lead strong { color: white; }

/* Quote card */
.quote-card {
    background: white;
    border-radius: 20px;
    padding: 32px 36px;
    border-left: 4px solid var(--accent-purple);
    box-shadow: var(--shadow-md);
    font-size: 16px;
    color: var(--text-soft);
}
.quote-card p { margin-bottom: 12px; }
.quote-card p:last-child { margin-bottom: 0; }
.quote-card strong { color: var(--text); }
.quote-card ul {
    padding-left: 22px;
    margin: 14px 0;
}
.quote-card ul li { margin-bottom: 4px; }
.quote-card.highlight {
    border-left-color: var(--accent-orange);
    background: linear-gradient(135deg, rgba(255,176,32,0.05), rgba(255,96,54,0.05));
}

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

/* Data table */
.table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    background: white;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.data-table thead th {
    background: var(--bg-soft);
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-soft);
    border-bottom: 1px solid var(--border);
}
.data-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-soft);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody td strong { color: var(--text); font-weight: 700; }
.data-table tbody tr:hover { background: var(--bg-soft); }
.data-table tr.row-accent td {
    background: linear-gradient(90deg, rgba(255,176,32,0.08), rgba(132,66,255,0.08));
    color: var(--text);
    font-size: 16px;
}
.data-table tr.row-accent td strong { color: var(--accent-purple); }

/* Flow diagram */
.flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 0;
}
.flow-node {
    background: white;
    padding: 14px 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    min-width: 240px;
}
.flow-node.accent {
    background: var(--gradient);
    color: white;
    border: none;
    box-shadow: var(--shadow-glow);
    font-weight: 800;
    font-size: 18px;
    padding: 18px 40px;
}
.flow-arrow {
    color: var(--accent-purple);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}
.flow.small .flow-node {
    padding: 10px 20px;
    font-size: 13px;
    min-width: 200px;
}
.flow.small .flow-arrow { font-size: 18px; }

/* Calc card */
.calc-card {
    margin-top: 32px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-md);
}
.calc-card.big {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFF 100%);
    padding: 48px 32px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}
.calc-card.big::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: var(--gradient);
    border-radius: 20px;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.calc-card h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 20px;
}
.calc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 18px;
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 600;
    color: var(--text);
}
.calc .op {
    color: var(--accent-purple);
    font-size: 1.3em;
    font-weight: 800;
}
.calc .result {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 1.3em;
}
.calc-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

.explain {
    margin: 32px 0 16px;
    font-size: 16px;
    color: var(--text-soft);
}
.chip-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.chip-list li {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-soft);
    box-shadow: var(--shadow-sm);
}

/* Two col */
.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.two-col.mt40 { margin-top: 40px; }
.col-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}
.col-card.highlight {
    background: linear-gradient(135deg, rgba(255,176,32,0.04), rgba(132,66,255,0.04));
    border-color: rgba(132, 66, 255, 0.20);
    box-shadow: var(--shadow-md);
}
.col-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.col-card ul {
    padding-left: 20px;
    margin-top: 12px;
    color: var(--text-soft);
}
.col-card ul li { margin-bottom: 4px; }
.col-card p { color: var(--text-soft); }
.tag {
    font-size: 13px;
    color: var(--accent-purple);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.tag.muted { color: var(--text-muted); }
.phase-badge {
    padding: 4px 10px;
    background: var(--gradient);
    color: white;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Replace card */
.replace-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    background: white;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
}
.replace-old h4, .replace-new h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.replace-arrow {
    font-size: 36px;
    color: var(--accent-purple);
    font-weight: 800;
    text-align: center;
}
.stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.stack span {
    padding: 10px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-soft);
    font-size: 14px;
}
.stack.accent span {
    background: var(--gradient);
    color: white;
    border: none;
    text-align: center;
    padding: 20px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
}
@media (max-width: 700px) {
    .replace-card { grid-template-columns: 1fr; }
    .replace-arrow { transform: rotate(90deg); }
}

/* Chapters list (Investor Book) */
.chapters {
    counter-reset: chap;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 20px;
}
.chapters li {
    counter-increment: chap;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,0.9);
}
.chapters li::before {
    content: counter(chap);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.cta-card {
    margin-top: 40px;
    padding: 28px 32px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    text-align: center;
    color: rgba(255,255,255,0.9);
    font-size: 17px;
}
.cta-card strong { color: white; }

/* Flow chart */
.flow-chart {
    margin: 20px 0;
    padding: 20px 4px 8px;
    background: var(--bg-soft);
    border-radius: 14px;
    border: 1px solid var(--border-soft);
}
.flow-chart svg {
    width: 100%;
    height: auto;
    display: block;
}
.flow-chart .grid line {
    stroke: var(--border);
    stroke-dasharray: 3,3;
    stroke-width: 1;
}
.flow-chart .axis-label {
    font-size: 10px;
    fill: var(--text-muted);
    font-family: inherit;
    font-weight: 500;
}
.flow-chart .line-in { stroke: #FF8A3D; stroke-width: 3; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.flow-chart .line-out { stroke: var(--accent-pink); stroke-width: 3; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.flow-chart .dot-in { fill: #FF8A3D; stroke: white; stroke-width: 2; }
.flow-chart .dot-out { fill: var(--accent-pink); stroke: white; stroke-width: 2; }
.flow-chart .area-in { opacity: 1; }
.flow-chart .area-out { opacity: 1; }
.flow-chart .chart-title { font-size: 20px; font-weight: 800; fill: var(--text); font-family: inherit; letter-spacing: -0.01em; }
.flow-chart .chart-subtitle { font-size: 13px; fill: var(--text-muted); font-family: inherit; }
.flow-chart .legend-text { font-size: 13px; fill: var(--text); font-family: inherit; font-weight: 500; }
.chart-totals {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 0 12px 4px;
    font-size: 13.5px;
    color: var(--text-soft);
}
.chart-totals > div {
    display: flex;
    align-items: center;
    gap: 8px;
}
.chart-totals .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.chart-totals .dot.green { background: #16A34A; }
.chart-totals .dot.red { background: #DC2626; }
.chart-totals .dot.dark { background: var(--text); }
.chart-totals strong { color: var(--text); font-variant-numeric: tabular-nums; }

/* Cash snapshot cards */
.cash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.cash-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.cash-card.positive { border-top: 3px solid #2ECC71; }
.cash-card.negative { border-top: 3px solid var(--accent-orange); }
.cash-card.neutral { border-top: 3px solid var(--accent-purple); }
.cash-card .cash-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}
.cash-card .cash-value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text);
}
.cash-card.negative .cash-value { color: var(--accent-orange); }
.cash-card.positive .cash-value { color: #16A34A; }
.cash-card .cash-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Monthly flow table variants */
.data-table td.pos { color: #16A34A; font-weight: 700; }
.data-table td.neg { color: #DC2626; font-weight: 700; }
.data-table td.num { font-variant-numeric: tabular-nums; text-align: right; }
.data-table th.num { text-align: right; }

/* Warning / avoid cards */
.avoid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 20px;
}
.avoid-card {
    background: #FFF7F5;
    border: 1px solid rgba(255, 96, 54, 0.20);
    border-left: 4px solid var(--accent-orange);
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.5;
}
.avoid-card::before {
    content: '✕';
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-orange);
    color: white;
    font-weight: 800;
    font-size: 12px;
    text-align: center;
    line-height: 22px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Approach list */
.approach-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 20px;
}
.approach-list .item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 14px;
    color: var(--text-soft);
    box-shadow: var(--shadow-sm);
}
.approach-list .item::before {
    content: '✓';
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #16A34A;
    color: white;
    font-weight: 800;
    font-size: 12px;
    text-align: center;
    line-height: 22px;
    margin-right: 10px;
    vertical-align: middle;
}

.subheading {
    font-size: 18px;
    font-weight: 700;
    margin: 36px 0 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.subheading::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gradient);
    border-radius: 2px;
    display: inline-block;
}

.runway-card {
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(255,176,32,0.06), rgba(255,96,54,0.06));
    border: 1px solid rgba(255, 96, 54, 0.20);
    border-radius: 16px;
    padding: 24px 28px;
}
.runway-card .runway-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-orange);
    margin-bottom: 8px;
}
.runway-card .runway-calc {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.runway-card .runway-note {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.5;
}

/* KPI banner */
.kpi-banner {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 24px 0;
    position: sticky;
    top: 62px;
    z-index: 100;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: rgba(255, 255, 255, 0.92);
}
.kpi-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.kpi-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 8px;
    border-right: 1px solid var(--border-soft);
}
.kpi-cell:last-child { border-right: none; }
.kpi-val {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text);
    line-height: 1.2;
}
.kpi-lab {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.3;
}
@media (max-width: 900px) {
    .kpi-banner { position: static; }
    .kpi-strip { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; }
    .kpi-cell:nth-child(3) { border-right: none; }
}
@media (max-width: 500px) {
    .kpi-strip { grid-template-columns: repeat(2, 1fr); }
    .kpi-cell { border-right: none; border-bottom: 1px solid var(--border-soft); padding-bottom: 12px; }
    .kpi-cell:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
}

/* Source badge on Q&A answer */
.qa-answer .source {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-soft);
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.2px;
}
.qa-answer .source::before {
    content: '📎 ';
    font-style: normal;
    margin-right: 4px;
    opacity: 0.6;
}

/* Q&A blocks */
.qa-block {
    background: white;
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 32px 36px;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(16, 20, 34, 0.03);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.qa-block:hover {
    box-shadow: 0 12px 32px rgba(16, 20, 34, 0.08);
    transform: translateY(-2px);
    border-color: rgba(132, 66, 255, 0.20);
}
.qa-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-soft);
}
.qa-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--gradient);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(132, 66, 255, 0.30);
}
.qa-question {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text);
    flex: 1;
    padding-top: 4px;
}
.qa-answer {
    padding-left: 52px;
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.7;
}
.qa-answer p { margin-bottom: 10px; }
.qa-answer p:last-child { margin-bottom: 0; }
.qa-answer strong { color: var(--text); }
.qa-answer ul, .qa-answer ol {
    padding-left: 20px;
    margin: 8px 0;
}
.qa-answer li { margin-bottom: 4px; }
.qa-answer .mini-table {
    margin: 16px 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14.5px;
    background: var(--bg-soft);
    border-radius: 12px;
    overflow: hidden;
}
.qa-answer .mini-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(232, 234, 240, 0.6);
    vertical-align: top;
}
.qa-answer .mini-table td:first-child {
    color: var(--text-soft);
    font-weight: 500;
}
.qa-answer .mini-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    white-space: normal;
}
.qa-answer .mini-table tr:last-child td { border-bottom: none; }
.qa-answer .mini-table tr:hover td { background: rgba(255,255,255,0.6); }
.qa-answer .mini-table tr.total td {
    border-top: 2px solid var(--border);
    padding-top: 14px;
    font-weight: 800;
    color: var(--accent-purple);
    background: rgba(132, 66, 255, 0.04);
}

.qa-answer ul, .qa-answer ol {
    padding-left: 22px;
    margin: 10px 0 12px;
}
.qa-answer li { margin-bottom: 6px; }
.qa-answer li:last-child { margin-bottom: 0; }
.qa-answer p + p { margin-top: 12px; }

.qa-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-left: 8px;
    vertical-align: middle;
}
.qa-tag.confirmed { background: rgba(22, 163, 74, 0.10); color: #16A34A; }
.qa-tag.pending { background: rgba(255, 176, 32, 0.12); color: #B45309; }
.qa-tag.dataroom { background: rgba(132, 66, 255, 0.10); color: var(--accent-purple); }
.qa-tag.honest { background: rgba(255, 96, 54, 0.10); color: var(--accent-orange); }

.pillar {
    padding: 96px 0 64px;
    border-bottom: 1px solid var(--border-soft);
    background: white;
    position: relative;
}
.pillar.alt {
    background: linear-gradient(180deg, var(--bg-alt) 0%, #F4F5FA 100%);
}
.pillar-head {
    margin-bottom: 40px;
    padding-bottom: 28px;
    position: relative;
}
.pillar-head::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}
.pillar-badge {
    display: inline-block;
    padding: 7px 16px;
    background: var(--gradient);
    color: white;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(132, 66, 255, 0.25);
}
.pillar-head h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text);
}

@media (max-width: 780px) {
    .pillar { padding: 64px 0 40px; }
    .pillar-head { margin-bottom: 28px; padding-bottom: 20px; }
    .qa-block {
        padding: 22px;
        border-radius: 16px;
    }
    .qa-header { gap: 12px; margin-bottom: 14px; padding-bottom: 12px; }
    .qa-num { width: 32px; height: 32px; font-size: 13px; }
    .qa-question { font-size: 15px; padding-top: 3px; }
    .qa-answer { padding-left: 0; font-size: 14.5px; }
    .qa-answer .mini-table { font-size: 13.5px; }
    .qa-answer .mini-table td { padding: 10px 12px; }
    .hero { padding: 120px 0 90px; }
    .data-table thead th, .data-table tbody td { padding: 12px 14px; font-size: 13.5px; }
}

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
}
.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.foot-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.foot-brand div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.foot-brand strong { font-size: 15px; }
.foot-brand span { font-size: 13px; color: var(--text-muted); }
.foot-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* Mobile */
@media (max-width: 900px) {
    .nav-links { display: none; }
}
@media (max-width: 780px) {
    .hero { padding: 130px 0 60px; }
    .section { padding: 60px 0; }
    .flow-node { min-width: 180px; padding: 12px 20px; font-size: 14px; }
    .flow-node.accent { font-size: 15px; padding: 14px 24px; }
    .hero-meta { grid-template-columns: 1fr 1fr; }
    .quote-card { padding: 24px; }
    .brand-text { font-size: 15px; }
    .brand-sub { display: none; }
}

/* À propos — grille texte + mockup */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
}
.about-grid:last-child { margin-bottom: 0; }
.about-grid-reverse { grid-template-columns: 0.9fr 1.1fr; }
.about-text { margin-bottom: 0; }
.side-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.side-tag-b2c {
    background: rgba(132, 66, 255, 0.10);
    color: var(--accent-purple);
}
.side-tag-b2b {
    background: rgba(255, 96, 54, 0.10);
    color: var(--accent-orange);
}
.about-mockup {
    margin: 0;
    padding: 20px;
    background:
        radial-gradient(80% 60% at 50% 40%, rgba(132, 66, 255, 0.10), transparent 70%),
        radial-gradient(60% 50% at 50% 100%, rgba(255, 96, 54, 0.08), transparent 70%);
    border-radius: 24px;
    text-align: center;
}
.about-mockup-b2b {
    background:
        radial-gradient(80% 60% at 50% 40%, rgba(255, 96, 54, 0.10), transparent 70%),
        radial-gradient(60% 50% at 50% 100%, rgba(132, 66, 255, 0.08), transparent 70%);
}
.about-mockup img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 520px;
    margin: 0 auto;
    filter: drop-shadow(0 30px 60px rgba(132, 66, 255, 0.25))
            drop-shadow(0 10px 20px rgba(16, 20, 34, 0.12));
}
.about-mockup-b2b img {
    filter: drop-shadow(0 30px 60px rgba(255, 96, 54, 0.18))
            drop-shadow(0 10px 20px rgba(16, 20, 34, 0.12));
    border-radius: 12px;
}
.about-mockup figcaption {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 900px) {
    .about-grid,
    .about-grid-reverse { grid-template-columns: 1fr; gap: 20px; }
    .about-mockup { order: -1; padding: 12px; }
    .about-mockup img { max-width: 420px; }
    .about-grid-reverse .about-mockup { order: -1; }
}

/* Timeline (Calendrier) */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
}
.tl-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: white;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}
.tl-dot {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--bg-soft), white);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 22px;
    line-height: 1;
}
.tl-body {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}
.tl-body strong {
    font-size: 15px;
    color: var(--text);
    font-weight: 700;
}
.tl-body span {
    font-size: 12.5px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}
.tl-gap {
    align-self: center;
    padding: 6px 12px;
    margin: 4px 0 4px 22px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent-purple);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}
.tl-gap::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 22px;
    background: linear-gradient(180deg, transparent, var(--accent-purple), transparent);
    border-radius: 2px;
}
@media (max-width: 500px) {
    .tl-dot { width: 38px; height: 38px; font-size: 18px; }
    .tl-body strong { font-size: 14px; }
    .tl-step { padding: 12px 14px; gap: 12px; }
}
