:root {
    --navy: #0f1729;
    --navy-2: #1a2340;
    --accent: #8b5cf6;
    --accent-2: #a78bfa;
    --accent-soft: rgba(139, 92, 246, 0.12);
    --paper: #fefefe;
    --paper-2: #f4f5f8;
    --text: #1a1a2e;
    --text-muted: #5a5f70;
    --border: #e4e6eb;
    --danger: #dc2626;
    --success: #059669;
    --warning: #d97706;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 8px;
    --shadow: 0 2px 10px rgba(15, 23, 41, 0.06);
    --shadow-lg: 0 10px 40px rgba(15, 23, 41, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

.container-wide {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--navy);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: 42px; }
h2 { font-size: 32px; margin-bottom: 16px; }
h3 { font-size: 22px; margin-bottom: 12px; }
h4 { font-size: 18px; margin-bottom: 8px; }

p {
    margin-bottom: 16px;
    color: var(--text);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .15s ease;
}
a:hover { color: var(--accent-2); }

.header {
    background: var(--navy);
    color: var(--paper);
    padding: 16px 0;
    border-bottom: 1px solid var(--navy-2);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--paper);
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 6px;
    color: white;
    font-family: var(--serif);
    font-weight: 700;
}
.header-nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
}
.header-nav a {
    color: rgba(255, 255, 255, 0.75);
}
.header-nav a:hover { color: white; }

.hero {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
    color: var(--paper);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.hero-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-soft);
    color: var(--accent-2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}
.hero h1 {
    color: var(--paper);
    font-size: 52px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero-lede {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    line-height: 1.55;
    font-weight: 300;
}
.hero-meta {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}
.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-meta strong {
    color: var(--paper);
    font-weight: 600;
    display: block;
    font-size: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.btn:hover {
    background: var(--accent-2);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    color: white;
}
.btn-ghost {
    background: transparent;
    color: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}
.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--border);
    box-shadow: none;
}
.btn-secondary:hover {
    background: var(--paper-2);
    color: var(--navy);
    border-color: var(--text-muted);
    box-shadow: none;
}

.section {
    padding: 80px 0;
}
.section-alt {
    background: var(--paper-2);
}
.section-title {
    text-align: center;
    margin-bottom: 12px;
}
.section-lede {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 48px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.module-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    transition: all .2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.module-card:hover::before { transform: scaleX(1); }
.module-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.module-number {
    font-family: var(--serif);
    font-size: 40px;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 12px;
    font-weight: 700;
    opacity: 0.9;
}
.module-title {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.3;
}
.module-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}
.module-meta {
    margin-top: auto;
    padding-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.stats-strip {
    background: var(--navy);
    color: var(--paper);
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    text-align: center;
}
.stat-value {
    font-family: var(--serif);
    font-size: 44px;
    color: var(--accent-2);
    line-height: 1;
    margin-bottom: 8px;
    font-weight: 700;
}
.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.4;
}

.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    font-size: 14px;
    border-top: 1px solid var(--navy-2);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer a {
    color: var(--accent-2);
}
.footer a:hover { color: white; }

.module-page {
    padding: 40px 0 80px;
}
.module-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}
.module-nav-position {
    font-weight: 500;
    color: var(--navy);
}
.module-progress {
    height: 4px;
    background: var(--paper-2);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 40px;
}
.module-progress-fill {
    height: 100%;
    background: var(--accent);
    transition: width .3s ease;
}
.module-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}
.module-h1 {
    font-size: 40px;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.module-lede {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.55;
    font-weight: 300;
}
.module-content {
    font-size: 17px;
    line-height: 1.75;
}
.module-content h2 {
    margin-top: 40px;
    font-size: 26px;
}
.module-content h3 {
    margin-top: 32px;
    font-size: 20px;
    color: var(--navy);
}
.module-content p { margin-bottom: 20px; }
.module-content strong { color: var(--navy); font-weight: 600; }
.module-content ul, .module-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}
.module-content li { margin-bottom: 10px; }

