/* Sirius Idea Experience — stand immersivo 100vw×100vh */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --ix-bg0: #03080f;
  --ix-bg1: #0a1829;
  --ix-bg2: #12385f;
  --ix-teal: #0e7c66;
  --ix-cyan: #7dd3fc;
  --ix-cyan-dim: rgba(125, 211, 252, 0.45);
  --ix-ink: #f4f7fb;
  --ix-muted: rgba(226, 232, 240, 0.72);
  --ix-line: rgba(186, 214, 240, 0.22);
  --ix-safe: clamp(12px, 2.2vh, 28px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ix-bg0);
  color: var(--ix-ink);
  color-scheme: dark;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ix {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.ix__sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(18, 56, 95, 0.45), transparent 62%),
    radial-gradient(ellipse 40% 35% at 18% 78%, rgba(14, 124, 102, 0.14), transparent 55%),
    radial-gradient(ellipse 35% 30% at 82% 20%, rgba(56, 140, 180, 0.12), transparent 50%),
    linear-gradient(165deg, #03080f 0%, #0a1829 48%, #0c2038 100%);
}

.ix__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 42%, #000 10%, transparent 75%);
  pointer-events: none;
}

.ix__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  transition: opacity 0.55s ease, filter 0.55s ease;
}

/*
 * Luminosità admin (data-star-brightness) deve restare visibile anche in dialogo.
 * Prima ix--dialogue-dim forzava opacity/filter fissi e annullava il controllo controller.
 */
.ix {
  --ix-star-canvas-opacity: 1;
  --ix-star-canvas-filter: none;
}
.ix[data-star-brightness="dim"] {
  --ix-star-canvas-opacity: 0.52;
  --ix-star-canvas-filter: saturate(0.7) brightness(0.62);
}
.ix[data-star-brightness="medium"] {
  --ix-star-canvas-opacity: 0.88;
  --ix-star-canvas-filter: saturate(0.92) brightness(0.92);
}
.ix[data-star-brightness="bright"] {
  --ix-star-canvas-opacity: 1;
  --ix-star-canvas-filter: saturate(1.05) brightness(1.22);
}
.ix[data-star-brightness="dim"] .ix__canvas,
.ix[data-star-brightness="medium"] .ix__canvas,
.ix[data-star-brightness="bright"] .ix__canvas,
.ix[data-star-brightness="dim"] .ix__pulse-slot,
.ix[data-star-brightness="medium"] .ix__pulse-slot,
.ix[data-star-brightness="bright"] .ix__pulse-slot {
  opacity: var(--ix-star-canvas-opacity);
  filter: var(--ix-star-canvas-filter);
}

/* Dialogo attivo: stella più opaca così il testo resta in evidenza (modulata dalla luminosità admin) */
.ix.ix--dialogue-dim {
  --ix-star-canvas-opacity: 0.22;
  --ix-star-canvas-filter: saturate(0.65) brightness(0.5);
}
.ix.ix--dialogue-dim[data-star-brightness="dim"] {
  --ix-star-canvas-opacity: 0.1;
  --ix-star-canvas-filter: saturate(0.45) brightness(0.32);
}
.ix.ix--dialogue-dim[data-star-brightness="medium"] {
  --ix-star-canvas-opacity: 0.32;
  --ix-star-canvas-filter: saturate(0.75) brightness(0.62);
}
.ix.ix--dialogue-dim[data-star-brightness="bright"] {
  --ix-star-canvas-opacity: 0.62;
  --ix-star-canvas-filter: saturate(0.92) brightness(1.05);
}
.ix.ix--dialogue-dim .ix__canvas,
.ix.ix--dialogue-dim .ix__pulse-slot {
  opacity: var(--ix-star-canvas-opacity);
  filter: var(--ix-star-canvas-filter);
}
.ix.ix--dialogue-dim .ix__sky {
  opacity: 0.08;
}
.ix.ix--dialogue-dim .ix__grid {
  opacity: 0.14;
}
.ix.ix--dialogue-dim .ix__copy {
  text-shadow: 0 1px 22px rgba(3, 8, 15, 0.72);
}
.ix.ix--dialogue-dim .ix__pulse-slot {
  transition: opacity 0.55s ease, filter 0.55s ease;
}

.ix__ui {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: var(--ix-safe) clamp(1rem, 3vw, 2.5rem);
  pointer-events: none;
}

.ix__ui > * { pointer-events: auto; }

.ix__brand {
  justify-self: start;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(0.62rem, 1.1vh, 0.78rem);
  color: rgba(186, 214, 240, 0.7);
  line-height: 1.45;
}
.ix__brand span {
  display: block;
  color: rgba(125, 211, 252, 0.85);
  letter-spacing: 0.22em;
  font-size: 0.92em;
}

.ix__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  min-height: 0;
  padding-bottom: clamp(0.5rem, 2vh, 1.5rem);
  pointer-events: none;
}

.ix__stage > * { pointer-events: auto; }

/* Fuori handoff lo slot non occupa spazio: stella full-bleed centrale come prima */
.ix__pulse-slot {
  display: none;
  flex: 0 0 0;
  width: 0;
  max-width: 0;
  min-height: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.ix__copy {
  max-width: 46rem;
  margin: 0 auto;
}

.ix__kicker {
  margin: 0 0 0.45rem;
  min-height: 1.2em;
  font-size: clamp(0.85rem, 1.6vh, 1.05rem);
  font-weight: 600;
  color: var(--ix-cyan);
  letter-spacing: 0.02em;
  transition: opacity 0.45s ease;
}

.ix__headline {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 5.2vh, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.ix__headline em {
  font-style: normal;
  display: block;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.92em;
  margin-top: 0.12em;
}

.ix__lead {
  margin: 0.7rem auto 0;
  max-width: 34rem;
  font-size: clamp(0.92rem, 1.7vh, 1.12rem);
  line-height: 1.45;
  color: var(--ix-muted);
  font-weight: 500;
}

.ix__example {
  margin: 0.55rem 0 0;
  min-height: 1.3em;
  font-size: clamp(0.88rem, 1.5vh, 1.05rem);
  color: rgba(165, 227, 255, 0.88);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.ix__example.is-on { opacity: 1; }

.ix__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: clamp(0.9rem, 2.2vh, 1.5rem);
}

.ix__cta {
  appearance: none;
  border: 1px solid rgba(125, 211, 252, 0.45);
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.14), rgba(14, 124, 102, 0.12)),
    rgba(8, 22, 40, 0.55);
  color: #f8fafc;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 1.9vh, 1.15rem);
  padding: 1rem 2.1rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.ix__cta:hover,
.ix__cta:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(165, 227, 255, 0.75);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 28px rgba(125, 211, 252, 0.18),
    0 16px 44px rgba(0, 0, 0, 0.4);
}
.ix__cta.is-listening {
  border-color: rgba(14, 124, 102, 0.7);
  background:
    linear-gradient(180deg, rgba(14, 124, 102, 0.28), rgba(8, 22, 40, 0.55));
  animation: ix-cta-pulse 1.8s ease-in-out infinite;
}
.ix__mic {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--ix-cyan);
  box-shadow: 0 0 0 0 rgba(125, 211, 252, 0.45);
}
.ix__cta.is-listening .ix__mic {
  background: #5eead4;
  animation: ix-mic 1.2s ease-out infinite;
}

@keyframes ix-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 12px 40px rgba(0,0,0,0.35); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 0 32px rgba(14,124,102,0.28), 0 12px 40px rgba(0,0,0,0.35); }
}
@keyframes ix-mic {
  0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(94, 234, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
}

.ix__secondaries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.9rem;
}
.ix__link {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(186, 214, 240, 0.72);
  font: inherit;
  font-size: clamp(0.78rem, 1.35vh, 0.9rem);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  padding: 0.25rem 0.1rem;
  border-bottom: 1px solid transparent;
}
.ix__link:hover,
.ix__link:focus-visible {
  color: var(--ix-cyan);
  border-bottom-color: rgba(125, 211, 252, 0.45);
  outline: none;
}
.ix__link.is-on { color: #5eead4; }

.ix__keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  min-height: 2rem;
}
.ix__kw {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.85);
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.ix__kw.is-on { opacity: 1; transform: none; }

.ix__process {
  margin-top: 0.75rem;
  min-height: 1.4em;
  font-size: clamp(0.95rem, 1.8vh, 1.15rem);
  font-weight: 600;
  color: #a5e3ff;
}

.ix__si-observe {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  z-index: auto;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  max-width: 11.8rem;
  padding: 0.28rem 0.55rem 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.4);
  background: rgba(3, 14, 24, 0.78);
  color: #e0f2fe;
  text-align: left;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}
.ix__si-observe strong {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.62rem;
  font-weight: 800;
  color: #7dd3fc;
  line-height: 1.2;
}
.ix__si-observe span:last-child {
  display: none;
}
.ix__si-observe-dot {
  position: static;
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  margin: 0;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 8px #22d3ee;
  animation: ixSiObservePulse 1.6s ease-in-out infinite;
}
.ix__si-observe.is-flagged {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  max-width: min(16rem, 42vw);
  border-radius: 12px;
  border-color: rgba(251, 191, 36, 0.7);
  background: rgba(69, 26, 3, 0.86);
  padding: 0.4rem 0.6rem 0.45rem 0.7rem;
}
.ix__si-observe.is-flagged strong { color: #fbbf24; }
.ix__si-observe.is-flagged span:last-child {
  display: block;
  font-size: 0.68rem;
  line-height: 1.3;
  color: #fde68a;
}
.ix__si-observe.is-flagged .ix__si-observe-dot {
  position: absolute;
  left: 0.45rem;
  top: 0.55rem;
  background: #f59e0b;
  box-shadow: 0 0 12px #f59e0b;
  animation-duration: 0.7s;
}
.ix__si-observe.is-flagged strong { padding-left: 0.85rem; }
@keyframes ixSiObservePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}
.ix[data-presenting="1"] .ix__si-observe {
  display: inline-flex !important;
}
.ix.is-mobile .ix__si-observe {
  max-width: min(10.5rem, 42vw);
}
.ix__build-progress {
  width: min(100%, 42rem);
  margin: 0.75rem auto 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 14px;
  background: rgba(8, 28, 48, 0.72);
  color: #e0f2fe;
  text-align: left;
}
.ix__build-progress[hidden] { display: none !important; }
.ix__idea-ladder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.2rem;
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
}
.ix__build-progress:not(.is-echo) .ix__idea-ladder { display: none !important; }
.ix__build-progress.is-echo .ix__build-progress-head strong,
.ix__build-progress.is-echo .ix__digital-clock,
.ix__build-progress.is-echo .ix__build-progress-phases,
.ix__build-progress.is-echo .ix__build-progress-items,
.ix__build-progress.is-echo #ixBuildProgressNote { display: none !important; }
.ix__idea-ladder li {
  opacity: 0.28;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  padding: 0.32rem 0.55rem;
  color: #cffafe;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ix__idea-ladder li + li::before {
  content: "→";
  margin-right: 0.35rem;
  color: #67e8f9;
}
.ix__idea-ladder li.is-on {
  opacity: 1;
  border-color: rgba(34, 211, 238, 0.75);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.18);
}
.ix__build-progress-head {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
}
.ix__build-progress-head strong {
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}
.ix__digital-clock {
  display: flex;
  justify-content: center;
}
.ix__digital-clock time,
.ix__build-progress-head time {
  display: inline-block;
  min-width: 7.4rem;
  padding: 0.42rem 0.95rem 0.32rem;
  border-radius: 14px;
  border: 1px solid rgba(74, 222, 128, 0.38);
  background:
    linear-gradient(180deg, #04110c 0%, #0a1f14 55%, #03100b 100%);
  box-shadow:
    inset 0 0 22px rgba(74, 222, 128, 0.16),
    0 0 18px rgba(34, 197, 94, 0.18);
  color: #86efac;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: clamp(2.5rem, 8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.55);
  text-align: center;
}
.ix__build-progress-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  margin-top: 0.55rem;
}
.ix__build-progress-phases {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  margin-top: 0.55rem;
}
.ix__build-progress-phases span {
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 8px;
  color: #ddd6fe;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ix__build-progress-phases span::before {
  content: "·";
  margin-right: 0.28rem;
  color: #a78bfa;
}
.ix__build-progress-phases span.is-building::before {
  content: "◌";
  color: #facc15;
}
.ix__build-progress-phases span.is-ready {
  border-color: rgba(52, 211, 153, 0.42);
  color: #a7f3d0;
}
.ix__build-progress-phases span.is-ready::before { content: "✓"; }
.ix__build-progress-phases span.is-failed {
  border-color: rgba(251, 113, 133, 0.42);
  color: #fecdd3;
}
.ix__build-progress-phases span.is-failed::before { content: "!"; }
.ix__build-progress-items span {
  padding: 0.23rem 0.48rem;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 999px;
  color: #bae6fd;
  font-size: 0.72rem;
}
.ix__build-progress-items span::before {
  content: "○";
  margin-right: 0.3rem;
}
.ix__build-progress-items span.is-building::before {
  content: "◌";
  color: #facc15;
}
.ix__build-progress-items span.is-ready {
  border-color: rgba(52, 211, 153, 0.42);
  color: #a7f3d0;
}
.ix__build-progress-items span.is-ready::before { content: "✓"; }
.ix__build-progress-items span.is-failed {
  border-color: rgba(251, 113, 133, 0.42);
  color: #fecdd3;
}
.ix__build-progress-items span.is-failed::before { content: "!"; }
.ix__build-progress > p {
  margin: 0.5rem 0 0;
  color: rgba(186, 230, 253, 0.75);
  font-size: 0.72rem;
}

