
    /* ===========================================================
       Deck framework — DO NOT EDIT the rules in this \3c style> block.
       Edit only inside the second \3c style> block below (per-deck
       styles) and inside <section class="slide"> bodies.
       =========================================================== */
    :root {
      --bg: #f7f4ef;
      --fg: #26374a;
      --muted: #67717d;
      --accent: #0d7a70;
      --surface: #fffdfb;
      --shell: #08090d;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html, body {
      width: 100%; height: 100%; overflow: hidden; background: var(--shell); color: var(--fg);
      font: 18px/1.5 -apple-system, system-ui, sans-serif;
      -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    }
    .deck-shell { position: fixed; inset: 0; overflow: hidden; }
    .deck-stage {
      width: 1920px; height: 1080px; background: var(--bg); position: relative;
      transform-origin: top left; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    }
    .slide { position: absolute; inset: 0; overflow: hidden; }
    .slide:not(.active) { display: none !important; }
    :where(.slide.active) { display: flex; flex-direction: column; }
    .deck-counter {
      position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); display: none;
      align-items: center; gap: 4px; background: rgba(10, 14, 26, 0.92);
      backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 6px;
      border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.08); color: #fff;
      font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.18em; z-index: 1000;
    }
    .deck-counter button {
      width: 36px; height: 36px; background: transparent; color: #fff; border: 0; border-radius: 50%;
      font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background 0.15s;
    }
    .deck-counter button:hover { background: rgba(255, 255, 255, 0.12); }
    .deck-counter button[disabled] { opacity: 0.3; cursor: default; }
    .deck-counter .deck-count { padding: 0 14px; letter-spacing: 0.22em; }
    .deck-counter .deck-count .total { color: rgba(255, 255, 255, 0.5); }
    .deck-hint {
      position: fixed; bottom: 26px; right: 28px; color: rgba(255, 255, 255, 0.4);
      font: 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.2em;
      text-transform: uppercase; z-index: 999; pointer-events: none; display: none;
    }
    @media print {
      @page { size: 1920px 1080px; margin: 0; }
      html, body { width: 1920px !important; height: auto !important; overflow: visible !important; background: #fff !important; }
      .deck-shell { position: static !important; display: block !important; inset: auto !important; }
      .deck-stage { width: 1920px !important; height: auto !important; transform: none !important; box-shadow: none !important; position: static !important; }
      .slide { display: flex !important; position: relative !important; inset: auto !important; width: 1920px !important; height: 1080px !important; page-break-after: always; break-after: page; }
      .slide:last-child { page-break-after: auto; break-after: auto; }
      .deck-counter, .deck-hint { display: none !important; }
    }
  

    :root {
      --paper: #f7f4ef;
      --ink: #26374a;
      --ink-soft: #67717d;
      --teal: #0d7a70;
      --teal-deep: #0a5f57;
      --teal-pale: #e4f1ef;
      --amber: #975c28;
      --amber-pale: #fbeedd;
      --line: #ddd2c2;
      --white: #fffdfb;
      --red: #c24a38;
      --green: #2f8f5b;
      --display: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
      --ui: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
    }
    .slide { font-family: var(--ui); padding: 76px 112px; color: var(--ink); }
    .kicker { color: var(--teal-deep); font-size: 21px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
    .slide-no { position: absolute; top: 76px; right: 112px; color: var(--ink-soft); font-size: 18px; letter-spacing: .08em; }
    .footer { position: absolute; bottom: 58px; left: 112px; right: 112px; display: flex; justify-content: flex-end; color: var(--ink-soft); font-size: 17px; }
    .cover { background: var(--teal-deep); color: #fff; padding: 94px 120px; }
    .cover::after { content: ''; position: absolute; right: 130px; top: 120px; width: 420px; height: 420px; border: 2px solid rgba(255,255,255,.28); border-radius: 50%; box-shadow: 0 0 0 62px rgba(255,255,255,.06), 0 0 0 138px rgba(255,255,255,.04); }
    .cover .kicker { color: #b9e2dc; }
    .cover-content { position: relative; z-index: 1; width: 1160px; padding-top: 110px; }
    .cover h1 { max-width: 1100px; font: 600 132px/1.03 var(--display); letter-spacing: -.025em; }
    .cover .lead { max-width: 750px; margin-top: 42px; color: #e7f4f2; font-size: 34px; line-height: 1.45; }
    .cover .footer, .cover .slide-no { color: #b9e2dc; }
    .title-row { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
    .title-row h2 { max-width: 1280px; font: 600 70px/1.07 var(--display); letter-spacing: -.02em; }
    .lead-copy { max-width: 960px; margin-top: 48px; color: var(--ink-soft); font-size: 31px; line-height: 1.5; }
    .problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 86px; }
    .problem { padding: 34px; min-height: 295px; background: var(--white); border-top: 6px solid var(--teal); }
    .problem:nth-child(2) { border-top-color: var(--amber); }
    .problem:nth-child(3) { border-top-color: var(--red); }
    .problem .index { display: block; color: var(--ink-soft); font-size: 19px; letter-spacing: .08em; }
    .problem h3 { margin-top: 34px; font: 600 35px/1.15 var(--display); letter-spacing: -.015em; }
    .problem p { margin-top: 18px; color: var(--ink-soft); font-size: 24px; line-height: 1.45; }
    .comparison { background: #f2f7f6; }
    .comparison-grid { display: grid; grid-template-columns: 1fr 118px 1fr; gap: 30px; align-items: center; margin-top: 64px; }
    .approach { min-height: 470px; padding: 42px; background: var(--white); border: 1px solid var(--line); }
    .approach.is-future { border-color: var(--teal); border-width: 2px; }
    .approach-label { color: var(--ink-soft); font-size: 18px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
    .is-future .approach-label { color: var(--teal-deep); }
    .approach h3 { margin-top: 28px; font: 600 48px/1.08 var(--display); letter-spacing: -.02em; }
    .approach p { margin-top: 18px; color: var(--ink-soft); font-size: 24px; line-height: 1.42; }
    .approach-list { margin-top: 34px; display: grid; gap: 13px; }
    .approach-list span { display: block; padding: 12px 15px; background: var(--paper); color: var(--ink); font-size: 20px; line-height: 1.25; }
    .is-future .approach-list span { background: var(--teal-pale); }
    .comparison-arrow { color: var(--teal); font-size: 54px; text-align: center; }
    .statement { background: var(--amber-pale); }
    .statement-inner { display: grid; grid-template-columns: 560px minmax(0, 1fr); gap: 56px; align-items: center; height: 100%; }
    .statement h2 { max-width: 560px; font: 600 68px/1.05 var(--display); letter-spacing: -.025em; }
    .statement p { margin-top: 30px; max-width: 560px; color: var(--ink-soft); font-size: 26px; line-height: 1.5; }
    .statement .kicker { margin-top: 0; color: var(--teal-deep); font-size: 21px; }
    .statement .statement-boundary { margin-top: 24px; color: var(--teal-deep); font-size: 22px; font-weight: 600; }
    .statement-screenshot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 48px rgba(38,55,74,.12); }
    .statement-screenshot figcaption { margin-top: 18px; color: var(--ink-soft); font-size: 18px; text-align: center; }
    .areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 54px; }
    .area { min-height: 214px; padding: 30px 34px; background: var(--white); border: 1px solid var(--line); }
    .area small { display: block; color: var(--teal-deep); font-size: 17px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
    .area h3 { margin-top: 16px; font: 600 35px/1.1 var(--display); letter-spacing: -.015em; }
    .area p { margin-top: 14px; color: var(--ink-soft); font-size: 22px; line-height: 1.35; }
    .flow { display: grid; grid-template-columns: 1fr 80px 1fr 80px 1fr 80px 1fr; align-items: start; margin-top: 120px; }
    .flow-step { min-height: 300px; padding: 30px 28px; background: var(--white); border: 1px solid var(--line); }
    .flow-step b { color: var(--teal-deep); font-size: 20px; letter-spacing: .06em; }
    .flow-step h3 { margin-top: 20px; font: 600 31px/1.13 var(--display); letter-spacing: -.01em; }
    .flow-step p { margin-top: 15px; color: var(--ink-soft); font-size: 20px; line-height: 1.4; }
    .arrow { padding-top: 125px; color: var(--teal); font-size: 46px; text-align: center; }
    .roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 84px; }
    .role { min-height: 350px; padding: 38px; background: var(--white); border: 1px solid var(--line); }
    .role .role-type { color: var(--teal-deep); font-size: 18px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
    .role .status-badge { display: inline-block; margin-left: 12px; padding: 5px 10px; background: var(--amber-pale); color: var(--amber); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; vertical-align: 3px; }
    .role h3 { margin-top: 48px; font: 600 48px/1.08 var(--display); letter-spacing: -.02em; }
    .role p { margin-top: 22px; color: var(--ink-soft); font-size: 23px; line-height: 1.45; }
    .boundaries { background: var(--ink); color: #fff; }
    .boundaries .title-row { border-color: rgba(255,255,255,.24); }
    .boundaries .title-row h2 { max-width: 1120px; }
    .boundary-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 72px; margin-top: 72px; }
    .boundary { padding: 23px 0; border-top: 1px solid rgba(255,255,255,.22); font-size: 27px; line-height: 1.35; }
    .boundary::before { content: 'No'; display: inline-block; width: 76px; color: #b9e2dc; font-size: 18px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; vertical-align: 5px; }
    .boundaries .footer { color: #b9e2dc; }
    .demo { background: var(--teal-pale); }
    .demo-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: center; height: 100%; }
    .demo h2 { max-width: 840px; font: 600 88px/1.04 var(--display); letter-spacing: -.025em; }
    .demo p { max-width: 720px; margin-top: 35px; color: var(--ink-soft); font-size: 30px; line-height: 1.48; }
    .demo-card { padding: 44px; background: var(--white); border: 1px solid #bddbd6; }
    .demo-card .card-label { color: var(--teal-deep); font-size: 18px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
    .demo-card ol { margin-top: 28px; padding-left: 34px; }
    .demo-card li { padding: 14px 0; color: var(--ink); font-size: 25px; line-height: 1.35; }
    .demo .footer { color: var(--ink-soft); }
  

/* Controlli per la versione pubblica, disponibile senza il contenitore del deck. */
@media screen {
  .deck-counter { display: flex; }
  .deck-hint { display: block; }
  .deck-home {
    position: fixed;
    top: 22px;
    left: 28px;
    z-index: 1000;
    color: var(--surface);
    font-size: 14px;
    text-decoration: none;
  }
  .deck-home:hover { text-decoration: underline; }
}
@media screen and (max-width: 640px) {
  .deck-hint { display: none; }
}
@media print {
  .slide:not(.active) { display: flex !important; }
  .deck-home { display: none; }
}
.deck-counter .deck-count { white-space: nowrap; }