.callout {
    background: var(--paper-2);
    border-left: 3px solid var(--accent);
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.callout-title {
    font-family: var(--serif);
    color: var(--navy);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.callout p { margin-bottom: 0; font-size: 16px; }
.callout-danger {
    background: rgba(220, 38, 38, 0.05);
    border-left-color: var(--danger);
}
.callout-danger .callout-title { color: var(--danger); }
.callout-success {
    background: rgba(5, 150, 105, 0.05);
    border-left-color: var(--success);
}
.callout-success .callout-title { color: var(--success); }

.case-story {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    margin: 32px 0;
    box-shadow: var(--shadow);
}
.case-story-label {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.case-story-title {
    font-family: var(--serif);
    color: var(--navy);
    font-size: 22px;
    margin-bottom: 16px;
    line-height: 1.3;
}
.case-story p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
}
.case-story-outcome {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}

.checklist {
    background: rgba(5, 150, 105, 0.04);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 32px 0;
    list-style: none;
    padding-left: 28px;
}
.checklist li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.6;
}
.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}
.checklist li:last-child { margin-bottom: 0; }

.module-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    gap: 16px;
    flex-wrap: wrap;
}

.test-block {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.test-scenario {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--paper-2);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
}
.test-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.test-option {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    cursor: pointer;
    transition: all .15s ease;
    text-align: left;
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    line-height: 1.5;
    width: 100%;
}
.test-option:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}
.test-option.correct {
    border-color: var(--success);
    background: rgba(5, 150, 105, 0.08);
    cursor: default;
}
.test-option.incorrect {
    border-color: var(--danger);
    background: rgba(220, 38, 38, 0.06);
    cursor: default;
}
.test-option.dimmed {
    opacity: 0.5;
    cursor: default;
}
.test-explanation {
    display: none;
    padding: 20px;
    background: var(--paper-2);
    border-radius: var(--radius);
    border-left: 3px solid var(--navy);
    animation: slideIn .3s ease;
}
.test-explanation.visible { display: block; }
.test-explanation-title {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 700;
}
.test-explanation p { font-size: 15px; margin-bottom: 0; }

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.final-page {
    padding: 80px 0;
    text-align: center;
}
.final-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50%;
    font-size: 40px;
    margin-bottom: 24px;
}
.final-h1 {
    font-size: 44px;
    margin-bottom: 16px;
}
.final-lede {
    font-size: 19px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.6;
}
.final-share {
    background: var(--paper-2);
    border-radius: 12px;
    padding: 40px;
    margin: 40px 0;
    text-align: left;
}
.final-share h3 {
    text-align: center;
    margin-bottom: 24px;
}
.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    color: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all .15s ease;
}
.share-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}
.villore-mention {
    margin-top: 48px;
    padding: 32px;
    background: var(--navy);
    color: var(--paper);
    border-radius: 12px;
    text-align: left;
}
.villore-mention h4 {
    color: var(--paper);
    margin-bottom: 12px;
}
.villore-mention p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
    font-size: 15px;
}
.villore-mention a {
    color: var(--accent-2);
    font-weight: 500;
}

@media (max-width: 720px) {
    h1 { font-size: 32px; }
    .hero { padding: 60px 0 70px; }
    .hero h1 { font-size: 36px; }
    .hero-lede { font-size: 17px; }
    .hero-meta { flex-direction: column; gap: 16px; }
    .section { padding: 60px 0; }
    .module-h1 { font-size: 30px; }
    .final-h1 { font-size: 32px; }
    .header-inner { flex-direction: column; gap: 12px; }
    .module-actions { flex-direction: column; align-items: stretch; }
    .module-actions .btn { width: 100%; }
    .test-block { padding: 24px 20px; }
    .test-scenario { font-size: 17px; padding: 16px; }
    .final-share { padding: 24px; }
    .villore-mention { padding: 24px; }
}
