:root {
            --navy: #0d174b;
            --red: #bd3239;
            --ink: #1d2333;
            --muted: #5b6377;
            --line: #e2e6ee;
        }

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

        body {
            background: #f3f4f6;
            color: var(--ink);
            font-family: 'Inter', system-ui, sans-serif;
            line-height: 1.65;
        }

        h1,
        h2,
        .brand,
        .nav-cta,
        label,
        button {
            font-family: 'Poppins', sans-serif;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        header {
            position: sticky;
            top: 0;
            z-index: 50;
            background: rgba(13, 23, 75, .97);
            backdrop-filter: blur(8px);
        }

        .nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            max-width: 1140px;
            margin: 0 auto;
            padding: 16px 24px;
        }

        .brand {
            color: #fff;
            font-size: 22px;
            font-weight: 700;
        }

        .brand span {
            color: var(--red);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 26px;
        }

        .nav-links a {
            color: #cfd5e6;
            font-size: 14.5px;
            font-weight: 500;
        }

        .nav-links a:hover {
            color: #fff;
        }

        .nav-cta {
            background: var(--red);
            border-radius: 8px;
            color: #fff !important;
            font-size: 14px;
            font-weight: 600;
            padding: 10px 20px;
            white-space: nowrap;
        }

        .burger {
            display: none;
            background: none;
            border: 0;
            cursor: pointer;
            flex-direction: column;
            gap: 5px;
            padding: 6px;
        }

        .burger span {
            width: 24px;
            height: 2px;
            background: #fff;
            display: block;
        }

        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            min-width: 210px;
            overflow: hidden;
            z-index: 100;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
        }

        .dropdown-content a {
            display: block;
            padding: 12px 16px;
            color: #1e3a8a;
        }

        .dropdown-content a:hover {
            background: #1e3a8a;
            color: #fff;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }

        .container {
            max-width: 1180px;
            margin: 24px auto;
            background: #fff;
            padding: 28px;
            border-radius: 18px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
        }

        .page-title {
            color: var(--ink);
            font-size: 30px;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 10px;
        }

        .page-subtitle {
            color: var(--muted);
            font-size: 14px;
            line-height: 1.65;
            margin-bottom: 12px;
            max-width: 760px;
        }

        .access-note {
            padding: 10px 12px;
            margin-bottom: 22px;
            border: 1px solid #bfdbfe;
            border-radius: 10px;
            background: #eff6ff;
            color: #1e40af;
            font-size: 12px;
            line-height: 1.5;
        }

        #calculatorForm {
            display: block;
        }

        .investment-form-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 22px;
            align-items: stretch;
        }

        .form-section {
            border: 1px solid var(--line);
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 0;
            background: #fff;
            display: grid;
            grid-template-columns: 1fr;
            gap: 18px;
            height: 100%;
        }

        .form-section h2 {
            color: var(--navy);
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 0;
        }

        .form-row {
            margin-bottom: 0;
            min-width: 0;
        }

        .form-row:last-child {
            margin-bottom: 0;
        }

        label {
            display: block;
            color: var(--ink);
            font-size: 13px;
            font-weight: 600;
            line-height: 1.35;
            margin-bottom: 6px;
        }

        .label-hint {
            display: block;
            color: var(--muted);
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 12px;
            font-weight: 400;
            line-height: 1.5;
            margin-top: 2px;
        }

        .input-money,
        .input-wrap {
            display: flex;
            align-items: center;
            overflow: hidden;
            border: 1px solid #d1d5db;
            border-radius: 10px;
            background: #fff;
            min-height: 50px;
            width: 100%;
        }

        .input-money span,
        .input-wrap span {
            flex: none;
            background: #f9fafb;
            border-right: 1px solid #d1d5db;
            color: #374151;
            font-size: 14px;
            padding: 14px 16px;
        }

        .input-money .suffix,
        .input-wrap .suffix {
            border-left: 1px solid #d1d5db;
            border-right: 0;
        }

        .input-money input,
        .input-wrap input {
            width: 100%;
            min-width: 0;
            border: 0;
            outline: none;
            padding: 14px 16px;
            color: #111827;
            font-size: 14px;
        }

        .input-money input::placeholder,
        .input-wrap input::placeholder {
            color: #9ca3af;
        }

        .input-money:has(input:disabled),
        .input-wrap:has(input:disabled) {
            background: #f3f4f6;
            opacity: .72;
        }

        .input-money input:disabled,
        .input-wrap input:disabled {
            background: #f3f4f6;
            cursor: not-allowed;
        }

        .btn-submit {
            width: 100%;
            border: none;
            background: var(--red);
            color: #fff;
            padding: 16px;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 22px;
            box-shadow: 0 8px 22px rgba(189, 50, 57, .3);
            transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
        }

        .btn-submit:hover {
            background: #a52a30;
            transform: translateY(-2px);
        }

        #openIdentityForm {
            background: var(--navy);
            box-shadow: 0 8px 22px rgba(13, 23, 75, .28);
        }

        #openIdentityForm:hover {
            background: #16235f;
        }

        .modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: rgba(17, 24, 39, .62);
        }

        .modal-overlay.is-open {
            display: flex;
        }

        .identity-modal {
            width: 100%;
            max-width: 520px;
            background: #fff;
            border-radius: 18px;
            box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
            padding: 28px;
        }

        .identity-modal h2 {
            color: var(--ink);
            font-size: 24px;
            line-height: 1.2;
            margin-bottom: 8px;
        }

        .identity-modal p {
            color: #6b7280;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 24px;
        }

        .identity-field {
            margin-bottom: 18px;
        }

        .identity-field input {
            width: 100%;
            border: 1px solid #d1d5db;
            border-radius: 10px;
            outline: none;
            padding: 14px 16px;
            font-size: 14px;
        }

        .identity-field input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
        }

        .modal-actions {
            display: flex;
            gap: 12px;
            margin-top: 8px;
        }

        .modal-actions>button {
            flex: 1;
            width: auto;
            height: 60px;
            min-height: 60px;
            padding: 0 16px;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 600;
            margin-top: 0 !important;
            box-shadow: none;
        }

        .btn-secondary {
            width: 100%;
            border: 1px solid #d1d5db;
            background: #fff;
            color: var(--ink);
            padding: 14px;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
        }

        .btn-secondary:hover {
            background: #f9fafb;
        }

        @media(max-width: 900px) {
            .nav-links {
                position: fixed;
                top: 62px;
                left: 0;
                right: 0;
                display: none;
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
                padding: 18px 24px;
                background: var(--navy);
                border-top: 1px solid rgba(255, 255, 255, .1);
            }

            .nav-links.open {
                display: flex;
            }

            .burger {
                display: flex;
            }

            .dropdown,
            .dropdown-content {
                width: 100%;
            }

            .dropdown-content {
                position: static;
                margin-top: 10px;
            }

            .container {
                width: auto;
                margin: 20px 14px;
                padding: 22px;
            }

            .page-title {
                font-size: 25px;
            }

            .modal-actions {
                flex-direction: column-reverse;
            }

            .investment-form-grid,
            .form-section {
                grid-template-columns: 1fr;
            }
        }
