/* site-chrome.css — tokens, bottoni e footer del sito, per il blog (BLG3).
   NAV2: testata, tendina lingua e pannello mobile NON sono piu' qui, ma in static/site/site-nav.css
   (unica fonte, condivisa con le pagine statiche). Resto copiato da static/north-star.html (:root, .btn*, .footer*);
   la fonte resta north-star.html (vedi content/blog/README.md, sezione "Testata e footer"). Il sito ha un reset
   globale, il blog no: qui sotto c'e' solo il reset limitato al footer. */
/* ═══ Tokens (dark Apple-keynote) ═══════════════════════════════════ */
:root {
  --bg:           #000000;
  --bg-2:         #0a0a0a;
  --bg-3:         #141414;
  --bg-card:      #0f0f0f;
  --line:         #1f1f1f;
  --line-strong:  #2a2a2a;
  --txt:          #ffffff;
  --txt-2:        #b8b8b8;
  --txt-3:        #7a7a7a;
  --txt-4:        #4a4a4a;
  --brand:        #f97316;
  --brand-glow:   rgba(249, 115, 22, 0.55);
  --ai:           #a78bfa;
  --ai-glow:      rgba(167, 139, 250, 0.45);
  --success:      #34d399;
  --warn:         #fbbf24;
  --wrap:         80rem;   /* BLG4: larghezza massima del contenuto del blog su desktop */
}

/* reset limitato al footer (non globale) */
.footer, .footer * { margin: 0; padding: 0; box-sizing: border-box; }
.footer a { text-decoration: none; }
.footer { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }

/* ═══ Buttons ════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 0 0 0 var(--brand-glow);
}
.btn-primary:hover {
  background: #fb923c;
  box-shadow: 0 0 32px 4px var(--brand-glow);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; color: var(--txt);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--txt-2); background: var(--bg-2); }
.btn .material-icons-outlined { font-size: 18px; }
.nav-cta {
  justify-self: center;
  padding: 8px 18px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-cta:hover { background: #fb923c; box-shadow: 0 0 20px -4px var(--brand-glow); }
/* LAB1D punto 4 — CTA breve su viewport stretti (nav + sticky mobile),
   chiave i18n condivisa cta_short: la CTA non deve mai leggersi
   troncata. Su desktop resta il testo pieno (vedi @media 600px sotto). */
.nav-cta-short { display: none; }

/* ═══ Footer ═════════════════════════════════════════════════════════ */
.footer {
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 32px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 22px;
  font-size: 12px;
  color: var(--txt-3);
}
.footer-internal-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(251, 191, 36, 0.10);
  color: var(--warn); font-weight: 600;
  font-size: 11px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  margin-bottom: 12px;
}
.footer-internal-badge .material-icons-outlined { font-size: 13px; }
/* footer: i link usano gli stili inline del sito; hover brand come nel footer della home */
.footer-links a { color: var(--txt-3); transition: color .15s; }
.footer-links a:hover { color: var(--brand); }
