:root {
    --yandex-yellow: #ffcc00;
    --yandex-black: #212121;
    --bg-gray: #f6f6f6;
    --white: #ffffff;
    --text-muted: #828282;
}

body {
    font-family: -apple-system, system-ui, sans-serif;
    background-color: var(--bg-gray);
    display: flex; justify-content: center; padding: 20px;
}

.container {
    background: var(--white);
    width: 100%; max-width: 450px;
    border-radius: 24px; padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.step { display: none; }
.step.active { display: block; animation: fadeIn 0.3s; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

h2 { font-size: 24px; text-align: center; margin-bottom: 8px; }
.step-description { color: var(--text-muted); text-align: center; margin-bottom: 24px; font-size: 14px; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }

.card {
    position: relative; border: 2px solid #f0f0f0;
    border-radius: 16px; padding: 16px; cursor: pointer;
    min-height: 100px; display: flex; align-items: flex-end;
}

.card input { position: absolute; opacity: 0; }

/* Когда радио-кнопка выбрана, красим рамку через соседний div */
.card input:checked ~ .card-ui-border {
    position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
    border: 3px solid var(--yandex-yellow); border-radius: 16px;
}

.card-title { font-weight: 600; font-size: 14px; z-index: 1; }

input, select {
    width: 100%; background: #f0f0f0; border: none;
    padding: 14px; border-radius: 12px; margin-bottom: 10px;
    font-size: 16px; outline: none; box-sizing: border-box;
}

button {
    width: 100%; background: var(--yandex-yellow);
    border: none; padding: 16px; border-radius: 12px;
    font-size: 16px; font-weight: 700; cursor: pointer;
}

.footer-note { margin-top: 20px; font-size: 11px; color: var(--text-muted); text-align: center; }