﻿/* ── Brief section ──────────────────────────────────────── */
.brief {
    background: #f5f5f7;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.brief .section-label { color: var(--gray); }

.brief-h {
    color: var(--black);
    margin-bottom: 12px;
}
.brief-sub {
    font-size: 17px;
    color: #6e6e73;
    line-height: 1.65;
    margin-bottom: 56px;
    max-width: 500px;
}

/* ── Form card ──────────────────────────────────────────── */
.brief-form {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 12px 40px rgba(0,0,0,0.07);
}

/* ── Block ──────────────────────────────────────────────── */
.brief-block {
    padding: 32px 40px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.brief-block:last-child { border-bottom: none; }

.brief-step-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pink);
    font-family: 'SF Mono', 'Fira Code', monospace;
    margin-bottom: 6px;
}
.brief-q {
    font-size: 19px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

/* ── Tiles (step 1) ─────────────────────────────────────── */
.tile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tile {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 1.5px solid rgba(0,0,0,0.10);
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
    user-select: none;
}
.tile input { display: none; }
.tile-icon  { display: none; }
.tile-sub   { display: none; }
.tile-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    transition: color 0.18s;
}
.tile.selected {
    background: var(--black);
    border-color: var(--black);
}
.tile.selected .tile-name { color: #fff; }
.tile:hover:not(.selected) { border-color: var(--pink); }
.tile--wide { width: 100%; justify-content: center; }

/* ── Radio list (step 2) ────────────────────────────────── */
.radio-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.radio-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}
.radio-row input { display: none; }
.radio-mark {
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(0,0,0,0.18);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.15s;
}
.radio-mark::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%) scale(0);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--pink);
    transition: transform 0.15s;
}
.radio-row.selected .radio-mark { border-color: var(--pink); }
.radio-row.selected .radio-mark::after { transform: translate(-50%,-50%) scale(1); }
.radio-row:hover { background: rgba(0,0,0,0.03); }
.radio-row.selected { background: rgba(255,45,120,0.04); }
.radio-text { font-size: 15px; color: #3a3a3e; line-height: 1.4; }

/* ── Pills (step 3) ─────────────────────────────────────── */
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pill-btn { cursor: pointer; user-select: none; }
.pill-btn input { display: none; }
.pill-btn span {
    display: inline-flex;
    align-items: center;
    padding: 11px 22px;
    border-radius: 999px;
    border: 1.5px solid rgba(0,0,0,0.10);
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.pill-btn.selected span {
    background: var(--black);
    border-color: var(--black);
    color: #fff;
}
.pill-btn:hover:not(.selected) span { border-color: var(--pink); }

/* ── Textarea (step 4) ──────────────────────────────────── */
.brief-textarea {
    width: 100%;
    padding: 16px 18px;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.65;
    color: var(--black);
    background: #f5f5f7;
    border: 1.5px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    resize: vertical;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
    box-sizing: border-box;
}
.brief-textarea:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(255,45,120,0.08);
    background: #fff;
}
.brief-textarea::placeholder { color: #c7c7cc; }

/* ── Contacts (step 5) ──────────────────────────────────── */
.brief-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
}
.brief-input {
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    color: var(--black);
    background: #f5f5f7;
    border: 1.5px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.brief-input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(255,45,120,0.08);
    background: #fff;
}
.brief-input::placeholder { color: #c7c7cc; }

/* ── Submit ──────────────────────────────────────────────── */
.btn-submit {
    font-size: 16px;
    font-weight: 700;
    padding: 16px 44px;
    background: var(--black);
    color: #fff;
    border-radius: 980px;
    letter-spacing: -0.01em;
    border: none;
    cursor: pointer;
    transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
}
.btn-submit:hover {
    background: var(--pink);
    box-shadow: 0 0 52px var(--pink-glow);
    transform: scale(1.04);
}
