.home-hero{max-width:760px;margin:20px auto 26px}
.home-hero h1{font-family:Manrope,Arial,sans-serif;font-size:40px;line-height:1.16;letter-spacing:-1.2px;max-width:650px;margin:0 0 12px;font-weight:750}
.home-hero .hero-shopping-icon{display:inline-block;width:1.15em;height:1.15em;object-fit:contain;vertical-align:-.18em}
.home-hero h1 em{font-style:normal;color:#4656E8}
.home-hero .intro-text{font-size:14px;line-height:1.7;margin:0;color:var(--muted)}
.partner-block,.home-selection{max-width:760px;margin:0 auto 26px;min-width:0}
.partner-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}
.partner-topline>span{font-size:10px;letter-spacing:1.4px;color:var(--muted);font-weight:650}
.partner-hint{font-size:10px;color:var(--muted)}
.partner-carousel{--partner-width:calc((100% - 28px)*.46);display:flex;gap:14px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;padding:24px 0 62px;cursor:grab;-webkit-overflow-scrolling:touch;isolation:isolate}
.partner-carousel::before,.partner-carousel::after{content:"";flex:0 0 calc((100% - var(--partner-width))/2 - 14px);pointer-events:none}
.partner-carousel::-webkit-scrollbar{display:none}
.partner-carousel:active{cursor:grabbing}
.partner-card{flex:0 0 var(--partner-width);min-width:0;border:0;background:none;padding:0;position:relative}
.partner-link{display:flex;flex-direction:column;align-items:center;gap:12px;color:inherit;text-decoration:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;transform:translateY(var(--arc-y,18px)) rotate(var(--arc-rotate,0deg)) scale(var(--arc-scale,.86));transform-origin:center center;will-change:transform}
.partner-card.is-central{z-index:1}
.partner-link:focus-visible{outline:2px solid #9296FF;outline-offset:4px;border-radius:14px}
.partner-art{position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;border-radius:16px;box-shadow:0 9px 18px #0003;display:grid;place-items:center}
.partner-art img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.partner-symbol{font-size:14px;text-align:center}
.partner-caption{font-size:12px;font-weight:600;text-align:center;line-height:1.4}
@media(prefers-reduced-motion:reduce){.partner-link{transform:none;will-change:auto}}
.home-selection .section-head{margin:26px 0 16px;align-items:center}
.home-selection h2{font-size:24px;letter-spacing:-.5px;margin:0 0 6px}
.selection-caption{font-size:12px;color:var(--muted);margin:0}
.selection-empty{padding:25px 20px;border:1px dashed #C5C7D0;border-radius:18px;text-align:center;color:var(--muted);font-size:13px;line-height:1.6}
.selection-empty>span{font-size:30px;color:#4656E8}
.selection-empty p{margin:7px 0}
.selection-empty small{font-size:11px}
html[data-theme=dark] .home-hero h1 em{color:#B4BBFF}
html[data-theme=dark] .selection-empty{border-color:#666974}
html[data-theme=dark] .selection-empty>span{color:#B4BBFF}
@media(max-width:700px){
 .home-hero{margin:18px 0 20px}.home-hero h1{font-size:32px;letter-spacing:-.8px;line-height:1.16}.home-hero .intro-text{font-size:13px}
 .partner-block{margin-bottom:24px}.partner-art{border-radius:12px}.partner-caption{font-size:11px}
 .partner-topline>span{font-size:9px;letter-spacing:1px}.home-selection h2{font-size:22px}.selection-caption{font-size:11px}.home-selection .section-head>.text-button{font-size:11px}.selection-empty{padding:20px 14px}
}
/* One-time welcome: a native modal keeps keyboard focus inside the questionnaire. */
.welcome-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:28px;border:1px solid #DEDFE2;border-radius:24px;background:#fff;color:#17181C;overflow:auto;box-shadow:0 20px 90px #0005}
.welcome-dialog::backdrop{background:#11182799;backdrop-filter:blur(8px)}
.welcome-brand{font-size:13px;font-weight:700;color:#626570}
.welcome-form h1{font-size:28px;line-height:1.2;margin:12px 0}
.welcome-form p{font-size:14px;line-height:1.6}
.welcome-categories{border:0;padding:0;margin:20px 0;display:flex;flex-wrap:wrap;gap:8px}
.welcome-categories legend{font-size:12px;margin-bottom:12px;color:#626570}
.welcome-categories label{position:relative;cursor:pointer}
.welcome-categories input{position:absolute;opacity:0;width:100%;height:100%;margin:0}
.welcome-categories span{display:block;border:1px solid #D8DAE2;padding:10px 14px;border-radius:24px;font-size:14px}
.welcome-categories input:checked+span{background:#4656E8;color:white;border-color:#4656E8}
.welcome-categories input:focus-visible+span{outline:3px solid #959BFF;outline-offset:2px}
.welcome-permissions{display:grid;gap:18px}
.welcome-permissions label{display:flex;align-items:flex-start;gap:12px;cursor:pointer}
.welcome-permissions input{flex:0 0 22px;width:22px;height:22px;margin:2px 0;accent-color:#4656E8}
.welcome-permissions strong{display:block;font-size:15px}
.welcome-permissions small{display:block;line-height:1.5;margin-top:5px;font-size:13px;color:#626570}
.welcome-form .welcome-details{font-size:12px;color:#626570;margin:20px 0 10px}
.welcome-actions{display:grid;gap:10px}.welcome-actions button,.welcome-form [data-welcome-retry]{min-height:46px;border-radius:14px;background:#4656E8;color:white;padding:12px 16px;border:0;font-weight:650}
.welcome-actions .secondary{background:#EEEDFF;color:#3D41B8}
.welcome-status{color:#B12A36;min-height:20px}.welcome-form button:disabled{opacity:.6}
html[data-theme=dark] .welcome-dialog{background:#202125;color:#F5F5F7;border-color:#686A76}
html[data-theme=dark] .welcome-brand,html[data-theme=dark] .welcome-categories legend,html[data-theme=dark] .welcome-permissions small,html[data-theme=dark] .welcome-form .welcome-details{color:#C3C5CF}
html[data-theme=dark] .welcome-categories span{border-color:#686A76}
html[data-theme=dark] .welcome-status{color:#FFA8B0}
@media(max-width:400px){.welcome-dialog{padding:20px}.welcome-form h1{font-size:25px}}

/* Compact selection cards: the image and title open the existing full product. */
.home-selection .feed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.selection-product{position:relative;min-width:0;overflow:hidden}
.selection-product-link{display:block;width:100%;padding:0;text-align:left}
.selection-product-photo{display:block;aspect-ratio:3/4;overflow:hidden;background:#E4E4E7}
.selection-product-photo img{display:block;width:100%;height:100%;object-fit:cover}
.selection-product-info{display:block;padding:12px 14px 15px}
.selection-product-title{display:block;font-size:15px;line-height:1.4;margin-bottom:4px}
.selection-product-info .price{display:block;font-size:23px;line-height:1.3}
.selection-product-info .price small{font-size:12px;font-weight:500}
@media(max-width:440px){.home-selection .feed-grid{gap:10px}.selection-product-info{padding:10px}.selection-product-title{font-size:13px}.selection-product-info .price{font-size:20px}}