.ix__human-approval-legacy {
  display: none !important;
}

/* Stand: solo timer + messaggio demo/approval — niente checklist fasi/materiali */
.ix__build-progress .ix__build-progress-phases,
.ix__build-progress .ix__build-progress-items,
.ix__build-progress #ixBuildProgressPhases {
  display: none !important;
}

.ix__build-progress.is-demo-ready #ixBuildProgressTitle,
.ix__build-progress.is-demo-ready .ix__build-progress-phases,
.ix__build-progress.is-demo-ready .ix__build-progress-items,
.ix__build-progress.is-demo-ready #ixBuildProgressNote,
.ix__build-progress.is-demo-ready .ix__idea-ladder {
  display: none !important;
}

.ix__build-progress.is-demo-ready .ix__build-progress-head {
  display: flex !important;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.ix__build-progress.is-demo-ready .ix__digital-clock {
  display: flex !important;
}

.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__headline,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__lead,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__example,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__path,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__actions,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__chat-form,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__chat-tools,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__chat-log,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__lang-chips,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__empty-idea,
.ix[data-approval-gate]:not([data-approval-gate="off"]) #ixLive,
.ix[data-approval-gate]:not([data-approval-gate="off"]) #ixListenLive,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__keywords,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__rating,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__email-form,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__rich-board,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__rich-choice,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__rich-build,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__rich-ticks,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__rich-remember,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__process,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__hold,
.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__mobile-next,
.ix[data-approval-gate]:not([data-approval-gate="off"]) #ixDemoChoices {
  display: none !important;
}

.ix[data-approval-gate]:not([data-approval-gate="off"]) .ix__build-progress {
  margin-top: 0.25rem;
}

.ix__build-ready {
  margin-top: 0.15rem;
  text-align: center;
}

.ix__build-ready[hidden] {
  display: none !important;
}

.ix__build-progress.is-demo-ready .ix__build-ready {
  display: block;
}

