/* Booky AI · compact, ordered setup sequence */
.setup-section {
    --setup-rules-bg: color-mix(in srgb, var(--brand) 7%, var(--bg-card));
    --setup-connect-bg: color-mix(in srgb, var(--color-info) 7%, var(--bg-card));
    --setup-ready-bg: color-mix(in srgb, var(--color-accent-real-estate) 7%, var(--bg-card));
    background: var(--bg-page);
    color: var(--text-primary);
    padding-block: clamp(3.5rem, 7vw, 6rem);
}
.setup-header { margin-bottom: 2.5rem; }
.setup-header h2 { color: var(--text-primary); font-family: var(--font-heading); font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1.08; margin: 0; overflow-wrap: anywhere; }
.setup-header p { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; margin: 1rem 0 0; max-width: 43ch; }
.setup-steps { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
.setup-step { column-gap: 1rem; display: grid; grid-template-columns: 2rem minmax(0, 1fr); min-width: 0; position: relative; }
.setup-number { align-items: center; background: var(--bg-page); border: 1px solid var(--border-strong); border-radius: 50%; color: var(--text-primary); display: flex; font-size: 0.8125rem; font-variant-numeric: tabular-nums; font-weight: 500; grid-column: 1; grid-row: 1 / span 3; height: 2rem; justify-content: center; position: relative; width: 2rem; z-index: 1; }
.setup-step:not(:last-child)::after { border-left: 1px solid var(--border-default); bottom: -2rem; content: ""; left: 1rem; position: absolute; top: 2.5rem; }
.setup-illustration { align-items: center; border-radius: var(--radius-lg); display: flex; grid-column: 2; height: 9rem; justify-content: center; margin-bottom: 1.25rem; min-width: 0; padding: 1rem; }
.setup-illustration--rules { background: var(--setup-rules-bg); }
.setup-illustration--connect { background: var(--setup-connect-bg); gap: 0.375rem; }
.setup-illustration--ready { background: var(--setup-ready-bg); }
.setup-section svg { fill: none; flex: 0 0 auto; height: 1rem; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 1rem; }
.setup-business-rules { background: var(--bg-card); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); max-width: 14rem; padding: 0.5rem 1rem; width: 100%; }
.setup-business-rules > span { align-items: center; color: var(--text-primary); display: flex; font-size: 0.75rem; gap: 0.5rem; justify-content: space-between; line-height: 1.5; padding-block: 0.375rem; }
.setup-business-rules > span + span { border-top: 1px solid var(--border-subtle); }
.setup-business-rules svg { color: var(--brand); height: 0.875rem; width: 0.875rem; }
.setup-connection { align-items: center; color: var(--text-secondary); display: flex; flex: 0 0 auto; flex-direction: column; font-size: 0.625rem; gap: 0.5rem; }
.setup-connection > svg { color: var(--text-primary); height: 1.5rem; width: 1.5rem; }
.setup-link { background: var(--border-strong); flex: 1 1 0.75rem; height: 1px; max-width: 2rem; min-width: 0; }
.setup-illustration--connect > img { flex: 0 0 auto; height: auto; width: 2.75rem; }
.setup-handoff { align-items: center; display: flex; flex-direction: column; gap: 0.5rem; text-align: center; }
.setup-handoff-check { align-items: center; background: var(--bg-card); border-radius: 50%; color: var(--brand); display: flex; height: 2rem; justify-content: center; width: 2rem; }
.setup-handoff > strong { color: var(--text-primary); font-size: 0.8125rem; font-weight: 600; }
.setup-handoff > span:last-child { color: var(--text-secondary); font-size: 0.625rem; }
.setup-step h3 { color: var(--text-primary); font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; grid-column: 2; letter-spacing: -0.02em; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.setup-step > p { color: var(--text-secondary); font-size: 0.875rem; grid-column: 2; line-height: 1.6; margin: 0.625rem 0 0; max-width: 34ch; }
.setup-start { align-items: center; border-radius: var(--radius-sm); color: var(--text-primary); display: inline-flex; font-size: 0.875rem; font-weight: 600; gap: 0.75rem; margin-top: 2rem; min-height: 2.75rem; text-decoration: underline !important; text-underline-offset: 0.25rem; white-space: nowrap; }
.setup-start:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .setup-start:hover { color: var(--brand); } }
@media (min-width: 52rem) {
    .setup-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .setup-step { display: block; }
    .setup-number { margin-bottom: 1.5rem; }
    .setup-step:not(:last-child)::after { border-left: 0; border-top: 1px solid var(--border-default); bottom: auto; left: 3rem; right: -1rem; top: 1rem; }
    .setup-illustration { margin-bottom: 1.5rem; }
}
