/* Booky AI · one enquiry, guided by the business's rules */
.sol-section {
    --sol-surface: color-mix(in srgb, var(--brand) 8%, var(--bg-card));
    --sol-agent-bg: var(--brand-dark);
    --sol-agent-text: var(--text-on-brand);
    --sol-example-shadow: var(--shadow-md);
    background: var(--bg-page);
    color: var(--text-primary);
    padding-block: 1rem clamp(3.5rem, 7vw, 6rem);
}


.sol-story {
    align-items: center;
    background: var(--sol-surface);
    border-radius: var(--radius-xl);
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1fr);
    padding: clamp(1.25rem, 4vw, 3rem);
}

.sol-copy > h2 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 3.25vw, 2.75rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.sol-copy > h2 > span { color: var(--brand); }
.sol-copy > p { color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.6; margin: 1.25rem 0 0; max-width: 31ch; }

.sol-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.sol-rules > li { align-items: center; color: var(--text-secondary); display: flex; font-size: 0.8125rem; gap: 0.375rem; }
.sol-section svg { fill: none; flex: 0 0 auto; height: 1rem; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 1rem; }
.sol-rules svg { color: var(--brand); height: 0.875rem; width: 0.875rem; }
.sol-explore { 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; min-height: 2.75rem; text-decoration: underline !important; text-underline-offset: 0.25rem; white-space: nowrap; }
.sol-explore:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }

.sol-example { margin: 0; min-width: 0; width: 100%; }
.sol-conversation { display: flex; flex-direction: column; gap: 0.75rem; }

.sol-message {
    align-self: flex-start;
    background: var(--bg-card);
    border-radius: 0.875rem 0.875rem 0.875rem 0.25rem;
    box-shadow: var(--sol-example-shadow);
    color: var(--text-primary);
    max-width: 90%;
    padding: 0.875rem 1rem;
}

.sol-speaker { color: var(--text-secondary); display: block; font-size: 0.6875rem; font-weight: 500; line-height: 1.4; margin-bottom: 0.375rem; }
.sol-message > p { font-size: 0.875rem; line-height: 1.5; margin: 0; }
.sol-message--booky { align-self: flex-end; background: var(--sol-agent-bg); border-radius: 0.875rem 0.875rem 0.25rem 0.875rem; color: var(--sol-agent-text); max-width: 95%; }
.sol-message--booky > .sol-speaker { color: var(--sol-agent-text); }
.sol-message--reply { max-width: 90%; }

.sol-handoff {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--sol-example-shadow);
    margin-top: 1.25rem;
    padding: 1rem;
}

.sol-handoff-heading { align-items: center; color: var(--brand); display: flex; gap: 0.5rem; margin-bottom: 0.875rem; }
.sol-handoff-heading > h3 { color: inherit; font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 600; line-height: 1.3; margin: 0; }
.sol-handoff > dl { display: grid; gap: 0.75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.sol-handoff dt { color: var(--text-secondary); font-size: 0.625rem; font-weight: 400; line-height: 1.4; margin: 0 0 0.25rem; }
.sol-handoff dd { color: var(--text-primary); font-size: 0.75rem; font-weight: 500; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.sol-example > figcaption { color: var(--text-secondary); font-size: 0.625rem; line-height: 1.5; margin: 0.75rem 0 0; }

@media (hover: hover) and (pointer: fine) {
    .sol-explore:hover { color: var(--brand); }
}

@media (min-width: 62rem) {
    .sol-story { column-gap: 3rem; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
}

@media (max-width: 23rem) {
    .sol-copy > h2 { font-size: 1.75rem; }
    .sol-message { max-width: 95%; padding-inline: 0.875rem; }
    .sol-message--booky { max-width: 100%; }
    .sol-handoff > dl { column-gap: 0.5rem; }
}