.ix__build-ready-line {
  margin: 0 0 0.65rem;
  color: #ecfdf5;
  font-size: clamp(0.95rem, 2.4vw, 1.08rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.ix__build-ready-gate {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(250, 204, 21, 0.45);
  background: rgba(120, 53, 15, 0.35);
  color: #fde68a;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ix__build-ready-gate strong {
  font-weight: 800;
}

.ix__build-progress.is-demo-ready.is-approval-allow .ix__build-ready-gate {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(6, 78, 59, 0.45);
  color: #bbf7d0;
}

.ix__build-progress.is-demo-ready.is-approval-deny .ix__build-ready-gate {
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(127, 29, 29, 0.35);
  color: #fecdd3;
}

.ix__build-ready-gov {
  margin: 0.55rem 0 0;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(8, 47, 73, 0.45);
  color: #bae6fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ix__build-ready-gov[hidden] {
  display: none !important;
}

.ix__build-progress.is-demo-ready.is-approval-deny .ix__build-ready-gov {
  border-color: rgba(251, 113, 133, 0.4);
  background: rgba(69, 10, 10, 0.35);
  color: #fecdd3;
}

.ix__compliance-band {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.65rem;
  margin: 0 0 0.28rem;
  width: 100%;
}

.ix__compliance-strip {
  margin: 0;
  font-size: clamp(0.52rem, 0.95vh, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.82);
  line-height: 1.5;
}

.ix__compliance-privacy {
  margin: 0;
  font-size: clamp(0.52rem, 0.95vh, 0.62rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(186, 230, 253, 0.78);
  line-height: 1.5;
}

.ix__compliance-strip a {
  color: #7dd3fc;
  text-decoration: none;
}

.ix__compliance-strip a:hover {
  text-decoration: underline;
}

.ix__compliance-sep {
  opacity: 0.55;
  margin: 0 0.2rem;
}

.ix__nodes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
  max-width: 52rem;
}
.ix__node {
  appearance: none;
  border: 1px solid rgba(125, 211, 252, 0.32);
  background: rgba(8, 22, 40, 0.55);
  color: #f8fafc;
  font: inherit;
  font-weight: 700;
  font-size: clamp(0.82rem, 1.5vh, 0.95rem);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.ix__node:hover {
  transform: translateY(-2px);
  border-color: rgba(165, 227, 255, 0.65);
  background: rgba(14, 40, 70, 0.7);
}
.ix__node.is-soft {
  opacity: 0.78;
  font-weight: 600;
  border-style: dashed;
}

.ix__result-note {
  margin: 0.85rem auto 0;
  max-width: 32rem;
  font-size: 0.95rem;
  color: var(--ix-muted);
  line-height: 1.45;
}

.ix__listen-tools {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 0.55rem;
}

.ix__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-size: clamp(0.58rem, 1.05vh, 0.72rem);
  color: rgba(148, 163, 184, 0.82);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 0.55rem;
  margin-top: 0.35rem;
  width: 100%;
}
.ix__footer-left {
  flex: 1 1 100%;
  max-width: none;
  width: 100%;
  line-height: 1.4;
}
.ix__footer .ix__footer-art50 {
  margin: 0 0 0.45rem;
  width: 100%;
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(8, 47, 73, 0.45);
  color: #bae6fd;
}
.ix__footer .ix__footer-art50 .art50-interaction__mark {
  background: #0369a1;
  color: #f0f9ff;
}
.ix__footer .ix__footer-art50 .art50-interaction__product {
  color: #e0f2fe;
}
.ix__footer .ix__footer-art50 .art50-interaction__link {
  color: #38bdf8;
}
.ix__footer .ix__footer-art50 .art50-interaction__text {
  flex: 1 1 auto;
}
.ix__footer-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
}
.ix__footer-tools--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}
.ix__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--ix-line);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(226, 232, 240, 0.8);
}
.ix__pill[data-mode="private"] { border-color: rgba(14, 124, 102, 0.55); color: #5eead4; }
.ix__pill[data-mode="public"] { border-color: rgba(125, 211, 252, 0.45); color: #a5e3ff; }
.ix__pill[data-mode="demo"] { border-color: rgba(253, 230, 138, 0.4); color: #fde68a; }

.ix__state {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.65);
  font-size: 0.68rem;
}
.ix__xp {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
  padding: 0.12rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  color: rgba(226, 232, 240, 0.88);
}
.ix__xp em {
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 0.52rem;
  color: rgba(148, 163, 184, 0.85);
}
.ix__xp[data-xp="fast"] { border-color: rgba(94, 234, 212, 0.35); color: #99f6e4; }
.ix__xp[data-xp="medium"] { border-color: rgba(125, 211, 252, 0.5); color: #7dd3fc; }
.ix__xp[data-xp="deep"] { border-color: rgba(253, 230, 138, 0.5); color: #fde68a; }

/* Overlay privacy / QR / write */
.ix__overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(3, 8, 15, 0.62);
  backdrop-filter: blur(10px);
}
.ix__overlay[hidden] { display: none !important; }
#ixDemoQuota {
  position: fixed;
  z-index: 100001;
}
#ixDemoQuota[hidden] { display: none !important; }
.ix__overlay--media-gate {
  z-index: 70;
  background: rgba(3, 8, 15, 0.82);
}
.ix__panel-actions--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}
.ix__panel-actions--stack .ix__link {
  text-align: center;
}
.ix__panel {
  width: min(440px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(186, 214, 240, 0.28);
  background: linear-gradient(165deg, rgba(12, 32, 52, 0.96), rgba(6, 14, 24, 0.96));
  padding: 1.45rem 1.4rem 1.3rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.ix__panel h2 {
  margin: 0 0 0.45rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
}
.ix__panel p {
  margin: 0 0 1rem;
  color: var(--ix-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.ix__choices {
  display: grid;
  gap: 0.55rem;
}
.ix__choice {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(186, 214, 240, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font: inherit;
  cursor: pointer;
}
.ix__choice strong { display: block; font-size: 1rem; margin-bottom: 0.15rem; }
.ix__choice span { display: block; font-size: 0.82rem; color: var(--ix-muted); }
.ix__choice:hover,
.ix__choice.is-default {
  border-color: rgba(125, 211, 252, 0.55);
  background: rgba(125, 211, 252, 0.08);
}
.ix__panel textarea {
  width: 100%;
  min-height: 7.5rem;
  resize: none;
  border-radius: 12px;
  border: 1px solid rgba(186, 214, 240, 0.28);
  background: rgba(3, 8, 15, 0.55);
  color: #f8fafc;
  font: inherit;
  padding: 0.85rem;
  margin-bottom: 0.85rem;
}
.ix__panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}
.ix__qr {
  display: block;
  width: min(220px, 70vw);
  height: auto;
  margin: 0.5rem auto 0.85rem;
  border-radius: 12px;
  background: #fff;
  padding: 0.55rem;
}
.ix__tiny {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ix-muted);
  word-break: break-all;
}

/* Mobile intake — slot solo in handoff */
.ix.is-mobile[data-handoff="1"] .ix__pulse-slot { width: 100%; min-height: 22vh; }
.ix.is-mobile .ix__headline { font-size: clamp(1.55rem, 7vw, 2.1rem); }
.ix.is-mobile .ix__secondaries { gap: 0.45rem 0.7rem; }
.ix.is-mobile .ix__footer { flex-direction: column; align-items: flex-start; }

/* Mobile performance (mode=mobile) — desktop invariato */
html.ix-mobile .ix__stand-dock { display: none !important; }
.ix.is-mobile .ix__tv,
.ix.is-mobile .ix__cam-badge { display: none !important; }
.ix.is-mobile .ix__grid { opacity: 0.28; }
.ix.is-mobile .ix__sky { animation: none !important; }
.ix.is-mobile .ix__handoff-burst-ring,
.ix.is-mobile .ix__handoff-burst-flash { animation-duration: 0.55s !important; }
.ix.is-mobile .ix__live.is-mobile-audio {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 0.85rem);
  left: 0.85rem;
  right: 0.85rem;
  z-index: 60;
  padding: 0.85rem 1rem;
  background: rgba(6, 16, 32, 0.94);
  border: 1px solid rgba(120, 180, 255, 0.38);
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.ix.is-mobile .ix__overlay--media-gate .ix__panel {
  max-width: min(22rem, 92vw);
}
.ix.is-mobile .ix__overlay--media-gate { display: none !important; }
.ix.is-mobile .ix__actions .ix__cta-main,
.ix.is-mobile #ixCta { display: none !important; }
.ix.is-mobile .ix__ui {
  padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
}
.ix.is-mobile.ix--mobile-dual-bar .ix__ui {
  padding-bottom: calc(6.35rem + env(safe-area-inset-bottom, 0px));
}
.ix__mobile-next {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  padding: 0.55rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(
    180deg,
    rgba(3, 8, 15, 0) 0%,
    rgba(3, 8, 15, 0.88) 24%,
    rgba(3, 8, 15, 0.98) 100%
  );
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: stretch;
  pointer-events: none;
}
.ix__mobile-next.is-dual {
  flex-direction: row;
  gap: 0.5rem;
  align-items: stretch;
}
.ix__mobile-next[hidden] { display: none !important; }
.ix__mobile-next-btn,
.ix__mobile-next-alt { pointer-events: auto; }
.ix__mobile-next-btn {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.92rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: #031018;
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 45%, #0ea5e9 100%);
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.35);
}
.ix__mobile-next.is-dual .ix__mobile-next-btn {
  flex: 1;
  width: auto;
  min-width: 0;
}
.ix__mobile-next-btn:disabled {
  opacity: 0.72;
  color: rgba(3, 16, 24, 0.85);
  box-shadow: none;
}
.ix__mobile-next-btn.is-busy { cursor: wait; }
.ix__mobile-next-alt {
  align-self: center;
  background: transparent;
  border: 0;
  color: rgba(186, 214, 240, 0.88);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  padding: 0.15rem 0.35rem;
}
.ix__mobile-next-alt.is-solid {
  align-self: stretch;
  flex: 1;
  width: auto;
  min-width: 0;
  border-radius: 999px;
  padding: 0.92rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  color: #e0f2fe;
  text-decoration: none;
  background: rgba(14, 28, 48, 0.94);
  border: 1px solid rgba(125, 211, 252, 0.48);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.ix.is-mobile #ixWrite:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 1rem;
  align-items: flex-end;
}
.ix.is-mobile #ixWrite .ix__panel {
  width: 100%;
  max-height: min(88vh, 560px);
  margin-bottom: env(safe-area-inset-bottom, 0px);
}
.ix.is-mobile #ixWrite textarea {
  min-height: 9rem;
  font-size: 1rem;
  line-height: 1.45;
}

/* Mini-TV presenza camera — chip nello strip top status */
.ix__top-status {
  position: absolute;
  top: max(0.65rem, env(safe-area-inset-top, 0px));
  right: max(0.65rem, env(safe-area-inset-right, 0px));
  z-index: 8;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem;
  max-width: min(96vw, 28rem);
  pointer-events: none;
}
.ix.is-mobile .ix__top-status {
  top: max(0.5rem, env(safe-area-inset-top, 0px));
  right: max(0.45rem, env(safe-area-inset-right, 0px));
  left: max(0.45rem, env(safe-area-inset-left, 0px));
  max-width: none;
}
.ix[data-presenting="1"] .ix__top-status {
  top: max(0.7rem, env(safe-area-inset-top, 0px));
  right: max(0.7rem, env(safe-area-inset-right, 0px));
}
.ix__tv {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  width: auto;
  max-width: min(240px, 48vw);
  pointer-events: none;
  animation: ixTvIn 0.7s ease both;
}
@keyframes ixTvIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.ix__tv-bezel {
  background: linear-gradient(160deg, #1a2433 0%, #0b1220 55%, #152033 100%);
  border: 1px solid rgba(186, 214, 240, 0.28);
  border-radius: 14px;
  padding: 0.45rem 0.45rem 0.35rem;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ix__tv-screen {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #03080f;
  border: 1px solid rgba(125, 211, 252, 0.2);
}
.ix__cam {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  background: #03080f;
}
.ix__tv-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(125, 211, 252, 0.04) 2px,
    rgba(125, 211, 252, 0.04) 3px
  );
  pointer-events: none;
  mix-blend-mode: screen;
}
.ix__tv-overlay {
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  background: rgba(3, 8, 15, 0.72);
  border: 1px solid rgba(125, 211, 252, 0.22);
  backdrop-filter: blur(4px);
}
.ix__tv-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #64748b;
  flex: 0 0 auto;
  box-shadow: 0 0 0 0 transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.ix__tv-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ix__tv-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0.15rem 0.05rem;
}
.ix__tv-brand {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
}
.ix__tv-led {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #334155;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

/* Stati TV */
.ix__tv.is-face .ix__tv-dot {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.75);
}
.ix__tv.is-face .ix__tv-screen {
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.22);
}
.ix__tv.is-face .ix__tv-led {
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.8);
}
.ix__tv.is-talking .ix__tv-dot {
  background: #7dd3fc;
  box-shadow: 0 0 10px rgba(125, 211, 252, 0.9);
  animation: ixTvTalk 0.7s ease-in-out infinite;
}
.ix__tv.is-talking .ix__tv-screen {
  border-color: rgba(125, 211, 252, 0.7);
  box-shadow: 0 0 22px rgba(125, 211, 252, 0.28);
}
.ix__tv.is-talking .ix__tv-led {
  background: #7dd3fc;
  box-shadow: 0 0 8px rgba(125, 211, 252, 0.9);
}
@keyframes ixTvTalk {
  50% { transform: scale(1.25); opacity: 0.75; }
}
.ix__tv.is-warn .ix__tv-dot { background: #fbbf24; }
.ix__tv.is-warn .ix__tv-label { color: #fde68a; }
.ix__tv.is-off .ix__cam { opacity: 0.15; filter: grayscale(1); }

.ix__cam-badge {
  position: absolute;
  top: calc(var(--ix-safe) + 2.4rem);
  left: clamp(1rem, 3vw, 2.5rem);
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(165, 227, 255, 0.85);
  background: rgba(8, 22, 40, 0.55);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  max-width: min(42vw, 11rem);
}
.ix__cam-badge.is-on { opacity: 1; }
.ix__cam-badge.is-warn { color: #fde68a; border-color: rgba(253, 230, 138, 0.4); }

.ix.is-mobile .ix__tv {
  width: auto;
  max-width: min(220px, 52vw);
  top: auto;
}

/* Prova blue: niente anteprima visibile. Video 320×240 in viewport (clip 2px)
   così decoder, FaceDetector e still restano attivi a presenza/chat. */
.ix.ix--eye-quiet .ix__cam {
  position: fixed;
  width: 320px;
  height: 240px;
  left: 0;
  bottom: 0;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
  clip-path: inset(0 318px 238px 0);
}
.ix.ix--eye-quiet .ix__cam-badge {
  display: none;
}
.ix.ix--eye-quiet .ix__tv {
  width: auto;
  max-width: min(240px, 48vw);
}
.ix.ix--eye-quiet .ix__tv-bezel {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.7rem 0.32rem 0.55rem;
  border-radius: 999px;
}
.ix.ix--eye-quiet .ix__tv-screen {
  aspect-ratio: auto;
  height: auto;
  border: 0;
  background: transparent;
  overflow: visible;
  display: contents;
}
.ix.ix--eye-quiet .ix__tv-scan {
  display: none;
}
.ix.ix--eye-quiet .ix__tv-overlay {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.ix.ix--eye-quiet .ix__tv-foot {
  padding: 0;
  gap: 0.35rem;
}
.ix.ix--eye-quiet .ix__tv-brand {
  letter-spacing: 0.1em;
}
.ix.ix--eye-quiet .ix__tv.is-face .ix__tv-screen,
.ix.ix--eye-quiet .ix__tv.is-talking .ix__tv-screen {
  box-shadow: none;
  border-color: transparent;
}
.ix.ix--eye-quiet[data-recall="1"] .ix__tv {
  width: auto;
}

.ix__chat {
  width: min(28rem, 92vw);
  margin: 0.65rem auto 0;
  text-align: left;
  display: none;
  flex-direction: column;
  gap: 0.45rem;
}
.ix[data-state="greeting"] .ix__chat,
.ix[data-state="chat"] .ix__chat {
  display: flex;
}
.ix.is-mobile[data-ix-lang-open="1"] .ix__chat {
  display: flex !important;
}
.ix.is-mobile[data-ix-lang-open="1"] .ix__lang-chips:not([hidden]) {
  margin-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 56;
}
.ix.is-mobile[data-ix-lang-open="1"] .ix__lang-chip {
  position: relative;
  z-index: 56;
  touch-action: manipulation;
}
.ix__chat-log {
  max-height: min(22vh, 180px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(125, 211, 252, 0.22) transparent;
}
.ix__chat-log,
.ix__present-caption,
.ix__brief-log {
  scrollbar-width: thin;
  scrollbar-color: rgba(125, 211, 252, 0.22) transparent;
}
.ix__chat-log::-webkit-scrollbar,
.ix__present-caption::-webkit-scrollbar,
.ix__brief-log::-webkit-scrollbar,
.ix[data-demo-fs="1"] .ix__demo-stage::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background: transparent;
}
.ix__chat-log::-webkit-scrollbar-track,
.ix__chat-log::-webkit-scrollbar-corner,
.ix__present-caption::-webkit-scrollbar-track,
.ix__present-caption::-webkit-scrollbar-corner,
.ix__brief-log::-webkit-scrollbar-track,
.ix__brief-log::-webkit-scrollbar-corner,
.ix[data-demo-fs="1"] .ix__demo-stage::-webkit-scrollbar-track,
.ix[data-demo-fs="1"] .ix__demo-stage::-webkit-scrollbar-corner {
  background: transparent;
}
.ix__chat-log::-webkit-scrollbar-thumb,
.ix__present-caption::-webkit-scrollbar-thumb,
.ix__brief-log::-webkit-scrollbar-thumb,
.ix[data-demo-fs="1"] .ix__demo-stage::-webkit-scrollbar-thumb {
  background: rgba(125, 211, 252, 0.22);
  border-radius: 999px;
  border: none;
}
.ix__bubble {
  max-width: 92%;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  font-size: clamp(0.88rem, 1.5vh, 1.02rem);
  line-height: 1.4;
  animation: ixBubbleIn 0.45s ease both;
}
@keyframes ixBubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.ix__bubble--star {
  align-self: flex-start;
  background: linear-gradient(145deg, rgba(14, 124, 102, 0.28), rgba(125, 211, 252, 0.12));
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: #f8fafc;
}
.ix__bubble--user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(186, 214, 240, 0.22);
  color: rgba(226, 232, 240, 0.95);
}
.ix__chat-form {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.15rem;
  align-items: center;
}
.ix__chat-form input {
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid rgba(186, 214, 240, 0.3);
  background: rgba(3, 8, 15, 0.55);
  color: #f8fafc;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.65rem 1rem;
}
.ix__chat-form button[type="submit"] {
  appearance: none;
  border: 1px solid rgba(125, 211, 252, 0.4);
  background: rgba(125, 211, 252, 0.12);
  color: #f8fafc;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 0.95rem;
  cursor: pointer;
}
.ix__mic-btn {
  appearance: none;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.45);
  background: rgba(14, 124, 102, 0.25);
  color: #f8fafc;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.ix__mic-btn.is-on {
  background: rgba(239, 68, 68, 0.45);
  border-color: rgba(252, 165, 165, 0.7);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
  animation: ixMicPulse 1.1s ease-in-out infinite;
}
@keyframes ixMicPulse {
  50% { transform: scale(1.06); }
}
.ix__idea-cap-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem auto 0.15rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(8, 24, 42, 0.72);
  color: #e0f2fe;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.ix__idea-cap-timer[hidden] { display: none !important; }
.ix__idea-cap-timer-label {
  opacity: 0.75;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.ix__idea-cap-timer time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #7dd3fc;
  min-width: 2.4rem;
  text-align: right;
}
.ix__idea-confirm {
  margin-top: 0.45rem;
}
.ix__live {
  margin: 0.35rem 0 0.15rem;
  min-height: 1.3em;
  font-size: clamp(0.9rem, 1.6vh, 1.05rem);
  color: rgba(165, 227, 255, 0.95);
  font-weight: 600;
  text-align: center;
}
.ix__live[hidden] { display: none !important; }
.ix__live.is-err { color: #fde68a; }
.ix[data-state="listening"] .ix__live--listen {
  display: block !important;
}
.ix__chat-tools {
  display: none !important;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  justify-content: center;
  margin-top: 0.35rem;
}
/* Dopo «va bene così» / avvio produzione: sparisce «Racconta l’idea» in basso */
.ix[data-idea-building="1"] .ix__chat-tools,
.ix[data-idea-building="1"] #ixCta {
  display: none !important;
}
.ix__lang-chips {
  margin: 0.15rem 0 0.35rem;
  text-align: center;
}
.ix__lang-chips[hidden] { display: none !important; }
.ix__lang-chips {
  position: relative;
}
.ix__chat {
  position: relative;
}
.ix__rewind-btn--chat {
  position: absolute;
  top: 0.1rem;
  right: 0;
  z-index: 4;
}
.ix__lang-hint {
  display: none !important;
}
.ix__rewind-btn {
  appearance: none;
  border: 1px solid rgba(125, 211, 252, 0.45);
  background: rgba(15, 23, 42, 0.35);
  color: rgba(248, 250, 252, 0.92);
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.ix__rewind-btn:hover {
  transform: scale(1.06);
  border-color: rgba(125, 211, 252, 0.75);
}
.ix__rewind-btn[hidden] { display: none !important; }
.ix__lang-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}
.ix__lang-chip {
  appearance: none;
  border: 1px solid rgba(125, 211, 252, 0.4);
  background: rgba(125, 211, 252, 0.1);
  color: #f8fafc;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.ix__lang-chip:hover {
  background: rgba(125, 211, 252, 0.22);
  border-color: rgba(125, 211, 252, 0.65);
  transform: translateY(-1px);
}
.ix__lang-chip.is-on {
  background: rgba(14, 124, 102, 0.35);
  border-color: rgba(125, 211, 252, 0.7);
}
.ix__empty-idea .ix__lang-chip[data-ix-empty="yes"] {
  background: rgba(14, 124, 102, 0.28);
  border-color: rgba(125, 211, 252, 0.55);
}
.ix__empty-idea .ix__lang-chip[data-ix-empty="no"] {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(165, 180, 252, 0.5);
}

.ix__path {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  justify-content: center;
  margin: 0.35rem auto 0.25rem;
  padding: 0;
  width: min(36rem, 94vw);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  font-weight: 700;
}
.ix__path[hidden] { display: none !important; }
.ix__path li {
  position: relative;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.ix__path li.is-done { color: rgba(125, 211, 252, 0.85); }
.ix__path li.is-on {
  color: #f8fafc;
  border-color: rgba(125, 211, 252, 0.45);
  background: rgba(14, 124, 102, 0.28);
}
.ix__hold {
  margin: 0.15rem auto 0.4rem;
  width: min(32rem, 92vw);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(165, 227, 255, 0.92);
  font-weight: 600;
}
.ix__hold[hidden] { display: none !important; }

.ix__rating {
  margin: 0.75rem auto 0;
  width: min(28rem, 92vw);
  text-align: center;
}
.ix__rating[hidden],
.ix__email-form[hidden],
.ix__demo-box[hidden] { display: none !important; }
.ix__rating-hint {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(165, 227, 255, 0.8);
  font-weight: 700;
}
.ix__rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}
.ix__rate-btn {
  appearance: none;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.4);
  background: rgba(125, 211, 252, 0.1);
  color: #f8fafc;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.ix__rate-btn:hover,
.ix__rate-btn.is-on {
  background: rgba(14, 124, 102, 0.4);
  border-color: rgba(125, 211, 252, 0.75);
}
.ix__quota {
  width: min(28rem, 92vw);
  text-align: left;
  background: #ffffff !important;
  color: #1c1917 !important;
  border: 1px solid #d6d3d1 !important;
}
.ix__quota h2,
.ix__quota p,
.ix__quota label,
.ix__quota span {
  color: #1c1917 !important;
}
.ix__quota label {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ix__quota input,
.ix__quota textarea {
  letter-spacing: 0;
  text-transform: none;
  border-radius: 0.8rem;
  border: 1px solid #78716c;
  background: #ffffff !important;
  color: #1c1917 !important;
  font: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.8rem;
}
.ix__quota textarea { min-height: 4.5rem; resize: vertical; }
.ix__quota .ix__link,
.ix__quota .ix__cta {
  color: #1c1917 !important;
  background: #ffffff !important;
  border: 1px solid #1c1917 !important;
  letter-spacing: 0.04em;
}
.ix__quota-err { margin: 0 0 0.6rem; color: #9f1239 !important; }
.ix__quota-ok { margin: 0.8rem 0 0; color: #166534 !important; }
.ix__email-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  width: min(28rem, 92vw);
  margin: 0.65rem auto 0;
}
.ix__email-form input {
  flex: 1 1 12rem;
  border-radius: 999px;
  border: 1px solid rgba(186, 214, 240, 0.3);
  background: rgba(3, 8, 15, 0.55);
  color: #f8fafc;
  font: inherit;
  padding: 0.65rem 1rem;
}
.ix__email-form button[type="submit"] {
  appearance: none;
  border: 1px solid rgba(125, 211, 252, 0.4);
  background: rgba(125, 211, 252, 0.12);
  color: #f8fafc;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  padding: 0.65rem 0.95rem;
  cursor: pointer;
}
.ix__email-form .ix__link {
  flex: 1 1 100%;
  text-align: center;
  margin-top: 0.15rem;
}
.ix__demo-box {
  width: min(28rem, 92vw);
  margin: 0.75rem auto 0;
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(8, 22, 40, 0.55);
}
.ix__demo-kicker {
  margin: 0 0 0.35rem !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(165, 227, 255, 0.85) !important;
  font-weight: 800;
}
.ix__demo-done {
  margin: 0.65rem 0 0 !important;
  color: rgba(134, 239, 172, 0.95) !important;
  font-weight: 700;
  font-size: 0.88rem !important;
}
.ix__demo-box h2 {
  margin: 0 0 0.4rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
}
.ix__demo-box p { margin: 0 0 0.5rem; color: var(--ix-muted); font-size: 0.95rem; }
.ix__demo-box ul { margin: 0 0 0.75rem; padding-left: 1.1rem; color: rgba(226,232,240,.9); font-size: 0.88rem; }
.ix__demo-box .ix__cta {
  display: inline-flex;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.1rem;
}
.ix__demo-frame {
  display: block;
  width: 100%;
  min-height: 42vh;
  margin: 0.65rem 0 0.85rem;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 12px;
  background: rgba(2, 8, 20, 0.55);
}
.ix__demo-frame[hidden] { display: none !important; }

/* Handoff: SINISTRA stella (canvas dockato) → scelte → speak · DESTRA risultati */
.ix[data-handoff="1"] .ix__sky {
  background:
    radial-gradient(ellipse 50% 48% at 18% 28%, rgba(18, 56, 95, 0.55), transparent 62%),
    radial-gradient(ellipse 36% 32% at 14% 72%, rgba(14, 124, 102, 0.14), transparent 55%),
    linear-gradient(120deg, #03080f 0%, #0a1829 42%, #071420 100%);
}
.ix__canvas.ix__canvas--docked {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  z-index: 1;
  pointer-events: none;
}
.ix[data-handoff="1"] .ix__stage {
  display: grid;
  grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  align-items: stretch;
  gap: 0.65rem clamp(0.75rem, 1.8vw, 1.4rem);
  width: 100%;
  max-width: none;
  margin: 0;
  padding-bottom: 0.25rem;
  text-align: left;
  position: relative;
  z-index: 2;
}
.ix[data-handoff="1"] .ix__pulse-slot {
  display: block;
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: none;
  min-height: 28vh;
  height: min(38vh, 320px);
  flex: none;
  align-self: stretch;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(14, 40, 70, 0.55), transparent 70%);
}
.ix[data-handoff="1"] .ix__copy {
  grid-column: 1;
  grid-row: 2;
  max-width: none;
  width: 100%;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.1rem 0.15rem 0.35rem;
  text-align: left;
  z-index: 4;
}
.ix[data-handoff="1"] .ix__demo-box {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 0.55rem 0.65rem;
  border-radius: 18px;
  border: 1px solid rgba(125, 211, 252, 0.32);
  background:
    linear-gradient(165deg, rgba(10, 28, 48, 0.92), rgba(4, 12, 24, 0.88));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
  z-index: 12;
  isolation: isolate;
}
.ix[data-handoff="1"] .ix__demo-box[hidden] {
  display: none !important;
}
.ix[data-handoff="1"] .ix__demo-frame {
  flex: 1 1 auto;
  min-height: 48vh;
  height: 100%;
  margin: 0.45rem 0 0.55rem;
  border-radius: 14px;
  background: #fff;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.ix[data-handoff="1"]:not([data-demo-fs="1"]) .ix__takehome:not([hidden]) {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  z-index: 8;
  width: 200px;
  margin: 0.45rem 0.45rem 0 0;
}

/* Richiama Sirius: colonna vuota a destra solo per il QR — non copre demo né stella */
.ix[data-demo-fs="1"] .ix__tv,
.ix[data-demo-fs="1"] .ix__cam-badge {
  display: none !important;
}
/* Resume SSR: niente flash stand idle / chip lingua mentre arriva il JS */
.ix[data-resume-demo="1"] .ix__lang-chips,
.ix[data-resume-demo="1"] .ix__chat-form,
.ix[data-resume-demo="1"] .ix__chat-tools,
.ix[data-resume-demo="1"] .ix__mobile-next,
.ix[data-resume-demo="1"] .ix__media-gate,
.ix[data-resume-demo="1"] .ix__hold,
.ix[data-demo-fs="1"] .ix__lang-chips,
.ix[data-demo-fs="1"] .ix__chat-form,
.ix[data-demo-fs="1"] .ix__chat-tools,
.ix[data-demo-fs="1"] .ix__mobile-next {
  display: none !important;
}
.ix[data-resume-demo="1"] .ix__takehome {
  display: flex;
}
.ix[data-recall="1"] .ix__tv {
  position: absolute;
  top: calc(var(--ix-safe) + 3.15rem);
  left: clamp(0.75rem, 1.8vw, 1.35rem);
  right: auto;
  width: min(148px, 24vw);
  z-index: 5;
}
.ix[data-recall="1"] .ix__cam-badge {
  left: clamp(0.75rem, 1.8vw, 1.35rem);
  top: calc(var(--ix-safe) + 2.15rem);
  right: auto;
}
.ix[data-handoff="1"][data-recall="1"] .ix__stage {
  grid-template-columns: minmax(200px, 22%) minmax(0, 1fr) minmax(228px, 268px);
  grid-template-rows: auto minmax(0, 1fr);
}
.ix[data-handoff="1"][data-recall="1"] .ix__pulse-slot {
  grid-column: 1;
  grid-row: 1;
  margin-top: 7.2rem;
  min-height: 18vh;
  height: min(26vh, 220px);
  z-index: 3;
}
.ix[data-handoff="1"][data-recall="1"] .ix__copy {
  grid-column: 1;
  grid-row: 2;
}
.ix[data-handoff="1"][data-recall="1"] .ix__demo-box {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.ix[data-handoff="1"][data-recall="1"] .ix__takehome:not([hidden]) {
  grid-column: 3 !important;
  grid-row: 1 / span 2 !important;
  justify-self: stretch;
  align-self: center;
  width: auto !important;
  max-width: none;
  margin: 0 !important;
  z-index: 4 !important;
  position: relative;
}
.ix[data-recall="1"] .ix__takehome-orbit {
  display: none;
}
.ix[data-handoff="1"] #ixDemoDocs,
.ix[data-recall="1"] #ixDemoDocs,
.ix__kit-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ix[data-handoff="1"] #ixDemoDocs li {
  margin: 0;
}
.ix[data-handoff="1"] #ixDemoDocs a {
  text-decoration: none;
  color: inherit;
}

.ix__kit {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
  flex: 0 0 auto;
}
.ix__kit-kicker {
  margin: 0 !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.14em;
}
.ix__kit-title,
.ix__kit-lead,
.ix[data-handoff="1"][data-recall="1"] #ixDemoTitle,
.ix[data-handoff="1"][data-recall="1"] #ixDemoSummary {
  display: none !important;
}
.ix__kit-item {
  appearance: none;
  width: auto;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.26rem 0.52rem 0.26rem 0.32rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.34);
  background: rgba(8, 28, 48, 0.78);
  color: #e0f2fe;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  box-shadow: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.ix__kit-item:hover,
.ix__kit-item:focus-visible {
  transform: none;
  border-color: rgba(165, 227, 255, 0.75);
  background: rgba(14, 52, 82, 0.92);
  outline: none;
}
.ix__kit-item.is-active {
  border-color: rgba(125, 211, 252, 0.9);
  background: rgba(14, 116, 144, 0.48);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.22);
}
.ix__kit-item--hub {
  margin-top: 0;
  border-color: rgba(250, 204, 21, 0.5);
  background: rgba(64, 48, 12, 0.45);
}
.ix__kit-item--hub .ix__kit-icon {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.4);
  background: rgba(250, 204, 21, 0.12);
}
.ix__kit-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: rgba(14, 116, 144, 0.28);
  color: #7dd3fc;
  font-size: 0.62rem;
  flex: 0 0 auto;
}
.ix__kit-item.is-active .ix__kit-icon {
  background: rgba(34, 211, 238, 0.28);
  color: #f0f9ff;
  border-color: rgba(165, 227, 255, 0.55);
}
.ix__kit-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ix__kit-name {
  display: block;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: #f8fafc;
  line-height: 1.15;
  white-space: nowrap;
}
.ix__kit-hint {
  display: none;
}
.ix[data-handoff="1"] .ix__demo-box,
.ix[data-handoff="1"] .ix__demo-box.is-reading {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ix[data-handoff="1"] .ix__demo-box.is-reading .ix__kit {
  grid-column: unset;
  grid-row: unset;
  overflow: visible;
}
.ix[data-handoff="1"] .ix__demo-frame,
.ix[data-handoff="1"] .ix__demo-box.is-reading .ix__demo-frame {
  grid-column: unset;
  grid-row: unset;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  margin: 0;
}
.ix[data-handoff="1"] .ix__demo-box:not(.is-reading) .ix__kit-menu,
.ix[data-handoff="1"] .ix__demo-box:not(.is-reading) .ix__kit-item--hub {
  display: flex;
  grid-column: unset;
  grid-template-columns: unset;
}
.ix[data-handoff="1"] .ix__demo-choices-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.28rem;
}
.ix[data-handoff="1"] .ix__demo-choices-row .ix__kit-item {
  width: auto;
}
.ix[data-kit="1"] .ix__nodes,
.ix[data-state="result"][data-kit="1"] .ix__nodes[data-ix-show~="result"],
.ix[data-kit="1"] .ix__result-note {
  display: none !important;
}
.ix[data-handoff="1"][data-recall="1"] .ix__demo-kicker {
  display: block !important;
}
.ix[data-handoff="1"][data-recall="1"] .ix__demo-box {
  padding: 0.5rem 0.65rem 0.5rem;
}
.ix[data-handoff="1"] .ix__headline,
.ix[data-handoff="1"] .ix__lead,
.ix[data-handoff="1"] .ix__example,
.ix[data-handoff="1"] .ix__path,
.ix[data-handoff="1"] .ix__result-note,
.ix[data-handoff="1"] .ix__nodes,
.ix[data-handoff="1"] .ix__actions,
.ix[data-handoff="1"] .ix__chat-tools,
.ix[data-handoff="1"] .ix__chat-log,
.ix[data-handoff="1"] .ix__kicker {
  display: none !important;
}
.ix[data-handoff="1"] .ix__chat {
  max-width: none;
  display: flex !important;
  flex-direction: column;
  margin: 0;
  width: 100%;
}
.ix[data-handoff="1"] .ix__chat-form {
  display: flex !important;
  width: 100%;
  margin-top: 0.15rem;
  gap: 0.35rem;
}
.ix[data-handoff="1"] .ix__chat-form input {
  flex: 1 1 auto;
}
.ix[data-handoff="1"] .ix__hold {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  color: rgba(226, 232, 240, 0.92);
}
.ix[data-handoff="1"] .ix__live {
  margin: 0;
}
.ix[data-handoff="1"] .ix__demo-choices {
  margin: 0;
  padding: 0.55rem 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: rgba(6, 18, 34, 0.55);
}
.ix__demo-choices {
  margin: 0.65rem 0 0.35rem;
}
.ix__demo-choices[hidden] { display: none !important; }
.ix__demo-choices-hint {
  margin: 0 0 0.45rem !important;
  color: rgba(165, 227, 255, 0.95) !important;
  font-weight: 700;
  font-size: 0.92rem !important;
}
.ix__demo-choices-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.ix__demo-choices-row .ix__node {
  font-size: 0.78rem;
  padding: 0.45rem 0.75rem;
}
@media (max-width: 900px) {
  .ix[data-handoff="1"] .ix__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(36vh, 1fr);
  }
  .ix[data-handoff="1"] .ix__pulse-slot {
    grid-column: 1;
    grid-row: 1;
    min-height: 18vh;
    height: 20vh;
  }
  .ix[data-handoff="1"] .ix__copy {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
  }
  .ix[data-handoff="1"] .ix__demo-box {
    grid-column: 1;
    grid-row: 3;
  }
  .ix[data-handoff="1"] .ix__demo-frame {
    min-height: 32vh;
  }
  .ix[data-handoff="1"][data-recall="1"] .ix__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(32vh, 1fr) auto;
  }
  .ix[data-handoff="1"][data-recall="1"] .ix__pulse-slot {
    grid-column: 1;
    grid-row: 1;
    margin-top: 8.4rem;
  }
  .ix[data-handoff="1"][data-recall="1"] .ix__copy { grid-column: 1; grid-row: 2; }
  .ix[data-handoff="1"][data-recall="1"] .ix__demo-box {
    grid-column: 1;
    grid-row: 3;
  }
  .ix[data-handoff="1"][data-recall="1"] .ix__takehome:not([hidden]) {
    grid-column: 1 !important;
    grid-row: 4 !important;
    justify-self: center;
    width: min(240px, 100%) !important;
  }
}

