/* Benefit-led homepage. Shared colours, type and controls remain canonical. */
.marketing-page-home .hero-copy h1 { font-weight: 650; line-height: 1.1; text-wrap: balance; }
.marketing-page-home .hero-grid { min-height: 0; }
.marketing-page-home .hero-actions .btn-secondary { background: transparent; color: var(--nw-ink); border: 1px solid var(--nw-line); }
.marketing-page-home .hero-actions .btn-secondary:hover { background: var(--nw-fog); }
.marketing-page-home .marketing-section-inner { padding-block: 64px; gap: 32px; }
.marketing-page-home .section-copy h2 { font-weight: 650; line-height: 1.2; }
.marketing-page-home .integration-section { padding-block: 64px; }
.marketing-page-home main > section { scroll-margin-top: 104px; }
.home-conversation-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
.home-conversation-tabs button { padding: 12px 14px; min-height: 48px; border: 1px solid var(--nw-line); border-radius: 8px; background: var(--nw-surface); color: var(--nw-blue-dark); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.home-conversation-tabs button:hover { border-color: var(--nw-blue); background: var(--nw-canvas); }
.home-conversation-tabs button[aria-selected="true"] { color: var(--nw-surface); background: var(--nw-blue-dark); border-color: var(--nw-blue-dark); }
.home-conversation-tabs button:focus-visible, .home-conversation-panel:focus-visible { outline: 2px solid var(--nw-blue); outline-offset: 3px; }
.home-conversation-tabs button:active { transform: translateY(1px); }
.home-conversation-panels { display: grid; }
.home-conversation-panel { min-width: 0; padding: 22px; display: grid; gap: 24px; background: var(--nw-surface); border: 1px solid var(--nw-line); border-radius: var(--radius-small); box-shadow: var(--shadow-soft); }
.home-conversation-panel[hidden] { display: none; }
.home-conversation-context { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.home-conversation-context h3 { margin: 0 0 14px; font-size: 26px; line-height: 1.3; font-weight: 600; text-wrap: balance; }
.home-conversation-context > p:not(.integration-eyebrow) { color: var(--nw-body); font-size: 16px; line-height: 1.7; }
.home-conversation-visual { display: none; width: 230px; max-width: 100%; height: auto; margin-block: 18px; border-radius: 8px; }
.home-conversation-source { margin-top: 20px; padding-top: 16px; width: 100%; border-top: 1px solid var(--nw-line); font-size: 13px; color: var(--nw-body); }
.home-conversation-source span { display: block; color: var(--nw-blue-dark); font-weight: 650; margin-bottom: 4px; }
.home-conversation-source p { margin: 0; }
.home-chat { container: home-chat / inline-size; min-width: 0; align-self: start; border: 1px solid var(--nw-line); border-radius: 12px; background: var(--nw-canvas); overflow: hidden; }
.home-chat > header { display: flex; align-items: center; gap: 10px; padding: 16px 20px; background: var(--nw-surface); border-bottom: 1px solid var(--nw-line); }
.home-chat > header strong { display: block; font-size: 15px; font-weight: 650; }
.home-chat > header div > span { display: block; font-size: 12px; color: var(--nw-body); }
.home-chat-avatar { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 50%; color: white; background: var(--nw-deep-navy); font-weight: 600; }
.home-chat-example { margin-left: auto; font-size: 11px; color: var(--nw-body); }
.home-chat-messages { display: flex; flex-direction: column; gap: 14px; list-style: none; padding: 20px; margin: 0; }
.home-chat-messages li { width: fit-content; max-width: 94%; font-size: 15px; line-height: 1.65; }
.home-chat-messages li p { margin: 0; padding: 12px 16px; border-radius: 10px 10px 10px 2px; background: var(--nw-surface); border: 1px solid var(--nw-line); color: var(--nw-ink); }
.home-chat-messages li[data-chat-speaker="customer"] { align-self: flex-end; }
.home-chat-messages li[data-chat-speaker="customer"] p { background: var(--nw-sage); border-color: transparent; border-radius: 10px 10px 2px 10px; }
.home-chat-speaker { display: block; margin-bottom: 4px; padding-inline: 4px; font-size: 11px; font-weight: 600; color: var(--nw-body); }
.home-chat-messages li[data-chat-speaker="customer"] .home-chat-speaker { text-align: right; }
.home-chat-outcome { padding: 14px 20px; margin: 0; border-top: 1px solid var(--nw-line); color: var(--nw-blue-dark); font-size: 13px; font-weight: 600; }
.home-product-options { display: grid; gap: 8px; margin-block: 12px; }
.home-product-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; min-width: 0; overflow: hidden; border: 1px solid var(--nw-line); border-radius: 8px; background: var(--nw-surface); }
.home-product-photo { position: relative; overflow: hidden; aspect-ratio: 216 / 230; width: 100%; }
/* Art direction: show only the existing 216x230 product-photo areas, without the miniature UI text. */
.home-product-photo img { position: absolute; width: 474.0741%; max-width: none; height: auto; top: -228.6957%; left: -100.9259%; }
.home-product-photo--headlamp img { left: -212.9630%; }
.home-product-photo--bag img { left: -329.1667%; }
.home-product-details { display: flex; flex-direction: column; gap: 3px; padding: 10px; min-width: 0; }
.home-product-details strong { font-size: 14px; line-height: 1.4; font-weight: 600; }
.home-product-price { font-size: 15px; font-weight: 600; }
.home-stock-status { color: var(--nw-ink); font-size: 12px; white-space: nowrap; }
.home-stock-status::before { content: '✓'; color: var(--nw-blue-dark); margin-right: 5px; }
.home-commerce-summary { margin-top: 12px; padding: 16px; border: 1px solid var(--nw-line); border-radius: 8px; background: var(--nw-surface); }
.home-commerce-summary > strong { display: block; font-size: 14px; font-weight: 600; }
.home-commerce-summary dl { margin: 12px 0; }
.home-commerce-summary dl > div { padding-block: 12px; border-top: 1px solid var(--nw-line); }
.home-commerce-summary dt { font-size: 14px; font-weight: 600; }
.home-commerce-summary dd { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 4px 0 0; font-size: 13px; color: var(--nw-body); }
.home-commerce-summary dd > span:last-child { flex-basis: 100%; }
.home-commerce-summary small { display: block; font-size: 11px; color: var(--nw-body); }
.home-delivery-price { color: var(--nw-ink); font-size: 15px; font-weight: 600; }
@container home-chat (min-width: 440px) {
    .home-product-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-product-card { display: block; }
    .home-commerce-summary dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; }
    .home-commerce-summary dd { margin: 0; }
}
.home-order-summary { margin-top: 12px; padding: 16px; border: 1px solid var(--nw-line); border-radius: 8px; background: var(--nw-surface); }
.home-order-heading { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; font-size: 14px; }
.home-order-heading strong { font-weight: 650; }
.home-order-heading span { color: var(--nw-body); }
.home-order-summary dl { display: grid; gap: 8px; margin: 16px 0; padding-block: 12px; border-block: 1px solid var(--nw-line); }
.home-order-summary dl > div { display: flex; justify-content: space-between; gap: 12px; }
.home-order-summary dt { color: var(--nw-body); font-size: 13px; }
.home-order-summary dd { margin: 0; font-size: 14px; font-weight: 600; white-space: nowrap; }
.home-order-tracking { font-size: 13px; color: var(--nw-body); }
.home-order-summary small { display: block; margin-top: 10px; color: var(--nw-body); font-size: 11px; }
.home-conversation-note { max-width: 820px; margin-top: 18px; color: var(--nw-body); font-size: 12px; line-height: 1.7; }
.marketing-page-home .customer-views img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.marketing-page-home .customer-views h3 { font-size: 15px; }
.marketing-page-home .swipe-cue { margin-top: 0; }
.home-pricing { background: var(--nw-surface); }
.home-pricing-grid { display: grid; gap: 32px; padding-block: 64px; }
.home-pricing-grid > * { min-width: 0; }
.home-pricing-grid .marketing-plan { align-self: start; }
.home-onboarding { margin-top: 32px; }
.home-onboarding h3 { font-size: 21px; font-weight: 600; margin-bottom: 20px; }
.home-onboarding ol { padding-left: 24px; margin: 0 0 24px; }
.home-onboarding li { padding-left: 8px; margin-bottom: 18px; }
.home-onboarding li::marker { color: var(--nw-blue-dark); font-size: 13px; font-weight: 650; }
.home-onboarding strong { font-size: 15px; font-weight: 650; }
.home-onboarding p { color: var(--nw-body); font-size: 14px; line-height: 1.65; margin: 4px 0 0; }
.home-onboarding a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; font-weight: 600; color: var(--nw-blue-dark); }
.home-final-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px; margin-top: 8px; border-radius: var(--radius-small); background: var(--nw-fog); }
.home-final-contact h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.home-final-contact p { color: var(--nw-body); margin: 0; }
.marketing-page-home .marketing-section-faq-preview details { padding-block: 18px; }
.marketing-page-home .marketing-section-faq-preview .marketing-section-inner { gap: 0; }
.marketing-page-home .marketing-section-faq-preview .section-copy { margin-bottom: 26px; }
.marketing-page-home .marketing-section-faq-preview .home-final-contact { margin-top: 28px; }
.no-js .home-conversation-tabs { display: none; }
.no-js .home-conversation-panel[hidden] { display: grid; }
.no-js .home-conversation-panels { gap: 24px; }
@media (min-width: 700px) {
    .home-order-summary dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-order-summary dl > div { display: block; }
    .home-conversation-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-conversation-panel { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); padding: 32px; gap: 32px; min-height: 640px; }
    .home-conversation-visual { display: block; }
    .home-conversation-source { margin-top: auto; }
    .home-final-contact { flex-direction: row; align-items: center; justify-content: space-between; }
    .home-final-contact .btn { flex-shrink: 0; }
}
@media (min-width: 1120px) {
    .home-conversation-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .home-conversation-panel { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 64px; padding: 36px 48px; }
    .home-conversation-context h3 { font-size: 30px; }
    .home-pricing-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
    .marketing-page-home .hero-grid { padding-block: 52px 64px; }
    .marketing-page-home .hero-copy h1 { font-size: 62px; }
    .marketing-page-home .marketing-section-inner, .home-pricing-grid { padding-block: 72px; }
    .marketing-page-home .integration-section { padding-block: 72px; }
}
@media (max-width: 399px) {
    .home-conversation-panel { padding: 16px; }
    .home-chat > header { padding: 12px; }
    .home-chat-messages { padding: 12px; }
    .home-chat-messages li { max-width: 100%; }
    .home-chat-messages li p { padding: 10px 12px; }
    .home-chat-example { display: none; }
    .home-conversation-tabs button { padding: 10px 6px; font-size: 13px; }
    .home-final-contact { padding: 20px; }
}
