/* D31 — tema comune di tutte le pagine; evoluzione della prova D29. */
:root{--ink:#29272c;--text:#444047;--muted:#6c646c;--teal:#822d48;--line:#e4dde1;--paper:#fff;--cream:#f5f3f4;--orange:#822d48}
body{background:var(--paper);letter-spacing:-.01em}
h1,h2,h3{font-weight:650;letter-spacing:-.045em}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,video:focus-visible,.table-wrap:focus-visible{outline-color:#822d48}
.prototype{background:#f1ecef;color:#63515b}.status-dot{background:#822d48}
header{background:#fff;padding-top:22px;padding-bottom:22px}.language span{color:var(--teal)}
.eyebrow{color:#822d48;letter-spacing:.15em}.brand-sub b{color:var(--teal)}
.hero{background:linear-gradient(115deg,#f7f5f6 0%,#f7f5f6 65%,#eee6eb 100%);gap:48px;padding-top:62px;padding-bottom:58px;border-bottom:0;grid-template-columns:minmax(0,1fr) 290px;border-radius:0 0 32px 32px}
.hero h1{font-size:clamp(46px,5vw,72px);line-height:1.07}.hero h1 em{font-weight:650}.hero-lead{color:#5d565f}
.search{border-color:#c8bac2;border-radius:12px;box-shadow:0 10px 28px #39212f08}.search input::placeholder{color:#6c646c}
.button,.search button{background:#822d48;border-radius:10px;padding:14px 22px}.button:hover,.search button:hover{background:#632039}
.home-ticket-access{border:0;padding:0;margin:24px 0}.home-ticket-access .button{background:#fff;color:#822d48;border:1px solid #b89aa6}.home-ticket-access .button:hover{background:#f5e9ee}
.hero-note{background:#302b32;color:#eee6ec;border:1px solid #4b3c47;border-radius:22px;transform:none;padding:32px;box-shadow:0 20px 40px #30203012}.hero-note strong{color:#fff;font-size:34px;line-height:1.2;font-weight:550}.hero-note p{color:#e1c3d0}.note-icon{color:#e1c3d0}.note-lines i{background:#675160}.note-lines i:first-child{background:#e1c3d0}
.section{padding-top:58px;padding-bottom:58px}.product-card{border-radius:18px;padding:28px 30px;box-shadow:0 4px 12px #30203003}.product-card:hover{border-color:#b88b9d;box-shadow:0 12px 25px #3020300a;transform:translateY(-2px)}.card-foot{color:#822d48}.product-card h3{font-size:24px}.home-guides{background:#f5f3f4;border:0;border-radius:24px;margin:0 3%}.pill,.tag.ready{background:#f2e6eb;color:#752b44}.guide-row:hover{background:#f8f3f5}.help-strip{border-color:var(--line)}
footer{background:#f5f3f4;border-color:var(--line)}
.article-heading{padding-bottom:6px;border-bottom:1px solid var(--line);margin-bottom:24px}.article-heading h1{font-size:46px}.article-meta{font-size:12px}
.sidebar nav a{border-radius:0 8px 8px 0;font-size:13px}.sidebar nav a:hover{background:#f5e9ee;border-color:#822d48}.sidebar-back{color:#822d48}
.notice{background:#f6f0f3;color:#654250;border-left-color:#9c526c;border-radius:0 10px 10px 0;font-size:14px;padding:18px 20px}
article>h2{margin-top:40px;font-size:28px}article>p{font-size:16px;line-height:1.8}.steps li{font-size:16px;line-height:1.8;padding-bottom:24px}.steps li:before{background:#822d48;border-color:#822d48;color:white;width:30px;height:30px;font-size:13px}
.flow span{background:#f6f0f3;border-color:#e4d4dc;border-radius:9px;color:#654250}th{background:#f5f3f4;color:#29272c}
.video-section{background:#f7eff3;border:1px solid #e6d4de;border-radius:18px;padding:28px;margin:34px 0}.video-section h3{font-size:25px;line-height:1.3;margin-top:0}.video-section video{background:#302b32;border-radius:10px}.video-section p,.video-section summary{font-size:14px}.video-section summary{color:#822d48;font-weight:600;min-height:44px}.video-section .eyebrow{color:#822d48}
@media(max-width:1050px){.hero{grid-template-columns:minmax(0,1fr) 240px;gap:28px}.hero-note{padding:24px}}
@media(max-width:760px){.hero{grid-template-columns:1fr;padding:38px 5%;border-radius:0 0 24px 24px}.hero h1{font-size:clamp(40px,11vw,54px)}.hero-note{display:none}header nav{background:#fff}.nav-toggle{color:#822d48;border-color:#c8bac2}.home-ticket-access{gap:12px}.section{padding:36px 5%}.home-guides{padding:28px 5%}.product-card{padding:24px}.sidebar nav a{background:#f5f0f3;border-radius:8px}.article-heading h1{font-size:34px}.video-section{padding:18px}.video-section h3{font-size:22px}.article-heading .eyebrow{line-height:1.7}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.product-card{transition:none}.product-card:hover{transform:none}}

/* D30: evidenza del pulsante anche nel primo schermo. */
.home-ticket-access .button{background:#822d48;color:#fff;border-color:#822d48;box-shadow:0 4px 12px #822d481c}.home-ticket-access .button:hover{background:#632039}

/* Componenti degli indici, ricerca, assistenza e ticket. */
.product-symbol,.signature .product-symbol,.rewards .product-symbol{background:#f2e6eb;color:#822d48}
.count-box{background:#f5f3f4;border:1px solid var(--line);border-radius:16px;padding:20px 24px}
.path-card,.support-card,.empty{border-radius:18px;border-color:var(--line);box-shadow:0 4px 14px #30203004}
.path-card h2{line-height:1.25}.tag{color:var(--muted)}.demo-label{color:#752b44}
.filters{padding:20px;background:#f5f3f4;border:1px solid var(--line);border-radius:14px}
.filters select{border-color:#b9aab2;border-radius:8px;color:var(--ink);min-height:44px}
.table-wrap{border-radius:10px}.planned[open]{background:#faf7f9}
.ticket-panel{border-top:4px solid #822d48}
.ticket-preview-note{background:#f6f0f3;border-left-color:#9c526c;color:#654250;border-radius:0 10px 10px 0}
.ticket-field input,.ticket-field select,.ticket-field textarea{border-color:#b9aab2;background:#fff;border-radius:10px}
.ticket-field input::placeholder,.ticket-field textarea::placeholder{color:#6c646c}
.ticket-field input:focus-visible,.ticket-field select:focus-visible,.ticket-field textarea:focus-visible{outline-color:#822d48;border-color:#822d48}
.ticket-attachment{background:#f5f3f4;border-color:#b9aab2;border-radius:12px}
.ticket-actions button:disabled{background:#ece7ea;color:#6c646c;border-color:#ccc1c7;border-radius:10px}
@media(max-width:760px){.count-box{display:inline-flex;padding:16px 20px}.filters{padding:16px}.path-card,.support-card{padding:22px}.path-grid{grid-template-columns:minmax(0,1fr)}.button{white-space:normal}.ticket-heading .pill{white-space:normal}}

/* D32: casi pratici di assistenza, consultabili anche senza JavaScript. */
.support-jumps{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}.support-jumps a{display:flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #c8bac2;border-radius:10px;text-decoration:none;font-size:14px;background:#fff}.support-jumps a:hover{background:#f5e9ee}
.support-group{margin:40px 0;scroll-margin-top:25px}.support-group h2{font-size:27px}.support-case{border:1px solid var(--line);border-radius:12px;background:#fff;margin:10px 0;scroll-margin-top:25px}.support-case summary{padding:20px 22px;cursor:pointer;font-weight:600;line-height:1.5;color:var(--ink)}.support-case summary::marker{color:#822d48}.support-case[open]{border-color:#c5a5b3;background:#fcf9fb}.support-case-body{padding:0 22px 24px}.support-case-body h3{font-size:17px;letter-spacing:-.01em;margin:22px 0 10px}.support-case-body p{font-size:16px;line-height:1.75}.support-case-body .guide-row{padding:12px 0}.support-case-body .guide-row strong{font-size:15px}
@media(max-width:760px){.support-case summary{padding:18px 16px}.support-case-body{padding:0 16px 22px}.support-group h2{font-size:25px}.support-jumps{gap:8px}.support-jumps a{padding:10px 12px}.support-case-body .tag{display:none}}

/* D45–D46: compact product cards wherever the component is used. */
.product-grid{gap:16px}
.product-card{padding:20px 24px;display:flex;flex-direction:column}
.product-card .product-top{min-height:0;height:45px}
.product-card .product-top .official-product-logo{width:205px;max-width:100%;height:45px;aspect-ratio:auto;object-fit:contain}
.product-card h3{font-size:21px;line-height:1.25;margin:14px 0 8px}
.product-card p{max-width:none;min-height:0;margin:0 0 14px;line-height:1.5;font-size:14px}
.product-card .card-foot{margin-top:auto;padding-top:10px;line-height:1.5}
@media(max-width:760px){
 .product-grid{gap:12px}
 .product-card{padding:18px 20px}
 .product-card .product-top,.product-card .product-top .official-product-logo{height:38px}
 .product-card .product-top .official-product-logo{width:185px}
 .product-card h3{font-size:20px;margin-top:12px}
}

.video-section .placeholder-notice { margin: 1rem 0; padding: .75rem 1rem; border-inline-start: 4px solid #822d48; background: #fbf0f3; color: #41232e; }
.placeholder-notice strong { font-size: .85rem; }
.video-section .placeholder-notice p { margin: .25rem 0 0; color: inherit; }
