/* ═════════ Stage Designer — si appoggia a ../style.css (token, nav, sezioni, faq, footer) ═════════ */

/* logo: icona dell'app + nome */
.sd-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; white-space: nowrap; }
.sd-logo img { width: 30px; height: 30px; border-radius: 7px; }
.footer-brand .sd-foot { margin-bottom: 18px; font-size: 20px; }
.footer-brand .sd-foot img { width: 34px; height: 34px; margin: 0; }

/* hero: il foglio esportato al posto dello schermo del prompter */
.sd-hero { grid-template-columns: 1fr 1.15fr; }
.sd-hero h1 { font-size: clamp(42px, 5.6vw, 88px); }

/* foglio di carta: resta bianco anche in tema scuro, come un PDF */
.sheet { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 80px -34px #0007; }
.sheet img { width: 100%; height: auto; }
.sheet-tag {
  position: absolute; left: 0; top: calc(100% + 12px);
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.sd-hero .sheet { transform: rotate(.6deg); transition: transform .5s; }
.sd-hero .sheet:hover { transform: none; }
.sheet-flat { box-shadow: none; }
.sheet-flat img + img { border-top: 1px dashed #0002; }

/* liste (sezione scura) */
.lists { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.list-notes { border-top: 1px solid var(--line); }
.list-notes article { padding: 22px 0; border-bottom: 1px solid var(--line); }
.list-notes h4 { font-size: 20px; margin-bottom: 8px; }
.list-notes p { color: var(--muted); font-size: 15px; }

/* export */
.export { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.sheet-portrait { max-width: 560px; }
.export-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.export-list article { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.export-list .tag { width: auto; min-width: 26px; padding: 0 5px; }
.export-list h4 { font-size: 20px; margin-bottom: 8px; }
.export-list p { color: var(--muted); font-size: 15px; }
.export-list .product-link { padding-top: 22px; }

/* libreria: simboli veri su carta */
.lib { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.lib figure { margin: 0; padding: 18px 14px 14px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-raised); transition: background .2s; }
.lib figure:hover { background: var(--bg); }
.lib img { width: 100%; height: 92px; object-fit: contain; }
.lib figcaption { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
/* i simboli sono tratto scuro su riempimento bianco: in tema scuro stanno su carta */
:root[data-theme="dark"] .lib img { background: #f2f1ee; border-radius: 4px; padding: 6px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lib img { background: #f2f1ee; border-radius: 4px; padding: 6px; }
}
.lib-cats { margin-top: 22px; line-height: 2; }

/* download */
.steps { margin: 14px 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px; color: #f2f1eecc; }
.steps li::marker { font-family: var(--mono); color: #74aaff; }
.sd-downloads .dl-file { grid-template-columns: 5.5em 1fr auto 1.4em; }

.sd-final-icon { width: 140px; height: 140px; }

/* ═════════ responsive ═════════ */
@media (max-width: 1080px) {
  .lib { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 920px) {
  .sd-hero, .lists, .export { grid-template-columns: 1fr; }
  .sd-hero .sheet { transform: none; }
  .sheet-portrait { max-width: none; }
  .export .sheet { margin-bottom: 28px; }
}
@media (max-width: 600px) {
  .lib { grid-template-columns: repeat(3, 1fr); }
  .lib img { height: 64px; }
  .sd-logo span { display: none; }
  .footer-brand .sd-foot span { display: inline; }
}