/* State visibility helpers */
[data-ix-show] { display: none !important; }
.ix[data-state="idle"] p[data-ix-show~="idle"],
.ix[data-state="presence"] p[data-ix-show~="presence"],
.ix[data-state="presence"] p[data-ix-show~="idle"],
.ix[data-state="greeting"] p[data-ix-show~="greeting"],
.ix[data-state="greeting"] p[data-ix-show~="presence"],
.ix[data-state="chat"] p[data-ix-show~="chat"],
.ix[data-state="chat"] p[data-ix-show~="greeting"],
.ix[data-state="listening"] p[data-ix-show~="listening"],
.ix[data-state="processing"] p[data-ix-show~="processing"],
.ix[data-state="result"] p[data-ix-show~="result"] {
  display: block !important;
}
.ix[data-state="idle"] .ix__cta[data-ix-show~="idle"],
.ix[data-state="presence"] .ix__cta[data-ix-show~="presence"],
.ix[data-state="presence"] .ix__cta[data-ix-show~="idle"],
.ix[data-state="greeting"] .ix__cta[data-ix-show~="greeting"],
.ix[data-state="chat"] .ix__cta[data-ix-show~="chat"],
.ix[data-state="chat"] .ix__cta[data-ix-show~="greeting"],
.ix[data-state="listening"] .ix__cta[data-ix-show~="listening"] {
  display: inline-flex !important;
}
.ix[data-state="idle"] .ix__secondaries[data-ix-show~="idle"],
.ix[data-state="presence"] .ix__secondaries[data-ix-show~="presence"],
.ix[data-state="presence"] .ix__secondaries[data-ix-show~="idle"],
.ix[data-state="greeting"] .ix__secondaries[data-ix-show~="greeting"],
.ix[data-state="chat"] .ix__secondaries[data-ix-show~="chat"],
.ix[data-state="listening"] .ix__keywords[data-ix-show~="listening"],
.ix[data-state="listening"] .ix__listen-tools[data-ix-show~="listening"],
.ix[data-state="result"] .ix__nodes[data-ix-show~="result"] {
  display: flex !important;
}

