:root {
    --blue: #0b4ea2;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f8fafc;
    --note: #f4fbf4;
    --note-border: #7bc27b;
    --radius: 10px;
}


.home-section {
    background: var(--soft) !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center;
    overflow: hidden;
}

.screen {
    padding: 28px 16px;
    display: flex;
    justify-content: center;
}

.form-shell {
    width: 920px;
    max-width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    padding: 0 18px 22px;
}

.title-bar {
    margin: 0 -18px 18px;
    background: var(--blue);
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 10px 14px;
    letter-spacing: .2px;
}

.note-box {
    border: 1px dashed var(--note-border);
    background: var(--note);
    padding: 14px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
}

.note-box h4 {
    margin: 0 0 6px;
    font-size: 13px;
}

.note-box p {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
}

.section-title {
    margin: 18px 0 10px;
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 12px 12px;
    font-size: 12px;
    outline: none;
    background: #fff;
}

.field textarea {
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}

.row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checks {
    padding: 6px 2px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.checkline .q {
    min-width: 320px;
    color: #111827;
    font-weight: 600;
}

.checkline label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

.btn-primary {
    margin-top: 6px;
    width: 180px;
    background: var(--blue);
    color: #fff;
    border: none;
    padding: 10px 12px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 2px;
}

.btn-primary:hover {
    filter: brightness(.95);
}

/* =====================
   PREVIEW / TYPE SELECT
===================== */
.screen-preview {
    background: #eaf1ff;
}

.preview-card {
    width: 420px;
    max-width: 100%;
    background: #dbe9ff;
    padding: 22px 20px;
    border-radius: 26px;
    position: relative;
}

.preview-card h3 {
    margin: 0 0 14px;
    color: #4c1d95;
    font-size: 18px;
    font-weight: 800;
}

.radio-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-weight: 700;
    color: #4c1d95;
}

.radio-row input {
    width: 18px;
    height: 18px;
    accent-color: #7c3aed;
}

.preview-illu {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.phone {
    width: 160px;
    height: 260px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    position: relative;
    overflow: hidden;
}

.phone:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 40px;
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
}

.phone-screen {
    padding: 26px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #a78bfa;
}

.line {
    height: 10px;
    border-radius: 999px;
    background: #c4b5fd;
    width: 100%;
}

.line.sm {
    width: 70%;
}

/* Responsive */
@media (max-width: 700px) {
    .row-2 {
        grid-template-columns: 1fr;
    }

    .checkline .q {
        min-width: 100%;
    }

    .btn-primary {
        width: 100%;
    }
}