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

        body {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
            color: #1f2937;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        .header {
            text-align: center;
            margin-bottom: 3rem;
            background: white;
            padding: 3rem 2rem;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .header h1 {
            font-size: 2.5rem;
            color: #1e3a5f;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .header p {
            font-size: 1.1rem;
            color: #6b7280;
            max-width: 600px;
            margin: 0 auto;
        }

        .calculator-wrapper {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .progress-bar {
            display: flex;
            height: 6px;
            background: #e5e7eb;
        }

        .progress-fill {
            background: linear-gradient(90deg, #3b82f6, #10b981);
            transition: width 0.3s ease;
        }

        .step-indicator {
            display: flex;
            justify-content: space-between;
            padding: 2rem 2rem 1rem 2rem;
            background: #f9fafb;
            border-bottom: 1px solid #e5e7eb;
        }

        .step-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            flex: 1;
        }

        .step-number {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #e5e7eb;
            color: #6b7280;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .step-item.active .step-number {
            background: #3b82f6;
            color: white;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
        }

        .step-item.completed .step-number {
            background: #10b981;
            color: white;
        }

        .step-label {
            font-size: 0.875rem;
            font-weight: 500;
            color: #6b7280;
            text-align: center;
        }

        .step-item.active .step-label {
            color: #3b82f6;
            font-weight: 600;
        }

        .step-item.completed .step-label {
            color: #10b981;
        }

        .step-content {
            padding: 2rem;
            min-height: 600px;
        }

        .step-title {
            font-size: 1.75rem;
            color: #1e3a5f;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .step-description {
            font-size: 1rem;
            color: #6b7280;
            margin-bottom: 2rem;
        }

        .form-group {
            margin-bottom: 2rem;
        }

        .form-group label {
            display: block;
            font-weight: 600;
            color: #1e3a5f;
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .help-text {
            font-size: 0.85rem;
            color: #6b7280;
            margin-top: 0.25rem;
            font-style: italic;
        }

        .form-group select,
        .form-group input[type="number"] {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid #e5e7eb;
            border-radius: 6px;
            font-size: 1rem;
            transition: border-color 0.2s;
        }

        .form-group select:focus,
        .form-group input[type="number"]:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }

            .header h1 {
                font-size: 1.75rem;
            }

            .step-indicator {
                overflow-x: auto;
                gap: 0;
            }

            .step-item {
                min-width: 80px;
            }
        }

        .slider-container {
            display: flex;
            gap: 1.5rem;
            align-items: center;
            margin-top: 0.75rem;
        }

        input[type="range"] {
            flex: 1;
            height: 6px;
            border-radius: 3px;
            background: #e5e7eb;
            outline: none;
            -webkit-appearance: none;
            appearance: none;
        }

        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #3b82f6;
            cursor: pointer;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        input[type="range"]::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #3b82f6;
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .slider-value {
            font-weight: 700;
            color: #3b82f6;
            font-size: 1.1rem;
            min-width: 80px;
            text-align: right;
        }

        .button-group {
            display: flex;
            gap: 1rem;
            justify-content: space-between;
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid #e5e7eb;
        }

        button {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 6px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .btn-secondary {
            background: #e5e7eb;
            color: #1f2937;
        }

        .btn-secondary:hover:not(:disabled) {
            background: #d1d5db;
        }

        .btn-primary {
            background: #3b82f6;
            color: white;
            flex: 1;
        }

        .btn-primary:hover:not(:disabled) {
            background: #2563eb;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }

        .results-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .result-card {
            background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
            padding: 1.5rem;
            border-radius: 8px;
            border-left: 4px solid #3b82f6;
            transition: all 0.3s ease;
            animation: slideIn 0.5s ease forwards;
            opacity: 0;
        }

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

        .result-card.positive {
            border-left-color: #10b981;
        }

        .result-card.warning {
            border-left-color: #f59e0b;
        }

        .result-card.negative {
            border-left-color: #ef4444;
        }

        .result-label {
            font-size: 0.875rem;
            color: #6b7280;
            font-weight: 600;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .result-value {
            font-size: 2rem;
            font-weight: 700;
            color: #1e3a5f;
        }

        .result-value.positive {
            color: #10b981;
        }

        .result-value.warning {
            color: #f59e0b;
        }

        .result-value.negative {
            color: #ef4444;
        }

        .result-subtext {
            font-size: 0.875rem;
            color: #6b7280;
            margin-top: 0.5rem;
        }

        .chart-container {
            background: #f9fafb;
            padding: 2rem;
            border-radius: 8px;
            margin: 2rem 0;
            border: 1px solid #e5e7eb;
        }

        .chart-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: #1e3a5f;
            margin-bottom: 1rem;
        }

        .sensitivity-table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            background: #f9fafb;
            border-radius: 8px;
            overflow: hidden;
        }

        .sensitivity-table thead {
            background: #e5e7eb;
        }

        .sensitivity-table th {
            padding: 1rem;
            text-align: left;
            font-weight: 700;
            color: #1e3a5f;
        }

        .sensitivity-table td {
            padding: 1rem;
            border-top: 1px solid #e5e7eb;
        }

        .sensitivity-table tbody tr:hover {
            background: #f0f9ff;
        }

        .faq-section {
            background: #f9fafb;
            padding: 2rem;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            margin-top: 3rem;
        }

        .faq-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1e3a5f;
            margin-bottom: 2rem;
        }

        .faq-item {
            margin-bottom: 1.5rem;
            border-bottom: 1px solid #e5e7eb;
            padding-bottom: 1.5rem;
        }

        .faq-item:last-child {
            border-bottom: none;
        }

        .faq-question {
            font-weight: 700;
            color: #1e3a5f;
            margin-bottom: 0.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .faq-question:hover {
            color: #3b82f6;
        }

        .faq-answer {
            color: #6b7280;
            line-height: 1.7;
            font-size: 0.95rem;
        }

        .cta-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 3rem;
        }

        .cta-card {
            background: linear-gradient(135deg, #1e3a5f 0%, #2d4a7b 100%);
            color: white;
            padding: 2rem;
            border-radius: 8px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .cta-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(30, 58, 95, 0.3);
        }

        .cta-card h3 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .cta-card p {
            font-size: 0.95rem;
            margin-bottom: 1rem;
            opacity: 0.95;
        }

        .cta-card a {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            background: #3b82f6;
            color: white;
            text-decoration: none;
            border-radius: 6px;
            font-weight: 600;
            transition: all 0.2s;
        }

        .cta-card a:hover {
            background: #2563eb;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
        }

        .lead-form {
            background: white;
            padding: 2rem;
            border-radius: 8px;
            border: 2px solid #e5e7eb;
            margin: 2rem 0;
        }

        .lead-form h3 {
            font-size: 1.25rem;
            color: #1e3a5f;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .lead-form .form-group {
            margin-bottom: 1rem;
        }

        .lead-form input {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid #e5e7eb;
            border-radius: 6px;
            font-size: 1rem;
        }

        .lead-form input:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .lead-form button {
            width: 100%;
            background: #10b981;
            color: white;
            padding: 1rem;
            border: none;
            border-radius: 6px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .lead-form button:hover {
            background: #059669;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        }

        .print-button {
            background: #6b7280;
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s;
        }

        .print-button:hover {
            background: #4b5563;
        }

        @media print {
            body {
                background: white;
            }
            .button-group,
            .cta-section,
            .lead-form,
            .step-indicator,
            .progress-bar {
                display: none;
            }
        }

        .tooltip {
            position: relative;
            display: inline-block;
            cursor: help;
            margin-left: 0.5rem;
        }

        .tooltip-icon {
            display: inline-flex;
            width: 18px;
            height: 18px;
            background: #3b82f6;
            color: white;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .tooltip-icon:hover::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            background: #1e3a5f;
            color: white;
            padding: 0.5rem 0.75rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 400;
            white-space: nowrap;
            z-index: 1000;
            pointer-events: none;
        }

        .currency-input::before {
            content: '£';
            position: absolute;
            left: 0.75rem;
            color: #6b7280;
            font-weight: 600;
            pointer-events: none;
        }

        .currency-group {
            position: relative;
            display: flex;
            align-items: center;
        }

        .currency-group input {
            padding-left: 1.75rem;
        }

        .currency-group::before {
            content: '£';
            position: absolute;
            left: 0.75rem;
            color: #6b7280;
            font-weight: 600;
            pointer-events: none;
        }

        .percentage-group {
            position: relative;
            display: flex;
            align-items: center;
        }

        .percentage-group input {
            padding-right: 1.75rem;
        }

        .percentage-group::after {
            content: '%';
            position: absolute;
            right: 0.75rem;
            color: #6b7280;
            font-weight: 600;
            pointer-events: none;
        }
    