@media (prefers-reduced-motion: reduce) {
  .ix__cta.is-listening,
  .ix__mic { animation: none !important; }
  .ix__cta:hover { transform: none; }
}

@media (max-height: 700px) {
  .ix[data-handoff="1"] .ix__pulse-slot { min-height: 22vh; height: min(32vh, 260px); }
  .ix__headline { font-size: clamp(1.5rem, 4.4vh, 2.2rem); }
  .ix__lead { display: none; }
}

/* Dock stand: un solo Menu → tendina Audio / Mic / Voce / Reset */
.ix__stand-dock {
  position: fixed;
  left: auto;
  right: max(0.55rem, env(safe-area-inset-right, 0px));
  bottom: max(0.55rem, env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.35rem;
  max-width: calc(100vw - 1.2rem);
}
.ix__dock-btn {
  margin: 0;
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(186, 214, 240, 0.28);
  border-radius: 0.4rem;
  background: rgba(3, 8, 15, 0.72);
  color: rgba(226, 232, 240, 0.82);
  font: 600 0.72rem/1.1 "Outfit", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ix__dock-btn:hover,
.ix__dock-btn:focus-visible,
.ix__dock-btn[aria-expanded="true"] {
  color: #f4f7fb;
  border-color: rgba(125, 211, 252, 0.55);
  outline: none;
}
.ix__dock-panel {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 7.5rem;
  padding: 0.35rem;
  border: 1px solid rgba(186, 214, 240, 0.22);
  border-radius: 0.45rem;
  background: rgba(3, 8, 15, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.ix__dock-panel[hidden] {
  display: none !important;
}
.ix__dock-item {
  margin: 0;
  width: 100%;
  padding: 0.42rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  background: transparent;
  color: rgba(226, 232, 240, 0.88);
  font: 600 0.72rem/1.1 "Outfit", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}
.ix__dock-item:hover,
.ix__dock-item:focus-visible {
  color: #f4f7fb;
  background: rgba(125, 211, 252, 0.12);
  border-color: rgba(125, 211, 252, 0.28);
  outline: none;
}
.ix__dock-item.is-on {
  color: #ecfeff;
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(8, 47, 73, 0.75);
}
.ix__dock-item.is-warn {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.45);
}
.ix__dock-item--accent {
  color: #e0f2fe;
}
.ix__dock-item--quiet {
  font-size: 0.78rem;
  opacity: 0.72;
  color: #94a3b8;
}
.ix__dock-item.is-paused,
.ix__dock-btn.is-paused {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(69, 26, 3, 0.72);
}
.ix__dock-item.is-presenting,
.ix__dock-btn.is-presenting {
  color: #ecfeff;
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(8, 47, 73, 0.82);
}
@media (max-width: 900px) {
  .ix__stand-dock {
    left: max(0.55rem, env(safe-area-inset-left, 0px));
    right: auto;
    top: max(0.45rem, env(safe-area-inset-top, 0px));
    bottom: auto;
    align-items: flex-start;
    flex-direction: column;
  }
  .ix__ui {
    padding-top: calc(2.7rem + env(safe-area-inset-top, 0px));
  }
}
/* Presentazione stand: solo stella + menu; copione in basso, non al centro */
.ix[data-presenting="1"] .ix__brand,
.ix[data-presenting="1"] .ix__copy,
.ix[data-presenting="1"] .ix__demo-stage,
.ix[data-presenting="1"] .ix__tv,
.ix[data-presenting="1"] .ix__cam-badge,
.ix[data-presenting="1"] .ix__overlay,
.ix[data-presenting="1"] .ix__footer-left,
.ix[data-presenting="1"] .ix__footer-tools .ix__pill,
.ix[data-presenting="1"] .ix__footer-tools .ix__state,
.ix[data-presenting="1"] .ix__footer-tools .ix__link {
  display: none !important;
}
.ix[data-presenting="1"] .ix__footer-tools .ix__xp { display: inline-flex !important; }
.ix[data-presenting="1"] .ix__ui {
  pointer-events: none;
}
.ix__present-caption {
  display: none;
}
.ix[data-presenting="1"] .ix__present-caption:not([hidden]) {
  display: block;
  position: fixed;
  left: 50%;
  bottom: max(0.7rem, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 45;
  width: min(960px, calc(100vw - 1.4rem));
  max-height: min(38vh, 16.5rem);
  overflow: auto;
  padding: 0.7rem 0.95rem 0.8rem;
  border-radius: 16px;
  background: rgba(3, 8, 15, 0.82);
  border: 1px solid rgba(125, 211, 252, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.ix__present-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(125, 211, 252, 0.8);
}
.ix__present-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}
.ix__present-list li {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(226, 232, 240, 0.48);
}
.ix__present-list li.is-on {
  font-size: clamp(0.95rem, 2.1vh, 1.15rem);
  line-height: 1.4;
  font-weight: 600;
  color: #f8fafc;
}
/* retrocompat se resta la classe vecchia */
.ix__hard-reset {
  position: fixed;
  left: max(0.55rem, env(safe-area-inset-left, 0px));
  bottom: max(0.55rem, env(safe-area-inset-bottom, 0px));
  z-index: 60;
  margin: 0;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(186, 214, 240, 0.28);
  border-radius: 0.35rem;
  background: rgba(3, 8, 15, 0.55);
  color: rgba(226, 232, 240, 0.72);
  font: 600 0.68rem/1.1 "Outfit", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ix__hard-reset:hover,
.ix__hard-reset:focus-visible {
  color: #f4f7fb;
  border-color: rgba(125, 211, 252, 0.55);
  outline: none;
}

/* Handoff prototipo v2 — burst + theater (senza Fullscreen API: arriva da poll admin) */
.ix__handoff-burst {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ix__handoff-burst[hidden] { display: none !important; }
.ix__handoff-burst-ring {
  position: absolute;
  width: 12vmin;
  height: 12vmin;
  border-radius: 50%;
  border: 3px solid rgba(125, 211, 252, 0.85);
  animation: ixBurstRing 1.05s ease-out forwards;
}
.ix__handoff-burst-ring:nth-child(2) {
  animation-delay: 0.12s;
  border-color: rgba(250, 204, 21, 0.8);
}
.ix__handoff-burst-ring:nth-child(3) {
  animation-delay: 0.24s;
  border-color: rgba(52, 211, 153, 0.75);
}
.ix__handoff-burst-flash {
  position: absolute;
  inset: 0;
  background: rgba(224, 242, 254, 0.22);
  animation: ixBurstFlash 0.9s ease-out forwards;
}
@keyframes ixBurstRing {
  0% { transform: scale(0.2); opacity: 1; }
  100% { transform: scale(18); opacity: 0; }
}
@keyframes ixBurstFlash {
  0% { opacity: 0.45; }
  100% { opacity: 0; }
}

.ix__demo-stage {
  display: contents;
}
.ix[data-demo-fs="1"] .ix__demo-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(232px, 280px);
  grid-template-rows: minmax(0, 1fr);
  gap: 0.65rem 0.85rem;
  position: fixed;
  inset: 0;
  z-index: 65;
  background: #03080f;
  padding: 0.65rem 0.75rem 0.85rem;
}
.ix[data-demo-fs="1"] .ix__demo-box {
  grid-column: 1;
  grid-row: 1;
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  max-width: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: #071018;
  position: relative;
}
.ix[data-demo-fs="1"] .ix__kit,
.ix[data-demo-fs="1"] .ix__demo-kicker,
.ix[data-demo-fs="1"] #ixDemoTitle,
.ix[data-demo-fs="1"] #ixDemoSummary,
.ix[data-demo-fs="1"] #ixDemoDocs,
.ix[data-demo-fs="1"] #ixDemoOpen,
.ix[data-demo-fs="1"] #ixDemoHub,
.ix[data-demo-fs="1"] #ixDemoDone {
  display: none !important;
}
.ix[data-demo-fs="1"] .ix__demo-frame,
.ix[data-demo-fs="1"] .ix__demo-frame[hidden] {
  display: block !important;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: 100%;
  border: 0;
  border-radius: 16px;
  background: #fff;
}
.ix[data-demo-fs="1"] .ix__takehome:not([hidden]) {
  grid-column: 2;
  grid-row: 1;
  display: flex;
}
.ix__recall-hint {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: rgba(186, 230, 253, 0.88);
}

/* QR porta a casa — card animata accanto alla demo */
.ix__takehome {
  position: relative;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  padding: 1.25rem 1rem 1.45rem;
  border-radius: 22px;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.45);
  background:
    radial-gradient(ellipse 80% 70% at 50% 20%, rgba(250, 204, 21, 0.18), transparent 62%),
    linear-gradient(165deg, rgba(14, 38, 62, 0.96), rgba(4, 12, 24, 0.94));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.ix__takehome:not([hidden]) { display: flex; }
.ix__takehome[hidden] { display: none !important; }
.ix__takehome-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 40%, rgba(125, 211, 252, 0.28), transparent 58%);
  animation: ixTakehomeGlow 2.4s ease-in-out infinite;
  pointer-events: none;
}
.ix__takehome-orbit {
  display: none !important;
}
.ix__takehome-orbit span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(125, 211, 252, 0.35);
  animation: ixTakehomeSpin 8s linear infinite;
}
.ix__takehome-orbit span:nth-child(2) {
  inset: 12px;
  border-color: rgba(250, 204, 21, 0.4);
  animation-duration: 11s;
  animation-direction: reverse;
}
.ix__takehome-orbit span:nth-child(3) {
  inset: 24px;
  border-style: solid;
  border-color: rgba(52, 211, 153, 0.28);
  animation-duration: 6s;
}
.ix__takehome-kicker {
  position: relative;
  z-index: 1;
  margin: 0.15rem 0 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #facc15;
}
.ix__takehome-phone {
  position: relative;
  z-index: 1;
  width: 188px;
  padding: 0.55rem 0.45rem 0.7rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #1e293b, #020617);
  border: 2px solid rgba(226, 232, 240, 0.35);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.18);
  animation: ixTakehomePulse 1.6s ease-in-out infinite;
}
.ix__takehome-phone-notch {
  display: block;
  width: 42px;
  height: 6px;
  margin: 0 auto 0.4rem;
  border-radius: 6px;
  background: rgba(226, 232, 240, 0.35);
}
.ix__takehome-qr {
  display: block;
  width: 168px;
  height: 168px;
  border-radius: 8px;
  background: #fff;
}
.ix__takehome-time {
  position: relative;
  z-index: 1;
  margin: 0 0 0.35rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #082f49;
  background: linear-gradient(180deg, #fde68a, #fbbf24);
  box-shadow: 0 6px 16px rgba(250, 204, 21, 0.28);
}
.ix__takehome-time[hidden] { display: none !important; }
.ix[data-demo-fs="1"] .ix__rich-remember:not([hidden]) {
  position: fixed;
  left: 50%;
  bottom: max(5.6rem, calc(env(safe-area-inset-bottom, 0px) + 4.8rem));
  transform: translateX(-50%);
  z-index: 81;
  width: min(560px, calc(100vw - 1.4rem));
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  background: rgba(3, 8, 15, 0.92);
  border: 1px solid rgba(125, 211, 252, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.ix[data-demo-fs="1"] .ix__rating:not([hidden]),
.ix[data-demo-fs="1"] .ix__email-form:not([hidden]) {
  position: fixed;
  left: 50%;
  bottom: max(0.9rem, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 80;
  width: min(560px, calc(100vw - 1.4rem));
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  background: rgba(3, 8, 15, 0.92);
  border: 1px solid rgba(125, 211, 252, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.ix__takehome-copy {
  position: relative;
  z-index: 1;
  margin: 0.15rem 0 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: #f8fafc;
  animation: ixTakehomeCopy 1.8s ease-in-out infinite;
}
.ix__takehome-share {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.ix__takehome-share[hidden] { display: none !important; }
.ix__takehome-share-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(186, 230, 253, 0.92);
}
.ix__takehome-share-row {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  width: 100%;
}
.ix__takehome-url {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid rgba(125, 211, 252, 0.4);
  border-radius: 10px;
  background: rgba(2, 8, 18, 0.72);
  color: #e0f2fe;
  font-size: 0.68rem;
  line-height: 1.3;
  padding: 0.45rem 0.55rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.ix__takehome-url:focus {
  outline: 2px solid rgba(250, 204, 21, 0.65);
  outline-offset: 1px;
}
.ix__takehome-copybtn {
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  color: #082f49;
  background: linear-gradient(180deg, #e0f2fe, #7dd3fc);
}
.ix__takehome-copybtn.is-copied {
  background: linear-gradient(180deg, #bbf7d0, #34d399);
  color: #064e3b;
}
.ix__takehome-openbtn {
  display: block;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e0f2fe;
  background: rgba(2, 12, 22, 0.55);
}
.ix__takehome-openbtn[hidden] { display: none !important; }
.ix__takehome-mail-hint {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: rgba(186, 230, 253, 0.78);
}
.ix__takehome-mail-status {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #86efac;
}
.ix__takehome-mail-status.is-err { color: #fca5a5; }
.ix__takehome-mail-status[hidden] { display: none !important; }
.ix__social-share-btn {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin: 0.55rem 0 0;
  border: 0;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  color: #071018;
  background: linear-gradient(180deg, #f8e7a2, #e8c14a);
}
.ix__social-picker {
  position: relative;
  z-index: 1;
  margin-top: 0.55rem;
  padding: 0.7rem 0.65rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(186, 230, 253, 0.22);
  background: rgba(7, 16, 30, 0.72);
}
.ix__social-picker[hidden] { display: none !important; }
.ix__social-picker-title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5d56a;
  font-weight: 700;
}
.ix__social-picker-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.ix__social-picker-row button {
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 10px;
  padding: 0.5rem 0.4rem;
  background: rgba(8, 24, 40, 0.9);
  color: #e0f2fe;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.ix__social-picker-note {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(186, 230, 253, 0.82);
}
.ix__takehome-sub {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(186, 230, 253, 0.88);
}
@keyframes ixTakehomeGlow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes ixTakehomeSpin {
  to { transform: rotate(360deg); }
}
@keyframes ixTakehomePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.16); transform: translateY(0); }
  50% { box-shadow: 0 0 0 10px rgba(250, 204, 21, 0.08); transform: translateY(-3px); }
}
@keyframes ixTakehomeCopy {
  0%, 100% { color: #f8fafc; }
  50% { color: #facc15; }
}
.ix__rich-board,
.ix__rich-choice,
.ix__rich-build,
.ix__rich-ticks,
.ix__rich-remember {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.45rem;
}
.ix__rich-board[hidden],
.ix__rich-choice[hidden],
.ix__rich-build[hidden],
.ix__rich-ticks[hidden],
.ix__rich-remember[hidden] { display: none !important; }
.ix[data-ix-mode="fast"] .ix__rich-board,
.ix[data-ix-mode="fast"] .ix__rich-choice,
.ix[data-ix-mode="fast"] .ix__rich-build,
.ix[data-ix-mode="fast"] .ix__rich-ticks,
.ix[data-ix-mode="fast"] .ix__rich-remember { display: none !important; }
.ix__rich-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ix-cyan);
  font-weight: 700;
}
.ix__rich-card {
  display: grid;
  gap: 0.12rem;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--ix-line);
  background: rgba(10, 24, 41, 0.72);
}
.ix__rich-card strong {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.85);
}
.ix__rich-card span {
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--ix-ink);
}
.ix__rich-sirius {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ix-muted);
  line-height: 1.4;
}
.ix__rich-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ix__rich-tick {
  margin: 0;
  font-size: 0.9rem;
  color: #fde68a;
}
.ix[data-handoff="1"] .ix__kit,
.ix[data-handoff="1"] [data-ix-show="result"] {
  display: none !important;
}
.ix__crystalize-dock {
  display: none;
  position: relative;
  z-index: 2;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 0.32rem;
  margin: 0.45rem 0 0.2rem;
}
.ix[data-handoff="1"] .ix__crystalize-dock:not([hidden]) {
  display: flex;
}
.ix__crystalize-btn {
  appearance: none;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  border: 1px solid rgba(186, 230, 253, 0.55);
  background:
    radial-gradient(circle at 18% 20%, rgba(186, 230, 253, 0.38), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(59, 130, 246, 0.35), transparent 46%),
    linear-gradient(165deg, rgba(8, 25, 48, 0.98), rgba(12, 74, 110, 0.92));
  color: #f0f9ff;
  padding: 0.55rem 0.65rem;
  border-radius: 16px;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 10px 28px rgba(14, 165, 233, 0.28);
}
.ix__crystalize-btn::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -50%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  animation: ixCrystalizeSheen 2.8s ease-in-out infinite;
  pointer-events: none;
}
.ix__crystalize-btn:hover {
  border-color: #7dd3fc;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 0 24px rgba(56, 189, 248, 0.45);
}
.ix__crystalize-btn[disabled] { opacity: 0.55; cursor: default; }
.ix__crystalize-gem {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.55), transparent 58%),
    radial-gradient(circle at 50% 70%, rgba(56, 189, 248, 0.35), transparent 70%);
  isolation: isolate;
}
.ix__crystalize-gem-glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.55), transparent 68%);
  animation: ixCrystalizeGlow 2.4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.ix__crystalize-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.75))
    drop-shadow(0 0 18px rgba(56, 189, 248, 0.45));
  animation: ixCrystalizeGem 2.4s ease-in-out infinite;
  transform-origin: 50% 55%;
}
.ix__crystalize-spark {
  position: absolute;
  z-index: 2;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 6px 2px rgba(255, 255, 255, 0.95),
    0 0 14px 4px rgba(125, 211, 252, 0.85);
  pointer-events: none;
  opacity: 0;
  animation: ixCrystalizeSpark 1.8s ease-in-out infinite;
}
.ix__crystalize-spark--a {
  top: 4px;
  right: 6px;
  animation-delay: 0s;
}
.ix__crystalize-spark--b {
  top: 14px;
  left: 3px;
  width: 4px;
  height: 4px;
  animation-delay: 0.45s;
}
.ix__crystalize-spark--c {
  bottom: 8px;
  right: 8px;
  width: 3px;
  height: 3px;
  animation-delay: 0.9s;
}
.ix__crystalize-spark--d {
  bottom: 4px;
  left: 12px;
  width: 4px;
  height: 4px;
  animation-delay: 1.25s;
}
.ix__crystalize-btn:hover .ix__crystalize-logo {
  animation-duration: 1.4s;
  filter: drop-shadow(0 0 12px rgba(186, 230, 253, 0.95))
    drop-shadow(0 0 22px rgba(56, 189, 248, 0.7));
}
.ix__crystalize-btn:hover .ix__crystalize-spark {
  animation-duration: 1.1s;
}
.ix__crystalize-btn-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
  text-align: left;
  min-width: 0;
}
.ix__crystalize-btn-copy em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #7dd3fc;
}
.ix__crystalize-btn-label,
.ix__crystalize-btn-copy strong {
  font: 800 0.68rem/1.2 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.04em;
  color: #f8fafc;
}
.ix__crystalize-powered {
  margin: 0;
  text-align: center;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.78);
}
.ix__crystalize-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 28%, rgba(56, 189, 248, 0.22), transparent 42%),
    rgba(2, 8, 16, 0.92);
}
.ix__crystalize-overlay:not([hidden]) { display: flex; }
.ix__crystalize-overlay-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.2), transparent 68%);
  animation: ixCrystalizeOrb 2.4s ease-in-out infinite;
  pointer-events: none;
}
.ix__crystalize-overlay-logo {
  position: relative;
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(125, 211, 252, 0.75));
  animation: ixCrystalizeGem 2.2s ease-in-out infinite;
}
.ix__crystalize-capturing {
  position: relative;
  margin: 0;
  color: #bae6fd;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}
.ix__crystalize-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0.4rem 0 0;
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.75;
  text-align: center;
}
.ix__crystalize-steps li { opacity: 0.28; }
.ix__crystalize-steps li.is-on { opacity: 1; color: #bae6fd; }
.ix__crystalize-done {
  position: relative;
  margin: 0.4rem 0 0;
  font-size: 1.28rem;
  letter-spacing: 0.1em;
  color: #e0f2fe;
  font-weight: 800;
}
.ix__crystalize-done[hidden] { display: none !important; }
.ix__crystalize-lead {
  position: relative;
  z-index: 1;
  width: min(28rem, calc(100vw - 2rem));
  display: none;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(4, 14, 28, 0.78);
  text-align: left;
}
.ix__crystalize-lead:not([hidden]) { display: flex; }
.ix__crystalize-lead-kicker {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #7dd3fc;
}
.ix__crystalize-lead-copy {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #e0f2fe;
}
.ix__crystalize-lead-row {
  display: flex;
  gap: 0.4rem;
  align-items: stretch;
}
.ix__crystalize-lead-email {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid rgba(125, 211, 252, 0.4);
  border-radius: 10px;
  background: rgba(2, 8, 18, 0.72);
  color: #f8fafc;
  font-size: 0.85rem;
  padding: 0.55rem 0.65rem;
}
.ix__crystalize-lead-email:focus {
  outline: 2px solid rgba(125, 211, 252, 0.65);
  outline-offset: 1px;
}
.ix__crystalize-lead-send {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(180deg, #7dd3fc, #38bdf8);
  color: #082f49;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
}
.ix__crystalize-lead-send[disabled] { opacity: 0.55; cursor: default; }
.ix__crystalize-lead-status {
  margin: 0;
  font-size: 0.75rem;
  color: #bbf7d0;
}
.ix__crystalize-lead-status.is-err { color: #fecaca; }
.ix__crystalize-lead-status[hidden] { display: none !important; }
.ix__crystalize-lead-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.ix__crystalize-lead-open {
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}
.ix__crystalize-lead-skip {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(186, 230, 253, 0.75);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
}
@keyframes ixCrystalizeSheen {
  0% { left: -50%; }
  55%, 100% { left: 140%; }
}
@keyframes ixCrystalizeGem {
  0%, 100% {
    transform: translateY(0) scale(1) rotate(-4deg);
    filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.65))
      drop-shadow(0 0 16px rgba(56, 189, 248, 0.4));
  }
  35% {
    transform: translateY(-2px) scale(1.08) rotate(3deg);
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.95))
      drop-shadow(0 0 24px rgba(125, 211, 252, 0.9));
  }
  65% {
    transform: translateY(1px) scale(1.03) rotate(-2deg);
    filter: drop-shadow(0 0 10px rgba(186, 230, 253, 0.8))
      drop-shadow(0 0 20px rgba(14, 165, 233, 0.55));
  }
}
@keyframes ixCrystalizeGlow {
  0%, 100% { opacity: 0.45; transform: scale(0.88); }
  50% { opacity: 1; transform: scale(1.12); }
}
@keyframes ixCrystalizeSpark {
  0%, 100% { opacity: 0; transform: scale(0.2); }
  20% { opacity: 1; transform: scale(1.35); }
  45% { opacity: 0.85; transform: scale(0.9); }
  70% { opacity: 0; transform: scale(0.15); }
}
@keyframes ixCrystalizeOrb {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ix__crystalize-btn::after,
  .ix__crystalize-logo,
  .ix__crystalize-gem-glow,
  .ix__crystalize-spark,
  .ix__crystalize-overlay-logo,
  .ix__crystalize-overlay-orb {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  /* Telefono: la pagina scorre. Prima la demo, poi il QR e il resto. Desktop invariato. */
  html:has(.ix[data-demo-fs="1"]),
  body:has(.ix[data-demo-fs="1"]) {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ix[data-demo-fs="1"] {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }
  .ix[data-demo-fs="1"] .ix__ui {
    height: auto;
    min-height: 0;
    display: block;
    padding: 0.35rem;
  }
  .ix[data-demo-fs="1"] .ix__brand,
  .ix[data-demo-fs="1"] .ix__top-status,
  .ix[data-demo-fs="1"] .ix__pulse-slot,
  .ix[data-demo-fs="1"] .ix__copy,
  .ix[data-demo-fs="1"] .ix__footer {
    display: none !important;
  }
  .ix[data-demo-fs="1"] .ix__stage {
    display: block;
    min-height: 0;
    padding: 0;
  }
  .ix[data-demo-fs="1"] .ix__demo-stage {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 0;
    gap: 0.85rem;
  }
  .ix[data-demo-fs="1"] .ix__demo-box {
    order: 1;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: auto !important;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
  .ix[data-demo-fs="1"] .ix__demo-frame {
    width: 100% !important;
    max-width: 100%;
    min-height: 78dvh;
    height: 78dvh;
    border-radius: 12px;
  }
  .ix[data-demo-fs="1"] .ix__takehome:not([hidden]),
  .ix.is-mobile[data-demo-fs="1"] .ix__takehome:not([hidden]) {
    order: 2;
    display: flex !important;
    grid-column: auto;
    grid-row: auto;
    position: relative !important;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    min-height: 0;
    max-height: none;
    margin: 0 0 1.25rem;
    overflow: visible;
    flex-shrink: 0;
    justify-content: flex-start;
  }
  .ix[data-demo-fs="1"] .ix__takehome-phone {
    width: min(220px, 72vw);
  }
  .ix[data-demo-fs="1"] .ix__takehome-qr {
    width: min(168px, 56vw);
    height: auto;
    aspect-ratio: 1;
  }
}

.ix__finale-arm {
  display: block;
  width: 100%;
  margin: 0.35rem 0 0.2rem;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: #f5c518;
  color: #1a1404;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.ix__finale-arm.is-on { background: #0f766e; color: #fff; }
.ix__finale-arm-note {
  margin: 0.25rem 0 0.4rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #94a3b8;
  text-align: center;
}
.ix__finale-reveal {
  margin-top: 0.35rem;
  padding: 0.95rem 0.9rem;
  border-radius: 16px;
  background: rgba(15, 118, 110, 0.18);
  border: 1px solid rgba(45, 212, 191, 0.45);
  text-align: center;
}
.ix__finale-reveal-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #99f6e4;
}
.ix__finale-reveal .ix__cta {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}
.ix__finale-reveal-copy { margin: 0.35rem 0 0.6rem; font-size: 0.92rem; }

/* Barra chat / stella / takehome — UI 2026-10-03 */
#ixOnboardingRewind,
.ix__rewind-btn,
#ixCta {
  display: none !important;
}
.ix__idea-ladder {
  display: none !important;
}

body:has(.ix[data-demo-fs="1"]) .ix__stand-dock,
body:has(.ix[data-handoff="1"]) .ix__stand-dock,
body:has(.ix[data-resume-demo="1"]) .ix__stand-dock,
body:has(#ixTakehome:not([hidden])) .ix__stand-dock {
  display: none !important;
}

.ix__takehome-copy,
.ix__finale-arm-note,
.ix__crystalize-powered {
  display: none !important;
}

.ix__takehome {
  font-family: Baskerville, "Baskerville Old Face", "Times New Roman", serif;
  border: 1px solid rgba(125, 211, 252, 0.4);
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(186, 230, 253, 0.28), transparent 58%),
    radial-gradient(circle at 18% 78%, rgba(99, 102, 241, 0.22), transparent 42%),
    radial-gradient(circle at 86% 22%, rgba(56, 189, 248, 0.2), transparent 38%),
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.6px),
    radial-gradient(circle at 42% 28%, rgba(255, 255, 255, 0.7) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 71% 14%, rgba(255, 255, 255, 0.9) 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 88% 62%, rgba(224, 242, 254, 0.85) 0 0.9px, transparent 1.5px),
    radial-gradient(circle at 28% 54%, rgba(255, 255, 255, 0.55) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 58% 82%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.6px),
    radial-gradient(circle at 8% 88%, rgba(186, 230, 253, 0.9) 0 0.8px, transparent 1.4px),
    linear-gradient(185deg, #071428 0%, #0b1f48 38%, #030712 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.ix__takehome,
.ix__takehome * {
  font-family: Baskerville, "Baskerville Old Face", "Times New Roman", serif;
}
.ix__takehome-glow {
  background: radial-gradient(circle at 50% 28%, rgba(186, 230, 253, 0.18), transparent 62%);
}
.ix__takehome-share-label {
  display: block;
  min-height: 1.05em;
  color: transparent;
  user-select: none;
}
.ix__takehome-time {
  padding: 0.32rem 0.7rem;
  border-radius: 0;
  border: 1px solid rgba(248, 250, 252, 0.58);
  background: transparent;
  box-shadow: none;
  color: #ffffff;
  font-weight: 700;
}
.ix__takehome button,
.ix__takehome a.ix__cta,
.ix__takehome .ix__cta,
.ix__takehome .ix__finale-arm,
.ix__takehome .ix__finale-arm.is-on,
.ix__takehome .ix__takehome-copybtn,
.ix__takehome .ix__takehome-copybtn.is-copied,
.ix__takehome .ix__takehome-openbtn,
.ix__takehome .ix__social-share-btn,
.ix__takehome .ix__social-picker-row button {
  appearance: none;
  border: 1px solid rgba(125, 211, 252, 0.4);
  background: rgba(125, 211, 252, 0.1);
  color: #ffffff;
  border-radius: 999px;
  font-family: Baskerville, "Baskerville Old Face", "Times New Roman", serif;
  font-weight: 700;
  box-shadow: none;
}
.ix__takehome button:hover,
.ix__takehome a.ix__cta:hover,
.ix__takehome .ix__cta:hover {
  background: rgba(125, 211, 252, 0.22);
  border-color: rgba(125, 211, 252, 0.65);
  color: #ffffff;
}

.ix__dock-sep {
  display: block;
  height: 1px;
  margin: 0.15rem 0.2rem;
  background: rgba(186, 214, 240, 0.22);
}
.ix__dock-item--brief {
  color: #bae6fd;
  border-color: rgba(56, 189, 248, 0.45);
}
.ix__overlay--brief {
  z-index: 95;
  place-items: end;
  padding: 0.8rem 0.8rem 4.2rem;
  background: rgba(3, 8, 15, 0.55);
}
.ix__brief {
  width: min(28rem, 100%);
  max-height: min(78vh, 40rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.9rem 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(8, 15, 28, 0.94);
  color: #e2e8f0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.ix__brief-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.ix__brief-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
}
.ix__brief-log {
  overflow: auto;
  max-height: 9rem;
  padding: 0.65rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(15, 23, 42, 0.65);
}
.ix__brief-star,
.ix__brief-you {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  line-height: 1.45;
}
.ix__brief-you { color: #f8fafc; }
.ix__brief-star { color: #bae6fd; }
.ix__brief textarea {
  width: 100%;
  min-height: 8.5rem;
  resize: vertical;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.65);
  color: #f8fafc;
  font: inherit;
  padding: 0.65rem 0.7rem;
}
.ix__brief-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}
.ix__brief-attach { cursor: pointer; margin: 0; }
.ix__brief-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #e0f2fe;
}
.ix__brief-chip button {
  border: 0;
  background: transparent;
  color: #f8fafc;
  cursor: pointer;
  font-size: 1rem;
}
.ix__brief-err {
  margin: 0;
  color: #fde68a;
  font-size: 0.78rem;
}

.ix--gov-road .ix__copy {
  max-width: min(96vw, 1180px);
}
.ix--gov-road .ix__build-progress {
  width: min(100%, 1180px);
}
.ix-gov {
  position: relative;
  width: min(100%, 1180px);
  margin: 0.85rem auto 0;
  text-align: left;
}
.ix-gov__title {
  margin: 0 0 0.85rem;
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ix-cyan);
}
.ix-gov__rail {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 4.55rem;
  height: 2px;
  background: rgba(125, 211, 252, 0.18);
  overflow: hidden;
}
.ix-gov__rail i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, transparent, #e0f2fe, #7dd3fc);
  box-shadow: 0 0 12px #7dd3fc;
}
.ix-gov.is-run .ix-gov__rail i {
  animation: ixGovRail 45s linear forwards;
}
@keyframes ixGovRail {
  to { width: 100%; }
}
.ix-gov__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ix-gov__col {
  position: relative;
  min-width: 0;
  overflow: hidden;
  min-height: 16rem;
  padding: 1.35rem 1.2rem 1.2rem;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(125, 211, 252, 0.16), transparent 55%),
    rgba(6, 16, 32, 0.82);
  opacity: 0.34;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.55s ease, box-shadow 0.55s ease;
}
.ix-gov__col.is-on {
  opacity: 1;
  transform: none;
  border-color: rgba(224, 242, 254, 0.72);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.25), 0 18px 50px rgba(2, 8, 20, 0.45);
}
.ix-gov__col.is-live {
  opacity: 1;
  transform: translateY(-4px);
  border-color: #f8fafc;
  box-shadow: 0 0 0 1px rgba(248, 250, 252, 0.9), 0 0 42px rgba(125, 211, 252, 0.55);
}
.ix-gov__meter {
  display: block;
  height: 3px;
  margin: 0.35rem 0 0.7rem;
  border-radius: 99px;
  background: rgba(125, 211, 252, 0.16);
  overflow: hidden;
}
.ix-gov__meter i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #7dd3fc, #f8fafc);
}
.ix-gov__col.is-live .ix-gov__meter i {
  animation: ixGovFill 15s linear forwards;
}
.ix-gov__col.is-on:not(.is-live) .ix-gov__meter i {
  width: 100%;
}
@keyframes ixGovFill {
  to { width: 100%; }
}
.ix-gov__star {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #e0f2fe;
  box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.18), 0 0 18px #7dd3fc;
}
.ix-gov__col.is-on .ix-gov__star {
  animation: ixGovStar 1.6s ease-in-out infinite;
}
@keyframes ixGovStar {
  50% { transform: scale(1.35); box-shadow: 0 0 0 8px rgba(125, 211, 252, 0.12), 0 0 28px #fff; }
}
.ix-gov__step {
  margin: 0.2rem 0 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: rgba(224, 242, 254, 0.55);
}
.ix-gov__kicker {
  margin: 0 0 0.65rem;
  font-family: Fraunces, serif;
  font-size: 1.45rem;
  color: #f8fafc;
}
.ix-gov__doc,
.ix-gov__treat,
.ix-gov__rule,
.ix-gov__line,
.ix-gov__person {
  margin: 0 0 0.55rem;
}
.ix-gov__doc { font-size: 1.05rem; }
.ix-gov__treat,
.ix-gov__rule,
.ix-gov__ready { color: var(--ix-muted); }
.ix-gov__col.is-ask .ix-gov__treat { color: #fde68a; }
.ix-gov__ready {
  margin: 0 0 0.7rem;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}
.ix-gov__ready li + li { margin-top: 0.22rem; }
.ix-gov__outcome {
  margin: 0.15rem 0 0.7rem;
  max-width: 100%;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 0.95;
  overflow-wrap: anywhere;
}
.ix-gov__outcome.is-long {
  font-size: clamp(1rem, 1.55vw, 1.7rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
}
.ix-gov__col.is-ask .ix-gov__outcome { color: #fde68a; }
.ix-gov__col.is-go .ix-gov__outcome { color: #86efac; }
.ix-gov__person { color: #86efac; }
.ix-gov__line { font-size: 0.98rem; }
.ix-gov__demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin: 0 0 0.7rem;
}
.ix-gov__demo p {
  margin: 0;
  padding: 0.4rem 0.5rem;
  border-radius: 10px;
  background: rgba(125, 211, 252, 0.12);
  font-size: 0.86rem;
}
@media (max-width: 900px) {
  .ix-gov__rail { display: none; }
  .ix-gov__cols { grid-template-columns: 1fr; }
  .ix-gov__col { min-height: 0; }
  /* Timer acceso: la pagina scorre. Stella, orologio, poi le tre colonne una sotto l’altra. */
  html:has(#ixBuildProgress:not([hidden])),
  html:has(#ixGovBench:not([hidden])),
  body:has(#ixBuildProgress:not([hidden])),
  body:has(#ixGovBench:not([hidden])) {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ix:has(#ixBuildProgress:not([hidden])),
  .ix:has(#ixGovBench:not([hidden])) {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }
  .ix:has(#ixBuildProgress:not([hidden])) .ix__sky,
  .ix:has(#ixBuildProgress:not([hidden])) .ix__grid,
  .ix:has(#ixBuildProgress:not([hidden])) .ix__canvas,
  .ix:has(#ixGovBench:not([hidden])) .ix__sky,
  .ix:has(#ixGovBench:not([hidden])) .ix__grid,
  .ix:has(#ixGovBench:not([hidden])) .ix__canvas {
    position: fixed;
    inset: 0;
    height: 100dvh;
    width: 100%;
  }
  .ix:has(#ixBuildProgress:not([hidden])) .ix__ui,
  .ix:has(#ixGovBench:not([hidden])) .ix__ui {
    height: auto;
    min-height: 100dvh;
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
  .ix:has(#ixBuildProgress:not([hidden])) .ix__stage,
  .ix:has(#ixGovBench:not([hidden])) .ix__stage {
    justify-content: flex-start;
    min-height: 0;
  }
  .ix:has(#ixBuildProgress:not([hidden])) .ix__headline,
  .ix:has(#ixGovBench:not([hidden])) .ix__headline {
    font-size: clamp(1.2rem, 5.6vw, 1.65rem);
  }
  .ix:has(#ixBuildProgress:not([hidden])) .ix__chat-log,
  .ix:has(#ixGovBench:not([hidden])) .ix__chat-log {
    max-height: 4.5rem;
  }
  .ix:has(#ixBuildProgress:not([hidden])) .ix__build-progress,
  .ix:has(#ixGovBench:not([hidden])) .ix__build-progress,
  .ix:has(#ixGovBench:not([hidden])) .ix-gov {
    width: 100%;
  }
  .ix:has(#ixGovBench:not([hidden])) .ix-gov__kicker {
    font-size: 1.2rem;
  }
  .ix:has(#ixBuildProgress:not([hidden])) .ix__digital-clock time,
  .ix:has(#ixGovBench:not([hidden])) .ix__digital-clock time {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }
}

