/* factory/brand_tokens.css — token di brand DFM condivisi (Blocco 6 priorità 1).
   Estratti (sola lettura) da /srv/dfm-platform (base.css): tema scuro + accento oro/ambra.
   Sorgente unica per: pagina di cortesia/prospect, portale ordini, template email, accenti PDF.
   Intelligence e Platform = due stanze della stessa casa. */
:root {
  /* superfici (dark) */
  --bg:        #0f1418;
  --bg-grad:   #11181d;
  --surface:   #151d23;
  --surface-2: #1a242b;
  /* testo */
  --ink:   #e9e5d9;
  --soft:  #b4bcc1;
  --mute:  #8b94a0;
  --faint: #5a646a;
  /* accento oro/ambra */
  --gold:      #c6a23a;
  --gold-soft: #d8be72;
  --gold-dim:  #8f7732;
  --amber-bg:  #3a2f12;
  --amber-ln:  #8a6d1f;
  /* secondario acciaio + linee */
  --steel:     #7ba0b0;
  --line:      #28333b;
  --line-soft: #1e272e;
  /* tipografia (come Platform) */
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-head: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  /* layout */
  --maxw: 880px;
  --maxw-wide: 1060px;
  --radius: 6px;
}

/* ── componenti base condivisi (portale + cortesia) ─────────────────────────── */
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); }
.dfm-brand { font-family: var(--font-head); letter-spacing: .16em; font-weight: 700; color: var(--gold); }
a { color: var(--steel); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); font-weight: 600; }

.dfm-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
.dfm-input, input, textarea, select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .7rem .8rem; width: 100%;
}
.dfm-input:focus, input:focus, textarea:focus { outline: 1px solid var(--gold-dim); border-color: var(--gold-dim); }
.dfm-btn, button[type=submit] {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: .02em;
  background: var(--gold); color: #14100a; border: 0; border-radius: var(--radius);
  padding: .8rem 1.1rem; cursor: pointer;
}
.dfm-btn:hover, button[type=submit]:hover { background: var(--gold-soft); }
.dfm-label { font-family: var(--font-head); font-size: .8rem; letter-spacing: .04em; color: var(--mute); }
.dfm-muted { color: var(--mute); }
