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

        :root {
            --bg-cream: #F5F1E8;
            --bg-white: #FDFCFA;
            --text-dark: #1a1a1a;
            --text-muted: #6B6B6B;
            --border-light: #E5E0D5;
            --accent-black: #1a1a1a;
            --red-bg: #FEF2F2;
            --red-border: #FECACA;
            --red-text: #DC2626;
            --yellow-bg: #FFFBEB;
            --yellow-border: #FDE68A;
            --yellow-text: #D97706;
            --green-bg: #F0FDF4;
            --green-border: #BBF7D0;
            --green-text: #16A34A;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
            background-color: var(--bg-cream);
            color: var(--text-dark);
            line-height: 1.6;
            min-height: 100vh;
        }

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

        /* Header */
        header {
            margin-bottom: 48px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 40px;
        }

        .logo img {
            height: 32px;
            width: auto;
        }

        .logo-text {
            font-size: 24px;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: var(--text-dark);
        }

        h1 {
            font-size: 2.25rem;
            font-weight: 600;
            line-height: 1.2;
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }

        .subtitle {
            font-size: 1.125rem;
            color: var(--text-muted);
            margin-bottom: 32px;
        }

        /* Form Styles */
        .form-section {
            background: var(--bg-white);
            border-radius: 20px;
            padding: 32px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        }

        .form-group {
            margin-bottom: 44px;
        }

        .form-group:last-of-type {
            margin-bottom: 48px;
        }

        label {
            display: block;
            font-weight: 500;
            font-size: 1.4375rem;
            margin-bottom: 12px;
            color: var(--text-dark);
        }

        .label-optional {
            font-weight: 400;
            color: var(--text-muted);
            font-size: 0.875rem;
        }

        .helper-text {
            font-size: 0.8125rem;
            color: var(--text-muted);
            margin-top: 6px;
        }

        .form-disclaimer {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-align: center;
            margin-top: 20px;
            line-height: 1.5;
        }

        /* Base Input Styles */
        input[type="text"],
        input[type="email"],
        input[type="number"],
        input[type="date"],
        select {
            width: 100%;
            padding: 14px 16px;
            font-size: 1rem;
            border: 1px solid var(--border-light);
            border-radius: 12px;
            background: #fff;
            color: var(--text-dark);
            transition: border-color 0.2s, box-shadow 0.2s;
            font-family: inherit;
        }

        input:focus,
        select:focus {
            outline: none;
            border-color: var(--accent-black);
            box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
        }

        input::placeholder {
            color: #9CA3AF;
        }

        select {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            padding-right: 44px;
        }

        /* Date Range */
        .date-range {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .date-input-wrapper {
            position: relative;
        }

        .date-input-wrapper label {
            font-size: 0.8125rem;
            color: var(--text-muted);
            font-weight: 400;
            margin-bottom: 6px;
        }

        /* Chip Container */
        .chip-container {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 12px;
        }

        .chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 14px;
            background: var(--bg-cream);
            border: 1px solid var(--border-light);
            border-radius: 100px;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.2s;
            user-select: none;
        }

        .chip:hover {
            border-color: var(--text-muted);
        }

        .chip.selected {
            background: var(--accent-black);
            color: #fff;
            border-color: var(--accent-black);
        }

        .chip .remove {
            display: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            align-items: center;
            justify-content: center;
            font-size: 12px;
            line-height: 1;
        }

        .chip.selected .remove {
            display: flex;
        }

        .add-chip {
            background: transparent;
            border: 1px dashed var(--border-light);
            color: var(--text-muted);
        }

        .add-chip:hover {
            border-color: var(--text-muted);
            color: var(--text-dark);
        }

        /* Multi-Select Country Picker */
        .country-picker {
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .selected-countries {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
            order: 2;
        }

        .country-dropdown {
            order: 1;
            position: relative;
        }

        .country-chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            background: var(--accent-black);
            color: #fff;
            border-radius: 100px;
            font-size: 0.875rem;
        }

        .country-chip button {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            padding: 0;
            font-size: 18px;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .country-chip button:hover {
            color: #fff;
        }

        .country-search {
            width: 100%;
            padding: 14px 16px;
            font-size: 1rem;
            border: 1px solid var(--border-light);
            border-radius: 12px;
            background: #fff;
        }

        .country-list {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #fff;
            border: 1px solid var(--border-light);
            border-radius: 12px;
            margin-top: 4px;
            max-height: 240px;
            overflow-y: auto;
            z-index: 100;
            display: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .country-list.active {
            display: block;
        }

        .country-option {
            padding: 12px 16px;
            cursor: pointer;
            transition: background 0.15s;
        }

        .country-option:hover {
            background: var(--bg-cream);
        }

        .country-option.selected {
            background: var(--bg-cream);
            font-weight: 500;
        }

        /* Slider */
        .slider-container {
            padding: 8px 0;
        }

        .slider-wrapper {
            position: relative;
            padding-bottom: 8px;
        }

        input[type="range"] {
            width: 100%;
            height: 8px;
            border-radius: 4px;
            background: linear-gradient(to right, #E8E4DB 0%, #F5E6A3 25%, #F5D76E 50%, #F5A623 75%, #DC2626 100%);
            appearance: none;
            cursor: pointer;
        }

        input[type="range"]::-webkit-slider-thumb {
            appearance: none;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: #fff;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(0,0,0,0.1);
            transition: transform 0.15s;
        }

        input[type="range"]::-webkit-slider-thumb:hover {
            transform: scale(1.1);
        }

        input[type="range"]::-moz-range-thumb {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: #fff;
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(0,0,0,0.1);
        }

        .slider-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 12px;
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .slider-labels span {
            text-align: center;
        }

        /* Submit Button */
        .submit-btn {
            width: 100%;
            padding: 18px 32px;
            font-size: 1.0625rem;
            font-weight: 600;
            color: #fff;
            background: var(--accent-black);
            border: none;
            border-radius: 14px;
            cursor: pointer;
            transition: all 0.2s;
            font-family: inherit;
        }

        .submit-btn:hover {
            background: #333;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        .submit-btn:disabled {
            background: #9CA3AF;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        /* Results Section */
        .results-section {
            display: none;
            margin-top: 48px;
            padding-top: 48px;
            border-top: 1px solid var(--border-light);
        }

        .results-section.active {
            display: block;
        }

        .results-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .results-header h2 {
            font-size: 1.75rem;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .results-header p {
            color: var(--text-muted);
        }

        /* Risk Cards */
        .risk-category {
            margin-bottom: 32px;
        }

        .risk-category-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .risk-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }

        .risk-category-header h3 {
            font-size: 1.125rem;
            font-weight: 600;
        }

        .risk-card {
            padding: 20px;
            border-radius: 14px;
            margin-bottom: 12px;
        }

        .risk-card:last-child {
            margin-bottom: 0;
        }

        /* Red Risk */
        .risk-red .risk-icon {
            background: var(--red-bg);
            color: var(--red-text);
        }

        .risk-red .risk-category-header h3 {
            color: var(--red-text);
        }

        .risk-red .risk-card {
            background: var(--red-bg);
            border: 1px solid var(--red-border);
        }

        /* Yellow Risk */
        .risk-yellow .risk-icon {
            background: var(--yellow-bg);
            color: var(--yellow-text);
        }

        .risk-yellow .risk-category-header h3 {
            color: var(--yellow-text);
        }

        .risk-yellow .risk-card {
            background: var(--yellow-bg);
            border: 1px solid var(--yellow-border);
        }

        /* Green Risk */
        .risk-green .risk-icon {
            background: var(--green-bg);
            color: var(--green-text);
        }

        .risk-green .risk-category-header h3 {
            color: var(--green-text);
        }

        .risk-green .risk-card {
            background: var(--green-bg);
            border: 1px solid var(--green-border);
        }

        .risk-card-title {
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 4px;
        }

        .risk-severity {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.75rem;
            font-weight: 500;
            margin-bottom: 10px;
            padding: 4px 8px;
            border-radius: 4px;
            background: rgba(0, 0, 0, 0.06);
        }

        .risk-card-body {
            font-size: 0.9375rem;
            color: var(--text-dark);
            margin-bottom: 12px;
            line-height: 1.5;
        }

        .risk-card-advice {
            font-size: 0.875rem;
            padding: 12px;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 8px;
        }

        .risk-card-advice strong {
            display: block;
            margin-bottom: 4px;
        }

        /* No Results */
        .no-results {
            text-align: center;
            padding: 32px;
            background: var(--bg-white);
            border-radius: 14px;
        }

        .no-results-icon {
            font-size: 3rem;
            margin-bottom: 16px;
        }

        /* Results Footer */
        .results-footer {
            margin-top: 48px;
            padding: 32px;
            background: var(--bg-white);
            border-radius: 16px;
            text-align: center;
        }

        .results-footer h4 {
            font-size: 1.125rem;
            margin-bottom: 8px;
        }

        .results-footer p {
            color: var(--text-muted);
            font-size: 0.9375rem;
            margin-bottom: 20px;
        }

        .email-signup {
            display: flex;
            gap: 12px;
            max-width: 400px;
            margin: 0 auto;
        }

        .email-signup input {
            flex: 1;
        }

        .email-signup button {
            padding: 14px 24px;
            background: var(--accent-black);
            color: #fff;
            border: none;
            border-radius: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s;
            white-space: nowrap;
        }

        .email-signup button:hover {
            background: #333;
        }

        .disclaimer {
            margin-top: 32px;
            padding-top: 24px;
            border-top: 1px solid var(--border-light);
            font-size: 0.8125rem;
            color: var(--text-muted);
        }

        /* Responsive */
        @media (max-width: 640px) {
            .container {
                padding: 16px;
            }

            h1 {
                font-size: 1.75rem;
            }

            .subtitle {
                font-size: 1rem;
            }

            .form-section {
                padding: 24px 20px;
            }

            .date-range {
                grid-template-columns: 1fr;
            }

            .slider-labels {
                font-size: 0.6875rem;
            }

            .email-signup {
                flex-direction: column;
            }

            .email-signup button {
                width: 100%;
            }

            #animation-placeholder {
                height: 150px;
            }
        }

        /* Smooth scroll */
        html {
            scroll-behavior: smooth;
        }

        /* Inline Survey Section */
        .survey-section {
            margin-top: 32px;
            padding: 32px;
            background: var(--bg-white);
            border-radius: 16px;
        }

        .survey-header {
            text-align: center;
            margin-bottom: 28px;
        }

        .survey-header h3 {
            font-size: 1.375rem;
            font-weight: 600;
        }

        .survey-question {
            margin-bottom: 24px;
        }

        .survey-question label {
            font-size: 1rem;
            font-weight: 500;
            margin-bottom: 12px;
        }

        /* Number Scale */
        .number-scale {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .scale-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .scale-buttons {
            display: flex;
            gap: 4px;
            justify-content: space-between;
        }

        .scale-buttons button {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            border: 1px solid var(--border-light);
            background: #fff;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.15s;
        }

        .scale-buttons button:hover {
            border-color: var(--accent-black);
        }

        .scale-buttons button.active {
            background: var(--accent-black);
            color: #fff;
            border-color: var(--accent-black);
        }

        /* Feedback textarea */
        .survey-textarea {
            width: 100%;
            padding: 12px 14px;
            font-size: 0.9375rem;
            border: 1px solid var(--border-light);
            border-radius: 12px;
            resize: vertical;
            min-height: 80px;
            font-family: inherit;
        }

        .survey-textarea:focus {
            outline: none;
            border-color: var(--accent-black);
        }

        .survey-textarea::placeholder {
            color: #9CA3AF;
        }

        /* Survey buttons */
        .survey-buttons {
            display: flex;
            gap: 12px;
            margin-top: 28px;
        }

        .survey-btn {
            flex: 1;
            padding: 14px 20px;
            font-size: 1rem;
            font-weight: 500;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
            font-family: inherit;
        }

        .survey-btn-primary {
            background: var(--accent-black);
            color: #fff;
            border: none;
        }

        .survey-btn-primary:hover {
            background: #333;
        }

        .survey-btn-secondary {
            background: transparent;
            color: var(--text-muted);
            border: 1px solid var(--border-light);
        }

        .survey-btn-secondary:hover {
            border-color: var(--text-muted);
            color: var(--text-dark);
        }

        .survey-thanks {
            text-align: center;
            padding: 20px;
        }

        .survey-thanks h4 {
            font-size: 1.125rem;
            margin-bottom: 8px;
        }

        .survey-thanks p {
            color: var(--text-muted);
        }

        @media (max-width: 640px) {
            .survey-section {
                padding: 24px 20px;
            }

            .scale-buttons button {
                width: 28px;
                height: 32px;
                font-size: 0.75rem;
            }
        }

        /* Loading state */
        .loading {
            position: relative;
            pointer-events: none;
        }

        .loading::after {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(255, 255, 255, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Custom scrollbar for dropdowns */
        .country-list::-webkit-scrollbar {
            width: 8px;
        }

        .country-list::-webkit-scrollbar-track {
            background: transparent;
        }

        .country-list::-webkit-scrollbar-thumb {
            background: var(--border-light);
            border-radius: 4px;
        }

        .country-list::-webkit-scrollbar-thumb:hover {
            background: var(--text-muted);
        }
